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:
15 # Initialize some variables set by options.
16 # The variables have the same names as the options, with
17 # dashes changed to underlines.
19 cache_file=./config.cache
28 program_transform_name=s,x,x,
36 bindir='${exec_prefix}/bin'
37 sbindir='${exec_prefix}/sbin'
38 libexecdir='${exec_prefix}/libexec'
39 datadir='${prefix}/share'
40 sysconfdir='${prefix}/etc'
41 sharedstatedir='${prefix}/com'
42 localstatedir='${prefix}/var'
43 libdir='${exec_prefix}/lib'
44 includedir='${prefix}/include'
45 oldincludedir='/usr/include'
46 infodir='${prefix}/info'
47 mandir='${prefix}/man'
49 # Initialize some other variables.
52 SHELL=${CONFIG_SHELL-/bin/sh}
53 # Maximum number of lines to put in a shell here document.
60 # If the previous option needs an argument, assign it.
61 if test -n "$ac_prev"; then
62 eval "$ac_prev=\$ac_option"
68 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72 # Accept the important Cygnus configure options, so we can diagnose typos.
76 -bindir | --bindir | --bindi | --bind | --bin | --bi)
78 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
79 bindir="$ac_optarg" ;;
81 -build | --build | --buil | --bui | --bu)
83 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
86 -cache-file | --cache-file | --cache-fil | --cache-fi \
87 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
89 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
90 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
91 cache_file="$ac_optarg" ;;
93 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
95 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
97 datadir="$ac_optarg" ;;
99 -disable-* | --disable-*)
100 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
101 # Reject names that are not valid shell variable names.
102 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
103 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
105 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
106 eval "enable_${ac_feature}=no" ;;
108 -enable-* | --enable-*)
109 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
110 # Reject names that are not valid shell variable names.
111 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
112 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
114 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
119 eval "enable_${ac_feature}='$ac_optarg'" ;;
121 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
122 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
123 | --exec | --exe | --ex)
124 ac_prev=exec_prefix ;;
125 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
126 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
127 | --exec=* | --exe=* | --ex=*)
128 exec_prefix="$ac_optarg" ;;
130 -gas | --gas | --ga | --g)
131 # Obsolete; use --with-gas.
134 -help | --help | --hel | --he)
135 # Omit some internal or obsolete options to make the list less imposing.
136 # This message is too long to be a string in the A/UX 3.1 sh.
138 Usage: configure [options] [host]
139 Options: [defaults in brackets after descriptions]
141 --cache-file=FILE cache test results in FILE
142 --help print this message
143 --no-create do not create output files
144 --quiet, --silent do not print \`checking...' messages
145 --version print the version of autoconf that created configure
146 Directory and file names:
147 --prefix=PREFIX install architecture-independent files in PREFIX
149 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
151 --bindir=DIR user executables in DIR [EPREFIX/bin]
152 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
153 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
154 --datadir=DIR read-only architecture-independent data in DIR
156 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
157 --sharedstatedir=DIR modifiable architecture-independent data in DIR
159 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
160 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
161 --includedir=DIR C header files in DIR [PREFIX/include]
162 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
163 --infodir=DIR info documentation in DIR [PREFIX/info]
164 --mandir=DIR man documentation in DIR [PREFIX/man]
165 --srcdir=DIR find the sources in DIR [configure dir or ..]
166 --program-prefix=PREFIX prepend PREFIX to installed program names
167 --program-suffix=SUFFIX append SUFFIX to installed program names
168 --program-transform-name=PROGRAM
169 run sed PROGRAM on installed program names
173 --build=BUILD configure for building on BUILD [BUILD=HOST]
174 --host=HOST configure for HOST [guessed]
175 --target=TARGET configure for TARGET [TARGET=HOST]
176 Features and packages:
177 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
178 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
179 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
180 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
181 --x-includes=DIR X include files are in DIR
182 --x-libraries=DIR X library files are in DIR
184 if test -n "$ac_help"; then
185 echo "--enable and --with options recognized:$ac_help"
189 -host | --host | --hos | --ho)
191 -host=* | --host=* | --hos=* | --ho=*)
194 -includedir | --includedir | --includedi | --included | --include \
195 | --includ | --inclu | --incl | --inc)
196 ac_prev=includedir ;;
197 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
198 | --includ=* | --inclu=* | --incl=* | --inc=*)
199 includedir="$ac_optarg" ;;
201 -infodir | --infodir | --infodi | --infod | --info | --inf)
203 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
204 infodir="$ac_optarg" ;;
206 -libdir | --libdir | --libdi | --libd)
208 -libdir=* | --libdir=* | --libdi=* | --libd=*)
209 libdir="$ac_optarg" ;;
211 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
212 | --libexe | --libex | --libe)
213 ac_prev=libexecdir ;;
214 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
215 | --libexe=* | --libex=* | --libe=*)
216 libexecdir="$ac_optarg" ;;
218 -localstatedir | --localstatedir | --localstatedi | --localstated \
219 | --localstate | --localstat | --localsta | --localst \
220 | --locals | --local | --loca | --loc | --lo)
221 ac_prev=localstatedir ;;
222 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
223 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
224 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
225 localstatedir="$ac_optarg" ;;
227 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
229 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
230 mandir="$ac_optarg" ;;
233 # Obsolete; use --without-fp.
236 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
240 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
241 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
244 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
245 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
246 | --oldin | --oldi | --old | --ol | --o)
247 ac_prev=oldincludedir ;;
248 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
249 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
250 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
251 oldincludedir="$ac_optarg" ;;
253 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
255 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
256 prefix="$ac_optarg" ;;
258 -program-prefix | --program-prefix | --program-prefi | --program-pref \
259 | --program-pre | --program-pr | --program-p)
260 ac_prev=program_prefix ;;
261 -program-prefix=* | --program-prefix=* | --program-prefi=* \
262 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
263 program_prefix="$ac_optarg" ;;
265 -program-suffix | --program-suffix | --program-suffi | --program-suff \
266 | --program-suf | --program-su | --program-s)
267 ac_prev=program_suffix ;;
268 -program-suffix=* | --program-suffix=* | --program-suffi=* \
269 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
270 program_suffix="$ac_optarg" ;;
272 -program-transform-name | --program-transform-name \
273 | --program-transform-nam | --program-transform-na \
274 | --program-transform-n | --program-transform- \
275 | --program-transform | --program-transfor \
276 | --program-transfo | --program-transf \
277 | --program-trans | --program-tran \
278 | --progr-tra | --program-tr | --program-t)
279 ac_prev=program_transform_name ;;
280 -program-transform-name=* | --program-transform-name=* \
281 | --program-transform-nam=* | --program-transform-na=* \
282 | --program-transform-n=* | --program-transform-=* \
283 | --program-transform=* | --program-transfor=* \
284 | --program-transfo=* | --program-transf=* \
285 | --program-trans=* | --program-tran=* \
286 | --progr-tra=* | --program-tr=* | --program-t=*)
287 program_transform_name="$ac_optarg" ;;
289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
290 | -silent | --silent | --silen | --sile | --sil)
293 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
295 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
297 sbindir="$ac_optarg" ;;
299 -sharedstatedir | --sharedstatedir | --sharedstatedi \
300 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
301 | --sharedst | --shareds | --shared | --share | --shar \
303 ac_prev=sharedstatedir ;;
304 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
305 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
306 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
308 sharedstatedir="$ac_optarg" ;;
310 -site | --site | --sit)
312 -site=* | --site=* | --sit=*)
315 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
317 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
318 srcdir="$ac_optarg" ;;
320 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
321 | --syscon | --sysco | --sysc | --sys | --sy)
322 ac_prev=sysconfdir ;;
323 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
324 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
325 sysconfdir="$ac_optarg" ;;
327 -target | --target | --targe | --targ | --tar | --ta | --t)
329 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
330 target="$ac_optarg" ;;
332 -v | -verbose | --verbose | --verbos | --verbo | --verb)
335 -version | --version | --versio | --versi | --vers)
336 echo "configure generated by autoconf version 2.13"
340 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
341 # Reject names that are not valid shell variable names.
342 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
343 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
345 ac_package=`echo $ac_package| sed 's/-/_/g'`
350 eval "with_${ac_package}='$ac_optarg'" ;;
352 -without-* | --without-*)
353 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
354 # Reject names that are not valid shell variable names.
355 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
356 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
358 ac_package=`echo $ac_package| sed 's/-/_/g'`
359 eval "with_${ac_package}=no" ;;
362 # Obsolete; use --with-x.
365 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
366 | --x-incl | --x-inc | --x-in | --x-i)
367 ac_prev=x_includes ;;
368 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
369 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
370 x_includes="$ac_optarg" ;;
372 -x-libraries | --x-libraries | --x-librarie | --x-librari \
373 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
374 ac_prev=x_libraries ;;
375 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
376 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
377 x_libraries="$ac_optarg" ;;
379 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
383 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
384 echo "configure: warning: $ac_option: invalid host type" 1>&2
386 if test "x$nonopt" != xNONE; then
387 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
395 if test -n "$ac_prev"; then
396 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
399 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
401 # File descriptor usage:
404 # 2 errors and warnings
405 # 3 some systems may open it to /dev/tty
406 # 4 used on the Kubota Titan
407 # 6 checking for... messages and results
408 # 5 compiler messages saved in config.log
409 if test "$silent" = yes; then
417 This file contains any messages produced by compilers while
418 running configure, to aid debugging if configure makes a mistake.
421 # Strip out --no-create and --no-recursion so they do not pile up.
422 # Also quote any args containing shell metacharacters.
427 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
428 | --no-cr | --no-c) ;;
429 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
430 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
431 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
432 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
433 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
438 # Only set these to C if already set. These must not be set unconditionally
439 # because not all systems understand e.g. LANG=C (notably SCO).
440 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
441 # Non-C LC_CTYPE values break the ctype check.
442 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
443 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
444 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
445 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
447 # confdefs.h avoids OS command line length limits that DEFS can exceed.
448 rm -rf conftest* confdefs.h
449 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
452 # A filename unique to this package, relative to the directory that
453 # configure is in, which we can look for to find out if srcdir is correct.
454 ac_unique_file=src/ml.h
456 # Find the source files, if location was not specified.
457 if test -z "$srcdir"; then
458 ac_srcdir_defaulted=yes
459 # Try the directory containing this script, then its parent.
461 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
464 if test ! -r $srcdir/$ac_unique_file; then
468 ac_srcdir_defaulted=no
470 if test ! -r $srcdir/$ac_unique_file; then
471 if test "$ac_srcdir_defaulted" = yes; then
472 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
474 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
477 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
479 # Prefer explicitly selected file to automatically selected ones.
480 if test -z "$CONFIG_SITE"; then
481 if test "x$prefix" != xNONE; then
482 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
484 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
487 for ac_site_file in $CONFIG_SITE; do
488 if test -r "$ac_site_file"; then
489 echo "loading site script $ac_site_file"
496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
497 ac_cpp='$CPP $CPPFLAGS'
498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
500 cross_compiling=$ac_cv_prog_cc_cross
504 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
505 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
506 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
513 ac_n= ac_c='\c' ac_t=
519 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
520 if test -f $ac_dir/install-sh; then
522 ac_install_sh="$ac_aux_dir/install-sh -c"
524 elif test -f $ac_dir/install.sh; then
526 ac_install_sh="$ac_aux_dir/install.sh -c"
530 if test -z "$ac_aux_dir"; then
531 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
533 ac_config_guess=$ac_aux_dir/config.guess
534 ac_config_sub=$ac_aux_dir/config.sub
535 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
537 # Find a good install program. We prefer a C program (faster),
538 # so one script is as good as another. But avoid the broken or
539 # incompatible versions:
540 # SysV /etc/install, /usr/sbin/install
541 # SunOS /usr/etc/install
544 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
545 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
546 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
547 # ./install, which can be erroneously created by make from ./install.sh.
548 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
549 echo "configure:550: checking for a BSD compatible install" >&5
550 if test -z "$INSTALL"; then
551 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
552 echo $ac_n "(cached) $ac_c" 1>&6
554 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
555 for ac_dir in $PATH; do
556 # Account for people who put trailing slashes in PATH elements.
558 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
560 # OSF1 and SCO ODT 3.0 have their own names for install.
561 # Don't use installbsd from OSF since it installs stuff as root
563 for ac_prog in ginstall scoinst install; do
564 if test -f $ac_dir/$ac_prog; then
565 if test $ac_prog = install &&
566 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
567 # AIX install. It has an incompatible calling convention.
570 ac_cv_path_install="$ac_dir/$ac_prog -c"
581 if test "${ac_cv_path_install+set}" = set; then
582 INSTALL="$ac_cv_path_install"
584 # As a last resort, use the slow shell script. We don't cache a
585 # path for INSTALL within a source directory, because that will
586 # break other packages using the cache if that directory is
587 # removed, or if the path is relative.
588 INSTALL="$ac_install_sh"
591 echo "$ac_t""$INSTALL" 1>&6
593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
594 # It thinks the first close brace ends the variable substitution.
595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
599 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
601 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
602 echo "configure:603: checking whether build environment is sane" >&5
605 echo timestamp > conftestfile
606 # Do `set' in a subshell so we don't clobber the current shell's
607 # arguments. Must try -L first in case configure is actually a
608 # symlink; some systems play weird games with the mod time of symlinks
609 # (eg FreeBSD returns the mod time of the symlink's containing
612 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
613 if test "$*" = "X"; then
615 set X `ls -t $srcdir/configure conftestfile`
617 if test "$*" != "X $srcdir/configure conftestfile" \
618 && test "$*" != "X conftestfile $srcdir/configure"; then
620 # If neither matched, then we have a broken ls. This can happen
621 # if, for instance, CONFIG_SHELL is bash and it inherits a
622 # broken ls alias from the environment. This has actually
623 # happened. Such a system could not be considered "sane".
624 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
625 alias in your environment" 1>&2; exit 1; }
628 test "$2" = conftestfile
634 { echo "configure: error: newly created file is older than distributed files!
635 Check your system clock" 1>&2; exit 1; }
638 echo "$ac_t""yes" 1>&6
639 if test "$program_transform_name" = s,x,x,; then
640 program_transform_name=
642 # Double any \ or $. echo might interpret backslashes.
643 cat <<\EOF_SED > conftestsed
644 s,\\,\\\\,g; s,\$,$$,g
646 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
649 test "$program_prefix" != NONE &&
650 program_transform_name="s,^,${program_prefix},; $program_transform_name"
651 # Use a double $ so make ignores it.
652 test "$program_suffix" != NONE &&
653 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
655 # sed with no file args requires a program.
656 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
658 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
659 echo "configure:660: checking whether ${MAKE-make} sets \${MAKE}" >&5
660 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
661 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
662 echo $ac_n "(cached) $ac_c" 1>&6
664 cat > conftestmake <<\EOF
666 @echo 'ac_maketemp="${MAKE}"'
668 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
669 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
670 if test -n "$ac_maketemp"; then
671 eval ac_cv_prog_make_${ac_make}_set=yes
673 eval ac_cv_prog_make_${ac_make}_set=no
677 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
678 echo "$ac_t""yes" 1>&6
681 echo "$ac_t""no" 1>&6
682 SET_MAKE="MAKE=${MAKE-make}"
690 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
691 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
693 cat >> confdefs.h <<EOF
694 #define PACKAGE "$PACKAGE"
697 cat >> confdefs.h <<EOF
698 #define VERSION "$VERSION"
703 missing_dir=`cd $ac_aux_dir && pwd`
704 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
705 echo "configure:706: checking for working aclocal" >&5
706 # Run test in a subshell; some versions of sh will print an error if
707 # an executable is not found, even if stderr is redirected.
708 # Redirect stdin to placate older versions of autoconf. Sigh.
709 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
711 echo "$ac_t""found" 1>&6
713 ACLOCAL="$missing_dir/missing aclocal"
714 echo "$ac_t""missing" 1>&6
717 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
718 echo "configure:719: checking for working autoconf" >&5
719 # Run test in a subshell; some versions of sh will print an error if
720 # an executable is not found, even if stderr is redirected.
721 # Redirect stdin to placate older versions of autoconf. Sigh.
722 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
724 echo "$ac_t""found" 1>&6
726 AUTOCONF="$missing_dir/missing autoconf"
727 echo "$ac_t""missing" 1>&6
730 echo $ac_n "checking for working automake""... $ac_c" 1>&6
731 echo "configure:732: checking for working automake" >&5
732 # Run test in a subshell; some versions of sh will print an error if
733 # an executable is not found, even if stderr is redirected.
734 # Redirect stdin to placate older versions of autoconf. Sigh.
735 if (automake --version) < /dev/null > /dev/null 2>&1; then
737 echo "$ac_t""found" 1>&6
739 AUTOMAKE="$missing_dir/missing automake"
740 echo "$ac_t""missing" 1>&6
743 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
744 echo "configure:745: checking for working autoheader" >&5
745 # Run test in a subshell; some versions of sh will print an error if
746 # an executable is not found, even if stderr is redirected.
747 # Redirect stdin to placate older versions of autoconf. Sigh.
748 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
749 AUTOHEADER=autoheader
750 echo "$ac_t""found" 1>&6
752 AUTOHEADER="$missing_dir/missing autoheader"
753 echo "$ac_t""missing" 1>&6
756 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
757 echo "configure:758: checking for working makeinfo" >&5
758 # Run test in a subshell; some versions of sh will print an error if
759 # an executable is not found, even if stderr is redirected.
760 # Redirect stdin to placate older versions of autoconf. Sigh.
761 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
763 echo "$ac_t""found" 1>&6
765 MAKEINFO="$missing_dir/missing makeinfo"
766 echo "$ac_t""missing" 1>&6
771 # Extract the first word of "gcc", so it can be a program name with args.
772 set dummy gcc; ac_word=$2
773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
774 echo "configure:775: checking for $ac_word" >&5
775 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
776 echo $ac_n "(cached) $ac_c" 1>&6
778 if test -n "$CC"; then
779 ac_cv_prog_CC="$CC" # Let the user override the test.
781 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
783 for ac_dir in $ac_dummy; do
784 test -z "$ac_dir" && ac_dir=.
785 if test -f $ac_dir/$ac_word; then
794 if test -n "$CC"; then
795 echo "$ac_t""$CC" 1>&6
797 echo "$ac_t""no" 1>&6
800 if test -z "$CC"; then
801 # Extract the first word of "cc", so it can be a program name with args.
802 set dummy cc; ac_word=$2
803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
804 echo "configure:805: checking for $ac_word" >&5
805 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
806 echo $ac_n "(cached) $ac_c" 1>&6
808 if test -n "$CC"; then
809 ac_cv_prog_CC="$CC" # Let the user override the test.
811 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
814 for ac_dir in $ac_dummy; do
815 test -z "$ac_dir" && ac_dir=.
816 if test -f $ac_dir/$ac_word; then
817 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
826 if test $ac_prog_rejected = yes; then
827 # We found a bogon in the path, so make sure we never use it.
828 set dummy $ac_cv_prog_CC
830 if test $# -gt 0; then
831 # We chose a different compiler from the bogus one.
832 # However, it has the same basename, so the bogon will be chosen
833 # first if we set CC to just the basename; use the full file name.
835 set dummy "$ac_dir/$ac_word" "$@"
843 if test -n "$CC"; then
844 echo "$ac_t""$CC" 1>&6
846 echo "$ac_t""no" 1>&6
849 if test -z "$CC"; then
852 # Extract the first word of "cl", so it can be a program name with args.
853 set dummy cl; ac_word=$2
854 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
855 echo "configure:856: checking for $ac_word" >&5
856 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
857 echo $ac_n "(cached) $ac_c" 1>&6
859 if test -n "$CC"; then
860 ac_cv_prog_CC="$CC" # Let the user override the test.
862 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
864 for ac_dir in $ac_dummy; do
865 test -z "$ac_dir" && ac_dir=.
866 if test -f $ac_dir/$ac_word; then
875 if test -n "$CC"; then
876 echo "$ac_t""$CC" 1>&6
878 echo "$ac_t""no" 1>&6
883 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
886 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
887 echo "configure:888: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
891 ac_cpp='$CPP $CPPFLAGS'
892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
894 cross_compiling=$ac_cv_prog_cc_cross
896 cat > conftest.$ac_ext << EOF
898 #line 899 "configure"
899 #include "confdefs.h"
903 if { (eval echo configure:904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
904 ac_cv_prog_cc_works=yes
905 # If we can't run a trivial program, we are probably using a cross compiler.
906 if (./conftest; exit) 2>/dev/null; then
907 ac_cv_prog_cc_cross=no
909 ac_cv_prog_cc_cross=yes
912 echo "configure: failed program was:" >&5
913 cat conftest.$ac_ext >&5
914 ac_cv_prog_cc_works=no
918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
919 ac_cpp='$CPP $CPPFLAGS'
920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
922 cross_compiling=$ac_cv_prog_cc_cross
924 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
925 if test $ac_cv_prog_cc_works = no; then
926 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
928 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
929 echo "configure:930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
930 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
931 cross_compiling=$ac_cv_prog_cc_cross
933 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
934 echo "configure:935: checking whether we are using GNU C" >&5
935 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
936 echo $ac_n "(cached) $ac_c" 1>&6
938 cat > conftest.c <<EOF
943 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
950 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
952 if test $ac_cv_prog_gcc = yes; then
958 ac_test_CFLAGS="${CFLAGS+set}"
959 ac_save_CFLAGS="$CFLAGS"
961 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
962 echo "configure:963: checking whether ${CC-cc} accepts -g" >&5
963 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
964 echo $ac_n "(cached) $ac_c" 1>&6
966 echo 'void f(){}' > conftest.c
967 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
976 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
977 if test "$ac_test_CFLAGS" = set; then
978 CFLAGS="$ac_save_CFLAGS"
979 elif test $ac_cv_prog_cc_g = yes; then
980 if test "$GCC" = yes; then
986 if test "$GCC" = yes; then
993 if test "x$CC" != xcc; then
994 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
995 echo "configure:996: checking whether $CC and cc understand -c and -o together" >&5
997 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
998 echo "configure:999: checking whether cc understands -c and -o together" >&5
1000 set dummy $CC; ac_cc="`echo $2 |
1001 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
1002 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
1003 echo $ac_n "(cached) $ac_c" 1>&6
1005 echo 'foo(){}' > conftest.c
1006 # Make sure it works both with $CC and with simple cc.
1007 # We do the test twice because some compilers refuse to overwrite an
1008 # existing .o file with -o, though they will create one.
1009 ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
1010 if { (eval echo configure:1011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
1011 test -f conftest.o && { (eval echo configure:1012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1013 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
1014 if test "x$CC" != xcc; then
1015 # Test first that cc exists at all.
1016 if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1017 ac_try='cc -c conftest.c -o conftest.o 1>&5'
1018 if { (eval echo configure:1019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
1019 test -f conftest.o && { (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1024 # cc exists but doesn't like -o.
1025 eval ac_cv_prog_cc_${ac_cc}_c_o=no
1030 eval ac_cv_prog_cc_${ac_cc}_c_o=no
1035 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
1036 echo "$ac_t""yes" 1>&6
1038 echo "$ac_t""no" 1>&6
1039 cat >> confdefs.h <<\EOF
1040 #define NO_MINUS_C_MINUS_O 1
1045 # Find a good install program. We prefer a C program (faster),
1046 # so one script is as good as another. But avoid the broken or
1047 # incompatible versions:
1048 # SysV /etc/install, /usr/sbin/install
1049 # SunOS /usr/etc/install
1050 # IRIX /sbin/install
1052 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1053 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1054 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1055 # ./install, which can be erroneously created by make from ./install.sh.
1056 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1057 echo "configure:1058: checking for a BSD compatible install" >&5
1058 if test -z "$INSTALL"; then
1059 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1060 echo $ac_n "(cached) $ac_c" 1>&6
1062 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1063 for ac_dir in $PATH; do
1064 # Account for people who put trailing slashes in PATH elements.
1066 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1068 # OSF1 and SCO ODT 3.0 have their own names for install.
1069 # Don't use installbsd from OSF since it installs stuff as root
1071 for ac_prog in ginstall scoinst install; do
1072 if test -f $ac_dir/$ac_prog; then
1073 if test $ac_prog = install &&
1074 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1075 # AIX install. It has an incompatible calling convention.
1078 ac_cv_path_install="$ac_dir/$ac_prog -c"
1089 if test "${ac_cv_path_install+set}" = set; then
1090 INSTALL="$ac_cv_path_install"
1092 # As a last resort, use the slow shell script. We don't cache a
1093 # path for INSTALL within a source directory, because that will
1094 # break other packages using the cache if that directory is
1095 # removed, or if the path is relative.
1096 INSTALL="$ac_install_sh"
1099 echo "$ac_t""$INSTALL" 1>&6
1101 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1102 # It thinks the first close brace ends the variable substitution.
1103 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1105 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1107 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1109 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1110 echo "configure:1111: checking whether ${MAKE-make} sets \${MAKE}" >&5
1111 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1112 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1113 echo $ac_n "(cached) $ac_c" 1>&6
1115 cat > conftestmake <<\EOF
1117 @echo 'ac_maketemp="${MAKE}"'
1119 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1120 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1121 if test -n "$ac_maketemp"; then
1122 eval ac_cv_prog_make_${ac_make}_set=yes
1124 eval ac_cv_prog_make_${ac_make}_set=no
1128 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1129 echo "$ac_t""yes" 1>&6
1132 echo "$ac_t""no" 1>&6
1133 SET_MAKE="MAKE=${MAKE-make}"
1140 if test "$MPICC" != "" ; then
1141 # Extract the first word of "$MPICC", so it can be a program name with args.
1142 set dummy $MPICC; ac_word=$2
1143 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1144 echo "configure:1145: checking for $ac_word" >&5
1145 if eval "test \"`echo '$''{'ac_cv_path_MPICC0'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1150 ac_cv_path_MPICC0="$MPICC0" # Let the user override the test with a path.
1153 ac_cv_path_MPICC0="$MPICC0" # Let the user override the test with a dos path.
1156 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1158 for ac_dir in $ac_dummy; do
1159 test -z "$ac_dir" && ac_dir=.
1160 if test -f $ac_dir/$ac_word; then
1161 ac_cv_path_MPICC0="$ac_dir/$ac_word"
1169 MPICC0="$ac_cv_path_MPICC0"
1170 if test -n "$MPICC0"; then
1171 echo "$ac_t""$MPICC0" 1>&6
1173 echo "$ac_t""no" 1>&6
1177 # Extract the first word of "mpcc", so it can be a program name with args.
1178 set dummy mpcc; ac_word=$2
1179 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1180 echo "configure:1181: checking for $ac_word" >&5
1181 if eval "test \"`echo '$''{'ac_cv_path_MPICC1'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_cv_path_MPICC1="$MPICC1" # Let the user override the test with a path.
1189 ac_cv_path_MPICC1="$MPICC1" # Let the user override the test with a dos path.
1192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1194 for ac_dir in $ac_dummy; do
1195 test -z "$ac_dir" && ac_dir=.
1196 if test -f $ac_dir/$ac_word; then
1197 ac_cv_path_MPICC1="$ac_dir/$ac_word"
1205 MPICC1="$ac_cv_path_MPICC1"
1206 if test -n "$MPICC1"; then
1207 echo "$ac_t""$MPICC1" 1>&6
1209 echo "$ac_t""no" 1>&6
1212 # Extract the first word of "hcc", so it can be a program name with args.
1213 set dummy hcc; ac_word=$2
1214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1215 echo "configure:1216: checking for $ac_word" >&5
1216 if eval "test \"`echo '$''{'ac_cv_path_MPICC2'+set}'`\" = set"; then
1217 echo $ac_n "(cached) $ac_c" 1>&6
1221 ac_cv_path_MPICC2="$MPICC2" # Let the user override the test with a path.
1224 ac_cv_path_MPICC2="$MPICC2" # Let the user override the test with a dos path.
1227 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1229 for ac_dir in $ac_dummy; do
1230 test -z "$ac_dir" && ac_dir=.
1231 if test -f $ac_dir/$ac_word; then
1232 ac_cv_path_MPICC2="$ac_dir/$ac_word"
1240 MPICC2="$ac_cv_path_MPICC2"
1241 if test -n "$MPICC2"; then
1242 echo "$ac_t""$MPICC2" 1>&6
1244 echo "$ac_t""no" 1>&6
1247 # Extract the first word of "mpicc", so it can be a program name with args.
1248 set dummy mpicc; ac_word=$2
1249 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1250 echo "configure:1251: checking for $ac_word" >&5
1251 if eval "test \"`echo '$''{'ac_cv_path_MPICC3'+set}'`\" = set"; then
1252 echo $ac_n "(cached) $ac_c" 1>&6
1256 ac_cv_path_MPICC3="$MPICC3" # Let the user override the test with a path.
1259 ac_cv_path_MPICC3="$MPICC3" # Let the user override the test with a dos path.
1262 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1264 for ac_dir in $ac_dummy; do
1265 test -z "$ac_dir" && ac_dir=.
1266 if test -f $ac_dir/$ac_word; then
1267 ac_cv_path_MPICC3="$ac_dir/$ac_word"
1275 MPICC3="$ac_cv_path_MPICC3"
1276 if test -n "$MPICC3"; then
1277 echo "$ac_t""$MPICC3" 1>&6
1279 echo "$ac_t""no" 1>&6
1282 # Extract the first word of "mpicc_lam", so it can be a program name with args.
1283 set dummy mpicc_lam; ac_word=$2
1284 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1285 echo "configure:1286: checking for $ac_word" >&5
1286 if eval "test \"`echo '$''{'ac_cv_path_MPICC4'+set}'`\" = set"; then
1287 echo $ac_n "(cached) $ac_c" 1>&6
1291 ac_cv_path_MPICC4="$MPICC4" # Let the user override the test with a path.
1294 ac_cv_path_MPICC4="$MPICC4" # Let the user override the test with a dos path.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_path_MPICC4="$ac_dir/$ac_word"
1310 MPICC4="$ac_cv_path_MPICC4"
1311 if test -n "$MPICC4"; then
1312 echo "$ac_t""$MPICC4" 1>&6
1314 echo "$ac_t""no" 1>&6
1317 # Extract the first word of "mpicc_mpich", so it can be a program name with args.
1318 set dummy mpicc_mpich; ac_word=$2
1319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1320 echo "configure:1321: checking for $ac_word" >&5
1321 if eval "test \"`echo '$''{'ac_cv_path_MPICC5'+set}'`\" = set"; then
1322 echo $ac_n "(cached) $ac_c" 1>&6
1326 ac_cv_path_MPICC5="$MPICC5" # Let the user override the test with a path.
1329 ac_cv_path_MPICC5="$MPICC5" # Let the user override the test with a dos path.
1332 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1334 for ac_dir in $ac_dummy; do
1335 test -z "$ac_dir" && ac_dir=.
1336 if test -f $ac_dir/$ac_word; then
1337 ac_cv_path_MPICC5="$ac_dir/$ac_word"
1345 MPICC5="$ac_cv_path_MPICC5"
1346 if test -n "$MPICC5"; then
1347 echo "$ac_t""$MPICC5" 1>&6
1349 echo "$ac_t""no" 1>&6
1353 if test "$MPICC0" != "" ; then
1354 if test "$MPICCSET" = "" ; then
1355 cat > conftest.c <<EOF
1357 int main (int argc, char **argv)
1359 MPI_Init(&argc,&argv);
1368 if test "$MPICC" != "" ; then
1369 echo $ac_n "checking whether $MPICC works as MPI compiler""... $ac_c" 1>&6
1370 echo "configure:1371: checking whether $MPICC works as MPI compiler" >&5
1371 $MPICC conftest.c -o conftest > /dev/null 2>&1
1372 if test $? = 0 ; then
1373 echo "$ac_t""yes" 1>&6
1379 echo "$ac_t""no" 1>&6
1380 echo $ac_n "checking whether $MPICC needs -lmpi""... $ac_c" 1>&6
1381 echo "configure:1382: checking whether $MPICC needs -lmpi" >&5
1382 $MPICC conftest.c -o conftest -lmpi > /dev/null 2>&1
1383 if test $? = 0 ; then
1384 echo "$ac_t""yes" 1>&6
1390 echo "$ac_t""no" 1>&6
1401 if test "$MPICC1" != "" ; then
1402 if test "$MPICCSET" = "" ; then
1403 cat > conftest.c <<EOF
1405 int main (int argc, char **argv)
1407 MPI_Init(&argc,&argv);
1416 if test "$MPICC" != "" ; then
1417 echo $ac_n "checking whether $MPICC works as MPI compiler""... $ac_c" 1>&6
1418 echo "configure:1419: checking whether $MPICC works as MPI compiler" >&5
1419 $MPICC conftest.c -o conftest > /dev/null 2>&1
1420 if test $? = 0 ; then
1421 echo "$ac_t""yes" 1>&6
1427 echo "$ac_t""no" 1>&6
1428 echo $ac_n "checking whether $MPICC needs -lmpi""... $ac_c" 1>&6
1429 echo "configure:1430: checking whether $MPICC needs -lmpi" >&5
1430 $MPICC conftest.c -o conftest -lmpi > /dev/null 2>&1
1431 if test $? = 0 ; then
1432 echo "$ac_t""yes" 1>&6
1438 echo "$ac_t""no" 1>&6
1449 if test "$MPICC2" != "" ; then
1450 if test "$MPICCSET" = "" ; then
1451 cat > conftest.c <<EOF
1453 int main (int argc, char **argv)
1455 MPI_Init(&argc,&argv);
1464 if test "$MPICC" != "" ; then
1465 echo $ac_n "checking whether $MPICC works as MPI compiler""... $ac_c" 1>&6
1466 echo "configure:1467: checking whether $MPICC works as MPI compiler" >&5
1467 $MPICC conftest.c -o conftest > /dev/null 2>&1
1468 if test $? = 0 ; then
1469 echo "$ac_t""yes" 1>&6
1475 echo "$ac_t""no" 1>&6
1476 echo $ac_n "checking whether $MPICC needs -lmpi""... $ac_c" 1>&6
1477 echo "configure:1478: checking whether $MPICC needs -lmpi" >&5
1478 $MPICC conftest.c -o conftest -lmpi > /dev/null 2>&1
1479 if test $? = 0 ; then
1480 echo "$ac_t""yes" 1>&6
1486 echo "$ac_t""no" 1>&6
1497 if test "$MPICC3" != "" ; then
1498 if test "$MPICCSET" = "" ; then
1499 cat > conftest.c <<EOF
1501 int main (int argc, char **argv)
1503 MPI_Init(&argc,&argv);
1512 if test "$MPICC" != "" ; then
1513 echo $ac_n "checking whether $MPICC works as MPI compiler""... $ac_c" 1>&6
1514 echo "configure:1515: checking whether $MPICC works as MPI compiler" >&5
1515 $MPICC conftest.c -o conftest > /dev/null 2>&1
1516 if test $? = 0 ; then
1517 echo "$ac_t""yes" 1>&6
1523 echo "$ac_t""no" 1>&6
1524 echo $ac_n "checking whether $MPICC needs -lmpi""... $ac_c" 1>&6
1525 echo "configure:1526: checking whether $MPICC needs -lmpi" >&5
1526 $MPICC conftest.c -o conftest -lmpi > /dev/null 2>&1
1527 if test $? = 0 ; then
1528 echo "$ac_t""yes" 1>&6
1534 echo "$ac_t""no" 1>&6
1545 if test "$MPICC4" != "" ; then
1546 if test "$MPICCSET" = "" ; then
1547 cat > conftest.c <<EOF
1549 int main (int argc, char **argv)
1551 MPI_Init(&argc,&argv);
1560 if test "$MPICC" != "" ; then
1561 echo $ac_n "checking whether $MPICC works as MPI compiler""... $ac_c" 1>&6
1562 echo "configure:1563: checking whether $MPICC works as MPI compiler" >&5
1563 $MPICC conftest.c -o conftest > /dev/null 2>&1
1564 if test $? = 0 ; then
1565 echo "$ac_t""yes" 1>&6
1571 echo "$ac_t""no" 1>&6
1572 echo $ac_n "checking whether $MPICC needs -lmpi""... $ac_c" 1>&6
1573 echo "configure:1574: checking whether $MPICC needs -lmpi" >&5
1574 $MPICC conftest.c -o conftest -lmpi > /dev/null 2>&1
1575 if test $? = 0 ; then
1576 echo "$ac_t""yes" 1>&6
1582 echo "$ac_t""no" 1>&6
1593 if test "$MPICC5" != "" ; then
1594 if test "$MPICCSET" = "" ; then
1595 cat > conftest.c <<EOF
1597 int main (int argc, char **argv)
1599 MPI_Init(&argc,&argv);
1608 if test "$MPICC" != "" ; then
1609 echo $ac_n "checking whether $MPICC works as MPI compiler""... $ac_c" 1>&6
1610 echo "configure:1611: checking whether $MPICC works as MPI compiler" >&5
1611 $MPICC conftest.c -o conftest > /dev/null 2>&1
1612 if test $? = 0 ; then
1613 echo "$ac_t""yes" 1>&6
1619 echo "$ac_t""no" 1>&6
1620 echo $ac_n "checking whether $MPICC needs -lmpi""... $ac_c" 1>&6
1621 echo "configure:1622: checking whether $MPICC needs -lmpi" >&5
1622 $MPICC conftest.c -o conftest -lmpi > /dev/null 2>&1
1623 if test $? = 0 ; then
1624 echo "$ac_t""yes" 1>&6
1630 echo "$ac_t""no" 1>&6
1642 ac_cv_prog_MPICC=$MPICC
1650 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
1651 echo "configure:1652: checking for main in -lm" >&5
1652 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
1653 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1654 echo $ac_n "(cached) $ac_c" 1>&6
1656 ac_save_LIBS="$LIBS"
1658 cat > conftest.$ac_ext <<EOF
1659 #line 1660 "configure"
1660 #include "confdefs.h"
1666 if { (eval echo configure:1667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1668 eval "ac_cv_lib_$ac_lib_var=yes"
1670 echo "configure: failed program was:" >&5
1671 cat conftest.$ac_ext >&5
1673 eval "ac_cv_lib_$ac_lib_var=no"
1676 LIBS="$ac_save_LIBS"
1679 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1680 echo "$ac_t""yes" 1>&6
1681 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1682 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1683 cat >> confdefs.h <<EOF
1684 #define $ac_tr_lib 1
1690 echo "$ac_t""no" 1>&6
1694 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1695 echo "configure:1696: checking how to run the C preprocessor" >&5
1696 # On Suns, sometimes $CPP names a directory.
1697 if test -n "$CPP" && test -d "$CPP"; then
1700 if test -z "$CPP"; then
1701 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1702 echo $ac_n "(cached) $ac_c" 1>&6
1704 # This must be in double quotes, not single quotes, because CPP may get
1705 # substituted into the Makefile and "${CC-cc}" will confuse make.
1707 # On the NeXT, cc -E runs the code through the compiler's parser,
1708 # not just through cpp.
1709 cat > conftest.$ac_ext <<EOF
1710 #line 1711 "configure"
1711 #include "confdefs.h"
1715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1716 { (eval echo configure:1717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1718 if test -z "$ac_err"; then
1722 echo "configure: failed program was:" >&5
1723 cat conftest.$ac_ext >&5
1725 CPP="${CC-cc} -E -traditional-cpp"
1726 cat > conftest.$ac_ext <<EOF
1727 #line 1728 "configure"
1728 #include "confdefs.h"
1732 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1733 { (eval echo configure:1734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1734 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1735 if test -z "$ac_err"; then
1739 echo "configure: failed program was:" >&5
1740 cat conftest.$ac_ext >&5
1742 CPP="${CC-cc} -nologo -E"
1743 cat > conftest.$ac_ext <<EOF
1744 #line 1745 "configure"
1745 #include "confdefs.h"
1749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1750 { (eval echo configure:1751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1752 if test -z "$ac_err"; then
1756 echo "configure: failed program was:" >&5
1757 cat conftest.$ac_ext >&5
1766 ac_cv_prog_CPP="$CPP"
1768 CPP="$ac_cv_prog_CPP"
1770 ac_cv_prog_CPP="$CPP"
1772 echo "$ac_t""$CPP" 1>&6
1774 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1775 echo "configure:1776: checking for ANSI C header files" >&5
1776 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1777 echo $ac_n "(cached) $ac_c" 1>&6
1779 cat > conftest.$ac_ext <<EOF
1780 #line 1781 "configure"
1781 #include "confdefs.h"
1787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1788 { (eval echo configure:1789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1790 if test -z "$ac_err"; then
1792 ac_cv_header_stdc=yes
1795 echo "configure: failed program was:" >&5
1796 cat conftest.$ac_ext >&5
1798 ac_cv_header_stdc=no
1802 if test $ac_cv_header_stdc = yes; then
1803 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1804 cat > conftest.$ac_ext <<EOF
1805 #line 1806 "configure"
1806 #include "confdefs.h"
1809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1810 egrep "memchr" >/dev/null 2>&1; then
1814 ac_cv_header_stdc=no
1820 if test $ac_cv_header_stdc = yes; then
1821 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1822 cat > conftest.$ac_ext <<EOF
1823 #line 1824 "configure"
1824 #include "confdefs.h"
1827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1828 egrep "free" >/dev/null 2>&1; then
1832 ac_cv_header_stdc=no
1838 if test $ac_cv_header_stdc = yes; then
1839 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1840 if test "$cross_compiling" = yes; then
1843 cat > conftest.$ac_ext <<EOF
1844 #line 1845 "configure"
1845 #include "confdefs.h"
1847 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1848 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1850 int main () { int i; for (i = 0; i < 256; i++)
1851 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1855 if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1859 echo "configure: failed program was:" >&5
1860 cat conftest.$ac_ext >&5
1862 ac_cv_header_stdc=no
1870 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1871 if test $ac_cv_header_stdc = yes; then
1872 cat >> confdefs.h <<\EOF
1873 #define STDC_HEADERS 1
1878 for ac_hdr in limits.h
1880 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1881 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1882 echo "configure:1883: checking for $ac_hdr" >&5
1883 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1884 echo $ac_n "(cached) $ac_c" 1>&6
1886 cat > conftest.$ac_ext <<EOF
1887 #line 1888 "configure"
1888 #include "confdefs.h"
1891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1892 { (eval echo configure:1893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1893 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1894 if test -z "$ac_err"; then
1896 eval "ac_cv_header_$ac_safe=yes"
1899 echo "configure: failed program was:" >&5
1900 cat conftest.$ac_ext >&5
1902 eval "ac_cv_header_$ac_safe=no"
1906 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1907 echo "$ac_t""yes" 1>&6
1908 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1909 cat >> confdefs.h <<EOF
1910 #define $ac_tr_hdr 1
1914 echo "$ac_t""no" 1>&6
1921 echo $ac_n "checking for working const""... $ac_c" 1>&6
1922 echo "configure:1923: checking for working const" >&5
1923 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1924 echo $ac_n "(cached) $ac_c" 1>&6
1926 cat > conftest.$ac_ext <<EOF
1927 #line 1928 "configure"
1928 #include "confdefs.h"
1932 /* Ultrix mips cc rejects this. */
1933 typedef int charset[2]; const charset x;
1934 /* SunOS 4.1.1 cc rejects this. */
1935 char const *const *ccp;
1937 /* NEC SVR4.0.2 mips cc rejects this. */
1938 struct point {int x, y;};
1939 static struct point const zero = {0,0};
1940 /* AIX XL C 1.02.0.0 rejects this.
1941 It does not let you subtract one const X* pointer from another in an arm
1942 of an if-expression whose if-part is not a constant expression */
1943 const char *g = "string";
1944 ccp = &g + (g ? g-g : 0);
1945 /* HPUX 7.0 cc rejects these. */
1948 ccp = (char const *const *) p;
1949 { /* SCO 3.2v4 cc rejects this. */
1951 char const *s = 0 ? (char *) 0 : (char const *) 0;
1955 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1957 const int *foo = &x[0];
1960 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1961 typedef const int *iptr;
1965 { /* AIX XL C 1.02.0.0 rejects this saying
1966 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1967 struct s { int j; const int *ap[3]; };
1968 struct s *b; b->j = 5;
1970 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1976 if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1980 echo "configure: failed program was:" >&5
1981 cat conftest.$ac_ext >&5
1988 echo "$ac_t""$ac_cv_c_const" 1>&6
1989 if test $ac_cv_c_const = no; then
1990 cat >> confdefs.h <<\EOF
1996 echo $ac_n "checking for size_t""... $ac_c" 1>&6
1997 echo "configure:1998: checking for size_t" >&5
1998 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1999 echo $ac_n "(cached) $ac_c" 1>&6
2001 cat > conftest.$ac_ext <<EOF
2002 #line 2003 "configure"
2003 #include "confdefs.h"
2004 #include <sys/types.h>
2010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2011 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
2013 ac_cv_type_size_t=yes
2016 ac_cv_type_size_t=no
2021 echo "$ac_t""$ac_cv_type_size_t" 1>&6
2022 if test $ac_cv_type_size_t = no; then
2023 cat >> confdefs.h <<\EOF
2024 #define size_t unsigned
2033 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2035 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2036 # Let make expand exec_prefix.
2037 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2039 # Any assignment to VPATH causes Sun make to only execute
2040 # the first set of double-colon rules, so remove it if not needed.
2041 # If there is a colon in the path, we need to keep it.
2042 if test "x$srcdir" = x.; then
2043 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2046 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2048 # Transform confdefs.h into DEFS.
2049 # Protect against shell expansion while executing Makefile rules.
2050 # Protect against Makefile macro expansion.
2051 cat > conftest.defs <<\EOF
2052 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
2053 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
2058 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
2062 # Without the "./", some shells look in PATH for config.status.
2063 : ${CONFIG_STATUS=./config.status}
2065 echo creating $CONFIG_STATUS
2066 rm -f $CONFIG_STATUS
2067 cat > $CONFIG_STATUS <<EOF
2069 # Generated automatically by configure.
2070 # Run this file to recreate the current configuration.
2071 # This directory was configured as follows,
2072 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2074 # $0 $ac_configure_args
2076 # Compiler output produced by configure, useful for debugging
2077 # configure, is in ./config.log if it exists.
2079 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2082 case "\$ac_option" in
2083 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2084 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2085 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2086 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2087 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2089 -help | --help | --hel | --he | --h)
2090 echo "\$ac_cs_usage"; exit 0 ;;
2091 *) echo "\$ac_cs_usage"; exit 1 ;;
2095 ac_given_srcdir=$srcdir
2096 ac_given_INSTALL="$INSTALL"
2098 trap 'rm -fr `echo "Makefile src/Makefile src/test doc/Makefile data/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2100 cat >> $CONFIG_STATUS <<EOF
2102 # Protect against being on the right side of a sed subst in config.status.
2103 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2104 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2108 s%@CFLAGS@%$CFLAGS%g
2109 s%@CPPFLAGS@%$CPPFLAGS%g
2110 s%@CXXFLAGS@%$CXXFLAGS%g
2111 s%@FFLAGS@%$FFLAGS%g
2113 s%@LDFLAGS@%$LDFLAGS%g
2115 s%@exec_prefix@%$exec_prefix%g
2116 s%@prefix@%$prefix%g
2117 s%@program_transform_name@%$program_transform_name%g
2118 s%@bindir@%$bindir%g
2119 s%@sbindir@%$sbindir%g
2120 s%@libexecdir@%$libexecdir%g
2121 s%@datadir@%$datadir%g
2122 s%@sysconfdir@%$sysconfdir%g
2123 s%@sharedstatedir@%$sharedstatedir%g
2124 s%@localstatedir@%$localstatedir%g
2125 s%@libdir@%$libdir%g
2126 s%@includedir@%$includedir%g
2127 s%@oldincludedir@%$oldincludedir%g
2128 s%@infodir@%$infodir%g
2129 s%@mandir@%$mandir%g
2130 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2131 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2132 s%@INSTALL_DATA@%$INSTALL_DATA%g
2133 s%@PACKAGE@%$PACKAGE%g
2134 s%@VERSION@%$VERSION%g
2135 s%@ACLOCAL@%$ACLOCAL%g
2136 s%@AUTOCONF@%$AUTOCONF%g
2137 s%@AUTOMAKE@%$AUTOMAKE%g
2138 s%@AUTOHEADER@%$AUTOHEADER%g
2139 s%@MAKEINFO@%$MAKEINFO%g
2140 s%@SET_MAKE@%$SET_MAKE%g
2142 s%@MPICC0@%$MPICC0%g
2143 s%@MPICC1@%$MPICC1%g
2144 s%@MPICC2@%$MPICC2%g
2145 s%@MPICC3@%$MPICC3%g
2146 s%@MPICC4@%$MPICC4%g
2147 s%@MPICC5@%$MPICC5%g
2149 s%@MPILIBS@%$MPILIBS%g
2150 s%@MPIDEFS@%$MPIDEFS%g
2151 s%@MPICFLAGS@%$MPICFLAGS%g
2152 s%@PPUZZLE@%$PPUZZLE%g
2158 cat >> $CONFIG_STATUS <<\EOF
2160 # Split the substitutions into bite-sized pieces for seds with
2161 # small command number limits, like on Digital OSF/1 and HP-UX.
2162 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2163 ac_file=1 # Number of current file.
2164 ac_beg=1 # First line for current file.
2165 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2168 while $ac_more_lines; do
2169 if test $ac_beg -gt 1; then
2170 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2172 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2174 if test ! -s conftest.s$ac_file; then
2176 rm -f conftest.s$ac_file
2178 if test -z "$ac_sed_cmds"; then
2179 ac_sed_cmds="sed -f conftest.s$ac_file"
2181 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2183 ac_file=`expr $ac_file + 1`
2185 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2188 if test -z "$ac_sed_cmds"; then
2193 cat >> $CONFIG_STATUS <<EOF
2195 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/test doc/Makefile data/Makefile"}
2197 cat >> $CONFIG_STATUS <<\EOF
2198 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2199 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2201 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2202 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2203 *) ac_file_in="${ac_file}.in" ;;
2206 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2208 # Remove last slash and all that follows it. Not all systems have dirname.
2209 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2210 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2211 # The file is in a subdirectory.
2212 test ! -d "$ac_dir" && mkdir "$ac_dir"
2213 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2214 # A "../" for each directory in $ac_dir_suffix.
2215 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2217 ac_dir_suffix= ac_dots=
2220 case "$ac_given_srcdir" in
2222 if test -z "$ac_dots"; then top_srcdir=.
2223 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2224 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2226 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2227 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2230 case "$ac_given_INSTALL" in
2231 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2232 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2235 echo creating "$ac_file"
2237 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2239 *Makefile*) ac_comsub="1i\\
2240 # $configure_input" ;;
2244 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2246 s%@configure_input@%$configure_input%g
2247 s%@srcdir@%$srcdir%g
2248 s%@top_srcdir@%$top_srcdir%g
2249 s%@INSTALL@%$INSTALL%g
2250 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2255 cat >> $CONFIG_STATUS <<EOF
2258 cat >> $CONFIG_STATUS <<\EOF
2262 chmod +x $CONFIG_STATUS
2263 rm -fr confdefs* $ac_clean_files
2264 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1