Hi autoconf developers,

I'm trying to build our project by autotools. When I was checking whether glib 
exists or not by the macro AC_CHECK_LIB, it always said no even if I have inst-
alled glib-2.0 in my computer, which has Linux Mint 13 installed.

The macro AC_CHECK_LIB in configure.ac:
AC_CHECK_LIB([glib-2.0])

Here's information of glib-2.0 in my system:
$ pkg-config --libs --cflags glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include  -lglib-2.0 

Can anybody tell me how to fix this and modify CFLAGS in the Makefile accordin-
gly?

Thanks in advance.


Reply via email to