autoconf
[Top][All Lists]
Advanced

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

A General-Purpose Configuration Macro


From: Eric Lemings
Subject: A General-Purpose Configuration Macro
Date: Wed, 8 Aug 2007 10:27:41 -0600

Greetings,
 
I need to write a general-purpose M4 macro for Autoconf that reads in a
simple C++ source file that is assumed to make a simple configuration
check (as opposed to doing the same directly in M4) after which the M4
macro compiles, links, and executes (yeah I'm throwing cross-compiling
out the door) the C++ program and appends its output to a configuration
header file.
 
I'm guessing that there is already an Autoconf/Automake macro out there
somewhere similar to this and I'm hoping someone can point it out.  :)
 
Thanks,
Eric.
 


reply via email to

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