Commit 0b2a894b authored by Pekka Pessi's avatar Pekka Pessi

Do not use glib upon --without-glib-dir or --without-glib in configure.

darcs-hash:20060303152300-65a35-87b30622af5ca618b7e00dfbbeab91c380e53b1d.gz
parent 6fe948ea
......@@ -271,13 +271,13 @@ AC_ARG_WITH(glib-dir,
[ --with-glib-dir=PREFIX explicitly define GLib path],,
with_glib_dir="pkg-config")
if test "$with_glib_dir" = "pkg-config" ; then
if test "$with_glib" = no || test "$with_glib_dir" = "no" ; then
PKG_CHECK_MODULES(GLIB, glib-$with_glib, [HAVE_GLIB=yes])
: # No glib
elif test "$with_glib_dir" = "no" ; then
elif test "$with_glib_dir" = "pkg-config" ; then
: # No glib
PKG_CHECK_MODULES(GLIB, glib-$with_glib, [HAVE_GLIB=yes])
else # GLib path is explicitly defined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment