Re: Help with AC_ARG_ENABLE, AC_ARG_WITH

2008-05-09 Thread John Calcote
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Post wrote: In my configure.ac, I have added: # Check for package options AC_ARG_ENABLE(unsafe, [ --enable-unsafe enable unsafe operation [[default=no]]],[ if test $enableval = no; then ac_enable_unsafe=no else

Re: Help with AC_ARG_ENABLE, AC_ARG_WITH

2008-05-09 Thread Tim Post
On Fri, 2008-05-09 at 09:41 -0600, John Calcote wrote: Tim, If you want to pass these into your Makefile.in templates, use AC_SUBST(ac_with_user) then they'll be available as substitution variables (eg., @ac_with_user@) If you want to go farther and create cpp macro definitions in