[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_LINK_IFELSE
From: |
Mattias Brändström |
Subject: |
Re: AC_LINK_IFELSE |
Date: |
Wed, 30 Jul 2003 10:23:16 +0200 (CEST) |
On Tue, 29 Jul 2003, Raja R Harinath wrote:
> I think 'address@hidden' is more appropriate than
> 'address@hidden'.
>
Yes, it is. A mistake on my part.
> I checked autoconf/lib/autoconf/c.m4, and it has
>
> ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
> conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
>
> and
>
> ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS
> conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
>
> in the appropriate places for C and C++. Can you check the value of
> $ac_link when your macro is run.
>
Another mistake on my part was to introduce typos into my macros, I have
now found and corrected them. LDFLAGS is indeed used as you would suspect
in AC_LINK_IFELSE.
:.:: mattias