initial commit
[jalview.git] / forester / archive / RIO / others / puzzle_mod / configure
1 #! /bin/sh
2
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.
6 #
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14
15 # Initialize some variables set by options.
16 # The variables have the same names as the options, with
17 # dashes changed to underlines.
18 build=NONE
19 cache_file=./config.cache
20 exec_prefix=NONE
21 host=NONE
22 no_create=
23 nonopt=NONE
24 no_recursion=
25 prefix=NONE
26 program_prefix=NONE
27 program_suffix=NONE
28 program_transform_name=s,x,x,
29 silent=
30 site=
31 srcdir=
32 target=NONE
33 verbose=
34 x_includes=NONE
35 x_libraries=NONE
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'
48
49 # Initialize some other variables.
50 subdirs=
51 MFLAGS= MAKEFLAGS=
52 SHELL=${CONFIG_SHELL-/bin/sh}
53 # Maximum number of lines to put in a shell here document.
54 ac_max_here_lines=12
55
56 ac_prev=
57 for ac_option
58 do
59
60   # If the previous option needs an argument, assign it.
61   if test -n "$ac_prev"; then
62     eval "$ac_prev=\$ac_option"
63     ac_prev=
64     continue
65   fi
66
67   case "$ac_option" in
68   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
69   *) ac_optarg= ;;
70   esac
71
72   # Accept the important Cygnus configure options, so we can diagnose typos.
73
74   case "$ac_option" in
75
76   -bindir | --bindir | --bindi | --bind | --bin | --bi)
77     ac_prev=bindir ;;
78   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
79     bindir="$ac_optarg" ;;
80
81   -build | --build | --buil | --bui | --bu)
82     ac_prev=build ;;
83   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
84     build="$ac_optarg" ;;
85
86   -cache-file | --cache-file | --cache-fil | --cache-fi \
87   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
88     ac_prev=cache_file ;;
89   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
90   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
91     cache_file="$ac_optarg" ;;
92
93   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
94     ac_prev=datadir ;;
95   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
96   | --da=*)
97     datadir="$ac_optarg" ;;
98
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; }
104     fi
105     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
106     eval "enable_${ac_feature}=no" ;;
107
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; }
113     fi
114     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
115     case "$ac_option" in
116       *=*) ;;
117       *) ac_optarg=yes ;;
118     esac
119     eval "enable_${ac_feature}='$ac_optarg'" ;;
120
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" ;;
129
130   -gas | --gas | --ga | --g)
131     # Obsolete; use --with-gas.
132     with_gas=yes ;;
133
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.
137     cat << EOF
138 Usage: configure [options] [host]
139 Options: [defaults in brackets after descriptions]
140 Configuration:
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
148                           [$ac_default_prefix]
149   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
150                           [same as prefix]
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
155                           [PREFIX/share]
156   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
157   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
158                           [PREFIX/com]
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
170 EOF
171     cat << EOF
172 Host type:
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
183 EOF
184     if test -n "$ac_help"; then
185       echo "--enable and --with options recognized:$ac_help"
186     fi
187     exit 0 ;;
188
189   -host | --host | --hos | --ho)
190     ac_prev=host ;;
191   -host=* | --host=* | --hos=* | --ho=*)
192     host="$ac_optarg" ;;
193
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" ;;
200
201   -infodir | --infodir | --infodi | --infod | --info | --inf)
202     ac_prev=infodir ;;
203   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
204     infodir="$ac_optarg" ;;
205
206   -libdir | --libdir | --libdi | --libd)
207     ac_prev=libdir ;;
208   -libdir=* | --libdir=* | --libdi=* | --libd=*)
209     libdir="$ac_optarg" ;;
210
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" ;;
217
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" ;;
226
227   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
228     ac_prev=mandir ;;
229   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
230     mandir="$ac_optarg" ;;
231
232   -nfp | --nfp | --nf)
233     # Obsolete; use --without-fp.
234     with_fp=no ;;
235
236   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
237   | --no-cr | --no-c)
238     no_create=yes ;;
239
240   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
241   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
242     no_recursion=yes ;;
243
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" ;;
252
253   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
254     ac_prev=prefix ;;
255   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
256     prefix="$ac_optarg" ;;
257
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" ;;
264
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" ;;
271
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" ;;
288
289   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
290   | -silent | --silent | --silen | --sile | --sil)
291     silent=yes ;;
292
293   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
294     ac_prev=sbindir ;;
295   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
296   | --sbi=* | --sb=*)
297     sbindir="$ac_optarg" ;;
298
299   -sharedstatedir | --sharedstatedir | --sharedstatedi \
300   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
301   | --sharedst | --shareds | --shared | --share | --shar \
302   | --sha | --sh)
303     ac_prev=sharedstatedir ;;
304   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
305   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
306   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
307   | --sha=* | --sh=*)
308     sharedstatedir="$ac_optarg" ;;
309
310   -site | --site | --sit)
311     ac_prev=site ;;
312   -site=* | --site=* | --sit=*)
313     site="$ac_optarg" ;;
314
315   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
316     ac_prev=srcdir ;;
317   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
318     srcdir="$ac_optarg" ;;
319
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" ;;
326
327   -target | --target | --targe | --targ | --tar | --ta | --t)
328     ac_prev=target ;;
329   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
330     target="$ac_optarg" ;;
331
332   -v | -verbose | --verbose | --verbos | --verbo | --verb)
333     verbose=yes ;;
334
335   -version | --version | --versio | --versi | --vers)
336     echo "configure generated by autoconf version 2.13"
337     exit 0 ;;
338
339   -with-* | --with-*)
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; }
344     fi
345     ac_package=`echo $ac_package| sed 's/-/_/g'`
346     case "$ac_option" in
347       *=*) ;;
348       *) ac_optarg=yes ;;
349     esac
350     eval "with_${ac_package}='$ac_optarg'" ;;
351
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; }
357     fi
358     ac_package=`echo $ac_package| sed 's/-/_/g'`
359     eval "with_${ac_package}=no" ;;
360
361   --x)
362     # Obsolete; use --with-x.
363     with_x=yes ;;
364
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" ;;
371
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" ;;
378
379   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
380     ;;
381
382   *)
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
385     fi
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; }
388     fi
389     nonopt="$ac_option"
390     ;;
391
392   esac
393 done
394
395 if test -n "$ac_prev"; then
396   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
397 fi
398
399 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
400
401 # File descriptor usage:
402 # 0 standard input
403 # 1 file creation
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
410   exec 6>/dev/null
411 else
412   exec 6>&1
413 fi
414 exec 5>./config.log
415
416 echo "\
417 This file contains any messages produced by compilers while
418 running configure, to aid debugging if configure makes a mistake.
419 " 1>&5
420
421 # Strip out --no-create and --no-recursion so they do not pile up.
422 # Also quote any args containing shell metacharacters.
423 ac_configure_args=
424 for ac_arg
425 do
426   case "$ac_arg" in
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" ;;
434   esac
435 done
436
437 # NLS nuisances.
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
446
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.
450 echo > confdefs.h
451
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
455
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.
460   ac_prog=$0
461   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
463   srcdir=$ac_confdir
464   if test ! -r $srcdir/$ac_unique_file; then
465     srcdir=..
466   fi
467 else
468   ac_srcdir_defaulted=no
469 fi
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; }
473   else
474     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
475   fi
476 fi
477 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
478
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"
483   else
484     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
485   fi
486 fi
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"
490     . "$ac_site_file"
491   fi
492 done
493
494
495 ac_ext=c
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
501
502 ac_exeext=
503 ac_objext=o
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
507     ac_n= ac_c='
508 ' ac_t='        '
509   else
510     ac_n=-n ac_c= ac_t=
511   fi
512 else
513   ac_n= ac_c='\c' ac_t=
514 fi
515
516
517
518 ac_aux_dir=
519 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
520   if test -f $ac_dir/install-sh; then
521     ac_aux_dir=$ac_dir
522     ac_install_sh="$ac_aux_dir/install-sh -c"
523     break
524   elif test -f $ac_dir/install.sh; then
525     ac_aux_dir=$ac_dir
526     ac_install_sh="$ac_aux_dir/install.sh -c"
527     break
528   fi
529 done
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; }
532 fi
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.
536
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
542 # IRIX /sbin/install
543 # AIX /bin/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
553 else
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.
557     case "$ac_dir/" in
558     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
559     *)
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
562       # by default.
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.
568             :
569           else
570             ac_cv_path_install="$ac_dir/$ac_prog -c"
571             break 2
572           fi
573         fi
574       done
575       ;;
576     esac
577   done
578   IFS="$ac_save_IFS"
579
580 fi
581   if test "${ac_cv_path_install+set}" = set; then
582     INSTALL="$ac_cv_path_install"
583   else
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"
589   fi
590 fi
591 echo "$ac_t""$INSTALL" 1>&6
592
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}'
596
597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
598
599 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
600
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
603 # Just in case
604 sleep 1
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
610 # directory).
611 if (
612    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
613    if test "$*" = "X"; then
614       # -L didn't work.
615       set X `ls -t $srcdir/configure conftestfile`
616    fi
617    if test "$*" != "X $srcdir/configure conftestfile" \
618       && test "$*" != "X conftestfile $srcdir/configure"; then
619
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; }
626    fi
627
628    test "$2" = conftestfile
629    )
630 then
631    # Ok.
632    :
633 else
634    { echo "configure: error: newly created file is older than distributed files!
635 Check your system clock" 1>&2; exit 1; }
636 fi
637 rm -f conftest*
638 echo "$ac_t""yes" 1>&6
639 if test "$program_transform_name" = s,x,x,; then
640   program_transform_name=
641 else
642   # Double any \ or $.  echo might interpret backslashes.
643   cat <<\EOF_SED > conftestsed
644 s,\\,\\\\,g; s,\$,$$,g
645 EOF_SED
646   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
647   rm -f conftestsed
648 fi
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"
654
655 # sed with no file args requires a program.
656 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
657
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
663 else
664   cat > conftestmake <<\EOF
665 all:
666         @echo 'ac_maketemp="${MAKE}"'
667 EOF
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
672 else
673   eval ac_cv_prog_make_${ac_make}_set=no
674 fi
675 rm -f conftestmake
676 fi
677 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
678   echo "$ac_t""yes" 1>&6
679   SET_MAKE=
680 else
681   echo "$ac_t""no" 1>&6
682   SET_MAKE="MAKE=${MAKE-make}"
683 fi
684
685
686 PACKAGE=tree-puzzle
687
688 VERSION=5.0
689
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; }
692 fi
693 cat >> confdefs.h <<EOF
694 #define PACKAGE "$PACKAGE"
695 EOF
696
697 cat >> confdefs.h <<EOF
698 #define VERSION "$VERSION"
699 EOF
700
701
702
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
710    ACLOCAL=aclocal
711    echo "$ac_t""found" 1>&6
712 else
713    ACLOCAL="$missing_dir/missing aclocal"
714    echo "$ac_t""missing" 1>&6
715 fi
716
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
723    AUTOCONF=autoconf
724    echo "$ac_t""found" 1>&6
725 else
726    AUTOCONF="$missing_dir/missing autoconf"
727    echo "$ac_t""missing" 1>&6
728 fi
729
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
736    AUTOMAKE=automake
737    echo "$ac_t""found" 1>&6
738 else
739    AUTOMAKE="$missing_dir/missing automake"
740    echo "$ac_t""missing" 1>&6
741 fi
742
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
751 else
752    AUTOHEADER="$missing_dir/missing autoheader"
753    echo "$ac_t""missing" 1>&6
754 fi
755
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
762    MAKEINFO=makeinfo
763    echo "$ac_t""found" 1>&6
764 else
765    MAKEINFO="$missing_dir/missing makeinfo"
766    echo "$ac_t""missing" 1>&6
767 fi
768
769
770
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
777 else
778   if test -n "$CC"; then
779   ac_cv_prog_CC="$CC" # Let the user override the test.
780 else
781   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
782   ac_dummy="$PATH"
783   for ac_dir in $ac_dummy; do
784     test -z "$ac_dir" && ac_dir=.
785     if test -f $ac_dir/$ac_word; then
786       ac_cv_prog_CC="gcc"
787       break
788     fi
789   done
790   IFS="$ac_save_ifs"
791 fi
792 fi
793 CC="$ac_cv_prog_CC"
794 if test -n "$CC"; then
795   echo "$ac_t""$CC" 1>&6
796 else
797   echo "$ac_t""no" 1>&6
798 fi
799
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
807 else
808   if test -n "$CC"; then
809   ac_cv_prog_CC="$CC" # Let the user override the test.
810 else
811   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
812   ac_prog_rejected=no
813   ac_dummy="$PATH"
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
818         ac_prog_rejected=yes
819         continue
820       fi
821       ac_cv_prog_CC="cc"
822       break
823     fi
824   done
825   IFS="$ac_save_ifs"
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
829   shift
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.
834     shift
835     set dummy "$ac_dir/$ac_word" "$@"
836     shift
837     ac_cv_prog_CC="$@"
838   fi
839 fi
840 fi
841 fi
842 CC="$ac_cv_prog_CC"
843 if test -n "$CC"; then
844   echo "$ac_t""$CC" 1>&6
845 else
846   echo "$ac_t""no" 1>&6
847 fi
848
849   if test -z "$CC"; then
850     case "`uname -s`" in
851     *win32* | *WIN32*)
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
858 else
859   if test -n "$CC"; then
860   ac_cv_prog_CC="$CC" # Let the user override the test.
861 else
862   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
863   ac_dummy="$PATH"
864   for ac_dir in $ac_dummy; do
865     test -z "$ac_dir" && ac_dir=.
866     if test -f $ac_dir/$ac_word; then
867       ac_cv_prog_CC="cl"
868       break
869     fi
870   done
871   IFS="$ac_save_ifs"
872 fi
873 fi
874 CC="$ac_cv_prog_CC"
875 if test -n "$CC"; then
876   echo "$ac_t""$CC" 1>&6
877 else
878   echo "$ac_t""no" 1>&6
879 fi
880  ;;
881     esac
882   fi
883   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
884 fi
885
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
888
889 ac_ext=c
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
895
896 cat > conftest.$ac_ext << EOF
897
898 #line 899 "configure"
899 #include "confdefs.h"
900
901 main(){return(0);}
902 EOF
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
908   else
909     ac_cv_prog_cc_cross=yes
910   fi
911 else
912   echo "configure: failed program was:" >&5
913   cat conftest.$ac_ext >&5
914   ac_cv_prog_cc_works=no
915 fi
916 rm -fr conftest*
917 ac_ext=c
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
923
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; }
927 fi
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
932
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
937 else
938   cat > conftest.c <<EOF
939 #ifdef __GNUC__
940   yes;
941 #endif
942 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
944   ac_cv_prog_gcc=yes
945 else
946   ac_cv_prog_gcc=no
947 fi
948 fi
949
950 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
951
952 if test $ac_cv_prog_gcc = yes; then
953   GCC=yes
954 else
955   GCC=
956 fi
957
958 ac_test_CFLAGS="${CFLAGS+set}"
959 ac_save_CFLAGS="$CFLAGS"
960 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
965 else
966   echo 'void f(){}' > conftest.c
967 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
968   ac_cv_prog_cc_g=yes
969 else
970   ac_cv_prog_cc_g=no
971 fi
972 rm -f conftest*
973
974 fi
975
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
981     CFLAGS="-g -O2"
982   else
983     CFLAGS="-g"
984   fi
985 else
986   if test "$GCC" = yes; then
987     CFLAGS="-O2"
988   else
989     CFLAGS=
990   fi
991 fi
992
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
996 else
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
999 fi
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
1004 else
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; };
1012 then
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; };
1020       then
1021         # cc works too.
1022         :
1023       else
1024         # cc exists but doesn't like -o.
1025         eval ac_cv_prog_cc_${ac_cc}_c_o=no
1026       fi
1027     fi
1028   fi
1029 else
1030   eval ac_cv_prog_cc_${ac_cc}_c_o=no
1031 fi
1032 rm -f conftest*
1033
1034 fi
1035 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
1036   echo "$ac_t""yes" 1>&6
1037 else
1038   echo "$ac_t""no" 1>&6
1039   cat >> confdefs.h <<\EOF
1040 #define NO_MINUS_C_MINUS_O 1
1041 EOF
1042
1043 fi
1044
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
1051 # AIX /bin/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
1061 else
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.
1065     case "$ac_dir/" in
1066     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1067     *)
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
1070       # by default.
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.
1076             :
1077           else
1078             ac_cv_path_install="$ac_dir/$ac_prog -c"
1079             break 2
1080           fi
1081         fi
1082       done
1083       ;;
1084     esac
1085   done
1086   IFS="$ac_save_IFS"
1087
1088 fi
1089   if test "${ac_cv_path_install+set}" = set; then
1090     INSTALL="$ac_cv_path_install"
1091   else
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"
1097   fi
1098 fi
1099 echo "$ac_t""$INSTALL" 1>&6
1100
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}'
1104
1105 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1106
1107 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1108
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
1114 else
1115   cat > conftestmake <<\EOF
1116 all:
1117         @echo 'ac_maketemp="${MAKE}"'
1118 EOF
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
1123 else
1124   eval ac_cv_prog_make_${ac_make}_set=no
1125 fi
1126 rm -f conftestmake
1127 fi
1128 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1129   echo "$ac_t""yes" 1>&6
1130   SET_MAKE=
1131 else
1132   echo "$ac_t""no" 1>&6
1133   SET_MAKE="MAKE=${MAKE-make}"
1134 fi
1135
1136
1137
1138
1139
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
1147 else
1148   case "$MPICC0" in
1149   /*)
1150   ac_cv_path_MPICC0="$MPICC0" # Let the user override the test with a path.
1151   ;;
1152   ?:/*)                  
1153   ac_cv_path_MPICC0="$MPICC0" # Let the user override the test with a dos path.
1154   ;;
1155   *)
1156   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1157   ac_dummy="$PATH"
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"
1162       break
1163     fi
1164   done
1165   IFS="$ac_save_ifs"
1166   ;;
1167 esac
1168 fi
1169 MPICC0="$ac_cv_path_MPICC0"
1170 if test -n "$MPICC0"; then
1171   echo "$ac_t""$MPICC0" 1>&6
1172 else
1173   echo "$ac_t""no" 1>&6
1174 fi
1175
1176 fi
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
1183 else
1184   case "$MPICC1" in
1185   /*)
1186   ac_cv_path_MPICC1="$MPICC1" # Let the user override the test with a path.
1187   ;;
1188   ?:/*)                  
1189   ac_cv_path_MPICC1="$MPICC1" # Let the user override the test with a dos path.
1190   ;;
1191   *)
1192   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1193   ac_dummy="$PATH"
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"
1198       break
1199     fi
1200   done
1201   IFS="$ac_save_ifs"
1202   ;;
1203 esac
1204 fi
1205 MPICC1="$ac_cv_path_MPICC1"
1206 if test -n "$MPICC1"; then
1207   echo "$ac_t""$MPICC1" 1>&6
1208 else
1209   echo "$ac_t""no" 1>&6
1210 fi
1211
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
1218 else
1219   case "$MPICC2" in
1220   /*)
1221   ac_cv_path_MPICC2="$MPICC2" # Let the user override the test with a path.
1222   ;;
1223   ?:/*)                  
1224   ac_cv_path_MPICC2="$MPICC2" # Let the user override the test with a dos path.
1225   ;;
1226   *)
1227   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1228   ac_dummy="$PATH"
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"
1233       break
1234     fi
1235   done
1236   IFS="$ac_save_ifs"
1237   ;;
1238 esac
1239 fi
1240 MPICC2="$ac_cv_path_MPICC2"
1241 if test -n "$MPICC2"; then
1242   echo "$ac_t""$MPICC2" 1>&6
1243 else
1244   echo "$ac_t""no" 1>&6
1245 fi
1246
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
1253 else
1254   case "$MPICC3" in
1255   /*)
1256   ac_cv_path_MPICC3="$MPICC3" # Let the user override the test with a path.
1257   ;;
1258   ?:/*)                  
1259   ac_cv_path_MPICC3="$MPICC3" # Let the user override the test with a dos path.
1260   ;;
1261   *)
1262   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1263   ac_dummy="$PATH"
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"
1268       break
1269     fi
1270   done
1271   IFS="$ac_save_ifs"
1272   ;;
1273 esac
1274 fi
1275 MPICC3="$ac_cv_path_MPICC3"
1276 if test -n "$MPICC3"; then
1277   echo "$ac_t""$MPICC3" 1>&6
1278 else
1279   echo "$ac_t""no" 1>&6
1280 fi
1281
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
1288 else
1289   case "$MPICC4" in
1290   /*)
1291   ac_cv_path_MPICC4="$MPICC4" # Let the user override the test with a path.
1292   ;;
1293   ?:/*)                  
1294   ac_cv_path_MPICC4="$MPICC4" # Let the user override the test with a dos path.
1295   ;;
1296   *)
1297   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1298   ac_dummy="$PATH"
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"
1303       break
1304     fi
1305   done
1306   IFS="$ac_save_ifs"
1307   ;;
1308 esac
1309 fi
1310 MPICC4="$ac_cv_path_MPICC4"
1311 if test -n "$MPICC4"; then
1312   echo "$ac_t""$MPICC4" 1>&6
1313 else
1314   echo "$ac_t""no" 1>&6
1315 fi
1316
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
1323 else
1324   case "$MPICC5" in
1325   /*)
1326   ac_cv_path_MPICC5="$MPICC5" # Let the user override the test with a path.
1327   ;;
1328   ?:/*)                  
1329   ac_cv_path_MPICC5="$MPICC5" # Let the user override the test with a dos path.
1330   ;;
1331   *)
1332   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1333   ac_dummy="$PATH"
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"
1338       break
1339     fi
1340   done
1341   IFS="$ac_save_ifs"
1342   ;;
1343 esac
1344 fi
1345 MPICC5="$ac_cv_path_MPICC5"
1346 if test -n "$MPICC5"; then
1347   echo "$ac_t""$MPICC5" 1>&6
1348 else
1349   echo "$ac_t""no" 1>&6
1350 fi
1351
1352
1353  if test  "$MPICC0" != ""  ; then
1354  if test  "$MPICCSET" = ""  ; then
1355 cat > conftest.c <<EOF
1356 #include<mpi.h>
1357 int main (int argc, char **argv)
1358 {
1359 MPI_Init(&argc,&argv);
1360 MPI_Finalize();
1361 exit(0);
1362 }
1363 EOF
1364
1365
1366 MPICC=$MPICC0
1367
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
1374         #MPICC=$MPICC
1375         MPILIBS=
1376         MPICCSET=$MPICC
1377         PPUZZLE=ppuzzle
1378     else
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
1385             #MPICC=$PCC
1386             MPILIBS=-lmpi
1387             MPICCSET=$MPICC
1388             PPUZZLE=ppuzzle
1389         else
1390             echo "$ac_t""no" 1>&6
1391             MPICC=
1392             MPILIBS=
1393             MPICCSET=
1394             PPUZZLE=
1395         fi
1396     fi
1397   fi
1398   rm -f conftest*
1399  fi
1400  fi 
1401  if test  "$MPICC1" != ""  ; then
1402  if test  "$MPICCSET" = ""  ; then
1403 cat > conftest.c <<EOF
1404 #include<mpi.h>
1405 int main (int argc, char **argv)
1406 {
1407 MPI_Init(&argc,&argv);
1408 MPI_Finalize();
1409 exit(0);
1410 }
1411 EOF
1412
1413
1414 MPICC=$MPICC1
1415
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
1422         #MPICC=$MPICC
1423         MPILIBS=
1424         MPICCSET=$MPICC
1425         PPUZZLE=ppuzzle
1426     else
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
1433             #MPICC=$PCC
1434             MPILIBS=-lmpi
1435             MPICCSET=$MPICC
1436             PPUZZLE=ppuzzle
1437         else
1438             echo "$ac_t""no" 1>&6
1439             MPICC=
1440             MPILIBS=
1441             MPICCSET=
1442             PPUZZLE=
1443         fi
1444     fi
1445   fi
1446   rm -f conftest*
1447  fi
1448  fi 
1449  if test  "$MPICC2" != ""  ; then
1450  if test  "$MPICCSET" = ""  ; then
1451 cat > conftest.c <<EOF
1452 #include<mpi.h>
1453 int main (int argc, char **argv)
1454 {
1455 MPI_Init(&argc,&argv);
1456 MPI_Finalize();
1457 exit(0);
1458 }
1459 EOF
1460
1461
1462 MPICC=$MPICC2
1463
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
1470         #MPICC=$MPICC
1471         MPILIBS=
1472         MPICCSET=$MPICC
1473         PPUZZLE=ppuzzle
1474     else
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
1481             #MPICC=$PCC
1482             MPILIBS=-lmpi
1483             MPICCSET=$MPICC
1484             PPUZZLE=ppuzzle
1485         else
1486             echo "$ac_t""no" 1>&6
1487             MPICC=
1488             MPILIBS=
1489             MPICCSET=
1490             PPUZZLE=
1491         fi
1492     fi
1493   fi
1494   rm -f conftest*
1495  fi
1496  fi 
1497  if test  "$MPICC3" != ""  ; then
1498  if test  "$MPICCSET" = ""  ; then
1499 cat > conftest.c <<EOF
1500 #include<mpi.h>
1501 int main (int argc, char **argv)
1502 {
1503 MPI_Init(&argc,&argv);
1504 MPI_Finalize();
1505 exit(0);
1506 }
1507 EOF
1508
1509
1510 MPICC=$MPICC3
1511
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
1518         #MPICC=$MPICC
1519         MPILIBS=
1520         MPICCSET=$MPICC
1521         PPUZZLE=ppuzzle
1522     else
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
1529             #MPICC=$PCC
1530             MPILIBS=-lmpi
1531             MPICCSET=$MPICC
1532             PPUZZLE=ppuzzle
1533         else
1534             echo "$ac_t""no" 1>&6
1535             MPICC=
1536             MPILIBS=
1537             MPICCSET=
1538             PPUZZLE=
1539         fi
1540     fi
1541   fi
1542   rm -f conftest*
1543  fi
1544  fi 
1545  if test  "$MPICC4" != ""  ; then
1546  if test  "$MPICCSET" = ""  ; then
1547 cat > conftest.c <<EOF
1548 #include<mpi.h>
1549 int main (int argc, char **argv)
1550 {
1551 MPI_Init(&argc,&argv);
1552 MPI_Finalize();
1553 exit(0);
1554 }
1555 EOF
1556
1557
1558 MPICC=$MPICC4
1559
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
1566         #MPICC=$MPICC
1567         MPILIBS=
1568         MPICCSET=$MPICC
1569         PPUZZLE=ppuzzle
1570     else
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
1577             #MPICC=$PCC
1578             MPILIBS=-lmpi
1579             MPICCSET=$MPICC
1580             PPUZZLE=ppuzzle
1581         else
1582             echo "$ac_t""no" 1>&6
1583             MPICC=
1584             MPILIBS=
1585             MPICCSET=
1586             PPUZZLE=
1587         fi
1588     fi
1589   fi
1590   rm -f conftest*
1591  fi
1592  fi 
1593  if test  "$MPICC5" != ""  ; then
1594  if test  "$MPICCSET" = ""  ; then
1595 cat > conftest.c <<EOF
1596 #include<mpi.h>
1597 int main (int argc, char **argv)
1598 {
1599 MPI_Init(&argc,&argv);
1600 MPI_Finalize();
1601 exit(0);
1602 }
1603 EOF
1604
1605
1606 MPICC=$MPICC5
1607
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
1614         #MPICC=$MPICC
1615         MPILIBS=
1616         MPICCSET=$MPICC
1617         PPUZZLE=ppuzzle
1618     else
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
1625             #MPICC=$PCC
1626             MPILIBS=-lmpi
1627             MPICCSET=$MPICC
1628             PPUZZLE=ppuzzle
1629         else
1630             echo "$ac_t""no" 1>&6
1631             MPICC=
1632             MPILIBS=
1633             MPICCSET=
1634             PPUZZLE=
1635         fi
1636     fi
1637   fi
1638   rm -f conftest*
1639  fi
1640  fi 
1641
1642 ac_cv_prog_MPICC=$MPICC
1643
1644
1645
1646
1647
1648
1649
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
1655 else
1656   ac_save_LIBS="$LIBS"
1657 LIBS="-lm  $LIBS"
1658 cat > conftest.$ac_ext <<EOF
1659 #line 1660 "configure"
1660 #include "confdefs.h"
1661
1662 int main() {
1663 main()
1664 ; return 0; }
1665 EOF
1666 if { (eval echo configure:1667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1667   rm -rf conftest*
1668   eval "ac_cv_lib_$ac_lib_var=yes"
1669 else
1670   echo "configure: failed program was:" >&5
1671   cat conftest.$ac_ext >&5
1672   rm -rf conftest*
1673   eval "ac_cv_lib_$ac_lib_var=no"
1674 fi
1675 rm -f conftest*
1676 LIBS="$ac_save_LIBS"
1677
1678 fi
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
1685 EOF
1686
1687   LIBS="-lm $LIBS"
1688
1689 else
1690   echo "$ac_t""no" 1>&6
1691 fi
1692
1693
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
1698   CPP=
1699 fi
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
1703 else
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.
1706   CPP="${CC-cc} -E"
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"
1712 #include <assert.h>
1713 Syntax Error
1714 EOF
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
1719   :
1720 else
1721   echo "$ac_err" >&5
1722   echo "configure: failed program was:" >&5
1723   cat conftest.$ac_ext >&5
1724   rm -rf conftest*
1725   CPP="${CC-cc} -E -traditional-cpp"
1726   cat > conftest.$ac_ext <<EOF
1727 #line 1728 "configure"
1728 #include "confdefs.h"
1729 #include <assert.h>
1730 Syntax Error
1731 EOF
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
1736   :
1737 else
1738   echo "$ac_err" >&5
1739   echo "configure: failed program was:" >&5
1740   cat conftest.$ac_ext >&5
1741   rm -rf conftest*
1742   CPP="${CC-cc} -nologo -E"
1743   cat > conftest.$ac_ext <<EOF
1744 #line 1745 "configure"
1745 #include "confdefs.h"
1746 #include <assert.h>
1747 Syntax Error
1748 EOF
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
1753   :
1754 else
1755   echo "$ac_err" >&5
1756   echo "configure: failed program was:" >&5
1757   cat conftest.$ac_ext >&5
1758   rm -rf conftest*
1759   CPP=/lib/cpp
1760 fi
1761 rm -f conftest*
1762 fi
1763 rm -f conftest*
1764 fi
1765 rm -f conftest*
1766   ac_cv_prog_CPP="$CPP"
1767 fi
1768   CPP="$ac_cv_prog_CPP"
1769 else
1770   ac_cv_prog_CPP="$CPP"
1771 fi
1772 echo "$ac_t""$CPP" 1>&6
1773
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
1778 else
1779   cat > conftest.$ac_ext <<EOF
1780 #line 1781 "configure"
1781 #include "confdefs.h"
1782 #include <stdlib.h>
1783 #include <stdarg.h>
1784 #include <string.h>
1785 #include <float.h>
1786 EOF
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
1791   rm -rf conftest*
1792   ac_cv_header_stdc=yes
1793 else
1794   echo "$ac_err" >&5
1795   echo "configure: failed program was:" >&5
1796   cat conftest.$ac_ext >&5
1797   rm -rf conftest*
1798   ac_cv_header_stdc=no
1799 fi
1800 rm -f conftest*
1801
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"
1807 #include <string.h>
1808 EOF
1809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1810   egrep "memchr" >/dev/null 2>&1; then
1811   :
1812 else
1813   rm -rf conftest*
1814   ac_cv_header_stdc=no
1815 fi
1816 rm -f conftest*
1817
1818 fi
1819
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"
1825 #include <stdlib.h>
1826 EOF
1827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1828   egrep "free" >/dev/null 2>&1; then
1829   :
1830 else
1831   rm -rf conftest*
1832   ac_cv_header_stdc=no
1833 fi
1834 rm -f conftest*
1835
1836 fi
1837
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
1841   :
1842 else
1843   cat > conftest.$ac_ext <<EOF
1844 #line 1845 "configure"
1845 #include "confdefs.h"
1846 #include <ctype.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);
1852 exit (0); }
1853
1854 EOF
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
1856 then
1857   :
1858 else
1859   echo "configure: failed program was:" >&5
1860   cat conftest.$ac_ext >&5
1861   rm -fr conftest*
1862   ac_cv_header_stdc=no
1863 fi
1864 rm -fr conftest*
1865 fi
1866
1867 fi
1868 fi
1869
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
1874 EOF
1875
1876 fi
1877
1878 for ac_hdr in limits.h
1879 do
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
1885 else
1886   cat > conftest.$ac_ext <<EOF
1887 #line 1888 "configure"
1888 #include "confdefs.h"
1889 #include <$ac_hdr>
1890 EOF
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
1895   rm -rf conftest*
1896   eval "ac_cv_header_$ac_safe=yes"
1897 else
1898   echo "$ac_err" >&5
1899   echo "configure: failed program was:" >&5
1900   cat conftest.$ac_ext >&5
1901   rm -rf conftest*
1902   eval "ac_cv_header_$ac_safe=no"
1903 fi
1904 rm -f conftest*
1905 fi
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
1911 EOF
1912  
1913 else
1914   echo "$ac_t""no" 1>&6
1915 fi
1916 done
1917
1918
1919
1920
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
1925 else
1926   cat > conftest.$ac_ext <<EOF
1927 #line 1928 "configure"
1928 #include "confdefs.h"
1929
1930 int main() {
1931
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;
1936 char **p;
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. */
1946 ++ccp;
1947 p = (char**) ccp;
1948 ccp = (char const *const *) p;
1949 { /* SCO 3.2v4 cc rejects this.  */
1950   char *t;
1951   char const *s = 0 ? (char *) 0 : (char const *) 0;
1952
1953   *t++ = 0;
1954 }
1955 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
1956   int x[] = {25, 17};
1957   const int *foo = &x[0];
1958   ++foo;
1959 }
1960 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1961   typedef const int *iptr;
1962   iptr p = 0;
1963   ++p;
1964 }
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;
1969 }
1970 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1971   const int foo = 10;
1972 }
1973
1974 ; return 0; }
1975 EOF
1976 if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1977   rm -rf conftest*
1978   ac_cv_c_const=yes
1979 else
1980   echo "configure: failed program was:" >&5
1981   cat conftest.$ac_ext >&5
1982   rm -rf conftest*
1983   ac_cv_c_const=no
1984 fi
1985 rm -f conftest*
1986 fi
1987
1988 echo "$ac_t""$ac_cv_c_const" 1>&6
1989 if test $ac_cv_c_const = no; then
1990   cat >> confdefs.h <<\EOF
1991 #define const 
1992 EOF
1993
1994 fi
1995
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
2000 else
2001   cat > conftest.$ac_ext <<EOF
2002 #line 2003 "configure"
2003 #include "confdefs.h"
2004 #include <sys/types.h>
2005 #if STDC_HEADERS
2006 #include <stdlib.h>
2007 #include <stddef.h>
2008 #endif
2009 EOF
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
2012   rm -rf conftest*
2013   ac_cv_type_size_t=yes
2014 else
2015   rm -rf conftest*
2016   ac_cv_type_size_t=no
2017 fi
2018 rm -f conftest*
2019
2020 fi
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
2025 EOF
2026
2027 fi
2028
2029
2030
2031 trap '' 1 2 15
2032
2033 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2034
2035 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2036 # Let make expand exec_prefix.
2037 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2038
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'
2044 fi
2045
2046 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2047
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
2054 s%\[%\\&%g
2055 s%\]%\\&%g
2056 s%\$%$$%g
2057 EOF
2058 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
2059 rm -f conftest.defs
2060
2061
2062 # Without the "./", some shells look in PATH for config.status.
2063 : ${CONFIG_STATUS=./config.status}
2064
2065 echo creating $CONFIG_STATUS
2066 rm -f $CONFIG_STATUS
2067 cat > $CONFIG_STATUS <<EOF
2068 #! /bin/sh
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`:
2073 #
2074 # $0 $ac_configure_args
2075 #
2076 # Compiler output produced by configure, useful for debugging
2077 # configure, is in ./config.log if it exists.
2078
2079 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2080 for ac_option
2081 do
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"
2088     exit 0 ;;
2089   -help | --help | --hel | --he | --h)
2090     echo "\$ac_cs_usage"; exit 0 ;;
2091   *) echo "\$ac_cs_usage"; exit 1 ;;
2092   esac
2093 done
2094
2095 ac_given_srcdir=$srcdir
2096 ac_given_INSTALL="$INSTALL"
2097
2098 trap 'rm -fr `echo "Makefile src/Makefile src/test doc/Makefile data/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2099 EOF
2100 cat >> $CONFIG_STATUS <<EOF
2101
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
2105 $ac_vpsub
2106 $extrasub
2107 s%@SHELL@%$SHELL%g
2108 s%@CFLAGS@%$CFLAGS%g
2109 s%@CPPFLAGS@%$CPPFLAGS%g
2110 s%@CXXFLAGS@%$CXXFLAGS%g
2111 s%@FFLAGS@%$FFLAGS%g
2112 s%@DEFS@%$DEFS%g
2113 s%@LDFLAGS@%$LDFLAGS%g
2114 s%@LIBS@%$LIBS%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
2141 s%@CC@%$CC%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
2148 s%@MPICC@%$MPICC%g
2149 s%@MPILIBS@%$MPILIBS%g
2150 s%@MPIDEFS@%$MPIDEFS%g
2151 s%@MPICFLAGS@%$MPICFLAGS%g
2152 s%@PPUZZLE@%$PPUZZLE%g
2153 s%@CPP@%$CPP%g
2154
2155 CEOF
2156 EOF
2157
2158 cat >> $CONFIG_STATUS <<\EOF
2159
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.
2166 ac_more_lines=:
2167 ac_sed_cmds=""
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
2171   else
2172     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2173   fi
2174   if test ! -s conftest.s$ac_file; then
2175     ac_more_lines=false
2176     rm -f conftest.s$ac_file
2177   else
2178     if test -z "$ac_sed_cmds"; then
2179       ac_sed_cmds="sed -f conftest.s$ac_file"
2180     else
2181       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2182     fi
2183     ac_file=`expr $ac_file + 1`
2184     ac_beg=$ac_end
2185     ac_end=`expr $ac_end + $ac_max_sed_cmds`
2186   fi
2187 done
2188 if test -z "$ac_sed_cmds"; then
2189   ac_sed_cmds=cat
2190 fi
2191 EOF
2192
2193 cat >> $CONFIG_STATUS <<EOF
2194
2195 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/test doc/Makefile data/Makefile"}
2196 EOF
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".
2200   case "$ac_file" 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" ;;
2204   esac
2205
2206   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2207
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'`
2216   else
2217     ac_dir_suffix= ac_dots=
2218   fi
2219
2220   case "$ac_given_srcdir" in
2221   .)  srcdir=.
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" ;;
2225   *) # Relative path.
2226     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2227     top_srcdir="$ac_dots$ac_given_srcdir" ;;
2228   esac
2229
2230   case "$ac_given_INSTALL" in
2231   [/$]*) INSTALL="$ac_given_INSTALL" ;;
2232   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2233   esac
2234
2235   echo creating "$ac_file"
2236   rm -f "$ac_file"
2237   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2238   case "$ac_file" in
2239   *Makefile*) ac_comsub="1i\\
2240 # $configure_input" ;;
2241   *) ac_comsub= ;;
2242   esac
2243
2244   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2245   sed -e "$ac_comsub
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
2251 fi; done
2252 rm -f conftest.s*
2253
2254 EOF
2255 cat >> $CONFIG_STATUS <<EOF
2256
2257 EOF
2258 cat >> $CONFIG_STATUS <<\EOF
2259
2260 exit 0
2261 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
2265