head 1.13; access; symbols pkgsrc-2026Q1:1.13.0.156 pkgsrc-2026Q1-base:1.13 pkgsrc-2025Q4:1.13.0.154 pkgsrc-2025Q4-base:1.13 pkgsrc-2025Q3:1.13.0.152 pkgsrc-2025Q3-base:1.13 pkgsrc-2025Q2:1.13.0.150 pkgsrc-2025Q2-base:1.13 pkgsrc-2025Q1:1.13.0.148 pkgsrc-2025Q1-base:1.13 pkgsrc-2024Q4:1.13.0.146 pkgsrc-2024Q4-base:1.13 pkgsrc-2024Q3:1.13.0.144 pkgsrc-2024Q3-base:1.13 pkgsrc-2024Q2:1.13.0.142 pkgsrc-2024Q2-base:1.13 pkgsrc-2024Q1:1.13.0.140 pkgsrc-2024Q1-base:1.13 pkgsrc-2023Q4:1.13.0.138 pkgsrc-2023Q4-base:1.13 pkgsrc-2023Q3:1.13.0.136 pkgsrc-2023Q3-base:1.13 pkgsrc-2023Q2:1.13.0.134 pkgsrc-2023Q2-base:1.13 pkgsrc-2023Q1:1.13.0.132 pkgsrc-2023Q1-base:1.13 pkgsrc-2022Q4:1.13.0.130 pkgsrc-2022Q4-base:1.13 pkgsrc-2022Q3:1.13.0.128 pkgsrc-2022Q3-base:1.13 pkgsrc-2022Q2:1.13.0.126 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.124 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.13.0.122 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.120 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.118 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.116 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.114 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.112 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.108 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.88 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.110 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.106 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.104 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.102 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.100 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.98 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.96 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.94 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.92 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.90 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.86 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.84 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.82 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.80 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.78 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.76 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.74 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.72 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.70 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.13.0.68 pkgsrc-2015Q1-base:1.13 pkgsrc-2014Q4:1.13.0.66 pkgsrc-2014Q4-base:1.13 pkgsrc-2014Q3:1.13.0.64 pkgsrc-2014Q3-base:1.13 pkgsrc-2014Q2:1.13.0.62 pkgsrc-2014Q2-base:1.13 pkgsrc-2014Q1:1.13.0.60 pkgsrc-2014Q1-base:1.13 pkgsrc-2013Q4:1.13.0.58 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.56 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.54 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.13.0.52 pkgsrc-2013Q1-base:1.13 pkgsrc-2012Q4:1.13.0.50 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.13.0.48 pkgsrc-2012Q3-base:1.13 pkgsrc-2012Q2:1.13.0.46 pkgsrc-2012Q2-base:1.13 pkgsrc-2012Q1:1.13.0.44 pkgsrc-2012Q1-base:1.13 pkgsrc-2011Q4:1.13.0.42 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q3:1.13.0.40 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.13.0.38 pkgsrc-2011Q2-base:1.13 pkgsrc-2011Q1:1.13.0.36 pkgsrc-2011Q1-base:1.13 pkgsrc-2010Q4:1.13.0.34 pkgsrc-2010Q4-base:1.13 pkgsrc-2010Q3:1.13.0.32 pkgsrc-2010Q3-base:1.13 pkgsrc-2010Q2:1.13.0.30 pkgsrc-2010Q2-base:1.13 pkgsrc-2010Q1:1.13.0.28 pkgsrc-2010Q1-base:1.13 pkgsrc-2009Q4:1.13.0.26 pkgsrc-2009Q4-base:1.13 pkgsrc-2009Q3:1.13.0.24 pkgsrc-2009Q3-base:1.13 pkgsrc-2009Q2:1.13.0.22 pkgsrc-2009Q2-base:1.13 pkgsrc-2009Q1:1.13.0.20 pkgsrc-2009Q1-base:1.13 pkgsrc-2008Q4:1.13.0.18 pkgsrc-2008Q4-base:1.13 pkgsrc-2008Q3:1.13.0.16 pkgsrc-2008Q3-base:1.13 cube-native-xorg:1.13.0.14 cube-native-xorg-base:1.13 pkgsrc-2008Q2:1.13.0.12 pkgsrc-2008Q2-base:1.13 cwrapper:1.13.0.10 pkgsrc-2008Q1:1.13.0.8 pkgsrc-2008Q1-base:1.13 pkgsrc-2007Q4:1.13.0.6 pkgsrc-2007Q4-base:1.13 pkgsrc-2007Q3:1.13.0.4 pkgsrc-2007Q3-base:1.13 pkgsrc-2007Q2:1.13.0.2 pkgsrc-2007Q2-base:1.13 pkgsrc-2007Q1:1.12.0.2 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.11.0.12 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.10 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.8 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.11.0.6 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.11.0.4 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.11.0.2 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.9.0.8 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.6 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.4 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.2 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.8.0.6 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.4 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.2 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.6.0.6 netbsd-1-6-1-base:1.6 netbsd-1-6:1.6.0.8 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.4 pkgviews-base:1.6 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.6 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.5 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.13 date 2007.04.10.15.53.16; author joerg; state Exp; branches; next 1.12; 1.12 date 2007.03.23.22.08.56; author dmcmahill; state Exp; branches 1.12.2.1; next 1.11; 1.11 date 2005.09.22.00.05.40; author dmcmahill; state Exp; branches; next 1.10; 1.10 date 2005.09.07.10.48.47; author dmcmahill; state Exp; branches; next 1.9; 1.9 date 2004.07.15.04.00.47; author dmcmahill; state Exp; branches; next 1.8; 1.8 date 2003.11.01.12.26.21; author dmcmahill; state Exp; branches; next 1.7; 1.7 date 2003.02.22.04.31.06; author dmcmahill; state Exp; branches; next 1.6; 1.6 date 2001.04.08.16.25.28; author dmcmahill; state Exp; branches; next 1.5; 1.5 date 99.12.22.13.25.41; author dmcmahill; state Exp; branches; next 1.4; 1.4 date 99.11.23.16.12.40; author dmcmahill; state Exp; branches; next 1.3; 1.3 date 99.10.20.13.16.59; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 99.03.05.11.22.34; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.08.25.12.53.08; author agc; state Exp; branches; next ; 1.12.2.1 date 2007.04.11.09.12.48; author ghen; state Exp; branches; next ; desc @@ 1.13 log @Handle DragonFly as FreeBSD for now. Fix build on both. @ text @$NetBSD$ --- configure.in.orig 2006-11-03 15:06:57.000000000 +0000 +++ configure.in @@@@ -163,7 +163,7 @@@@ fi # use for making scripts in script directory # different for MIPS Ultrix -SCILAB_GS=sh +SCILAB_GS=${SCILAB_GS:-sh} # scilab script file in script directory: default is "scilab.g" for UNIX # for gcwin32 use "scilab-gcwin32.g" SCILABSCRIPT=scilab.g @@@@ -413,50 +413,31 @@@@ case "$host" in ;; # SUN SOLARIS *-*-solaris*) - # standard compilers - CC=cc - CC_OPTIONS='-O -DNDEBUG -DSVR4 -DSYSV -Dsolaris' - CC_LDFLAGS= - if test "$WITH_G77" != yes; then - #AC_CHECK_PROG(F77,f77,yes,no) - AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no) - if test "$F77" = no; then - AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found]) - fi - FC="$F77" - fi - #FC="$F77" - FC_OPTIONS=-O - FC_OPTIONS_O0= - FC_LDFLAGS= - LD=ld - LD_LDFLAGS= + SCILAB_GS=ksh + + # + # C Compiler + # + + AC_PROG_CC + CC_OPTIONS="${CFLAGS} -DNDEBUG -DSVR4 -DSYSV -Dsolaris" + CC_LDFLAGS="${LDFLAGS}" + + # + # Fortran Compiler + # + + AC_PROG_F77 + AC_F77_LIBRARY_LDFLAGS + FC="$F77" + FC_OPTIONS="${FFLAGS}" + if test "$enable_debug" = yes; then - CC_OPTIONS='-g -DSVR4 -DSYSV -Dsolaris' - FC_OPTIONS=-g + CC_OPTIONS="-g ${CC_OPTIONS}" + FC_OPTIONS="-g ${CC_OPTIONS}" fi - # GNU compilers - if test "$WITH_GCC" = yes; then - CC=gcc - CC_OPTIONS='-O2 -DNDEBUG -DSVR4 -DSYSV -Dsolaris' - if test "$enable_debug" = yes; then - CC_OPTIONS='-g -DSVR4 -DSYSV -Dsolaris' - fi - fi - if test "$WITH_G77" = yes; then - FC=g77 - FC_OPTIONS=-O2 - FC_OPTIONS_O0= - FC_LDFLAGS='-t' -# for solaris 2.7 with gcc/g77 2.95.2, binutils 2.9 -# the correct value should be -# FC_LDFLAGS='-t -Wl,-export-dynamic' -# but we need to check this case - if test "$enable_debug" = yes; then - FC_OPTIONS=-g - fi - fi - AC_F77_LIBRARY_LDFLAGS + FC_OPTIONS_O0=`echo $FC_OPTIONS | sed 's/-O[[0-9]]*//g'` + MAKEFILE_TARGET=Makefile.solaris ;; # Linux, old binary format a.out (NO LONGER SUPPORTED) @@@@ -854,11 +835,11 @@@@ i*86-*-linux-gnu | *-linux-gnu ) GCCFIX=fix.o CC=gcc if test "$enable_debug" = yes; then - CC_OPTIONS='-g -Wall -Dlinux -DNARROWPROTO' + CC_OPTIONS="${CFLAGS} -g -Wall -Dlinux -DNARROWPROTO" else - CC_OPTIONS='-O -DNDEBUG -Dlinux -DNARROWPROTO' + CC_OPTIONS="${CFLAGS} -DNDEBUG -Dlinux -DNARROWPROTO" fi - CC_LDFLAGS=$LIEEELIB + CC_LDFLAGS="${LDFLAGS} $LIEEELIB" CC_PICFLAGS=-fPIC # find Fortran compiler # g77 already asked and found: good @@@@ -869,7 +850,7 @@@@ i*86-*-linux-gnu | *-linux-gnu ) FC_OPTIONS="-g" FC_OPTIONS_O0="" else - FC_OPTIONS="-O" + FC_OPTIONS="" FC_OPTIONS_O0="" fi elif test "$WITH_GFORTRAN" = yes;then @@@@ -908,7 +889,7 @@@@ i*86-*-linux-gnu | *-linux-gnu ) FC_OPTIONS="-g" FC_OPTIONS_O0="" else - FC_OPTIONS="-O" + FC_OPTIONS="" FC_OPTIONS_O0="" fi else @@@@ -957,7 +938,9 @@@@ i*86-*-linux-gnu | *-linux-gnu ) fi fi fi - FC_LDFLAGS="$LIEEELIB -ldl -rdynamic" + FC_OPTIONS="${FFLAGS} ${FC_OPTIONS}" + FC_OPTIONS_O0="`echo ${FC_OPTIONS} | sed 's/-O[[0-9]]*//'`" + FC_LDFLAGS="${LDFLAGS} $LIEEELIB -ldl -rdynamic" LD=ld LD_LDFLAGS=$LIEEELIB fi @@@@ -1283,17 +1266,17 @@@@ i*86-*-linux-gnu | *-linux-gnu ) MAKEFILE_TARGET=Makefile.mingwin32 ;; # FreeBSD systems (not supported by INRIA) - *-*-freebsd*) + *-*-freebsd* | *-*-dragonfly*) GCC=yes CC=$CC CC_OPTIONS="${CFLAGS} -Dfreebsd" - CC_LDFLAGS=-lm + CC_LDFLAGS="-lm ${LDFLAGS} -Wl,-R${X11BASE}/lib" CC_PICFLAGS='-fPIC' # script shell f77 have bugs, get ours FC=$F77 FC_OPTIONS="${CFLAGS} -Dfreebsd" FC_OPTIONS_O0='-Dfreebsd' - FC_LDFLAGS='-lm -Wl,--export-dynamic' + FC_LDFLAGS="${LDFLAGS} -Wl,-R${X11BASE}/lib -lm -Wl,--export-dynamic" FC_PICFLAGS='-fPIC' LD=ld LD_LDFLAGS=-lm @@@@ -1337,8 +1320,8 @@@@ i*86-*-linux-gnu | *-linux-gnu ) AC_F77_LIBRARY_LDFLAGS FC="$F77" FC_OPTIONS="${FFLAGS}" - FC_OPTIONS_O0=`echo $FC_OPTIONS | sed 's/-O[0-9]*//g'` - FC_LDFLAGS="${LDLAGS} -Wl,-R${X11BASE}/lib" + FC_OPTIONS_O0=`echo $FC_OPTIONS | sed 's/-O[[0-9]]*//g'` + FC_LDFLAGS="${LDFLAGS} -Wl,-R${X11BASE}/lib" FC_PICFLAGS='-fPIC' # check for --export-dynamic ac_save_LDFLAGS="$LDFLAGS" @@@@ -1418,30 +1401,7 @@@@ esac # in "routines/sparse": intreadmps.f # in "routines/calelm": unsfdcopy.f icopy.f -FC_OPTIONS1=$FC_OPTIONS -if test "$WITH_G77" = yes; then - if test "$enable_debug" = yes; then - FC_OPTIONS1=$FC_OPTIONS - else - FC_OPTIONS1=$FC_OPTIONS_O0 - fi -fi - -if test "$with_f2c" = yes; then - if test "$enable_debug" = yes; then - FC_OPTIONS1=$FC_OPTIONS - else - FC_OPTIONS1=$FC_OPTIONS_O0 - fi -fi - -if test "$WITH_GFORTRAN" = yes; then - if test "$enable_debug" = yes; then - FC_OPTIONS1=$FC_OPTIONS - else - FC_OPTIONS1=$FC_OPTIONS_O0 - fi -fi +FC_OPTIONS1="`echo $FC_OPTIONS | sed 's/-O[[0-9]]*//g'`" # due overlapping arguments a few files must not be compiled # with optimizer on some computers (Sun sparc solaris with at least @@@@ -1452,11 +1412,7 @@@@ FC_OPTIONS2=$FC_OPTIONS case "$host" in # Sun solaris *solaris*) - if test "$enable_debug" = yes; then - FC_OPTIONS2=$FC_OPTIONS - else - FC_OPTIONS2=$FC_OPTIONS_O0 - fi + FC_OPTIONS2="`echo $FC_OPTIONS | sed 's/-O[[0-9]]*//g'`" ;; esac @@@@ -1580,7 +1536,8 @@@@ if test "$PERIFILE" = periX11.o; then LDFLAGS="$ac_save_LDFLAGS" save_cflags=$CFLAGS CFLAGS="$X_CFLAGS $CC_OPTIONS" - AC_TRY_COMPILE([#include #include ],,, + AC_TRY_COMPILE([#include + #include ],,, AC_MSG_ERROR([Include file "ViewportP.h" for Xaw3d not found. Get and put it in .])) CFLAGS=$save_cflags @@@@ -1901,15 +1858,15 @@@@ if test "$with_tk" != no; then ;; esac - GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.$SONAME + GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.$SONAME - case "$host" in - *-*-darwin*) - GETLIBTK=/sw/lib/libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.dylib - ;; - *-*-cygwin* | *-*-mingw32*) - GETLIBTK=tk$TK_MAJOR_VERSION$TK_MINOR_VERSION.dll - esac + #case "$host" in + # *-*-darwin*) + # GETLIBTK=/sw/lib/libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.dylib + # ;; + # *-*-cygwin* | *-*-mingw32*) + # GETLIBTK=tk$TK_MAJOR_VERSION$TK_MINOR_VERSION.dll + #esac fi @ 1.12 log @Update to scilab-4.1. The old version was very out of date and there have been many many changes including many bug fixes, graphics improvements, editor improvements, new toolbox functions, etc. @ text @d132 21 @ 1.12.2.1 log @Pullup ticket 2062 - requested by joerg build fix for scilab - pkgsrc/math/scilab/distinfo 1.25 - pkgsrc/math/scilab/patches/patch-aa 1.13 - pkgsrc/math/scilab/patches/patch-ab 1.14 - pkgsrc/math/scilab/patches/patch-aj 1.9 Module Name: pkgsrc Committed By: joerg Date: Tue Apr 10 15:53:17 UTC 2007 Modified Files: pkgsrc/math/scilab: distinfo pkgsrc/math/scilab/patches: patch-aa patch-ab patch-aj Log Message: Handle DragonFly as FreeBSD for now. Fix build on both. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2007/04/10 15:53:16 joerg Exp $ a131 21 @@@@ -1283,17 +1266,17 @@@@ i*86-*-linux-gnu | *-linux-gnu ) MAKEFILE_TARGET=Makefile.mingwin32 ;; # FreeBSD systems (not supported by INRIA) - *-*-freebsd*) + *-*-freebsd* | *-*-dragonfly*) GCC=yes CC=$CC CC_OPTIONS="${CFLAGS} -Dfreebsd" - CC_LDFLAGS=-lm + CC_LDFLAGS="-lm ${LDFLAGS} -Wl,-R${X11BASE}/lib" CC_PICFLAGS='-fPIC' # script shell f77 have bugs, get ours FC=$F77 FC_OPTIONS="${CFLAGS} -Dfreebsd" FC_OPTIONS_O0='-Dfreebsd' - FC_LDFLAGS='-lm -Wl,--export-dynamic' + FC_LDFLAGS="${LDFLAGS} -Wl,-R${X11BASE}/lib -lm -Wl,--export-dynamic" FC_PICFLAGS='-fPIC' LD=ld LD_LDFLAGS=-lm @ 1.11 log @fix a broken configure script which tries to compile something with multiple #include's on the same line. Should fix recently noted compile problems on NetBSD-1.6.2. @ text @d3 1 a3 1 --- configure.in.orig 2005-05-25 15:00:45.000000000 +0000 d5 12 a16 1 @@@@ -452,8 +452,8 @@@@ case "$host" in d18 2 a19 2 # standard compilers CC=cc d22 21 d45 8 a52 8 if test "$WITH_G77" != yes; then #AC_CHECK_PROG(F77,f77,yes,no) AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no) @@@@ -463,9 +463,9 @@@@ case "$host" in FC="$F77" fi #FC="$F77" - FC_OPTIONS=-O d54 1 a54 5 FC_OPTIONS_O0= - FC_LDFLAGS= + FC_LDFLAGS="${LDFLAGS}" LD=ld LD_LDFLAGS= d56 17 a72 4 @@@@ -484,7 +484,7 @@@@ case "$host" in FC=g77 FC_OPTIONS=-O2 FC_OPTIONS_O0= d74 60 a133 5 + FC_LDFLAGS="${LDFLAGS} -t" # for solaris 2.7 with gcc/g77 2.95.2, binutils 2.9 # the correct value should be # FC_LDFLAGS='-t -Wl,-export-dynamic' @@@@ -1189,7 +1189,7 @@@@ case "$host" in d136 1 a136 1 FC_OPTIONS_O0=`echo $FC_OPTIONS | sed 's/-O[0-9]*//g'` d138 1 d143 46 a188 1 @@@@ -1413,7 +1413,8 @@@@ if test "$PERIFILE" = periX11.o; then d198 21 a218 17 @@@@ -1714,13 +1715,13 @@@@ case "$host" in ;; esac -GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.$SONAME +GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.$SONAME -case "$host" in - *-*-darwin*) - GETLIBTK=/sw/lib/libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.dylib - ;; -esac +#case "$host" in +# *-*-darwin*) +# GETLIBTK=/sw/lib/libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.dylib +# ;; +#esac @ 1.10 log @update to scilab-3.1.1 Main Changes Scilab 3.0 -> 3.1 ========================= The new features of Scilab 3.1 are the following: - "xgetmouse", "eventhandler" event set extended to click, double-click, Key. See more details in xclick and xgetmouse on line help. Warning: Because of distinction of click events, some users' scripts can have a different behavior. To make it work as before please check and modified test on events as follow: supposing that button contains the value returned by xclick (left most argument) or xgetmouse (third componant of returned vector) then replace test like: button==0 by or(button==[0,3]) button==1 by or(button==[1,4]) button==2 by or(button==[2,5]) - Integration of the ATLAS library (specific Windows version). During the installation of Scilab, dynamic library (Atlas.dll) is automatically chosen according to the CPU detected. See details in the Atlas.spec file under scilab\bin directory. - Java interface written to allow calling Scilab computational engine from Java - TCL interface has been totally rewritten (for better error detection and better data transfert). ScilabEval improve to handle synchronism. For your information you should know that tcl8.4 segfault when running on Linux 2.6 kernels on machines with 2 or more processors. - Scipad editor o A debugging tool is now available. o Drag'n'drop is now supported. o User settings and text colors are now configurable and saved across editing sessions. o Find/Replace debugged and improved. o Quick access in the file menu for recently opened/saved files. o Creation of XML help page templates and xmltohtml compilation available from within Scipad. o Identification of Scilab predefined variables and library functions in scilab scripts. o Scipad is easily localized. Today English, German, French, Swedish and Italian languages are supported. o Miscellaneous file management improvements: readonly flag, absolute pathnames to files, pruned pathnames display, revert to saved feature. - Graphics editor completed o Axes structure totally rebuild. New axes properties available (see manual and type 'gca()' for a complet listing), z logscale enable, axes inversion. o Save and load had been extended to graphics handle o 'plot' macro added to scilab to mimic the "matlab plot" behavior (type "help plot" for more info.) o 'surf' macro added to scilab to mimic the "matlab surf" behavior (type "help surf" for more info.) Graphics entities are associated to Scilab variables of type handle. The handle is a unique identifier which is associated to each instance of a created graphics entity. Using this handle, it will be possible to reach entities properties through "set" and "get" routines. The handles are also used to manipulate graphics objects, to move them, to copy or delete them. Enter "help graphics_entities" at Scilab prompt for more details. - Scicos block set has been extended/revisited to be more compatible with Simulink one, compiler, code generator and implicit system simulator have been improved. - Configure adapted to linux 64bit architectures - Improvement of the integration of Visual Studio Compiler to the dynamic links: findmsvccompiler() and configure_msvc() macros have been added - The source files have been updated to optimise the compiled version built with VC6 tool Please note that the Windows binary version provided on our Web site is built with .NET - Sparse operations and functions like real, imag, matrix, spones revisited to improve efficiency - Bessel functions extended to work in the complex case (using Slatec routines) Incompatibilities: The semantics of besseli, besselj, besselk and bessely functions has been changed and extended. The oldbesseli, oldbesselj, oldbesselk and oldbessely correspond to the old obsolete semantics. - New Matlab functions implemented in m2sci translator - Functions to read Excel files - Font rotation is now possible under Xwindow - home variable (%HOME%) defined under Windows: c:/Documents and Setting/USER - New environment variable SCIHOME: o Under Windows: %HOME%\scilab\SCILAB_VERSION o Under Linux: $HOME/USER/.scilab/SCILAB_VERSION - New primitives: o clipboard (specific Windows) o perl o calendar o mkdir o rmdir o copyfile o sleep o getos o setenv o getshortpathname (specific Windows) o getlongpathname (specific Windows) o toolbar (specific Windows) o hidetoolbar (specific Windows) o console (specific Windows) o mcisendstring (specific Windows) o banner o winqueryreg (specific Windows) o xls_open o xls_read o scicos_debug_count @ text @d46 11 a56 1 @@@@ -1714,13 +1714,13 @@@@ case "$host" in @ 1.9 log @update to scilab-3.0 Main Changes Scilab 2.7 -> 3.0 ============================== NEW FUNCTIONALITIES =================== - continue instruction added - [a(i,j),b(..),..]=foo(..) syntax is now handled - arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added - Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve - New graphics mode improved - beta and legendre function added (thanks to B Pincon) - Scicos has been extended to handle non causal systems description (supported by RNTL) - Matlab to Scilab translator has been re-written, and extended to current Matlab syntax. OTHERS IMPROVEMENTS =================== - Better discontinuities handling in Scicos - More efficient number parsing (thanks to B Pincon) - More efficient 3D Zoom (thanks to E Segre) - Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre) - for loop variable is no more removed at the end of the loops - figure sizes are now taken into account in Postscript export - Windows GUI improved - Graphic windows refresh improved under Windows - Scilab has been adapated to IA64 architecture - Helvetica (Arial on Windows) fonts added (corresponding font identifiers are from 6 to 9) (thanks to B Pincon) - N dimensionnal matrices efficiency improved (thanks to B Pincon) - logical expressions shortcuts handled in if - cd, ls, clc, clf, tohome functions added - functions with no argument can be called without () if called as a command @ text @d3 1 a3 1 --- configure.in.orig Fri Jul 9 08:28:05 2004 d5 1 a5 1 @@@@ -450,8 +450,8 @@@@ case "$host" in d9 1 a9 1 - CC_OPTIONS='-O -DSVR4 -DSYSV -Dsolaris' d11 1 a11 1 + CC_OPTIONS="${CFLAGS} -DSVR4 -DSYSV -Dsolaris" d16 1 a16 1 @@@@ -461,9 +461,9 @@@@ case "$host" in d28 1 a28 1 @@@@ -482,7 +482,7 @@@@ case "$host" in d37 1 a37 1 @@@@ -1104,7 +1104,7 @@@@ case "$host" in d46 1 a46 1 @@@@ -1751,13 +1751,13 @@@@ case "$host" in d50 2 a51 2 -GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.so +GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.so @ 1.8 log @obey CFLAGS, FFLAGS, and LDFLAGS on Solaris. Especially the LDFLAGS lets the linker work right. No change on non-Solaris systems. @ text @d3 1 a3 1 --- configure.in.orig 2003-02-06 02:42:05.000000000 -0500 d5 1 a5 1 @@@@ -427,8 +427,8 @@@@ case "$host" in d16 1 a16 1 @@@@ -438,9 +438,9 @@@@ case "$host" in d28 1 a28 1 @@@@ -459,7 +459,7 @@@@ case "$host" in d37 1 a37 1 @@@@ -991,7 +991,7 @@@@ case "$host" in d46 20 @ 1.7 log @update to scilab-2.7. Main Changes Scilab 2.6 -> 2.7 ============================== THANKS ====== Scilab group wants to thank the increasing number of people who have contributed to this new version of Scilab, with special mention to Anders Blomdell, Stephane Mottelet, Dan McMahill Ton van Overbeek, Bruno Pincon and Enrico Segre. NEW FUNCTIONALITIES =================== Slicot based control routines (www.win.tue.nl/wgs/slicot.html) have been introduced with a special attention to identification functions, lyapunov, sylvester and riccati equation solvers. Interface with TeXmacs (www.texmacs.org) a high level scientific text editor. The editor allows you to write structured documents via a wysiwyg interface including Scilab sessions and results. An embedded text editor scipad derived from TkNotepad (www.mindspring.com/~joeja/programs.html) as been developped. C Code generation from Scicos discrete models Blocks defining DAE are now usable in Scicos. Statistic toolbox added (labostat). A new graphics version based on objects and entities has been developped (beta version). It allows to edit the properties of graphics objects. By default, the old graphics version is used. Tu use the new graphics version see the help of "graphics_entities". OTHERS IMPROVEMENTS =================== Linear algebra primitives now based on Lapack instead of Linpack/Eispack. Basic functions revised (thanks to B Pincon). stacksize use is no more restricted. Hypertext, xml based, online help. Binary Matlab file .mat loader (loadmatfile) added. Possibility to customize graphics window event handlers (seteventhandler). edit_graph, a graph editor for Metanet toolbox, written in Scilab, replaces xmetanet. It works on both Unix and Windows. INCOMPATIBLITIES ================ It is higly recommended to rebuild user's scilab functions libraries. This can be done as follow: predef(0);genlib('mylib','mylib_path',%t) gschur and gspec functions are now obsolete and replaced by schur and spec. Geci and the communication library have been removed. Use PVM interface instead. Metanet graph editor has been rewritten. Use edit_graph instead. man pages have to be written in HTML or better in XML but chapters written in the old ascii files are still handled. Scicos internal data structure have been changed. Automatic translation is made when old diagrams are loaded. @ text @d3 36 a38 3 --- configure.in.orig Thu Feb 20 22:05:02 2003 +++ configure.in Fri Feb 21 06:46:43 2003 @@@@ -992,5 +992,5 @@@@ d45 1 @ 1.6 log @Update to scilab-2.6 Thanks to the scilab folks at INRIA for helping us get rid of 9 more patches! From the CHANGES file: Main Changes Scilab 2.5 -> 2.6 ============================== NEW FUNCTIONALITIES =================== Automatic graphic rescaling when combining 2D plots, axis handling Isometric 3D plots. Thanks to Enrico Segre 3D plots shading. Thanks to Stephane MOTTELET Error messages handling Grep function added Modeless message box added Profiling of functions execution added Real time simulation in Scicos. Thanks to Anders Blomdell Scicos diagram linearization and fixed point computation OTHERS IMPROVEMENTS =================== A more professional licence Input/Output improved (carriage return at the end of the file are not required anymore, OS independent ascii file input, handling of opened files ) More complete mexlib for MatlabV mex interface. Many bug corrected in integer types manipulation API improved, many examples given A better window management under KDE A better plugin interface (help, demos,...) and new Scilab functions for building and loading interfaces. Interactive demos for ODE and DAE solving added Scicos' GUI improved, customizable keyboard shortcuts added Default list, tlist and mlist display can be overloaded It is now possible to draw dashed lines in color. Background now work with postscript driver. Easiest argument passing to plot2d, plot3d,... GIF driver bugs fixed. INCOMPATIBLITY ============== help and scicos palettes handling have changed. Fraclab toolbox has been moved to the contributions part and is no more included in the package The Communication Toolbox (geci) is now obsolete. It will be removed in next release. Use PVM instead. @ text @d3 9 a11 45 fix install target. --- Makefile.in.orig Mon Mar 26 02:59:13 2001 +++ Makefile.in Thu Mar 29 07:54:47 2001 @@@@ -1,4 +1,9 @@@@ SHELL = /bin/sh +prefix=@@prefix@@ +exec_prefix=@@exec_prefix@@ +bindir=@@bindir@@ + + binary: @@if test -f .binary; then \ @@@@ -151,19 +156,15 @@@@ install: - @@if test `pwd` != ${LIBPREFIX}/$(SCIBASE); then \ - touch .binary; \ - strip $(SCIDIR)/bin/scilex; \ - (cd tests; make distclean); \ - (cd examples; make distclean); \ - (cd .. ; tar cf - $(BINDISTFILES) | (cd ${LIBPREFIX}; tar xf -)); \ - (cd ${LIBPREFIX}/$(SCIBASE); make); \ - $(RM) .binary; \ - fi - $(RM) /usr/bin/scilab - ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/scilab /usr/bin/scilab - $(RM) /usr/bin/intersci - ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/intersci /usr/bin/intersci - $(RM) /usr/bin/intersci-n - ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/intersci-n /usr/bin/intersci-n + touch .binary + strip $(SCIDIR)/bin/scilex + cd tests && $(MAKE) distclean + cd examples && $(MAKE) distclean + cd .. && tar cf - $(BINDISTFILES) | (cd ${prefix}; tar xf -) + cd ${prefix}/$(SCIBASE) && $(MAKE) + $(RM) .binary + for f in ${prefix}/${SCIBASE}/bin/* ; \ + do \ + ln -fs $$f ${bindir}/`basename $$f` ; \ + done uninstall: @ 1.5 log @Update the package from scilab-2.4.1 to scilab-2.5. Many thanks to the authors at Inria who, through their willingness to accept feedback, have helped me remove 39 patches! Changes to scilab include (from scilab-2.5/CHANGES): NEW FUNCTIONALITIES =================== Global variables have been introduced New graphic mode has been added to allow scrollbar handling (panner for X Window and scrollbars for Windows). GIF export format is now available for Scilab graphic windows. Keyboard events and window closing within graphical windows can now be captured. Scicos graphical user interface has been made more intuitive and keyboard shortcuts have been added. Scilab Binary files created by "save" are now system-independent so they can be exchanged. In particular (compiled macros) *.bin files and *.cos (scicos diagrams) can be exchanged. It is now possible to dynamically link C++ procedures with Scilab. A new data type "mlist" has been added. A new function "genlib" allows users to compile the .sci files in a given directory, generate associated library and load it. This function is particularly useful under windows if VC++ is not available. C formatted input output functions (printf, scanf, ..) have been interfaced to scilab. OTHERS IMPROVEMENTS =================== Efficiency has been improved using reference argument passing when possible instead of value passing. Hypermatrix opreations have been accelerated. On X Window systems 3D Athena Widgets are preferably used instead of standard Athena Widgets for a better look. The "Matlab 4" to Scilab translator has been completed and considerably improved. NEW TOOLBOXES ============= True integer data types (1,2 and 4 bytes) with associated operations and some functions acting on them have been added. A library of procedures has been added to allow the use of Matlab mex-files under Scilab. PORTS ===== Scilab has been successfully compiled with Windows ABSOFT development environment. INCOMPATIBILITIES ================= New Scilab "save"d files cannot be loaded by earlier Scilab versions. A new function "oldsave" has been added to save in old format. Scilab help mechanism has changed. The $MANCHAPTERS/Chapter is no more used, instead a Scilab variable "helps" is used. @ text @d3 6 a8 4 --- ./routines/pvm/Makefile.orig Tue Dec 21 15:42:54 1999 +++ ./routines/pvm/Makefile Tue Dec 21 15:42:54 1999 @@@@ -11,5 +11,5 @@@@ include ../../Makefile.incl d10 8 a17 2 -CFLAGS = $(CC_OPTIONS) +CFLAGS = $(CC_OPTIONS) -I${PVMROOT}/include d19 29 a47 1 FFLAGS = $(FC_OPTIONS) @ 1.4 log @- Update pvm dependency to new version of pvm (3.4.2) - a few patches to correctly work with the new version of PVM - Add USE_FORTRAN and remove local selection of the fortran compiler - Change DEPENDS on xless to RUN_DEPENDS (not used for build) @ text @d3 4 a6 113 --- ./configure.in.orig Thu Sep 17 07:44:35 1998 +++ ./configure.in Mon Nov 22 19:55:08 1999 @@@@ -684,4 +684,108 @@@@ MAKEFILE_TARGET=Makefile.gcwin32 ;; + *-*-freebsd*) + CC=gcc + CC_OPTIONS='-O2 -Dfreebsd' + CC_LDFLAGS=-lm + CC_PICFLAGS='-fPIC' + # script shell f77 have bugs, get ours + FC=f77 + FC_OPTIONS='-O2 -Dfreebsd' + FC_LDFLAGS=-lm + FC_PICFLAGS='-fPIC' + 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.freebsd + ;; + +# NetBSD systems (tested on NetBSD-1.3) + *-*-netbsd*) + + # + # C Compiler + # + CC=cc + CC_OPTIONS='-O2 -Dnetbsd' + CC_LDFLAGS="-Wl,-R${X11BASE}/lib" + CC_PICFLAGS='-fPIC' + + # check for --export-dynamic + ac_save_LDFLAGS="$LDFLAGS" + LDFLAGS='-Wl,--export-dynamic' + AC_MSG_CHECKING([if the linker accepts --export-dynamic]) + AC_TRY_LINK(,, + AC_MSG_RESULT(yes) + CC_LDFLAGS=["$CC_LDFLAGS -Wl,--export-dynamic"], + AC_MSG_RESULT(no)) + LDFLAGS="$ac_save_LDFLAGS" + + # + # Fortran Compiler + # + if test "$with_f2c" = yes; then + AC_CHECK_PROGS(F77,f2c-f77,no) + if test "$F77" = no; then + AC_MSG_ERROR([Unable to configure: Fortran compiler f2c-f77 not found]) + fi + else + AC_CHECK_PROGS(F77,"${FC}" f77 f2c-f77,no) + if test "$F77" = no; then + AC_MSG_ERROR([Unable to configure: Fortran, f77 or f2c-f77, compiler not found]) + fi + fi + + FC="$F77" + FC_OPTIONS='-O2' + FC_LDFLAGS="-Wl,-R${X11BASE}/lib" + FC_PICFLAGS='-fPIC' + + + # check for --export-dynamic + ac_save_LDFLAGS="$LDFLAGS" + LDFLAGS='-Wl,--export-dynamic' + AC_MSG_CHECKING([if the linker accepts --export-dynamic]) + AC_TRY_LINK(,, + AC_MSG_RESULT(yes) + FC_LDFLAGS=["$FC_LDFLAGS -Wl,--export-dynamic"], + AC_MSG_RESULT(no)) + LDFLAGS="$ac_save_LDFLAGS" + + + # + # Linker + # + LD=ld + LD_LDFLAGS="-R${X11BASE}/lib" + # check for --export-dynamic + ac_save_LDFLAGS="$LDFLAGS" + LDFLAGS='-Wl,--export-dynamic' + AC_MSG_CHECKING([if the linker accepts --export-dynamic]) + AC_TRY_LINK(,, + AC_MSG_RESULT(yes) + LD_LDFLAGS=["$LD_LDFLAGS --export-dynamic"], + AC_MSG_RESULT(no)) + LDFLAGS="$ac_save_LDFLAGS" + + + # + # Compiler Debug Flags + # + if test "$enable_debug" = yes; then + CC_OPTIONS='-g -Dnetbsd -Wall' + FC_OPTIONS='-g -Wall' + fi + + MAKEFILE_TARGET=Makefile.netbsd + ;; + *) AC_MSG_ERROR("Unable to configure for host $host") @@@@ -849,4 +953,9 @@@@ AC_CHECK_FUNCS(usleep) d8 2 a9 9 +######################## +## test for header files +######################## +AC_CHECK_HEADERS(values.h) + ################## ## termcap library @@@@ -883,19 +992,19 @@@@ if test "$with_pvm" != no; then d11 1 a11 32 -AC_CACHE_CHECK("for PVM architecture",ac_cv_PVM_arch, -[ -ac_cv_PVM_arch=`./pvm3/lib/pvmgetarch` -]) -if test "$ac_cv_PVM_arch" = UNKNOWN; then - AC_MSG_WARN("PVM unable to find architecture: I will not use PVM") -else - AC_DEFINE(WITH_PVM) - PVMARCH="$ac_cv_PVM_arch" - PVMGLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a" - PVMLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a" - PVMSCIDIR=pvm - PVMSCILIB=libs/pvm.a - PVMTARGET=scilex-lib -fi + AC_CACHE_CHECK("for PVM architecture",ac_cv_PVM_arch, + [ + ac_cv_PVM_arch=`${LOCALBASE}/pvm3/lib/pvmgetarch` + ]) + if test "$ac_cv_PVM_arch" = UNKNOWN; then + AC_MSG_WARN("PVM unable to find architecture: I will not use PVM") + else + AC_DEFINE(WITH_PVM) + PVMARCH="$ac_cv_PVM_arch" + PVMGLIB="\$(LOCALBASE)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a" + PVMLIB="\$(LOCALBASE)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a" + PVMSCIDIR=pvm + PVMSCILIB=libs/pvm.a + PVMTARGET=pvm-no-build + fi fi @ 1.3 log @Make scilab always use f2c for compiling the fortran part of the code. This is because the g77 compiled code doesn't work properly on several machine architectures. In particular using g77 on (all 1.4.1 machines): pmax - can't even compile sparc - binary sometimes crashes mac68k - doesn't handle sparc matrices correctly using f2c fixes all these problems. @ text @d3 2 a4 2 --- configure.in.orig Thu Sep 17 07:44:35 1998 +++ configure.in Mon Oct 4 21:52:54 1999 d62 1 a62 1 + AC_CHECK_PROGS(F77,f77 f2c-f77,no) d68 1 a68 1 + FC=$F77 d124 1 a124 1 @@@@ -883,20 +992,38 @@@@ d134 1 a134 6 +case "$host" in + *-*-netbsd*) + ## with NetBSD, use the version of pvm3 which is part of the package collection + AC_MSG_CHECKING("for PVM architecture") + AC_MSG_RESULT("NETBSD") AC_DEFINE(WITH_PVM) d138 2 a139 5 + PVMARCH=NETBSD + PVMLIB=${LOCALBASE}/lib/libpvm3.a + PVMGLIB=${LOCALBASE}/lib/libgpvm3.a PVMSCIDIR=pvm PVMSCILIB=libs/pvm.a a141 5 + PVMTARGET=pvm-no-build + ;; + + *) d144 1 a144 1 + ac_cv_PVM_arch=`./pvm3/lib/pvmgetarch` d151 2 a152 2 + PVMGLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a" + PVMLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a" d155 1 a155 1 + PVMTARGET=scilex-lib d157 1 a157 3 + ;; + +esac a158 1 @ 1.2 log @Update scilab to 2.4.1. This is based on the work provided in pr 6889 by Dan McMahill. It fixes several serious problems for NetBSD/alpha and some for NetBSD/sparc. Thanx for doing the work, Dan! @ text @d4 2 a5 2 +++ configure.in Fri Jan 15 22:15:57 1999 @@@@ -684,4 +684,100 @@@@ d56 10 a65 3 + AC_CHECK_PROGS(F77,f77 f2c-f77,no) + if test "$F77" = no; then + AC_MSG_ERROR([Unable to configure: Fortran, f77 or f2c-f77, compiler not found]) d73 1 d114 1 a114 1 @@@@ -849,4 +945,9 @@@@ d124 1 a124 1 @@@@ -883,20 +984,38 @@@@ @ 1.1 log @Addition of scilab-2.4 to the packages collection. This is from Dan McMahill (mcmahill@@mtl.mit.edu) in PR pkg/6034. scilab is a high level scientific math programming environment with graphics. [scilab is HUGE.] The only major thing I changed was the way of creating the PLIST. @ text @d3 3 a5 3 --- configure.in.orig Thu Jul 16 05:55:15 1998 +++ configure.in Thu Aug 20 14:22:09 1998 @@@@ -589,4 +589,67 @@@@ d12 1 d17 1 d29 1 a29 1 + MAKEFILE_TARGET=Makefile.sunos d31 2 a32 2 +# +# NetBSD systems (tested on NetBSD-1.3) d34 4 a37 1 + # standard compilers d40 1 a40 1 + CC_LDFLAGS= d42 55 a96 13 + if test "$G77" != yes; then + AC_CHECK_PROG(F77,f2c-f77,yes,no) + if test "$F77" = no; then + AC_MSG_ERROR("Unable to configure: Fortran f2c-f77 compiler not found") + fi + fi + FC=f2c-f77 + FC_OPTIONS='-O2' + FC_LDFLAGS= + FC_PICFLAGS='-fPIC' + LD=ld + LD_LDFLAGS= + if test "$enable_debug" = yes; then d99 5 a103 19 + fi + # GNU compilers + if test "$GCC" = yes; then + CC=gcc + CC_OPTIONS='-O2 -Dnetbsd' + if test "$enable_debug" = yes; then + CC_OPTIONS='-g -Dnetbsd' + fi + fi + if test "$G77" = yes; then + FC=g77 + FC_OPTIONS=-O2 + if test "$enable_debug" = yes; then + FC_OPTIONS=-g + fi + FC_LDFLAGS= + fi + MAKEFILE_TARGET=Makefile.netbsd + ;; d106 1 a106 2 @@@@ -753,4 +816,9 @@@@ AC_CHECK_FUNCS(strerror) d108 1 a108 1 + d112 54 a165 1 +AC_CHECK_HEADERS(values.h) a166 1 ################## @