--- configure.orig 2014-09-19 03:53:39 UTC +++ configure @@ -13652,8 +13652,6 @@ -Werror=implicit-function-declaration \ -Werror=pointer-arith \ -Werror=init-self \ - -Werror=format-security \ - -Werror=format=2 \ -Werror=missing-include-dirs \ " @@ -15530,7 +15528,7 @@ $as_echo_n "checking for headers required to compile python extensions... " >&6; } py_prefix=`$PYTHON -c "import sys; print sys.prefix"` py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` -if test "x$PYTHON_INCLUDES" == x; then +if test "x$PYTHON_INCLUDES" = x; then PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" if test "$py_prefix" != "$py_exec_prefix"; then PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" @@ -15559,10 +15557,10 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5 $as_echo_n "checking for libraries required to embed python... " >&6; } py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` -if test "x$PYTHON_LIBS" == x; then +if test "x$PYTHON_LIBS" = x; then PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}" fi -if test "x$PYTHON_LIB_LOC" == x; then +if test "x$PYTHON_LIB_LOC" = x; then PYTHON_LIB_LOC="${py_prefix}/lib" fi