On 12/03/2014 04:24 AM, Václav Zeman wrote: > On 3 December 2014 at 11:32, Thomas Jahns wrote: >> Hello, >> >> I noticed having a default prefix of . causes AC_CONFIG_SUBDIRS to fail. >> >> Is this a bug in AC_PREFIX_DEFAULT (or its documentation) or in >> AC_CONFIG_SUBDIRS? >> configure: error: expected an absolute directory name for --prefix: . >> configure: error: ./configure failed for directory_sub >> > > I do not know the internals but this does look like a deliberate foot > shooting preventive measure rather than bug. install.texi (and therefore INSTALL) documents that --prefix MUST be absolute. Using AC_PREFIX_DEFAULT with a non-absolute location is therefore unwise. That said, we either need a doc patch to mention this about AC_PREFIX_DEFAULT, or it may be possible to refactor AC_PREFIX_DEFAULT to canonicalize the default to be absolute to match that --prefix must be absolute. Would you care to write the patch? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf