X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=configure.gnu;h=f98eb7660f32e2c83668b6276e2dd378458876a2;hb=659f4fc511096e10da01a8fc865bdea31f309580;hp=98876ccff831fe692d54031193ac2393b5b58560;hpb=5518bc02771e6f8d82055935f61ddb0238881b2e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/configure.gnu b/configure.gnu index 98876cc..f98eb76 100755 --- a/configure.gnu +++ b/configure.gnu @@ -27,7 +27,7 @@ case "$0" in if cmp $0 `echo $0 | sed -e s/configure/Configure/` >/dev/null; then echo "Your configure and Configure scripts seem to be identical." echo "This can happen on filesystems that aren't fully case sensitive." - echo "You'll have to explicitely extract Configure and run that." + echo "You'll have to explicitly extract Configure and run that." exit 1 fi ;; @@ -86,7 +86,7 @@ EOM exit 1 ;; *) - opts="$opts $1" + opts="$opts '$1'" shift ;; esac @@ -111,6 +111,14 @@ case "$ccflags" in '') ;; *) opts="$opts -Dccflags='$ccflags'";; esac +case "$LDFLAGS" in +'') ;; +*) ldflags="$ldflags $LDFLAGS";; +esac +case "$ldflags" in +'') ;; +*) opts="$opts -Dldflags='$ldflags'";; +esac # Don't use -s if they want verbose mode case "$verbose" in @@ -118,7 +126,7 @@ case "$verbose" in *) copt="$copt -d";; esac -set X sh Configure $copt $create $opts +eval "set X sh Configure $copt $create $opts" shift echo "$@" exec "$@"