|
From: | Patrick Hartling |
Subject: | Re: Bad configure scripts generated with Autoconf 2.52 and 2.53 |
Date: | Fri, 05 Apr 2002 17:41:50 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020326 |
Peter Eisentraut wrote:
Patrick Hartling writes:autoupdate is interesting, but I don't necessarily want to require the use of versions >=2.50 just yet.Well, you can't have it both ways.
So I can't have a configure.in that works with 2.13 and 2.5x? I don't plan on using any of the 2.5x-specific macros until we are ready to commit to 2.5x exclusively.
Even so, running autoupdate and adding []'s liberally does not fix the syntax errors in the generated 'configure'. I've attached the resulting configure.in.Quoting the arguments correctly and inserting the missing second argument of AC_CHECK_LIB makes it work for me: AC_INIT AC_CONFIG_SRCDIR([.]) AC_PROG_CC AC_CHECK_LIB([m], [main], [AC_CHECK_HEADER([math.h], [echo "Hello"], [AC_MSG_ERROR([*** Header not found (oops) ***])])])
Oops, I forgot that second argument... I made that example a little too quickly. I'll give this a try. Thanks.
-Patrick -- Patrick L. Hartling | Research Assistant, VRAC address@hidden | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
[Prev in Thread] | Current Thread | [Next in Thread] |