0.10.6 doesn't build on Solaris 2.5.1 with the Sun C compiler against
Glib 2.4.x (and probably any 2.x version). Because the Sun C compiler
does not have ISO or GNU varargs nor does it have <inttypes.h>,
#include <glib.h> brings in <glib/gmessages.h> which has:
...
#else /* no varargs macros */
static void
g_error (const gchar *format,
...)
{
va_list args;
va_start (args, format);
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
va_end (args);
}
...
So, when AC_ETHEREAL_CHECK_64BIT_FORMAT is run, it will fail because
we #include <glib.h> but don't -lglib. Patch below to include only
<glibconfig.h> which has the definition for guint64. Kinda hacky if
you ask me but I cannot think of a way to fix glib.
--
albert chin (china@xxxxxxxxxxxxxxxxxx)
-- snip snip
--- acinclude.m4.orig Mon Oct 11 06:02:18 2004
+++ acinclude.m4 Mon Oct 11 09:59:17 2004
@@ -106,7 +101,7 @@
# ifdef HAVE_INTTYPES_H
#include <inttypes.h>
# endif
- #include <glib.h>
+ #include <glibconfig.h>
#include <stdio.h>
#include <sys/types.h>