[re-adding gnulib; please remember to reply all] On 11/01/2016 09:16 AM, Michael Felt wrote: >> [adding gnulib] >>
>> Can you figure out which sed script in the bootstrap script is >> triggering this extra output, and/or provide the edits that work for >> you, as you hinted above? > In get_version() the sed script includes lots of white space before the #. > Bringing the 15 following lines back to the beginning of the line allows this > to run (longer). > get_version() { > app=$1 > > $app --version >/dev/null 2>&1 || { $app --version; return 1; } > > $app --version 2>&1 | > sed -n '# Move version to start of line. > s/.*[v ]\([0-9]\)/\1/ > > # Skip lines that do not start with version. Indeed, and the autoconf manual warns about this: > Sed scripts should not use branch labels longer than 7 characters and > should not contain comments; AIX 5.3 sed rejects indented comments. Which AIX version are you using? Does the autoconf text need to be updated to mention a more modern version number? Meanwhile, it sounds like gnulib's bootstrap should be patched to avoid non-portable sed comments, then netcf updated to use the newer gnulib version. > > In the end, while it finds my GNU m4, it still complains that it is not a GNU > m4. Which version of GNU m4? There are some particular m4 bugs in some older versions that kill configure scripts, so the bootstrap script intentionally blacklists m4 versions with those bugs. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature