longlong: skip, rather than fail, on cross-compilation
authorEric Blake <eblake@redhat.com>
Fri, 18 Feb 2011 17:25:36 +0000 (10:25 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 18 Feb 2011 17:35:30 +0000 (10:35 -0700)
* 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>
ChangeLog
m4/longlong.m4

index c2c1946..fad8587 100644 (file)
--- 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.
index 04c8303..aed816c 100644 (file)
@@ -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 @@ AC_DEFUN([AC_TYPE_LONG_LONG_INT],
                    }
                  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