From: Ari Johnson Date: Wed, 12 Jan 2011 20:18:25 +0000 (+0000) Subject: Use global lua5.1 installation X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=4cfad888da6d11365d0a123f21026aaf3488b1df;p=cobramush.git Use global lua5.1 installation --- diff --git a/Makefile.SH b/Makefile.SH index 2a8cbfe..0c3ecd8 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -45,12 +45,12 @@ $spitshell >Makefile <&4 - - case $libs in - *lua*) - echo "We have the LUA library, too." >&4 - ;; - *) echo "Oops, no LUA library. Check your LUA installation." >&4 - exit 1; - ;; - esac -else - echo "Can not find LUA source directory. Check your LUA installation.">&4 - exit 1 -fi - +echo "Let's see if we have LUA (version 5.1)." >&4 +case $libs in + *lua5.1*) + echo "We have the LUA 5.1 library, too." >&4 + ;; + *) + echo "Oops, no LUA 5.1 library. Check your LUA installation." >&4 + exit 1; + ;; +esac diff --git a/U/libpth.U b/U/libpth.U index 4f4ecfc..b468243 100644 --- a/U/libpth.U +++ b/U/libpth.U @@ -66,7 +66,7 @@ ?INIT:: change the next line if compiling for Xenix/286 on Xenix/386 ?INIT:xlibpth='/usr/lib/386 /lib/386' ?INIT:: Possible local library directories to search. -?INIT:loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib $toplev/lua/src" +?INIT:loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib" ?INIT:loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" ?INIT: ?INIT:: general looking path for locating libraries diff --git a/U/libs.U b/U/libs.U index f14bb40..a1849ea 100644 --- a/U/libs.U +++ b/U/libs.U @@ -58,7 +58,7 @@ ?X: Set proper libswanted in your private Myinit.U if needed. ?X: ?X:: default ordered library list -?X:libswanted='net socket inet nsl nm sdbm gdbm ndbm dbm malloc dl lua' +?X:libswanted='net socket inet nsl nm sdbm gdbm ndbm dbm malloc dl lua5.1' ?X:libswanted="$libswanted dld sun m c_s c posix cposix ndir dir ucb" ?X:libswanted="$libswanted bsd BSD PW x" ?X: