Use with_python instead of withval.

This commit is contained in:
Ralf Corsépius 2007-08-24 06:04:43 +02:00
parent f45f78510b
commit b6abbcf059
1 changed files with 3 additions and 3 deletions

View 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}")