[BRLTTY] A nit about aclocal.m4

Dave Mielke dave at mielke.cc
Wed Sep 5 01:43:07 EDT 2007


[quoted lines by Stepan Kasal on 2007/09/04 at 15:00 +0200]

>I'd like to remind that the main variable used by
>   AC_ARG_ENABLE([foo], ... )
>is enable_foo.  The variable `enableval' is only a helper variable
>guranteed to be available for the code in the third parameter.

I remember thinking about this way back when that code was written. The 
dificulty was (and still is) that "foo" is a calculated value since, for 
example, "enable_usb-support" would be an illegal variable name. That's why 
just using the generic "enableval" seemed to be the better choice.

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list