]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fine, lets try to make it portable too
authorhansr <hk-git@circlestorm.org>
Fri, 31 Oct 2014 12:00:55 +0000 (13:00 +0100)
committerhansr <hk-git@circlestorm.org>
Fri, 31 Oct 2014 12:00:55 +0000 (13:00 +0100)
configure

index 1a8ca4808dff0c96139e648fbfbba9cb27ba5ec6..d47cd83b1468b84c8946fd8887894315b0ac4ea5 100755 (executable)
--- a/configure
+++ b/configure
@@ -148,7 +148,7 @@ case "$1" in
     *)
       echo "unknown option: $1" | tee -a configure.log
       echo "$0 --help for help" | tee -a configure.log
-      leave 1;;
+hvordan       leave 1;;
     esac
 done
 
@@ -768,7 +768,7 @@ sed < Makefile.in "
 " > Makefile
 
 # Generate Makefile in arch dir if needed
-if [ -n $ARCHDIR ]
+if [ ! -z $ARCHDIR ]
 then
     sed < $ARCHDIR/Makefile.in "
     /^CC *=/s#=.*#=$CC#