]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix underquoting bug.
authorBruno Haible <bruno@clisp.org>
Tue, 13 Feb 2007 22:41:35 +0000 (22:41 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:40 +0000 (12:14 +0200)
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/intdiv0.m4

index 99958ad54616ddd7c7e2e668cfa0f0c56c25987c..d29f157c4cda10112cd80d984f9b3851b73b3c04 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-13  Bruno Haible  <bruno@clisp.org>
+
+       * intdiv0.m4 (gt_INTDIV0): Assume ANSI C. Fix underquoting bug.
+       Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
 2007-01-10  Eric Blake  <ebb9@byu.net>
 
        * wint_t.m4 (gt_TYPE_WINT_T): Include <stddef.h> before <wchar.h>, to
index b8d78176a6844669d85b1f364cfbccb1c6f5eb69..b8865bac204a3f6a46e72276e904a6984cf7df89 100644 (file)
@@ -1,5 +1,5 @@
-# intdiv0.m4 serial 1 (gettext-0.11.3)
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# intdiv0.m4 serial 2 (gettext-0.16.2)
+dnl Copyright (C) 2002, 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.
@@ -19,11 +19,7 @@ AC_DEFUN([gt_INTDIV0],
 #include <signal.h>
 
 static void
-#ifdef __cplusplus
 sigfpe_handler (int sig)
-#else
-sigfpe_handler (sig) int sig;
-#endif
 {
   /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
   exit (sig != SIGFPE);
@@ -53,12 +49,14 @@ int main ()
 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
         [
           # Guess based on the CPU.
+changequote(,)dnl
           case "$host_cpu" in
             alpha* | i[34567]86 | m68k | s390*)
               gt_cv_int_divbyzero_sigfpe="guessing yes";;
             *)
               gt_cv_int_divbyzero_sigfpe="guessing no";;
           esac
+changequote([,])dnl
         ])
     ])
   case "$gt_cv_int_divbyzero_sigfpe" in