aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2012-06-12 20:48:01 +0200
committerThomas Preud'homme <robotux@celest.fr>2012-06-12 20:48:01 +0200
commit2e7a1af5d5d659c94b53ba2d06b84875942eb6fe (patch)
treefdf0391ce598d7f7b16fd377f028d6602e64b4e0 /configure
parentad5f3758c38f2364f03205dcb9fd48142d2d4499 (diff)
downloadtinycc-2e7a1af5d5d659c94b53ba2d06b84875942eb6fe.tar.gz
tinycc-2e7a1af5d5d659c94b53ba2d06b84875942eb6fe.tar.bz2
Evaluate configure arguments
Evaluate configure arguments to reproduce autotools behavior. Autotools actually only expands a few variable and do it at make time but it makes the change much simpler.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index f152cf9..1efe9cc 100755
--- a/configure
+++ b/configure
@@ -103,6 +103,7 @@ if test -z "$source_path" -o "$source_path" = "." ; then
fi
for opt do
+ eval opt=$opt
case "$opt" in
--prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
;;