Re: Dual Language Question

2003-10-29 Thread John Levon
On Wed, Oct 29, 2003 at 10:32:39AM -0500, Lance Westerhoff wrote: > Is it possible to define the linker separately from the compiler so > that I can use either the f90 compiler or the c++ compiler depending > upon the requirements of the project? Use _LINK e.g. if whatever LINKER=$(CXX) else L

AC_RUN_LOG undocumented ?

2003-06-16 Thread John Levon
I cannot find AC_RUN_LOG in the info pages macro index on my system (2.53). Furthermore, the online manual : http://www.gnu.org/manual/autoconf/html_chapter/autoconf_20.html#SEC194 appears to have broken indices - the given anchor does not exist We have a macro that uses this AC_RUN_LOG. What d

Online manual - where did it go ?

2003-03-23 Thread John Levon
http://www.gnu.org/manual/autoconf/ no longer contains the online manual... regards john

Re: Sane way of making installation paths available to C ?

2003-02-28 Thread John Levon
On Fri, Feb 28, 2003 at 10:56:14AM +0100, Akim Demaille wrote: > See Autoconf's documentation. Amusingly someone spent some time > making an FAQ. There's no reason to take that attitude. I checked the info documentation for the installed version I had of autoconf (2.53) and found nothing. > htt

Sane way of making installation paths available to C ?

2003-02-27 Thread John Levon
Is there some relatively sane way of making stuff like $bindir path available to C programs (via config.h preferably) ? I'm entirely sure I'm not the only one who's had to solve this problem a number of times. Currently we have (hold your bags nearby) : if test "$prefix" = "NONE"; then p

(no) over-writing generated files

2002-12-02 Thread John Levon
AC_CONFIG_HEADER() is neat - it checks for changes in config.h before over-writing with the new version. This avoids unnecessary re-compiles after a ./configure Alas, AC_OUTPUT() is not so smart: the file is always over-written. With our "version.h" header, it always gets over-written, causing sp

Checking --with / --enable values

2002-11-10 Thread John Levon
Is there a way to error out if user enters --with-speling instead of --with-spelling ? I believe this is allowed silently to allow configure scripts to pass arguments to sub-scripts, but shouldn't there at least be an option to turn on such sanity checking if wanted ? thanks john -- "History i

Re: FAQ? C++-based AC_CHECK_LIB?

2002-03-29 Thread John Levon
On Thu, Mar 28, 2002 at 07:13:14PM -0500, Allan Clark wrote: > How do I make a AC_CHECK_LIB for a C++ library? > > My example looks for cgi_base::configureForServer on different systems > like this: > > AC_CHECK_LIB(cgi, configureForServer__8cgi_basePci) > > AC_CHECK_LIB(cgi, configureForServer_

Re: Newbie help

2001-10-22 Thread John Levon
On Mon, Oct 22, 2001 at 01:56:46PM -0700, Calvin Arndt wrote: > This list seems to be slanted at the seasoned user can someone point me > at some newbie type list or resource? try channel #devtools on irc.openprojects.net regards john -- "There's only millions that lose their jobs and homes a

macro archive

2001-09-23 Thread John Levon
the given macro archive listed at sources.redhat.com appears to be dead. Any ideas ? thanks john -- "If you're not part of the problem, you're part of the problem space."

Quoting of *

2001-09-22 Thread John Levon
How do I get : AC_MSG_RESULT(takes char **) to work properly w/o expanding * ? Any combination of ",\,' I've tried is copied faithfully to the output, but unquoted it expands to the list of files ... thanks john -- "If you're not part of the problem, you're part of the problem space."