libtool-patches
[Top][All Lists]
Advanced

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

Re: make -s


From: Eric Blake
Subject: Re: make -s
Date: Thu, 10 Jan 2008 06:29:23 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

-----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             address@hidden
-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]