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], [ --disable-ruby-binding Disable building of Ruby binding],
- [ENABLE_RUBY=$enableval], [ENABLE_RUBY="yes"])
+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)
if test "$RUBY" != "no" ; then
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)
if test "$XMLTO" = "no" ; then
AC_MSG_WARN([xmlto not found, will not be able to rebuild documentation])
fi
+ AC_PATH_PROG(DBLATEX, dblatex, no)
+ if test "$DBLATEX" = "no" ; then
+ AC_MSG_WARN([dblatex not found, will not be able to generate pdfs])
+ fi
else
XMLTO="no"
+ DBLATEX="no"
fi
AM_CONDITIONAL(HAVE_XMLTO, [test "$XMLTO" != "no"])
+AM_CONDITIONAL(HAVE_DBLATEX, [test "$DBLATEX" != "no"])
pcmciadir="\${sysconfdir}/pcmcia"
AC_SUBST(pcmciadir)
# 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
- udevrulesdir="\${sysconfdir}/udev/rules.d/"
if test "$ENABLE_UDEVHOTPLUG" == "yes"; then
AC_MSG_ERROR([udev-hotplug needs a path as an argument (usually: --enable-udev-hotplug=/lib).])
fi
if test "$sysconfdir" != "/etc"; then
AC_MSG_WARN([udev hotplug works only if sysconfdir is set to /etc.])
fi
+ udevrulesdir="$ENABLE_UDEVHOTPLUG/udev/rules.d/"
udevfirmwaredir="$ENABLE_UDEVHOTPLUG/firmware"
udevscriptsdir="$ENABLE_UDEVHOTPLUG/udev"
AC_SUBST(udevrulesdir)
# 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"])
etc/hotplug/usb/Makefile
etc/hotplug/usb/usbdux/Makefile
etc/hotplug/usb/usbduxfast/Makefile
+etc/hotplug/usb/usbduxsigma/Makefile
etc/udev/Makefile
doc/Makefile
demo/Makefile