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 moment. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature