Diff for /gforth/lib.fs between versions 1.29 and 1.33

version 1.29, 2008/07/29 15:55:26 version 1.33, 2008/08/02 22:03:48
Line 17 Line 17
 \ You should have received a copy of the GNU General Public License  \ You should have received a copy of the GNU General Public License
 \ along with this program. If not, see http://www.gnu.org/licenses/.  \ along with this program. If not, see http://www.gnu.org/licenses/.
   
 s" libffi.so" open-lib [if]  s" os-type" environment? [IF]
     .( including libffi.fs )      2dup s" linux-gnu" str= [IF] 2drop
           cell 8 = [IF] s" /usr/lib64/libffi.so" [ELSE] s" libffi.so" [THEN]
       [ELSE] 2dup s" bsd" search nip nip [IF] 2drop s" libffi.so"
           [ELSE] 2dup s" cygwin" str= [IF] 2drop s" libffi.dll"
               [ELSE] 2dup s" darwin" string-prefix? [IF] 2drop s" libffi.dylib"
                   [ELSE] 2drop s" libffi" [THEN] [THEN] [THEN] [THEN] [THEN]
   open-lib [if]
   \    warnings @ [IF] .( including libffi.fs ) [THEN]
     include libffi.fs      include libffi.fs
 [ELSE]  [ELSE]
     s" libavcall.so"     open-lib 0<>      s" libavcall.so"     open-lib 0<>
     s" libcallback.so"   open-lib 0<> and [if]      s" libcallback.so"   open-lib 0<> and [if]
         .( including fflib.fs [ffcall] )  \       warnings @ [IF] .( including fflib.fs [ffcall] ) [THEN]
         include fflib.fs          include fflib.fs
     [ELSE]      [ELSE]
         .( Neither libffi nor ffcall are available ) cr          .( Neither libffi nor ffcall are available ) cr

Removed from v.1.29  
changed lines
  Added in v.1.33


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>