]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use fcntl-o.m4 instead of fcntl_h.m4.
authorBruno Haible <bruno@clisp.org>
Fri, 25 Dec 2009 13:04:25 +0000 (14:04 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 26 Dec 2009 10:59:31 +0000 (11:59 +0100)
12 files changed:
ChangeLog
Makefile.am
PACKAGING
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/Makefile.am
gettext-runtime/m4/fcntl-o.m4 [moved from gettext-runtime/m4/fcntl_h.m4 with 76% similarity]
gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi
gettext-tools/m4/ChangeLog
gettext-tools/m4/Makefile.am
gettext-tools/misc/ChangeLog
gettext-tools/misc/gettextize.in

index a60d6c7e71bbf5dfdff665c72467a728a4546fe4..cd29077ecf504537a3b91cb3710f44ee9cbe0182 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (distcheck-hook): Compare fcntl-o.m4 instead of
+       fcntl_h.m4.
+       * PACKAGING: Mention fcntl-o.m4 instead of fcntl_h.m4.
+
 2009-12-12  Bruno Haible  <bruno@clisp.org>
 
        * AUTHORS: Untabify.
index 6b5449b303e22a85db26472bf9c622f754cbddbe..ac2fbba9c9174dda3e0c6293d22466a57c8e7388 100644 (file)
@@ -43,7 +43,7 @@ distcheck-hook:
        cmp -s gettext-runtime/po/remove-potcdate.sin gettext-tools/po/remove-potcdate.sin
        cmp -s gettext-runtime/po/remove-potcdate.sin gettext-tools/examples/po/remove-potcdate.sin
        cmp -s gettext-runtime/m4/codeset.m4 gettext-tools/gnulib-m4/codeset.m4
-       cmp -s gettext-runtime/m4/fcntl_h.m4 gettext-tools/gnulib-m4/fcntl_h.m4
+       cmp -s gettext-runtime/m4/fcntl-o.m4 gettext-tools/gnulib-m4/fcntl-o.m4
        cmp -s gettext-runtime/m4/gettext.m4 gettext-tools/gnulib-m4/gettext.m4
        cmp -s gettext-runtime/m4/glibc2.m4 gettext-tools/gnulib-m4/glibc2.m4
        cmp -s gettext-runtime/m4/glibc21.m4 gettext-tools/gnulib-m4/glibc21.m4
index 1ba83831cc6fe3b633a880e7b76fbd2bbb6412b6..15105c7ab8becdd6952151c195ac64d15f3b588e 100644 (file)
--- a/PACKAGING
+++ b/PACKAGING
@@ -117,7 +117,7 @@ following file list.
       $prefix/share/gettext/archive.git.tar.gz   (only installed if --with-git specified)
       $prefix/share/gettext/archive.dir.tar.gz   (only installed if --without-cvs specified)
       $prefix/share/aclocal/codeset.m4
-      $prefix/share/aclocal/fcntl_h.m4
+      $prefix/share/aclocal/fcntl-o.m4
       $prefix/share/aclocal/gettext.m4
       $prefix/share/aclocal/glibc2.m4
       $prefix/share/aclocal/glibc21.m4
index 7631ec37ecd7f8385605538ba8885584f9f82185..240582c3f8145508129104f8ede7474d3d1f1bfa 100644 (file)
@@ -1,3 +1,9 @@
+2009-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * fcntl-o.m4: New file, from gnulib.
+       * fcntl_h.m4: Remove file.
+       * Makefile.am (EXTRA_DIST): Add fcntl-o.m4. Remove fcntl_h.m4.
+
 2009-12-21  Bruno Haible  <bruno@clisp.org>
 
        Define override of setlocale and newlocale functions.
index ccf0f2e442dc2448b02343ae517b185e47941d9e..7eccc645249996282cefcb5493093b593b73c861 100644 (file)
@@ -5,7 +5,7 @@
 EXTRA_DIST = README \
 ansi-c++.m4 \
 codeset.m4 \
-fcntl_h.m4 \
+fcntl-o.m4 \
 gettext.m4 \
 glibc2.m4 \
 glibc21.m4 \
similarity index 76%
rename from gettext-runtime/m4/fcntl_h.m4
rename to gettext-runtime/m4/fcntl-o.m4
index 40a18034dcef5e13ac2b96f6bf2d6ccdc29870ca..10d564c0a34ae8d3f926b78185d433f2f2f825d6 100644 (file)
@@ -1,21 +1,11 @@
-# serial 6
-# Configure fcntl.h.
-dnl Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc.
+# fcntl-o.m4 serial 1
+dnl Copyright (C) 2006, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
 dnl Written by Paul Eggert.
 
-AC_DEFUN([gl_FCNTL_H],
-[
-  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
-  AC_REQUIRE([gl_FCNTL_O_FLAGS])
-  gl_CHECK_NEXT_HEADERS([fcntl.h])
-  FCNTL_H='fcntl.h'
-  AC_SUBST([FCNTL_H])
-])
-
 # Test whether the flags O_NOATIME and O_NOFOLLOW actually work.
 # Define HAVE_WORKING_O_NOATIME to 1 if O_NOATIME works, or to 0 otherwise.
 # Define HAVE_WORKING_O_NOFOLLOW to 1 if O_NOFOLLOW works, or to 0 otherwise.
@@ -89,20 +79,3 @@ AC_DEFUN([gl_FCNTL_O_FLAGS],
   AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val],
     [Define to 1 if O_NOFOLLOW works.])
 ])
-
-AC_DEFUN([gl_FCNTL_MODULE_INDICATOR],
-[
-  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
-  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
-  GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
-])
-
-AC_DEFUN([gl_FCNTL_H_DEFAULTS],
-[
-  GNULIB_OPEN=0;    AC_SUBST([GNULIB_OPEN])
-  GNULIB_OPENAT=0;  AC_SUBST([GNULIB_OPENAT])
-  dnl Assume proper GNU behavior unless another module says otherwise.
-  HAVE_OPENAT=1;    AC_SUBST([HAVE_OPENAT])
-  REPLACE_OPEN=0;   AC_SUBST([REPLACE_OPEN])
-  REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT])
-])
index fa0e163112b202f1807b28f6352b016d5210f402..44368786b9b0964b12900a73bbfa22fc60995ee5 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.texi (aclocal): Add fcntl-o.m4 instead of fcntl_h.m4 to the
+       file list.
+
 2009-10-18  Bruno Haible  <bruno@clisp.org>
 
        * gettext.texi (aclocal): Add fcntl_h.m4 to the file list.
index 68ac5caca2cfcacfd8a9eaf6653a5d81177b0064..5ec12777d0fcc1f05d7b7256ca44335a6c31d98e 100644 (file)
@@ -7934,7 +7934,7 @@ automake 1.9.
 @cindex @file{aclocal.m4} file
 
 If you do not have an @file{aclocal.m4} file in your distribution,
-the simplest is to concatenate the files @file{codeset.m4}, @file{fcntl_h.m4},
+the simplest is to concatenate the files @file{codeset.m4}, @file{fcntl-o.m4},
 @file{gettext.m4}, @file{glibc2.m4}, @file{glibc21.m4}, @file{iconv.m4},
 @file{intdiv0.m4}, @file{intl.m4}, @file{intldir.m4}, @file{intlmacosx.m4},
 @file{intmax.m4}, @file{inttypes_h.m4}, @file{inttypes-pri.m4},
index c26ee3f76b37ed0008733056b4a549f6691125ee..8671d6168c39c25e6d97e459e384e1706340ee0e 100644 (file)
@@ -1,3 +1,7 @@
+2009-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (aclocal_DATA): Add fcntl-o.m4. Remove fcntl_h.m4.
+
 2009-12-12  Bruno Haible  <bruno@clisp.org>
 
        * regex.m4: Untabify.
index fe6795a56566b92c913951e284c9d2dbad864e72..0f26f95dea639058118294682bb006f27c3d28af 100644 (file)
@@ -8,7 +8,7 @@ aclocal_DATA = \
   ../../autoconf-lib-link/m4/lib-link.m4 \
   ../../autoconf-lib-link/m4/lib-prefix.m4 \
   ../../gettext-runtime/m4/codeset.m4 \
-  ../../gettext-runtime/m4/fcntl_h.m4 \
+  ../../gettext-runtime/m4/fcntl-o.m4 \
   ../../gettext-runtime/m4/gettext.m4 \
   ../../gettext-runtime/m4/glibc2.m4 \
   ../../gettext-runtime/m4/glibc21.m4 \
index e93ed3ead899e6e62bd3630036148fed4bae66dc..81f3cb7f8ca777d146880831ff3be2a8be568f6c 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * gettextize.in (m4filelist): Add fcntl-o.m4 instead of fcntl_h.m4 to
+       the list.
+
 2009-12-12  Bruno Haible  <bruno@clisp.org>
 
        * po-compat.el: Untabify.
index 43d41bae696ca586bdb007ddb6bb577dc9bf1f46..14344a45d04d0d949dd0df7fe1a1fe611afb034b 100644 (file)
@@ -768,7 +768,7 @@ m4filelist='gettext.m4 iconv.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 nls.m4
 min_automake_version=1.9
 if test -n "$intldir" || test -z "$have_automake19"; then
   # Add intldir.m4, intl.m4 and its dependencies.
-  m4filelist=$m4filelist' codeset.m4 fcntl_h.m4 glibc2.m4 glibc21.m4 intdiv0.m4
+  m4filelist=$m4filelist' codeset.m4 fcntl-o.m4 glibc2.m4 glibc21.m4 intdiv0.m4
    intl.m4 intldir.m4 intlmacosx.m4 intmax.m4 inttypes_h.m4 inttypes-pri.m4
    lcmessage.m4 lock.m4 longlong.m4 printf-posix.m4 size_max.m4 stdint_h.m4
    threadlib.m4 uintmax_t.m4 visibility.m4 wchar_t.m4 wint_t.m4 xsize.m4'