]> git.lyx.org Git - lyx.git/blobdiff - config/pspell.m4
Unsigned/signed.
[lyx.git] / config / pspell.m4
index 12e7623076472c3152f0de1fb3d5784f9ec9fd4c..d45097f0fd8e0e6aaf68f9ae472c2f44bfdcfca7 100644 (file)
@@ -1,4 +1,4 @@
-# Macro to add for using pspell spellchecker libraries!
+# Macro to add for using pspell spellchecker libraries!     -*- sh -*-
 # @author@: Jürgen Vigna
 
 AC_DEFUN(CHECK_WITH_PSPELL,
@@ -43,12 +43,13 @@ AC_DEFUN(CHECK_WITH_PSPELL,
     fi
 
     if test "$USE_PSPELL" = "yes"; then
-      AC_DEFINE(USE_PSPELL)
+      AC_DEFINE(USE_PSPELL, 1, [Define as 1 to use the pspell library])
       PSPELL_INCLUDES="-I$pspell_use_include"
       PSPELL_LIBS="-L$pspell_use_lib -lpspell"
       USE_PSPELL="yes ($pspell_use_include $pspell_use_lib)"
       AC_SUBST(PSPELL_INCLUDES)
       AC_SUBST(PSPELL_LIBS)
+      lyx_flags="$lyx_flags use-pspell"
     fi
     AC_MSG_RESULT($USE_PSPELL)
   ])