changeset 1410:2149668b7a0c

(AM_WITH_NLS): Remove intl/libintl.h if <libintl.h> is to be used.
author Jim Meyering <jim@meyering.net>
date Sat, 04 Jul 1998 00:39:41 +0000
parents 28f5beeb61c0
children 5923d89eb6dc
files m4/gettext.m4
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -162,6 +162,10 @@
       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*)