1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-12 16:05:03 +02:00

(AM_WITH_NLS): Remove intl/libintl.h if <libintl.h> is to be used.

This commit is contained in:
Jim Meyering
1998-07-04 00:39:41 +00:00
parent 0cb0cc4e2f
commit bedf44ba83

View File

@@ -162,6 +162,10 @@ AC_DEFUN(AM_WITH_NLS,
nls_cv_header_intl=intl/libintl.h
nls_cv_header_libgt=intl/libgettext.h
fi
if test -z "$nsl_cv_header_intl"; then
# Clean out junk possibly left behind by a previous configuration.
rm -f intl/libintl.h
fi
AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
AC_OUTPUT_COMMANDS(
[case "$CONFIG_FILES" in *po/Makefile.in*)