changeset 14366:4da22ca0951d

longlong: skip, rather than fail, on cross-compilation * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Avoid aborting configure when cross-compiling; regression from 2011-02-16. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 18 Feb 2011 10:25:36 -0700
parents 9a96cc768ed6
children 8c612d3fafe7
files ChangeLog m4/longlong.m4
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-18  Eric Blake  <eblake@redhat.com>
+
+	longlong: skip, rather than fail, on cross-compilation
+	* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Avoid aborting configure
+	when cross-compiling; regression from 2011-02-16.
+
 2011-02-17  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* NEWS: Mention 2011-02-08 change to stdlib.
--- a/m4/longlong.m4
+++ b/m4/longlong.m4
@@ -1,4 +1,4 @@
-# longlong.m4 serial 15
+# longlong.m4 serial 16
 dnl Copyright (C) 1999-2007, 2009-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -45,7 +45,8 @@
                    }
                  return 0;]])],
             [],
-            [ac_cv_type_long_long_int=no])
+            [ac_cv_type_long_long_int=no],
+            [:])
         fi
       fi])
   if test $ac_cv_type_long_long_int = yes; then