diff options
Diffstat (limited to 'kjs/configure.in.in')
-rw-r--r-- | kjs/configure.in.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kjs/configure.in.in b/kjs/configure.in.in index 1ffa6cedd..fd23612e0 100644 --- a/kjs/configure.in.in +++ b/kjs/configure.in.in @@ -52,10 +52,10 @@ AC_DEFUN([AC_CHECK_PCREPOSIX], KDE_FIND_PATH(pcre-config, PCRE_CONFIG, [${exec_prefix}/bin ${prefix}/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-posix | sed -e "s,-L/usr/lib ,," -e "s,[\b-].\+pcreposix[^[:space:]]*\b,,"` PCRECFLAGS=`$PCRE_CONFIG --cflags` else - LIBPCRE="-lpcre -lpcreposix" + LIBPCRE="-lpcre" PCRECFLAGS= fi AC_CACHE_VAL(ac_cv_have_pcreposix, [ |