From: Paul Mackerras Date: Fri, 17 Sep 1999 05:30:57 +0000 (+0000) Subject: fix shell if statement (bombed when lp64="") X-Git-Tag: ppp-2.4.7~626 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=1e8f5d7e70232ca30ca317894fcacdfb8f271d24 fix shell if statement (bombed when lp64="") --- diff --git a/configure b/configure index ceaba7a..035ef6f 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.19 1999/09/17 04:20:10 paulus Exp $ +# $Id: configure,v 1.20 1999/09/17 05:30:57 paulus Exp $ if [ -d /NextApps ]; then system="NeXTStep" @@ -110,16 +110,16 @@ if [ -d "$ksrc" ]; then rm -f Makefile ln -s $ksrc/Makefile.top Makefile echo " Makefile -> $ksrc/Makefile.top" - if [ $ksrc = svr4 ]; then + if [ "$ksrc" = svr4 ]; then # Point to 64-bit Makefile extension - if [ $lp64 = y ]; then + if [ "$lp64" = y ]; then makext=$makext-64 fi rm -f $ksrc/Makefile ln -s Makefile.$makext $ksrc/Makefile echo " $ksrc/Makefile -> Makefile.$makext" # Restore extension - if [ $lp64 = y ]; then + if [ "$lp64" = y ]; then makext=$orig_makext fi fi