]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove; now gnulib will contain this override.
authorBruno Haible <bruno@clisp.org>
Fri, 26 Oct 2007 00:27:39 +0000 (00:27 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:22 +0000 (12:15 +0200)
gettext-tools/m4/ChangeLog
gettext-tools/m4/Makefile.am
gettext-tools/m4/restrict.m4 [deleted file]

index f8a4f6d18da9537b5da9aa22364452b660023fed..d9522664fa6048eb1a6341b4c7291aaf246bce33 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-25  Bruno Haible  <bruno@clisp.org>
+
+       * restrict.m4: Remove file.
+       * Makefile.am (EXTRA_DIST): Remove it.
+
 2007-10-17  Bruno Haible  <bruno@clisp.org>
 
        * locale-ja.m4 (gt_LOCALE_JA): On Cygwin, don't allow locale names
index d186a332f4efb6e63db9b35a1951eac1aa1b946b..5dcb00c893b7b7999a5890c43813378411328c8a 100644 (file)
@@ -49,6 +49,5 @@ hostname.m4 \
 libgrep.m4 \
 locale-ja.m4 \
 regex.m4 \
-restrict.m4 \
 setlocale.m4 \
 siginfo.m4
diff --git a/gettext-tools/m4/restrict.m4 b/gettext-tools/m4/restrict.m4
deleted file mode 100644 (file)
index 6e4f040..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# restrict.m4 serial 1 (gettext-0.16.2)
-dnl Copyright (C) 2007 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 This file overrides the AC_C_RESTRICT macro from autoconf 2.60..2.61,
-dnl so that mixed use of GNU C and GNU C++ works.
-dnl This file can be removed once autoconf >= 2.62 can be assumed.
-
-AC_DEFUN([AC_C_RESTRICT],
-[AC_CACHE_CHECK([for C/C++ restrict keyword], ac_cv_c_restrict,
-  [ac_cv_c_restrict=no
-   # Try the official restrict keyword, then gcc's __restrict, and
-   # the less common variants.
-   for ac_kw in __restrict __restrict__ _Restrict restrict; do
-     AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
-      [[typedef int * int_ptr;
-        int foo (int_ptr $ac_kw ip) {
-        return ip[0];
-       }]],
-      [[int s[1];
-        int * $ac_kw t = s;
-        t[0] = 0;
-        return foo(t)]])],
-      [ac_cv_c_restrict=$ac_kw])
-     test "$ac_cv_c_restrict" != no && break
-   done
-  ])
- case $ac_cv_c_restrict in
-   restrict) ;;
-   no) AC_DEFINE(restrict,,
-         [Define to equivalent of C99 restrict keyword, or to nothing if this
-          is not supported.  Do not define if restrict is supported directly.]) ;;
-   *)  AC_DEFINE_UNQUOTED(restrict, $ac_cv_c_restrict) ;;
- esac
-])# AC_C_RESTRICT