Checking for libglade twice?
Derek Atkins
warlord@MIT.EDU
28 Oct 2001 18:20:17 -0500
Dave Peticolas <dave@krondo.com> writes:
> I'm not finding this extra check. Where in configure.in?
See below
-derek
### --------------------------------------------------------------------------
### Check for glade
GLADE_LIBS=`$GNOME_CONFIG --libs libglade gnomeui`
GLADE_CFLAGS=`$GNOME_CONFIG --cflags libglade`
# check for glade libs
AC_CHECK_LIB(glade, glade_init,
GNOMEBUILDLIBS="${GNOMEBUILDLIBS} glade",
AC_MSG_ERROR([Cannot find libglade. See the README and config.log f
or more info.]),
$GLADE_LIBS)
# Make sure glade was found
#if test x"$GLADE" = x; then
# AC_MSG_ERROR([Cannot find Glade.])
#fi
AC_SUBST(GLADE)
----[snip]-----
AC_CHECK_LIB(oaf, main, true,
[AC_MSG_ERROR([liboaf development files not found. See config.log.])],
`$GNOME_CONFIG --libs oaf`)
AC_CHECK_LIB(glade, main, true,
[AC_MSG_ERROR([libglade development files not found. Guppi requires them.])]
,
`$GNOME_CONFIG --libs libglade`)
## guppi itself.
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available