summaryrefslogblamecommitdiff
path: root/math/Scilab/files/patch-ab
blob: 92b74576c228dc85e6ccd6b0cd573456bade3d6a (plain) (tree)


































                                                                                
diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/configure ./configure
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/configure	Tue May 13 14:08:49 1997
--- ./configure	Sun May 25 21:16:16 1997
***************
*** 1050,1055 ****
--- 1050,1078 ----
      fi
      MAKEFILE_TARGET=Makefile.solaris
      ;;
+ # FreeBSD
+   *-*-freebsd*)
+      CC=gcc
+      CC_OPTIONS='-O2 -Dfreebsd'
+      CC_LDFLAGS=-lm
+      # script shell f77 have bugs, get ours
+      FC=f77
+      FC_OPTIONS='-O2 -Dfreebsd'
+      FC_LDFLAGS=-lm
+      LD=ld
+      LD_LDFLAGS=-lm
+      if test "$enable_debug" = yes; then 
+        CC_OPTIONS='-g -Dfreebsd'
+        FC_OPTIONS=-g
+      fi
+      if test "$G77" = yes; then
+        FC=g77
+      fi
+     DLDLIB='${SCIDIR}/libs/libdld.a'
+     DLD_SUBDIR=dld
+     MAKEFILE_TARGET=Makefile.sunos
+     ;;
+ 
  # Linux a.out
    *-pc-linux-gnuaout)
      LIEEELIB=