[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: libpcre not detected in kdelibs configure ...
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-04-07 15:07:11
[Download RAW message or body]

On Saturday 07 April 2001 15:35, The Hermit Hacker wrote:
> Don't know if this is the right way to do it, but you need to get
> $all_libraries in there somehow as well:
> 
> *** kjs/configure.in.in.orig    Mon Mar 19 23:45:57 2001
> --- kjs/configure.in.in Sat Apr  7 11:29:55 2001
> ***************
> *** 17,23 ****
>     AC_CACHE_VAL(ac_cv_have_pcreposix,
>     [
>       ac_save_libs="$LIBS"
> !     LIBS="-lpcre -lpcreposix"
>       AC_TRY_LINK(
>         [#include <pcreposix.h>],
>         [regfree(0);],
> --- 17,25 ----
>     AC_CACHE_VAL(ac_cv_have_pcreposix,
>     [
>       ac_save_libs="$LIBS"
> !     LIBS="$all_libraries -lpcre -lpcreposix"

Ah ok. That should be done in LDFLAGS though.
Can you do the same with an ac_LDFLAGS_save and changing LDFLAGS ?
Then I could apply it - I can't test it :)

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic