X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=make-config.sh;h=09b059a9e2c73cc4d4dd230055db6a2c5a293c18;hb=fd00d78accb69be3a626a29120ba17a18569b98c;hp=fe1981ca535703243d56c3d8c8501a320a1cac15;hpb=fae139755a81c0431e7f12f2af9b5f3abc1326dc;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index fe1981c..09b059a 100644 --- a/make-config.sh +++ b/make-config.sh @@ -38,7 +38,7 @@ case `uname -m` in ppc) guessed_sbcl_arch=ppc ;; Power*Macintosh) guessed_sbcl_arch=ppc ;; parisc) guessed_sbcl_arch=hppa ;; - mips) guessed_sbcl_arch=mips ;; + mips*) guessed_sbcl_arch=mips ;; *) # If we're not building on a supported target architecture, we # we have no guess, but it's not an error yet, since maybe @@ -97,11 +97,11 @@ case `uname` in Linux) printf ' :linux' >> $ltf sbcl_os="linux" - if [ "`uname -m`" = "x86_64" ]; then - ln -s Config.x86_64-linux Config - else - ln -s Config.$sbcl_arch-linux Config - fi + if [ $sbcl_arch = "x86-64" ]; then + ln -s Config.x86_64-linux Config + else + ln -s Config.$sbcl_arch-linux Config + fi ln -s $sbcl_arch-linux-os.h target-arch-os.h ln -s linux-os.h target-os.h ;;