Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
AM_CONDITIONAL(
[COND_utils],
[test "$enable_utils" = "yes"])
+AM_CONDITIONAL(
+ [COND_utils_gettext],
+ [test "$has_gettext" = "yes"])
#----------------------------------------
# Get the version to apply to the parser shared library
dist_bin_SCRIPTS = tweak diff merge
dist_bin_SCRIPTS += streamline
-bin_PROGRAMS = gettext
+
+if COND_utils_gettext
+ MAYBE_utils_gettext = gettext
+endif
+bin_PROGRAMS = $(MAYBE_utils_gettext)
gettext_SOURCES = gettext.c
gettext_CPPFLAGS = $(AM_CPPFLAGS) \