From b1f4c38f8f18d1c8aa15f2c184ba9ac76ebb17f5 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Fri, 3 Sep 2010 08:36:41 +0000 Subject: [PATCH] Improve configure's --with-drivers documentation. - List drivers compiled in the default set; - Expose the 'all' special-driver; - Remove some autotools (broken) magic. Since it's broken, display "--with-drivers=DRIVERS" on all system and stop making my eyes bleeding with "--with-drivers=driver[[,]driver...]" which is a complete nonsense when using "recent" autotools. --- m4/libnfc_drivers.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/libnfc_drivers.m4 b/m4/libnfc_drivers.m4 index 2ed6aef..a5c5156 100644 --- a/m4/libnfc_drivers.m4 +++ b/m4/libnfc_drivers.m4 @@ -4,7 +4,7 @@ AC_DEFUN([LIBNFC_ARG_WITH_DRIVERS], [ AC_MSG_CHECKING(which drivers to build) AC_ARG_WITH(drivers, - AC_HELP_STRING([--with-drivers=driver@<:@[[[,]]]driver...@:>@], [Only use specific drivers (available drivers: acr122,arygon,pn531_usb,pn533_usb,pn532_uart)]), + AC_HELP_STRING([--with-drivers=DRIVERS], [Use a custom driver set, where DRIVERS is a coma-separated list of drivers to build support for. Available drivers are: 'acr122', 'arygon', 'pn531_usb', 'pn533_usb' and 'pn532_uart'. Default drivers set is 'acr122,arygon,pn531_usb,pn533_usb'. The special driver set 'all' compile all available drivers.]), [ case "${withval}" in yes | no) dnl ignore calls without any arguments