diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2009-12-09 18:46:53 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2009-12-09 18:46:53 +0000 |
commit | 62b7c42208db8999b22a2b1effabec3dcbc06e91 (patch) | |
tree | 718acf567d11c127dcca0313464758f4536c61c2 /configure.in | |
parent | b87dd913736dae0e27ec6f569354aa7b60d4719c (diff) | |
download | emacs-62b7c42208db8999b22a2b1effabec3dcbc06e91.tar.gz |
configure.in: Don't check for RSVG or GConf unless X11 is used.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 42cc66045ff..8320448d855 100644 --- a/configure.in +++ b/configure.in @@ -1610,7 +1610,7 @@ fi ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. HAVE_RSVG=no -if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then +if test "${HAVE_X11}" = "yes"; then if test "${with_rsvg}" != "no"; then RSVG_REQUIRED=2.11.0 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED" @@ -1756,7 +1756,7 @@ fi 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 "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then +if test "${HAVE_X11}" = "yes" && 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.]) |