chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev.pc: add
[elogind.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index c73872e1ac46fe82b7204bb0404a8af433a5b548..9fde92a3a852ebcbd7604968dbc5970162e59e7c 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-7,6
+7,7
@@
dnl AM_SILENT_RULES
AC_SYS_LARGEFILE
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_LIBTOOL
AC_SYS_LARGEFILE
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_LIBTOOL
+AC_PROG_AWK
GTK_DOC_CHECK(1.10)
AC_PREFIX_DEFAULT([/usr])
AC_PATH_PROG([XSLTPROC], [xsltproc])
GTK_DOC_CHECK(1.10)
AC_PREFIX_DEFAULT([/usr])
AC_PATH_PROG([XSLTPROC], [xsltproc])
@@
-49,6
+50,11
@@
AC_ARG_ENABLE([extras],
AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
[], [enable_extras=yes])
if test "x$enable_extras" = xyes; then
AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
[], [enable_extras=yes])
if test "x$enable_extras" = xyes; then
+ AC_PATH_PROG([GPERF], [gperf])
+ if test -z "$GPERF"; then
+ AC_MSG_ERROR([gperf is needed])
+ fi
+
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
AC_SUBST([GLIB_CFLAGS])
AC_SUBST([GLIB_LIBS])
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
AC_SUBST([GLIB_CFLAGS])
AC_SUBST([GLIB_LIBS])
@@
-100,6
+106,7
@@
AC_CONFIG_FILES([
libudev/docs/Makefile
libudev/docs/version.xml
udev/Makefile
libudev/docs/Makefile
libudev/docs/version.xml
udev/Makefile
+ udev/udev.pc
rules/Makefile
extras/Makefile
extras/ata_id/Makefile
rules/Makefile
extras/Makefile
extras/ata_id/Makefile
@@
-121,6
+128,8
@@
AC_CONFIG_FILES([
extras/gudev/gudev-1.0.pc
extras/gudev/docs/Makefile
extras/gudev/docs/version.xml
extras/gudev/gudev-1.0.pc
extras/gudev/docs/Makefile
extras/gudev/docs/version.xml
+ extras/keymap/Makefile
+ extras/modem-modeswitch/Makefile
])
AC_OUTPUT
])
AC_OUTPUT
@@
-154,4
+163,5
@@
AC_MSG_RESULT([
pci.ids: ${PCI_DATABASE}
xsltproc: ${XSLTPROC}
pci.ids: ${PCI_DATABASE}
xsltproc: ${XSLTPROC}
+ gperf: ${GPERF}
])
])