This patch doesn't completely disable the python bindings, but it
makes it much harder to enable them.  I'm doing this because I'm
not quite comfortable yet with shipping these without having at least
one user to point to and say, "yes, these bindings are reasonable."

Signed-off-by: Paul Moore <[email protected]>
---
 configure |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 8866fda..e58c4df 100755
--- a/configure
+++ b/configure
@@ -61,8 +61,6 @@ Options:
 * installation configuration
   --prefix=PREFIX      installation base [/usr/local]
   --libdir=DIR         library directory [/usr/local/lib]
-* build options
-  --enable-python      build the python bindings, requires cython
 EOF
 }
 
@@ -73,8 +71,12 @@ function msg_summary() {
   installation base:   $opt_prefix
   library directory:   $opt_libdir
   use system includes: $opt_sysinc_seccomp
+EOF
+       if [[ "$opt_bindings_python" = "yes" ]]; then
+               cat << EOF
   python bindings:     $opt_bindings_python
 EOF
+       fi
 }
 
 function msg_error() {
@@ -172,7 +174,7 @@ verify_deps getopt
 
 # parse the command line options
 opt_str="$@"
-opt=$(getopt -n "$0" --options "h" --longoptions 
"help,prefix:,libdir:,enable-python" -- "$@")
+opt=$(getopt -n "$0" --options "h" --longoptions 
"help,prefix:,libdir:,enable-experimental-python" -- "$@")
 eval set -- "$opt"
 while [[ $# -gt 0 ]]; do
        case "$1" in
@@ -184,7 +186,7 @@ while [[ $# -gt 0 ]]; do
                opt_libdir="$2"
                shift 2
                ;;
-       --enable-python)
+       --enable-experimental-python)
                opt_bindings_python="yes"
                shift
                ;;


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to