]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac (BOBJECTLIST_OWNERSHIP_IS_TEMPLATE_PARAMETER): Correct test.
authorPo Lu <luangruo@yahoo.com>
Fri, 21 Feb 2025 05:29:40 +0000 (13:29 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Feb 2025 08:06:15 +0000 (09:06 +0100)
(cherry picked from commit f3212fa420c17710a160bc8e762e6e19871f10a3)

configure.ac

index f9f907119761a46f19003a3f4054c86bbc4133ed..a2f626d5ca3c5609e1019fbdf4edabfcc2d2fc99 100644 (file)
@@ -2961,7 +2961,7 @@ re-configure with the option '--without-be-app'.])])
                           static BObjectList<BStringItem, true> 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++])