mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-10-08 00:04:35 -04:00
Check for --disable-gnome arg.
* configure.in: Check for --disable-gnome arg.
This commit is contained in:
parent
c9197e4632
commit
ddeae654c8
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
17
configure.in
17
configure.in
@ -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 ================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user