summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 4 insertions, 8 deletions
diff --git a/configure b/configure
index 3e12cbb..98d2ec5 100755
--- a/configure
+++ b/configure
@@ -59,17 +59,13 @@ case "${TARGET:-all}" in
*) echo Invalid target "'$1'" >&2; exit 2;;
esac
-# Write record.conf
-echo UPDATE_URL = "$UPDATE_URL" > record.conf
+# Write record.conf (LEAVE SRCDIR FIRST)
+echo srcdir = "$SRCDIR" > record.conf
echo default_target = "$TARGET" >> record.conf
-echo srcdir = "$SRCDIR" >> record.conf
+echo UPDATE_URL = "$UPDATE_URL" >> record.conf
-# Prepare environment for and run write_makefile.sh (as config.status)
-if [ ! -e Makefile.in ]; then
- cp "$SRCDIR"/Makefile.in .
-fi
-
+# Prepare and run write_makefile.sh (as config.status)
if [ ! -e config.status ]; then
cp "$SRCDIR"/write_makefile.sh config.status
fi