X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fintdiv0.m4;h=b8865bac204a3f6a46e72276e904a6984cf7df89;hb=990dce77220bf009b2639f87a807548c03dc6f79;hp=55dddcf1c24c26a63f303c48ac6ff33329404f99;hpb=53b8fa05726a7fb30010e42ce02e44a35f0d7489;p=gnulib.git diff --git a/m4/intdiv0.m4 b/m4/intdiv0.m4 index 55dddcf1c..b8865bac2 100644 --- a/m4/intdiv0.m4 +++ b/m4/intdiv0.m4 @@ -1,10 +1,8 @@ -# intdiv0.m4 serial 1 (gettext-0.11.3) -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. +# 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. dnl From Bruno Haible. @@ -21,11 +19,7 @@ AC_DEFUN([gt_INTDIV0], #include 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); @@ -55,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