From: Po Lu Date: Fri, 21 Feb 2025 05:29:40 +0000 (+0800) Subject: * configure.ac (BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER): Correct test. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d473167bc2022bc350bc50c6583534b9e4033fa;p=emacs.git * configure.ac (BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER): Correct test. (cherry picked from commit f3212fa420c17710a160bc8e762e6e19871f10a3) --- diff --git a/configure.ac b/configure.ac index f9f90711976..a2f626d5ca3 100644 --- a/configure.ac +++ b/configure.ac @@ -2961,7 +2961,7 @@ re-configure with the option '--without-be-app'.])]) static BObjectList test;]], [])], [emacs_cv_bobjectlist_ownership_is_template_parameter=yes], [emacs_cv_bobjectlist_ownership_is_template_parameter=no])]) - AS_IF([test "x$emacs_cv_bobjectlist_ownership_is_template_parameter"], + AS_IF([test "x$emacs_cv_bobjectlist_ownership_is_template_parameter" = "xyes"], [AC_DEFINE([BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER], [1], [Define to 1 if BObjectList ownership is defined as a template parameter.])]) AC_LANG_POP([C++])