summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-07-03 00:36:46 +0000
committerAndreas Gruenbacher <agruen@suse.de>2009-03-20 21:46:59 +0100
commit7a5222a06d8d6d790d89adba5e766381b906a7eb (patch)
tree29ba908b3e6672fa646dd35a618f256dda429175 /m4
parentae06fb41e212c9ef5ebc959b66f7438c35884796 (diff)
downloadpatch-7a5222a06d8d6d790d89adba5e766381b906a7eb.tar.gz
Sync with gnulib
(Imported from RCS by Andreas Gruenbacher)
Diffstat (limited to 'm4')
-rw-r--r--m4/backupfile.m410
-rw-r--r--m4/onceonly.m42
-rw-r--r--m4/quote.m46
-rw-r--r--m4/rmdir.m422
-rw-r--r--m4/strcase.m439
5 files changed, 47 insertions, 32 deletions
diff --git a/m4/backupfile.m4 b/m4/backupfile.m4
index 0f63f4e..f3c2aa5 100644
--- a/m4/backupfile.m4
+++ b/m4/backupfile.m4
@@ -1,5 +1,5 @@
-# backupfile.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# backupfile.m4 serial 3
+dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -11,13 +11,11 @@ AC_DEFUN([gl_BACKUPFILE],
dnl Prerequisites of lib/backupfile.c.
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID])
- AC_CHECK_HEADERS_ONCE(limits.h stdlib.h string.h)
- AC_CHECK_DECLS_ONCE(getenv malloc)
jm_CHECK_TYPE_STRUCT_DIRENT_D_INO
dnl Prerequisites of lib/addext.c.
AC_REQUIRE([jm_AC_DOS])
- AC_SYS_LONG_FILE_NAMES
- AC_CHECK_HEADERS_ONCE(limits.h string.h unistd.h)
+ AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
+ AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNCS(pathconf)
])
diff --git a/m4/onceonly.m4 b/m4/onceonly.m4
index 4ab8fd0..50b33f4 100644
--- a/m4/onceonly.m4
+++ b/m4/onceonly.m4
@@ -1,4 +1,4 @@
-# onceonly.m4 serial 3
+# onceonly.m4 serial 3 (gettext-0.12)
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
diff --git a/m4/quote.m4 b/m4/quote.m4
index 025911f..14ce1b6 100644
--- a/m4/quote.m4
+++ b/m4/quote.m4
@@ -1,5 +1,5 @@
-# quote.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# quote.m4 serial 2
+dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -9,5 +9,5 @@ dnl the same distribution terms as the rest of that program.
AC_DEFUN([gl_QUOTE],
[
dnl Prerequisites of lib/quote.c.
- AC_CHECK_HEADERS_ONCE(stddef.h)
+ dnl (none)
])
diff --git a/m4/rmdir.m4 b/m4/rmdir.m4
deleted file mode 100644
index a86ff78..0000000
--- a/m4/rmdir.m4
+++ /dev/null
@@ -1,22 +0,0 @@
-# rmdir.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
-dnl This file is free software, distributed under the terms of the GNU
-dnl General Public License. As a special exception to the GNU General
-dnl Public License, this file may be distributed as part of a program
-dnl that contains a configuration script generated by Autoconf, under
-dnl the same distribution terms as the rest of that program.
-
-AC_DEFUN([gl_FUNC_RMDIR],
-[
- AC_REPLACE_FUNCS(rmdir)
- if test $ac_cv_func_rmdir = no; then
- gl_PREREQ_RMDIR
- fi
-])
-
-# Prerequisites of lib/rmdir.c.
-AC_DEFUN([gl_PREREQ_RMDIR], [
- AC_REQUIRE([AC_HEADER_STAT])
- :
-])
-
diff --git a/m4/strcase.m4 b/m4/strcase.m4
new file mode 100644
index 0000000..3fd25d0
--- /dev/null
+++ b/m4/strcase.m4
@@ -0,0 +1,39 @@
+# strcase.m4 serial 1
+dnl Copyright (C) 2002 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gl_STRCASE],
+[
+ gl_FUNC_STRCASECMP
+ gl_FUNC_STRNCASECMP
+])
+
+AC_DEFUN([gl_FUNC_STRCASECMP],
+[
+ AC_REPLACE_FUNCS(strcasecmp)
+ if test $ac_cv_func_strcasecmp = no; then
+ gl_PREREQ_STRCASECMP
+ fi
+])
+
+AC_DEFUN([gl_FUNC_STRNCASECMP],
+[
+ AC_REPLACE_FUNCS(strncasecmp)
+ if test $ac_cv_func_strncasecmp = no; then
+ gl_PREREQ_STRNCASECMP
+ fi
+])
+
+# Prerequisites of lib/strcasecmp.c.
+AC_DEFUN([gl_PREREQ_STRCASECMP], [
+ :
+])
+
+# Prerequisites of lib/strncasecmp.c.
+AC_DEFUN([gl_PREREQ_STRNCASECMP], [
+ :
+])