]> git.lyx.org Git - lyx.git/commitdiff
Copy-paste error in spell.m4.
authorPavel Sanda <sanda@lyx.org>
Mon, 14 Aug 2023 20:26:20 +0000 (22:26 +0200)
committerPavel Sanda <sanda@lyx.org>
Mon, 14 Aug 2023 20:26:20 +0000 (22:26 +0200)
Reported by Nusret Balci.

config/spell.m4

index f291670437730df64471e9aaa0c0bdbae7a4db34..988f5ea89b321fe677551d27496cfe2e0654afa6 100644 (file)
@@ -61,7 +61,7 @@ AC_DEFUN([LYX_HAVE_HUNSPELL_CXXABI],
 [
   AC_MSG_CHECKING([whether hunspell C++ (rather than C) ABI is provided])
   save_CXXFLAGS=$CXXFLAGS
-  CXXFLAGS="$ENCHANT_CFLAGS $AM_CXXFLAGS $CXXFLAGS"
+  CXXFLAGS="$HUNSPELL_CFLAGS $AM_CXXFLAGS $CXXFLAGS"
 
 # in the C++ ABI, stem() returns a vector, in the C ABI, it returns an int
   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <hunspell/hunspell.hxx>]], [[Hunspell sp("foo", "bar");