Ethereal-dev: Re: [ethereal-dev] Question about

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Fri, 23 Jun 2000 09:56:56 -0500
On Fri, Jun 23, 2000 at 02:37:28PM +0200, andreas.sikkema@xxxxxxxxxxx wrote:
> 
> The following lines appear in wiretap/configure.in :
> 
> if test "x$GLIB_CFLAGS" = x ; then
>  AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS",
>                     AC_MSG_ERROR(GTK+ library not found.))
>  AC_DEFINE(HAVE_GLIB10)
> fi
> 
> autoheader complains about this during autogen.sh and make:
> [mini_ptlib]$ make
> cd . && autoheader
> /usr/bin/autoheader: Symbol `HAVE_GLIB10' is not covered by /usr/share/autoconf/acconfig.h
> make: *** [stamp-h.in] Error 1
> 
> Where is this symbol defined? Everything compiles, but what should be the 
> result of this line?

We have this in wiretap/acconfig.h

Before glib 1.2, glib itself had no separate test; it was coupled with
GTK+. That's why we test for GTK 1.0 in this particular case. Wiretap
needs glib, but not gtk+. 

--gilbert