configure: make --prefix=/usr and '' identical
Andreas Schwab
schwab@linux-m68k.org
Wed Jan 8 19:34:02 GMT 2025
On Jan 08 2025, Joseph Myers wrote:
> Maybe having sysdeps/unix/preconfigure.ac and sysdeps/hurd/preconfigure.ac
> that call AC_PREFIX_DEFAULT inside a suitable case condition on the host
> OS could work?
That cannot work. AC_PREFIX_DEFAULT adds the assignment to the DEFAULTS
diversion, which is emitted by AC_INIT at the head of the generated
configure script. That does not work for the sysdep configure
fragments, since they are processed independently and cannot contribute
to the main configure script. Also, AC_PREFIX_DEFAULT cannot be used
conditionally.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list