automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with AC_LINK_IFELSE and library order


From: Francesco Montorsi
Subject: Re: Problem with AC_LINK_IFELSE and library order
Date: Sat, 22 Oct 2005 16:14:11 +0200
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Hi,
   I've solved my problem ;)

I finally found that I was using

LDFLAGS="$LDFLAGS -ltotest"
AC_LINK_IFELSE([
                AC_LANG_PROGRAM([#include <wx/url.h>],
                                [wxURL u(wxT("http://www.google.it";));])
                            ],
                            [WXURL_PRESENCE=1], [WXURL_PRESENCE=0])


instead of

LIBS="$LIBS -ltotest"
AC_LINK_IFELSE([
                AC_LANG_PROGRAM([#include <wx/url.h>],
                                [wxURL u(wxT("http://www.google.it";));])
                            ],
                            [WXURL_PRESENCE=1], [WXURL_PRESENCE=0])

Using LIBS instead of LDFLAGS solved the problem !

Francesco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]