From: Bruno Haible Date: Fri, 30 Jul 2010 18:45:50 +0000 (+0200) Subject: ldexpl; Update regarding AIX. X-Git-Tag: v0.1~3995 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=f5d7314bdeb3d2022ed572f48feba6546baf5f5b ldexpl; Update regarding AIX. --- diff --git a/ChangeLog b/ChangeLog index 424e20953..63f9b262e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-07-30 Bruno Haible + ldexpl; Update regarding AIX. + * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): When cross-compiling, guess yes + on AIX 7. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + frexpl: Update regarding AIX. * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): When cross-compiling, guess yes on AIX 7. diff --git a/m4/ldexpl.m4 b/m4/ldexpl.m4 index 6fdbf0063..84f097718 100644 --- a/m4/ldexpl.m4 +++ b/m4/ldexpl.m4 @@ -1,4 +1,4 @@ -# ldexpl.m4 serial 6 +# ldexpl.m4 serial 7 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -88,10 +88,13 @@ int main() volatile long double y2 = ldexpl (x2, 0); return (y1 != 0.5L) || (y2 != x2); }], [gl_cv_func_ldexpl_works=yes], [gl_cv_func_ldexpl_works=no], - [case "$host_os" in - aix*) gl_cv_func_ldexpl_works="guessing no";; - *) gl_cv_func_ldexpl_works="guessing yes";; + [ +changequote(,)dnl + case "$host_os" in + aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";; + *) gl_cv_func_ldexpl_works="guessing yes";; esac +changequote([,])dnl ]) ]) ])