X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=5820b30424e70e84785933d5fafac2ac215fcd52;hp=d6e5a090bd1a8e5061e4e4cabbff791431fbfd71;hb=1b492614cb5bec6968fc7126076e7ac9b34c2953;hpb=d95fd3df5997b0dab8650d9427997d295d0975e3 diff --git a/configure.ac b/configure.ac index d6e5a090b..5820b3042 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PREREQ([2.64]) AC_INIT([systemd], - [198], + [201], [http://bugs.freedesktop.org/enter_bug.cgi?product=systemd], [systemd], [http://www.freedesktop.org/wiki/Software/systemd]) @@ -275,11 +275,11 @@ if test "x$enable_selinux" != "xno"; then fi AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"]) if test "x${have_selinux}" != xno ; then - sushell=/sbin/sushell + SUSHELL=/sbin/sushell else - sushell=/bin/sh + SUSHELL=/bin/sh fi -AC_SUBST(sushell) +AC_SUBST(SUSHELL) # ------------------------------------------------------------------------------ have_xz=no @@ -728,6 +728,7 @@ for i in $with_firmware_path; do done IFS=$OLD_IFS AC_SUBST(FIRMWARE_PATH) +AS_IF([test "x${FIRMWARE_PATH}" != "x"], [ AC_DEFINE(HAVE_FIRMWARE, 1, [Define if FIRMWARE is available]) ]) AM_CONDITIONAL(ENABLE_FIRMWARE, [test "x${FIRMWARE_PATH}" != "x"]) # ------------------------------------------------------------------------------ @@ -736,7 +737,6 @@ AC_ARG_ENABLE([gudev], [], [enable_gudev=yes]) AS_IF([test "x$enable_gudev" = "xyes"], [ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0]) ]) AM_CONDITIONAL([ENABLE_GUDEV], [test "x$enable_gudev" = "xyes"]) - AS_IF([test "x$enable_gudev" = "xyes"], [ AC_DEFINE(HAVE_GLIB, 1, [Define if glib is available]) ]) # ------------------------------------------------------------------------------ @@ -755,13 +755,13 @@ AS_IF([test "x$enable_keymap" = "xyes"], [ AM_CONDITIONAL([ENABLE_KEYMAP], [test "x$enable_keymap" = "xyes"]) # ------------------------------------------------------------------------------ -debugshell=/dev/tty9 +DEBUGTTY=/dev/tty9 AC_ARG_WITH([debugshelltty], [AS_HELP_STRING([--with-debugshelltty=PATH], [Specify the tty device for debug shell])], - [debugshell="$withval"], + [DEBUGTTY="$withval"], []) -AC_SUBST(debugshell) +AC_SUBST(DEBUGTTY) # ------------------------------------------------------------------------------ have_manpages=no