3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_default_prefix=${HOME}
16 # Initialize some variables set by options.
17 # The variables have the same names as the options, with
18 # dashes changed to underlines.
20 cache_file=./config.cache
29 program_transform_name=s,x,x,
38 sbindir='${exec_prefix}/sbin'
39 libexecdir='${exec_prefix}/libexec'
40 datadir='${prefix}/share'
41 sysconfdir='${prefix}/etc'
42 sharedstatedir='${prefix}/com'
43 localstatedir='${prefix}/var'
44 libdir='${exec_prefix}/lib'
45 includedir='${prefix}/include'
46 oldincludedir='/usr/include'
47 infodir='${prefix}/info'
48 mandir='${prefix}/man'
50 # Initialize some other variables.
53 SHELL=${CONFIG_SHELL-/bin/sh}
54 # Maximum number of lines to put in a shell here document.
61 # If the previous option needs an argument, assign it.
62 if test -n "$ac_prev"; then
63 eval "$ac_prev=\$ac_option"
69 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
73 # Accept the important Cygnus configure options, so we can diagnose typos.
77 -bindir | --bindir | --bindi | --bind | --bin | --bi)
79 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
80 bindir="$ac_optarg" ;;
82 -build | --build | --buil | --bui | --bu)
84 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
87 -cache-file | --cache-file | --cache-fil | --cache-fi \
88 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
90 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
91 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
92 cache_file="$ac_optarg" ;;
94 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
96 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
98 datadir="$ac_optarg" ;;
100 -disable-* | --disable-*)
101 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
102 # Reject names that are not valid shell variable names.
103 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
104 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
106 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
107 eval "enable_${ac_feature}=no" ;;
109 -enable-* | --enable-*)
110 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
111 # Reject names that are not valid shell variable names.
112 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
113 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
115 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
120 eval "enable_${ac_feature}='$ac_optarg'" ;;
122 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
123 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
124 | --exec | --exe | --ex)
125 ac_prev=exec_prefix ;;
126 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
127 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
128 | --exec=* | --exe=* | --ex=*)
129 exec_prefix="$ac_optarg" ;;
131 -gas | --gas | --ga | --g)
132 # Obsolete; use --with-gas.
135 -help | --help | --hel | --he)
136 # Omit some internal or obsolete options to make the list less imposing.
137 # This message is too long to be a string in the A/UX 3.1 sh.
139 Usage: configure [options] [host]
140 Options: [defaults in brackets after descriptions]
142 --cache-file=FILE cache test results in FILE
143 --help print this message
144 --no-create do not create output files
145 --quiet, --silent do not print \`checking...' messages
146 --version print the version of autoconf that created configure
147 Directory and file names:
148 --prefix=PREFIX install architecture-independent files in PREFIX
150 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
152 --bindir=DIR user executables in DIR [EPREFIX/bin]
153 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
154 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
155 --datadir=DIR read-only architecture-independent data in DIR
157 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
158 --sharedstatedir=DIR modifiable architecture-independent data in DIR
160 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
161 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
162 --includedir=DIR C header files in DIR [PREFIX/include]
163 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
164 --infodir=DIR info documentation in DIR [PREFIX/info]
165 --mandir=DIR man documentation in DIR [PREFIX/man]
166 --srcdir=DIR find the sources in DIR [configure dir or ..]
167 --program-prefix=PREFIX prepend PREFIX to installed program names
168 --program-suffix=SUFFIX append SUFFIX to installed program names
169 --program-transform-name=PROGRAM
170 run sed PROGRAM on installed program names
174 --build=BUILD configure for building on BUILD [BUILD=HOST]
175 --host=HOST configure for HOST [guessed]
176 --target=TARGET configure for TARGET [TARGET=HOST]
177 Features and packages:
178 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
179 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
180 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
181 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
182 --x-includes=DIR X include files are in DIR
183 --x-libraries=DIR X library files are in DIR
185 if test -n "$ac_help"; then
186 echo "--enable and --with options recognized:$ac_help"
190 -host | --host | --hos | --ho)
192 -host=* | --host=* | --hos=* | --ho=*)
195 -includedir | --includedir | --includedi | --included | --include \
196 | --includ | --inclu | --incl | --inc)
197 ac_prev=includedir ;;
198 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
199 | --includ=* | --inclu=* | --incl=* | --inc=*)
200 includedir="$ac_optarg" ;;
202 -infodir | --infodir | --infodi | --infod | --info | --inf)
204 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
205 infodir="$ac_optarg" ;;
207 -libdir | --libdir | --libdi | --libd)
209 -libdir=* | --libdir=* | --libdi=* | --libd=*)
210 libdir="$ac_optarg" ;;
212 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
213 | --libexe | --libex | --libe)
214 ac_prev=libexecdir ;;
215 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
216 | --libexe=* | --libex=* | --libe=*)
217 libexecdir="$ac_optarg" ;;
219 -localstatedir | --localstatedir | --localstatedi | --localstated \
220 | --localstate | --localstat | --localsta | --localst \
221 | --locals | --local | --loca | --loc | --lo)
222 ac_prev=localstatedir ;;
223 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
224 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
225 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
226 localstatedir="$ac_optarg" ;;
228 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
230 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
231 mandir="$ac_optarg" ;;
234 # Obsolete; use --without-fp.
237 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
241 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
242 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
245 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
246 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
247 | --oldin | --oldi | --old | --ol | --o)
248 ac_prev=oldincludedir ;;
249 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
250 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
251 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
252 oldincludedir="$ac_optarg" ;;
254 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
256 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
257 prefix="$ac_optarg" ;;
259 -program-prefix | --program-prefix | --program-prefi | --program-pref \
260 | --program-pre | --program-pr | --program-p)
261 ac_prev=program_prefix ;;
262 -program-prefix=* | --program-prefix=* | --program-prefi=* \
263 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
264 program_prefix="$ac_optarg" ;;
266 -program-suffix | --program-suffix | --program-suffi | --program-suff \
267 | --program-suf | --program-su | --program-s)
268 ac_prev=program_suffix ;;
269 -program-suffix=* | --program-suffix=* | --program-suffi=* \
270 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
271 program_suffix="$ac_optarg" ;;
273 -program-transform-name | --program-transform-name \
274 | --program-transform-nam | --program-transform-na \
275 | --program-transform-n | --program-transform- \
276 | --program-transform | --program-transfor \
277 | --program-transfo | --program-transf \
278 | --program-trans | --program-tran \
279 | --progr-tra | --program-tr | --program-t)
280 ac_prev=program_transform_name ;;
281 -program-transform-name=* | --program-transform-name=* \
282 | --program-transform-nam=* | --program-transform-na=* \
283 | --program-transform-n=* | --program-transform-=* \
284 | --program-transform=* | --program-transfor=* \
285 | --program-transfo=* | --program-transf=* \
286 | --program-trans=* | --program-tran=* \
287 | --progr-tra=* | --program-tr=* | --program-t=*)
288 program_transform_name="$ac_optarg" ;;
290 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
291 | -silent | --silent | --silen | --sile | --sil)
294 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
296 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
298 sbindir="$ac_optarg" ;;
300 -sharedstatedir | --sharedstatedir | --sharedstatedi \
301 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
302 | --sharedst | --shareds | --shared | --share | --shar \
304 ac_prev=sharedstatedir ;;
305 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
306 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
307 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
309 sharedstatedir="$ac_optarg" ;;
311 -site | --site | --sit)
313 -site=* | --site=* | --sit=*)
316 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
318 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
319 srcdir="$ac_optarg" ;;
321 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
322 | --syscon | --sysco | --sysc | --sys | --sy)
323 ac_prev=sysconfdir ;;
324 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
325 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
326 sysconfdir="$ac_optarg" ;;
328 -target | --target | --targe | --targ | --tar | --ta | --t)
330 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
331 target="$ac_optarg" ;;
333 -v | -verbose | --verbose | --verbos | --verbo | --verb)
336 -version | --version | --versio | --versi | --vers)
337 echo "configure generated by autoconf version 2.13"
341 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
342 # Reject names that are not valid shell variable names.
343 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
344 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
346 ac_package=`echo $ac_package| sed 's/-/_/g'`
351 eval "with_${ac_package}='$ac_optarg'" ;;
353 -without-* | --without-*)
354 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
355 # Reject names that are not valid shell variable names.
356 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
357 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
359 ac_package=`echo $ac_package| sed 's/-/_/g'`
360 eval "with_${ac_package}=no" ;;
363 # Obsolete; use --with-x.
366 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
367 | --x-incl | --x-inc | --x-in | --x-i)
368 ac_prev=x_includes ;;
369 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
370 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
371 x_includes="$ac_optarg" ;;
373 -x-libraries | --x-libraries | --x-librarie | --x-librari \
374 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
375 ac_prev=x_libraries ;;
376 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
377 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
378 x_libraries="$ac_optarg" ;;
380 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
384 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
385 echo "configure: warning: $ac_option: invalid host type" 1>&2
387 if test "x$nonopt" != xNONE; then
388 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
396 if test -n "$ac_prev"; then
397 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
400 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
402 # File descriptor usage:
405 # 2 errors and warnings
406 # 3 some systems may open it to /dev/tty
407 # 4 used on the Kubota Titan
408 # 6 checking for... messages and results
409 # 5 compiler messages saved in config.log
410 if test "$silent" = yes; then
418 This file contains any messages produced by compilers while
419 running configure, to aid debugging if configure makes a mistake.
422 # Strip out --no-create and --no-recursion so they do not pile up.
423 # Also quote any args containing shell metacharacters.
428 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
429 | --no-cr | --no-c) ;;
430 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
431 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
432 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
433 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
434 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
439 # Only set these to C if already set. These must not be set unconditionally
440 # because not all systems understand e.g. LANG=C (notably SCO).
441 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
442 # Non-C LC_CTYPE values break the ctype check.
443 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
444 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
445 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
446 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
448 # confdefs.h avoids OS command line length limits that DEFS can exceed.
449 rm -rf conftest* confdefs.h
450 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
453 # A filename unique to this package, relative to the directory that
454 # configure is in, which we can look for to find out if srcdir is correct.
455 ac_unique_file=source_f/readfile.f
457 # Find the source files, if location was not specified.
458 if test -z "$srcdir"; then
459 ac_srcdir_defaulted=yes
460 # Try the directory containing this script, then its parent.
462 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
463 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
465 if test ! -r $srcdir/$ac_unique_file; then
469 ac_srcdir_defaulted=no
471 if test ! -r $srcdir/$ac_unique_file; then
472 if test "$ac_srcdir_defaulted" = yes; then
473 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
475 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
478 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
480 # Prefer explicitly selected file to automatically selected ones.
481 if test -z "$CONFIG_SITE"; then
482 if test "x$prefix" != xNONE; then
483 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
485 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
488 for ac_site_file in $CONFIG_SITE; do
489 if test -r "$ac_site_file"; then
490 echo "loading site script $ac_site_file"
495 if test -r "$cache_file"; then
496 echo "loading cache $cache_file"
499 echo "creating cache $cache_file"
504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
505 ac_cpp='$CPP $CPPFLAGS'
506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
508 cross_compiling=$ac_cv_prog_cc_cross
512 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
513 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
514 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
521 ac_n= ac_c='\c' ac_t=
528 test "x$prefix" = xNONE && prefix=$ac_default_prefix
530 echo $ac_n "checking whether $prefix is a directory and writeable""... $ac_c" 1>&6
531 echo "configure:532: checking whether $prefix is a directory and writeable" >&5
532 mkdir -p $prefix 2>&5
533 if test -d $prefix && echo "" > $prefix/test_conf_write \
534 && rm -f $prefix/test_conf_write; then
535 echo "$ac_t""yes" 1>&6
537 echo "$ac_t""no" 1>&6
538 echo "configure: warning:
539 *** $prefix must be a writeable directory for installation
540 *** either you provide that or give another one, say mydir, by calling
541 *** $ ./configure --prefix=mydir
546 for ccc in "$CC" cc gcc acc "cc -Aa"; do
547 if test -z "$ccc"; then
551 echo $ac_n "checking whether ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
552 echo "configure:553: checking whether ($CC $CFLAGS $LDFLAGS) works" >&5
553 ac_cpp='$CPP $CPPFLAGS'
554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.c 1>&5'
555 ac_link='$CC -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.c $LIBS 1>&5'
556 echo '#include "confdefs.h"' > conftest.c
557 echo 'main(int argc,char **argv){return(0);}' >> conftest.c
558 if { (eval $ac_link) 2>&5; } && test -s conftest; then
560 echo "$ac_t""yes" 1>&6
564 echo "$ac_t""no" 1>&6
569 if test -z "$CC"; then
570 echo "configure: warning:
571 *** No valid ANSI C compiler found
572 *** You will not be able to use some of the routines
573 *** If you do have a C compiler called by, say, mycc -ANSI, do:
574 *** $ setenv CC "mycc -ANSI"
579 if test -n "$CC" && test -z "$CFLAGS"; then
580 echo 'void f(){}' > conftest.c
581 for cflags in -O3 -O2 -O +O3 +O -xO3; do
582 echo $ac_n "checking whether $CC accepts $cflags""... $ac_c" 1>&6
583 echo "configure:584: checking whether $CC accepts $cflags" >&5
584 if test -z "`$CC $cflags -c conftest.c 2>&1`"; then
585 echo "$ac_t""yes" 1>&6
589 echo "$ac_t""no" 1>&6
592 if test -z "$CFLAGS"; then
593 echo "configure: warning:
594 *** no valid optimisation flags for $CC found
600 if test -n "$CC"; then
601 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
602 echo "configure:603: checking for main in -lm" >&5
603 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
605 echo $ac_n "(cached) $ac_c" 1>&6
609 cat > conftest.$ac_ext <<EOF
610 #line 611 "configure"
611 #include "confdefs.h"
617 if { (eval echo configure:618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
619 eval "ac_cv_lib_$ac_lib_var=yes"
621 echo "configure: failed program was:" >&5
622 cat conftest.$ac_ext >&5
624 eval "ac_cv_lib_$ac_lib_var=no"
630 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
631 echo "$ac_t""yes" 1>&6
632 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
633 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
634 cat >> confdefs.h <<EOF
641 echo "$ac_t""no" 1>&6
645 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
646 echo "configure:647: checking how to run the C preprocessor" >&5
647 # On Suns, sometimes $CPP names a directory.
648 if test -n "$CPP" && test -d "$CPP"; then
651 if test -z "$CPP"; then
652 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
653 echo $ac_n "(cached) $ac_c" 1>&6
655 # This must be in double quotes, not single quotes, because CPP may get
656 # substituted into the Makefile and "${CC-cc}" will confuse make.
658 # On the NeXT, cc -E runs the code through the compiler's parser,
659 # not just through cpp.
660 cat > conftest.$ac_ext <<EOF
661 #line 662 "configure"
662 #include "confdefs.h"
666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
667 { (eval echo configure:668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
669 if test -z "$ac_err"; then
673 echo "configure: failed program was:" >&5
674 cat conftest.$ac_ext >&5
676 CPP="${CC-cc} -E -traditional-cpp"
677 cat > conftest.$ac_ext <<EOF
678 #line 679 "configure"
679 #include "confdefs.h"
683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
684 { (eval echo configure:685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
686 if test -z "$ac_err"; then
690 echo "configure: failed program was:" >&5
691 cat conftest.$ac_ext >&5
693 CPP="${CC-cc} -nologo -E"
694 cat > conftest.$ac_ext <<EOF
695 #line 696 "configure"
696 #include "confdefs.h"
700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
701 { (eval echo configure:702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
703 if test -z "$ac_err"; then
707 echo "configure: failed program was:" >&5
708 cat conftest.$ac_ext >&5
717 ac_cv_prog_CPP="$CPP"
719 CPP="$ac_cv_prog_CPP"
721 ac_cv_prog_CPP="$CPP"
723 echo "$ac_t""$CPP" 1>&6
725 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
726 echo "configure:727: checking for ANSI C header files" >&5
727 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
728 echo $ac_n "(cached) $ac_c" 1>&6
730 cat > conftest.$ac_ext <<EOF
731 #line 732 "configure"
732 #include "confdefs.h"
738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
739 { (eval echo configure:740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
740 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
741 if test -z "$ac_err"; then
743 ac_cv_header_stdc=yes
746 echo "configure: failed program was:" >&5
747 cat conftest.$ac_ext >&5
753 if test $ac_cv_header_stdc = yes; then
754 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
755 cat > conftest.$ac_ext <<EOF
756 #line 757 "configure"
757 #include "confdefs.h"
760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
761 egrep "memchr" >/dev/null 2>&1; then
771 if test $ac_cv_header_stdc = yes; then
772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
773 cat > conftest.$ac_ext <<EOF
774 #line 775 "configure"
775 #include "confdefs.h"
778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
779 egrep "free" >/dev/null 2>&1; then
789 if test $ac_cv_header_stdc = yes; then
790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
791 if test "$cross_compiling" = yes; then
794 cat > conftest.$ac_ext <<EOF
795 #line 796 "configure"
796 #include "confdefs.h"
798 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
799 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
800 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
801 int main () { int i; for (i = 0; i < 256; i++)
802 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
806 if { (eval echo configure:807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
810 echo "configure: failed program was:" >&5
811 cat conftest.$ac_ext >&5
821 echo "$ac_t""$ac_cv_header_stdc" 1>&6
822 if test $ac_cv_header_stdc = yes; then
823 cat >> confdefs.h <<\EOF
824 #define STDC_HEADERS 1
829 for ac_hdr in limits.h malloc.h
831 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
833 echo "configure:834: checking for $ac_hdr" >&5
834 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
835 echo $ac_n "(cached) $ac_c" 1>&6
837 cat > conftest.$ac_ext <<EOF
838 #line 839 "configure"
839 #include "confdefs.h"
842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
843 { (eval echo configure:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
844 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
845 if test -z "$ac_err"; then
847 eval "ac_cv_header_$ac_safe=yes"
850 echo "configure: failed program was:" >&5
851 cat conftest.$ac_ext >&5
853 eval "ac_cv_header_$ac_safe=no"
857 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
858 echo "$ac_t""yes" 1>&6
859 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
860 cat >> confdefs.h <<EOF
865 echo "$ac_t""no" 1>&6
870 echo $ac_n "checking for working const""... $ac_c" 1>&6
871 echo "configure:872: checking for working const" >&5
872 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
873 echo $ac_n "(cached) $ac_c" 1>&6
875 cat > conftest.$ac_ext <<EOF
876 #line 877 "configure"
877 #include "confdefs.h"
881 /* Ultrix mips cc rejects this. */
882 typedef int charset[2]; const charset x;
883 /* SunOS 4.1.1 cc rejects this. */
884 char const *const *ccp;
886 /* NEC SVR4.0.2 mips cc rejects this. */
887 struct point {int x, y;};
888 static struct point const zero = {0,0};
889 /* AIX XL C 1.02.0.0 rejects this.
890 It does not let you subtract one const X* pointer from another in an arm
891 of an if-expression whose if-part is not a constant expression */
892 const char *g = "string";
893 ccp = &g + (g ? g-g : 0);
894 /* HPUX 7.0 cc rejects these. */
897 ccp = (char const *const *) p;
898 { /* SCO 3.2v4 cc rejects this. */
900 char const *s = 0 ? (char *) 0 : (char const *) 0;
904 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
906 const int *foo = &x[0];
909 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
910 typedef const int *iptr;
914 { /* AIX XL C 1.02.0.0 rejects this saying
915 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
916 struct s { int j; const int *ap[3]; };
917 struct s *b; b->j = 5;
919 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
925 if { (eval echo configure:926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
929 echo "configure: failed program was:" >&5
930 cat conftest.$ac_ext >&5
937 echo "$ac_t""$ac_cv_c_const" 1>&6
938 if test $ac_cv_c_const = no; then
939 cat >> confdefs.h <<\EOF
945 if test $ac_cv_c_const = no; then
949 echo $ac_n "checking for size_t""... $ac_c" 1>&6
950 echo "configure:951: checking for size_t" >&5
951 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
952 echo $ac_n "(cached) $ac_c" 1>&6
954 cat > conftest.$ac_ext <<EOF
955 #line 956 "configure"
956 #include "confdefs.h"
957 #include <sys/types.h>
963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
964 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
966 ac_cv_type_size_t=yes
974 echo "$ac_t""$ac_cv_type_size_t" 1>&6
975 if test $ac_cv_type_size_t = no; then
976 cat >> confdefs.h <<\EOF
977 #define size_t unsigned
983 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
984 echo "configure:985: checking for 8-bit clean memcmp" >&5
985 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
986 echo $ac_n "(cached) $ac_c" 1>&6
988 if test "$cross_compiling" = yes; then
989 ac_cv_func_memcmp_clean=no
991 cat > conftest.$ac_ext <<EOF
992 #line 993 "configure"
993 #include "confdefs.h"
997 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
998 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
1002 if { (eval echo configure:1003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1004 ac_cv_func_memcmp_clean=yes
1006 echo "configure: failed program was:" >&5
1007 cat conftest.$ac_ext >&5
1009 ac_cv_func_memcmp_clean=no
1016 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
1017 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
1023 for fff in "$FC" f77 g77 "f77 +U77" "f77 -q -f -B108 -lU77"; do
1024 if test -z "$fff"; then
1028 echo $ac_n "checking whether ($FC $FFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1029 echo "configure:1030: checking whether ($FC $FFLAGS $LDFLAGS) works" >&5
1030 cat > conftest.f << EOF
1033 write(*,'(2hxx,a)') argv
1036 (eval $FC $FFLAGS $LDFLAGS conftest.f -o conftest) 1>&5 2>&5
1037 if test -n "`(eval ./conftest TEST | grep xxTEST) 2>&5`"; then
1038 rm -f conftest.f conftest
1039 echo "$ac_t""yes" 1>&6
1042 rm -f conftest.f conftest
1043 echo "$ac_t""no" 1>&6
1048 if test -z "$FC"; then
1049 echo "configure: warning:
1050 *** No usable Fortran compiler found
1051 *** You will not be able to use some of the routines
1052 *** If you do have a working Fortran compiler called, say, myf77 -trick, do:
1053 *** $ setenv FC "myf77 -trick"
1058 if test -z "$CC" && test -z "$FC"; then
1059 { echo "configure: error:
1060 *** with neither working C nor Fortran compilers there wouldn't be any
1061 *** programs left you could compile
1065 if test -n "$FC" && test -z "$FFLAGS"; then
1066 echo ' end' > conftest.f
1067 for fflags in -O +O; do
1068 echo $ac_n "checking whether $FC accepts $fflags""... $ac_c" 1>&6
1069 echo "configure:1070: checking whether $FC accepts $fflags" >&5
1070 cat > conftest.f << EOF
1071 write(*,'(6hxxTEST)')
1074 (eval $FC $fflags $LDFLAGS conftest.f -o conftest) 1>&5 2>&5
1075 if test -n "`(eval ./conftest | grep xxTEST) 2>&5`"; then
1076 rm -f conftest.f conftest
1077 echo "$ac_t""yes" 1>&6
1081 rm -f conftest.f conftest
1082 echo "$ac_t""no" 1>&6
1085 if test -z "$FFLAGS"; then
1086 echo "configure: warning:
1087 *** no valid optimisation flags for $FC found
1096 if test -n "$FC"; then
1098 for iu in 0 1 2 3 4 6 7 8 9; do
1099 echo $ac_n "checking whether Fortran unit $iu is stderr""... $ac_c" 1>&6
1100 echo "configure:1101: checking whether Fortran unit $iu is stderr" >&5
1101 rm -Rf ./config_test_dir
1102 mkdir ./config_test_dir
1103 cd ./config_test_dir
1104 echo " write($iu,'(1ht)')" > test.f
1105 echo " end" >> test.f
1106 (eval $FC $FFLAGS test.f -o test.out) 1>&5 2>&5
1107 if test -z "`./test.out 2>&1 1>/dev/null`"; then
1109 rm -Rf ./config_test_dir
1110 echo "$ac_t""no" 1>&6
1113 rm -Rf ./config_test_dir
1114 echo "$ac_t""yes" 1>&6
1119 if test -z $ERRUNIT; then
1121 echo "configure: warning:
1122 *** Couldn't determine Fortran stderr unit, assuming unit 0, fingers crossed
1128 # Extract the first word of "ar", so it can be a program name with args.
1129 set dummy ar; ac_word=$2
1130 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1131 echo "configure:1132: checking for $ac_word" >&5
1132 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1133 echo $ac_n "(cached) $ac_c" 1>&6
1135 if test -n "$AR"; then
1136 ac_cv_prog_AR="$AR" # Let the user override the test.
1138 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1140 for ac_dir in $ac_dummy; do
1141 test -z "$ac_dir" && ac_dir=.
1142 if test -f $ac_dir/$ac_word; then
1148 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1152 if test -n "$AR"; then
1153 echo "$ac_t""$AR" 1>&6
1155 echo "$ac_t""no" 1>&6
1159 echo $ac_n "checking whether ${AR} accepts ${ARFLAGS}""... $ac_c" 1>&6
1160 echo "configure:1161: checking whether ${AR} accepts ${ARFLAGS}" >&5
1161 if test -n "$CC"; then
1162 echo 'void f(){}' > libtest.c
1165 echo ' end' > libtest.f
1168 ${AR} ${ARFLAGS} libtest.a libtest.o 1>&5 2>&5
1169 if test -s libtest.a; then
1170 echo "$ac_t""yes" 1>&6
1173 echo "$ac_t""no, using ${ARFLAGS} instead" 1>&6
1179 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1180 if test -f $ac_dir/install-sh; then
1182 ac_install_sh="$ac_aux_dir/install-sh -c"
1184 elif test -f $ac_dir/install.sh; then
1186 ac_install_sh="$ac_aux_dir/install.sh -c"
1190 if test -z "$ac_aux_dir"; then
1191 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1193 ac_config_guess=$ac_aux_dir/config.guess
1194 ac_config_sub=$ac_aux_dir/config.sub
1195 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1197 # Find a good install program. We prefer a C program (faster),
1198 # so one script is as good as another. But avoid the broken or
1199 # incompatible versions:
1200 # SysV /etc/install, /usr/sbin/install
1201 # SunOS /usr/etc/install
1202 # IRIX /sbin/install
1204 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1205 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1206 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1207 # ./install, which can be erroneously created by make from ./install.sh.
1208 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1209 echo "configure:1210: checking for a BSD compatible install" >&5
1210 if test -z "$INSTALL"; then
1211 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1212 echo $ac_n "(cached) $ac_c" 1>&6
1214 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1215 for ac_dir in $PATH; do
1216 # Account for people who put trailing slashes in PATH elements.
1218 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1220 # OSF1 and SCO ODT 3.0 have their own names for install.
1221 # Don't use installbsd from OSF since it installs stuff as root
1223 for ac_prog in ginstall scoinst install; do
1224 if test -f $ac_dir/$ac_prog; then
1225 if test $ac_prog = install &&
1226 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1227 # AIX install. It has an incompatible calling convention.
1230 ac_cv_path_install="$ac_dir/$ac_prog -c"
1241 if test "${ac_cv_path_install+set}" = set; then
1242 INSTALL="$ac_cv_path_install"
1244 # As a last resort, use the slow shell script. We don't cache a
1245 # path for INSTALL within a source directory, because that will
1246 # break other packages using the cache if that directory is
1247 # removed, or if the path is relative.
1248 INSTALL="$ac_install_sh"
1251 echo "$ac_t""$INSTALL" 1>&6
1253 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1254 # It thinks the first close brace ends the variable substitution.
1255 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1257 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1259 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1261 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1262 echo "configure:1263: checking whether ${MAKE-make} sets \${MAKE}" >&5
1263 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1264 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1265 echo $ac_n "(cached) $ac_c" 1>&6
1267 cat > conftestmake <<\EOF
1269 @echo 'ac_maketemp="${MAKE}"'
1271 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1272 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1273 if test -n "$ac_maketemp"; then
1274 eval ac_cv_prog_make_${ac_make}_set=yes
1276 eval ac_cv_prog_make_${ac_make}_set=no
1280 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1281 echo "$ac_t""yes" 1>&6
1284 echo "$ac_t""no" 1>&6
1285 SET_MAKE="MAKE=${MAKE-make}"
1288 # Extract the first word of "ranlib", so it can be a program name with args.
1289 set dummy ranlib; ac_word=$2
1290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1291 echo "configure:1292: checking for $ac_word" >&5
1292 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1293 echo $ac_n "(cached) $ac_c" 1>&6
1295 if test -n "$RANLIB"; then
1296 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1300 for ac_dir in $ac_dummy; do
1301 test -z "$ac_dir" && ac_dir=.
1302 if test -f $ac_dir/$ac_word; then
1303 ac_cv_prog_RANLIB="ranlib"
1308 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1311 RANLIB="$ac_cv_prog_RANLIB"
1312 if test -n "$RANLIB"; then
1313 echo "$ac_t""$RANLIB" 1>&6
1315 echo "$ac_t""no" 1>&6
1319 for ac_prog in gnuplot
1321 # Extract the first word of "$ac_prog", so it can be a program name with args.
1322 set dummy $ac_prog; ac_word=$2
1323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1324 echo "configure:1325: checking for $ac_word" >&5
1325 if eval "test \"`echo '$''{'ac_cv_prog_GP'+set}'`\" = set"; then
1326 echo $ac_n "(cached) $ac_c" 1>&6
1328 if test -n "$GP"; then
1329 ac_cv_prog_GP="$GP" # Let the user override the test.
1331 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1333 for ac_dir in $ac_dummy; do
1334 test -z "$ac_dir" && ac_dir=.
1335 if test -f $ac_dir/$ac_word; then
1336 ac_cv_prog_GP="$ac_prog"
1344 if test -n "$GP"; then
1345 echo "$ac_t""$GP" 1>&6
1347 echo "$ac_t""no" 1>&6
1350 test -n "$GP" && break
1353 if test -n "$GP"; then
1354 echo $ac_n "checking if gnuplot can read from a pipe""... $ac_c" 1>&6
1355 echo "configure:1356: checking if gnuplot can read from a pipe" >&5
1356 cat > conftest.gnu <<EOF
1359 plot '< (echo "1 1"; echo "2 2")'
1361 if $GP conftest.gnu 2>&5 1>&5; then
1364 :-) you may try to run $GP on the following files
1365 after you installed everything:" 1>&6
1366 find examples -name "*.gnu" -print | sed "s%\./% %"
1371 :-( you may not be able to run $GP on the examples
1372 docs_f/docs/*.gnu without changes" 1>&6
1377 cat > confcache <<\EOF
1378 # This file is a shell script that caches the results of configure
1379 # tests run on this system so they can be shared between configure
1380 # scripts and configure runs. It is not useful on other systems.
1381 # If it contains results you don't want to keep, you may remove or edit it.
1383 # By default, configure uses ./config.cache as the cache file,
1384 # creating it if it does not exist already. You can give configure
1385 # the --cache-file=FILE option to use a different cache file; that is
1386 # what configure does when it calls configure scripts in
1387 # subdirectories, so they share the cache.
1388 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1389 # config.status only pays attention to the cache file if you give it the
1390 # --recheck option to rerun configure.
1393 # The following way of writing the cache mishandles newlines in values,
1394 # but we know of no workaround that is simple, portable, and efficient.
1395 # So, don't put newlines in cache variables' values.
1396 # Ultrix sh set writes to stderr and can't be redirected directly,
1397 # and sets the high bit in the cache file unless we assign to the vars.
1399 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1401 # `set' does not quote correctly, so add quotes (double-quote substitution
1402 # turns \\\\ into \\, and sed turns \\ into \).
1404 -e "s/'/'\\\\''/g" \
1405 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1408 # `set' quotes correctly as required by POSIX, so do not add quotes.
1409 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1412 if cmp -s $cache_file confcache; then
1415 if test -w $cache_file; then
1416 echo "updating cache $cache_file"
1417 cat confcache > $cache_file
1419 echo "not updating unwritable cache $cache_file"
1424 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1426 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1427 # Let make expand exec_prefix.
1428 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1430 # Any assignment to VPATH causes Sun make to only execute
1431 # the first set of double-colon rules, so remove it if not needed.
1432 # If there is a colon in the path, we need to keep it.
1433 if test "x$srcdir" = x.; then
1434 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1437 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1439 # Transform confdefs.h into DEFS.
1440 # Protect against shell expansion while executing Makefile rules.
1441 # Protect against Makefile macro expansion.
1442 cat > conftest.defs <<\EOF
1443 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1444 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1449 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1453 # Without the "./", some shells look in PATH for config.status.
1454 : ${CONFIG_STATUS=./config.status}
1456 echo creating $CONFIG_STATUS
1457 rm -f $CONFIG_STATUS
1458 cat > $CONFIG_STATUS <<EOF
1460 # Generated automatically by configure.
1461 # Run this file to recreate the current configuration.
1462 # This directory was configured as follows,
1463 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1465 # $0 $ac_configure_args
1467 # Compiler output produced by configure, useful for debugging
1468 # configure, is in ./config.log if it exists.
1470 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1473 case "\$ac_option" in
1474 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1475 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1476 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1477 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1478 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1480 -help | --help | --hel | --he | --h)
1481 echo "\$ac_cs_usage"; exit 0 ;;
1482 *) echo "\$ac_cs_usage"; exit 1 ;;
1486 ac_given_srcdir=$srcdir
1487 ac_given_INSTALL="$INSTALL"
1489 trap 'rm -fr `echo "Makefile source_f/Makefile source_f/slatec/Makefile source_f/randomize/Makefile source_c/Makefile source_c/routines/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1491 cat >> $CONFIG_STATUS <<EOF
1493 # Protect against being on the right side of a sed subst in config.status.
1494 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1495 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1499 s%@CFLAGS@%$CFLAGS%g
1500 s%@CPPFLAGS@%$CPPFLAGS%g
1501 s%@CXXFLAGS@%$CXXFLAGS%g
1502 s%@FFLAGS@%$FFLAGS%g
1504 s%@LDFLAGS@%$LDFLAGS%g
1506 s%@exec_prefix@%$exec_prefix%g
1507 s%@prefix@%$prefix%g
1508 s%@program_transform_name@%$program_transform_name%g
1509 s%@bindir@%$bindir%g
1510 s%@sbindir@%$sbindir%g
1511 s%@libexecdir@%$libexecdir%g
1512 s%@datadir@%$datadir%g
1513 s%@sysconfdir@%$sysconfdir%g
1514 s%@sharedstatedir@%$sharedstatedir%g
1515 s%@localstatedir@%$localstatedir%g
1516 s%@libdir@%$libdir%g
1517 s%@includedir@%$includedir%g
1518 s%@oldincludedir@%$oldincludedir%g
1519 s%@infodir@%$infodir%g
1520 s%@mandir@%$mandir%g
1522 s%@LIBOBJS@%$LIBOBJS%g
1525 s%@ERRUNIT@%$ERRUNIT%g
1527 s%@ARFLAGS@%$ARFLAGS%g
1528 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1529 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1530 s%@INSTALL_DATA@%$INSTALL_DATA%g
1531 s%@SET_MAKE@%$SET_MAKE%g
1532 s%@RANLIB@%$RANLIB%g
1538 cat >> $CONFIG_STATUS <<\EOF
1540 # Split the substitutions into bite-sized pieces for seds with
1541 # small command number limits, like on Digital OSF/1 and HP-UX.
1542 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1543 ac_file=1 # Number of current file.
1544 ac_beg=1 # First line for current file.
1545 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1548 while $ac_more_lines; do
1549 if test $ac_beg -gt 1; then
1550 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1552 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1554 if test ! -s conftest.s$ac_file; then
1556 rm -f conftest.s$ac_file
1558 if test -z "$ac_sed_cmds"; then
1559 ac_sed_cmds="sed -f conftest.s$ac_file"
1561 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1563 ac_file=`expr $ac_file + 1`
1565 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1568 if test -z "$ac_sed_cmds"; then
1573 cat >> $CONFIG_STATUS <<EOF
1575 CONFIG_FILES=\${CONFIG_FILES-"Makefile source_f/Makefile source_f/slatec/Makefile source_f/randomize/Makefile source_c/Makefile source_c/routines/Makefile"}
1577 cat >> $CONFIG_STATUS <<\EOF
1578 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1579 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1581 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1582 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1583 *) ac_file_in="${ac_file}.in" ;;
1586 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1588 # Remove last slash and all that follows it. Not all systems have dirname.
1589 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1590 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1591 # The file is in a subdirectory.
1592 test ! -d "$ac_dir" && mkdir "$ac_dir"
1593 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1594 # A "../" for each directory in $ac_dir_suffix.
1595 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1597 ac_dir_suffix= ac_dots=
1600 case "$ac_given_srcdir" in
1602 if test -z "$ac_dots"; then top_srcdir=.
1603 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1604 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1606 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1607 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1610 case "$ac_given_INSTALL" in
1611 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1612 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1615 echo creating "$ac_file"
1617 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1619 *Makefile*) ac_comsub="1i\\
1620 # $configure_input" ;;
1624 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1626 s%@configure_input@%$configure_input%g
1627 s%@srcdir@%$srcdir%g
1628 s%@top_srcdir@%$top_srcdir%g
1629 s%@INSTALL@%$INSTALL%g
1630 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1635 cat >> $CONFIG_STATUS <<EOF
1638 cat >> $CONFIG_STATUS <<\EOF
1642 chmod +x $CONFIG_STATUS
1643 rm -fr confdefs* $ac_clean_files
1644 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1