autoconf
[Top][All Lists]
Advanced

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

configure: how to skip a test?


From: Andreas Schallenberg
Subject: configure: how to skip a test?
Date: Mon, 10 May 2004 17:08:48 +0200
User-agent: KMail/1.6.2

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.

I could simply modify the configure script and remove
all those tests but would prefer a more elegant solution.
Can anybody tell me how to prevent configure from
doing these tests (or allowing them to fail)?
I found no switch or environment variable to archieve
this.

RU,
Andreas




reply via email to

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