|
From: | Kevin P. Fleming |
Subject: | Re: How to pass AC_ARG_ENABLE an argument |
Date: | Sat, 20 Dec 2003 19:55:29 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925 |
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 whilstconfiguring 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).
[Prev in Thread] | Current Thread | [Next in Thread] |