diff options
| author | Lars Magne Ingebrigtsen | 2011-06-30 16:32:07 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-06-30 16:32:07 +0200 |
| commit | 2e6e11eb3a837d09ac4faa69deb1ba9ba2a98792 (patch) | |
| tree | 6c998f5ee37bf463a7a9f0dcf3ccd71742c234b4 | |
| parent | 936d08bba7cdc8c3a28d7ad716e82a00555fccef (diff) | |
| download | emacs-2e6e11eb3a837d09ac4faa69deb1ba9ba2a98792.tar.gz emacs-2e6e11eb3a837d09ac4faa69deb1ba9ba2a98792.zip | |
* configure.in (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests, which made ./configure infloop.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.in | 6 |
2 files changed, 8 insertions, 3 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * configure.in (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests, | ||
| 4 | which made ./configure infloop. | ||
| 5 | |||
| 1 | 2011-06-30 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2011-06-30 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * configure.in (gsettings): New option and check for GSettings. | 8 | * configure.in (gsettings): New option and check for GSettings. |
diff --git a/configure.in b/configure.in index ee091f3e2bc..92fd6847d53 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1986,7 +1986,7 @@ dnl GSettings has been tested under GNU/Linux only. | |||
| 1986 | HAVE_GSETTINGS=no | 1986 | HAVE_GSETTINGS=no |
| 1987 | if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then | 1987 | if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then |
| 1988 | PKG_CHECK_MODULES(GSETTINGS, glib-2.0 >= 2.26, HAVE_GSETTINGS=yes, HAVE_GSETTINGS=no) | 1988 | PKG_CHECK_MODULES(GSETTINGS, glib-2.0 >= 2.26, HAVE_GSETTINGS=yes, HAVE_GSETTINGS=no) |
| 1989 | if test "$HAVE_GSETTINGS" = yes; then | 1989 | if test "$HAVE_GSETTINGS" = "yes"; then |
| 1990 | AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.]) | 1990 | AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.]) |
| 1991 | SETTINGS_CFLAGS="$GSETTINGS_CFLAGS" | 1991 | SETTINGS_CFLAGS="$GSETTINGS_CFLAGS" |
| 1992 | SETTINGS_LIBS="$GSETTINGS_LIBS" | 1992 | SETTINGS_LIBS="$GSETTINGS_LIBS" |
| @@ -1996,7 +1996,7 @@ fi | |||
| 1996 | dnl GConf has been tested under GNU/Linux only. | 1996 | dnl GConf has been tested under GNU/Linux only. |
| 1997 | dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6. | 1997 | dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6. |
| 1998 | HAVE_GCONF=no | 1998 | HAVE_GCONF=no |
| 1999 | if test "${HAVE_GSETTINGS}" = "no" && "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then | 1999 | if test "${HAVE_GSETTINGS}" = "no" && test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then |
| 2000 | PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.13, HAVE_GCONF=yes, HAVE_GCONF=no) | 2000 | PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.13, HAVE_GCONF=yes, HAVE_GCONF=no) |
| 2001 | if test "$HAVE_GCONF" = yes; then | 2001 | if test "$HAVE_GCONF" = yes; then |
| 2002 | AC_DEFINE(HAVE_GCONF, 1, [Define to 1 if using GConf.]) | 2002 | AC_DEFINE(HAVE_GCONF, 1, [Define to 1 if using GConf.]) |
| @@ -2006,7 +2006,7 @@ if test "${HAVE_GSETTINGS}" = "no" && "${HAVE_X11}" = "yes" && test "${with_gcon | |||
| 2006 | fi | 2006 | fi |
| 2007 | fi | 2007 | fi |
| 2008 | 2008 | ||
| 2009 | if test "$HAVE_GSETTINGS" = "yes" || "$HAVE_GCONF" = yes; then | 2009 | if test "$HAVE_GSETTINGS" = "yes" || test "$HAVE_GCONF" = "yes"; then |
| 2010 | SAVE_CFLAGS="$CFLAGS" | 2010 | SAVE_CFLAGS="$CFLAGS" |
| 2011 | SAVE_LDFLAGS="$LDFLAGS" | 2011 | SAVE_LDFLAGS="$LDFLAGS" |
| 2012 | CFLAGS="$SETTINGS_CFLAGS $CFLAGS" | 2012 | CFLAGS="$SETTINGS_CFLAGS $CFLAGS" |