summaryrefslogtreecommitdiff
path: root/m4/fnmatch.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-31 22:29:00 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-31 22:29:00 +0000
commit7092917c5e99e47cbf65f9d7b6d73a7d5de096d5 (patch)
treeaf281d13c2fcfe062b0e94a569ca4e01768257ab /m4/fnmatch.m4
parentefc9686904177e6644b5528c4703f378daaee0b0 (diff)
downloadgnulib-7092917c5e99e47cbf65f9d7b6d73a7d5de096d5.tar.gz
* modules/getloadavg (Files): Add m4/getloadavg.m4.
(configure.ac): AC_FUNC_GETLOADAVG -> gl_GETLOADAVG, as the former is now obsolescent. * lib/getloadavg.c [defined gl_GETLOADAVG]: Don't include config.h or stdbool.h, because they might not exist while configuring. * m4/fnmatch.m4: Add comment that Autoconf AC_FUNC_FNMATCH is obsolescent, and programs should use gnulib instead. * m4/getloadavg.m4: New file, with contents taken from Autoconf but with prefixes changed.
Diffstat (limited to 'm4/fnmatch.m4')
-rw-r--r--m4/fnmatch.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4
index ce94c84a70..d638f67a80 100644
--- a/m4/fnmatch.m4
+++ b/m4/fnmatch.m4
@@ -1,14 +1,14 @@
# Check for fnmatch.
-# This is a modified version of autoconf's AC_FUNC_FNMATCH.
-# This file should be simplified after Autoconf 2.57 is required.
-
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
# Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
+# Autoconf defines AC_FUNC_FNMATCH, but that is obsolescent.
+# New applications should use the macros below instead.
+
# _AC_FUNC_FNMATCH_IF(STANDARD = GNU | POSIX, CACHE_VAR, IF-TRUE, IF-FALSE)
# -------------------------------------------------------------------------
# If a STANDARD compliant fnmatch is found, run IF-TRUE, otherwise