configure.ac revision fc0d4bd4a5f31ad5467918c0f899cffa25a153ca
17N/AAC_INIT([udev],
17N/A [133],
17N/A [kay.sievers@vrfy.org])
17N/AAC_PREREQ(2.60)
17N/AAC_CONFIG_SRCDIR([udev/udevd.c])
17N/AAM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2])
17N/AAC_GNU_SOURCE
17N/AAC_DISABLE_STATIC
17N/AAC_SYS_LARGEFILE
17N/AAC_PROG_LIBTOOL
17N/A
17N/Adnl /* libudev version */
17N/ALIBUDEV_LT_CURRENT=0
17N/ALIBUDEV_LT_REVISION=4
17N/ALIBUDEV_LT_AGE=0
17N/AAC_SUBST(LIBUDEV_LT_CURRENT)
17N/AAC_SUBST(LIBUDEV_LT_REVISION)
17N/AAC_SUBST(LIBUDEV_LT_AGE)
17N/A
17N/Adnl /* libvolume_id version */
17N/AVOLID_LT_CURRENT=1
17N/AVOLID_LT_REVISION=4
17N/AVOLID_LT_AGE=0
17N/AAC_SUBST(VOLID_LT_CURRENT)
17N/AAC_SUBST(VOLID_LT_REVISION)
17N/AAC_SUBST(VOLID_LT_AGE)
17N/A
17N/AAC_PATH_PROG([XSLTPROC], [xsltproc])
17N/A
17N/AAC_CHECK_LIB(c, inotify_init,
156N/A [AC_DEFINE([HAVE_INOTIFY], 1, [inotify available])],
17N/A [AC_MSG_WARN([inotify support disabled])])
17N/A
17N/AAC_ARG_WITH(udev-prefix,
17N/A AS_HELP_STRING([--with-udev-prefix=DIR], [add prefix to internal udev path names]),
17N/A [], [with_udev_prefix='${exec_prefix}'])
17N/Audev_prefix=$with_udev_prefix
17N/AAC_SUBST(udev_prefix)
17N/A
17N/AAC_ARG_WITH(libdir-name,
17N/A AS_HELP_STRING([--with-libdir-name=DIR], [name of the arch lib directory]),
156N/A [], [with_libdir_name=lib])
17N/Alibdir_name=$with_libdir_name
17N/AAC_SUBST(libdir_name)
17N/A
17N/AAC_ARG_WITH(selinux,
17N/A AS_HELP_STRING([--with-selinux], [compile with SELinux support]),
17N/A [], with_selinux=no)
17N/Aif test "x$with_selinux" = xyes; then
17N/A LIBS_save=$LIBS
17N/A AC_CHECK_LIB(selinux, getprevcon,
17N/A [],
17N/A AC_MSG_ERROR([SELinux selected but libselinux not found]))
17N/A LIBS=$LIBS_save
17N/A AC_DEFINE(USE_SELINUX, [1] ,[compile with SELinux support])
17N/A SELINUX_LIBS="-lselinux"
17N/Afi
17N/AAC_SUBST([SELINUX_LIBS])
17N/AAM_CONDITIONAL(USE_SELINUX, [test "x$with_selinux" = xyes], [compile with SELinux support])
17N/A
17N/AAC_ARG_ENABLE(debug,
17N/A AS_HELP_STRING([--enable-debug], [turn on debugging]),
17N/A [], enable_debug=no)
49N/Aif test "x$enable_debug" = "xyes"; then
17N/A AC_DEFINE(DEBUG, [1] ,[Compile in debug messages])
17N/A DEBUG_CFLAGS="-DDEBUG"
17N/Afi
17N/AAC_SUBST(DEBUG_CFLAGS)
AC_ARG_ENABLE(logging,
AS_HELP_STRING([--disable-logging], [turn off logging/syslog]),
[], enable_logging=yes)
if test "x$enable_logging" != "xno"; then
AC_DEFINE(USE_LOG, [1] ,[Use logging/syslog])
fi
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([
Makefile
udev/Makefile
udev/lib/Makefile
udev/lib/libudev.pc
rules/Makefile
extras/Makefile
extras/ata_id/Makefile
extras/cdrom_id/Makefile
extras/edd_id/Makefile
extras/path_id/Makefile
extras/firmware/Makefile
extras/collect/Makefile
extras/floppy/Makefile
extras/fstab_import/Makefile
extras/rule_generator/Makefile
extras/scsi_id/Makefile
extras/usb_id/Makefile
extras/volume_id/Makefile
extras/volume_id/lib/Makefile
extras/volume_id/lib/libvolume_id.pc
])
AC_OUTPUT
echo "
udev $VERSION
========
prefix: ${prefix}
exec_prefix: ${exec_prefix}
udev_prefix: ${udev_prefix}
libdir_name: ${libdir_name}
datarootdir: ${datarootdir}
mandir: ${mandir}
includedir: ${includedir}
logging: ${enable_logging}
debug: ${enable_debug}
selinux: ${with_selinux}
compiler: ${CC}
cflags: ${CFLAGS}
ldflags: ${LDFLAGS}
xsltproc: ${XSLTPROC}
"