Группа :: Графические оболочки/KDE
Пакет: kdelibs
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: kdelibs-3.2.2-pcre.patch
--- kdelibs-3.2.2/kjs/configure.in.in~ 2004-04-15 16:21:36 +0400
+++ kdelibs-3.2.2/kjs/configure.in.in 2004-04-15 16:21:55 +0400
@@ -1596,10 +1596,10 @@
KDE_FIND_PATH(pcre-config, PCRE_CONFIG, [${prefix}/bin /usr/local/bin /opt/local/bin], [PCRE_CONFIG="" ])
if test -n "$PCRE_CONFIG" && $PCRE_CONFIG --libs >/dev/null 2>&1; then
- LIBPCRE=`$PCRE_CONFIG --libs-posix | sed -e "s,-L/usr/lib ,,"`
+ LIBPCRE=`$PCRE_CONFIG --libs | sed -e "s,-L/usr/lib ,,"`
PCRECFLAGS=`$PCRE_CONFIG --cflags`
else
- LIBPCRE="-lpcre -lpcreposix"
+ LIBPCRE="-lpcre"
PCRECFLAGS=
fi
AC_CACHE_VAL(ac_cv_have_pcreposix, [
@@ -1610,7 +1610,7 @@
ac_LDFLAGS_save="$LDFLAGS"
LDFLAGS="$LDFLAGS $all_libraries"
AC_TRY_LINK(
- [#include <pcreposix.h>],
+ [#include <pcre.h>],
[regfree(0);],
[ac_cv_have_pcreposix="yes"],
[ac_cv_have_pcreposix="no"]