Re: [PATCH 4/4] _AC_OUTPUT_FILES_PREPARE: Rephrase CONFIG_FILES test
Eric Blake <[email protected]>
| Newsgroups | gmane.comp.sysutils.autoconf.patches |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On 04/09/2015 06:43 AM, Bernhard Reutner-Fischer wrote: > 2015-04-08 Bernhard Reutner-Fischer <[email protected]> > > * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Rephrase > test for empty CONFIG_FILES. > > Signed-off-by: Bernhard Reutner-Fischer <[email protected]> > --- > lib/autoconf/status.m4 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4 > index 7ccc847..6a00739 100644 > --- a/lib/autoconf/status.m4 > +++ b/lib/autoconf/status.m4 > @@ -327,7 +327,7 @@ m4_define([_AC_OUTPUT_FILES_PREPARE], > [# Set up the scripts for CONFIG_FILES section. > # No need to generate them if there are no CONFIG_FILES. > # This happens for instance with `./config.status config.h'. > -if test -n "$CONFIG_FILES"; then > +if [[ ${CONFIG_FILES:+y} ]]; then Why the ${a:+b} form here, but the ${a+b} form in patch 1? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
(application/pgp-signature, 604 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVJn0iAAoJEKeha0olJ0Nqg/8IAJXpLwjNg8+nO/CO+KDWDbzj UXDB/BSMhKUIJAEkjVFoeMD1LxDqMZy9NXAWsw48Xg44kdWFBc4lPqvwpvWpYaL5 vM5VI/5aNtX3LYSoYCGzUj9/rKUEbg2G1ZY/cgOA5MzTwPlrkGWueDDcRtEvPiqk jZfFGzu4/U3qritlXdjvx4l048F0X5sunJdeRkSz7EQVj1t7VYIJeuugweHpeed2 rsjnBANiK4tGjbhLIIHBQrgrJdqTFoLv0PaKyH778RrgKeMbwpkrwci5VGmHemvn dUa4WV95h3jkjh97KbBnvTI9QrXjpUyhD4zNTZOeXLphAK8/Iz7TcyYIoF7sNwY= =bqdq -----END PGP SIGNATURE-----