incorrect AC_ARG_WITH() handling with debug/python/doxygen
Library for national and language-specific issues
Brought to you by:
vitlav
the third/fourth arguments to AC_ARG_WITH() are not enable/disable, but user-specified-a-choice/user-did-not-specify-a-choice
so the third argument has to process $withval to see if the user specified --without-python or --with-python or --with-python=...
usually this is done like so:
if test "x$withval" = "xyes" ; then
AM_PATH_PYTHON(2.3)
AM_CHECK_PYTHON_HEADERS(HAVE_PYTHON=yes,[HAVE_PYTHON=no;AC_MSG_WARN([python headers not found, disabling python binding])])
fi
Thank you very much, Mike.
I just in fixed the issue in the actual repo https://github.com/Etersoft/libnatspec