chiark / gitweb /
configure: enable all extras by default, provide --disable-extras
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 16 Jun 2009 19:13:15 +0000 (21:13 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 16 Jun 2009 19:13:15 +0000 (21:13 +0200)
INSTALL
README
TODO
autogen.sh
configure.ac

diff --git a/INSTALL b/INSTALL
index 9e24144728e4d11b0a50f998880cc8937d922319..12678a29bf9d4bba1485c724cfad657f28e438f5 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -31,9 +31,9 @@ All options:
   --with-selinux
       Link against SELInux libraries to set the expected context
       for created files.
-  --enable-extras
-      Build extras with larger external dependencies like glib,
-      libacl, libusb, ...
+  --disable-extras
+      Disable the build of extras with larger external dependencies
+      like glib, libacl, libusb, ...
 
 The options used in a RPM spec file usually look like:
   --prefix=%{_prefix}
@@ -41,7 +41,6 @@ The options used in a RPM spec file usually look like:
   --sysconfdir=%{_sysconfdir}
   --with-libdir-name=%{_lib}
   --with-selinux
-  --enable-extras
 
 The defined location for scripts and binaries which are called
 from rules is /lib/udev/ on all systems and architectures. Any
diff --git a/README b/README
index d438afae4647b4f671751649fa99a3856cf73974..3a511802eadbea08b3343c5303d938e4337e30aa 100644 (file)
--- a/README
+++ b/README
@@ -38,6 +38,9 @@ Requirements:
     these group names with only the rootfs mounted, and while no network is
     available.
 
+  - To build all udev extras, libacl, libglib2, libusb, usbutils, pciutils are
+    needed. These dependencies can be disabled with the --disable-extras option.
+
 Operation:
   Udev creates and removes device nodes in /dev/, based on events the kernel
   sends out on device discovery or removal.
diff --git a/TODO b/TODO
index da99da40341538b1a1d2ae3dac797b75c6696cdc..d1ae2d7ae37e1ae1f7ed4830ecd612635a49d6af 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+  o CFLAGS debug
+  o cleanup old extras which link libudev source directly
 
   o fix configure options and libdir-name, exec-prefix, udev-prefix, libdir, ...
   o enumerate: sort control* after pcm*
index e41bae05cfa0d7ee7defe595f02877221cdaf199..63c1997736e2715924c4b01b814ebe9615b2c65a 100755 (executable)
@@ -13,7 +13,7 @@ CFLAGS="-g -Wall \
 libdirname=$(basename $(cd /lib/$(gcc -print-multi-os-directory); pwd))
 args="--prefix=/usr --exec-prefix= --sysconfdir=/etc \
 --libdir=/usr/$libdirname --with-libdir-name=$libdirname \
---with-selinux --enable-gtk-doc --enable-extras"
+--with-selinux --enable-gtk-doc"
 
 export CFLAGS="$CFLAGS -O2"
 ./configure $args $@
index 947ab80fd08b6229d110c7d8100c51e68056a07f..bba82ee7bd1b5ecf973323e16098f19de61d5f16 100644 (file)
@@ -59,8 +59,8 @@ if test "x$enable_logging" = "xyes"; then
 fi
 
 AC_ARG_ENABLE([extras],
-       AS_HELP_STRING([--enable-extras], [enable extras with external dependencies]),
-       [], [enable_extras=no])
+       AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
+       [], [enable_extras=yes])
 if test "x$enable_extras" = xyes; then
        PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
        AC_SUBST([GLIB_CFLAGS])