Re: How to dinamically set VERSION for AC_INIT

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andreas Schwab on 12/14/2007 7:56 AM:
> AC_INIT(my-fine-package, m4_esyscmd([./version.sh | tr -d '\n']))
> 
> Note that you need to manually remove the final newline, unlike command
> substitutions m4_esyscmd does not do that for you.

Hmm - m4's esyscmd does not strip the newline, but maybe we can make
m4sugar's m4_esyscmd do so.  What do you think?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@xxxxxxx
-----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

iD8DBQFHYpvG84KuGfSFAYARAqmaAJ9Ii1sABNIZ6DCTCqJaViE0RxxfNgCgn7j4
REN9ac9t+hUN+4WPSCYbZss=
=cz9k
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux