Allow not setting glib_cv_long_long_format when cross-compiling since we

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.
This commit is contained in:
Owen Taylor 2002-12-13 02:09:48 +00:00 committed by Owen Taylor
parent d852c710a0
commit 3c50d7bd88
8 changed files with 33 additions and 4 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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