Re: How to pass AC_ARG_ENABLE an argument

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

 



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).





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux