mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-30 17:30:07 +02:00
long_long_format is always ll for trio.
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com> * 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:
parent
68468ee1f7
commit
d852c710a0
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Thu Dec 12 20:46:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
2002-12-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
|
||||||
|
35
configure.in
35
configure.in
@ -701,24 +701,35 @@ AC_FUNC_PRINTF_UNIX98
|
|||||||
|
|
||||||
AC_ARG_ENABLE(included-printf, [ --enable-included-printf use included printf [default=auto]], enable_trio="$enableval")
|
AC_ARG_ENABLE(included-printf, [ --enable-included-printf use included printf [default=auto]], enable_trio="$enableval")
|
||||||
|
|
||||||
if test "$enable_trio" != "no" ; then
|
need_trio=no
|
||||||
if test "$ac_cv_func_vsnprintf_c99" != "yes" ; then
|
if test "x$enable_trio" != "xyes" ; then
|
||||||
enable_trio=yes
|
need_trio=yes
|
||||||
fi
|
|
||||||
if test "$ac_cv_func_printf_unix98" != "yes" ; then
|
|
||||||
enable_trio=yes
|
|
||||||
fi
|
|
||||||
if test "x$ac_cv_sizeof_long_long" = "x8" &&
|
|
||||||
test -z "$glib_cv_long_long_format"; then
|
|
||||||
enable_trio=yes
|
|
||||||
glib_cv_long_long_format="ll"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
if test "$ac_cv_func_vsnprintf_c99" != "yes" ; then
|
||||||
|
need_trio=yes
|
||||||
|
fi
|
||||||
|
if test "$ac_cv_func_printf_unix98" != "yes" ; then
|
||||||
|
need_trio=yes
|
||||||
|
fi
|
||||||
|
if test "x$ac_cv_sizeof_long_long" = "x8" &&
|
||||||
|
test -z "$glib_cv_long_long_format" ; then
|
||||||
|
need_trio=yes
|
||||||
|
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
|
||||||
|
*** GLib needs, but you specified --enable-trio=no.])
|
||||||
|
fi
|
||||||
|
|
||||||
|
enable_trio=$need_trio
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_GOOD_PRINTF, test "$enable_trio" != "yes")
|
AM_CONDITIONAL(HAVE_GOOD_PRINTF, test "$enable_trio" != "yes")
|
||||||
if test "$enable_trio" != "yes" ; then
|
if test "$enable_trio" != "yes" ; then
|
||||||
AC_DEFINE(HAVE_GOOD_PRINTF,1,[define to use system printf])
|
AC_DEFINE(HAVE_GOOD_PRINTF,1,[define to use system printf])
|
||||||
else
|
else
|
||||||
|
glib_cv_long_long_format="ll"
|
||||||
AC_DEFINE(HAVE_VASPRINTF,1)
|
AC_DEFINE(HAVE_VASPRINTF,1)
|
||||||
AC_DEFINE(HAVE_C99_VSNPRINTF,1)
|
AC_DEFINE(HAVE_C99_VSNPRINTF,1)
|
||||||
AC_DEFINE(HAVE_UNIX98_PRINTF,1)
|
AC_DEFINE(HAVE_UNIX98_PRINTF,1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user