Use with_python instead of withval.
authorRalf Corsépius <corsepiu@fedoraproject.org>
Fri, 24 Aug 2007 04:04:43 +0000 (06:04 +0200)
committerRalf Corsépius <corsepiu@fedoraproject.org>
Fri, 24 Aug 2007 04:04:43 +0000 (06:04 +0200)
configure.ac

index 20bc951..32b787c 100644 (file)
@@ -764,12 +764,12 @@ dnl Auto-detect which python bindings should be built.
 dnl
 AC_ARG_WITH(python, [  --with-python           build rpm python bindings ])
 
-if test "{$withval}" = "no"; then
+if test "{$with_python}" = "no"; then
   pythonbin=""
-elif test "${withval}" = "yes"; then
+elif test "${with_python}" = "yes"; then
   pythonbin="python"
 else
-  pythonbin="python$withval"
+  pythonbin="python$with_python"
 fi
 AC_PATH_PROG(__PYTHON, "${pythonbin}")