autoconf
[Top][All Lists]
Advanced

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

Re: [CFT] Shell functionization patch (if you don't know what that means


From: Eric Blake
Subject: Re: [CFT] Shell functionization patch (if you don't know what that means, it's faster Autoconf and leaner configure scripts)
Date: Mon, 27 Oct 2008 20:51:18 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

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

According to Tom Browder on 10/26/2008 5:38 PM:
> That sounds like a good thing to me!  Somehow I was able to get
> autoconf (2.61) to use bash functions in my configure.ac.  Was that a
> lucky thing somehow?
> 
> Any chance of getting (autoconf < configure.ac > configure) to be able
> to use a Perl script if a macro finds suitable evidence of a modern
> Perl capability?

Autoconf already uses perl to convert configure.ac into configure.  I
think you are asking what it would take to rewrite configure to use perl
rather than sh.  But what would it buy us?  sh is more portable than perl
(as measured by the number of platforms where it is included as part of n
a default bare-bones installation), and starts up considerably faster on
some platforms (cygwin, for example).  I will review any such patches to
use perl instead of shell, but I won't be writing any, nor will I be
advocating that someone invest the time into it.

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

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkGfiYACgkQ84KuGfSFAYCuOACdHWl/79a7mmA5i5uEfEcP4qT6
MBEAn0X/dK1mks6YUjW+nYL4014Gaxv3
=BStK
-----END PGP SIGNATURE-----




reply via email to

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