aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2022-01-04 17:51:05 +0800
committerPo Lu2022-01-04 17:51:05 +0800
commit3e247bd34c9dcd6300140efe4534b1f3a7bdc776 (patch)
treeefdb340dd57f2dcbe8feb9e8468b08bc3da122e2
parent61b57ec6de41a0b63083b4c95a13b0e18e70ce90 (diff)
downloademacs-3e247bd34c9dcd6300140efe4534b1f3a7bdc776.tar.gz
emacs-3e247bd34c9dcd6300140efe4534b1f3a7bdc776.zip
; * configure.ac: Move some AC_SUBSTs to the correct location.
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 517a5b5ba5e..baf8c8018ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2280,6 +2280,7 @@ term_header=
2280HAVE_X_WINDOWS=no 2280HAVE_X_WINDOWS=no
2281HAVE_X11=no 2281HAVE_X11=no
2282USE_X_TOOLKIT=none 2282USE_X_TOOLKIT=none
2283HAVE_PGTK=no
2283 2284
2284case "${window_system}" in 2285case "${window_system}" in
2285 x11 ) 2286 x11 )
@@ -2318,12 +2319,12 @@ dnl use the toolkit if we have gtk, or X11R5 or newer.
2318 USE_X_TOOLKIT=none 2319 USE_X_TOOLKIT=none
2319 HAVE_PGTK=yes 2320 HAVE_PGTK=yes
2320 AC_DEFINE([HAVE_PGTK], 1, [Define to 1 if you have pure Gtk+-3.]) 2321 AC_DEFINE([HAVE_PGTK], 1, [Define to 1 if you have pure Gtk+-3.])
2321 AC_SUBST(HAVE_PGTK)
2322 ;; 2322 ;;
2323 haiku ) 2323 haiku )
2324 term_header=haikuterm.h 2324 term_header=haikuterm.h
2325 ;; 2325 ;;
2326esac 2326esac
2327AC_SUBST(HAVE_PGTK)
2327 2328
2328if test "$window_system" = none && test "X$with_x" != "Xno"; then 2329if test "$window_system" = none && test "X$with_x" != "Xno"; then
2329 AC_CHECK_PROG(HAVE_XSERVER, X, true, false) 2330 AC_CHECK_PROG(HAVE_XSERVER, X, true, false)
@@ -3009,7 +3010,6 @@ if test "${HAVE_X11}" = "yes" -o "${window_system}" = "pgtk" && test "${with_gse
3009 3010
3010 if test "$emacs_cv_gsettings_in_gio" = "yes"; then 3011 if test "$emacs_cv_gsettings_in_gio" = "yes"; then
3011 AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.]) 3012 AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.])
3012 AC_SUBST(HAVE_GSETTINGS)
3013 SETTINGS_CFLAGS="$GSETTINGS_CFLAGS" 3013 SETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
3014 SETTINGS_LIBS="$GSETTINGS_LIBS" 3014 SETTINGS_LIBS="$GSETTINGS_LIBS"
3015 test "$with_gconf" = "yes" || with_gconf=no 3015 test "$with_gconf" = "yes" || with_gconf=no
@@ -3018,6 +3018,7 @@ if test "${HAVE_X11}" = "yes" -o "${window_system}" = "pgtk" && test "${with_gse
3018 LIBS=$old_LIBS 3018 LIBS=$old_LIBS
3019 fi 3019 fi
3020fi 3020fi
3021AC_SUBST(HAVE_GSETTINGS)
3021 3022
3022dnl GConf has been tested under GNU/Linux only. 3023dnl GConf has been tested under GNU/Linux only.
3023dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6. 3024dnl The version is really arbitrary, it is about the same age as Gtk+ 2.6.