Group :: Editors
RPM: gedit
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: gedit-2.5.3-alt-aspell-configure.patch
Download
Download
--- gedit-2.5.3/configure.in 2004-02-02 07:11:43 +0300
+++ gedit-2.5.3/configure.in.aspell 2004-02-02 07:16:02 +0300
@@ -37,29 +37,14 @@
dnl pspell checks
dnl ******************
-AC_MSG_CHECKING([for aspell/pspell])
-if pspell-config version > /dev/null 2>&1; then
- pspell_ver=`pspell-config version`
- pspell_num=`echo ${pspell_ver} | awk 'BEGIN {FS="."}{printf $1*10000 + $2*100 + $3;}'`
- if test ${pspell_num} -lt 1200; then
- AC_MSG_RESULT([pspell version .12 or later required, you have ${pspell_ver} installed])
- else
- AC_MSG_RESULT([found ($pspell_ver)])
-
- AC_CHECK_HEADER(pspell/pspell.h,
- [AC_CHECK_LIB(aspell, new_aspell_speller,
- [PSPELL_LIBS="-laspell" SPELL_PLUGIN_DIR="spell" AC_SUBST(SPELL_PLUGIN_DIR)],
- [AC_CHECK_LIB(pspell, new_pspell_manager,
- [PSPELL_LIBS="-lpspell" SPELL_PLUGIN_DIR="spell" AC_SUBST(SPELL_PLUGIN_DIR)],
- [AC_MSG_WARN([You must have the aspell or pspell dev packages to build the spell plugin.])]
- )]
- )],
- [AC_MSG_WARN([You must have the aspell or pspell dev packages to build the spell plugin.])]
- )
- fi
-else
- AC_MSG_RESULT([not found])
-fi
+AC_MSG_CHECKING([for aspell])
+AC_CHECK_HEADER(aspell.h,
+ [AC_CHECK_LIB(aspell, new_aspell_speller,
+ [PSPELL_LIBS="-laspell" SPELL_PLUGIN_DIR="spell" AC_SUBST(SPELL_PLUGIN_DIR)],
+ [AC_MSG_WARN([You must have the aspell devel libraries to build the spell plugin.])]
+ )],
+ [AC_MSG_WARN([You must have the aspell devel libraries to build the spell plugin.])]
+)
AC_SUBST(PSPELL_LIBS)
AC_SUBST(CFLAGS)