chiark / gitweb /
fix dbg() callers
[elogind.git] / configure.ac
index 0ec8e20..bcc3554 100644 (file)
@@ -1,18 +1,25 @@
-AC_INIT(udev,
-       126,
-       kay.sievers@vrfy.org)
-
+AC_INIT([udev],
+       [128],
+       [kay.sievers@vrfy.org])
 AC_PREREQ(2.60)
 AC_PREREQ(2.60)
-AC_CONFIG_SRCDIR(udev/udevd.c)
-AM_INIT_AUTOMAKE([check-news foreign -Wall 1.9 dist-bzip2])
+AC_CONFIG_SRCDIR([udev/udevd.c])
+AM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2])
 AC_GNU_SOURCE
 AC_DISABLE_STATIC
 AC_SYS_LARGEFILE
 AC_PROG_LIBTOOL
 
 AC_GNU_SOURCE
 AC_DISABLE_STATIC
 AC_SYS_LARGEFILE
 AC_PROG_LIBTOOL
 
+dnl /* libudev version */
+LIBUDEV_LT_CURRENT=0
+LIBUDEV_LT_REVISION=1
+LIBUDEV_LT_AGE=0
+AC_SUBST(LIBUDEV_LT_CURRENT)
+AC_SUBST(LIBUDEV_LT_REVISION)
+AC_SUBST(LIBUDEV_LT_AGE)
+
 dnl /* libvolume_id version */
 dnl /* libvolume_id version */
-VOLID_LT_CURRENT=0
-VOLID_LT_REVISION=86
+VOLID_LT_CURRENT=1
+VOLID_LT_REVISION=1
 VOLID_LT_AGE=0
 AC_SUBST(VOLID_LT_CURRENT)
 AC_SUBST(VOLID_LT_REVISION)
 VOLID_LT_AGE=0
 AC_SUBST(VOLID_LT_CURRENT)
 AC_SUBST(VOLID_LT_REVISION)
@@ -24,10 +31,6 @@ AC_CHECK_LIB(c, inotify_init,
        [AC_DEFINE([HAVE_INOTIFY], 1, [inotify available])],
        [AC_MSG_WARN([inotify support disabled])])
 
        [AC_DEFINE([HAVE_INOTIFY], 1, [inotify available])],
        [AC_MSG_WARN([inotify support disabled])])
 
-AC_CHECK_LIB(c, strlcpy,
-       [AC_DEFINE([HAVE_STRLCPY], 1, [strlcpy available])],
-       [])
-
 AC_ARG_WITH(udev-prefix,
        AS_HELP_STRING([--with-udev-prefix=DIR], [add prefix to internal udev path names]),
        [], [with_udev_prefix='${exec_prefix}'])
 AC_ARG_WITH(udev-prefix,
        AS_HELP_STRING([--with-udev-prefix=DIR], [add prefix to internal udev path names]),
        [], [with_udev_prefix='${exec_prefix}'])
@@ -75,6 +78,8 @@ AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_FILES([
        Makefile
        udev/Makefile
 AC_CONFIG_FILES([
        Makefile
        udev/Makefile
+       udev/lib/Makefile
+       udev/lib/libudev.pc
        rules/Makefile
        extras/Makefile
        extras/ata_id/Makefile
        rules/Makefile
        extras/Makefile
        extras/ata_id/Makefile