[Top][All Lists]

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

Re: Autoconf example scripts for site defaults

From: Eric Blake
Subject: Re: Autoconf example scripts for site defaults
Date: Mon, 08 Oct 2012 10:58:21 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 10/08/2012 03:50 AM, Harald Oehlmann wrote:
> In respect to page:
> http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Site-Defaults.html#Site-Defaults
> the last example did not work for me:
> --/usr/local/share/config.site--
> test "$libdir" = '${exec_prefix}/lib' && libdir='${exec_prefix}/lib64'
> --EOF--
> There was a "true" required as last command.
> If the test failed, (library application with no exec_prefix defined)
> the site script returned "$?=1" and the configure script stopped with a
> locale site script error.

Thanks for the report.  It looks like you are indeed correct that as
written, the example config.site can end with non-zero status, which can
then cause problems in assuming the site file was invalid.  Would you
like to try your hand at writing the documentation patch to add an
additional ':' at the end of that sample file in the documentation in
autoconf.git?  If not, I can probably write a patch when I get a spare

Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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