Use spaces uniformly in AC_WIRESHARK_PYTHON_CHECK.

If we don't find python-config, set want_python to no, so the
end-of-configuration message says we're not using the Python
interpreter.  Also fix some cases where we were setting want_zlib rather
than want_python (cut-and-pasteo).

svn path=/trunk/; revision=37654
This commit is contained in:
Guy Harris 2011-06-11 21:49:24 +00:00
parent 1edc5f8e19
commit 0bd4a1ac3f
1 changed files with 23 additions and 18 deletions

View File

@ -1824,6 +1824,11 @@ AC_DEFUN([AC_WIRESHARK_PYTHON_CHECK],
#
AC_MSG_ERROR("python-config not found")
fi
#
# Set want_python to no, so we report that we aren't using
# the Python interpreter.
#
want_python=no
else
AC_MSG_CHECKING([python devel])
ac_save_ws_cflags=$CFLAGS
@ -1868,10 +1873,10 @@ AC_DEFUN([AC_WIRESHARK_PYTHON_CHECK],
fi
AC_MSG_RESULT([no])
#
# Set want_zlib to no, so we report that we aren't using
# Set want_python to no, so we report that we aren't using
# the Python interpreter.
#
want_zlib=no
want_python=no
])
fi
# ])