configure: how to skip a test?

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

 



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



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux