diff options
author | hasufell <julian.ospald@googlemail.com> | 2013-03-31 16:52:20 +0200 |
---|---|---|
committer | hasufell <julian.ospald@googlemail.com> | 2013-03-31 16:52:20 +0200 |
commit | 477bbbb340544548a4d33a8f207a247f52660e45 (patch) | |
tree | 7e66465a8cbbacde0586a454b3adc5f89facdac9 | |
parent | 212adf63ce136182524ee425293957345743cede (diff) |
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.
-rw-r--r-- | configure.ac | 7 |
1 files 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 ************************************************************** |