Allow not setting glib_cv_long_long_format when cross-compiling since we
authorOwen Taylor <otaylor@redhat.com>
Fri, 13 Dec 2002 02:09:48 +0000 (02:09 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 13 Dec 2002 02:09:48 +0000 (02:09 +0000)
Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Allow not setting glib_cv_long_long_format
        when cross-compiling since we assume other things that
        will cause us to pull in Trio anyways.

        * configure.in: long_long_format is always ll for trio.

        * configure.in: Error out if --disable-trio is specified
        but the C library doesn't have the necessary features.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index 245f7a2..76d1963 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
index 245f7a2..76d1963 100644 (file)
@@ -1,5 +1,9 @@
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
index 245f7a2..76d1963 100644 (file)
@@ -1,5 +1,9 @@
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
index 245f7a2..76d1963 100644 (file)
@@ -1,5 +1,9 @@
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
index 245f7a2..76d1963 100644 (file)
@@ -1,5 +1,9 @@
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
index 245f7a2..76d1963 100644 (file)
@@ -1,5 +1,9 @@
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
index 245f7a2..76d1963 100644 (file)
@@ -1,5 +1,9 @@
 Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
 
+       * configure.in: Allow not setting glib_cv_long_long_format
+       when cross-compiling since we assume other things that
+       will cause us to pull in Trio anyways.
+
        * configure.in: long_long_format is always ll for trio.
        
        * configure.in: Error out if --disable-trio is specified
index 749f365..7a870b6 100644 (file)
@@ -474,8 +474,9 @@ if test x$ac_cv_sizeof_long_long = x8; then
                          exit (b!=a);
                        }
                        ],
-                       glib_cv_long_long_format=${format}
-                       break)
+                       [glib_cv_long_long_format=${format}
+                       break],
+                       [],[:])
                done])
        if test -n "$glib_cv_long_long_format"; then
          AC_MSG_RESULT(%${glib_cv_long_long_format}u)
@@ -702,7 +703,7 @@ AC_FUNC_PRINTF_UNIX98
 AC_ARG_ENABLE(included-printf, [  --enable-included-printf    use included printf [default=auto]], enable_trio="$enableval")
 
 need_trio=no
-if test "x$enable_trio" != "xyes" ; then
+if test "x$enable_trio" = "xyes" ; then
   need_trio=yes
 fi
 if test "$ac_cv_func_vsnprintf_c99" != "yes" ; then
@@ -719,7 +720,7 @@ fi
 if test "x$enable_trio" = "xno" && 
    test "x$need_trio" = "xyes" ; then
   AC_MSG_ERROR([
-*** Your C library's printf doens't appear to have the features that
+*** Your C library's printf doesn't appear to have the features that
 *** GLib needs, but you specified --enable-trio=no.])
 fi