autoconf
[Top][All Lists]
Advanced

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

Re: autconf, configure & purify...


From: Eric Blake
Subject: Re: autconf, configure & purify...
Date: Thu, 23 Oct 2008 19:28:11 -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 Boggis, Antony on 10/23/2008 5:47 PM:
> I have a global script that does the following (in this order):
> 
> aclocal         (aclocal (GNU automake) 1.7.3)
> autoheader              (autoheader (GNU Autoconf) 2.57)
> automake -a             (automake (GNU automake) 1.7.3)
> autoconf                (autoconf (GNU Autoconf) 2.57)

These are all quite old.  There have been numerous bugs fixed in the
meantime.  I would highly recommend upgrading to autoconf 2.63 and
automake 1.10.1 before ruling out bugs due to older tools.  You probably
also need a newer m4 (autoconf 2.63 requires 1.4.5 or better; 1.4.12 is
the latest).

> --- BEGIN ---
> AC_ARG_ENABLE(purify,
> AS_HELP_STRING(--enable-purify,build with Purify [[default=no]]),

This is underquoted.  You need to get in the habit of properly quoting
your arguments:

AC_ARG_ENABLE([purify],
  [AS_HELP_STRING([--enable-purify], [build with Purify [default=no]]),
...

> [case "${enableval}" in

On the other hand, this is overkill; it is equally portable to say:

case $enableval in

> BUT, when I run my build purify is not being invoked at build time,

Unfortunately, I'm not too familiar with purify, so I will have to defer
to other list readers at this point.

- --
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

iEYEARECAAYFAkkBJKsACgkQ84KuGfSFAYAZ0gCeKKkjXnxjVKav6GYGep9wFCdt
6vkAoIAGs5HWa96jd/jTEtcQMVxexoN/
=iCdG
-----END PGP SIGNATURE-----




reply via email to

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