head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.54 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.52 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.50 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.48 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.46 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.44 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.42 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.40 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.3 date 99.12.22.13.25.52; author dmcmahill; state dead; branches; next 1.2; 1.2 date 99.03.05.11.22.36; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.08.25.12.53.11; author agc; state Exp; branches; next ; desc @@ 1.3 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 @$NetBSD: patch-bk,v 1.2 1999/03/05 11:22:36 frueauf Exp $ --- routines/sun/inffic.c.orig Mon Dec 21 21:57:15 1998 +++ routines/sun/inffic.c Mon Dec 21 21:57:39 1998 @@@@ -1,3 +1,5 @@@@ /* Copyright INRIA */ +#include + #if defined(THINK_C)||defined(__MWERKS__) #include "::graphics:Math.h" @ 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 @d1 1 a1 1 $NetBSD$ @ 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 5 a7 63 --- configure.orig Thu Jul 16 09:51:45 1998 +++ configure Thu Aug 20 14:22:54 1998 @@@@ -1800,4 +1800,95 @@@@ MAKEFILE_TARGET=Makefile.gcwin32 ;; + *-*-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 + ;; +# +# NetBSD systems (tested on NetBSD-1.3) + *-*-netbsd*) + # standard compilers + CC=cc + CC_OPTIONS='-O2 -Dnetbsd' + CC_LDFLAGS= + CC_PICFLAGS='-fPIC' + if test "$G77" != yes; then + # Extract the first word of "f2c-f77", so it can be a program name with args. +set dummy f2c-f77; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1836: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_F77="yes" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_F77" && ac_cv_prog_F77="no" +fi +fi +F77="$ac_cv_prog_F77" +if test -n "$F77"; then + echo "$ac_t""$F77" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi d9 2 a10 759 + if test "$F77" = no; then + { echo "configure: error: "Unable to configure: Fortran f2c-f77 compiler not found"" 1>&2; exit 1; } + fi + fi + FC=f2c-f77 + FC_OPTIONS='-O2' + FC_LDFLAGS= + FC_PICFLAGS='-fPIC' + LD=ld + LD_LDFLAGS= + if test "$enable_debug" = yes; then + CC_OPTIONS='-g -Dnetbsd -Wall' + FC_OPTIONS='-g -Wall' + 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 + ;; *) { echo "configure: error: "Unable to configure for host $host"" 1>&2; exit 1; } @@@@ -1815,5 +1906,5 @@@@ set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1818: checking for $ac_word" >&5 +echo "configure:1909: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1847,5 +1938,5 @@@@ if test "$PERIFILE" = periX11.o; then echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1850: checking how to run the C preprocessor" >&5 +echo "configure:1941: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@@@ -1862,5 +1953,5 @@@@ # not just through cpp. cat > conftest.$ac_ext < @@@@ -1868,5 +1959,5 @@@@ EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then @@@@ -1879,5 +1970,5 @@@@ CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < @@@@ -1885,5 +1976,5 @@@@ EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then @@@@ -1912,5 +2003,5 @@@@ # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:1915: checking for X" >&5 +echo "configure:2006: checking for X" >&5 # Check whether --with-x or --without-x was given. @@@@ -1974,10 +2065,10 @@@@ # First, try using that file with no special directory specified. cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then @@@@ -2048,5 +2139,5 @@@@ LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* LIBS="$ac_save_LIBS" @@@@ -2161,8 +2252,8 @@@@ "SunOS 5"*) echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 -echo "configure:2164: checking whether -R must be followed by a space" >&5 +echo "configure:2255: checking whether -R must be followed by a space" >&5 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_R_nospace=yes @@@@ -2187,5 +2278,5 @@@@ LIBS="$ac_xsave_LIBS -R $x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_R_space=yes @@@@ -2226,5 +2317,5 @@@@ # the Alpha needs dnet_stub (dnet does not exist). echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 -echo "configure:2229: checking for dnet_ntoa in -ldnet" >&5 +echo "configure:2320: checking for dnet_ntoa in -ldnet" >&5 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2234,5 +2325,5 @@@@ LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2267,5 +2358,5 @@@@ if test $ac_cv_lib_dnet_dnet_ntoa = no; then echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 -echo "configure:2270: checking for dnet_ntoa in -ldnet_stub" >&5 +echo "configure:2361: checking for dnet_ntoa in -ldnet_stub" >&5 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2275,5 +2366,5 @@@@ LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2315,10 +2406,10 @@@@ # on Irix 5.2, according to dickey@@clark.net. echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:2318: checking for gethostbyname" >&5 +echo "configure:2409: checking for gethostbyname" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes" @@@@ -2364,5 +2455,5 @@@@ if test $ac_cv_func_gethostbyname = no; then echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:2367: checking for gethostbyname in -lnsl" >&5 +echo "configure:2458: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2372,5 +2463,5 @@@@ LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2413,10 +2504,10 @@@@ # We assume that if connect needs -lnsl, so does gethostbyname. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:2416: checking for connect" >&5 +echo "configure:2507: checking for connect" >&5 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_connect=yes" @@@@ -2462,5 +2553,5 @@@@ if test $ac_cv_func_connect = no; then echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:2465: checking for connect in -lsocket" >&5 +echo "configure:2556: checking for connect in -lsocket" >&5 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2470,5 +2561,5 @@@@ LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2505,10 +2596,10 @@@@ # gomez@@mi.uni-erlangen.de says -lposix is necessary on A/UX. echo $ac_n "checking for remove""... $ac_c" 1>&6 -echo "configure:2508: checking for remove" >&5 +echo "configure:2599: checking for remove" >&5 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_remove=yes" @@@@ -2554,5 +2645,5 @@@@ if test $ac_cv_func_remove = no; then echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:2557: checking for remove in -lposix" >&5 +echo "configure:2648: checking for remove in -lposix" >&5 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2562,5 +2653,5 @@@@ LIBS="-lposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2597,10 +2688,10 @@@@ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:2600: checking for shmat" >&5 +echo "configure:2691: checking for shmat" >&5 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_shmat=yes" @@@@ -2646,5 +2737,5 @@@@ if test $ac_cv_func_shmat = no; then echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:2649: checking for shmat in -lipc" >&5 +echo "configure:2740: checking for shmat in -lipc" >&5 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2654,5 +2745,5 @@@@ LIBS="-lipc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2698,5 +2789,5 @@@@ # --interran@@uluru.Stanford.EDU, kb@@cs.umb.edu. echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 -echo "configure:2701: checking for IceConnectionNumber in -lICE" >&5 +echo "configure:2792: checking for IceConnectionNumber in -lICE" >&5 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2706,5 +2797,5 @@@@ LIBS="-lICE $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2758,5 +2849,5 @@@@ if test "$PERIFILE" = periX11.o; then echo $ac_n "checking "for X11 release"""... $ac_c" 1>&6 -echo "configure:2761: checking "for X11 release"" >&5 +echo "configure:2852: checking "for X11 release"" >&5 if eval "test \"`echo '$''{'ac_cv_X11_release'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -2807,5 +2898,5 @@@@ fi echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 -echo "configure:2810: checking for main in -lXmu" >&5 +echo "configure:2901: checking for main in -lXmu" >&5 ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2815,5 +2906,5 @@@@ LIBS="-lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2844,5 +2935,5 @@@@ echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 -echo "configure:2847: checking for main in -lXaw" >&5 +echo "configure:2938: checking for main in -lXaw" >&5 ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2852,5 +2943,5 @@@@ LIBS="-lXaw -lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2904,5 +2995,5 @@@@ echo $ac_n "checking "for leading and/or trailing underscores"""... $ac_c" 1>&6 -echo "configure:2907: checking "for leading and/or trailing underscores"" >&5 +echo "configure:2998: checking "for leading and/or trailing underscores"" >&5 cat << EOF > pipof.f subroutine pipof @@@@ -2956,7 +3047,7 @@@@ echo $ac_n "checking "for use of sharpsign in CPP"""... $ac_c" 1>&6 -echo "configure:2959: checking "for use of sharpsign in CPP"" >&5 +echo "configure:3050: checking "for use of sharpsign in CPP"" >&5 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 @@@@ -2984,5 +3075,5 @@@@ ############################################################## echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:2987: checking for main in -lm" >&5 +echo "configure:3078: checking for main in -lm" >&5 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -2992,5 +3083,5 @@@@ LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3029,10 +3120,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3032: checking for $ac_func" >&5 +echo "configure:3123: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3084,10 +3175,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3087: checking for $ac_func" >&5 +echo "configure:3178: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3139,10 +3230,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3142: checking for $ac_func" >&5 +echo "configure:3233: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3194,10 +3285,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3197: checking for $ac_func" >&5 +echo "configure:3288: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3249,10 +3340,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3252: checking for $ac_func" >&5 +echo "configure:3343: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3302,4 +3393,48 @@@@ +######################## +## test for header files +######################## +for ac_hdr in values.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3403: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:3413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + + ################## ## termcap library @@@@ -3307,5 +3442,5 @@@@ TERMCAPLIB=no echo $ac_n "checking for main in -ltermcap""... $ac_c" 1>&6 -echo "configure:3310: checking for main in -ltermcap" >&5 +echo "configure:3445: checking for main in -ltermcap" >&5 ac_lib_var=`echo termcap'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -3315,5 +3450,5 @@@@ LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3344,5 +3479,5 @@@@ if test "$TERMCAPLIB" = no; then echo $ac_n "checking for main in -ltermlib""... $ac_c" 1>&6 -echo "configure:3347: checking for main in -ltermlib" >&5 +echo "configure:3482: checking for main in -ltermlib" >&5 ac_lib_var=`echo termlib'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -3352,5 +3487,5 @@@@ LIBS="-ltermlib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3382,5 +3517,5 @@@@ if test "$TERMCAPLIB" = no; then echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6 -echo "configure:3385: checking for main in -lcurses" >&5 +echo "configure:3520: checking for main in -lcurses" >&5 ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -3390,5 +3525,5 @@@@ LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3437,5 +3572,5 @@@@ PVMSCIDIR= echo $ac_n "checking "for PVM architecture"""... $ac_c" 1>&6 -echo "configure:3440: checking "for PVM architecture"" >&5 +echo "configure:3575: checking "for PVM architecture"" >&5 if eval "test \"`echo '$''{'ac_cv_PVM_arch'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -3517,5 +3652,5 @@@@ echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 -echo "configure:3520: checking for main in -ldl" >&5 +echo "configure:3655: checking for main in -ldl" >&5 ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -3525,5 +3660,5 @@@@ LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3573,5 +3708,5 @@@@ echo $ac_n " Testing version (need $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later)... " $ac_c cat > conftest.$ac_ext <&6 -echo "configure:3660: checking for Tcl_DoOneEvent in -l$n" >&5 +echo "configure:3795: checking for Tcl_DoOneEvent in -l$n" >&5 ac_lib_var=`echo $n'_'Tcl_DoOneEvent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -3665,5 +3800,5 @@@@ LIBS="-l$n $X_LIBS $X_EXTRA_LIBS $TCLTK_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3738,5 +3873,5 @@@@ echo $ac_n " Testing version (need $CHK_TK_MAJOR.$CHK_TK_MINOR or later)... " $ac_c cat > conftest.$ac_ext <&6 -echo "configure:3822: checking for Tcl_DoOneEvent in -l$TK_LIB" >&5 +echo "configure:3957: checking for Tcl_DoOneEvent in -l$TK_LIB" >&5 ac_lib_var=`echo $TK_LIB'_'Tcl_DoOneEvent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -3827,5 +3962,5 @@@@ LIBS="-l$TK_LIB -lX11 $X_LIBS $X_EXTRA_LIBS $TCLTK_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @