bug-autoconf
[Top][All Lists]
Advanced

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

AC_LINK_IFELSE does not quote properly


From: Roland Illig
Subject: AC_LINK_IFELSE does not quote properly
Date: Fri, 22 Jul 2005 23:55:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.7.6) Gecko/20050319

I'm using autoconf-2.59.

AC_LINK_IFELSE([
int main(int argc, char **argv)
{
        return argv[0][0];
}])

does not work because of an undeclared identifier argv00.

in the configure file, there's already:

int main(int argc, char **argv)
{
        return argv00;
}

Using the (deprecated) AC_TRY_LINK instead of AC_LINK_IFELSE works fine.

Please CC me, as I'm not subscribed.

Roland




reply via email to

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