+2005-07-26 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Move the AM_GNU_GETTEXT invocation early, since it
+ modifies CPPFLAGS.
+
2005-07-16 Bruno Haible <bruno@clisp.org>
* tests: New directory.
dnl Checks for libraries.
+dnl These are the only lines required to internationalize the package.
+dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
+AM_GNU_GETTEXT(use-libtool, need-ngettext)
+
dnl Checks for header files.
AC_CHECK_HEADERS(string.h)
AM_STDBOOL_H
gl_XREADLINK
gl_CANONICALIZE
-dnl These are the only lines required to internationalize the package.
-dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
-AM_GNU_GETTEXT(use-libtool, need-ngettext)
-
dnl Put some default definitions into config.h.
AH_BOTTOM([
/* On Windows, variables that may be in a DLL must be marked specially. */
+2005-07-26 Bruno Haible <bruno@clisp.org>
+
+ * lock.m4 (gl_LOCK): Add some ordering constraints.
+
2005-07-25 Bruno Haible <bruno@clisp.org>
* lock.m4 (gl_LOCK): On Solaris and HP-UX, define
dnl programs that really need multithread functionality. The difference
dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak
dnl symbols, typically LIBTHREAD="" whereas LIBMULTITHREAD="-lpthread".
+dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for
+dnl multithread-safe programs.
AC_DEFUN([gl_LOCK],
[
+ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
+ dnl influences the result of the autoconf tests that test for *_unlocked
+ dnl declarations, on AIX 5 at least. Therefore it must come early.
+ AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
+ AC_BEFORE([$0], [gl_ARGP])dnl
+
AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems
dnl Check for multithreading.
+2005-07-26 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Move the AM_GNU_GETTEXT invocation early, since it
+ modifies CPPFLAGS.
+
2005-07-05 Bruno Haible <bruno@clisp.org>
* mingw: New directory.
dnl Checks for libraries.
+dnl These are the only lines required to internationalize the package.
+dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
+AM_GNU_GETTEXT(use-libtool, need-ngettext)
+
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(limits.h malloc.h pwd.h string.h unistd.h utime.h values.h)
gt_PREREQ_HOSTNAME
-dnl These are the only lines required to internationalize the package.
-dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
-AM_GNU_GETTEXT(use-libtool, need-ngettext)
-
dnl Compilation on mingw needs special Makefile rules, because of variables
dnl being exported from or imported into shared libraries.
case "$host_os" in