AC_SUBST([built_programs], [$optional_bin_progs])
AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
-
############################################################################
# As long as "grep 'PRI[diouxX]' po/*.pot" reports matches in
# translatable strings, we must use need-formatstring-macros here.
AM_GNU_GETTEXT([external], [need-formatstring-macros])
AM_GNU_GETTEXT_VERSION([0.19.2])
+AM_CONDITIONAL([USE_NLS], [test "$USE_NLS" = yes])
# For a test of uniq: it uses the $LOCALE_FR envvar.
gt_LOCALE_FR
# for pthread_sigmask
src_sort_LDADD += $(PTHREAD_SIGMASK_LIB)
+if !USE_NLS
+# for CFPreferencesCopyAppValue
+src_date_LDADD += $(INTL_MACOSX_LIBS)
+src_du_LDADD += $(INTL_MACOSX_LIBS)
+src_ls_LDADD += $(INTL_MACOSX_LIBS)
+src_pr_LDADD += $(INTL_MACOSX_LIBS)
+src_stat_LDADD += $(INTL_MACOSX_LIBS)
+src_uptime_LDADD += $(INTL_MACOSX_LIBS)
+endif
+
# Get the release year from lib/version-etc.c.
RELEASE_YEAR = \
`sed -n '/.*COPYRIGHT_YEAR = \([0-9][0-9][0-9][0-9]\) };/s//\1/p' \