> -----Original Message----- > From: Andreas Schwab [mailto:schwab@xxxxxxx] > Sent: Wednesday, October 26, 2005 2:28 PM > To: Eric Lemings > Cc: 'autoconf@xxxxxxx'; 'automake@xxxxxxx' > Subject: Re: Defining Macros With Literal Values > > > Eric Lemings <lemings@xxxxxxxxxxxxx> writes: > > > Greetings, > > > > I have a tricky little problem I was hoping someone could help me > > with. I am trying to write an Autotools macro that > extracts the value > > of a macro from a system header file and defines another > preprocessor > > macro with the same value. > > You can use AC_DEFINE_UNQUOTED to define a macro to the > result of a shell substitution. You can easily extract the > value from the output of the preprocessor. Well it sounds easy? I've been trying to use AC_PREPROC_IFELSE but it does not look like the macro captures the preprocessed output. Or should I just use the $ac_cpp variable directly? Eric. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf