add --kernelobj configure option

Although `--kernelobj` is the default, allow it to be specified
explicitly, in case it makes sense eventually to change the default.

original commit: 46813ea67dd115d87924422373ea684b75e2772c
This commit is contained in:
Matthew Flatt 2019-07-04 13:28:53 -06:00
parent c38194c0ca
commit 1de465c474

7
configure vendored
View File

@ -247,6 +247,12 @@ while [ $# != 0 ] ; do
installlz4target=installlz4
fi
;;
--kernelobj)
Kernel=KernelO
installkerneltarget=installkernelobj
installzlibtarget=
installlz4target=
;;
CC=*)
CC=`echo $1 | sed -e 's/^CC=//'`
;;
@ -353,6 +359,7 @@ if [ "$help" = "yes" ]; then
echo " --disable-x11 disable X11 support"
echo " --disable-curses disable [n]curses support"
echo " --libkernel build libkernel.a instead of kernel.o"
echo " --kernelobj build kernel.o (the default)"
echo " --installprefix=<pathname> final installation root ($installprefix)"
echo " --installbin=<pathname> bin directory ($installbin)"
echo " --installlib=<pathname> lib directory ($installlib)"