]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
AC_FUNC_FNMATCH now tests only for POSIX compatibility.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 May 2002 07:14:37 +0000 (07:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 May 2002 07:14:37 +0000 (07:14 +0000)
AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
Both macros now accept an optional source-dir arg.
New macro AC_GNU_SOURCE to define _GNU_SOURCE.

* NEWS: Document this.
* doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.

* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
(AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
not for GNU extensions; this undoes part of the 2000-11-03 change,
reverting to 2.13-compatible behavior.
Add new optional argument DIR.
(AC_FUNC_FNMATCH_GNU): New macro.

* lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.

ChangeLog

index 566d72597215a44e8a0f25c1fd441bffe61d0dd0..2aaacf035b2a95559841710a08b08db9f4f07629 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2002-05-16  Paul Eggert  <eggert@twinsun.com>
+
+       AC_FUNC_FNMATCH now tests only for POSIX compatibility.
+       AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
+       Both macros now accept an optional source-dir arg.
+       New macro AC_GNU_SOURCE to define _GNU_SOURCE.
+       
+       * NEWS: Document this.
+       * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
+       
+       * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
+       (AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
+       not for GNU extensions; this undoes part of the 2000-11-03 change,
+       reverting to 2.13-compatible behavior.
+       Add new optional argument DIR.
+       (AC_FUNC_FNMATCH_GNU): New macro.
+
+       * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
+
 2002-05-08  Paul Eggert  <eggert@twinsun.com>
 
        * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):