From 3e247bd34c9dcd6300140efe4534b1f3a7bdc776 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 4 Jan 2022 17:51:05 +0800 Subject: [PATCH] ; * configure.ac: Move some AC_SUBSTs to the correct location. --- configure.ac | 5 +++-- 1 file 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= HAVE_X_WINDOWS=no HAVE_X11=no USE_X_TOOLKIT=none +HAVE_PGTK=no case "${window_system}" in x11 ) @@ -2318,12 +2319,12 @@ dnl use the toolkit if we have gtk, or X11R5 or newer. USE_X_TOOLKIT=none HAVE_PGTK=yes AC_DEFINE([HAVE_PGTK], 1, [Define to 1 if you have pure Gtk+-3.]) - AC_SUBST(HAVE_PGTK) ;; haiku ) term_header=haikuterm.h ;; esac +AC_SUBST(HAVE_PGTK) if test "$window_system" = none && test "X$with_x" != "Xno"; then AC_CHECK_PROG(HAVE_XSERVER, X, true, false) @@ -3009,7 +3010,6 @@ if test "${HAVE_X11}" = "yes" -o "${window_system}" = "pgtk" && test "${with_gse if test "$emacs_cv_gsettings_in_gio" = "yes"; then AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.]) - AC_SUBST(HAVE_GSETTINGS) SETTINGS_CFLAGS="$GSETTINGS_CFLAGS" SETTINGS_LIBS="$GSETTINGS_LIBS" test "$with_gconf" = "yes" || with_gconf=no @@ -3018,6 +3018,7 @@ if test "${HAVE_X11}" = "yes" -o "${window_system}" = "pgtk" && test "${with_gse LIBS=$old_LIBS fi fi +AC_SUBST(HAVE_GSETTINGS) 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. -- 2.39.2