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

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

parent 6fe948ea
......@@ -271,13 +271,13 @@ AC_ARG_WITH(glib-dir,
[ --with-glib-dir=PREFIX explicitly define GLib path],,
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