Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37704380
en ru br
Репозитории ALT
S:46.1-alt1
5.1: 2.26.3-alt1
4.1: 2.22.3-alt0.M41.2
4.0: 2.16.2-alt1
3.0: 2.10.3-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:2.22.0

Группа :: Редакторы
Пакет: gedit

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gedit-2.13.91-alt-aspell-configure.patch
Скачать


--- configure.ac	2006-02-13 22:53:00 +0300
+++ configure.ac.new	2006-02-25 14:48:00 +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)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin