[EMAIL PROTECTED] (Bob Proulx) writes:
> Edward L Platt wrote:
>> Peter O'Gorman wrote:
>> >Probably like this instead:
>> >./configure CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib"
>>
>> Thanks for the help everybody. It looks like the problem I was
>> really having was that I'm compiling for o
Is there a way to force "$ac_link" to use a "-c" before the source
file when doing AC_CHECK_LIB?
The cell compiler doesn't like:
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
but it works with:
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LD
Hello,
> Is there a way to force "$ac_link" to use a "-c" before the source
> file when doing AC_CHECK_LIB?
...
> ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS -c
> conftest.$ac_ext $LIBS >&5'
a quick hack: wouldn't
./configure LDFLAGS=-c
solve your problem?
(Or perhaps
On Thu, Jul 13, 2006 at 09:29:57AM -0600, Ed Hartnett wrote:
> [EMAIL PROTECTED] (Bob Proulx) writes:
>
> > Edward L Platt wrote:
> >> Peter O'Gorman wrote:
> >> >Probably like this instead:
> >> >./configure CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib"
> >>
> >> Thanks for the help everybody. It
"Ben Bergen" <[EMAIL PROTECTED]> writes:
> Is there a way to force "$ac_link" to use a "-c" before the source
> file when doing AC_CHECK_LIB?
Why would you do that? It subverts the whole point of ac_link.
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfe
I have an application that depends on gtkhtml-2.0, which seems to be in a
diferent location in almost every linux or BSD distribution.
Currently I have:-
INCLUDES = -I/usr/include/gtkhtml-2.0
in Makefile.am and
AC_CHECK_LIB([gtkhtml-2], [html_document_open_stream],, [AC_MSG_ERROR([BUMMER,
Mayb