On Mon, May 24, 2010 at 18:41, Sam Shin <samsilla85@xxxxxxxxx> wrote: > I am trying to print what a user would pass to a configure script. For > example: > > ./configure --enable-foo --enable-bar > > I noticed that in config.log, the configure script will save a copy of how > it was called by the user. Is there a variable that stores this information? > So far the only solution I've come up with is using cat config.log | grep > "./configure" but I feel like there is a much more elegant solution. I use $ac_configure_args to get this, i.e.: AC_DEFINE_UNQUOTED([LAL_CONFIGURE_ARGS],["$ac_configure_args"],[LAL Configure Arguments]) then in codes this can be accessed using the LAL_CONFIGURE_ARGS definition. Cheers Adam _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf