X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=5a52c818205069fad9ffae827135fd43b59b2d63;hp=6dd9c9cdc5a45d53760fa77e2bd3790783f3d820;hb=d9a376c804358b16d905ff0f52a72f45bd58ac99;hpb=2b8a4d0a532c3bd4039f1a3ee6943ec0ef855f0d;ds=sidebyside diff --git a/configure.ac b/configure.ac index 6dd9c9cdc..5a52c8182 100644 --- a/configure.ac +++ b/configure.ac @@ -343,25 +343,6 @@ if test "x$enable_seccomp" != "xno"; then fi AM_CONDITIONAL(HAVE_SECCOMP, [test "$have_seccomp" = "yes"]) -# ------------------------------------------------------------------------------ -have_chkconfig=yes -AC_ARG_ENABLE([chkconfig], AS_HELP_STRING([--disable-chkconfig],[Disable optional chkconfig support]), - [case "${enableval}" in - yes) have_chkconfig=yes ;; - no) have_chkconfig=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --disable-chkconfig) ;; - esac], - [AC_PATH_PROG(CHKCONFIG, chkconfig) - if test -z "$CHKCONFIG"; then - have_chkconfig=no - else - have_chkconfig=yes - fi]) - -if test "x${have_chkconfig}" != xno ; then - AC_DEFINE(HAVE_CHKCONFIG, 1, [Define if CHKCONFIG is available]) -fi - # ------------------------------------------------------------------------------ have_selinux=no AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support])) @@ -1311,7 +1292,6 @@ AC_MSG_RESULT([ GCRYPT: ${have_gcrypt} QRENCODE: ${have_qrencode} MICROHTTPD: ${have_microhttpd} - CHKCONFIG: ${have_chkconfig} GNUTLS: ${have_gnutls} libcurl: ${have_libcurl} libidn: ${have_libidn}