how to modify configure.in to check for libglade
hi all,
i'm trying to make a debian package for xmleditor, but
./configure fails when it check for header glade.h,
since glade.h is in /usr/local/libglade-1.0/glade NOT
/usr/local/glade.
it was pointed out to me that i should use the output
of 'gnome-config --cflags libglade', which gives the
correct path, to test for the availability of glade.h.
below is the output of gnome config:
yakko:$ gnome-config --cflags libglade
-I/usr/include/libglade-1.0 -I/usr/include/gnome-xml
the question is how do i modify configure.in to run
gnome-config first and then check for glade.h?
currently configure.in has the check:
AC_CHECK_HEADER( glade/glade.h,, \
AC_MSG_ERROR(glade/glade.h not found.)
thanks
patrick
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
Reply to: