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.
This commit is contained in:
hasufell 2013-03-31 16:52:20 +02:00
parent 212adf63ce
commit 477bbbb340
1 changed files with 5 additions and 2 deletions

View File

@ -223,7 +223,6 @@ dnl *********************************************************************
GUI_LIBS="$GUI_LIBS $GTK_LIBS" GUI_LIBS="$GUI_LIBS $GTK_LIBS"
GUI_CFLAGS="$GUI_CFLAGS $GTK_CFLAGS" GUI_CFLAGS="$GUI_CFLAGS $GTK_CFLAGS"
gnome=no
#if test "$gnome" = yes; then #if test "$gnome" = yes; then
# AC_PATH_PROG(pkgconfigpath, pkg-config) # AC_PATH_PROG(pkgconfigpath, pkg-config)
# AC_MSG_CHECKING(Gnome2 compile flags) # AC_MSG_CHECKING(Gnome2 compile flags)
@ -241,7 +240,11 @@ gnome=no
#fi #fi
# GConf # 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 *********************************************************************
dnl ** XFT ************************************************************** dnl ** XFT **************************************************************