-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Richard Hacker on 1/10/2008 5:39 AM: | As a hint, make adds 's' to the environment variable MAKEFLAGS: | MAKEFLAGS=s | | I hope this patch is portable.... I am certainly no expert in portability!
Unfortunately, it is not: read http://www.gnu.org/software/autoconf/manual/html_node/The-Make-Macro-MAKEFLAGS.html#The-Make-Macro-MAKEFLAGS That said, parsing MAKEFLAGS is still possible, it is just more complex than checking for the existence of a single letter s, since long options may also contain a single letter s. And there are examples of doing so, such as automake's parsing of MAKEFLAGS to determine if -k is active as part of its $(RECURSIVE_TARGETS) goal. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHhh2z84KuGfSFAYARAqgDAJ0Y0ajFHz2V7cMlJYw07AvYePw1QwCgncXT HPNIRXaDZi+bucP15SyiLoA= =tP1x -----END PGP SIGNATURE-----