+2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * m4/wget.m4 (WGET_WITH_NLS): Don't check for locale.h.
+
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Test for $LIBSSL instead of the old $ssl_success
fi
fi
- AC_CHECK_HEADERS(locale.h libintl.h)
+ AC_CHECK_HEADERS(libintl.h)
dnl Prefer gettext found in -lintl to the one in libc.
dnl Otherwise it can happen that we include libintl.h from
+2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * utils.c: Unconditionally include locale.h.
+
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
* ptimer.c: Include sys/time.h to get struct timeval.
#endif /* HAVE_UNISTD_H */
#include <string.h>
#include <signal.h>
-#if defined(HAVE_NLS) && defined(HAVE_LOCALE_H)
+#ifdef HAVE_NLS
# include <locale.h>
#endif
#include <assert.h>
#include <fcntl.h>
#include <assert.h>
#include <stdarg.h>
-#ifdef HAVE_LOCALE_H
-# include <locale.h>
-#endif
+#include <locale.h>
/* For TIOCGWINSZ and friends: */
#ifdef HAVE_SYS_IOCTL_H