bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_HEADER and _LIB weirdness


From: Paul Eggert
Subject: Re: AC_CHECK_HEADER and _LIB weirdness
Date: Mon, 13 May 2002 00:35:34 -0700 (PDT)

> From: Josef Spillner <address@hidden>
> Date: Mon, 13 May 2002 07:46:06 +0200
> > Also, the 'configure' that I get does not have 2790 lines;
> > it has only 2684 lines.
> 
> Can you please send me yours in private? Mine is at 
> http://mindx.dyndns.org/download/configure, and has 2830 lines. A diff should 
> show some differences.

Yes, you're using autoconf 2.53b, whereas I was using autoconf 2.53.
The difference is irrelevant here.

The problem is that you're not quoting the arguments of your macros
correctly.  This issue is discussed at length in the Autoconf
documentation.  Your macros should look something like this:

AC_CHECK_LIB(popt, poptGetNextOpt,
        [AC_CHECK_HEADER(popt.h,
                foo=1,
                [AC_MSG_ERROR(*** Cannot find popt.h header); exit])],
        [AC_MSG_ERROR(*** Cannot find popt library); exit])

but you're misssing the square brackets.



reply via email to

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