Add a --disable-tools option
This patch adds a --disable-tools option that allows to disable the
compilation of the gettext tools, which may not be necessary on a
small embedded Linux system.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
===================================================================
dnl Checks for library functions.
+AC_ARG_ENABLE([tools], [--disable-tools do not build tools],
+ [enable_tools=$enableval], [enable_tools=yes])
+AM_CONDITIONAL([ENABLE_TOOLS], [test "$enable_tools" = "yes"])
AC_CONFIG_SUBDIRS([gettext-runtime gettext-tools])
dnl Ensure that "configure --help" lists all the command line options that
===================================================================
ACLOCAL = build-aux/fixaclocal @ACLOCAL@
-SUBDIRS = gnulib-local gettext-runtime gettext-tools
+TOOLS_SUBDIR = gettext-tools
+SUBDIRS = gnulib-local gettext-runtime $(TOOLS_SUBDIR)
version.sh DEPENDENCIES PACKAGING HACKING ChangeLog.0 autogen.sh \