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

List:       kde-core-devel
Subject:    Re: Autoconf: Checking for Qt
From:       Alex Zepeda <jazepeda () pacbell ! net>
Date:       2000-04-02 23:05:22
[Download RAW message or body]

>On Sun, 2 Apr 2000, David Faure wrote:
>
>> > Imho it is much better to look up a uniq function in each lib and therefor
>> > avoid the need for heuristics.
>> >
>> > something like
>> >
>> > AC_CHECK_LIB(/path/libqt, uniq-function, -L/path/qt )
>>
>> And how do you know the paths if QTDIR is not set ?
>
>Alternativly to checking for an arbitrary number of paths via AC_CHECK_LIB
>you may choose AC_SEARCH_LIBS instead.
>
>AC_SEARCH_LIBS (function, search-libs [, action-if-found
>[,action-if-not-found [, other-libraries]]])


Perhaps we should check $LD_LIBRARY_PATH and/or $LIBRARY_PATH when GNU
utils (compiler/linker) are detected.  This would perhaps allow some more
paths to be automagically detected.

- alex

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

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