1 dnl Process this file with autoconf to produce a configure script.
2 ## Copyright INRIA/Enpc
4 AC_REVISION($Revision: 1.72 $)dnl
7 AC_CONFIG_AUX_DIR(config)
8 AC_CONFIG_HEADER(routines/machine.h)
9 ## AC_CONFIG_HEADER(routines/stack.h)
12 dnl use "config.guess" and "config.sub" from directory "config"
16 ac_default_prefix=/usr
18 #################################
19 ## all the --with-* argument help
20 #################################
23 [ --enable-debug compile with "-g" option and do not optimize ])
26 [ --with-gcc use gcc C compiler ])
29 [ --with-g77 use g77 Fortran compiler ])
32 [ --with-gnu use gcc C compiler and g77 Fortran compiler ])
34 AC_ARG_WITH(intelcompilers,
35 [ --with-intelcompilers use intel ecc and efc Fortran compiler ])
38 [ --with-f2c use f2c C compiler on Linux systems ])
40 AC_ARG_WITH(local-xaw,
41 [ --with-local-xaw use Xaw widgets given with Scilab (not recommended) ])
44 [ --without-xaw3d do not use Xaw3d widgets ])
47 [ --without-pvm do not compile with PVM library ])
50 [ --without-tk do not compile with TCL/TK ])
53 [ --with-gtk use Gtk widgets ])
56 [ --with-gtk2 use Gtk widgets ])
59 [ --with-addedf2c build a local f2c (routines/f2c)])
61 #################################
62 ## check this is a source version
63 #################################
65 if test -f .binary; then
66 echo "Humm... this is a binary version";
67 echo " you'd better read the README file first."
71 ###############################
72 ## creating Path.incl if needed
73 ###############################
75 # change scidir for mingw/cygwin
78 *-*-cygwin* | *-*-mingw32*)
79 SCIDIR=`echo $SCIDIR | sed -e 's+/cygdrive/\([[a-zA-Z]]*\)/+\1:/+g' `
83 if test -f Path.incl; then
84 PATH_INCL=`cat Path.incl`
86 if test "$PATH_INCL" != "SCIDIR=$SCIDIR"; then
87 echo "creating Path.incl"
88 cat << EOF > Path.incl
93 ###############################
95 ###############################
97 SCIVERSION=`cat Version.incl | sed -e "s/SCIVERSION=//" `
100 ########################
101 ## removing and cleaning
102 ########################
105 FILES_TO_CLEAN='*.CKP *.ln *.BAK *.bak core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut .*~ *.trace so_locations *.orig *.cos *.obj'
107 #####################################################
108 ## if specific compilers required check if they exist
109 #####################################################
111 if test "$with_gnu" = yes; then
112 # GNU C and Fortran compilers required
113 AC_CHECK_PROG(WITH_GCC,gcc,yes,no)
114 if test "$WITH_GCC" = no; then
115 AC_MSG_ERROR([Unable to configure: gcc compiler not found])
117 AC_CHECK_PROG(WITH_G77,g77,yes,no)
118 if test "$WITH_G77" = no; then
119 AC_MSG_ERROR([Unable to configure: g77 compiler not found])
121 elif test "$with_intelcompilers" = yes; then
122 # intel C and Fortran compilers required
123 AC_CHECK_PROGS(ICC,ecc icc,no)
124 if test "$ICC" = no; then
125 AC_MSG_ERROR([Unable to configure: icc nor ecc compiler found])
127 AC_CHECK_PROGS(IFC,efc ifc,no)
128 if test "$IFC" = no; then
129 AC_MSG_ERROR([Unable to configure: ifc nor efc compiler found])
131 elif test "$with_gcc" = yes; then
133 AC_CHECK_PROG(WITH_GCC,gcc,yes,no)
134 if test "$WITH_GCC" = no; then
135 AC_MSG_ERROR([Unable to configure: gcc compiler not found])
137 elif test "$with_g77" = yes; then
139 AC_CHECK_PROG(WITH_G77,g77,yes,no)
140 if test "$WITH_G77" = no; then
141 AC_MSG_ERROR([Unable to configure: g77 compiler not found])
145 #############################################
146 ## Compilers and options according to machine
147 #############################################
149 # use for making scripts in script directory
150 # different for MIPS Ultrix
152 # scilab script file in script directory: default is "scilab.g" for UNIX
153 # for gcwin32 use "scilab-gcwin32.g"
154 SCILABSCRIPT=scilab.g
155 # Fortran program in routines/sun: default is "fgetarg.f"
156 # for HPUX use "fgetarg-hpux.f"
159 # For old Hp computer (9.x), used in "routines/sun/Makefile.in"
160 # for choosing the good file between link_std.c and link_SYSV.c
162 # Scilab main file: default is "mainsci.o" for UNIX
164 # for graphics: default is X11
165 # different for Win32
167 # specific scilab dirs for graphics: default is "xsci" for X11
168 # different for Win32
170 # specific for gnome/gtk version
172 # specific scilab dirs for xdr: default is void for X11
176 # objects files in routines/menusX: default is XOBJS for UNIX
177 # for Win32 use WOBJS
179 # use other malloc (in "routines/sun" directory) for some 64 bits machines
181 # USE_CDEC directives for Dec Alpha
183 # want to build Scilab f2c too
184 if test "$with_addedf2c" = yes; then
189 # on windows target generating scripts for
190 # printing is useless
191 BLPR_SCRIPTS='$(BPROGRAMS)'
192 # on windows target when generating script
193 # cygdrive/xxx must be replaced by xxx:/
196 # subset of examples which are supposed to work
197 EXAMPLES_TESTS='$(SUBDIRS1) $(SUBDIRS2)'
198 # special stuff for cygwin in impdir
201 # strip executable (not to be done on darwin)
204 #########################
206 #########################
208 echo "configuration of libtool"
212 echo "end of configuration of libtool"
214 #########################
215 # setting parameters according to system types
216 #########################
224 CC_OPTIONS='-std -O -ieee_with_inexact'
225 CC_LDFLAGS='-ieee_with_inexact'
226 if test "$WITH_G77" != yes; then
227 #AC_CHECK_PROG(F77,f77,yes,no)
228 AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no)
229 if test "$F77" = no; then
230 AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found])
235 FC_OPTIONS='-O -fpe3'
236 FC_OPTIONS_O0='-fpe3'
241 if test "$enable_debug" = yes; then
242 CC_OPTIONS='-std -g -ieee_with_inexact'
243 FC_OPTIONS='-g -fpe3'
246 if test "$WITH_GCC" = yes; then
249 if test "$enable_debug" = yes; then
253 if test "$WITH_G77" = yes; then
257 if test "$enable_debug" = yes; then
261 MAKEFILE_TARGET=Makefile.alpha
263 # Dec Alpha not OSF 4 (NO LONGER SUPPORTED)
267 CC_OPTIONS='-O -ieee_with_inexact'
268 CC_LDFLAGS='-ieee_with_inexact'
269 if test "$WITH_G77" != yes; then
270 #AC_CHECK_PROG(F77,f77,yes,no)
271 AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no)
272 if test "$F77" = no; then
273 AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found])
278 FC_OPTIONS='-O -fpe3 -switch nosqrt_recip'
279 FC_OPTIONS_O0='-fpe3 -switch nosqrt_recip'
284 if test "$enable_debug" = yes; then
285 CC_OPTIONS='-g -ieee_with_inexact'
286 FC_OPTIONS='-g -fpe3 -switch nosqrt_recip'
289 if test "$WITH_GCC" = yes; then
292 if test "$enable_debug" = yes; then
296 if test "$WITH_G77" = yes; then
300 if test "$enable_debug" = yes; then
304 MAKEFILE_TARGET=Makefile.alpha
306 # IBM AIX RS 6000 (NO LONGER SUPPORTED)
310 CC_OPTIONS='-Daix -DSYSV'
312 if test "$WITH_G77" != yes; then
313 #AC_CHECK_PROG(F77,f77,yes,no)
314 AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no)
315 if test "$F77" = no; then
316 AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found])
321 FC_OPTIONS='-qcharlen=4096'
322 FC_OPTIONS_O0='-qcharlen=4096'
326 if test "$enable_debug" = yes; then
327 CC_OPTIONS='-g -Daix -DSYSV'
328 FC_OPTIONS='-g -qcharlen=4096'
331 if test "$WITH_GCC" = yes; then
334 if test "$enable_debug" = yes; then
338 if test "$WITH_G77" = yes; then
342 if test "$enable_debug" = yes; then
346 MAKEFILE_TARGET=Makefile.aix
351 AC_CHECK_LIB(ieee,main,
355 CC_OPTIONS='-O -Dlinux -fwritable-strings'
357 # find Fortran compiler
358 # g77 already asked and found: good
359 if test "$WITH_G77" = yes; then
362 elif test "$with_f2c" = yes; then
363 AC_CHECK_PROG(F2C,f2c,yes,no)
364 if test "$F2C" = no; then
365 AC_MSG_ERROR([Unable to configure: f2c compiler not found])
367 # script shell f77 have bugs, get ours
368 FC='${SCIDIR}/bin/f77-linux'
371 AC_CHECK_PROG(WITH_G77,g77,yes,no)
372 if test "$WITH_G77" = yes; then
376 AC_CHECK_PROG(F2C,f2c,yes,no)
377 if test "$F2C" = yes; then
378 # script shell f77 have bugs, get ours
379 FC='${SCIDIR}/bin/f77-linux'
381 AC_MSG_ERROR([Unable to configure: no Fortran compiler found])
387 FC_LDFLAGS="$LIEEELIB -ldl -rdynamic"
390 if test "$enable_debug" = yes; then
391 CC_OPTIONS='-g -Dlinux -fwritable-strings'
394 MAKEFILE_TARGET=Makefile.linux
396 # SUN OS (NO LONGER SUPPORTED)
403 if test "$WITH_G77" != yes; then
404 #AC_CHECK_PROG(F77,f77,yes,no)
405 AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no)
406 if test "$F77" = no; then
407 AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found])
418 if test "$enable_debug" = yes; then
423 if test "$WITH_GCC" = yes; then
427 if test "$enable_debug" = yes; then
431 if test "$WITH_G77" = yes; then
436 if test "$enable_debug" = yes; then
439 FC_LDFLAGS='-Xlinker'
441 MAKEFILE_TARGET=Makefile.sunos
447 CC_OPTIONS='-O -DSVR4 -DSYSV -Dsolaris'
449 if test "$WITH_G77" != yes; then
450 #AC_CHECK_PROG(F77,f77,yes,no)
451 AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no)
452 if test "$F77" = no; then
453 AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found])
463 if test "$enable_debug" = yes; then
464 CC_OPTIONS='-g -DSVR4 -DSYSV -Dsolaris'
468 if test "$WITH_GCC" = yes; then
470 CC_OPTIONS='-O2 -DSVR4 -DSYSV -Dsolaris'
471 if test "$enable_debug" = yes; then
472 CC_OPTIONS='-g -DSVR4 -DSYSV -Dsolaris'
475 if test "$WITH_G77" = yes; then
480 # for solaris 2.7 with gcc/g77 2.95.2, binutils 2.9
481 # the correct value should be
482 # FC_LDFLAGS='-t -Wl,-export-dynamic'
483 # but we need to check this case
484 if test "$enable_debug" = yes; then
488 MAKEFILE_TARGET=Makefile.solaris
490 # Linux, old binary format a.out (NO LONGER SUPPORTED)
493 AC_CHECK_LIB(ieee,main,
497 CC_OPTIONS='-O -Dlinux -fwritable-strings'
499 # find Fortran compiler
500 # g77 already asked and found: good
501 if test "$WITH_G77" = yes; then
504 elif test "$with_f2c" = yes; then
505 AC_CHECK_PROG(F2C,f2c,yes,no)
506 if test "$F2C" = no; then
507 AC_MSG_ERROR([Unable to configure: f2c compiler not found])
509 # script shell f77 have bugs, get ours
510 FC='${SCIDIR}/bin/f77-linux'
513 AC_CHECK_PROG(WITH_G77,g77,yes,no)
514 if test "$WITH_G77" = yes; then
518 AC_CHECK_PROG(F2C,f2c,yes,no)
519 if test "$F2C" = yes; then
520 # script shell f77 have bugs, get ours
521 FC='${SCIDIR}/bin/f77-linux'
523 AC_MSG_ERROR([Unable to configure: no Fortran compiler found])
532 if test "$enable_debug" = yes; then
533 CC_OPTIONS='-g -Dlinux -fwritable-strings'
536 DLDLIB='${SCIDIR}/libs/libdld.a'
538 MAKEFILE_TARGET=Makefile.linux
540 # Linux ELF: all standard distributions
543 AC_CHECK_LIB(ieee,main,
545 if test "$with_intelcompilers" = yes; then
549 CC_OPTIONS='-O -Dlinux -DNARROWPROTO -mp -pc64 -ffnalias -falias '
551 # -cm remove comments displays, -w90 -w95 remove warnings abort f90 f95 non standard
552 FC_OPTIONS="-O -cm -w90 -w95 -mp -pc64 -ffnalias -falias"
553 FC_OPTIONS_O0="-cm -w90 -w95 -mp -pc64 -ffnalias -falias"
554 if test "$enable_debug" = yes; then
555 CC_OPTIONS='-g -Wall -Dlinux -DNARROWPROTO -mp -pc64 -ffnalias -falias'
556 FC_OPTIONS="-g -cm -w90 -w95 -mp -pc64 -ffnalias -falias"
559 FC_LDFLAGS="$LIEEELIB -ldl -lPEPCF90"
561 LD_LDFLAGS="$LIEEELIB"
565 CC_OPTIONS='-O -Dlinux -fwritable-strings -DNARROWPROTO'
568 # find Fortran compiler
569 # g77 already asked and found: good
570 if test "$WITH_G77" = yes; then
574 elif test "$with_f2c" = yes; then
575 AC_CHECK_PROG(F2C,f2c,yes,no)
576 if test "$F2C" = no; then
577 AC_MSG_ERROR([Unable to configure: f2c compiler not found])
579 # script shell f77 have bugs, get ours
580 FC='${SCIDIR}/bin/f77-linux'
583 AC_CHECK_PROG(WITH_G77,g77,yes,no)
584 if test "$WITH_G77" = yes; then
589 AC_CHECK_PROG(F2C,f2c,yes,no)
590 if test "$F2C" = yes; then
591 # script shell f77 have bugs, get ours
592 FC='${SCIDIR}/bin/f77-linux'
594 AC_MSG_ERROR([Unable to configure: no Fortran compiler found])
600 FC_LDFLAGS="$LIEEELIB -ldl -rdynamic"
601 if test "$enable_debug" = yes; then
602 CC_OPTIONS='-g -Wall -Dlinux -fwritable-strings -DNARROWPROTO'
608 MAKEFILE_TARGET=Makefile.linux
610 # Linux gnu: ia64 distributions
613 AC_CHECK_LIB(ieee,main,
616 if test "$with_intelcompilers" = yes; then
620 CC_OPTIONS='-O -Dlinux -DNARROWPROTO -mp'
622 # -cm remove comments displays, -w90 -w95 remove warnings abort f90 f95 non standard
623 FC_OPTIONS="-O -cm -w90 -w95 -mp "
624 FC_OPTIONS_O0="-cm -w90 -w95 -mp "
625 if test "$enable_debug" = yes; then
626 CC_OPTIONS='-g -Wall -Dlinux -DNARROWPROTO -mp '
627 FC_OPTIONS="-g -cm -w90 -w95 -mp "
629 CC_LDFLAGS="$LIEEELIB -Wl,-relax"
630 FC_LDFLAGS="$LIEEELIB -ldl -lPEPCF90 -Wl,-relax "
632 LD_LDFLAGS="$LIEEELIB -lPEPCF90 -Wl,-relax "
636 CC_OPTIONS='-O -Dlinux -fwritable-strings -DNARROWPROTO'
639 # find Fortran compiler
640 # g77 already asked and found: good
641 if test "$WITH_G77" = yes; then
645 elif test "$with_f2c" = yes; then
646 AC_CHECK_PROG(F2C,f2c,yes,no)
647 if test "$F2C" = no; then
648 AC_MSG_ERROR([Unable to configure: f2c compiler not found])
650 # script shell f77 have bugs, get ours
651 FC='${SCIDIR}/bin/f77-linux'
654 AC_CHECK_PROG(WITH_G77,g77,yes,no)
655 if test "$WITH_G77" = yes; then
660 AC_CHECK_PROG(F2C,f2c,yes,no)
661 if test "$F2C" = yes; then
662 # script shell f77 have bugs, get ours
663 FC='${SCIDIR}/bin/f77-linux'
665 AC_MSG_ERROR([Unable to configure: no Fortran compiler found])
671 FC_LDFLAGS="$LIEEELIB -ldl -rdynamic -Wl,-relax"
673 LD_LDFLAGS=$LIEEELIB -Wl,-relax
674 if test "$enable_debug" = yes; then
675 CC_OPTIONS='-g -Wall -Dlinux -fwritable-strings -DNARROWPROTO'
679 MAKEFILE_TARGET=Makefile.linux
686 CC_OPTIONS='-O -mieee-with-inexact -Dlinux -fwritable-strings'
687 CC_LDFLAGS='-ldl -rdynamic -mieee-with-inexact'
689 # find Fortran compiler
690 # g77 already asked and found: good
691 if test "$WITH_G77" = yes; then
694 elif test "$with_f2c" = yes; then
695 AC_CHECK_PROG(F2C,f2c,yes,no)
696 if test "$F2C" = no; then
697 AC_MSG_ERROR([Unable to configure: f2c compiler not found])
699 # script shell f77 have bugs, get ours
700 FC='${SCIDIR}/bin/f77-linux'
703 AC_CHECK_PROG(WITH_G77,g77,yes,no)
704 if test "$WITH_G77" = yes; then
708 AC_CHECK_PROG(F2C,f2c,yes,no)
709 if test "$F2C" = yes; then
710 # script shell f77 have bugs, get ours
711 FC='${SCIDIR}/bin/f77-linux'
713 AC_MSG_ERROR([Unable to configure: no Fortran compiler found])
717 FC_OPTIONS='-O -mieee-with-inexact'
718 FC_OPTIONS_O0='-mieee-with-inexact'
719 FC_LDFLAGS='-ldl -rdynamic -mieee-with-inexact'
722 if test "$enable_debug" = yes; then
723 CC_OPTIONS='-g -mieee-with-inexact -Dlinux -fwritable-strings'
724 FC_OPTIONS='-g -mieee-with-inexact'
726 MAKEFILE_TARGET=Makefile.linux
728 # Mklinux PowerPC (Macintosh)
731 AC_CHECK_LIB(ieee,main,
735 CC_OPTIONS='-O -D_GNU_SOURCE -Dlinux -fwritable-strings'
738 # find Fortran compiler
739 # g77 already asked and found: good
740 if test "$WITH_G77" = yes; then
743 elif test "$with_f2c" = yes; then
744 AC_CHECK_PROG(F2C,f2c,yes,no)
745 if test "$F2C" = no; then
746 AC_MSG_ERROR([Unable to configure: f2c compiler not found])
748 # script shell f77 have bugs, get ours
749 FC='${SCIDIR}/bin/f77-linux'
752 AC_CHECK_PROG(WITH_G77,g77,yes,no)
753 if test "$WITH_G77" = yes; then
757 AC_CHECK_PROG(F2C,f2c,yes,no)
758 if test "$F2C" = yes; then
759 # script shell f77 have bugs, get ours
760 FC='${SCIDIR}/bin/f77-linux'
762 AC_MSG_ERROR([Unable to configure: no Fortran compiler found])
768 FC_LDFLAGS="$LIEEELIB -ldl -rdynamic"
772 if test "$enable_debug" = yes; then
773 CC_OPTIONS='-g -Dlinux -D_GNU_SOURCE -fwritable-strings'
776 MAKEFILE_TARGET=Makefile.linux
778 # SGI MIPS ULTRIX (NO LONGER SUPPORTED)
784 if test "$WITH_G77" != yes; then
785 #AC_CHECK_PROG(F77,f77,yes,no)
786 AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no)
787 if test "$F77" = no; then
788 AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found])
793 FC_OPTIONS='-O0 -fpe1'
794 FC_OPTIONS_O0='-O0 -fpe1'
798 if test "$enable_debug" = yes; then
800 FC_OPTIONS='-g -fpe1'
804 if test "$WITH_GCC" = yes; then
807 if test "$enable_debug" = yes; then
811 if test "$WITH_G77" = yes; then
815 if test "$enable_debug" = yes; then
819 MAKEFILE_TARGET=Makefile.ultrix
825 CC_OPTIONS='-O -DSYSV -DSVR4'
827 if test "$WITH_G77" != yes; then
828 #AC_CHECK_PROG(F77,f77,yes,no)
829 AC_CHECK_PROGS(F77,f77 f90 f2c-f77,no)
830 if test "$F77" = no; then
831 AC_MSG_ERROR([Unable to configure: Fortran f77 compiler not found])
842 if test "$enable_debug" = yes; then
843 CC_OPTIONS='-g -c -DSYSV -DSVR4'
847 if test "$WITH_GCC" = yes; then
850 if test "$enable_debug" = yes; then
854 if test "$WITH_G77" = yes; then
858 if test "$enable_debug" = yes; then
863 MAKEFILE_TARGET=Makefile.sgi
865 # OLD HP (NO LONGER SUPPORTED)
870 CC_OPTIONS='-O -DSYSV -Dhpux'
871 CC_LDFLAGS='-Wl,-a,archive'
872 if test "$WITH_G77" != yes; then
873 #AC_CHECK_PROG(F77,fort77,yes,no)
874 AC_CHECK_PROGS(F77,fort77 f77 f90 f2c-f77,no)
875 if test "$F77" = no; then
876 AC_MSG_ERROR([Unable to configure: Fortran fort77 compiler not found])
881 FC_OPTIONS='-O +Obb1200 +E4'
882 FC_OPTIONS_O0='+Obb1200 +E4'
883 FC_LDFLAGS='-Wl,-a,archive'
885 LD_LDFLAGS='-a archive'
886 if test "$enable_debug" = yes; then
887 CC_OPTIONS='-g -DSYSV -Dhpux'
891 if test "$WITH_GCC" = yes; then
894 if test "$enable_debug" = yes; then
898 if test "$WITH_G77" = yes; then
902 if test "$enable_debug" = yes; then
906 MAKEFILE_TARGET=Makefile.hpux9
913 CC_OPTIONS='-O -DSYSV -Dhpux +Z +DAportable'
914 CC_LDFLAGS='-Wl,+vnocompatwarnings,-E /usr/lib/libdld.sl'
915 if test "$WITH_G77" != yes; then
916 #AC_CHECK_PROG(F77,fort77,yes,no)
917 AC_CHECK_PROGS(F77,fort77 f77 f90 f2c-f77,no)
918 if test "$F77" = no; then
919 AC_MSG_ERROR([Unable to configure: Fortran fort77 compiler not found])
924 AC_F77_LIBRARY_LDFLAGS
925 FC_OPTIONS='+O2 +E4 +Z +DAportable'
926 FC_OPTIONS_O0='+E4 +Z +DAportable'
927 FC_LDFLAGS='-Wl,+vnocompatwarnings,-E /usr/lib/libdld.sl'
930 if test "$enable_debug" = yes; then
931 CC_OPTIONS='-g -DSYSV -Dhpux'
935 if test "$WITH_GCC" = yes; then
938 if test "$enable_debug" = yes; then
942 if test "$WITH_G77" = yes; then
946 if test "$enable_debug" = yes; then
950 MAKEFILE_TARGET=Makefile.hpux
957 CC_OPTIONS='-O -DSYSV -Dhpux +Z +DAportable'
958 CC_LDFLAGS='-Wl,+vnocompatwarnings,-E /usr/lib/libdld.sl'
959 if test "$WITH_G77" != yes; then
960 AC_CHECK_PROGS(F77,fort77 f77 f90 f2c-f77,no)
961 if test "$F77" = no; then
962 AC_MSG_ERROR([Unable to configure: Fortran fort77 compiler not found])
966 AC_F77_LIBRARY_LDFLAGS
967 FC_OPTIONS='+O2 +Z +DAportable'
968 FC_OPTIONS_O0=' +Z +DAportable'
969 FC_LDFLAGS='-Wl,+vnocompatwarnings,-E /usr/lib/libdld.sl'
972 if test "$enable_debug" = yes; then
973 CC_OPTIONS='-g -DSYSV -Dhpux'
977 if test "$WITH_GCC" = yes; then
980 if test "$enable_debug" = yes; then
984 if test "$WITH_G77" = yes; then
988 if test "$enable_debug" = yes; then
992 MAKEFILE_TARGET=Makefile.hpux11
995 cp -f $SCIDIR/pvm3/conf/HPPA.def $SCIDIR/pvm3/conf/HPPA.def.orig
996 cp -f $SCIDIR/pvm3/conf/HPPA11.def $SCIDIR/pvm3/conf/HPPA.def
999 # CYGWIN32 for Windows 9X/NT/XP
1000 # mingw32 is detected
1001 *-*-cygwin* | *-*-mingw32*)
1002 SCILABSCRIPT=scilab-gcwin32.g
1007 XDRLIBNAME='libs/xdr.a'
1010 SED_CYGDRIVE='$(CYGDRIVE)'
1013 # want to build f2c comand
1014 # which is required for building fortran dlls
1015 # which can be loaded into scilab
1018 EXAMPLES_TESTS='$(SUBDIRS1)'
1021 CC_OPTIONS='-mno-cygwin -mieee-fp -O -fwritable-strings -Wall'
1022 if test "$enable_debug" = yes; then
1023 CC_OPTIONS='-mno-cygwin -g -fwritable-strings -Wall'
1027 if test "$WITH_G77" = yes; then
1030 FC_OPTIONS="-O -mno-cygwin"
1031 FC_OPTIONS_O0="-mno-cygwin"
1032 if test "$enable_debug" = yes; then
1033 FC_OPTIONS="-g -mno-cygwin"
1036 if test "$with_f2c" = yes; then
1037 # ignore with_f2c here
1041 LD_LDFLAGS="-mconsole --enable-stdcall-fixup"
1042 WINXFLAGS='-I../xdr'
1043 MAKEFILE_TARGET=Makefile.gcwin32
1045 # FreeBSD systems (not supported by INRIA)
1049 CC_OPTIONS="${CFLAGS} -Dfreebsd"
1052 # script shell f77 have bugs, get ours
1054 FC_OPTIONS="${CFLAGS} -Dfreebsd"
1055 FC_OPTIONS_O0='-Dfreebsd'
1056 FC_LDFLAGS='-lm -Wl,--export-dynamic'
1061 if test "$enable_debug" = yes; then
1062 CC_OPTIONS='-g -Dfreebsd'
1065 if test "$WITH_G77" = yes; then
1066 # On FreeBSD the gnu fortran compiler is named f77
1069 DLDLIB='${SCIDIR}/libs/libdld.a'
1071 MAKEFILE_TARGET=Makefile.freebsd
1074 # NetBSD systems (not supported by INRIA)
1080 CC_OPTIONS="${CFLAGS} -Dnetbsd"
1081 CC_LDFLAGS="${LDFLAGS} -Wl,-R${X11BASE}/lib"
1083 # check for --export-dynamic
1084 ac_save_LDFLAGS="$LDFLAGS"
1085 LDFLAGS='-Wl,--export-dynamic'
1086 AC_MSG_CHECKING([if the linker accepts --export-dynamic])
1089 CC_LDFLAGS=["$CC_LDFLAGS -Wl,--export-dynamic"],
1091 LDFLAGS="$ac_save_LDFLAGS"
1097 AC_F77_LIBRARY_LDFLAGS
1099 FC_OPTIONS="${FFLAGS}"
1100 FC_OPTIONS_O0=`echo $FC_OPTIONS | sed 's/-O[0-9]*//g'`
1101 FC_LDFLAGS="${LDLAGS} -Wl,-R${X11BASE}/lib"
1103 # check for --export-dynamic
1104 ac_save_LDFLAGS="$LDFLAGS"
1105 LDFLAGS='-Wl,--export-dynamic'
1106 AC_MSG_CHECKING([if the linker accepts --export-dynamic])
1109 FC_LDFLAGS=["$FC_LDFLAGS -Wl,--export-dynamic"],
1111 LDFLAGS="$ac_save_LDFLAGS"
1116 LD_LDFLAGS="-R${X11BASE}/lib"
1117 # check for --export-dynamic
1118 ac_save_LDFLAGS="$LDFLAGS"
1119 LDFLAGS='-Wl,--export-dynamic'
1120 AC_MSG_CHECKING([if the linker accepts --export-dynamic])
1123 LD_LDFLAGS=["$LD_LDFLAGS --export-dynamic"],
1125 LDFLAGS="$ac_save_LDFLAGS"
1127 MAKEFILE_TARGET=Makefile.netbsd
1129 # Darwin/MacOSX (Not supported by INRIA)
1134 CC_OPTIONS='-no-cpp-precomp -O2 -I/sw/include'
1137 # script shell f77 have bugs, get ours
1141 FC_LDFLAGS='-L/sw/lib -ldl'
1145 if test "$enable_debug" = yes; then
1146 CC_OPTIONS='-g -I/sw/include '
1149 if test "$WITH_G77" = yes; then
1153 EXAMPLES_TESTS='$(SUBDIRS1)'
1154 # FLIBS generated by libtool config should not be used
1156 # Dyn. loading - ????
1161 MAKEFILE_TARGET=Makefile.darwin
1162 # we need to patch libtool
1163 cp libtool libtool-cp
1164 sed -e 's:\\\\"x\\\$module\\\\" = xyes:\\$module = .yes:' libtool-cp > libtool
1168 AC_MSG_ERROR([Unable to configure for host $host])
1173 # due to g77 Fortran compiler bugs, a few files must not be compiled
1175 # in "routines/control": hqror2.f comqr3.f tql2.f imtql3.f dsvdc.f wsvdc.f
1177 # in "routines/sparse": intreadmps.f
1179 FC_OPTIONS1=$FC_OPTIONS
1180 if test "$WITH_G77" = yes; then
1181 if test "$enable_debug" = yes; then
1182 FC_OPTIONS1=$FC_OPTIONS
1184 FC_OPTIONS1=$FC_OPTIONS_O0
1187 # due overlapping arguments a few files must not be compiled
1188 # with optimizer on some computers (SGI : unsfdcopy.f icopy.f)
1190 FC_OPTIONS2=$FC_OPTIONS
1195 if test "$enable_debug" = yes; then
1196 FC_OPTIONS2=$FC_OPTIONS
1198 FC_OPTIONS2=$FC_OPTIONS_O0
1204 # due to a gcc bug, a few C functions must not be inlined when compiled
1205 # with optimizer: the "floor" function in "routines/graphics/Format.c"
1208 if test "$WITH_GCC" = yes; then
1209 NOINLINE='-D__NO_MATH_INLINES'
1212 # flag for possible compilations in configure
1215 ############################
1216 ## test for various programs
1217 ############################
1218 # Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
1221 ####################
1222 ## test for X Window
1223 ####################
1225 if test "$PERIFILE" = periX11.o; then
1228 # fixing a bug for SunOs
1229 if test "$X_LIBS" = ' -L/usr/lib'; then
1233 if test "$no_x" = yes; then
1234 AC_MSG_ERROR([X Window not found])
1242 if test "$PERIFILE" = periX11.o; then
1243 AC_CACHE_CHECK([for X11 release],ac_cv_X11_release,
1245 cat << EOF > testX11.c
1246 #include <X11/Xlib.h>
1249 #ifdef XlibSpecificationRelease
1250 if (XlibSpecificationRelease == 5)
1252 else if (XlibSpecificationRelease == 6)
1261 eval "$CC $X_CFLAGS -o testX11 testX11.c > /dev/null 2>&1"
1262 ac_cv_X11_release=`./testX11`
1263 $RM testX11.c testX11
1267 ######################################
1268 ## test for Xaw and Xmu Athena widgets
1269 ######################################
1272 if test "$PERIFILE" = periX11.o; then
1273 if test "$with_local_xaw" = yes; then
1274 if test "$ac_cv_X11_release" = R4; then
1275 AC_MSG_ERROR([Local Xaw and Xmu Libraries cannot be used with X11R4])
1277 XAWLIB='$(SCIDIR)/libs/libXaw.a'
1278 XMULIB='$(SCIDIR)/libs/libXmu.a'
1279 XAW_LOCAL_LIB='$(SCIDIR)/libs/libXaw.a $(SCIDIR)/libs/libXmu.a'
1280 XAW_LOCAL_INCLUDES='-I$(SCIDIR)/routines'
1281 XAW_LOCAL_SUBDIR=X11
1285 ac_save_LDFLAGS="$LDFLAGS"
1286 if test -n "$x_libraries"; then
1287 LDFLAGS="$LDFLAGS -L$x_libraries -R$x_libraries"
1289 AC_CHECK_LIB(Xmu,main,[XAthena=yes],[XAthena=no],-lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS)
1290 if test "$with_xaw3d" != no; then
1291 AC_CHECK_LIB(Xaw3d,main,[XAthena3d=yes],[XAthena3d=no],-lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS)
1292 if test "$XAthena3d" = no; then
1293 AC_MSG_ERROR([Xaw3d missing. Use configure with option: --without-xaw3d])
1299 AC_CHECK_LIB(Xaw,main,[XAthena=yes],[XAthena=no],-lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS)
1301 LDFLAGS="$ac_save_LDFLAGS"
1302 if test "$XAthena" = no; then
1303 AC_MSG_WARN([Xaw and/or Xmu Library missing. Trying local libraries.])
1304 if test "$ac_cv_X11_release" = R4; then
1305 AC_MSG_ERROR([Local Xaw and Xmu Libraries cannot be used with X11R4])
1307 AC_MSG_WARN([Using Local Xaw and Xmu Libraries])
1308 XAWLIB='$(SCIDIR)/libs/libXaw.a'
1309 XMULIB='$(SCIDIR)/libs/libXmu.a'
1310 XAW_LOCAL_LIB='$(SCIDIR)/libs/libXaw.a $(SCIDIR)/libs/libXmu.a'
1311 XAW_LOCAL_INCLUDES='-I$(SCIDIR)/routines'
1312 XAW_LOCAL_SUBDIR=X11
1317 if test "$XAW3D" = yes; then
1328 if test "$XAW3D" = yes; then
1331 AC_TRY_COMPILE([#include <X11/IntrinsicP.h>
1332 #include <X11/Xaw3d/ViewportP.h>],,,
1333 AC_MSG_ERROR([Include file "ViewportP.h" for Xaw3d not found.
1334 Get and put it in <X11/Xaw3d/> or use Xaw instead.]))
1338 #######################
1340 #######################
1342 # Pb of automatic insertion of -lXt -lXext -lX11 in Makefile.incl.in
1343 # which does not work with mingwin. Thus I add this two vars to
1346 XXTXEXT="-lXt -lXext"
1356 #######################
1357 ## test for underscores
1358 #######################
1360 AC_MSG_CHECKING([for leading and/or trailing underscores])
1361 cat << EOF > pipof.f
1366 dnl expand possible $SCIDIR in $FC (wizard command...)
1368 eval "$FC1 -c pipof.f > /dev/null 2>&1"
1370 FC_LEADING_UNDERSCORE=no
1371 FC_TRAILING_UNDERSCORE=no
1373 output=`nm pipof.o|grep _pipof 2>&1`
1374 if test ! -z "$output"; then
1375 FC_LEADING_UNDERSCORE=yes
1376 FC_TRAILING_UNDERSCORE=no
1379 output=`nm pipof.o|grep pipof_ 2>&1`
1380 if test ! -z "$output"; then
1381 FC_LEADING_UNDERSCORE=no
1382 FC_TRAILING_UNDERSCORE=yes
1385 output=`nm pipof.o|grep _pipof_ 2>&1`
1386 if test ! -z "$output"; then
1387 FC_LEADING_UNDERSCORE=yes
1388 FC_TRAILING_UNDERSCORE=yes
1391 if test "$FC_LEADING_UNDERSCORE" = yes; then
1394 if test "$FC_TRAILING_UNDERSCORE" = yes; then
1400 AC_MSG_RESULT([$FC_LEADING_UNDERSCORE $FC_TRAILING_UNDERSCORE])
1402 #####################
1403 ## test for sharpsign
1404 #####################
1406 AC_MSG_CHECKING([for use of sharpsign in CPP])
1407 AC_TRY_COMPILE([#define C2F(name) name##_],
1410 AC_DEFINE(USE_SHARP_SIGN),
1413 ##############################################################
1414 ## test for functions in standard C library and C math library
1415 ##############################################################
1417 AC_CHECK_LIB(m,main)
1418 AC_CHECK_FUNCS(exp10)
1419 AC_CHECK_FUNCS(getwd)
1420 AC_CHECK_FUNCS(sleep)
1421 AC_CHECK_FUNCS(strerror)
1422 AC_CHECK_FUNCS(usleep)
1423 AC_CHECK_FUNCS(finite)
1425 ########################
1426 ## test for header files
1427 ########################
1429 AC_CHECK_HEADERS(limits.h values.h)
1436 AC_CHECK_LIB(ncurses,main,
1437 [TERMCAPLIB=-lncurses])
1438 if test "$TERMCAPLIB" = no; then
1439 AC_CHECK_LIB(curses,main,
1440 [TERMCAPLIB=-lcurses])
1442 if test "$TERMCAPLIB" = no; then
1443 AC_CHECK_LIB(termcap,main,
1444 [TERMCAPLIB=-ltermcap])
1446 if test "$TERMCAPLIB" = no; then
1447 AC_CHECK_LIB(termlib,main,
1448 [TERMCAPLIB=-ltermlib])
1450 if test "$TERMCAPLIB" != no; then
1451 AC_DEFINE(HAVE_TERMCAP)
1467 # need an non empty default value for scilab script
1468 PVMROOTR='$SCI/pvm3'
1471 # files to be added for building the hoster with mingw
1476 if test "$with_pvm" != no; then
1477 # check for a locally installed PVM
1478 if test -x $PVM_ROOT/lib/pvmgetarch ; then
1483 PVMROOT="$SCIDIR/pvm3"
1484 PVMROOTR='$SCI/pvm3'
1485 PVMTARGET=scilex-lib
1486 PVMINST='$(PVMBINDISTFILES) $(PVMBINDISTFILES1)'
1489 PVMINCLUDE=$PVMROOT/include
1491 AC_ARG_WITH(pvm-include,
1492 [ --with-pvm-include=DIR PVM include files are in DIR ],
1493 [ PVMINCLUDE=$withval
1496 AC_CACHE_CHECK([for PVM architecture],ac_cv_PVM_arch,
1498 ac_cv_PVM_arch=`$PVMROOT/lib/pvmgetarch`
1500 if test "$ac_cv_PVM_arch" = UNKNOWN; then
1501 AC_MSG_WARN([PVM unable to find architecture: I will not use PVM])
1503 PVMINST='$(PVMBINDISTFILES)'
1506 PVMARCH="$ac_cv_PVM_arch"
1510 ac_cv_PVM_arch=MINGW
1511 PVMARCH="$ac_cv_PVM_arch"
1512 PVMHOSTERFILES="pvmwinrexec.o pvmwinrsh.o"
1517 PVMLIBDIR=$PVMROOT/lib/$ac_cv_PVM_arch
1518 AC_ARG_WITH(pvm-library,
1519 [ --with-pvm-library=DIR PVM library files are in DIR ],
1520 [ PVMLIBDIR=$withval
1523 PVMGLIB="$PVMLIBDIR/libgpvm3.a"
1524 PVMLIB="$PVMLIBDIR/libpvm3.a"
1526 PVMSCILIB="\$(SCIDIR)/libs/pvm.a"
1530 # add src to PVMINCLUDE
1531 PVMINCLUDE="$PVMINCLUDE -I$SCIDIR/pvm3/src"
1532 # to have path with SCIDIR
1533 # PVMROOT=`echo $PVMROOT | sed -e "s+$SCIDIR+\\$(SCIDIR)+g" `
1535 PVMLIB=`echo $PVMLIB | sed -e "s+$SCIDIR/pvm3+\\$(PVMROOT)+g" `
1536 PVMGLIB=`echo $PVMGLIB | sed -e "s+$SCIDIR/pvm3+\\$(PVMROOT)+g" `
1537 PVMINCLUDE=`echo $PVMINCLUDE | sed -e "s+$SCIDIR/pvm3+\\$(PVMROOT)+g" `
1552 if test "$with_gtk" = yes; then
1553 AC_CHECK_PROG(GTK_CONFIG,gtk-config,yes,no)
1554 if test "$GTK_CONFIG" = no; then
1555 AC_MSG_WARN([gtk-config not found: I will not use -with-gtk])
1558 AC_CHECK_PROG(GNOME_CONFIG,gnome-config,yes,no)
1559 if test "$GNOME_CONFIG" = no; then
1560 AC_MSG_WARN([gnome-config not found: I will not use -with-gtk])
1563 if test "$with_gtk" = yes; then
1564 AC_MSG_CHECKING([if gtk is version 1.2 or later])
1565 GTK_VER=`gtk-config --version`
1568 AC_MSG_ERROR([you need at least version 1.2 of gtk])
1571 AC_MSG_ERROR([you need at least version 1.2 of gtk])
1574 # we have cheched above that gtk-config is in the
1575 # path, then we don't want to generate a full path
1576 # for gtk-config or to directly generate the
1577 # result of `gtk-config --cflags`. Idem for gnome
1578 AC_MSG_RESULT([$GTK_VER])
1579 GTKCFLAGS='`gtk-config --cflags`'
1580 GTKLIBS='`gtk-config --libs` `gnome-config --libs gtkxmhtml`'
1581 GNOMECFLAGS='`gnome-config --cflags gnome`'
1587 SCILABSCRIPT=scilab-gtk.g
1590 # gtk 1 HTMLFLAGS=`gnome-config --cflags gnome`
1591 # gtk 2 HTMLFLAGS=`pkg-config libgtkhtml-2.0 --cflags`
1592 HTMLFLAGS='`gnome-config --cflags gnome`'
1594 # try to use readline with the gtk version
1595 ac_save_LIBS="$LIBS"
1596 LIBS="$TERMCAPLIB $LIBS"
1597 AC_CHECK_LIB(readline, rl_callback_read_char,[READLINE=-lreadline])
1599 TERMCAPLIB="$READLINE $TERMCAPLIB"
1600 if test "no$READLINE" != no; then
1602 AC_DEFINE(WITH_READLINE)
1608 ## GTK2 (XXXX A Finir)
1613 if test "$with_gtk2" = yes; then
1614 AC_CHECK_PROG(GTK_CONFIG,gtk-config,yes,no)
1615 if test "$GTK_CONFIG" = no; then
1616 AC_MSG_WARN([gtk-config not found: I will not use -with-gtk])
1619 AC_CHECK_PROG(GNOME_CONFIG,gnome-config,yes,no)
1620 if test "$GNOME_CONFIG" = no; then
1621 AC_MSG_WARN([gnome-config not found: I will not use -with-gtk])
1624 if test "$with_gtk2" = yes; then
1625 AC_MSG_CHECKING([if gtk is version 2.1 or later])
1626 GTK_VER=`pkg-config --modversion gtk+-2.0`
1629 GTKPLUGBUG=gtkplug.o
1632 AC_MSG_RESULT([$GTK_VER])
1633 # we have cheched above that gtk-config is in the
1634 # path, then we don't want to generate a full path
1635 # for gtk-config or to directly generate the
1636 # result of `gtk-config --cflags`. Idem for gnome
1637 GTKCFLAGS='`pkg-config gtk+-2.0 --cflags`'
1638 GTKLIBS='`pkg-config gtk+-2.0 libgtkhtml-2.0 --libs`'
1639 GNOMECFLAGS='`pkg-config gtk+-2.0 --cflags`'
1642 # GZVT='gzvt2' dose not work: gtk2 bug with plugged menus
1643 # gzvt2 works again with a gtk patch
1645 # we need a patched version
1646 SCILABSCRIPT=scilab-gtk.g
1649 # gtk 1 HTMLFLAGS=`gnome-config --cflags gnome`
1650 # gtk 2 HTMLFLAGS=`pkg-config libgtkhtml-2.0 --cflags`
1651 HTMLFLAGS='`pkg-config libgtkhtml-2.0 --cflags`'
1653 # try to use readline with the gtk version
1654 ac_save_LIBS="$LIBS"
1655 LIBS="$TERMCAPLIB $LIBS"
1656 AC_CHECK_LIB(readline, rl_callback_read_char,[READLINE=-lreadline])
1658 TERMCAPLIB="$READLINE $TERMCAPLIB"
1659 if test "no$READLINE" != no; then
1661 AC_DEFINE(WITH_READLINE)
1677 if test "$with_tk" != no; then
1679 # check user arguments
1680 USER_TCL_LIB_PATH=""
1681 USER_TCL_INC_PATH=""
1682 AC_ARG_WITH(tcl-library,
1683 [ --with-tcl-library=DIR Tcl library files are in DIR ],
1684 [ USER_TCL_LIB_PATH=$withval
1686 AC_ARG_WITH(tcl-include,
1687 [ --with-tcl-include=DIR Tcl include files are in DIR ],
1688 [ USER_TCL_INC_PATH=$withval
1691 USER_TK_LIB_PATH=$USER_TCL_LIB_PATH
1692 USER_TK_INC_PATH=$USER_TCL_INC_PATH
1693 AC_ARG_WITH(tk-library,
1694 [ --with-tk-library=DIR Tk library files are in DIR ],
1695 [ USER_TK_LIB_PATH=$withval
1697 AC_ARG_WITH(tk-include,
1698 [ --with-tk-include=DIR Tk include files are in DIR ],
1699 [ USER_TK_INC_PATH=$withval
1702 saved_cflags="$CFLAGS"
1703 saved_ldflags="$LDFLAGS"
1704 saved_cppflags="$CPPFLAGS"
1706 AC_CHECK_LIB(dl, main,TCLTK_LIBS=" -ldl")
1710 if test $WITH_TKSCI = 1; then
1712 TKSCILIB="\$(SCIDIR)/libs/tksci.a"
1715 AC_MSG_ERROR([TCL/TK not found. Use --without-tk])
1722 TK_INC_PATH=`echo $TK_INC_PATH | sed -e "s+$SCIDIR+\\$(TKBASE)+g" `
1723 TCL_INC_PATH=`echo $TCL_INC_PATH | sed -e "s+$SCIDIR+\\$(TKBASE)+g" `
1724 TCLTK_LIBS=`echo $TCLTK_LIBS | sed -e "s+$SCIDIR+\\$(TKBASE)+g" `
1734 # check user arguments
1735 USER_ATLAS_LIB_PATH=""
1737 AC_ARG_WITH(atlas-library,
1738 [ --with-atlas-library=DIR Atlas library files are in DIR and we use Atlas ],
1739 [ USER_ATLAS_LIB_PATH=$withval
1742 if test "$USER_ATLAS_LIB_PATH" = ""; then
1743 WHICH_BLAS="STD_BLAS"
1746 echo "using Atlas library"
1747 WHICH_BLAS="ATLAS_LAPACKBLAS"
1748 ATLAS_DIR=$USER_ATLAS_LIB_PATH
1750 AC_DEFINE(WITH_ATLAS)
1753 #########################
1754 ## substituting variables
1755 #########################
1760 AC_SUBST(FILES_TO_CLEAN)
1762 AC_SUBST(CC_OPTIONS)
1763 AC_SUBST(CC_LDFLAGS)
1764 AC_SUBST(CC_PICFLAGS)
1766 AC_SUBST(FC_OPTIONS)
1767 AC_SUBST(FC_OPTIONS1)
1768 AC_SUBST(FC_OPTIONS2)
1769 AC_SUBST(FC_LDFLAGS)
1770 AC_SUBST(FC_PICFLAGS)
1772 AC_SUBST(LD_LDFLAGS)
1774 AC_SUBST(SCILABSCRIPT)
1779 AC_SUBST(DLD_SUBDIR)
1783 AC_SUBST(XAW_LOCAL_SUBDIR)
1784 AC_SUBST(XAW_LOCAL_INCLUDES)
1785 AC_SUBST(XAW_LOCAL_LIB)
1788 AC_SUBST(GNOMECFLAGS)
1789 AC_SUBST(TERMCAPLIB)
1791 AC_SUBST(MAKEFILE_TARGET)
1796 AC_SUBST(XDRLIBNAME)
1809 AC_SUBST(PVMINCLUDE)
1810 AC_SUBST(PVMHOSTERFILES)
1814 AC_SUBST(TK_INC_PATH)
1815 AC_SUBST(TCL_INC_PATH)
1816 AC_SUBST(TCLTK_LIBS)
1820 AC_SUBST(TK_MINOR_VERSION)
1821 AC_SUBST(TK_MAJOR_VERSION)
1823 AC_SUBST(WHICH_BLAS)
1834 AC_SUBST(LIBTOOL_DEPS)
1841 AC_SUBST(SCIVERSION)
1848 AC_SUBST(FC_USE_CDEC)
1850 AC_SUBST(BLPR_SCRIPTS)
1851 AC_SUBST(SED_CYGDRIVE)
1852 AC_SUBST(F2C_SUBDIR)
1853 AC_SUBST(EXAMPLES_TESTS)
1859 AC_SUBST(GTKPLUGBUG)
1863 AC_OUTPUT(Makefile.OBJ Makefile.incl Makefile scripts/Makefile routines/Makefile routines/default/Makefile routines/sun/Makefile routines/graphics/Makefile routines/menusX/Makefile routines/xsci/Makefile routines/sparse/Makefile Makemex config/Makeso.incl routines/control/Makefile routines/calelm/Makefile routines/xsci/jpc_SGraph.c config/Makefile.aix config/Makefile.ultrix routines/lapack/Makefile scripts/scilab.g scripts/scilab-gtk.g examples/Makefile routines/version.h imp/Makefile routines/gtksci/Makefile pvm3/Makefile pvm3/Makefile.aimk pvm3/hoster/Makefile.aimk config/configuration macros/util/gettklib.sci routines/stack.h)