From f2578b0a5919d603ee7d6e05e3fe462fc4efab92 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 17 Jul 2002 16:27:37 +0000 Subject: [PATCH] Set the variables in BuildConfig with ?= which allows for overriding them with environment variables. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@277 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 63821d7ef3..c72d47bdb2 100755 --- a/configure +++ b/configure @@ -44,7 +44,7 @@ bochs_debug=0 while [ $# \> 0 ] ; do case "$1" in --floppy) assertparam "$1" $#; floppy=$2; shift 2;; - --bochs-debug) bochs_debug=1; shift 1;; + --bochs-debug) bochs_debug=1; shift 1;; --help | -h) usage; exit 0;; *) echo Invalid argument: \`$1\'; exit 1;; esac @@ -87,8 +87,8 @@ cat << EOF > BuildConfig # BuildConfig # Note: This file has been automatically generated by configure. -FLOPPY_PATH = "$floppy" ; -GCC_PATH = ${GCC_PATH} ; -BOCHS_E9_HACK = $bochs_debug ; +FLOPPY_PATH ?= "$floppy" ; +GCC_PATH ?= ${GCC_PATH} ; +BOCHS_E9_HACK ?= $bochs_debug ; EOF