extensions: port better to MINUX 3, HP-UX, autoheader 2.62
[gnulib.git] / ChangeLog
index 2a0b4e2..e3fb3bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,36 @@
+2013-02-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       extensions: port better to MINUX 3, HP-UX, autoheader 2.62
+       Some of these changes are merged in from git Autoconf.
+       * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS):
+       When deciding whether to define _XOPEN_SOURCE, inspect the
+       preprocessor macro __hpux instead of the more-heavyweight
+       operation of requiring AC_CANONICAL_HOST.  Define _NETBSD_HOST on
+       MINUX, for MINUX 3.  Use USE_SYSTEM_EXTENSIONS, not __EXTENSIONS__,
+       as the key for __EXTENSIONS__.
+
+       unistd: avoid namespace pollution on non-glibc systems
+       * lib/unistd.in.h: #define __need_getopt before including <getopt.h>.
+       This avoids namespace pollution on non-glibc systems, by causing
+       gnulib unistd.h to behave more like glibc unistd.h.  I also hope
+       that this fixes a bug on FreeBSD, reported by Mats Erik Andersson in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00027.html>.
+
 2013-02-04  Paul Eggert  <eggert@cs.ucla.edu>
 
+       tmpdir: use secure_getenv
+       * lib/tmpdir.c (__secure_getenv) [!LIBC]:
+       Define to secure_getenv, not getenv.
+       * m4/tmpdir.m4 (gt_TMPDIR): Don't check for __secure_getenv,
+       as that's now secure_getenv's job.
+       * modules/tmpdir (Depends-on): Add secure_getenv.
+
+       tempname: use secure_getenv
+       * lib/tempname.c (__secure_getenv) [!_LIBC]:
+       Define to secure_getenv, not getenv.
+       * modules/tempname (Depends-on):
+       Add secure_getenv.
+
        secure_getenv: new module
        * MODULES.html.sh (Extra functions based on ANSI C 89):
        Add secure_getenv.