fi
#python
-AC_ARG_ENABLE([python-binding],[ --disable-python-binding Disable building of Python binding],
+AC_ARG_ENABLE([python-binding],
+ [AS_HELP_STRING([--disable-python-binding],
+ [Disable building of Python binding])],
[ENABLE_PYTHON=$enableval],[ENABLE_PYTHON="yes"])
if test "$ENABLE_PYTHON" == "yes" && test "$SWIG" != "no"; then
AM_PATH_PYTHON
AC_SUBST(PYTHON_QUIET)
# ruby
-AC_ARG_ENABLE([ruby-binding], [ --enable-ruby-binding Enable building of Ruby binding],
+AC_ARG_ENABLE([ruby-binding],
+ [AS_HELP_STRING([--enable-ruby-binding],
+ [Enable building of Ruby binding])],
[ENABLE_RUBY=$enableval], [ENABLE_RUBY="no"])
if test "$ENABLE_RUBY" == "yes" && test "$SWIG" != "no"; then
AC_PATH_PROG(RUBY, ruby, no)
AC_SUBST(RUBY_CONFIG_OPTIONS)
# scxi
-AC_ARG_ENABLE([scxi], [ --enable-scxi Enable SCXI convenience library],
+AC_ARG_ENABLE([scxi],
+ [AS_HELP_STRING([--enable-scxi], [Enable SCXI convenience library])],
[ENABLE_SCXI=$enableval], [ENABLE_SCXI="no"])
AM_CONDITIONAL(BUILD_SCXI, [test "$ENABLE_SCXI" == "yes"])
# docbook
-AC_ARG_ENABLE([docbook], [ --disable-docbook Disable docbook],[ENABLE_DOCBOOK=$enableval],[ENABLE_DOCBOOK="yes"])
+AC_ARG_ENABLE([docbook],
+ [AS_HELP_STRING([--disable-docbook], [Disable docbook])],
+ [ENABLE_DOCBOOK=$enableval],[ENABLE_DOCBOOK="yes"])
if test "$ENABLE_DOCBOOK" == "yes"; then
AC_PATH_PROG(XMLTO, xmlto, no)
# new udev hotplug
-AC_ARG_WITH([udev-hotplug], [ --with-udev-hotplug=[[/lib]] enable udev hotplug],
+AC_ARG_WITH([udev-hotplug],
+ [AS_HELP_STRING([--with-udev-hotplug=[[/lib]]], [enable udev hotplug])],
[ENABLE_UDEVHOTPLUG=$withval], [ENABLE_UDEVHOTPLUG="no"])
AM_CONDITIONAL(INSTALL_UDEVHOTPLUG, [test "$ENABLE_UDEVHOTPLUG" != "no"])
if test "$ENABLE_UDEVHOTPLUG" != "no"; then
# old hotplug mechanism
-AC_ARG_ENABLE([etc-hotplug], [ --enable-etc-hotplug enable old hotplug in /etc/hotplug],
+AC_ARG_ENABLE([etc-hotplug],
+ [AS_HELP_STRING([--enable-etc-hotplug],
+ [enable old hotplug in /etc/hotplug])],
[ENABLE_ETCHOTPLUG=$enableval], [ENABLE_ETCHOTPLUG="no"])
AM_CONDITIONAL(INSTALL_ETCHOTPLUG, [test "$ENABLE_ETCHOTPLUG" != "no"])