Michel Salim wrote, at 06/23/2008 02:13 AM +9:00:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
Some upstream developers recommend that their software (thinking of LLVM
and PLT Scheme, but there must be others) *not* be configured and built
at the top-level source directory (typically recommending using build/,
object/ or some such).
When this is needed, currently the Fedora packager has to revert to
calling the configure script directly, foregoing the %configure macro,
and copying as much of the configure settings by hand. Would it be a
desirable feature to, say, be able to declare
%define configure_relative_path ..
and then have %configure use the value of that instead of './' when
calling the actual configure script?
Thanks,
xscreensaver uses:
%build
archdir=`./config.guess`
mkdir $archdir
cd $archdir
.....
ln -s ../configure .
%configure $CONFIG_OPTS
rm -f configure
make %{?_smp_mflags}
Regards,
Mamoru