Show
Ignore:
Timestamp:
23/03/08 17:08:13 (8 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1206288493 +0000
git-parent:

[6a0180cff6f6c80c5579ce3ada1fc71e38d4264c]

git-author:
Rafaël Carré <funman@videolan.org> 1206288493 +0000
Message:

Require gettext 0.16.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • m4/intdiv0.m4

    r974a399 r1263062  
    1 # intdiv0.m4 serial 2 (gettext-0.17
    2 dnl Copyright (C) 2002, 2007 Free Software Foundation, Inc. 
     1# intdiv0.m4 serial 1 (gettext-0.11.3
     2dnl Copyright (C) 2002 Free Software Foundation, Inc. 
    33dnl This file is free software; the Free Software Foundation 
    44dnl gives unlimited permission to copy and/or distribute it, 
     
    1515    gt_cv_int_divbyzero_sigfpe, 
    1616    [ 
    17       gt_cv_int_divbyzero_sigfpe= 
    18 changequote(,)dnl 
    19       case "$host_os" in 
    20         macos* | darwin[6-9]* | darwin[1-9][0-9]*) 
    21           # On MacOS X 10.2 or newer, just assume the same as when cross- 
    22           # compiling. If we were to perform the real test, 1 Crash Report 
    23           # dialog window would pop up. 
    24           case "$host_cpu" in 
    25             i[34567]86 | x86_64) 
    26               gt_cv_int_divbyzero_sigfpe="guessing yes" ;; 
    27           esac 
    28           ;; 
    29       esac 
    30 changequote([,])dnl 
    31       if test -z "$gt_cv_int_divbyzero_sigfpe"; then 
    32         AC_TRY_RUN([ 
     17      AC_TRY_RUN([ 
    3318#include <stdlib.h> 
    3419#include <signal.h> 
    3520 
    3621static void 
     22#ifdef __cplusplus 
    3723sigfpe_handler (int sig) 
     24#else 
     25sigfpe_handler (sig) int sig; 
     26#endif 
    3827{ 
    3928  /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */ 
     
    6352} 
    6453], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, 
    65           [ 
    66             # Guess based on the CPU. 
    67 changequote(,)dnl 
    68             case "$host_cpu" in 
    69               alpha* | i[34567]86 | x86_64 | m68k | s390*) 
    70                 gt_cv_int_divbyzero_sigfpe="guessing yes";; 
    71               *) 
    72                 gt_cv_int_divbyzero_sigfpe="guessing no";; 
    73             esac 
    74 changequote([,])dnl 
    75           ]) 
    76       fi 
     54        [ 
     55          # Guess based on the CPU. 
     56          case "$host_cpu" in 
     57            alpha* | i[34567]86 | m68k | s390*) 
     58              gt_cv_int_divbyzero_sigfpe="guessing yes";; 
     59            *) 
     60              gt_cv_int_divbyzero_sigfpe="guessing no";; 
     61          esac 
     62        ]) 
    7763    ]) 
    7864  case "$gt_cv_int_divbyzero_sigfpe" in