autoconf
[Top][All Lists]
Advanced

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

Re: configure: how to skip a test?


From: Bob Friesenhahn
Subject: Re: configure: how to skip a test?
Date: Mon, 10 May 2004 11:22:24 -0500 (CDT)

On Mon, 10 May 2004, Andreas Schallenberg wrote:

> Hi!
>
> I'd like to use the autoconf/automake/configure tools
> for a project which uses SystemC.  (http://www.systemc.org/)
> SystemC is a hardware description language based on
> C++ and comes with a simulation library which has
> the symbol "main" built-in.
>
> When I run configure a test is performed to determine
> if the C++ compiler can create executables. Since the
> test includes a source with its own main() the linker
> complains having multiple definitions of it.

It seems that you will need to find some option which keeps the
simulation library from providing main, or not linking with the
library, since most Autoconf tests build test programs, so most of the
other tests will fail as well.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

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