aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2009-12-09 18:46:53 +0000
committerJan Djärv2009-12-09 18:46:53 +0000
commit62b7c42208db8999b22a2b1effabec3dcbc06e91 (patch)
tree718acf567d11c127dcca0313464758f4536c61c2
parentb87dd913736dae0e27ec6f569354aa7b60d4719c (diff)
downloademacs-62b7c42208db8999b22a2b1effabec3dcbc06e91.tar.gz
emacs-62b7c42208db8999b22a2b1effabec3dcbc06e91.zip
configure.in: Don't check for RSVG or GConf unless X11 is used.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d864a925b70..f33f84c64c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12009-12-09 Jan Djärv <jan.h.d@swipnet.se>
2
3 * configure.in: Don't check for RSVG or GConf unless X11 is used.
4
12009-12-09 Ken Brown <kbrown@cornell.edu> (tiny change) 52009-12-09 Ken Brown <kbrown@cornell.edu> (tiny change)
2 6
3 * configure.in: Allow compiling Emacs with GTK on Cygwin. 7 * configure.in: Allow compiling Emacs with GTK on Cygwin.
diff --git a/configure b/configure
index f3d46f1c06a..79dfe0fdbdf 100755
--- a/configure
+++ b/configure
@@ -11327,7 +11327,7 @@ fi
11327 11327
11328### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. 11328### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
11329HAVE_RSVG=no 11329HAVE_RSVG=no
11330if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then 11330if test "${HAVE_X11}" = "yes"; then
11331 if test "${with_rsvg}" != "no"; then 11331 if test "${with_rsvg}" != "no"; then
11332 RSVG_REQUIRED=2.11.0 11332 RSVG_REQUIRED=2.11.0
11333 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED" 11333 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED"
@@ -12588,7 +12588,7 @@ done
12588fi 12588fi
12589 12589
12590HAVE_GCONF=no 12590HAVE_GCONF=no
12591if test "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then 12591if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
12592 12592
12593 succeeded=no 12593 succeeded=no
12594 12594
diff --git a/configure.in b/configure.in
index 42cc66045ff..8320448d855 100644
--- a/configure.in
+++ b/configure.in
@@ -1610,7 +1610,7 @@ fi
1610 1610
1611### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. 1611### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
1612HAVE_RSVG=no 1612HAVE_RSVG=no
1613if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then 1613if test "${HAVE_X11}" = "yes"; then
1614 if test "${with_rsvg}" != "no"; then 1614 if test "${with_rsvg}" != "no"; then
1615 RSVG_REQUIRED=2.11.0 1615 RSVG_REQUIRED=2.11.0
1616 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED" 1616 RSVG_MODULE="librsvg-2.0 >= $RSVG_REQUIRED"
@@ -1756,7 +1756,7 @@ fi
1756dnl GConf has been tested under GNU/Linux only. 1756dnl GConf has been tested under GNU/Linux only.
1757dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6. 1757dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6.
1758HAVE_GCONF=no 1758HAVE_GCONF=no
1759if test "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then 1759if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
1760 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.13, HAVE_GCONF=yes, HAVE_GCONF=no) 1760 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.13, HAVE_GCONF=yes, HAVE_GCONF=no)
1761 if test "$HAVE_GCONF" = yes; then 1761 if test "$HAVE_GCONF" = yes; then
1762 AC_DEFINE(HAVE_GCONF, 1, [Define to 1 if using GConf.]) 1762 AC_DEFINE(HAVE_GCONF, 1, [Define to 1 if using GConf.])