Dave Kirkby wrote:

Hi,
I want to allow a configure script to be told the number of CPUs
to build some software for. The manual says 'AC_ARG_ENABLE' can read an
agument, but I can't for the life of me see how to get it. I basically
want to have something AC_DEFINE CPUS to be an integer read whilst
configuring the program.

The argument passed to --enable-foo will be in $enableval after the option is processed (although it's best to only refer to it in the code blocks you supply to AC_ARG_ENABLE).




Reply via email to