diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-07-27 14:08:43 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-07-27 14:08:43 +0000 |
commit | a743d1272df2dab0d1d0d508c36e8810614abf37 (patch) | |
tree | f3b584a53c601bc596dde161c02a0e4d10169c38 /acinclude.m4 | |
parent | 8474a2bd7c42eb2a9df05797d83ed724fb5108a9 (diff) |
Add an --enable-all option
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 3e9add0c..029ef056 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -98,11 +98,6 @@ AC_DEFUN([AC_PATH_USB], [ ]) AC_DEFUN([AC_PATH_DBUS], [ - AC_ARG_ENABLE(dbus, AC_HELP_STRING([--enable-dbus], [enable D-BUS support]), [ - dbus_enable=${enableval} - dbus_prefix=${prefix} - ]) - AC_ARG_WITH(dbus, AC_HELP_STRING([--with-dbus=DIR], [D-BUS library is installed in DIR]), [ if (test "${withval}" = "yes"); then dbus_prefix=${prefix} @@ -148,6 +143,21 @@ AC_DEFUN([AC_PATH_DBUS], [ ]) AC_DEFUN([AC_PATH_EXTRA], [ + AC_ARG_ENABLE(all, AC_HELP_STRING([--enable-all], [enable all extra options]), [ + dbus_enable=${enableval} + dbus_prefix=${prefix} + test_enable=${enableval} + cups_enable=${enableval} + pcmcia_enable=${enableval} + hid2hci_enable=${enableval} + bcm203x_enable=${enableval} + ]) + + AC_ARG_ENABLE(dbus, AC_HELP_STRING([--enable-dbus], [enable D-BUS support]), [ + dbus_enable=${enableval} + dbus_prefix=${prefix} + ]) + AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-test], [install test programs]), [ test_enable=${enableval} ]) |