X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=cef2539e27c03e6beaa110468204de0d3cabc6f4;hp=c5fbec5738436d481a2a040829913caf412ad653;hb=498261871dfa2a930ec84b13a176e3bdc43aa212;hpb=880a599e262b9193219e612d827b35bb0c292dae diff --git a/configure.ac b/configure.ac index c5fbec573..cef2539e2 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PREREQ([2.64]) AC_INIT([systemd], - [186], + [187], [http://bugs.freedesktop.org/enter_bug.cgi?product=systemd], [systemd], [http://www.freedesktop.org/wiki/Software/systemd]) @@ -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 \ @@ -505,7 +509,7 @@ if test "z$with_distro" = "z"; then if test "$cross_compiling" = yes; then AC_MSG_WARN([Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)]) else - with_distro=$($GREP '^ID=' /etc/os-release | $SED 's/ID=//'); + with_distro=$($GREP '^ID=' /etc/os-release 2>/dev/null | $SED 's/ID=//'); fi if test "z$with_distro" = "z"; then with_distro=other