Please support out-of-tree builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Low
|
Abdulaziz Ghuloum |
Bug Description
It would be nice if Ikarus supported out-of tree builds, e.g.
cd ikarus
mkdir build
cd build
../configure && make && make install
This would also enable the use of the automake "distcheck" target (which uses an out-of-tree build). Currently the build fails in the scheme/ subdirectory:
[...]
../src/ikarus -b ./ikarus.
ikarus: failed to open boot file "./ikarus.
ikarus -h for more help
make[2]: *** [ikarus.boot] Error 255
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all] Error 2
I tried fixing this by adding $(srcdir) in relevant places of scheme/Makefile.am, but apparently the Scheme source (makefile.ss?) also has to be tweaked. I've attached a patch of my attempt, in case you find it useful.
Added in revision 1758. Please check if everything looks correct.