summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index ed73eb1..0af6d2a 100755
--- a/configure
+++ b/configure
@@ -14,6 +14,11 @@ prefix="/usr/local"
for arg in $*; do
shift 1
case $arg in
+ "--redo" | "-r")
+ if [ -f ./var_cache ]; then
+ . ./var_cache
+ fi
+ ;;
"--prefix" | "-p")
prefix=shift $*
;;
@@ -86,7 +91,7 @@ echo ";;" >> mbld/config.myr
case $MACH in
*x86_64*)
echo 'export ARCH=x64' >> config.mk
- echo 'const Arch = "FreeBSD"' >> mbld/config.myr
+ echo 'const Arch = "x64"' >> mbld/config.myr
;;
*)
echo ''
@@ -96,6 +101,8 @@ case $MACH in
echo '********************************'
esac
+echo prefix=$prefix > var_cache
+
cat << EOF
Building with:
prefix=$prefix