X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=configure.gnu;h=2ef8331833db140cec72544ed2d383e0ea0b395b;hb=c2da85bab803bec3ca5fa4521a7396803c18a76d;hp=868e45411185251f7ef8c26efc67408ff4b2b04c;hpb=774d564bb7dd1ed64ca0d7e534aa67e93f991f02;p=p5sagit%2Fp5-mst-13.2.git diff --git a/configure.gnu b/configure.gnu index 868e454..2ef8331 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 ;; @@ -40,12 +40,13 @@ while test $# -gt 0; do case $1 in --help) cat </dev/null 2>&1 shift @@ -107,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