# HG changeset patch # User Jan Dj¸«£rv # Date 1258818024 0 # Node ID b5eb529d273936f0feaf50a782446c7594954985 # Parent 9b6f45dd8386a9d320a1b55a9dd0e36325864787 * cus-start.el (all): Add native condition for font-use-system-font. * configure.in: Don't check for GConf unless X is used. diff -r 9b6f45dd8386 -r b5eb529d2739 ChangeLog --- a/ChangeLog Sat Nov 21 15:28:59 2009 +0000 +++ b/ChangeLog Sat Nov 21 15:40:24 2009 +0000 @@ -1,3 +1,7 @@ +2009-11-21 Jan DjƤrv + + * configure.in: Don't check for GConf unless X is used. + 2009-11-20 Dan Nicolaescu * configure.in: Use -Wdeclaration-after-statement if available. diff -r 9b6f45dd8386 -r b5eb529d2739 configure --- a/configure Sat Nov 21 15:28:59 2009 +0000 +++ b/configure Sat Nov 21 15:40:24 2009 +0000 @@ -12588,7 +12588,7 @@ fi HAVE_GCONF=no -if test "${with_gconf}" = "yes"; then +if test "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then succeeded=no diff -r 9b6f45dd8386 -r b5eb529d2739 configure.in --- a/configure.in Sat Nov 21 15:28:59 2009 +0000 +++ b/configure.in Sat Nov 21 15:40:24 2009 +0000 @@ -1756,7 +1756,7 @@ dnl GConf has been tested under GNU/Linux only. dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6. HAVE_GCONF=no -if test "${with_gconf}" = "yes"; then +if test "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.13, HAVE_GCONF=yes, HAVE_GCONF=no) if test "$HAVE_GCONF" = yes; then AC_DEFINE(HAVE_GCONF, 1, [Define to 1 if using GConf.]) diff -r 9b6f45dd8386 -r b5eb529d2739 lisp/ChangeLog --- a/lisp/ChangeLog Sat Nov 21 15:28:59 2009 +0000 +++ b/lisp/ChangeLog Sat Nov 21 15:40:24 2009 +0000 @@ -1,3 +1,7 @@ +2009-11-21 Jan DjƤrv + + * cus-start.el (all): Add native condition for font-use-system-font. + 2009-11-21 Nathaniel Flath * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A diff -r 9b6f45dd8386 -r b5eb529d2739 lisp/cus-start.el --- a/lisp/cus-start.el Sat Nov 21 15:28:59 2009 +0000 +++ b/lisp/cus-start.el Sat Nov 21 15:40:24 2009 +0000 @@ -397,6 +397,8 @@ (fboundp 'x-selection-exists-p)) ((string-match "fringe" (symbol-name symbol)) (fboundp 'define-fringe-bitmap)) + ((equal "font-use-system-font" (symbol-name symbol)) + (featurep 'system-font-setting)) (t t)))) (if (not (boundp symbol)) ;; If variables are removed from C code, give an error here!