Commit ddeae654 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

Check for --disable-gnome arg.


	* configure.in: Check for --disable-gnome arg.
parent c9197e46
2006-07-06 Tristan Van Berkom <tvb@gnome.org>
* configure.in: Check for --disable-gnome arg.
2006-07-05 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* src/glade-builtins.[ch]: fixed bug 343712
......
......@@ -62,10 +62,19 @@ AC_SUBST(GTK_CFLAGS)
dnl ================================================================
dnl Check for optional gnome libs
dnl ================================================================
PKG_CHECK_MODULES(GNOME, libbonoboui-2.0 libgnomeui-2.0,
[have_gnome=yes],[have_gnome=no])
AC_SUBST(GNOME_LIBS)
AC_SUBST(GNOME_CFLAGS)
AC_ARG_ENABLE(gnome,
[ --disable-gnome disable gnome catalog],
check_gnome=$enableval, check_gnome=yes)
if test x"$check_gnome" = x"yes"; then
PKG_CHECK_MODULES(GNOME, libbonoboui-2.0 libgnomeui-2.0,
[have_gnome=yes],[have_gnome=no])
AC_SUBST(GNOME_LIBS)
AC_SUBST(GNOME_CFLAGS)
else
have_gnome=no
fi
AM_CONDITIONAL(BUILD_GNOME, test x"$have_gnome" = "xyes")
dnl ================================================================
......
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