head 1.9; access; symbols pkgsrc-2026Q1:1.9.0.158 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.156 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.154 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.152 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.9.0.150 pkgsrc-2025Q1-base:1.9 pkgsrc-2024Q4:1.9.0.148 pkgsrc-2024Q4-base:1.9 pkgsrc-2024Q3:1.9.0.146 pkgsrc-2024Q3-base:1.9 pkgsrc-2024Q2:1.9.0.144 pkgsrc-2024Q2-base:1.9 pkgsrc-2024Q1:1.9.0.142 pkgsrc-2024Q1-base:1.9 pkgsrc-2023Q4:1.9.0.140 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.138 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.136 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.134 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.132 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.130 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.128 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.126 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.124 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.122 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.120 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.118 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.116 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.114 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.110 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.90 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.112 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.108 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.106 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.104 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.102 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.100 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.98 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.96 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.94 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.92 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.88 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.86 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.84 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.82 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.80 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.78 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.76 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.74 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.72 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.70 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.68 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.66 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.64 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.62 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.60 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.58 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.56 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.54 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.52 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.50 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.48 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.46 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.44 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.42 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.40 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.38 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.36 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.34 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.32 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.30 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.28 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.26 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.24 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.22 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.20 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.18 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.16 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.14 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.12 pkgsrc-2008Q1:1.9.0.10 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.8 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.6 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.4 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.2 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.8.0.6 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.4 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.2 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 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 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.9 date 2007.03.23.22.08.57; author dmcmahill; state Exp; branches; next 1.8; 1.8 date 2006.05.12.12.39.32; author joerg; state Exp; branches; next 1.7; 1.7 date 2003.02.22.04.31.29; author dmcmahill; state dead; branches; next 1.6; 1.6 date 2002.03.05.21.05.54; author dmcmahill; state Exp; branches; next 1.5; 1.5 date 99.12.22.13.25.45; author dmcmahill; state dead; 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.35; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.08.25.12.53.10; author agc; state Exp; branches; next ; desc @@ 1.9 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 @$NetBSD: patch-au,v 1.8 2006/05/12 12:39:32 joerg Exp $ --- routines/xsci/x_data.h.orig 2001-04-26 07:43:33.000000000 +0000 +++ routines/xsci/x_data.h @@@@ -31,7 +31,6 @@@@ extern int X_mask; #ifdef DEBUG extern int debug; #endif /* DEBUG */ -extern int errno; extern int max_plus1; extern int pty_mask; extern int waitingForTrackInfo; @ 1.8 log @Honour LDFLAGS, fix errno usage. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- routines/xsci/x_data.h.orig 2006-04-28 19:48:54.000000000 +0000 @ 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 @d1 1 a1 1 $NetBSD: patch-au,v 1.6 2002/03/05 21:05:54 dmcmahill Exp $ d3 10 a12 11 --- routines/randlib/Rand.c.orig Mon Jul 17 09:02:35 2000 +++ routines/randlib/Rand.c Tue Mar 5 07:21:27 2002 @@@@ -1,4 +1,8 @@@@ /* Copyright Enpc/Cergrene */ +#ifdef __NetBSD__ +#include +#endif + #include "../../routines/stack-c.h" #include "grand.h" @ 1.6 log @enable this on NetBSD>1.5U on alpha since alpha FPC code is now in place. While here, add some missing headers and squish a LP64 bug. Passes all self tests and all but 2 examples on a 1.5ZA alpha. @ text @d1 1 a1 1 $NetBSD$ @ 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 @d1 1 a1 1 $NetBSD: patch-au,v 1.4 1999/11/23 16:12:40 dmcmahill Exp $ d3 8 a10 743 --- ./configure.orig Thu Sep 17 09:06:23 1998 +++ ./configure Mon Nov 22 19:55:23 1999 @@@@ -44,5 +44,5 @@@@ # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.12 +# Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # @@@@ -104,4 +104,5 @@@@ subdirs= MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 @@@@ -387,5 +388,5 @@@@ -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.12" + echo "configure generated by autoconf version 2.13" exit 0 ;; @@@@ -557,7 +558,9 @@@@ ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross +ac_exeext= +ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu. @@@@ -597,10 +600,10 @@@@ # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : +if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:605: checking host system type" >&5 +echo "configure:608: checking host system type" >&5 host_alias=$host @@@@ -609,5 +612,5 @@@@ case $nonopt in NONE) - if host_alias=`$ac_config_guess`; then : + if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } fi ;; @@@@ -616,5 +619,5 @@@@ esac -host=`$ac_config_sub $host_alias` +host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` @@@@ -668,5 +671,5 @@@@ set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:671: checking for $ac_word" >&5 +echo "configure:674: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GCC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -675,6 +678,7 @@@@ ac_cv_prog_GCC="$GCC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -700,5 +704,5 @@@@ set dummy g77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:703: checking for $ac_word" >&5 +echo "configure:707: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_G77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -707,6 +711,7 @@@@ ac_cv_prog_G77="$G77" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -734,5 +739,5 @@@@ set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:737: checking for $ac_word" >&5 +echo "configure:742: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GCC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -741,6 +746,7 @@@@ ac_cv_prog_GCC="$GCC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -768,5 +774,5 @@@@ set dummy g77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:771: checking for $ac_word" >&5 +echo "configure:777: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_G77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -775,6 +781,7 @@@@ ac_cv_prog_G77="$G77" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -853,5 +860,5 @@@@ set dummy f77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:856: checking for $ac_word" >&5 +echo "configure:863: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -860,6 +867,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -918,5 +926,5 @@@@ set dummy f77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:921: checking for $ac_word" >&5 +echo "configure:929: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -925,6 +933,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -983,5 +992,5 @@@@ set dummy f77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:986: checking for $ac_word" >&5 +echo "configure:995: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -990,6 +999,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1049,5 +1059,5 @@@@ set dummy f77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1052: checking for $ac_word" >&5 +echo "configure:1062: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1056,6 +1066,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1118,5 +1129,5 @@@@ set dummy f77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1121: checking for $ac_word" >&5 +echo "configure:1132: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1125,6 +1136,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1179,5 +1191,5 @@@@ LIEEELIB= echo $ac_n "checking for main in -lieee""... $ac_c" 1>&6 -echo "configure:1182: checking for main in -lieee" >&5 +echo "configure:1194: checking for main in -lieee" >&5 ac_lib_var=`echo ieee'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -1187,5 +1199,5 @@@@ LIBS="-lieee $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -1226,5 +1238,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1229: checking for $ac_word" >&5 +echo "configure:1241: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1233,6 +1245,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1262,5 +1275,5 @@@@ set dummy g77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1265: checking for $ac_word" >&5 +echo "configure:1278: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_G77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1269,6 +1282,7 @@@@ ac_cv_prog_G77="$G77" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1295,5 +1309,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1298: checking for $ac_word" >&5 +echo "configure:1312: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1302,6 +1316,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1345,5 +1360,5 @@@@ LIEEELIB= echo $ac_n "checking for main in -lieee""... $ac_c" 1>&6 -echo "configure:1348: checking for main in -lieee" >&5 +echo "configure:1363: checking for main in -lieee" >&5 ac_lib_var=`echo ieee'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -1353,5 +1368,5 @@@@ LIBS="-lieee $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -1392,5 +1407,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1395: checking for $ac_word" >&5 +echo "configure:1410: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1399,6 +1414,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1428,5 +1444,5 @@@@ set dummy g77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1431: checking for $ac_word" >&5 +echo "configure:1447: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_G77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1435,6 +1451,7 @@@@ ac_cv_prog_G77="$G77" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1461,5 +1478,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1464: checking for $ac_word" >&5 +echo "configure:1481: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1468,6 +1485,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1521,5 +1539,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1524: checking for $ac_word" >&5 +echo "configure:1542: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1528,6 +1546,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1557,5 +1576,5 @@@@ set dummy g77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1560: checking for $ac_word" >&5 +echo "configure:1579: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_G77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1564,6 +1583,7 @@@@ ac_cv_prog_G77="$G77" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1590,5 +1610,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1593: checking for $ac_word" >&5 +echo "configure:1613: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1597,6 +1617,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1638,5 +1659,5 @@@@ LIEEELIB= echo $ac_n "checking for main in -lieee""... $ac_c" 1>&6 -echo "configure:1641: checking for main in -lieee" >&5 +echo "configure:1662: checking for main in -lieee" >&5 ac_lib_var=`echo ieee'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -1646,5 +1667,5 @@@@ LIBS="-lieee $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -1686,5 +1707,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1689: checking for $ac_word" >&5 +echo "configure:1710: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1693,6 +1714,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1722,5 +1744,5 @@@@ set dummy g77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1725: checking for $ac_word" >&5 +echo "configure:1747: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_G77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1729,6 +1751,7 @@@@ ac_cv_prog_G77="$G77" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1755,5 +1778,5 @@@@ set dummy f2c; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1758: checking for $ac_word" >&5 +echo "configure:1781: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F2C'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1762,6 +1785,7 @@@@ ac_cv_prog_F2C="$F2C" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1810,5 +1834,5 @@@@ set dummy f77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1813: checking for $ac_word" >&5 +echo "configure:1837: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1817,6 +1841,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1876,5 +1901,5 @@@@ set dummy f77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1879: checking for $ac_word" >&5 +echo "configure:1904: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1883,6 +1908,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -1943,5 +1969,5 @@@@ set dummy fort77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1946: checking for $ac_word" >&5 +echo "configure:1972: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1950,6 +1976,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -2009,5 +2036,5 @@@@ set dummy fort77; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2012: checking for $ac_word" >&5 +echo "configure:2039: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -2016,6 +2043,7 @@@@ 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -2097,4 +2125,224 @@@@ 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' + echo $ac_n "checking if the linker accepts --export-dynamic""... $ac_c" 1>&6 +echo "configure:2167: checking if the linker accepts --export-dynamic" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 + CC_LDFLAGS="$CC_LDFLAGS -Wl,--export-dynamic" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + echo "$ac_t""no" 1>&6 +fi +rm -f conftest* + LDFLAGS="$ac_save_LDFLAGS" + + # + # Fortran Compiler + # + if test "$with_f2c" = yes; then + for ac_prog in f2c-f77 +do +# Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2198: 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=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_F77="$ac_prog" + break + fi + done + IFS="$ac_save_ifs" +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 + +test -n "$F77" && break +done +test -n "$F77" || F77="no" + + if test "$F77" = no; then + { echo "configure: error: Unable to configure: Fortran compiler f2c-f77 not found" 1>&2; exit 1; } + fi + else + for ac_prog in "${FC}" f77 f2c-f77 +do +# Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2237: 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=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_F77="$ac_prog" + break + fi + done + IFS="$ac_save_ifs" +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 + +test -n "$F77" && break +done +test -n "$F77" || F77="no" + + if test "$F77" = no; then + { echo "configure: error: Unable to configure: Fortran, f77 or f2c-f77, compiler not found" 1>&2; exit 1; } + 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' + echo $ac_n "checking if the linker accepts --export-dynamic""... $ac_c" 1>&6 +echo "configure:2282: checking if the linker accepts --export-dynamic" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 + FC_LDFLAGS="$FC_LDFLAGS -Wl,--export-dynamic" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + echo "$ac_t""no" 1>&6 +fi +rm -f conftest* + LDFLAGS="$ac_save_LDFLAGS" + + + # + # Linker + # + LD=ld + LD_LDFLAGS="-R${X11BASE}/lib" + # check for --export-dynamic + ac_save_LDFLAGS="$LDFLAGS" + LDFLAGS='-Wl,--export-dynamic' + echo $ac_n "checking if the linker accepts --export-dynamic""... $ac_c" 1>&6 +echo "configure:2314: checking if the linker accepts --export-dynamic" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 + LD_LDFLAGS="$LD_LDFLAGS --export-dynamic" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + echo "$ac_t""no" 1>&6 +fi +rm -f conftest* + 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 + ;; + *) { echo "configure: error: "Unable to configure for host $host"" 1>&2; exit 1; } @@@@ -2112,5 +2360,5 @@@@ set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2115: checking for $ac_word" >&5 +echo "configure:2363: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -2119,6 +2367,7 @@@@ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@@@ -2144,5 +2393,5 @@@@ if test "$PERIFILE" = periX11.o; then echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:2147: checking how to run the C preprocessor" >&5 +echo "configure:2396: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@@@ -2159,5 +2408,5 @@@@ # not just through cpp. cat > conftest.$ac_ext < @@@@ -2165,6 +2414,6 @@@@ EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:2417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@@@ -2176,5 +2425,22 @@@@ CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:2434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < @@@@ -2182,6 +2448,6 @@@@ EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:2451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@@@ -2196,4 +2462,6 @@@@ fi rm -f conftest* +fi +rm -f conftest* ac_cv_prog_CPP="$CPP" fi @@@@ -2209,5 +2477,5 @@@@ # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:2212: checking for X" >&5 +echo "configure:2480: checking for X" >&5 # Check whether --with-x or --without-x was given. @@@@ -2271,11 +2539,11 @@@@ # 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:2279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:2547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@@@ -2345,5 +2613,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:2623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* LIBS="$ac_save_LIBS" @@@@ -2458,8 +2726,8 @@@@ "SunOS 5"*) echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 -echo "configure:2461: checking whether -R must be followed by a space" >&5 +echo "configure:2729: 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:2739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_nospace=yes @@@@ -2484,5 +2752,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:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_space=yes @@@@ -2523,5 +2791,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:2526: checking for dnet_ntoa in -ldnet" >&5 +echo "configure:2794: 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 @@@@ -2531,5 +2799,5 @@@@ LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2564,5 +2832,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:2567: checking for dnet_ntoa in -ldnet_stub" >&5 +echo "configure:2835: 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 @@@@ -2572,5 +2840,5 @@@@ LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2612,10 +2880,10 @@@@ # on Irix 5.2, according to dickey@@clark.net. echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:2615: checking for gethostbyname" >&5 +echo "configure:2883: 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:2911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes" @@@@ -2661,5 +2929,5 @@@@ if test $ac_cv_func_gethostbyname = no; then echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:2664: checking for gethostbyname in -lnsl" >&5 +echo "configure:2932: 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 @@@@ -2669,5 +2937,5 @@@@ LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2710,10 +2978,10 @@@@ # We assume that if connect needs -lnsl, so does gethostbyname. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:2713: checking for connect" >&5 +echo "configure:2981: 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:3009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_connect=yes" @@@@ -2759,5 +3027,5 @@@@ if test $ac_cv_func_connect = no; then echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:2762: checking for connect in -lsocket" >&5 +echo "configure:3030: 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 @@@@ -2767,5 +3035,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:3049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2802,10 +3070,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:2805: checking for remove" >&5 +echo "configure:3073: 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:3101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_remove=yes" @@@@ -2851,5 +3119,5 @@@@ if test $ac_cv_func_remove = no; then echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:2854: checking for remove in -lposix" >&5 +echo "configure:3122: 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 @@@@ -2859,5 +3127,5 @@@@ LIBS="-lposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2894,10 +3162,10 @@@@ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:2897: checking for shmat" >&5 +echo "configure:3165: 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:3193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_shmat=yes" @@@@ -2943,5 +3211,5 @@@@ if test $ac_cv_func_shmat = no; then echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:2946: checking for shmat in -lipc" >&5 +echo "configure:3214: 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 @@@@ -2951,5 +3219,5 @@@@ LIBS="-lipc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -2995,5 +3263,5 @@@@ # --interran@@uluru.Stanford.EDU, kb@@cs.umb.edu. echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 -echo "configure:2998: checking for IceConnectionNumber in -lICE" >&5 +echo "configure:3266: 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 @@@@ -3001,7 +3269,7 @@@@ else ac_save_LIBS="$LIBS" -LIBS="-lICE $LIBS" +LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3055,5 +3323,5 @@@@ if test "$PERIFILE" = periX11.o; then echo $ac_n "checking "for X11 release"""... $ac_c" 1>&6 -echo "configure:3058: checking "for X11 release"" >&5 +echo "configure:3326: checking "for X11 release"" >&5 if eval "test \"`echo '$''{'ac_cv_X11_release'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -3104,5 +3372,5 @@@@ fi echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 -echo "configure:3107: checking for main in -lXmu" >&5 +echo "configure:3375: 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 @@@@ -3112,5 +3380,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:3390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3141,5 +3409,5 @@@@ echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 -echo "configure:3144: checking for main in -lXaw" >&5 +echo "configure:3412: 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 @@@@ -3149,5 +3417,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:3427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3201,5 +3469,5 @@@@ echo $ac_n "checking "for leading and/or trailing underscores"""... $ac_c" 1>&6 -echo "configure:3204: checking "for leading and/or trailing underscores"" >&5 +echo "configure:3472: checking "for leading and/or trailing underscores"" >&5 cat << EOF > pipof.f subroutine pipof @@@@ -3253,7 +3521,7 @@@@ echo $ac_n "checking "for use of sharpsign in CPP"""... $ac_c" 1>&6 -echo "configure:3256: checking "for use of sharpsign in CPP"" >&5 +echo "configure:3524: checking "for use of sharpsign in CPP"" >&5 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 @@@@ -3281,5 +3549,5 @@@@ ############################################################## echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:3284: checking for main in -lm" >&5 +echo "configure:3552: 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 @@@@ -3289,5 +3557,5 @@@@ LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3326,10 +3594,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3329: checking for $ac_func" >&5 +echo "configure:3597: 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:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3381,10 +3649,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3384: checking for $ac_func" >&5 +echo "configure:3652: 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:3680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3436,10 +3704,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3439: checking for $ac_func" >&5 +echo "configure:3707: 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:3735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3491,10 +3759,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3494: checking for $ac_func" >&5 +echo "configure:3762: 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:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3546,10 +3814,10 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3549: checking for $ac_func" >&5 +echo "configure:3817: 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:3845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" @@@@ -3599,4 +3867,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:3877: 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:3887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +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 @@@@ -3604,5 +3916,5 @@@@ TERMCAPLIB=no echo $ac_n "checking for main in -ltermcap""... $ac_c" 1>&6 -echo "configure:3607: checking for main in -ltermcap" >&5 +echo "configure:3919: 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 @@@@ -3612,5 +3924,5 @@@@ LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3641,5 +3953,5 @@@@ if test "$TERMCAPLIB" = no; then echo $ac_n "checking for main in -ltermlib""... $ac_c" 1>&6 -echo "configure:3644: checking for main in -ltermlib" >&5 +echo "configure:3956: 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 @@@@ -3649,5 +3961,5 @@@@ LIBS="-ltermlib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3679,5 +3991,5 @@@@ if test "$TERMCAPLIB" = no; then echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6 -echo "configure:3682: checking for main in -lcurses" >&5 +echo "configure:3994: 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 @@@@ -3687,5 +3999,5 @@@@ LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3738,29 +4050,29 @@@@ if test "$with_pvm" != no; then -echo $ac_n "checking "for PVM architecture"""... $ac_c" 1>&6 -echo "configure:3742: checking "for PVM architecture"" >&5 + echo $ac_n "checking "for PVM architecture"""... $ac_c" 1>&6 +echo "configure:4054: checking "for PVM architecture"" >&5 if eval "test \"`echo '$''{'ac_cv_PVM_arch'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else -ac_cv_PVM_arch=`./pvm3/lib/pvmgetarch` - + ac_cv_PVM_arch=`${LOCALBASE}/pvm3/lib/pvmgetarch` + fi echo "$ac_t""$ac_cv_PVM_arch" 1>&6 -if test "$ac_cv_PVM_arch" = UNKNOWN; then - echo "configure: warning: "PVM unable to find architecture: I will not use PVM"" 1>&2 -else - cat >> confdefs.h <<\EOF + if test "$ac_cv_PVM_arch" = UNKNOWN; then + echo "configure: warning: "PVM unable to find architecture: I will not use PVM"" 1>&2 + else + cat >> confdefs.h <<\EOF #define WITH_PVM 1 EOF - 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 + 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 @@@@ -3822,5 +4134,5 @@@@ echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 -echo "configure:3825: checking for main in -ldl" >&5 +echo "configure:4137: 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 @@@@ -3830,5 +4142,5 @@@@ LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -3878,5 +4190,5 @@@@ echo $ac_n " Testing version (need $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later)... " $ac_c cat > conftest.$ac_ext <&6 -echo "configure:3966: checking for Tcl_DoOneEvent in -lm" >&5 +echo "configure:4278: checking for Tcl_DoOneEvent in -lm" >&5 ac_lib_var=`echo m'_'Tcl_DoOneEvent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -3971,5 +4283,5 @@@@ LIBS="-lm $m $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:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -4045,5 +4357,5 @@@@ echo $ac_n " Testing version (need $CHK_TK_MAJOR.$CHK_TK_MINOR or later)... " $ac_c cat > conftest.$ac_ext <&6 -echo "configure:4129: checking for Tk_BindEvent in -lm" >&5 +echo "configure:4441: checking for Tk_BindEvent in -lm" >&5 ac_lib_var=`echo m'_'Tk_BindEvent | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then @@@@ -4134,5 +4446,5 @@@@ LIBS="-lm $m -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:4460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" @@@@ -4286,5 +4598,5 @@@@ # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | - case `(ac_space=' '; set) 2>&1` in + case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution @@@@ -4353,5 +4665,5 @@@@ exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.12" + echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) @@@@ -4372,7 +4684,9 @@@@ $ac_vpsub $extrasub +s%@@SHELL@@%$SHELL%g s%@@CFLAGS@@%$CFLAGS%g s%@@CPPFLAGS@@%$CPPFLAGS%g s%@@CXXFLAGS@@%$CXXFLAGS%g +s%@@FFLAGS@@%$FFLAGS%g s%@@DEFS@@%$DEFS%g s%@@LDFLAGS@@%$LDFLAGS%g @ 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 @d1 1 a1 1 $NetBSD$ @ 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.orig Thu Sep 17 09:06:23 1998 +++ configure Mon Oct 4 21:53:01 1999 d658 1 a658 1 + for ac_prog in f77 f2c-f77 d698 1 a698 1 + FC=$F77 d1460 1 a1460 1 @@@@ -3738,30 +4050,52 @@@@ a1464 3 +case "$host" in + *-*-netbsd*) + ## with NetBSD, use the version of pvm3 which is part of the package collection d1466 1 a1466 18 +echo "configure:4057: checking "for PVM architecture"" >&5 + echo "$ac_t"""NETBSD"" 1>&6 + cat >> confdefs.h <<\EOF +#define WITH_PVM 1 +EOF + + PVMARCH=NETBSD + PVMLIB=${LOCALBASE}/lib/libpvm3.a + PVMGLIB=${LOCALBASE}/lib/libgpvm3.a + PVMSCIDIR=pvm + PVMSCILIB=libs/pvm.a + PVMTARGET=pvm-no-build + ;; + + *) + + echo $ac_n "checking "for PVM architecture"""... $ac_c" 1>&6 +echo "configure:4074: checking "for PVM architecture"" >&5 d1473 1 a1473 1 + ac_cv_PVM_arch=`./pvm3/lib/pvmgetarch` d1497 2 a1498 2 + PVMGLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a" + PVMLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a" d1501 1 a1501 1 + PVMTARGET=scilex-lib a1502 1 + ;; a1503 1 +esac d1505 1 a1505 2 @@@@ -3822,5 +4156,5 @@@@ d1509 1 a1509 1 +echo "configure:4159: checking for main in -ldl" >&5 d1512 1 a1512 1 @@@@ -3830,5 +4164,5 @@@@ d1516 1 a1516 1 +#line 4167 "configure" d1519 1 a1519 1 @@@@ -3837,5 +4171,5 @@@@ d1523 1 a1523 1 +if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1526 1 a1526 1 @@@@ -3878,5 +4212,5 @@@@ d1530 1 a1530 1 +#line 4215 "configure" d1533 1 a1533 1 @@@@ -3963,5 +4297,5 @@@@ d1537 1 a1537 1 +echo "configure:4300: checking for Tcl_DoOneEvent in -lm" >&5 d1540 1 a1540 1 @@@@ -3971,5 +4305,5 @@@@ d1544 1 a1544 1 +#line 4308 "configure" d1547 1 a1547 1 @@@@ -3982,5 +4316,5 @@@@ d1551 1 a1551 1 +if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1554 1 a1554 1 @@@@ -4045,5 +4379,5 @@@@ d1558 1 a1558 1 +#line 4382 "configure" d1561 1 a1561 1 @@@@ -4126,5 +4460,5 @@@@ d1565 1 a1565 1 +echo "configure:4463: checking for Tk_BindEvent in -lm" >&5 d1568 1 a1568 1 @@@@ -4134,5 +4468,5 @@@@ d1572 1 a1572 1 +#line 4471 "configure" d1575 1 a1575 1 @@@@ -4145,5 +4479,5 @@@@ d1579 1 a1579 1 +if { (eval echo configure:4482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1582 1 a1582 1 @@@@ -4286,5 +4620,5 @@@@ d1589 1 a1589 1 @@@@ -4353,5 +4687,5 @@@@ d1596 1 a1596 1 @@@@ -4372,7 +4706,9 @@@@ @ 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 548 a551 2 +++ configure Fri Jan 15 22:16:45 1999 @@@@ -2097,4 +2097,181 @@@@ d593 1 a593 1 +echo "configure:2139: checking if the linker accepts --export-dynamic" >&5 d595 1 a595 1 +#line 2141 "configure" d602 1 a602 1 +if { (eval echo configure:2148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d618 41 a658 1 + for ac_prog in f77 f2c-f77 d663 1 a663 1 +echo "configure:2169: checking for $ac_word" >&5 d670 3 a672 2 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do d693 3 a695 2 + if test "$F77" = no; then + { echo "configure: error: Unable to configure: Fortran, f77 or f2c-f77, compiler not found" 1>&2; exit 1; } d703 1 d708 1 a708 1 +echo "configure:2211: checking if the linker accepts --export-dynamic" >&5 d710 1 a710 1 +#line 2213 "configure" d717 1 a717 1 +if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d740 1 a740 1 +echo "configure:2243: checking if the linker accepts --export-dynamic" >&5 d742 1 a742 1 +#line 2245 "configure" d749 1 a749 1 +if { (eval echo configure:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d776 1 a776 1 @@@@ -2112,5 +2289,5 @@@@ d780 1 a780 1 +echo "configure:2292: checking for $ac_word" >&5 d783 11 a793 1 @@@@ -2144,5 +2321,5 @@@@ d797 1 a797 1 +echo "configure:2324: checking how to run the C preprocessor" >&5 d800 1 a800 1 @@@@ -2159,5 +2336,5 @@@@ d804 1 a804 1 +#line 2339 "configure" d807 1 a807 1 @@@@ -2165,5 +2342,5 @@@@ d811 3 a813 2 +{ (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d815 2 a816 1 @@@@ -2176,5 +2353,5 @@@@ d820 18 a837 1 +#line 2356 "configure" d840 1 a840 1 @@@@ -2182,5 +2359,5 @@@@ d844 3 a846 2 +{ (eval echo configure:2362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d848 9 a856 1 @@@@ -2209,5 +2386,5 @@@@ d860 1 a860 1 +echo "configure:2389: checking for X" >&5 d863 1 a863 1 @@@@ -2271,10 +2448,10 @@@@ d867 1 a867 1 +#line 2451 "configure" d873 3 a875 2 +{ (eval echo configure:2456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d877 2 a878 1 @@@@ -2345,5 +2522,5 @@@@ d882 1 a882 1 +#line 2525 "configure" d885 1 a885 1 @@@@ -2352,5 +2529,5 @@@@ d889 1 a889 1 +if { (eval echo configure:2532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d892 1 a892 1 @@@@ -2458,8 +2635,8 @@@@ d896 1 a896 1 +echo "configure:2638: checking whether -R must be followed by a space" >&5 d900 1 a900 1 +#line 2641 "configure" d903 1 a903 1 @@@@ -2468,5 +2645,5 @@@@ d907 1 a907 1 +if { (eval echo configure:2648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d910 1 a910 1 @@@@ -2484,5 +2661,5 @@@@ d914 1 a914 1 +#line 2664 "configure" d917 1 a917 1 @@@@ -2491,5 +2668,5 @@@@ d921 1 a921 1 +if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d924 1 a924 1 @@@@ -2523,5 +2700,5 @@@@ d928 1 a928 1 +echo "configure:2703: checking for dnet_ntoa in -ldnet" >&5 d931 1 a931 1 @@@@ -2531,5 +2708,5 @@@@ d935 1 a935 1 +#line 2711 "configure" d938 1 a938 1 @@@@ -2542,5 +2719,5 @@@@ d942 1 a942 1 +if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d945 1 a945 1 @@@@ -2564,5 +2741,5 @@@@ d949 1 a949 1 +echo "configure:2744: checking for dnet_ntoa in -ldnet_stub" >&5 d952 1 a952 1 @@@@ -2572,5 +2749,5 @@@@ d956 1 a956 1 +#line 2752 "configure" d959 1 a959 1 @@@@ -2583,5 +2760,5 @@@@ d963 1 a963 1 +if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d966 1 a966 1 @@@@ -2612,10 +2789,10 @@@@ d970 1 a970 1 +echo "configure:2792: checking for gethostbyname" >&5 d976 1 a976 1 +#line 2797 "configure" d979 1 a979 1 @@@@ -2640,5 +2817,5 @@@@ d983 1 a983 1 +if { (eval echo configure:2820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d986 1 a986 1 @@@@ -2661,5 +2838,5 @@@@ d990 1 a990 1 +echo "configure:2841: checking for gethostbyname in -lnsl" >&5 d993 1 a993 1 @@@@ -2669,5 +2846,5 @@@@ d997 1 a997 1 +#line 2849 "configure" d1000 1 a1000 1 @@@@ -2680,5 +2857,5 @@@@ d1004 1 a1004 1 +if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1007 1 a1007 1 @@@@ -2710,10 +2887,10 @@@@ d1011 1 a1011 1 +echo "configure:2890: checking for connect" >&5 d1017 1 a1017 1 +#line 2895 "configure" d1020 1 a1020 1 @@@@ -2738,5 +2915,5 @@@@ d1024 1 a1024 1 +if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1027 1 a1027 1 @@@@ -2759,5 +2936,5 @@@@ d1031 1 a1031 1 +echo "configure:2939: checking for connect in -lsocket" >&5 d1034 1 a1034 1 @@@@ -2767,5 +2944,5 @@@@ d1038 1 a1038 1 +#line 2947 "configure" d1041 1 a1041 1 @@@@ -2778,5 +2955,5 @@@@ d1045 1 a1045 1 +if { (eval echo configure:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1048 1 a1048 1 @@@@ -2802,10 +2979,10 @@@@ d1052 1 a1052 1 +echo "configure:2982: checking for remove" >&5 d1058 1 a1058 1 +#line 2987 "configure" d1061 1 a1061 1 @@@@ -2830,5 +3007,5 @@@@ d1065 1 a1065 1 +if { (eval echo configure:3010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1068 1 a1068 1 @@@@ -2851,5 +3028,5 @@@@ d1072 1 a1072 1 +echo "configure:3031: checking for remove in -lposix" >&5 d1075 1 a1075 1 @@@@ -2859,5 +3036,5 @@@@ d1079 1 a1079 1 +#line 3039 "configure" d1082 1 a1082 1 @@@@ -2870,5 +3047,5 @@@@ d1086 1 a1086 1 +if { (eval echo configure:3050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1089 1 a1089 1 @@@@ -2894,10 +3071,10 @@@@ d1093 1 a1093 1 +echo "configure:3074: checking for shmat" >&5 d1099 1 a1099 1 +#line 3079 "configure" d1102 1 a1102 1 @@@@ -2922,5 +3099,5 @@@@ d1106 1 a1106 1 +if { (eval echo configure:3102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1109 1 a1109 1 @@@@ -2943,5 +3120,5 @@@@ d1113 1 a1113 1 +echo "configure:3123: checking for shmat in -lipc" >&5 d1116 1 a1116 1 @@@@ -2951,5 +3128,5 @@@@ d1120 1 a1120 1 +#line 3131 "configure" d1123 1 a1123 1 @@@@ -2962,5 +3139,5 @@@@ d1127 1 a1127 1 +if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1130 1 a1130 1 @@@@ -2995,5 +3172,5 @@@@ d1134 1 a1134 1 +echo "configure:3175: checking for IceConnectionNumber in -lICE" >&5 d1137 5 a1141 2 @@@@ -3003,5 +3180,5 @@@@ LIBS="-lICE $LIBS" d1144 1 a1144 1 +#line 3183 "configure" d1147 1 a1147 1 @@@@ -3014,5 +3191,5 @@@@ d1151 1 a1151 1 +if { (eval echo configure:3194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1154 1 a1154 1 @@@@ -3055,5 +3232,5 @@@@ d1158 1 a1158 1 +echo "configure:3235: checking "for X11 release"" >&5 d1161 1 a1161 1 @@@@ -3104,5 +3281,5 @@@@ d1165 1 a1165 1 +echo "configure:3284: checking for main in -lXmu" >&5 d1168 1 a1168 1 @@@@ -3112,5 +3289,5 @@@@ d1172 1 a1172 1 +#line 3292 "configure" d1175 1 a1175 1 @@@@ -3119,5 +3296,5 @@@@ d1179 1 a1179 1 +if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1182 1 a1182 1 @@@@ -3141,5 +3318,5 @@@@ d1186 1 a1186 1 +echo "configure:3321: checking for main in -lXaw" >&5 d1189 1 a1189 1 @@@@ -3149,5 +3326,5 @@@@ d1193 1 a1193 1 +#line 3329 "configure" d1196 1 a1196 1 @@@@ -3156,5 +3333,5 @@@@ d1200 1 a1200 1 +if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1203 1 a1203 1 @@@@ -3201,5 +3378,5 @@@@ d1207 1 a1207 1 +echo "configure:3381: checking "for leading and/or trailing underscores"" >&5 d1210 1 a1210 1 @@@@ -3253,7 +3430,7 @@@@ d1214 1 a1214 1 +echo "configure:3433: checking "for use of sharpsign in CPP"" >&5 d1217 1 a1217 1 +#line 3435 "configure" d1220 1 a1220 1 @@@@ -3262,5 +3439,5 @@@@ d1224 1 a1224 1 +if { (eval echo configure:3442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1227 1 a1227 1 @@@@ -3281,5 +3458,5 @@@@ d1231 1 a1231 1 +echo "configure:3461: checking for main in -lm" >&5 d1234 1 a1234 1 @@@@ -3289,5 +3466,5 @@@@ d1238 1 a1238 1 +#line 3469 "configure" d1241 1 a1241 1 @@@@ -3296,5 +3473,5 @@@@ d1245 1 a1245 1 +if { (eval echo configure:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1248 1 a1248 1 @@@@ -3326,10 +3503,10 @@@@ d1252 1 a1252 1 +echo "configure:3506: checking for $ac_func" >&5 d1258 1 a1258 1 +#line 3511 "configure" d1261 1 a1261 1 @@@@ -3354,5 +3531,5 @@@@ d1265 1 a1265 1 +if { (eval echo configure:3534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1268 1 a1268 1 @@@@ -3381,10 +3558,10 @@@@ d1272 1 a1272 1 +echo "configure:3561: checking for $ac_func" >&5 d1278 1 a1278 1 +#line 3566 "configure" d1281 1 a1281 1 @@@@ -3409,5 +3586,5 @@@@ d1285 1 a1285 1 +if { (eval echo configure:3589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1288 1 a1288 1 @@@@ -3436,10 +3613,10 @@@@ d1292 1 a1292 1 +echo "configure:3616: checking for $ac_func" >&5 d1298 1 a1298 1 +#line 3621 "configure" d1301 1 a1301 1 @@@@ -3464,5 +3641,5 @@@@ d1305 1 a1305 1 +if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1308 1 a1308 1 @@@@ -3491,10 +3668,10 @@@@ d1312 1 a1312 1 +echo "configure:3671: checking for $ac_func" >&5 d1318 1 a1318 1 +#line 3676 "configure" d1321 1 a1321 1 @@@@ -3519,5 +3696,5 @@@@ d1325 1 a1325 1 +if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1328 1 a1328 1 @@@@ -3546,10 +3723,10 @@@@ d1332 1 a1332 1 +echo "configure:3726: checking for $ac_func" >&5 d1338 1 a1338 1 +#line 3731 "configure" d1341 1 a1341 1 @@@@ -3574,5 +3751,5 @@@@ d1345 1 a1345 1 +if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1348 1 a1348 1 @@@@ -3599,4 +3776,48 @@@@ d1358 1 a1358 1 +echo "configure:3786: checking for $ac_hdr" >&5 d1363 1 a1363 1 +#line 3791 "configure" d1368 2 a1369 2 +{ (eval echo configure:3796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out` d1397 1 a1397 1 @@@@ -3604,5 +3825,5 @@@@ d1401 1 a1401 1 +echo "configure:3828: checking for main in -ltermcap" >&5 d1404 1 a1404 1 @@@@ -3612,5 +3833,5 @@@@ d1408 1 a1408 1 +#line 3836 "configure" d1411 1 a1411 1 @@@@ -3619,5 +3840,5 @@@@ d1415 1 a1415 1 +if { (eval echo configure:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1418 1 a1418 1 @@@@ -3641,5 +3862,5 @@@@ d1422 1 a1422 1 +echo "configure:3865: checking for main in -ltermlib" >&5 d1425 1 a1425 1 @@@@ -3649,5 +3870,5 @@@@ d1429 1 a1429 1 +#line 3873 "configure" d1432 1 a1432 1 @@@@ -3656,5 +3877,5 @@@@ d1436 1 a1436 1 +if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1439 1 a1439 1 @@@@ -3679,5 +3900,5 @@@@ d1443 1 a1443 1 +echo "configure:3903: checking for main in -lcurses" >&5 d1446 1 a1446 1 @@@@ -3687,5 +3908,5 @@@@ d1450 1 a1450 1 +#line 3911 "configure" d1453 1 a1453 1 @@@@ -3694,5 +3915,5 @@@@ d1457 1 a1457 1 +if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1460 1 a1460 1 @@@@ -3738,30 +3959,52 @@@@ d1469 1 a1469 1 +echo "configure:3966: checking "for PVM architecture"" >&5 d1486 1 a1486 1 +echo "configure:3983: checking "for PVM architecture"" >&5 d1528 1 a1528 1 @@@@ -3822,5 +4065,5 @@@@ d1532 1 a1532 1 +echo "configure:4068: checking for main in -ldl" >&5 d1535 1 a1535 1 @@@@ -3830,5 +4073,5 @@@@ d1539 1 a1539 1 +#line 4076 "configure" d1542 1 a1542 1 @@@@ -3837,5 +4080,5 @@@@ d1546 1 a1546 1 +if { (eval echo configure:4083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1549 1 a1549 1 @@@@ -3878,5 +4121,5 @@@@ d1553 1 a1553 1 +#line 4124 "configure" d1556 1 a1556 1 @@@@ -3963,5 +4206,5 @@@@ d1560 1 a1560 1 +echo "configure:4209: checking for Tcl_DoOneEvent in -lm" >&5 d1563 1 a1563 1 @@@@ -3971,5 +4214,5 @@@@ d1567 1 a1567 1 +#line 4217 "configure" d1570 1 a1570 1 @@@@ -3982,5 +4225,5 @@@@ d1574 1 a1574 1 +if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1577 1 a1577 1 @@@@ -4045,5 +4288,5 @@@@ d1581 1 a1581 1 +#line 4291 "configure" d1584 1 a1584 1 @@@@ -4126,5 +4369,5 @@@@ d1588 1 a1588 1 +echo "configure:4372: checking for Tk_BindEvent in -lm" >&5 d1591 1 a1591 1 @@@@ -4134,5 +4377,5 @@@@ d1595 1 a1595 1 +#line 4380 "configure" d1598 1 a1598 1 @@@@ -4145,5 +4388,5 @@@@ d1602 1 a1602 1 +if { (eval echo configure:4391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1605 24 @ 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 970 a972 8 --- ./pvm3/src/pmsg.c.orig Sat Jul 18 22:31:49 1998 +++ ./pvm3/src/pmsg.c Sat Jul 18 22:31:48 1998 @@@@ -88,4 +88,5 @@@@ #include +#include #ifdef NEEDMENDIAN #include @