From 477bbbb340544548a4d33a8f207a247f52660e45 Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 31 Mar 2013 16:52:20 +0200 Subject: CONFIGURE: don't enable gconf schemas when gtk is disabled This is nitpicky, since we could assume the user wants gconf schema if gconftool-2 is available. However this can be a wrong assumption. --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 62cb9292..74c4394e 100644 --- a/configure.ac +++ b/configure.ac @@ -223,7 +223,6 @@ dnl ********************************************************************* GUI_LIBS="$GUI_LIBS $GTK_LIBS" GUI_CFLAGS="$GUI_CFLAGS $GTK_CFLAGS" -gnome=no #if test "$gnome" = yes; then # AC_PATH_PROG(pkgconfigpath, pkg-config) # AC_MSG_CHECKING(Gnome2 compile flags) @@ -241,7 +240,11 @@ gnome=no #fi # GConf -AC_PATH_PROG(GCONFTOOL, gconftool-2, no) +if test "$gnome" != no ; then + AC_PATH_PROG(GCONFTOOL, gconftool-2, no) +else + GCONFTOOL=no +fi dnl ********************************************************************* dnl ** XFT ************************************************************** -- cgit 1.4.1