Rosetta Stone for Unix.
- AC_CONFIG_LINKS now makes copies if it can't make links.
- AC_FUNC_FNMATCH now tests only for POSIX compatibility, reverting to
- Autoconf 2.13 behavior. The new macro AC_FUNC_FNMATCH_GNU also tests for
- GNU extensions to fnmatch.
+ Autoconf 2.13 behavior. The new macro AC_FUNC_FNMATCH_GNU also
+ tests for GNU extensions to fnmatch, and replaces fnmatch if needed.
- AC_FUNC_SETVBUF_REVERSED no longer fails when cross-compiling.
- New macros
AC_CONFIG_LIBOBJ_DIR, AC_GNU_SOURCE, AC_PROG_EGREP, AC_PROG_FGREP,
- AC_REPLACE_FNMATCH, AC_REPLACE_FNMATCH_GNU, AC_TYPE_MBSTATE_T.
+ AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_TYPE_MBSTATE_T.
- AC_FUNC_GETLOADAVG
looks for getloadavg.c in the CONFIG_LIBOBJ_DIR.
@acindex FUNC_FNMATCH_GNU
@c @fuindex fnmatch
@prindex @code{fnmatch}
-Behave like @code{AC_FUNC_FNMATCH}, but also test whether @code{fnmatch}
-supports @acronym{GNU} extensions. Detect common implementation bugs,
-for example, the bugs in the @acronym{GNU} C Library 2.1.
+Behave like @code{AC_REPLACE_FNMATCH} (@emph{replace}) but also test
+whether @code{fnmatch} supports @acronym{GNU} extensions. Detect common
+implementation bugs, for example, the bugs in the @acronym{GNU} C
+Library 2.1.
@end defmac
@defmac AC_FUNC_FORK
included in place of the system @code{<fnmatch.h>}.
@end defmac
-@defmac AC_REPLACE_FNMATCH_GNU
-@acindex REPLACE_FNMATCH_GNU
-@c @fuindex fnmatch
-@prindex @code{fnmatch}
-Samr as @code{AC_REPLACE_FNMATCH}, but requiring the @acronym{GNU}
-extensions to @code{fnmatch} (see @code{AC_FUNC_FNMATCH_GNU}).
-@end defmac
-
@node Generic Functions
])# AC_FUNC_FNMATCH
-# AC_FUNC_FNMATCH_GNU
-# -------------------
-AC_DEFUN([AC_FUNC_FNMATCH_GNU],
-[AC_REQUIRE([AC_GNU_SOURCE])
-_AC_FUNC_FNMATCH_IF([GNU], [ac_cv_func_fnmatch_gnu],
- [AC_DEFINE([HAVE_FNMATCH], 1,
- [Define to 1 if your system has a working GNU `fnmatch'
- function.])])
-])# AC_FUNC_FNMATCH_GNU
-
-
# _AC_LIBOBJ_FNMATCH
# ------------------
# Prepare the replacement of fnmatch.
])# AC_REPLACE_FUNC_FNMATCH
-# AC_REPLACE_FUNC_FNMATCH_GNU
-# ---------------------------
-AC_DEFUN([AC_REPLACE_FNMATCH_GNU],
+# AC_FUNC_FNMATCH_GNU
+# -------------------
+AC_DEFUN([AC_FUNC_FNMATCH_GNU],
[AC_REQUIRE([AC_GNU_SOURCE])
_AC_FUNC_FNMATCH_IF([GNU], [ac_cv_func_fnmatch_gnu],
[rm -f $ac_config_libobj_dir/fnmatch.h],
[_AC_LIBOBJ_FNMATCH])
-])# AC_REPLACE_FUNC_FNMATCH_GNU
+])# AC_FUNC_FNMATCH_GNU
# AU::AM_FUNC_FNMATCH