X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=03644a6d60af8335e4b7a319394aac1f453c2e36;hp=c5fbec5738436d481a2a040829913caf412ad653;hb=e4d9640961362dae47dd8a4d97dfe7e9436395cd;hpb=880a599e262b9193219e612d827b35bb0c292dae diff --git a/configure.ac b/configure.ac index c5fbec573..03644a6d6 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,10 @@ if test -z "$GPERF" ; then AC_MSG_ERROR([*** gperf not found]) fi +# we use python only to build the man page index +AM_PATH_PYTHON(,, [:]) +AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :]) + CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -pipe \ -Wall \