changeset 13492:ee8a5faf5872

ldexpl; Update regarding AIX.
author Bruno Haible <bruno@clisp.org>
date Fri, 30 Jul 2010 20:45:50 +0200
parents 98c30da1563c
children f3cdb966ff0f
files ChangeLog m4/ldexpl.m4
diffstat 2 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	frexpl: Update regarding AIX.
--- 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 @@
   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
       ])
     ])
 ])