diff options
| author | Jan Djärv | 2009-12-09 18:46:53 +0000 |
|---|---|---|
| committer | Jan Djärv | 2009-12-09 18:46:53 +0000 |
| commit | 62b7c42208db8999b22a2b1effabec3dcbc06e91 (patch) | |
| tree | 718acf567d11c127dcca0313464758f4536c61c2 | |
| parent | b87dd913736dae0e27ec6f569354aa7b60d4719c (diff) | |
| download | emacs-62b7c42208db8999b22a2b1effabec3dcbc06e91.tar.gz emacs-62b7c42208db8999b22a2b1effabec3dcbc06e91.zip | |
configure.in: Don't check for RSVG or GConf unless X11 is used.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | configure | 4 | ||||
| -rw-r--r-- | configure.in | 4 |
3 files changed, 8 insertions, 4 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2009-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 | |||
| 1 | 2009-12-09 Ken Brown <kbrown@cornell.edu> (tiny change) | 5 | 2009-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. |
| @@ -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. |
| 11329 | HAVE_RSVG=no | 11329 | HAVE_RSVG=no |
| 11330 | if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then | 11330 | if 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 | |||
| 12588 | fi | 12588 | fi |
| 12589 | 12589 | ||
| 12590 | HAVE_GCONF=no | 12590 | HAVE_GCONF=no |
| 12591 | if test "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then | 12591 | if 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. |
| 1612 | HAVE_RSVG=no | 1612 | HAVE_RSVG=no |
| 1613 | if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes"; then | 1613 | if 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 | |||
| 1756 | dnl GConf has been tested under GNU/Linux only. | 1756 | dnl GConf has been tested under GNU/Linux only. |
| 1757 | dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6. | 1757 | dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6. |
| 1758 | HAVE_GCONF=no | 1758 | HAVE_GCONF=no |
| 1759 | if test "X$with_x" != "Xno" && test "${with_gconf}" = "yes"; then | 1759 | if 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.]) |