+2009-12-24 Bruno Haible <bruno@clisp.org>
+
+ Add missing dependencies to 'extensions' module.
+ * m4/extensions.m4: Add comment.
+ * modules/accept4 (Depends-on): Add extensions.
+ * modules/dup3 (Depends-on): Likewise.
+ * modules/fcntl (Depends-on): Likewise.
+ * modules/futimens (Depends-on): Likewise.
+ * modules/mknod (Depends-on): Likewise.
+ * modules/pipe2 (Depends-on): Likewise.
+ * modules/stat-time (Depends-on): Likewise.
+ * modules/strcasestr-simple (Depends-on): Likewise.
+ * modules/strsignal (Depends-on): Likewise.
+ * modules/utimensat (Depends-on): Likewise.
+ * modules/localcharset (Depends-on): Likewise. Needed because of
+ gl_FCNTL_O_FLAGS.
+ * modules/wcrtomb (Depends-on): Likewise. Needed because of
+ AC_TYPE_MBSTATE_T.
+ * modules/wcsnrtombs (Depends-on): Likewise.
+ * modules/wcsrtombs (Depends-on): Likewise.
+
2009-12-24 Bruno Haible <bruno@clisp.org>
binary-io: Avoid gcc warning due to SET_BINARY.
-# serial 8 -*- Autoconf -*-
+# serial 9 -*- Autoconf -*-
# Enable extensions on systems that normally disable them.
# Copyright (C) 2003, 2006-2009 Free Software Foundation, Inc.
# enough in this area it's likely we'll need to redefine
# AC_USE_SYSTEM_EXTENSIONS for quite some time.
+# If autoconf reports a warning
+# warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
+# or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
+# the fix is
+# 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
+# but always AC_REQUIREd,
+# 2) to ensure that for each occurrence of
+# AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+# or
+# AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+# the corresponding gnulib module description has 'extensions' among
+# its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS
+# invocation occurs in gl_EARLY, not in gl_INIT.
+
# AC_USE_SYSTEM_EXTENSIONS
# ------------------------
# Enable extensions on systems that normally disable them,