diff options
author | Jim Meyering <jim@meyering.net> | 1998-07-04 00:39:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-07-04 00:39:41 +0000 |
commit | bedf44ba83aae25eb93f1532fcdf97fd3dd4b552 (patch) | |
tree | cd37d1ae2ea8851c18a6c33d998469171161ba97 | |
parent | 0cb0cc4e2fb17129c275f66ed5be033ce3991abf (diff) | |
download | coreutils-bedf44ba83aae25eb93f1532fcdf97fd3dd4b552.tar.xz |
(AM_WITH_NLS): Remove intl/libintl.h if <libintl.h> is to be used.
-rw-r--r-- | m4/gettext.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 3b6002b0c..fedd3ee96 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -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*) |