[project @ 2002-07-28 22:17:32 by unknown_lamer]
[clinton/bobotpp.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Bobot++ 2.1.1CVS.
4 #
5 # Report bugs to <clinton@unknownlamer.org>.
6 #
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11
12 if expr a : '\(a\)' >/dev/null 2>&1; then
13 as_expr=expr
14 else
15 as_expr=false
16 fi
17
18
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
22
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 emulate sh
26 NULLCMD=:
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28 set -o posix
29 fi
30
31 # NLS nuisances.
32 # Support unset when possible.
33 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 as_unset=unset
35 else
36 as_unset=false
37 fi
38
39 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG || test "${LANG+set}" != set; } ||
41 { LANG=C; export LANG; }
42 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
44 { LC_ALL=C; export LC_ALL; }
45 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
47 { LC_TIME=C; export LC_TIME; }
48 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE=C; export LC_CTYPE; }
51 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE=C; export LANGUAGE; }
54 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE=C; export LC_COLLATE; }
57 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC=C; export LC_NUMERIC; }
60 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES=C; export LC_MESSAGES; }
63
64
65 # Name of the executable.
66 as_me=`(basename "$0") 2>/dev/null ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
84
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conftest.sh
88 echo "exit 0" >>conftest.sh
89 chmod +x conftest.sh
90 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
94 fi
95 rm -f conftest.sh
96 fi
97
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
122 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
136 /*)
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 CONFIG_SHELL=$as_dir/$as_base
144 export CONFIG_SHELL
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
146 fi;;
147 esac
148 done
149 done
150 ;;
151 esac
152
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
162 sed '
163 N
164 s,$,-,
165 : loop
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 t loop
168 s,-$,,
169 s,^['$as_cr_digits']*\n,,
170 ' >$as_me.lineno &&
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
174
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
178 . ./$as_me.lineno
179 # Exit status is that of the last command.
180 exit
181 }
182
183
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
186 ' ECHO_T=' ' ;;
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 esac
190
191 if expr a : '\(a\)' >/dev/null 2>&1; then
192 as_expr=expr
193 else
194 as_expr=false
195 fi
196
197 rm -f conf$$ conf$$.exe conf$$.file
198 echo >conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
204 as_ln_s='cp -p'
205 else
206 as_ln_s='ln -s'
207 fi
208 elif ln conf$$.file conf$$ 2>/dev/null; then
209 as_ln_s=ln
210 else
211 as_ln_s='cp -p'
212 fi
213 rm -f conf$$ conf$$.exe conf$$.file
214
215 as_executable_p="test -f"
216
217 # Sed expression to map a string onto a valid CPP name.
218 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
219
220 # Sed expression to map a string onto a valid variable name.
221 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
222
223
224 # IFS
225 # We need space, tab and new line, in precisely that order.
226 as_nl='
227 '
228 IFS=" $as_nl"
229
230 # CDPATH.
231 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
232
233
234 # Name of the host.
235 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
236 # so uname gets run too.
237 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
238
239 exec 6>&1
240
241 #
242 # Initializations.
243 #
244 ac_default_prefix=/usr/local
245 cross_compiling=no
246 subdirs=
247 MFLAGS=
248 MAKEFLAGS=
249 SHELL=${CONFIG_SHELL-/bin/sh}
250
251 # Maximum number of lines to put in a shell here document.
252 # This variable seems obsolete. It should probably be removed, and
253 # only ac_max_sed_lines should be used.
254 : ${ac_max_here_lines=38}
255
256 # Identity of this package.
257 PACKAGE_NAME='Bobot++'
258 PACKAGE_TARNAME='bobot--'
259 PACKAGE_VERSION='2.1.1CVS'
260 PACKAGE_STRING='Bobot++ 2.1.1CVS'
261 PACKAGE_BUGREPORT='clinton@unknownlamer.org'
262
263 # Factoring default headers for most tests.
264 ac_includes_default="\
265 #include <stdio.h>
266 #if HAVE_SYS_TYPES_H
267 # include <sys/types.h>
268 #endif
269 #if HAVE_SYS_STAT_H
270 # include <sys/stat.h>
271 #endif
272 #if STDC_HEADERS
273 # include <stdlib.h>
274 # include <stddef.h>
275 #else
276 # if HAVE_STDLIB_H
277 # include <stdlib.h>
278 # endif
279 #endif
280 #if HAVE_STRING_H
281 # if !STDC_HEADERS && HAVE_MEMORY_H
282 # include <memory.h>
283 # endif
284 # include <string.h>
285 #endif
286 #if HAVE_STRINGS_H
287 # include <strings.h>
288 #endif
289 #if HAVE_INTTYPES_H
290 # include <inttypes.h>
291 #else
292 # if HAVE_STDINT_H
293 # include <stdint.h>
294 # endif
295 #endif
296 #if HAVE_UNISTD_H
297 # include <unistd.h>
298 #endif"
299
300
301 # Initialize some variables set by options.
302 ac_init_help=
303 ac_init_version=false
304 # The variables have the same names as the options, with
305 # dashes changed to underlines.
306 cache_file=/dev/null
307 exec_prefix=NONE
308 no_create=
309 no_recursion=
310 prefix=NONE
311 program_prefix=NONE
312 program_suffix=NONE
313 program_transform_name=s,x,x,
314 silent=
315 site=
316 srcdir=
317 verbose=
318 x_includes=NONE
319 x_libraries=NONE
320
321 # Installation directory options.
322 # These are left unexpanded so users can "make install exec_prefix=/foo"
323 # and all the variables that are supposed to be based on exec_prefix
324 # by default will actually change.
325 # Use braces instead of parens because sh, perl, etc. also accept them.
326 bindir='${exec_prefix}/bin'
327 sbindir='${exec_prefix}/sbin'
328 libexecdir='${exec_prefix}/libexec'
329 datadir='${prefix}/share'
330 sysconfdir='${prefix}/etc'
331 sharedstatedir='${prefix}/com'
332 localstatedir='${prefix}/var'
333 libdir='${exec_prefix}/lib'
334 includedir='${prefix}/include'
335 oldincludedir='/usr/include'
336 infodir='${prefix}/info'
337 mandir='${prefix}/man'
338
339 ac_prev=
340 for ac_option
341 do
342 # If the previous option needs an argument, assign it.
343 if test -n "$ac_prev"; then
344 eval "$ac_prev=\$ac_option"
345 ac_prev=
346 continue
347 fi
348
349 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350
351 # Accept the important Cygnus configure options, so we can diagnose typos.
352
353 case $ac_option in
354
355 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 ac_prev=bindir ;;
357 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
358 bindir=$ac_optarg ;;
359
360 -build | --build | --buil | --bui | --bu)
361 ac_prev=build_alias ;;
362 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
363 build_alias=$ac_optarg ;;
364
365 -cache-file | --cache-file | --cache-fil | --cache-fi \
366 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
367 ac_prev=cache_file ;;
368 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
369 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
370 cache_file=$ac_optarg ;;
371
372 --config-cache | -C)
373 cache_file=config.cache ;;
374
375 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 ac_prev=datadir ;;
377 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 | --da=*)
379 datadir=$ac_optarg ;;
380
381 -disable-* | --disable-*)
382 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
383 # Reject names that are not valid shell variable names.
384 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
385 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
386 { (exit 1); exit 1; }; }
387 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
388 eval "enable_$ac_feature=no" ;;
389
390 -enable-* | --enable-*)
391 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
392 # Reject names that are not valid shell variable names.
393 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
394 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
395 { (exit 1); exit 1; }; }
396 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 case $ac_option in
398 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
399 *) ac_optarg=yes ;;
400 esac
401 eval "enable_$ac_feature='$ac_optarg'" ;;
402
403 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
404 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
405 | --exec | --exe | --ex)
406 ac_prev=exec_prefix ;;
407 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
408 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
409 | --exec=* | --exe=* | --ex=*)
410 exec_prefix=$ac_optarg ;;
411
412 -gas | --gas | --ga | --g)
413 # Obsolete; use --with-gas.
414 with_gas=yes ;;
415
416 -help | --help | --hel | --he | -h)
417 ac_init_help=long ;;
418 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
419 ac_init_help=recursive ;;
420 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
421 ac_init_help=short ;;
422
423 -host | --host | --hos | --ho)
424 ac_prev=host_alias ;;
425 -host=* | --host=* | --hos=* | --ho=*)
426 host_alias=$ac_optarg ;;
427
428 -includedir | --includedir | --includedi | --included | --include \
429 | --includ | --inclu | --incl | --inc)
430 ac_prev=includedir ;;
431 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
432 | --includ=* | --inclu=* | --incl=* | --inc=*)
433 includedir=$ac_optarg ;;
434
435 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 ac_prev=infodir ;;
437 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
438 infodir=$ac_optarg ;;
439
440 -libdir | --libdir | --libdi | --libd)
441 ac_prev=libdir ;;
442 -libdir=* | --libdir=* | --libdi=* | --libd=*)
443 libdir=$ac_optarg ;;
444
445 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
446 | --libexe | --libex | --libe)
447 ac_prev=libexecdir ;;
448 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
449 | --libexe=* | --libex=* | --libe=*)
450 libexecdir=$ac_optarg ;;
451
452 -localstatedir | --localstatedir | --localstatedi | --localstated \
453 | --localstate | --localstat | --localsta | --localst \
454 | --locals | --local | --loca | --loc | --lo)
455 ac_prev=localstatedir ;;
456 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
457 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
458 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
459 localstatedir=$ac_optarg ;;
460
461 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 ac_prev=mandir ;;
463 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
464 mandir=$ac_optarg ;;
465
466 -nfp | --nfp | --nf)
467 # Obsolete; use --without-fp.
468 with_fp=no ;;
469
470 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
471 | --no-cr | --no-c | -n)
472 no_create=yes ;;
473
474 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
475 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
476 no_recursion=yes ;;
477
478 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
479 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
480 | --oldin | --oldi | --old | --ol | --o)
481 ac_prev=oldincludedir ;;
482 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
483 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
484 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
485 oldincludedir=$ac_optarg ;;
486
487 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 ac_prev=prefix ;;
489 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
490 prefix=$ac_optarg ;;
491
492 -program-prefix | --program-prefix | --program-prefi | --program-pref \
493 | --program-pre | --program-pr | --program-p)
494 ac_prev=program_prefix ;;
495 -program-prefix=* | --program-prefix=* | --program-prefi=* \
496 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
497 program_prefix=$ac_optarg ;;
498
499 -program-suffix | --program-suffix | --program-suffi | --program-suff \
500 | --program-suf | --program-su | --program-s)
501 ac_prev=program_suffix ;;
502 -program-suffix=* | --program-suffix=* | --program-suffi=* \
503 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
504 program_suffix=$ac_optarg ;;
505
506 -program-transform-name | --program-transform-name \
507 | --program-transform-nam | --program-transform-na \
508 | --program-transform-n | --program-transform- \
509 | --program-transform | --program-transfor \
510 | --program-transfo | --program-transf \
511 | --program-trans | --program-tran \
512 | --progr-tra | --program-tr | --program-t)
513 ac_prev=program_transform_name ;;
514 -program-transform-name=* | --program-transform-name=* \
515 | --program-transform-nam=* | --program-transform-na=* \
516 | --program-transform-n=* | --program-transform-=* \
517 | --program-transform=* | --program-transfor=* \
518 | --program-transfo=* | --program-transf=* \
519 | --program-trans=* | --program-tran=* \
520 | --progr-tra=* | --program-tr=* | --program-t=*)
521 program_transform_name=$ac_optarg ;;
522
523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
524 | -silent | --silent | --silen | --sile | --sil)
525 silent=yes ;;
526
527 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 ac_prev=sbindir ;;
529 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 | --sbi=* | --sb=*)
531 sbindir=$ac_optarg ;;
532
533 -sharedstatedir | --sharedstatedir | --sharedstatedi \
534 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
535 | --sharedst | --shareds | --shared | --share | --shar \
536 | --sha | --sh)
537 ac_prev=sharedstatedir ;;
538 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
539 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
540 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 | --sha=* | --sh=*)
542 sharedstatedir=$ac_optarg ;;
543
544 -site | --site | --sit)
545 ac_prev=site ;;
546 -site=* | --site=* | --sit=*)
547 site=$ac_optarg ;;
548
549 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 ac_prev=srcdir ;;
551 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
552 srcdir=$ac_optarg ;;
553
554 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
555 | --syscon | --sysco | --sysc | --sys | --sy)
556 ac_prev=sysconfdir ;;
557 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
558 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
559 sysconfdir=$ac_optarg ;;
560
561 -target | --target | --targe | --targ | --tar | --ta | --t)
562 ac_prev=target_alias ;;
563 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
564 target_alias=$ac_optarg ;;
565
566 -v | -verbose | --verbose | --verbos | --verbo | --verb)
567 verbose=yes ;;
568
569 -version | --version | --versio | --versi | --vers | -V)
570 ac_init_version=: ;;
571
572 -with-* | --with-*)
573 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
574 # Reject names that are not valid shell variable names.
575 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
576 { echo "$as_me: error: invalid package name: $ac_package" >&2
577 { (exit 1); exit 1; }; }
578 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 case $ac_option in
580 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
581 *) ac_optarg=yes ;;
582 esac
583 eval "with_$ac_package='$ac_optarg'" ;;
584
585 -without-* | --without-*)
586 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package | sed 's/-/_/g'`
592 eval "with_$ac_package=no" ;;
593
594 --x)
595 # Obsolete; use --with-x.
596 with_x=yes ;;
597
598 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
599 | --x-incl | --x-inc | --x-in | --x-i)
600 ac_prev=x_includes ;;
601 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
602 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
603 x_includes=$ac_optarg ;;
604
605 -x-libraries | --x-libraries | --x-librarie | --x-librari \
606 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
607 ac_prev=x_libraries ;;
608 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
609 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
610 x_libraries=$ac_optarg ;;
611
612 -*) { echo "$as_me: error: unrecognized option: $ac_option
613 Try \`$0 --help' for more information." >&2
614 { (exit 1); exit 1; }; }
615 ;;
616
617 *=*)
618 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
619 # Reject names that are not valid shell variable names.
620 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
621 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
622 { (exit 1); exit 1; }; }
623 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
624 eval "$ac_envvar='$ac_optarg'"
625 export $ac_envvar ;;
626
627 *)
628 # FIXME: should be removed in autoconf 3.0.
629 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
630 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
631 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
632 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
633 ;;
634
635 esac
636 done
637
638 if test -n "$ac_prev"; then
639 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
640 { echo "$as_me: error: missing argument to $ac_option" >&2
641 { (exit 1); exit 1; }; }
642 fi
643
644 # Be sure to have absolute paths.
645 for ac_var in exec_prefix prefix
646 do
647 eval ac_val=$`echo $ac_var`
648 case $ac_val in
649 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
650 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
651 { (exit 1); exit 1; }; };;
652 esac
653 done
654
655 # Be sure to have absolute paths.
656 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
657 localstatedir libdir includedir oldincludedir infodir mandir
658 do
659 eval ac_val=$`echo $ac_var`
660 case $ac_val in
661 [\\/$]* | ?:[\\/]* ) ;;
662 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
663 { (exit 1); exit 1; }; };;
664 esac
665 done
666
667 # There might be people who depend on the old broken behavior: `$host'
668 # used to hold the argument of --host etc.
669 # FIXME: To remove some day.
670 build=$build_alias
671 host=$host_alias
672 target=$target_alias
673
674 # FIXME: To remove some day.
675 if test "x$host_alias" != x; then
676 if test "x$build_alias" = x; then
677 cross_compiling=maybe
678 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
679 If a cross compiler is detected then cross compile mode will be used." >&2
680 elif test "x$build_alias" != "x$host_alias"; then
681 cross_compiling=yes
682 fi
683 fi
684
685 ac_tool_prefix=
686 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687
688 test "$silent" = yes && exec 6>/dev/null
689
690
691 # Find the source files, if location was not specified.
692 if test -z "$srcdir"; then
693 ac_srcdir_defaulted=yes
694 # Try the directory containing this script, then its parent.
695 ac_confdir=`(dirname "$0") 2>/dev/null ||
696 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
697 X"$0" : 'X\(//\)[^/]' \| \
698 X"$0" : 'X\(//\)$' \| \
699 X"$0" : 'X\(/\)' \| \
700 . : '\(.\)' 2>/dev/null ||
701 echo X"$0" |
702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
704 /^X\(\/\/\)$/{ s//\1/; q; }
705 /^X\(\/\).*/{ s//\1/; q; }
706 s/.*/./; q'`
707 srcdir=$ac_confdir
708 if test ! -r $srcdir/$ac_unique_file; then
709 srcdir=..
710 fi
711 else
712 ac_srcdir_defaulted=no
713 fi
714 if test ! -r $srcdir/$ac_unique_file; then
715 if test "$ac_srcdir_defaulted" = yes; then
716 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
717 { (exit 1); exit 1; }; }
718 else
719 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
720 { (exit 1); exit 1; }; }
721 fi
722 fi
723 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
724 ac_env_build_alias_set=${build_alias+set}
725 ac_env_build_alias_value=$build_alias
726 ac_cv_env_build_alias_set=${build_alias+set}
727 ac_cv_env_build_alias_value=$build_alias
728 ac_env_host_alias_set=${host_alias+set}
729 ac_env_host_alias_value=$host_alias
730 ac_cv_env_host_alias_set=${host_alias+set}
731 ac_cv_env_host_alias_value=$host_alias
732 ac_env_target_alias_set=${target_alias+set}
733 ac_env_target_alias_value=$target_alias
734 ac_cv_env_target_alias_set=${target_alias+set}
735 ac_cv_env_target_alias_value=$target_alias
736 ac_env_CXX_set=${CXX+set}
737 ac_env_CXX_value=$CXX
738 ac_cv_env_CXX_set=${CXX+set}
739 ac_cv_env_CXX_value=$CXX
740 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
741 ac_env_CXXFLAGS_value=$CXXFLAGS
742 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
743 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
744 ac_env_LDFLAGS_set=${LDFLAGS+set}
745 ac_env_LDFLAGS_value=$LDFLAGS
746 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
747 ac_cv_env_LDFLAGS_value=$LDFLAGS
748 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
749 ac_env_CPPFLAGS_value=$CPPFLAGS
750 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
751 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
752 ac_env_CXXCPP_set=${CXXCPP+set}
753 ac_env_CXXCPP_value=$CXXCPP
754 ac_cv_env_CXXCPP_set=${CXXCPP+set}
755 ac_cv_env_CXXCPP_value=$CXXCPP
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764
765 #
766 # Report the --help message.
767 #
768 if test "$ac_init_help" = "long"; then
769 # Omit some internal or obsolete options to make the list less imposing.
770 # This message is too long to be a string in the A/UX 3.1 sh.
771 cat <<_ACEOF
772 \`configure' configures Bobot++ 2.1.1CVS to adapt to many kinds of systems.
773
774 Usage: $0 [OPTION]... [VAR=VALUE]...
775
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE. See below for descriptions of some of the useful variables.
778
779 Defaults for the options are specified in brackets.
780
781 Configuration:
782 -h, --help display this help and exit
783 --help=short display options specific to this package
784 --help=recursive display the short help of all the included packages
785 -V, --version display version information and exit
786 -q, --quiet, --silent do not print \`checking...' messages
787 --cache-file=FILE cache test results in FILE [disabled]
788 -C, --config-cache alias for \`--cache-file=config.cache'
789 -n, --no-create do not create output files
790 --srcdir=DIR find the sources in DIR [configure dir or \`..']
791
792 _ACEOF
793
794 cat <<_ACEOF
795 Installation directories:
796 --prefix=PREFIX install architecture-independent files in PREFIX
797 [$ac_default_prefix]
798 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
799 [PREFIX]
800
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
805
806 For better control, use the options below.
807
808 Fine tuning of the installation directories:
809 --bindir=DIR user executables [EPREFIX/bin]
810 --sbindir=DIR system admin executables [EPREFIX/sbin]
811 --libexecdir=DIR program executables [EPREFIX/libexec]
812 --datadir=DIR read-only architecture-independent data [PREFIX/share]
813 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
814 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
815 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
816 --libdir=DIR object code libraries [EPREFIX/lib]
817 --includedir=DIR C header files [PREFIX/include]
818 --oldincludedir=DIR C header files for non-gcc [/usr/include]
819 --infodir=DIR info documentation [PREFIX/info]
820 --mandir=DIR man documentation [PREFIX/man]
821 _ACEOF
822
823 cat <<\_ACEOF
824
825 Program names:
826 --program-prefix=PREFIX prepend PREFIX to installed program names
827 --program-suffix=SUFFIX append SUFFIX to installed program names
828 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
829 _ACEOF
830 fi
831
832 if test -n "$ac_init_help"; then
833 case $ac_init_help in
834 short | recursive ) echo "Configuration of Bobot++ 2.1.1CVS:";;
835 esac
836 cat <<\_ACEOF
837
838 Optional Features:
839 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
840 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
841 --disable-dependency-tracking Speeds up one-time builds
842 --enable-dependency-tracking Do not reject slow dependency extractors
843 --disable-crypt Do not use the crypt function
844 --disable-scripting Do not use Guile scripts
845
846 Some influential environment variables:
847 CXX C++ compiler command
848 CXXFLAGS C++ compiler flags
849 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
850 nonstandard directory <lib dir>
851 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
852 headers in a nonstandard directory <include dir>
853 CXXCPP C++ preprocessor
854 CC C compiler command
855 CFLAGS C compiler flags
856
857 Use these variables to override the choices made by `configure' or to help
858 it to find libraries and programs with nonstandard names/locations.
859
860 Report bugs to <clinton@unknownlamer.org>.
861 _ACEOF
862 fi
863
864 if test "$ac_init_help" = "recursive"; then
865 # If there are subdirs, report their specific --help.
866 ac_popdir=`pwd`
867 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
868 test -d $ac_dir || continue
869 ac_builddir=.
870
871 if test "$ac_dir" != .; then
872 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
873 # A "../" for each directory in $ac_dir_suffix.
874 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
875 else
876 ac_dir_suffix= ac_top_builddir=
877 fi
878
879 case $srcdir in
880 .) # No --srcdir option. We are building in place.
881 ac_srcdir=.
882 if test -z "$ac_top_builddir"; then
883 ac_top_srcdir=.
884 else
885 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
886 fi ;;
887 [\\/]* | ?:[\\/]* ) # Absolute path.
888 ac_srcdir=$srcdir$ac_dir_suffix;
889 ac_top_srcdir=$srcdir ;;
890 *) # Relative path.
891 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
892 ac_top_srcdir=$ac_top_builddir$srcdir ;;
893 esac
894 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
895 # absolute.
896 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
897 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
898 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
899 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
900
901 cd $ac_dir
902 # Check for guested configure; otherwise get Cygnus style configure.
903 if test -f $ac_srcdir/configure.gnu; then
904 echo
905 $SHELL $ac_srcdir/configure.gnu --help=recursive
906 elif test -f $ac_srcdir/configure; then
907 echo
908 $SHELL $ac_srcdir/configure --help=recursive
909 elif test -f $ac_srcdir/configure.ac ||
910 test -f $ac_srcdir/configure.in; then
911 echo
912 $ac_configure --help
913 else
914 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
915 fi
916 cd $ac_popdir
917 done
918 fi
919
920 test -n "$ac_init_help" && exit 0
921 if $ac_init_version; then
922 cat <<\_ACEOF
923 Bobot++ configure 2.1.1CVS
924 generated by GNU Autoconf 2.53
925
926 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
927 Free Software Foundation, Inc.
928 This configure script is free software; the Free Software Foundation
929 gives unlimited permission to copy, distribute and modify it.
930 _ACEOF
931 exit 0
932 fi
933 exec 5>config.log
934 cat >&5 <<_ACEOF
935 This file contains any messages produced by compilers while
936 running configure, to aid debugging if configure makes a mistake.
937
938 It was created by Bobot++ $as_me 2.1.1CVS, which was
939 generated by GNU Autoconf 2.53. Invocation command line was
940
941 $ $0 $@
942
943 _ACEOF
944 {
945 cat <<_ASUNAME
946 ## --------- ##
947 ## Platform. ##
948 ## --------- ##
949
950 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
951 uname -m = `(uname -m) 2>/dev/null || echo unknown`
952 uname -r = `(uname -r) 2>/dev/null || echo unknown`
953 uname -s = `(uname -s) 2>/dev/null || echo unknown`
954 uname -v = `(uname -v) 2>/dev/null || echo unknown`
955
956 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
957 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
958
959 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
960 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
961 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
962 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
963 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
964 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
965 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
966
967 _ASUNAME
968
969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
970 for as_dir in $PATH
971 do
972 IFS=$as_save_IFS
973 test -z "$as_dir" && as_dir=.
974 echo "PATH: $as_dir"
975 done
976
977 } >&5
978
979 cat >&5 <<_ACEOF
980
981
982 ## ----------- ##
983 ## Core tests. ##
984 ## ----------- ##
985
986 _ACEOF
987
988
989 # Keep a trace of the command line.
990 # Strip out --no-create and --no-recursion so they do not pile up.
991 # Also quote any args containing shell meta-characters.
992 ac_configure_args=
993 ac_sep=
994 for ac_arg
995 do
996 case $ac_arg in
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n ) continue ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 continue ;;
1002 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1003 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1004 esac
1005 case " $ac_configure_args " in
1006 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1007 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1008 ac_sep=" " ;;
1009 esac
1010 # Get rid of the leading space.
1011 done
1012
1013 # When interrupted or exit'd, cleanup temporary files, and complete
1014 # config.log. We remove comments because anyway the quotes in there
1015 # would cause problems or look ugly.
1016 # WARNING: Be sure not to use single quotes in there, as some shells,
1017 # such as our DU 5.0 friend, will then `close' the trap.
1018 trap 'exit_status=$?
1019 # Save into config.log some information that might help in debugging.
1020 {
1021 echo
1022 cat <<\_ASBOX
1023 ## ---------------- ##
1024 ## Cache variables. ##
1025 ## ---------------- ##
1026 _ASBOX
1027 echo
1028 # The following way of writing the cache mishandles newlines in values,
1029 {
1030 (set) 2>&1 |
1031 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1032 *ac_space=\ *)
1033 sed -n \
1034 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1036 ;;
1037 *)
1038 sed -n \
1039 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1040 ;;
1041 esac;
1042 }
1043 echo
1044 if test -s confdefs.h; then
1045 cat <<\_ASBOX
1046 ## ----------- ##
1047 ## confdefs.h. ##
1048 ## ----------- ##
1049 _ASBOX
1050 echo
1051 sed "/^$/d" confdefs.h
1052 echo
1053 fi
1054 test "$ac_signal" != 0 &&
1055 echo "$as_me: caught signal $ac_signal"
1056 echo "$as_me: exit $exit_status"
1057 } >&5
1058 rm -f core core.* *.core &&
1059 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1060 exit $exit_status
1061 ' 0
1062 for ac_signal in 1 2 13 15; do
1063 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1064 done
1065 ac_signal=0
1066
1067 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1068 rm -rf conftest* confdefs.h
1069 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1070 echo >confdefs.h
1071
1072 # Predefined preprocessor variables.
1073
1074 cat >>confdefs.h <<_ACEOF
1075 #define PACKAGE_NAME "$PACKAGE_NAME"
1076 _ACEOF
1077
1078
1079 cat >>confdefs.h <<_ACEOF
1080 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1081 _ACEOF
1082
1083
1084 cat >>confdefs.h <<_ACEOF
1085 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1086 _ACEOF
1087
1088
1089 cat >>confdefs.h <<_ACEOF
1090 #define PACKAGE_STRING "$PACKAGE_STRING"
1091 _ACEOF
1092
1093
1094 cat >>confdefs.h <<_ACEOF
1095 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1096 _ACEOF
1097
1098
1099 # Let the site file select an alternate cache file if it wants to.
1100 # Prefer explicitly selected file to automatically selected ones.
1101 if test -z "$CONFIG_SITE"; then
1102 if test "x$prefix" != xNONE; then
1103 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1104 else
1105 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1106 fi
1107 fi
1108 for ac_site_file in $CONFIG_SITE; do
1109 if test -r "$ac_site_file"; then
1110 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1111 echo "$as_me: loading site script $ac_site_file" >&6;}
1112 sed 's/^/| /' "$ac_site_file" >&5
1113 . "$ac_site_file"
1114 fi
1115 done
1116
1117 if test -r "$cache_file"; then
1118 # Some versions of bash will fail to source /dev/null (special
1119 # files actually), so we avoid doing that.
1120 if test -f "$cache_file"; then
1121 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1122 echo "$as_me: loading cache $cache_file" >&6;}
1123 case $cache_file in
1124 [\\/]* | ?:[\\/]* ) . $cache_file;;
1125 *) . ./$cache_file;;
1126 esac
1127 fi
1128 else
1129 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1130 echo "$as_me: creating cache $cache_file" >&6;}
1131 >$cache_file
1132 fi
1133
1134 # Check that the precious variables saved in the cache have kept the same
1135 # value.
1136 ac_cache_corrupted=false
1137 for ac_var in `(set) 2>&1 |
1138 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1139 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1140 eval ac_new_set=\$ac_env_${ac_var}_set
1141 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1142 eval ac_new_val="\$ac_env_${ac_var}_value"
1143 case $ac_old_set,$ac_new_set in
1144 set,)
1145 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1146 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1147 ac_cache_corrupted=: ;;
1148 ,set)
1149 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1150 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1151 ac_cache_corrupted=: ;;
1152 ,);;
1153 *)
1154 if test "x$ac_old_val" != "x$ac_new_val"; then
1155 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1156 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1157 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1158 echo "$as_me: former value: $ac_old_val" >&2;}
1159 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1160 echo "$as_me: current value: $ac_new_val" >&2;}
1161 ac_cache_corrupted=:
1162 fi;;
1163 esac
1164 # Pass precious variables to config.status.
1165 if test "$ac_new_set" = set; then
1166 case $ac_new_val in
1167 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1168 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1169 *) ac_arg=$ac_var=$ac_new_val ;;
1170 esac
1171 case " $ac_configure_args " in
1172 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1173 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1174 esac
1175 fi
1176 done
1177 if $ac_cache_corrupted; then
1178 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1179 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1180 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1181 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1182 { (exit 1); exit 1; }; }
1183 fi
1184
1185 ac_ext=c
1186 ac_cpp='$CPP $CPPFLAGS'
1187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216 ac_aux_dir=
1217 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1218 if test -f $ac_dir/install-sh; then
1219 ac_aux_dir=$ac_dir
1220 ac_install_sh="$ac_aux_dir/install-sh -c"
1221 break
1222 elif test -f $ac_dir/install.sh; then
1223 ac_aux_dir=$ac_dir
1224 ac_install_sh="$ac_aux_dir/install.sh -c"
1225 break
1226 elif test -f $ac_dir/shtool; then
1227 ac_aux_dir=$ac_dir
1228 ac_install_sh="$ac_aux_dir/shtool install -c"
1229 break
1230 fi
1231 done
1232 if test -z "$ac_aux_dir"; then
1233 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1234 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1235 { (exit 1); exit 1; }; }
1236 fi
1237 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1238 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1239 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1240
1241 # Find a good install program. We prefer a C program (faster),
1242 # so one script is as good as another. But avoid the broken or
1243 # incompatible versions:
1244 # SysV /etc/install, /usr/sbin/install
1245 # SunOS /usr/etc/install
1246 # IRIX /sbin/install
1247 # AIX /bin/install
1248 # AmigaOS /C/install, which installs bootblocks on floppy discs
1249 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1250 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1251 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1252 # ./install, which can be erroneously created by make from ./install.sh.
1253 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1254 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1255 if test -z "$INSTALL"; then
1256 if test "${ac_cv_path_install+set}" = set; then
1257 echo $ECHO_N "(cached) $ECHO_C" >&6
1258 else
1259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1260 for as_dir in $PATH
1261 do
1262 IFS=$as_save_IFS
1263 test -z "$as_dir" && as_dir=.
1264 # Account for people who put trailing slashes in PATH elements.
1265 case $as_dir/ in
1266 ./ | .// | /cC/* | \
1267 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1268 /usr/ucb/* ) ;;
1269 *)
1270 # OSF1 and SCO ODT 3.0 have their own names for install.
1271 # Don't use installbsd from OSF since it installs stuff as root
1272 # by default.
1273 for ac_prog in ginstall scoinst install; do
1274 for ac_exec_ext in '' $ac_executable_extensions; do
1275 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1276 if test $ac_prog = install &&
1277 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1278 # AIX install. It has an incompatible calling convention.
1279 :
1280 elif test $ac_prog = install &&
1281 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1282 # program-specific install script used by HP pwplus--don't use.
1283 :
1284 else
1285 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1286 break 3
1287 fi
1288 fi
1289 done
1290 done
1291 ;;
1292 esac
1293 done
1294
1295
1296 fi
1297 if test "${ac_cv_path_install+set}" = set; then
1298 INSTALL=$ac_cv_path_install
1299 else
1300 # As a last resort, use the slow shell script. We don't cache a
1301 # path for INSTALL within a source directory, because that will
1302 # break other packages using the cache if that directory is
1303 # removed, or if the path is relative.
1304 INSTALL=$ac_install_sh
1305 fi
1306 fi
1307 echo "$as_me:$LINENO: result: $INSTALL" >&5
1308 echo "${ECHO_T}$INSTALL" >&6
1309
1310 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1311 # It thinks the first close brace ends the variable substitution.
1312 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1313
1314 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1315
1316 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1317
1318 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1319 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1320 # Just in case
1321 sleep 1
1322 echo timestamp > conftest.file
1323 # Do `set' in a subshell so we don't clobber the current shell's
1324 # arguments. Must try -L first in case configure is actually a
1325 # symlink; some systems play weird games with the mod time of symlinks
1326 # (eg FreeBSD returns the mod time of the symlink's containing
1327 # directory).
1328 if (
1329 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1330 if test "$*" = "X"; then
1331 # -L didn't work.
1332 set X `ls -t $srcdir/configure conftest.file`
1333 fi
1334 rm -f conftest.file
1335 if test "$*" != "X $srcdir/configure conftest.file" \
1336 && test "$*" != "X conftest.file $srcdir/configure"; then
1337
1338 # If neither matched, then we have a broken ls. This can happen
1339 # if, for instance, CONFIG_SHELL is bash and it inherits a
1340 # broken ls alias from the environment. This has actually
1341 # happened. Such a system could not be considered "sane".
1342 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1343 alias in your environment" >&5
1344 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1345 alias in your environment" >&2;}
1346 { (exit 1); exit 1; }; }
1347 fi
1348
1349 test "$2" = conftest.file
1350 )
1351 then
1352 # Ok.
1353 :
1354 else
1355 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1356 Check your system clock" >&5
1357 echo "$as_me: error: newly created file is older than distributed files!
1358 Check your system clock" >&2;}
1359 { (exit 1); exit 1; }; }
1360 fi
1361 echo "$as_me:$LINENO: result: yes" >&5
1362 echo "${ECHO_T}yes" >&6
1363 test "$program_prefix" != NONE &&
1364 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1365 # Use a double $ so make ignores it.
1366 test "$program_suffix" != NONE &&
1367 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1368 # Double any \ or $. echo might interpret backslashes.
1369 # By default was `s,x,x', remove it if useless.
1370 cat <<\_ACEOF >conftest.sed
1371 s/[\\$]/&&/g;s/;s,x,x,$//
1372 _ACEOF
1373 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1374 rm conftest.sed
1375
1376
1377 # expand $ac_aux_dir to an absolute path
1378 am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1379
1380 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1381 # Use eval to expand $SHELL
1382 if eval "$MISSING --run true"; then
1383 am_missing_run="$MISSING --run "
1384 else
1385 am_missing_run=
1386 am_backtick='`'
1387 { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1388 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1389 fi
1390
1391 for ac_prog in gawk mawk nawk awk
1392 do
1393 # Extract the first word of "$ac_prog", so it can be a program name with args.
1394 set dummy $ac_prog; ac_word=$2
1395 echo "$as_me:$LINENO: checking for $ac_word" >&5
1396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1397 if test "${ac_cv_prog_AWK+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 else
1400 if test -n "$AWK"; then
1401 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1402 else
1403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1404 for as_dir in $PATH
1405 do
1406 IFS=$as_save_IFS
1407 test -z "$as_dir" && as_dir=.
1408 for ac_exec_ext in '' $ac_executable_extensions; do
1409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1410 ac_cv_prog_AWK="$ac_prog"
1411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1412 break 2
1413 fi
1414 done
1415 done
1416
1417 fi
1418 fi
1419 AWK=$ac_cv_prog_AWK
1420 if test -n "$AWK"; then
1421 echo "$as_me:$LINENO: result: $AWK" >&5
1422 echo "${ECHO_T}$AWK" >&6
1423 else
1424 echo "$as_me:$LINENO: result: no" >&5
1425 echo "${ECHO_T}no" >&6
1426 fi
1427
1428 test -n "$AWK" && break
1429 done
1430
1431 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1432 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1433 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1434 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1435 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 else
1437 cat >conftest.make <<\_ACEOF
1438 all:
1439 @echo 'ac_maketemp="${MAKE}"'
1440 _ACEOF
1441 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1442 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1443 if test -n "$ac_maketemp"; then
1444 eval ac_cv_prog_make_${ac_make}_set=yes
1445 else
1446 eval ac_cv_prog_make_${ac_make}_set=no
1447 fi
1448 rm -f conftest.make
1449 fi
1450 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1451 echo "$as_me:$LINENO: result: yes" >&5
1452 echo "${ECHO_T}yes" >&6
1453 SET_MAKE=
1454 else
1455 echo "$as_me:$LINENO: result: no" >&5
1456 echo "${ECHO_T}no" >&6
1457 SET_MAKE="MAKE=${MAKE-make}"
1458 fi
1459
1460 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1461 if test "${enable_dependency_tracking+set}" = set; then
1462 enableval="$enable_dependency_tracking"
1463
1464 fi;
1465 if test "x$enable_dependency_tracking" != xno; then
1466 am_depcomp="$ac_aux_dir/depcomp"
1467 AMDEPBACKSLASH='\'
1468 fi
1469
1470
1471 if test "x$enable_dependency_tracking" != xno; then
1472 AMDEP_TRUE=
1473 AMDEP_FALSE='#'
1474 else
1475 AMDEP_TRUE='#'
1476 AMDEP_FALSE=
1477 fi
1478
1479
1480
1481
1482 rm -f .deps 2>/dev/null
1483 mkdir .deps 2>/dev/null
1484 if test -d .deps; then
1485 DEPDIR=.deps
1486 else
1487 # MS-DOS does not allow filenames that begin with a dot.
1488 DEPDIR=_deps
1489 fi
1490 rmdir .deps 2>/dev/null
1491
1492
1493 # test to see if srcdir already configured
1494 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1495 test -f $srcdir/config.status; then
1496 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1497 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1498 { (exit 1); exit 1; }; }
1499 fi
1500
1501 # Define the identity of the package.
1502 PACKAGE=Bobot++
1503 VERSION=2.1.1CVS
1504
1505 cat >>confdefs.h <<_ACEOF
1506 #define PACKAGE "$PACKAGE"
1507 _ACEOF
1508
1509
1510 cat >>confdefs.h <<_ACEOF
1511 #define VERSION "$VERSION"
1512 _ACEOF
1513
1514
1515 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1516 # the ones we care about.
1517
1518 # Autoconf 2.50 always computes EXEEXT. However we need to be
1519 # compatible with 2.13, for now. So we always define EXEEXT, but we
1520 # don't compute it.
1521
1522 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1523 # requests that it be used. This is a bit dumb.
1524 : ${OBJEXT=o}
1525
1526
1527 # Some tools Automake needs.
1528
1529 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1530
1531
1532 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1533
1534
1535 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1536
1537
1538 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1539
1540
1541 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1542
1543
1544 AMTAR=${AMTAR-"${am_missing_run}tar"}
1545
1546 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1547
1548 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1549
1550 # We need awk for the "check" target. The system "awk" is bad on
1551 # some platforms.
1552
1553
1554
1555
1556 ac_config_headers="$ac_config_headers config.h"
1557
1558
1559 # Check whether --enable-crypt or --disable-crypt was given.
1560 if test "${enable_crypt+set}" = set; then
1561 enableval="$enable_crypt"
1562
1563 if test $enableval = "no"; then
1564 cat >>confdefs.h <<\_ACEOF
1565 #define NOCRYPT 1
1566 _ACEOF
1567
1568 fi
1569
1570 fi;
1571
1572 # Check whether --enable-scripting or --disable-scripting was given.
1573 if test "${enable_scripting+set}" = set; then
1574 enableval="$enable_scripting"
1575
1576 if test $enableval = "no"; then
1577 GUILE_LDFLAGS=""
1578
1579 else
1580 # Extract the first word of "guile", so it can be a program name with args.
1581 set dummy guile; ac_word=$2
1582 echo "$as_me:$LINENO: checking for $ac_word" >&5
1583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1584 if test "${ac_cv_path_GUILE+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587 case $GUILE in
1588 [\\/]* | ?:[\\/]*)
1589 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
1590 ;;
1591 *)
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593 for as_dir in $PATH
1594 do
1595 IFS=$as_save_IFS
1596 test -z "$as_dir" && as_dir=.
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1601 break 2
1602 fi
1603 done
1604 done
1605
1606 ;;
1607 esac
1608 fi
1609 GUILE=$ac_cv_path_GUILE
1610
1611 if test -n "$GUILE"; then
1612 echo "$as_me:$LINENO: result: $GUILE" >&5
1613 echo "${ECHO_T}$GUILE" >&6
1614 else
1615 echo "$as_me:$LINENO: result: no" >&5
1616 echo "${ECHO_T}no" >&6
1617 fi
1618
1619 if test "$GUILE" = "" ; then
1620 { { echo "$as_me:$LINENO: error: guile required but not found" >&5
1621 echo "$as_me: error: guile required but not found" >&2;}
1622 { (exit 1); exit 1; }; }
1623 fi
1624
1625 # Extract the first word of "guile-config", so it can be a program name with args.
1626 set dummy guile-config; ac_word=$2
1627 echo "$as_me:$LINENO: checking for $ac_word" >&5
1628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1629 if test "${ac_cv_path_GUILE_CONFIG+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 else
1632 case $GUILE_CONFIG in
1633 [\\/]* | ?:[\\/]*)
1634 ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a path.
1635 ;;
1636 *)
1637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638 for as_dir in $PATH
1639 do
1640 IFS=$as_save_IFS
1641 test -z "$as_dir" && as_dir=.
1642 for ac_exec_ext in '' $ac_executable_extensions; do
1643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1644 ac_cv_path_GUILE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 break 2
1647 fi
1648 done
1649 done
1650
1651 ;;
1652 esac
1653 fi
1654 GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG
1655
1656 if test -n "$GUILE_CONFIG"; then
1657 echo "$as_me:$LINENO: result: $GUILE_CONFIG" >&5
1658 echo "${ECHO_T}$GUILE_CONFIG" >&6
1659 else
1660 echo "$as_me:$LINENO: result: no" >&5
1661 echo "${ECHO_T}no" >&6
1662 fi
1663
1664 if test "$GUILE_CONFIG" = "" ; then
1665 { { echo "$as_me:$LINENO: error: guile-config required but not found" >&5
1666 echo "$as_me: error: guile-config required but not found" >&2;}
1667 { (exit 1); exit 1; }; }
1668 fi
1669
1670 # Extract the first word of "guile-tools", so it can be a program name with args.
1671 set dummy guile-tools; ac_word=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_path_GUILE_TOOLS+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1676 else
1677 case $GUILE_TOOLS in
1678 [\\/]* | ?:[\\/]*)
1679 ac_cv_path_GUILE_TOOLS="$GUILE_TOOLS" # Let the user override the test with a path.
1680 ;;
1681 *)
1682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1683 for as_dir in $PATH
1684 do
1685 IFS=$as_save_IFS
1686 test -z "$as_dir" && as_dir=.
1687 for ac_exec_ext in '' $ac_executable_extensions; do
1688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1689 ac_cv_path_GUILE_TOOLS="$as_dir/$ac_word$ac_exec_ext"
1690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1691 break 2
1692 fi
1693 done
1694 done
1695
1696 ;;
1697 esac
1698 fi
1699 GUILE_TOOLS=$ac_cv_path_GUILE_TOOLS
1700
1701 if test -n "$GUILE_TOOLS"; then
1702 echo "$as_me:$LINENO: result: $GUILE_TOOLS" >&5
1703 echo "${ECHO_T}$GUILE_TOOLS" >&6
1704 else
1705 echo "$as_me:$LINENO: result: no" >&5
1706 echo "${ECHO_T}no" >&6
1707 fi
1708
1709
1710
1711 echo "$as_me:$LINENO: checking libguile compile flags" >&5
1712 echo $ECHO_N "checking libguile compile flags... $ECHO_C" >&6
1713 GUILE_CFLAGS="`$GUILE_CONFIG compile`"
1714 echo "$as_me:$LINENO: result: $GUILE_CFLAGS" >&5
1715 echo "${ECHO_T}$GUILE_CFLAGS" >&6
1716 echo "$as_me:$LINENO: checking libguile link flags" >&5
1717 echo $ECHO_N "checking libguile link flags... $ECHO_C" >&6
1718 GUILE_LDFLAGS="`$GUILE_CONFIG link`"
1719 echo "$as_me:$LINENO: result: $GUILE_LDFLAGS" >&5
1720 echo "${ECHO_T}$GUILE_LDFLAGS" >&6
1721
1722
1723
1724 cat >>confdefs.h <<\_ACEOF
1725 #define USESCRIPTS 1
1726 _ACEOF
1727
1728 cat >>confdefs.h <<\_ACEOF
1729 #define MULTITHREAD 1
1730 _ACEOF
1731
1732 fi
1733
1734 else
1735
1736 # Extract the first word of "guile", so it can be a program name with args.
1737 set dummy guile; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_path_GUILE+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743 case $GUILE in
1744 [\\/]* | ?:[\\/]*)
1745 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
1746 ;;
1747 *)
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749 for as_dir in $PATH
1750 do
1751 IFS=$as_save_IFS
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1755 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 break 2
1758 fi
1759 done
1760 done
1761
1762 ;;
1763 esac
1764 fi
1765 GUILE=$ac_cv_path_GUILE
1766
1767 if test -n "$GUILE"; then
1768 echo "$as_me:$LINENO: result: $GUILE" >&5
1769 echo "${ECHO_T}$GUILE" >&6
1770 else
1771 echo "$as_me:$LINENO: result: no" >&5
1772 echo "${ECHO_T}no" >&6
1773 fi
1774
1775 if test "$GUILE" = "" ; then
1776 { { echo "$as_me:$LINENO: error: guile required but not found" >&5
1777 echo "$as_me: error: guile required but not found" >&2;}
1778 { (exit 1); exit 1; }; }
1779 fi
1780
1781 # Extract the first word of "guile-config", so it can be a program name with args.
1782 set dummy guile-config; ac_word=$2
1783 echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1785 if test "${ac_cv_path_GUILE_CONFIG+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 else
1788 case $GUILE_CONFIG in
1789 [\\/]* | ?:[\\/]*)
1790 ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a path.
1791 ;;
1792 *)
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 for as_dir in $PATH
1795 do
1796 IFS=$as_save_IFS
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_path_GUILE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 break 2
1803 fi
1804 done
1805 done
1806
1807 ;;
1808 esac
1809 fi
1810 GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG
1811
1812 if test -n "$GUILE_CONFIG"; then
1813 echo "$as_me:$LINENO: result: $GUILE_CONFIG" >&5
1814 echo "${ECHO_T}$GUILE_CONFIG" >&6
1815 else
1816 echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1818 fi
1819
1820 if test "$GUILE_CONFIG" = "" ; then
1821 { { echo "$as_me:$LINENO: error: guile-config required but not found" >&5
1822 echo "$as_me: error: guile-config required but not found" >&2;}
1823 { (exit 1); exit 1; }; }
1824 fi
1825
1826 # Extract the first word of "guile-tools", so it can be a program name with args.
1827 set dummy guile-tools; ac_word=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_path_GUILE_TOOLS+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 else
1833 case $GUILE_TOOLS in
1834 [\\/]* | ?:[\\/]*)
1835 ac_cv_path_GUILE_TOOLS="$GUILE_TOOLS" # Let the user override the test with a path.
1836 ;;
1837 *)
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH
1840 do
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_path_GUILE_TOOLS="$as_dir/$ac_word$ac_exec_ext"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 break 2
1848 fi
1849 done
1850 done
1851
1852 ;;
1853 esac
1854 fi
1855 GUILE_TOOLS=$ac_cv_path_GUILE_TOOLS
1856
1857 if test -n "$GUILE_TOOLS"; then
1858 echo "$as_me:$LINENO: result: $GUILE_TOOLS" >&5
1859 echo "${ECHO_T}$GUILE_TOOLS" >&6
1860 else
1861 echo "$as_me:$LINENO: result: no" >&5
1862 echo "${ECHO_T}no" >&6
1863 fi
1864
1865
1866
1867 echo "$as_me:$LINENO: checking libguile compile flags" >&5
1868 echo $ECHO_N "checking libguile compile flags... $ECHO_C" >&6
1869 GUILE_CFLAGS="`$GUILE_CONFIG compile`"
1870 echo "$as_me:$LINENO: result: $GUILE_CFLAGS" >&5
1871 echo "${ECHO_T}$GUILE_CFLAGS" >&6
1872 echo "$as_me:$LINENO: checking libguile link flags" >&5
1873 echo $ECHO_N "checking libguile link flags... $ECHO_C" >&6
1874 GUILE_LDFLAGS="`$GUILE_CONFIG link`"
1875 echo "$as_me:$LINENO: result: $GUILE_LDFLAGS" >&5
1876 echo "${ECHO_T}$GUILE_LDFLAGS" >&6
1877
1878
1879
1880 cat >>confdefs.h <<\_ACEOF
1881 #define USESCRIPTS 1
1882 _ACEOF
1883
1884 cat >>confdefs.h <<\_ACEOF
1885 #define MULTITHREAD 1
1886 _ACEOF
1887
1888
1889 fi;
1890
1891
1892 ac_ext=cc
1893 ac_cpp='$CXXCPP $CPPFLAGS'
1894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1897 if test -n "$ac_tool_prefix"; then
1898 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1899 do
1900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1902 echo "$as_me:$LINENO: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1904 if test "${ac_cv_prog_CXX+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 else
1907 if test -n "$CXX"; then
1908 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1912 do
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1917 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 break 2
1920 fi
1921 done
1922 done
1923
1924 fi
1925 fi
1926 CXX=$ac_cv_prog_CXX
1927 if test -n "$CXX"; then
1928 echo "$as_me:$LINENO: result: $CXX" >&5
1929 echo "${ECHO_T}$CXX" >&6
1930 else
1931 echo "$as_me:$LINENO: result: no" >&5
1932 echo "${ECHO_T}no" >&6
1933 fi
1934
1935 test -n "$CXX" && break
1936 done
1937 fi
1938 if test -z "$CXX"; then
1939 ac_ct_CXX=$CXX
1940 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1941 do
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test -n "$ac_ct_CXX"; then
1950 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1951 else
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1954 do
1955 IFS=$as_save_IFS
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_ac_ct_CXX="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 break 2
1962 fi
1963 done
1964 done
1965
1966 fi
1967 fi
1968 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1969 if test -n "$ac_ct_CXX"; then
1970 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1971 echo "${ECHO_T}$ac_ct_CXX" >&6
1972 else
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1975 fi
1976
1977 test -n "$ac_ct_CXX" && break
1978 done
1979 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1980
1981 CXX=$ac_ct_CXX
1982 fi
1983
1984
1985 # Provide some information about the compiler.
1986 echo "$as_me:$LINENO:" \
1987 "checking for C++ compiler version" >&5
1988 ac_compiler=`set X $ac_compile; echo $2`
1989 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1990 (eval $ac_compiler --version </dev/null >&5) 2>&5
1991 ac_status=$?
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }
1994 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1995 (eval $ac_compiler -v </dev/null >&5) 2>&5
1996 ac_status=$?
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }
1999 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2000 (eval $ac_compiler -V </dev/null >&5) 2>&5
2001 ac_status=$?
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }
2004
2005 cat >conftest.$ac_ext <<_ACEOF
2006 #line $LINENO "configure"
2007 #include "confdefs.h"
2008
2009 #ifdef F77_DUMMY_MAIN
2010 # ifdef __cplusplus
2011 extern "C"
2012 # endif
2013 int F77_DUMMY_MAIN() { return 1; }
2014 #endif
2015 int
2016 main ()
2017 {
2018
2019 ;
2020 return 0;
2021 }
2022 _ACEOF
2023 ac_clean_files_save=$ac_clean_files
2024 ac_clean_files="$ac_clean_files a.out a.exe"
2025 # Try to create an executable without -o first, disregard a.out.
2026 # It will help us diagnose broken compilers, and finding out an intuition
2027 # of exeext.
2028 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2029 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2030 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2031 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2032 (eval $ac_link_default) 2>&5
2033 ac_status=$?
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; then
2036 # Find the output, starting from the most likely. This scheme is
2037 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2038 # resort.
2039
2040 # Be careful to initialize this variable, since it used to be cached.
2041 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2042 ac_cv_exeext=
2043 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2044 ls a.out conftest 2>/dev/null;
2045 ls a.* conftest.* 2>/dev/null`; do
2046 case $ac_file in
2047 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2048 a.out ) # We found the default executable, but exeext='' is most
2049 # certainly right.
2050 break;;
2051 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2052 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2053 export ac_cv_exeext
2054 break;;
2055 * ) break;;
2056 esac
2057 done
2058 else
2059 echo "$as_me: failed program was:" >&5
2060 cat conftest.$ac_ext >&5
2061 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5
2062 echo "$as_me: error: C++ compiler cannot create executables" >&2;}
2063 { (exit 77); exit 77; }; }
2064 fi
2065
2066 ac_exeext=$ac_cv_exeext
2067 echo "$as_me:$LINENO: result: $ac_file" >&5
2068 echo "${ECHO_T}$ac_file" >&6
2069
2070 # Check the compiler produces executables we can run. If not, either
2071 # the compiler is broken, or we cross compile.
2072 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2073 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2074 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2075 # If not cross compiling, check that we can run a simple program.
2076 if test "$cross_compiling" != yes; then
2077 if { ac_try='./$ac_file'
2078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2079 (eval $ac_try) 2>&5
2080 ac_status=$?
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); }; }; then
2083 cross_compiling=no
2084 else
2085 if test "$cross_compiling" = maybe; then
2086 cross_compiling=yes
2087 else
2088 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2089 If you meant to cross compile, use \`--host'." >&5
2090 echo "$as_me: error: cannot run C++ compiled programs.
2091 If you meant to cross compile, use \`--host'." >&2;}
2092 { (exit 1); exit 1; }; }
2093 fi
2094 fi
2095 fi
2096 echo "$as_me:$LINENO: result: yes" >&5
2097 echo "${ECHO_T}yes" >&6
2098
2099 rm -f a.out a.exe conftest$ac_cv_exeext
2100 ac_clean_files=$ac_clean_files_save
2101 # Check the compiler produces executables we can run. If not, either
2102 # the compiler is broken, or we cross compile.
2103 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2104 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2105 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2106 echo "${ECHO_T}$cross_compiling" >&6
2107
2108 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2109 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2111 (eval $ac_link) 2>&5
2112 ac_status=$?
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }; then
2115 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2116 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2117 # work properly (i.e., refer to `conftest.exe'), while it won't with
2118 # `rm'.
2119 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2120 case $ac_file in
2121 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2122 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2123 export ac_cv_exeext
2124 break;;
2125 * ) break;;
2126 esac
2127 done
2128 else
2129 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2130 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2131 { (exit 1); exit 1; }; }
2132 fi
2133
2134 rm -f conftest$ac_cv_exeext
2135 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2136 echo "${ECHO_T}$ac_cv_exeext" >&6
2137
2138 rm -f conftest.$ac_ext
2139 EXEEXT=$ac_cv_exeext
2140 ac_exeext=$EXEEXT
2141 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2142 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2143 if test "${ac_cv_objext+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 else
2146 cat >conftest.$ac_ext <<_ACEOF
2147 #line $LINENO "configure"
2148 #include "confdefs.h"
2149
2150 #ifdef F77_DUMMY_MAIN
2151 # ifdef __cplusplus
2152 extern "C"
2153 # endif
2154 int F77_DUMMY_MAIN() { return 1; }
2155 #endif
2156 int
2157 main ()
2158 {
2159
2160 ;
2161 return 0;
2162 }
2163 _ACEOF
2164 rm -f conftest.o conftest.obj
2165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2166 (eval $ac_compile) 2>&5
2167 ac_status=$?
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; then
2170 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2171 case $ac_file in
2172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2173 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2174 break;;
2175 esac
2176 done
2177 else
2178 echo "$as_me: failed program was:" >&5
2179 cat conftest.$ac_ext >&5
2180 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2181 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2182 { (exit 1); exit 1; }; }
2183 fi
2184
2185 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2186 fi
2187 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2188 echo "${ECHO_T}$ac_cv_objext" >&6
2189 OBJEXT=$ac_cv_objext
2190 ac_objext=$OBJEXT
2191 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2192 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2193 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 else
2196 cat >conftest.$ac_ext <<_ACEOF
2197 #line $LINENO "configure"
2198 #include "confdefs.h"
2199
2200 #ifdef F77_DUMMY_MAIN
2201 # ifdef __cplusplus
2202 extern "C"
2203 # endif
2204 int F77_DUMMY_MAIN() { return 1; }
2205 #endif
2206 int
2207 main ()
2208 {
2209 #ifndef __GNUC__
2210 choke me
2211 #endif
2212
2213 ;
2214 return 0;
2215 }
2216 _ACEOF
2217 rm -f conftest.$ac_objext
2218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2219 (eval $ac_compile) 2>&5
2220 ac_status=$?
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); } &&
2223 { ac_try='test -s conftest.$ac_objext'
2224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 (eval $ac_try) 2>&5
2226 ac_status=$?
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }; }; then
2229 ac_compiler_gnu=yes
2230 else
2231 echo "$as_me: failed program was:" >&5
2232 cat conftest.$ac_ext >&5
2233 ac_compiler_gnu=no
2234 fi
2235 rm -f conftest.$ac_objext conftest.$ac_ext
2236 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2237
2238 fi
2239 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2240 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2241 GXX=`test $ac_compiler_gnu = yes && echo yes`
2242 ac_test_CXXFLAGS=${CXXFLAGS+set}
2243 ac_save_CXXFLAGS=$CXXFLAGS
2244 CXXFLAGS="-g"
2245 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2246 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2247 if test "${ac_cv_prog_cxx_g+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 else
2250 cat >conftest.$ac_ext <<_ACEOF
2251 #line $LINENO "configure"
2252 #include "confdefs.h"
2253
2254 #ifdef F77_DUMMY_MAIN
2255 # ifdef __cplusplus
2256 extern "C"
2257 # endif
2258 int F77_DUMMY_MAIN() { return 1; }
2259 #endif
2260 int
2261 main ()
2262 {
2263
2264 ;
2265 return 0;
2266 }
2267 _ACEOF
2268 rm -f conftest.$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>&5
2271 ac_status=$?
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); } &&
2274 { ac_try='test -s conftest.$ac_objext'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 (eval $ac_try) 2>&5
2277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; }; then
2280 ac_cv_prog_cxx_g=yes
2281 else
2282 echo "$as_me: failed program was:" >&5
2283 cat conftest.$ac_ext >&5
2284 ac_cv_prog_cxx_g=no
2285 fi
2286 rm -f conftest.$ac_objext conftest.$ac_ext
2287 fi
2288 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2289 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2290 if test "$ac_test_CXXFLAGS" = set; then
2291 CXXFLAGS=$ac_save_CXXFLAGS
2292 elif test $ac_cv_prog_cxx_g = yes; then
2293 if test "$GXX" = yes; then
2294 CXXFLAGS="-g -O2"
2295 else
2296 CXXFLAGS="-g"
2297 fi
2298 else
2299 if test "$GXX" = yes; then
2300 CXXFLAGS="-O2"
2301 else
2302 CXXFLAGS=
2303 fi
2304 fi
2305 for ac_declaration in \
2306 ''\
2307 '#include <stdlib.h>' \
2308 'extern "C" void std::exit (int) throw (); using std::exit;' \
2309 'extern "C" void std::exit (int); using std::exit;' \
2310 'extern "C" void exit (int) throw ();' \
2311 'extern "C" void exit (int);' \
2312 'void exit (int);'
2313 do
2314 cat >conftest.$ac_ext <<_ACEOF
2315 #line $LINENO "configure"
2316 #include "confdefs.h"
2317 #include <stdlib.h>
2318 $ac_declaration
2319 #ifdef F77_DUMMY_MAIN
2320 # ifdef __cplusplus
2321 extern "C"
2322 # endif
2323 int F77_DUMMY_MAIN() { return 1; }
2324 #endif
2325 int
2326 main ()
2327 {
2328 exit (42);
2329 ;
2330 return 0;
2331 }
2332 _ACEOF
2333 rm -f conftest.$ac_objext
2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2335 (eval $ac_compile) 2>&5
2336 ac_status=$?
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); } &&
2339 { ac_try='test -s conftest.$ac_objext'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 (eval $ac_try) 2>&5
2342 ac_status=$?
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; }; then
2345 :
2346 else
2347 echo "$as_me: failed program was:" >&5
2348 cat conftest.$ac_ext >&5
2349 continue
2350 fi
2351 rm -f conftest.$ac_objext conftest.$ac_ext
2352 cat >conftest.$ac_ext <<_ACEOF
2353 #line $LINENO "configure"
2354 #include "confdefs.h"
2355 $ac_declaration
2356 #ifdef F77_DUMMY_MAIN
2357 # ifdef __cplusplus
2358 extern "C"
2359 # endif
2360 int F77_DUMMY_MAIN() { return 1; }
2361 #endif
2362 int
2363 main ()
2364 {
2365 exit (42);
2366 ;
2367 return 0;
2368 }
2369 _ACEOF
2370 rm -f conftest.$ac_objext
2371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372 (eval $ac_compile) 2>&5
2373 ac_status=$?
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); } &&
2376 { ac_try='test -s conftest.$ac_objext'
2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 (eval $ac_try) 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; }; then
2382 break
2383 else
2384 echo "$as_me: failed program was:" >&5
2385 cat conftest.$ac_ext >&5
2386 fi
2387 rm -f conftest.$ac_objext conftest.$ac_ext
2388 done
2389 rm -f conftest*
2390 if test -n "$ac_declaration"; then
2391 echo '#ifdef __cplusplus' >>confdefs.h
2392 echo $ac_declaration >>confdefs.h
2393 echo '#endif' >>confdefs.h
2394 fi
2395
2396 ac_ext=c
2397 ac_cpp='$CPP $CPPFLAGS'
2398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2401
2402 ac_config_commands="$ac_config_commands default-1"
2403
2404 am_make=${MAKE-make}
2405 cat > confinc << 'END'
2406 doit:
2407 @echo done
2408 END
2409 # If we don't find an include directive, just comment out the code.
2410 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2411 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2412 am__include='#'
2413 am__quote=
2414 _am_result=none
2415 # First try GNU make style include.
2416 echo "include confinc" > confmf
2417 # We grep out `Entering directory' and `Leaving directory'
2418 # messages which can occur if `w' ends up in MAKEFLAGS.
2419 # In particular we don't look at `^make:' because GNU make might
2420 # be invoked under some other name (usually "gmake"), in which
2421 # case it prints its new name instead of `make'.
2422 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2423 am__include=include
2424 am__quote=
2425 _am_result=GNU
2426 fi
2427 # Now try BSD make style include.
2428 if test "$am__include" = "#"; then
2429 echo '.include "confinc"' > confmf
2430 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2431 am__include=.include
2432 am__quote='"'
2433 _am_result=BSD
2434 fi
2435 fi
2436
2437
2438 echo "$as_me:$LINENO: result: $_am_result" >&5
2439 echo "${ECHO_T}$_am_result" >&6
2440 rm -f confinc confmf
2441
2442
2443 depcc="$CXX" am_compiler_list=
2444
2445 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2446 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2447 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 else
2450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2451 # We make a subdir and do the tests there. Otherwise we can end up
2452 # making bogus files that we don't know about and never remove. For
2453 # instance it was reported that on HP-UX the gcc test will end up
2454 # making a dummy file named `D' -- because `-MD' means `put the output
2455 # in D'.
2456 mkdir conftest.dir
2457 # Copy depcomp to subdir because otherwise we won't find it if we're
2458 # using a relative directory.
2459 cp "$am_depcomp" conftest.dir
2460 cd conftest.dir
2461
2462 am_cv_CXX_dependencies_compiler_type=none
2463 if test "$am_compiler_list" = ""; then
2464 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2465 fi
2466 for depmode in $am_compiler_list; do
2467 # We need to recreate these files for each test, as the compiler may
2468 # overwrite some of them when testing with obscure command lines.
2469 # This happens at least with the AIX C compiler.
2470 echo '#include "conftest.h"' > conftest.c
2471 echo 'int i;' > conftest.h
2472 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2473
2474 case $depmode in
2475 nosideeffect)
2476 # after this tag, mechanisms are not by side-effect, so they'll
2477 # only be used when explicitly requested
2478 if test "x$enable_dependency_tracking" = xyes; then
2479 continue
2480 else
2481 break
2482 fi
2483 ;;
2484 none) break ;;
2485 esac
2486 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2487 # mode. It turns out that the SunPro C++ compiler does not properly
2488 # handle `-M -o', and we need to detect this.
2489 if depmode=$depmode \
2490 source=conftest.c object=conftest.o \
2491 depfile=conftest.Po tmpdepfile=conftest.TPo \
2492 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2493 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2494 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2495 am_cv_CXX_dependencies_compiler_type=$depmode
2496 break
2497 fi
2498 done
2499
2500 cd ..
2501 rm -rf conftest.dir
2502 else
2503 am_cv_CXX_dependencies_compiler_type=none
2504 fi
2505
2506 fi
2507 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2508 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2509 CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
2510
2511
2512
2513
2514 echo "$as_me:$LINENO: checking for STL support" >&5
2515 echo $ECHO_N "checking for STL support... $ECHO_C" >&6
2516
2517 if test "${ac_cv_cpp_stl+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520
2521 ac_ext=cc
2522 ac_cpp='$CXXCPP $CPPFLAGS'
2523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2526
2527 cat > conftest.$ac_ext <<EOF
2528 #include <list>
2529 int main() {
2530 std::list<int> l;
2531 return 0;
2532 };
2533 EOF
2534
2535
2536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2537 (eval $ac_link) 2>&5
2538 ac_status=$?
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } && test -s conftest; then
2541 ac_cv_cpp_stl="have_stl=yes"
2542 else
2543 ac_cv_cpp_stl="have_stl=no"
2544 fi
2545 rm -f conftest*
2546
2547 fi
2548 eval "$ac_cv_cpp_stl"
2549
2550 echo "$as_me:$LINENO: result: $have_stl" >&5
2551 echo "${ECHO_T}$have_stl" >&6
2552
2553 if test "$have_stl" != "yes"; then
2554 { { echo "$as_me:$LINENO: error: Sorry, you need STL support with your compiler" >&5
2555 echo "$as_me: error: Sorry, you need STL support with your compiler" >&2;}
2556 { (exit 1); exit 1; }; }
2557 fi
2558
2559
2560 echo "$as_me:$LINENO: checking for clear() method in STL objects" >&5
2561 echo $ECHO_N "checking for clear() method in STL objects... $ECHO_C" >&6
2562
2563 if test "${ac_cv_cpp_stl_clear+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 else
2566
2567 ac_ext=cc
2568 ac_cpp='$CXXCPP $CPPFLAGS'
2569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2572
2573 cat > conftest.$ac_ext <<EOF
2574 #include <map>
2575 int main() {
2576 std::map<int, int, std::less<int> > m;
2577 m.clear();
2578 return 0;
2579 };
2580 EOF
2581
2582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2583 (eval $ac_link) 2>&5
2584 ac_status=$?
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } && test -s conftest; then
2587 ac_cv_cpp_stl_clear="have_stl_clear=yes"
2588 else
2589 ac_cv_cpp_stl_clear="have_stl_clear=no"
2590 fi
2591 rm -f conftest*
2592
2593 fi
2594 eval "$ac_cv_cpp_stl_clear"
2595
2596 echo "$as_me:$LINENO: result: $have_stl_clear" >&5
2597 echo "${ECHO_T}$have_stl_clear" >&6
2598
2599 if test "$have_stl_clear" = "yes"; then
2600 HAVE_STL_CLEAR="-DHAVE_STL_CLEAR"
2601 cat >>confdefs.h <<\_ACEOF
2602 #define HAVE_STL_CLEAR 1
2603 _ACEOF
2604
2605 fi
2606
2607
2608 echo "$as_me:$LINENO: checking for std::ios_base in iostreams" >&5
2609 echo $ECHO_N "checking for std::ios_base in iostreams... $ECHO_C" >&6
2610
2611 if test "${ac_cv_cpp_iosbase+set}" = set; then
2612 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 else
2614
2615 ac_ext=cc
2616 ac_cpp='$CXXCPP $CPPFLAGS'
2617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2620
2621 cat > conftest.$ac_ext <<EOF
2622 #include <iostream>
2623 #include <fstream>
2624 int main() {
2625 std::ifstream file ("README", std::ios_base::in);
2626 return 0;
2627 };
2628 EOF
2629
2630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2631 (eval $ac_link) 2>&5
2632 ac_status=$?
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } && test -s conftest; then
2635 ac_cv_cpp_iosbase="have_iosbase=yes"
2636 else
2637 ac_cv_cpp_iosbase="have_iosbase=no"
2638 fi
2639 rm -f conftest*
2640
2641 fi
2642 eval "$ac_cv_cpp_iosbase"
2643
2644 echo "$as_me:$LINENO: result: $have_iosbase" >&5
2645 echo "${ECHO_T}$have_iosbase" >&6
2646
2647 if test "$have_iosbase" = "yes"; then
2648 HAVE_IOSBASE="-DHAVE_IOSBASE"
2649 cat >>confdefs.h <<\_ACEOF
2650 #define HAVE_IOSBASE 1
2651 _ACEOF
2652
2653 else
2654 cat >>confdefs.h <<\_ACEOF
2655 #define HAVE_IOSBASE 0
2656 _ACEOF
2657
2658 fi
2659
2660
2661
2662 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
2663 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
2664 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 else
2667 ac_check_lib_save_LIBS=$LIBS
2668 LIBS="-lcrypt $LIBS"
2669 cat >conftest.$ac_ext <<_ACEOF
2670 #line $LINENO "configure"
2671 #include "confdefs.h"
2672
2673 /* Override any gcc2 internal prototype to avoid an error. */
2674 #ifdef __cplusplus
2675 extern "C"
2676 #endif
2677 /* We use char because int might match the return type of a gcc2
2678 builtin and then its argument prototype would still apply. */
2679 char crypt ();
2680 #ifdef F77_DUMMY_MAIN
2681 # ifdef __cplusplus
2682 extern "C"
2683 # endif
2684 int F77_DUMMY_MAIN() { return 1; }
2685 #endif
2686 int
2687 main ()
2688 {
2689 crypt ();
2690 ;
2691 return 0;
2692 }
2693 _ACEOF
2694 rm -f conftest.$ac_objext conftest$ac_exeext
2695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2696 (eval $ac_link) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } &&
2700 { ac_try='test -s conftest$ac_exeext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_lib_crypt_crypt=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 cat conftest.$ac_ext >&5
2710 ac_cv_lib_crypt_crypt=no
2711 fi
2712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2713 LIBS=$ac_check_lib_save_LIBS
2714 fi
2715 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
2716 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
2717 if test $ac_cv_lib_crypt_crypt = yes; then
2718 LDFLAGS="-lcrypt $LDFLAGS"
2719 fi
2720
2721 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2722 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2723 if test "${ac_cv_lib_socket_socket+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 else
2726 ac_check_lib_save_LIBS=$LIBS
2727 LIBS="-lsocket $LIBS"
2728 cat >conftest.$ac_ext <<_ACEOF
2729 #line $LINENO "configure"
2730 #include "confdefs.h"
2731
2732 /* Override any gcc2 internal prototype to avoid an error. */
2733 #ifdef __cplusplus
2734 extern "C"
2735 #endif
2736 /* We use char because int might match the return type of a gcc2
2737 builtin and then its argument prototype would still apply. */
2738 char socket ();
2739 #ifdef F77_DUMMY_MAIN
2740 # ifdef __cplusplus
2741 extern "C"
2742 # endif
2743 int F77_DUMMY_MAIN() { return 1; }
2744 #endif
2745 int
2746 main ()
2747 {
2748 socket ();
2749 ;
2750 return 0;
2751 }
2752 _ACEOF
2753 rm -f conftest.$ac_objext conftest$ac_exeext
2754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2755 (eval $ac_link) 2>&5
2756 ac_status=$?
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } &&
2759 { ac_try='test -s conftest$ac_exeext'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761 (eval $ac_try) 2>&5
2762 ac_status=$?
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2765 ac_cv_lib_socket_socket=yes
2766 else
2767 echo "$as_me: failed program was:" >&5
2768 cat conftest.$ac_ext >&5
2769 ac_cv_lib_socket_socket=no
2770 fi
2771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2772 LIBS=$ac_check_lib_save_LIBS
2773 fi
2774 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
2775 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
2776 if test $ac_cv_lib_socket_socket = yes; then
2777 LDFLAGS="-lsocket $LDFLAGS"
2778 fi
2779
2780 echo "$as_me:$LINENO: checking for connect in -lnsl" >&5
2781 echo $ECHO_N "checking for connect in -lnsl... $ECHO_C" >&6
2782 if test "${ac_cv_lib_nsl_connect+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 else
2785 ac_check_lib_save_LIBS=$LIBS
2786 LIBS="-lnsl $LIBS"
2787 cat >conftest.$ac_ext <<_ACEOF
2788 #line $LINENO "configure"
2789 #include "confdefs.h"
2790
2791 /* Override any gcc2 internal prototype to avoid an error. */
2792 #ifdef __cplusplus
2793 extern "C"
2794 #endif
2795 /* We use char because int might match the return type of a gcc2
2796 builtin and then its argument prototype would still apply. */
2797 char connect ();
2798 #ifdef F77_DUMMY_MAIN
2799 # ifdef __cplusplus
2800 extern "C"
2801 # endif
2802 int F77_DUMMY_MAIN() { return 1; }
2803 #endif
2804 int
2805 main ()
2806 {
2807 connect ();
2808 ;
2809 return 0;
2810 }
2811 _ACEOF
2812 rm -f conftest.$ac_objext conftest$ac_exeext
2813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2814 (eval $ac_link) 2>&5
2815 ac_status=$?
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); } &&
2818 { ac_try='test -s conftest$ac_exeext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820 (eval $ac_try) 2>&5
2821 ac_status=$?
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2824 ac_cv_lib_nsl_connect=yes
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 cat conftest.$ac_ext >&5
2828 ac_cv_lib_nsl_connect=no
2829 fi
2830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2831 LIBS=$ac_check_lib_save_LIBS
2832 fi
2833 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_connect" >&5
2834 echo "${ECHO_T}$ac_cv_lib_nsl_connect" >&6
2835 if test $ac_cv_lib_nsl_connect = yes; then
2836 LDFLAGS="-lnsl $LDFLAGS"
2837 fi
2838
2839
2840 ac_ext=cc
2841 ac_cpp='$CXXCPP $CPPFLAGS'
2842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2845 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2846 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2847 if test -z "$CXXCPP"; then
2848 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2849 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 else
2851 # Double quotes because CXXCPP needs to be expanded
2852 for CXXCPP in "$CXX -E" "/lib/cpp"
2853 do
2854 ac_preproc_ok=false
2855 for ac_cxx_preproc_warn_flag in '' yes
2856 do
2857 # Use a header file that comes with gcc, so configuring glibc
2858 # with a fresh cross-compiler works.
2859 # On the NeXT, cc -E runs the code through the compiler's parser,
2860 # not just through cpp. "Syntax error" is here to catch this case.
2861 cat >conftest.$ac_ext <<_ACEOF
2862 #line $LINENO "configure"
2863 #include "confdefs.h"
2864 #include <assert.h>
2865 Syntax error
2866 _ACEOF
2867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2869 ac_status=$?
2870 egrep -v '^ *\+' conftest.er1 >conftest.err
2871 rm -f conftest.er1
2872 cat conftest.err >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } >/dev/null; then
2875 if test -s conftest.err; then
2876 ac_cpp_err=$ac_cxx_preproc_warn_flag
2877 else
2878 ac_cpp_err=
2879 fi
2880 else
2881 ac_cpp_err=yes
2882 fi
2883 if test -z "$ac_cpp_err"; then
2884 :
2885 else
2886 echo "$as_me: failed program was:" >&5
2887 cat conftest.$ac_ext >&5
2888 # Broken: fails on valid input.
2889 continue
2890 fi
2891 rm -f conftest.err conftest.$ac_ext
2892
2893 # OK, works on sane cases. Now check whether non-existent headers
2894 # can be detected and how.
2895 cat >conftest.$ac_ext <<_ACEOF
2896 #line $LINENO "configure"
2897 #include "confdefs.h"
2898 #include <ac_nonexistent.h>
2899 _ACEOF
2900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2902 ac_status=$?
2903 egrep -v '^ *\+' conftest.er1 >conftest.err
2904 rm -f conftest.er1
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } >/dev/null; then
2908 if test -s conftest.err; then
2909 ac_cpp_err=$ac_cxx_preproc_warn_flag
2910 else
2911 ac_cpp_err=
2912 fi
2913 else
2914 ac_cpp_err=yes
2915 fi
2916 if test -z "$ac_cpp_err"; then
2917 # Broken: success on invalid input.
2918 continue
2919 else
2920 echo "$as_me: failed program was:" >&5
2921 cat conftest.$ac_ext >&5
2922 # Passes both tests.
2923 ac_preproc_ok=:
2924 break
2925 fi
2926 rm -f conftest.err conftest.$ac_ext
2927
2928 done
2929 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2930 rm -f conftest.err conftest.$ac_ext
2931 if $ac_preproc_ok; then
2932 break
2933 fi
2934
2935 done
2936 ac_cv_prog_CXXCPP=$CXXCPP
2937
2938 fi
2939 CXXCPP=$ac_cv_prog_CXXCPP
2940 else
2941 ac_cv_prog_CXXCPP=$CXXCPP
2942 fi
2943 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2944 echo "${ECHO_T}$CXXCPP" >&6
2945 ac_preproc_ok=false
2946 for ac_cxx_preproc_warn_flag in '' yes
2947 do
2948 # Use a header file that comes with gcc, so configuring glibc
2949 # with a fresh cross-compiler works.
2950 # On the NeXT, cc -E runs the code through the compiler's parser,
2951 # not just through cpp. "Syntax error" is here to catch this case.
2952 cat >conftest.$ac_ext <<_ACEOF
2953 #line $LINENO "configure"
2954 #include "confdefs.h"
2955 #include <assert.h>
2956 Syntax error
2957 _ACEOF
2958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2960 ac_status=$?
2961 egrep -v '^ *\+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } >/dev/null; then
2966 if test -s conftest.err; then
2967 ac_cpp_err=$ac_cxx_preproc_warn_flag
2968 else
2969 ac_cpp_err=
2970 fi
2971 else
2972 ac_cpp_err=yes
2973 fi
2974 if test -z "$ac_cpp_err"; then
2975 :
2976 else
2977 echo "$as_me: failed program was:" >&5
2978 cat conftest.$ac_ext >&5
2979 # Broken: fails on valid input.
2980 continue
2981 fi
2982 rm -f conftest.err conftest.$ac_ext
2983
2984 # OK, works on sane cases. Now check whether non-existent headers
2985 # can be detected and how.
2986 cat >conftest.$ac_ext <<_ACEOF
2987 #line $LINENO "configure"
2988 #include "confdefs.h"
2989 #include <ac_nonexistent.h>
2990 _ACEOF
2991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2993 ac_status=$?
2994 egrep -v '^ *\+' conftest.er1 >conftest.err
2995 rm -f conftest.er1
2996 cat conftest.err >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } >/dev/null; then
2999 if test -s conftest.err; then
3000 ac_cpp_err=$ac_cxx_preproc_warn_flag
3001 else
3002 ac_cpp_err=
3003 fi
3004 else
3005 ac_cpp_err=yes
3006 fi
3007 if test -z "$ac_cpp_err"; then
3008 # Broken: success on invalid input.
3009 continue
3010 else
3011 echo "$as_me: failed program was:" >&5
3012 cat conftest.$ac_ext >&5
3013 # Passes both tests.
3014 ac_preproc_ok=:
3015 break
3016 fi
3017 rm -f conftest.err conftest.$ac_ext
3018
3019 done
3020 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3021 rm -f conftest.err conftest.$ac_ext
3022 if $ac_preproc_ok; then
3023 :
3024 else
3025 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
3026 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
3027 { (exit 1); exit 1; }; }
3028 fi
3029
3030 ac_ext=cc
3031 ac_cpp='$CXXCPP $CPPFLAGS'
3032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3035
3036
3037 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3038 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3039 if test "${ac_cv_header_stdc+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 else
3042 cat >conftest.$ac_ext <<_ACEOF
3043 #line $LINENO "configure"
3044 #include "confdefs.h"
3045 #include <stdlib.h>
3046 #include <stdarg.h>
3047 #include <string.h>
3048 #include <float.h>
3049
3050 _ACEOF
3051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3053 ac_status=$?
3054 egrep -v '^ *\+' conftest.er1 >conftest.err
3055 rm -f conftest.er1
3056 cat conftest.err >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); } >/dev/null; then
3059 if test -s conftest.err; then
3060 ac_cpp_err=$ac_cxx_preproc_warn_flag
3061 else
3062 ac_cpp_err=
3063 fi
3064 else
3065 ac_cpp_err=yes
3066 fi
3067 if test -z "$ac_cpp_err"; then
3068 ac_cv_header_stdc=yes
3069 else
3070 echo "$as_me: failed program was:" >&5
3071 cat conftest.$ac_ext >&5
3072 ac_cv_header_stdc=no
3073 fi
3074 rm -f conftest.err conftest.$ac_ext
3075
3076 if test $ac_cv_header_stdc = yes; then
3077 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3078 cat >conftest.$ac_ext <<_ACEOF
3079 #line $LINENO "configure"
3080 #include "confdefs.h"
3081 #include <string.h>
3082
3083 _ACEOF
3084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3085 egrep "memchr" >/dev/null 2>&1; then
3086 :
3087 else
3088 ac_cv_header_stdc=no
3089 fi
3090 rm -f conftest*
3091
3092 fi
3093
3094 if test $ac_cv_header_stdc = yes; then
3095 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3096 cat >conftest.$ac_ext <<_ACEOF
3097 #line $LINENO "configure"
3098 #include "confdefs.h"
3099 #include <stdlib.h>
3100
3101 _ACEOF
3102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3103 egrep "free" >/dev/null 2>&1; then
3104 :
3105 else
3106 ac_cv_header_stdc=no
3107 fi
3108 rm -f conftest*
3109
3110 fi
3111
3112 if test $ac_cv_header_stdc = yes; then
3113 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3114 if test "$cross_compiling" = yes; then
3115 :
3116 else
3117 cat >conftest.$ac_ext <<_ACEOF
3118 #line $LINENO "configure"
3119 #include "confdefs.h"
3120 #include <ctype.h>
3121 #if ((' ' & 0x0FF) == 0x020)
3122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3124 #else
3125 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3126 || ('j' <= (c) && (c) <= 'r') \
3127 || ('s' <= (c) && (c) <= 'z'))
3128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3129 #endif
3130
3131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3132 int
3133 main ()
3134 {
3135 int i;
3136 for (i = 0; i < 256; i++)
3137 if (XOR (islower (i), ISLOWER (i))
3138 || toupper (i) != TOUPPER (i))
3139 exit(2);
3140 exit (0);
3141 }
3142 _ACEOF
3143 rm -f conftest$ac_exeext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3145 (eval $ac_link) 2>&5
3146 ac_status=$?
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 :
3155 else
3156 echo "$as_me: program exited with status $ac_status" >&5
3157 echo "$as_me: failed program was:" >&5
3158 cat conftest.$ac_ext >&5
3159 ( exit $ac_status )
3160 ac_cv_header_stdc=no
3161 fi
3162 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3163 fi
3164 fi
3165 fi
3166 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3167 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3168 if test $ac_cv_header_stdc = yes; then
3169
3170 cat >>confdefs.h <<\_ACEOF
3171 #define STDC_HEADERS 1
3172 _ACEOF
3173
3174 fi
3175
3176 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3187 inttypes.h stdint.h unistd.h
3188 do
3189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3190 echo "$as_me:$LINENO: checking for $ac_header" >&5
3191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 else
3195 cat >conftest.$ac_ext <<_ACEOF
3196 #line $LINENO "configure"
3197 #include "confdefs.h"
3198 $ac_includes_default
3199
3200 #include <$ac_header>
3201 _ACEOF
3202 rm -f conftest.$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try='test -s conftest.$ac_objext'
3209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210 (eval $ac_try) 2>&5
3211 ac_status=$?
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; }; then
3214 eval "$as_ac_Header=yes"
3215 else
3216 echo "$as_me: failed program was:" >&5
3217 cat conftest.$ac_ext >&5
3218 eval "$as_ac_Header=no"
3219 fi
3220 rm -f conftest.$ac_objext conftest.$ac_ext
3221 fi
3222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3225 cat >>confdefs.h <<_ACEOF
3226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3227 _ACEOF
3228
3229 fi
3230
3231 done
3232
3233
3234
3235
3236
3237 for ac_header in fcntl.h sys/time.h unistd.h
3238 do
3239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3241 echo "$as_me:$LINENO: checking for $ac_header" >&5
3242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 fi
3246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3248 else
3249 # Is the header compilable?
3250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3252 cat >conftest.$ac_ext <<_ACEOF
3253 #line $LINENO "configure"
3254 #include "confdefs.h"
3255 $ac_includes_default
3256 #include <$ac_header>
3257 _ACEOF
3258 rm -f conftest.$ac_objext
3259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3260 (eval $ac_compile) 2>&5
3261 ac_status=$?
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } &&
3264 { ac_try='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 (eval $ac_try) 2>&5
3267 ac_status=$?
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3270 ac_header_compiler=yes
3271 else
3272 echo "$as_me: failed program was:" >&5
3273 cat conftest.$ac_ext >&5
3274 ac_header_compiler=no
3275 fi
3276 rm -f conftest.$ac_objext conftest.$ac_ext
3277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3278 echo "${ECHO_T}$ac_header_compiler" >&6
3279
3280 # Is the header present?
3281 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3283 cat >conftest.$ac_ext <<_ACEOF
3284 #line $LINENO "configure"
3285 #include "confdefs.h"
3286 #include <$ac_header>
3287 _ACEOF
3288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3290 ac_status=$?
3291 egrep -v '^ *\+' conftest.er1 >conftest.err
3292 rm -f conftest.er1
3293 cat conftest.err >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } >/dev/null; then
3296 if test -s conftest.err; then
3297 ac_cpp_err=$ac_cxx_preproc_warn_flag
3298 else
3299 ac_cpp_err=
3300 fi
3301 else
3302 ac_cpp_err=yes
3303 fi
3304 if test -z "$ac_cpp_err"; then
3305 ac_header_preproc=yes
3306 else
3307 echo "$as_me: failed program was:" >&5
3308 cat conftest.$ac_ext >&5
3309 ac_header_preproc=no
3310 fi
3311 rm -f conftest.err conftest.$ac_ext
3312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3313 echo "${ECHO_T}$ac_header_preproc" >&6
3314
3315 # So? What about this header?
3316 case $ac_header_compiler:$ac_header_preproc in
3317 yes:no )
3318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3322 no:yes )
3323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3329 esac
3330 echo "$as_me:$LINENO: checking for $ac_header" >&5
3331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 else
3335 eval "$as_ac_Header=$ac_header_preproc"
3336 fi
3337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3339
3340 fi
3341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3342 cat >>confdefs.h <<_ACEOF
3343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3344 _ACEOF
3345
3346 fi
3347
3348 done
3349
3350
3351 ac_ext=c
3352 ac_cpp='$CPP $CPPFLAGS'
3353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3356 if test -n "$ac_tool_prefix"; then
3357 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3358 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3359 echo "$as_me:$LINENO: checking for $ac_word" >&5
3360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3361 if test "${ac_cv_prog_CC+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 else
3364 if test -n "$CC"; then
3365 ac_cv_prog_CC="$CC" # Let the user override the test.
3366 else
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 for as_dir in $PATH
3369 do
3370 IFS=$as_save_IFS
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 break 2
3377 fi
3378 done
3379 done
3380
3381 fi
3382 fi
3383 CC=$ac_cv_prog_CC
3384 if test -n "$CC"; then
3385 echo "$as_me:$LINENO: result: $CC" >&5
3386 echo "${ECHO_T}$CC" >&6
3387 else
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3390 fi
3391
3392 fi
3393 if test -z "$ac_cv_prog_CC"; then
3394 ac_ct_CC=$CC
3395 # Extract the first word of "gcc", so it can be a program name with args.
3396 set dummy gcc; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402 if test -n "$ac_ct_CC"; then
3403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3407 do
3408 IFS=$as_save_IFS
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412 ac_cv_prog_ac_ct_CC="gcc"
3413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 break 2
3415 fi
3416 done
3417 done
3418
3419 fi
3420 fi
3421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3422 if test -n "$ac_ct_CC"; then
3423 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3424 echo "${ECHO_T}$ac_ct_CC" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430 CC=$ac_ct_CC
3431 else
3432 CC="$ac_cv_prog_CC"
3433 fi
3434
3435 if test -z "$CC"; then
3436 if test -n "$ac_tool_prefix"; then
3437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3438 set dummy ${ac_tool_prefix}cc; ac_word=$2
3439 echo "$as_me:$LINENO: checking for $ac_word" >&5
3440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3441 if test "${ac_cv_prog_CC+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 else
3444 if test -n "$CC"; then
3445 ac_cv_prog_CC="$CC" # Let the user override the test.
3446 else
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 for as_dir in $PATH
3449 do
3450 IFS=$as_save_IFS
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_prog_CC="${ac_tool_prefix}cc"
3455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3456 break 2
3457 fi
3458 done
3459 done
3460
3461 fi
3462 fi
3463 CC=$ac_cv_prog_CC
3464 if test -n "$CC"; then
3465 echo "$as_me:$LINENO: result: $CC" >&5
3466 echo "${ECHO_T}$CC" >&6
3467 else
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3470 fi
3471
3472 fi
3473 if test -z "$ac_cv_prog_CC"; then
3474 ac_ct_CC=$CC
3475 # Extract the first word of "cc", so it can be a program name with args.
3476 set dummy cc; ac_word=$2
3477 echo "$as_me:$LINENO: checking for $ac_word" >&5
3478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 else
3482 if test -n "$ac_ct_CC"; then
3483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3484 else
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 for as_dir in $PATH
3487 do
3488 IFS=$as_save_IFS
3489 test -z "$as_dir" && as_dir=.
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492 ac_cv_prog_ac_ct_CC="cc"
3493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 break 2
3495 fi
3496 done
3497 done
3498
3499 fi
3500 fi
3501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3502 if test -n "$ac_ct_CC"; then
3503 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3504 echo "${ECHO_T}$ac_ct_CC" >&6
3505 else
3506 echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6
3508 fi
3509
3510 CC=$ac_ct_CC
3511 else
3512 CC="$ac_cv_prog_CC"
3513 fi
3514
3515 fi
3516 if test -z "$CC"; then
3517 # Extract the first word of "cc", so it can be a program name with args.
3518 set dummy cc; ac_word=$2
3519 echo "$as_me:$LINENO: checking for $ac_word" >&5
3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3521 if test "${ac_cv_prog_CC+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 else
3524 if test -n "$CC"; then
3525 ac_cv_prog_CC="$CC" # Let the user override the test.
3526 else
3527 ac_prog_rejected=no
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 for as_dir in $PATH
3530 do
3531 IFS=$as_save_IFS
3532 test -z "$as_dir" && as_dir=.
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3536 ac_prog_rejected=yes
3537 continue
3538 fi
3539 ac_cv_prog_CC="cc"
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 break 2
3542 fi
3543 done
3544 done
3545
3546 if test $ac_prog_rejected = yes; then
3547 # We found a bogon in the path, so make sure we never use it.
3548 set dummy $ac_cv_prog_CC
3549 shift
3550 if test $# != 0; then
3551 # We chose a different compiler from the bogus one.
3552 # However, it has the same basename, so the bogon will be chosen
3553 # first if we set CC to just the basename; use the full file name.
3554 shift
3555 set dummy "$as_dir/$ac_word" ${1+"$@"}
3556 shift
3557 ac_cv_prog_CC="$@"
3558 fi
3559 fi
3560 fi
3561 fi
3562 CC=$ac_cv_prog_CC
3563 if test -n "$CC"; then
3564 echo "$as_me:$LINENO: result: $CC" >&5
3565 echo "${ECHO_T}$CC" >&6
3566 else
3567 echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6
3569 fi
3570
3571 fi
3572 if test -z "$CC"; then
3573 if test -n "$ac_tool_prefix"; then
3574 for ac_prog in cl
3575 do
3576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3578 echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3580 if test "${ac_cv_prog_CC+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 else
3583 if test -n "$CC"; then
3584 ac_cv_prog_CC="$CC" # Let the user override the test.
3585 else
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 for as_dir in $PATH
3588 do
3589 IFS=$as_save_IFS
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3593 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 break 2
3596 fi
3597 done
3598 done
3599
3600 fi
3601 fi
3602 CC=$ac_cv_prog_CC
3603 if test -n "$CC"; then
3604 echo "$as_me:$LINENO: result: $CC" >&5
3605 echo "${ECHO_T}$CC" >&6
3606 else
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3609 fi
3610
3611 test -n "$CC" && break
3612 done
3613 fi
3614 if test -z "$CC"; then
3615 ac_ct_CC=$CC
3616 for ac_prog in cl
3617 do
3618 # Extract the first word of "$ac_prog", so it can be a program name with args.
3619 set dummy $ac_prog; ac_word=$2
3620 echo "$as_me:$LINENO: checking for $ac_word" >&5
3621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3622 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 else
3625 if test -n "$ac_ct_CC"; then
3626 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3627 else
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 for as_dir in $PATH
3630 do
3631 IFS=$as_save_IFS
3632 test -z "$as_dir" && as_dir=.
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3635 ac_cv_prog_ac_ct_CC="$ac_prog"
3636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 break 2
3638 fi
3639 done
3640 done
3641
3642 fi
3643 fi
3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3647 echo "${ECHO_T}$ac_ct_CC" >&6
3648 else
3649 echo "$as_me:$LINENO: result: no" >&5
3650 echo "${ECHO_T}no" >&6
3651 fi
3652
3653 test -n "$ac_ct_CC" && break
3654 done
3655
3656 CC=$ac_ct_CC
3657 fi
3658
3659 fi
3660
3661
3662 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
3663 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
3664 { (exit 1); exit 1; }; }
3665
3666 # Provide some information about the compiler.
3667 echo "$as_me:$LINENO:" \
3668 "checking for C compiler version" >&5
3669 ac_compiler=`set X $ac_compile; echo $2`
3670 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3671 (eval $ac_compiler --version </dev/null >&5) 2>&5
3672 ac_status=$?
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }
3675 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3676 (eval $ac_compiler -v </dev/null >&5) 2>&5
3677 ac_status=$?
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }
3680 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3681 (eval $ac_compiler -V </dev/null >&5) 2>&5
3682 ac_status=$?
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }
3685
3686 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3687 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3688 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 else
3691 cat >conftest.$ac_ext <<_ACEOF
3692 #line $LINENO "configure"
3693 #include "confdefs.h"
3694
3695 #ifdef F77_DUMMY_MAIN
3696 # ifdef __cplusplus
3697 extern "C"
3698 # endif
3699 int F77_DUMMY_MAIN() { return 1; }
3700 #endif
3701 int
3702 main ()
3703 {
3704 #ifndef __GNUC__
3705 choke me
3706 #endif
3707
3708 ;
3709 return 0;
3710 }
3711 _ACEOF
3712 rm -f conftest.$ac_objext
3713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3714 (eval $ac_compile) 2>&5
3715 ac_status=$?
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } &&
3718 { ac_try='test -s conftest.$ac_objext'
3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3720 (eval $ac_try) 2>&5
3721 ac_status=$?
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }; }; then
3724 ac_compiler_gnu=yes
3725 else
3726 echo "$as_me: failed program was:" >&5
3727 cat conftest.$ac_ext >&5
3728 ac_compiler_gnu=no
3729 fi
3730 rm -f conftest.$ac_objext conftest.$ac_ext
3731 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3732
3733 fi
3734 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3735 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3736 GCC=`test $ac_compiler_gnu = yes && echo yes`
3737 ac_test_CFLAGS=${CFLAGS+set}
3738 ac_save_CFLAGS=$CFLAGS
3739 CFLAGS="-g"
3740 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3741 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3742 if test "${ac_cv_prog_cc_g+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 else
3745 cat >conftest.$ac_ext <<_ACEOF
3746 #line $LINENO "configure"
3747 #include "confdefs.h"
3748
3749 #ifdef F77_DUMMY_MAIN
3750 # ifdef __cplusplus
3751 extern "C"
3752 # endif
3753 int F77_DUMMY_MAIN() { return 1; }
3754 #endif
3755 int
3756 main ()
3757 {
3758
3759 ;
3760 return 0;
3761 }
3762 _ACEOF
3763 rm -f conftest.$ac_objext
3764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3765 (eval $ac_compile) 2>&5
3766 ac_status=$?
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try='test -s conftest.$ac_objext'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3771 (eval $ac_try) 2>&5
3772 ac_status=$?
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; }; then
3775 ac_cv_prog_cc_g=yes
3776 else
3777 echo "$as_me: failed program was:" >&5
3778 cat conftest.$ac_ext >&5
3779 ac_cv_prog_cc_g=no
3780 fi
3781 rm -f conftest.$ac_objext conftest.$ac_ext
3782 fi
3783 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3784 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3785 if test "$ac_test_CFLAGS" = set; then
3786 CFLAGS=$ac_save_CFLAGS
3787 elif test $ac_cv_prog_cc_g = yes; then
3788 if test "$GCC" = yes; then
3789 CFLAGS="-g -O2"
3790 else
3791 CFLAGS="-g"
3792 fi
3793 else
3794 if test "$GCC" = yes; then
3795 CFLAGS="-O2"
3796 else
3797 CFLAGS=
3798 fi
3799 fi
3800 # Some people use a C++ compiler to compile C. Since we use `exit',
3801 # in C++ we need to declare it. In case someone uses the same compiler
3802 # for both compiling C and C++ we need to have the C++ compiler decide
3803 # the declaration of exit, since it's the most demanding environment.
3804 cat >conftest.$ac_ext <<_ACEOF
3805 #ifndef __cplusplus
3806 choke me
3807 #endif
3808 _ACEOF
3809 rm -f conftest.$ac_objext
3810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3811 (eval $ac_compile) 2>&5
3812 ac_status=$?
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } &&
3815 { ac_try='test -s conftest.$ac_objext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 (eval $ac_try) 2>&5
3818 ac_status=$?
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3821 for ac_declaration in \
3822 ''\
3823 '#include <stdlib.h>' \
3824 'extern "C" void std::exit (int) throw (); using std::exit;' \
3825 'extern "C" void std::exit (int); using std::exit;' \
3826 'extern "C" void exit (int) throw ();' \
3827 'extern "C" void exit (int);' \
3828 'void exit (int);'
3829 do
3830 cat >conftest.$ac_ext <<_ACEOF
3831 #line $LINENO "configure"
3832 #include "confdefs.h"
3833 #include <stdlib.h>
3834 $ac_declaration
3835 #ifdef F77_DUMMY_MAIN
3836 # ifdef __cplusplus
3837 extern "C"
3838 # endif
3839 int F77_DUMMY_MAIN() { return 1; }
3840 #endif
3841 int
3842 main ()
3843 {
3844 exit (42);
3845 ;
3846 return 0;
3847 }
3848 _ACEOF
3849 rm -f conftest.$ac_objext
3850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3851 (eval $ac_compile) 2>&5
3852 ac_status=$?
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try='test -s conftest.$ac_objext'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 (eval $ac_try) 2>&5
3858 ac_status=$?
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; }; then
3861 :
3862 else
3863 echo "$as_me: failed program was:" >&5
3864 cat conftest.$ac_ext >&5
3865 continue
3866 fi
3867 rm -f conftest.$ac_objext conftest.$ac_ext
3868 cat >conftest.$ac_ext <<_ACEOF
3869 #line $LINENO "configure"
3870 #include "confdefs.h"
3871 $ac_declaration
3872 #ifdef F77_DUMMY_MAIN
3873 # ifdef __cplusplus
3874 extern "C"
3875 # endif
3876 int F77_DUMMY_MAIN() { return 1; }
3877 #endif
3878 int
3879 main ()
3880 {
3881 exit (42);
3882 ;
3883 return 0;
3884 }
3885 _ACEOF
3886 rm -f conftest.$ac_objext
3887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3888 (eval $ac_compile) 2>&5
3889 ac_status=$?
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } &&
3892 { ac_try='test -s conftest.$ac_objext'
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 (eval $ac_try) 2>&5
3895 ac_status=$?
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; }; then
3898 break
3899 else
3900 echo "$as_me: failed program was:" >&5
3901 cat conftest.$ac_ext >&5
3902 fi
3903 rm -f conftest.$ac_objext conftest.$ac_ext
3904 done
3905 rm -f conftest*
3906 if test -n "$ac_declaration"; then
3907 echo '#ifdef __cplusplus' >>confdefs.h
3908 echo $ac_declaration >>confdefs.h
3909 echo '#endif' >>confdefs.h
3910 fi
3911
3912 else
3913 echo "$as_me: failed program was:" >&5
3914 cat conftest.$ac_ext >&5
3915 fi
3916 rm -f conftest.$ac_objext conftest.$ac_ext
3917 ac_ext=cc
3918 ac_cpp='$CXXCPP $CPPFLAGS'
3919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3922
3923 depcc="$CC" am_compiler_list=
3924
3925 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3926 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3927 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3928 echo $ECHO_N "(cached) $ECHO_C" >&6
3929 else
3930 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3931 # We make a subdir and do the tests there. Otherwise we can end up
3932 # making bogus files that we don't know about and never remove. For
3933 # instance it was reported that on HP-UX the gcc test will end up
3934 # making a dummy file named `D' -- because `-MD' means `put the output
3935 # in D'.
3936 mkdir conftest.dir
3937 # Copy depcomp to subdir because otherwise we won't find it if we're
3938 # using a relative directory.
3939 cp "$am_depcomp" conftest.dir
3940 cd conftest.dir
3941
3942 am_cv_CC_dependencies_compiler_type=none
3943 if test "$am_compiler_list" = ""; then
3944 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3945 fi
3946 for depmode in $am_compiler_list; do
3947 # We need to recreate these files for each test, as the compiler may
3948 # overwrite some of them when testing with obscure command lines.
3949 # This happens at least with the AIX C compiler.
3950 echo '#include "conftest.h"' > conftest.c
3951 echo 'int i;' > conftest.h
3952 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3953
3954 case $depmode in
3955 nosideeffect)
3956 # after this tag, mechanisms are not by side-effect, so they'll
3957 # only be used when explicitly requested
3958 if test "x$enable_dependency_tracking" = xyes; then
3959 continue
3960 else
3961 break
3962 fi
3963 ;;
3964 none) break ;;
3965 esac
3966 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3967 # mode. It turns out that the SunPro C++ compiler does not properly
3968 # handle `-M -o', and we need to detect this.
3969 if depmode=$depmode \
3970 source=conftest.c object=conftest.o \
3971 depfile=conftest.Po tmpdepfile=conftest.TPo \
3972 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3973 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3974 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3975 am_cv_CC_dependencies_compiler_type=$depmode
3976 break
3977 fi
3978 done
3979
3980 cd ..
3981 rm -rf conftest.dir
3982 else
3983 am_cv_CC_dependencies_compiler_type=none
3984 fi
3985
3986 fi
3987 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3988 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3989 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
3990
3991
3992 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3993 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3994 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 else
3997 ac_cv_prog_cc_stdc=no
3998 ac_save_CC=$CC
3999 cat >conftest.$ac_ext <<_ACEOF
4000 #line $LINENO "configure"
4001 #include "confdefs.h"
4002 #include <stdarg.h>
4003 #include <stdio.h>
4004 #include <sys/types.h>
4005 #include <sys/stat.h>
4006 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4007 struct buf { int x; };
4008 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4009 static char *e (p, i)
4010 char **p;
4011 int i;
4012 {
4013 return p[i];
4014 }
4015 static char *f (char * (*g) (char **, int), char **p, ...)
4016 {
4017 char *s;
4018 va_list v;
4019 va_start (v,p);
4020 s = g (p, va_arg (v,int));
4021 va_end (v);
4022 return s;
4023 }
4024 int test (int i, double x);
4025 struct s1 {int (*f) (int a);};
4026 struct s2 {int (*f) (double a);};
4027 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4028 int argc;
4029 char **argv;
4030 #ifdef F77_DUMMY_MAIN
4031 # ifdef __cplusplus
4032 extern "C"
4033 # endif
4034 int F77_DUMMY_MAIN() { return 1; }
4035 #endif
4036 int
4037 main ()
4038 {
4039 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4040 ;
4041 return 0;
4042 }
4043 _ACEOF
4044 # Don't try gcc -ansi; that turns off useful extensions and
4045 # breaks some systems' header files.
4046 # AIX -qlanglvl=ansi
4047 # Ultrix and OSF/1 -std1
4048 # HP-UX 10.20 and later -Ae
4049 # HP-UX older versions -Aa -D_HPUX_SOURCE
4050 # SVR4 -Xc -D__EXTENSIONS__
4051 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4052 do
4053 CC="$ac_save_CC $ac_arg"
4054 rm -f conftest.$ac_objext
4055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4056 (eval $ac_compile) 2>&5
4057 ac_status=$?
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); } &&
4060 { ac_try='test -s conftest.$ac_objext'
4061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 (eval $ac_try) 2>&5
4063 ac_status=$?
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); }; }; then
4066 ac_cv_prog_cc_stdc=$ac_arg
4067 break
4068 else
4069 echo "$as_me: failed program was:" >&5
4070 cat conftest.$ac_ext >&5
4071 fi
4072 rm -f conftest.$ac_objext
4073 done
4074 rm -f conftest.$ac_ext conftest.$ac_objext
4075 CC=$ac_save_CC
4076
4077 fi
4078
4079 case "x$ac_cv_prog_cc_stdc" in
4080 x|xno)
4081 echo "$as_me:$LINENO: result: none needed" >&5
4082 echo "${ECHO_T}none needed" >&6 ;;
4083 *)
4084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4085 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4086 CC="$CC $ac_cv_prog_cc_stdc" ;;
4087 esac
4088
4089 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4090 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4091 if test "${ac_cv_c_const+set}" = set; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 else
4094 cat >conftest.$ac_ext <<_ACEOF
4095 #line $LINENO "configure"
4096 #include "confdefs.h"
4097
4098 #ifdef F77_DUMMY_MAIN
4099 # ifdef __cplusplus
4100 extern "C"
4101 # endif
4102 int F77_DUMMY_MAIN() { return 1; }
4103 #endif
4104 int
4105 main ()
4106 {
4107 /* FIXME: Include the comments suggested by Paul. */
4108 #ifndef __cplusplus
4109 /* Ultrix mips cc rejects this. */
4110 typedef int charset[2];
4111 const charset x;
4112 /* SunOS 4.1.1 cc rejects this. */
4113 char const *const *ccp;
4114 char **p;
4115 /* NEC SVR4.0.2 mips cc rejects this. */
4116 struct point {int x, y;};
4117 static struct point const zero = {0,0};
4118 /* AIX XL C 1.02.0.0 rejects this.
4119 It does not let you subtract one const X* pointer from another in
4120 an arm of an if-expression whose if-part is not a constant
4121 expression */
4122 const char *g = "string";
4123 ccp = &g + (g ? g-g : 0);
4124 /* HPUX 7.0 cc rejects these. */
4125 ++ccp;
4126 p = (char**) ccp;
4127 ccp = (char const *const *) p;
4128 { /* SCO 3.2v4 cc rejects this. */
4129 char *t;
4130 char const *s = 0 ? (char *) 0 : (char const *) 0;
4131
4132 *t++ = 0;
4133 }
4134 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4135 int x[] = {25, 17};
4136 const int *foo = &x[0];
4137 ++foo;
4138 }
4139 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4140 typedef const int *iptr;
4141 iptr p = 0;
4142 ++p;
4143 }
4144 { /* AIX XL C 1.02.0.0 rejects this saying
4145 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4146 struct s { int j; const int *ap[3]; };
4147 struct s *b; b->j = 5;
4148 }
4149 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4150 const int foo = 10;
4151 }
4152 #endif
4153
4154 ;
4155 return 0;
4156 }
4157 _ACEOF
4158 rm -f conftest.$ac_objext
4159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4160 (eval $ac_compile) 2>&5
4161 ac_status=$?
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } &&
4164 { ac_try='test -s conftest.$ac_objext'
4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4166 (eval $ac_try) 2>&5
4167 ac_status=$?
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; }; then
4170 ac_cv_c_const=yes
4171 else
4172 echo "$as_me: failed program was:" >&5
4173 cat conftest.$ac_ext >&5
4174 ac_cv_c_const=no
4175 fi
4176 rm -f conftest.$ac_objext conftest.$ac_ext
4177 fi
4178 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4179 echo "${ECHO_T}$ac_cv_c_const" >&6
4180 if test $ac_cv_c_const = no; then
4181
4182 cat >>confdefs.h <<\_ACEOF
4183 #define const
4184 _ACEOF
4185
4186 fi
4187
4188 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4189 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4190 if test "${ac_cv_header_time+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 else
4193 cat >conftest.$ac_ext <<_ACEOF
4194 #line $LINENO "configure"
4195 #include "confdefs.h"
4196 #include <sys/types.h>
4197 #include <sys/time.h>
4198 #include <time.h>
4199
4200 #ifdef F77_DUMMY_MAIN
4201 # ifdef __cplusplus
4202 extern "C"
4203 # endif
4204 int F77_DUMMY_MAIN() { return 1; }
4205 #endif
4206 int
4207 main ()
4208 {
4209 if ((struct tm *) 0)
4210 return 0;
4211 ;
4212 return 0;
4213 }
4214 _ACEOF
4215 rm -f conftest.$ac_objext
4216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4217 (eval $ac_compile) 2>&5
4218 ac_status=$?
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } &&
4221 { ac_try='test -s conftest.$ac_objext'
4222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223 (eval $ac_try) 2>&5
4224 ac_status=$?
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }; }; then
4227 ac_cv_header_time=yes
4228 else
4229 echo "$as_me: failed program was:" >&5
4230 cat conftest.$ac_ext >&5
4231 ac_cv_header_time=no
4232 fi
4233 rm -f conftest.$ac_objext conftest.$ac_ext
4234 fi
4235 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4236 echo "${ECHO_T}$ac_cv_header_time" >&6
4237 if test $ac_cv_header_time = yes; then
4238
4239 cat >>confdefs.h <<\_ACEOF
4240 #define TIME_WITH_SYS_TIME 1
4241 _ACEOF
4242
4243 fi
4244
4245 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4246 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4247 if test "${ac_cv_struct_tm+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 else
4250 cat >conftest.$ac_ext <<_ACEOF
4251 #line $LINENO "configure"
4252 #include "confdefs.h"
4253 #include <sys/types.h>
4254 #include <time.h>
4255
4256 #ifdef F77_DUMMY_MAIN
4257 # ifdef __cplusplus
4258 extern "C"
4259 # endif
4260 int F77_DUMMY_MAIN() { return 1; }
4261 #endif
4262 int
4263 main ()
4264 {
4265 struct tm *tp; tp->tm_sec;
4266 ;
4267 return 0;
4268 }
4269 _ACEOF
4270 rm -f conftest.$ac_objext
4271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4272 (eval $ac_compile) 2>&5
4273 ac_status=$?
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); } &&
4276 { ac_try='test -s conftest.$ac_objext'
4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278 (eval $ac_try) 2>&5
4279 ac_status=$?
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); }; }; then
4282 ac_cv_struct_tm=time.h
4283 else
4284 echo "$as_me: failed program was:" >&5
4285 cat conftest.$ac_ext >&5
4286 ac_cv_struct_tm=sys/time.h
4287 fi
4288 rm -f conftest.$ac_objext conftest.$ac_ext
4289 fi
4290 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4291 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4292 if test $ac_cv_struct_tm = sys/time.h; then
4293
4294 cat >>confdefs.h <<\_ACEOF
4295 #define TM_IN_SYS_TIME 1
4296 _ACEOF
4297
4298 fi
4299
4300
4301 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4302 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4303 if test "${ac_cv_type_signal+set}" = set; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 else
4306 cat >conftest.$ac_ext <<_ACEOF
4307 #line $LINENO "configure"
4308 #include "confdefs.h"
4309 #include <sys/types.h>
4310 #include <signal.h>
4311 #ifdef signal
4312 # undef signal
4313 #endif
4314 #ifdef __cplusplus
4315 extern "C" void (*signal (int, void (*)(int)))(int);
4316 #else
4317 void (*signal ()) ();
4318 #endif
4319
4320 #ifdef F77_DUMMY_MAIN
4321 # ifdef __cplusplus
4322 extern "C"
4323 # endif
4324 int F77_DUMMY_MAIN() { return 1; }
4325 #endif
4326 int
4327 main ()
4328 {
4329 int i;
4330 ;
4331 return 0;
4332 }
4333 _ACEOF
4334 rm -f conftest.$ac_objext
4335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4336 (eval $ac_compile) 2>&5
4337 ac_status=$?
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } &&
4340 { ac_try='test -s conftest.$ac_objext'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 (eval $ac_try) 2>&5
4343 ac_status=$?
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; }; then
4346 ac_cv_type_signal=void
4347 else
4348 echo "$as_me: failed program was:" >&5
4349 cat conftest.$ac_ext >&5
4350 ac_cv_type_signal=int
4351 fi
4352 rm -f conftest.$ac_objext conftest.$ac_ext
4353 fi
4354 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4355 echo "${ECHO_T}$ac_cv_type_signal" >&6
4356
4357 cat >>confdefs.h <<_ACEOF
4358 #define RETSIGTYPE $ac_cv_type_signal
4359 _ACEOF
4360
4361
4362
4363
4364
4365 for ac_func in select socket strtoul
4366 do
4367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4368 echo "$as_me:$LINENO: checking for $ac_func" >&5
4369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4370 if eval "test \"\${$as_ac_var+set}\" = set"; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 else
4373 cat >conftest.$ac_ext <<_ACEOF
4374 #line $LINENO "configure"
4375 #include "confdefs.h"
4376 /* System header to define __stub macros and hopefully few prototypes,
4377 which can conflict with char $ac_func (); below. */
4378 #include <assert.h>
4379 /* Override any gcc2 internal prototype to avoid an error. */
4380 #ifdef __cplusplus
4381 extern "C"
4382 #endif
4383 /* We use char because int might match the return type of a gcc2
4384 builtin and then its argument prototype would still apply. */
4385 char $ac_func ();
4386 char (*f) ();
4387
4388 #ifdef F77_DUMMY_MAIN
4389 # ifdef __cplusplus
4390 extern "C"
4391 # endif
4392 int F77_DUMMY_MAIN() { return 1; }
4393 #endif
4394 int
4395 main ()
4396 {
4397 /* The GNU C library defines this for functions which it implements
4398 to always fail with ENOSYS. Some functions are actually named
4399 something starting with __ and the normal name is an alias. */
4400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4401 choke me
4402 #else
4403 f = $ac_func;
4404 #endif
4405
4406 ;
4407 return 0;
4408 }
4409 _ACEOF
4410 rm -f conftest.$ac_objext conftest$ac_exeext
4411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4412 (eval $ac_link) 2>&5
4413 ac_status=$?
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } &&
4416 { ac_try='test -s conftest$ac_exeext'
4417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 (eval $ac_try) 2>&5
4419 ac_status=$?
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); }; }; then
4422 eval "$as_ac_var=yes"
4423 else
4424 echo "$as_me: failed program was:" >&5
4425 cat conftest.$ac_ext >&5
4426 eval "$as_ac_var=no"
4427 fi
4428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4429 fi
4430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4432 if test `eval echo '${'$as_ac_var'}'` = yes; then
4433 cat >>confdefs.h <<_ACEOF
4434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4435 _ACEOF
4436
4437 fi
4438 done
4439
4440
4441
4442 if test "x$prefix" == "xNONE"
4443 then
4444 cat >>confdefs.h <<_ACEOF
4445 #define PREFIX "$ac_default_prefix"
4446 _ACEOF
4447
4448 else
4449 cat >>confdefs.h <<_ACEOF
4450 #define PREFIX "$prefix"
4451 _ACEOF
4452
4453 fi
4454
4455 ac_config_files="$ac_config_files source/Makefile"
4456 cat >confcache <<\_ACEOF
4457 # This file is a shell script that caches the results of configure
4458 # tests run on this system so they can be shared between configure
4459 # scripts and configure runs, see configure's option --config-cache.
4460 # It is not useful on other systems. If it contains results you don't
4461 # want to keep, you may remove or edit it.
4462 #
4463 # config.status only pays attention to the cache file if you give it
4464 # the --recheck option to rerun configure.
4465 #
4466 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4468 # following values.
4469
4470 _ACEOF
4471
4472 # The following way of writing the cache mishandles newlines in values,
4473 # but we know of no workaround that is simple, portable, and efficient.
4474 # So, don't put newlines in cache variables' values.
4475 # Ultrix sh set writes to stderr and can't be redirected directly,
4476 # and sets the high bit in the cache file unless we assign to the vars.
4477 {
4478 (set) 2>&1 |
4479 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4480 *ac_space=\ *)
4481 # `set' does not quote correctly, so add quotes (double-quote
4482 # substitution turns \\\\ into \\, and sed turns \\ into \).
4483 sed -n \
4484 "s/'/'\\\\''/g;
4485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4486 ;;
4487 *)
4488 # `set' quotes correctly as required by POSIX, so do not add quotes.
4489 sed -n \
4490 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4491 ;;
4492 esac;
4493 } |
4494 sed '
4495 t clear
4496 : clear
4497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4498 t end
4499 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4500 : end' >>confcache
4501 if cmp -s $cache_file confcache; then :; else
4502 if test -w $cache_file; then
4503 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4504 cat confcache >$cache_file
4505 else
4506 echo "not updating unwritable cache $cache_file"
4507 fi
4508 fi
4509 rm -f confcache
4510
4511 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4512 # Let make expand exec_prefix.
4513 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4514
4515 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4516 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4517 # trailing colons and then remove the whole line if VPATH becomes empty
4518 # (actually we leave an empty line to preserve line numbers).
4519 if test "x$srcdir" = x.; then
4520 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4521 s/:*\$(srcdir):*/:/;
4522 s/:*\${srcdir}:*/:/;
4523 s/:*@srcdir@:*/:/;
4524 s/^\([^=]*=[ ]*\):*/\1/;
4525 s/:*$//;
4526 s/^[^=]*=[ ]*$//;
4527 }'
4528 fi
4529
4530 DEFS=-DHAVE_CONFIG_H
4531
4532
4533 : ${CONFIG_STATUS=./config.status}
4534 ac_clean_files_save=$ac_clean_files
4535 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4536 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4537 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4538 cat >$CONFIG_STATUS <<_ACEOF
4539 #! $SHELL
4540 # Generated by $as_me.
4541 # Run this file to recreate the current configuration.
4542 # Compiler output produced by configure, useful for debugging
4543 # configure, is in config.log if it exists.
4544
4545 debug=false
4546 SHELL=\${CONFIG_SHELL-$SHELL}
4547 _ACEOF
4548
4549 cat >>$CONFIG_STATUS <<\_ACEOF
4550
4551 ## --------------------- ##
4552 ## M4sh Initialization. ##
4553 ## --------------------- ##
4554
4555 # Be Bourne compatible
4556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4557 emulate sh
4558 NULLCMD=:
4559 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4560 set -o posix
4561 fi
4562
4563 # NLS nuisances.
4564 # Support unset when possible.
4565 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4566 as_unset=unset
4567 else
4568 as_unset=false
4569 fi
4570
4571 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4572 { $as_unset LANG || test "${LANG+set}" != set; } ||
4573 { LANG=C; export LANG; }
4574 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4575 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4576 { LC_ALL=C; export LC_ALL; }
4577 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4578 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4579 { LC_TIME=C; export LC_TIME; }
4580 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4581 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4582 { LC_CTYPE=C; export LC_CTYPE; }
4583 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4584 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4585 { LANGUAGE=C; export LANGUAGE; }
4586 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4587 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4588 { LC_COLLATE=C; export LC_COLLATE; }
4589 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4590 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4591 { LC_NUMERIC=C; export LC_NUMERIC; }
4592 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4593 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4594 { LC_MESSAGES=C; export LC_MESSAGES; }
4595
4596
4597 # Name of the executable.
4598 as_me=`(basename "$0") 2>/dev/null ||
4599 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4600 X"$0" : 'X\(//\)$' \| \
4601 X"$0" : 'X\(/\)$' \| \
4602 . : '\(.\)' 2>/dev/null ||
4603 echo X/"$0" |
4604 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4605 /^X\/\(\/\/\)$/{ s//\1/; q; }
4606 /^X\/\(\/\).*/{ s//\1/; q; }
4607 s/.*/./; q'`
4608
4609 # PATH needs CR, and LINENO needs CR and PATH.
4610 # Avoid depending upon Character Ranges.
4611 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4612 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4613 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4614 as_cr_digits='0123456789'
4615 as_cr_alnum=$as_cr_Letters$as_cr_digits
4616
4617 # The user is always right.
4618 if test "${PATH_SEPARATOR+set}" != set; then
4619 echo "#! /bin/sh" >conftest.sh
4620 echo "exit 0" >>conftest.sh
4621 chmod +x conftest.sh
4622 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4623 PATH_SEPARATOR=';'
4624 else
4625 PATH_SEPARATOR=:
4626 fi
4627 rm -f conftest.sh
4628 fi
4629
4630
4631 as_lineno_1=$LINENO
4632 as_lineno_2=$LINENO
4633 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4634 test "x$as_lineno_1" != "x$as_lineno_2" &&
4635 test "x$as_lineno_3" = "x$as_lineno_2" || {
4636 # Find who we are. Look in the path if we contain no path at all
4637 # relative or not.
4638 case $0 in
4639 *[\\/]* ) as_myself=$0 ;;
4640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4642 do
4643 IFS=$as_save_IFS
4644 test -z "$as_dir" && as_dir=.
4645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4646 done
4647
4648 ;;
4649 esac
4650 # We did not find ourselves, most probably we were run as `sh COMMAND'
4651 # in which case we are not to be found in the path.
4652 if test "x$as_myself" = x; then
4653 as_myself=$0
4654 fi
4655 if test ! -f "$as_myself"; then
4656 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4657 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4658 { (exit 1); exit 1; }; }
4659 fi
4660 case $CONFIG_SHELL in
4661 '')
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4664 do
4665 IFS=$as_save_IFS
4666 test -z "$as_dir" && as_dir=.
4667 for as_base in sh bash ksh sh5; do
4668 case $as_dir in
4669 /*)
4670 if ("$as_dir/$as_base" -c '
4671 as_lineno_1=$LINENO
4672 as_lineno_2=$LINENO
4673 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4674 test "x$as_lineno_1" != "x$as_lineno_2" &&
4675 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4676 CONFIG_SHELL=$as_dir/$as_base
4677 export CONFIG_SHELL
4678 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4679 fi;;
4680 esac
4681 done
4682 done
4683 ;;
4684 esac
4685
4686 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4687 # uniformly replaced by the line number. The first 'sed' inserts a
4688 # line-number line before each line; the second 'sed' does the real
4689 # work. The second script uses 'N' to pair each line-number line
4690 # with the numbered line, and appends trailing '-' during
4691 # substitution so that $LINENO is not a special case at line end.
4692 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4693 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4694 sed '=' <$as_myself |
4695 sed '
4696 N
4697 s,$,-,
4698 : loop
4699 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4700 t loop
4701 s,-$,,
4702 s,^['$as_cr_digits']*\n,,
4703 ' >$as_me.lineno &&
4704 chmod +x $as_me.lineno ||
4705 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4706 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4707 { (exit 1); exit 1; }; }
4708
4709 # Don't try to exec as it changes $[0], causing all sort of problems
4710 # (the dirname of $[0] is not the place where we might find the
4711 # original and so on. Autoconf is especially sensible to this).
4712 . ./$as_me.lineno
4713 # Exit status is that of the last command.
4714 exit
4715 }
4716
4717
4718 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4719 *c*,-n*) ECHO_N= ECHO_C='
4720 ' ECHO_T=' ' ;;
4721 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4722 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4723 esac
4724
4725 if expr a : '\(a\)' >/dev/null 2>&1; then
4726 as_expr=expr
4727 else
4728 as_expr=false
4729 fi
4730
4731 rm -f conf$$ conf$$.exe conf$$.file
4732 echo >conf$$.file
4733 if ln -s conf$$.file conf$$ 2>/dev/null; then
4734 # We could just check for DJGPP; but this test a) works b) is more generic
4735 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4736 if test -f conf$$.exe; then
4737 # Don't use ln at all; we don't have any links
4738 as_ln_s='cp -p'
4739 else
4740 as_ln_s='ln -s'
4741 fi
4742 elif ln conf$$.file conf$$ 2>/dev/null; then
4743 as_ln_s=ln
4744 else
4745 as_ln_s='cp -p'
4746 fi
4747 rm -f conf$$ conf$$.exe conf$$.file
4748
4749 as_executable_p="test -f"
4750
4751 # Sed expression to map a string onto a valid CPP name.
4752 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4753
4754 # Sed expression to map a string onto a valid variable name.
4755 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4756
4757
4758 # IFS
4759 # We need space, tab and new line, in precisely that order.
4760 as_nl='
4761 '
4762 IFS=" $as_nl"
4763
4764 # CDPATH.
4765 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4766
4767 exec 6>&1
4768
4769 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4770 # report actual input values of CONFIG_FILES etc. instead of their
4771 # values after options handling. Logging --version etc. is OK.
4772 exec 5>>config.log
4773 {
4774 echo
4775 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4776 ## Running $as_me. ##
4777 _ASBOX
4778 } >&5
4779 cat >&5 <<_CSEOF
4780
4781 This file was extended by Bobot++ $as_me 2.1.1CVS, which was
4782 generated by GNU Autoconf 2.53. Invocation command line was
4783
4784 CONFIG_FILES = $CONFIG_FILES
4785 CONFIG_HEADERS = $CONFIG_HEADERS
4786 CONFIG_LINKS = $CONFIG_LINKS
4787 CONFIG_COMMANDS = $CONFIG_COMMANDS
4788 $ $0 $@
4789
4790 _CSEOF
4791 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4792 echo >&5
4793 _ACEOF
4794
4795 # Files that config.status was made for.
4796 if test -n "$ac_config_files"; then
4797 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4798 fi
4799
4800 if test -n "$ac_config_headers"; then
4801 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4802 fi
4803
4804 if test -n "$ac_config_links"; then
4805 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4806 fi
4807
4808 if test -n "$ac_config_commands"; then
4809 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4810 fi
4811
4812 cat >>$CONFIG_STATUS <<\_ACEOF
4813
4814 ac_cs_usage="\
4815 \`$as_me' instantiates files from templates according to the
4816 current configuration.
4817
4818 Usage: $0 [OPTIONS] [FILE]...
4819
4820 -h, --help print this help, then exit
4821 -V, --version print version number, then exit
4822 -d, --debug don't remove temporary files
4823 --recheck update $as_me by reconfiguring in the same conditions
4824 --file=FILE[:TEMPLATE]
4825 instantiate the configuration file FILE
4826 --header=FILE[:TEMPLATE]
4827 instantiate the configuration header FILE
4828
4829 Configuration files:
4830 $config_files
4831
4832 Configuration headers:
4833 $config_headers
4834
4835 Configuration commands:
4836 $config_commands
4837
4838 Report bugs to <bug-autoconf@gnu.org>."
4839 _ACEOF
4840
4841 cat >>$CONFIG_STATUS <<_ACEOF
4842 ac_cs_version="\\
4843 Bobot++ config.status 2.1.1CVS
4844 configured by $0, generated by GNU Autoconf 2.53,
4845 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4846
4847 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4848 Free Software Foundation, Inc.
4849 This config.status script is free software; the Free Software Foundation
4850 gives unlimited permission to copy, distribute and modify it."
4851 srcdir=$srcdir
4852 INSTALL="$INSTALL"
4853 _ACEOF
4854
4855 cat >>$CONFIG_STATUS <<\_ACEOF
4856 # If no file are specified by the user, then we need to provide default
4857 # value. By we need to know if files were specified by the user.
4858 ac_need_defaults=:
4859 while test $# != 0
4860 do
4861 case $1 in
4862 --*=*)
4863 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4864 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4865 shift
4866 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4867 shift
4868 ;;
4869 -*);;
4870 *) # This is not an option, so the user has probably given explicit
4871 # arguments.
4872 ac_need_defaults=false;;
4873 esac
4874
4875 case $1 in
4876 # Handling of the options.
4877 _ACEOF
4878 cat >>$CONFIG_STATUS <<_ACEOF
4879 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4880 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4881 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4882 _ACEOF
4883 cat >>$CONFIG_STATUS <<\_ACEOF
4884 --version | --vers* | -V )
4885 echo "$ac_cs_version"; exit 0 ;;
4886 --he | --h)
4887 # Conflict between --help and --header
4888 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4889 Try \`$0 --help' for more information." >&5
4890 echo "$as_me: error: ambiguous option: $1
4891 Try \`$0 --help' for more information." >&2;}
4892 { (exit 1); exit 1; }; };;
4893 --help | --hel | -h )
4894 echo "$ac_cs_usage"; exit 0 ;;
4895 --debug | --d* | -d )
4896 debug=: ;;
4897 --file | --fil | --fi | --f )
4898 shift
4899 CONFIG_FILES="$CONFIG_FILES $1"
4900 ac_need_defaults=false;;
4901 --header | --heade | --head | --hea )
4902 shift
4903 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4904 ac_need_defaults=false;;
4905
4906 # This is an error.
4907 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4908 Try \`$0 --help' for more information." >&5
4909 echo "$as_me: error: unrecognized option: $1
4910 Try \`$0 --help' for more information." >&2;}
4911 { (exit 1); exit 1; }; } ;;
4912
4913 *) ac_config_targets="$ac_config_targets $1" ;;
4914
4915 esac
4916 shift
4917 done
4918
4919 _ACEOF
4920
4921 cat >>$CONFIG_STATUS <<_ACEOF
4922 #
4923 # INIT-COMMANDS section.
4924 #
4925
4926 AMDEP_TRUE="$AMDEP_TRUE"
4927 ac_aux_dir="$ac_aux_dir"
4928
4929 _ACEOF
4930
4931
4932
4933 cat >>$CONFIG_STATUS <<\_ACEOF
4934 for ac_config_target in $ac_config_targets
4935 do
4936 case "$ac_config_target" in
4937 # Handling of arguments.
4938 "source/Makefile" ) CONFIG_FILES="$CONFIG_FILES source/Makefile" ;;
4939 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4940 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4941 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4942 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4943 { (exit 1); exit 1; }; };;
4944 esac
4945 done
4946
4947 # If the user did not use the arguments to specify the items to instantiate,
4948 # then the envvar interface is used. Set only those that are not.
4949 # We use the long form for the default assignment because of an extremely
4950 # bizarre bug on SunOS 4.1.3.
4951 if $ac_need_defaults; then
4952 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4953 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4954 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4955 fi
4956
4957 # Create a temporary directory, and hook for its removal unless debugging.
4958 $debug ||
4959 {
4960 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4961 trap '{ (exit 1); exit 1; }' 1 2 13 15
4962 }
4963
4964 # Create a (secure) tmp directory for tmp files.
4965 : ${TMPDIR=/tmp}
4966 {
4967 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4968 test -n "$tmp" && test -d "$tmp"
4969 } ||
4970 {
4971 tmp=$TMPDIR/cs$$-$RANDOM
4972 (umask 077 && mkdir $tmp)
4973 } ||
4974 {
4975 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4976 { (exit 1); exit 1; }
4977 }
4978
4979 _ACEOF
4980
4981 cat >>$CONFIG_STATUS <<_ACEOF
4982
4983 #
4984 # CONFIG_FILES section.
4985 #
4986
4987 # No need to generate the scripts if there are no CONFIG_FILES.
4988 # This happens for instance when ./config.status config.h
4989 if test -n "\$CONFIG_FILES"; then
4990 # Protect against being on the right side of a sed subst in config.status.
4991 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4992 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4993 s,@SHELL@,$SHELL,;t t
4994 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4995 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4996 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4997 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4998 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4999 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5000 s,@exec_prefix@,$exec_prefix,;t t
5001 s,@prefix@,$prefix,;t t
5002 s,@program_transform_name@,$program_transform_name,;t t
5003 s,@bindir@,$bindir,;t t
5004 s,@sbindir@,$sbindir,;t t
5005 s,@libexecdir@,$libexecdir,;t t
5006 s,@datadir@,$datadir,;t t
5007 s,@sysconfdir@,$sysconfdir,;t t
5008 s,@sharedstatedir@,$sharedstatedir,;t t
5009 s,@localstatedir@,$localstatedir,;t t
5010 s,@libdir@,$libdir,;t t
5011 s,@includedir@,$includedir,;t t
5012 s,@oldincludedir@,$oldincludedir,;t t
5013 s,@infodir@,$infodir,;t t
5014 s,@mandir@,$mandir,;t t
5015 s,@build_alias@,$build_alias,;t t
5016 s,@host_alias@,$host_alias,;t t
5017 s,@target_alias@,$target_alias,;t t
5018 s,@DEFS@,$DEFS,;t t
5019 s,@ECHO_C@,$ECHO_C,;t t
5020 s,@ECHO_N@,$ECHO_N,;t t
5021 s,@ECHO_T@,$ECHO_T,;t t
5022 s,@LIBS@,$LIBS,;t t
5023 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5024 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5025 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5026 s,@PACKAGE@,$PACKAGE,;t t
5027 s,@VERSION@,$VERSION,;t t
5028 s,@EXEEXT@,$EXEEXT,;t t
5029 s,@OBJEXT@,$OBJEXT,;t t
5030 s,@ACLOCAL@,$ACLOCAL,;t t
5031 s,@AUTOCONF@,$AUTOCONF,;t t
5032 s,@AUTOMAKE@,$AUTOMAKE,;t t
5033 s,@AUTOHEADER@,$AUTOHEADER,;t t
5034 s,@MAKEINFO@,$MAKEINFO,;t t
5035 s,@AMTAR@,$AMTAR,;t t
5036 s,@install_sh@,$install_sh,;t t
5037 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5038 s,@AWK@,$AWK,;t t
5039 s,@SET_MAKE@,$SET_MAKE,;t t
5040 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5041 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5042 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5043 s,@DEPDIR@,$DEPDIR,;t t
5044 s,@GUILE_LDFLAGS@,$GUILE_LDFLAGS,;t t
5045 s,@GUILE@,$GUILE,;t t
5046 s,@GUILE_CONFIG@,$GUILE_CONFIG,;t t
5047 s,@GUILE_TOOLS@,$GUILE_TOOLS,;t t
5048 s,@GUILE_CFLAGS@,$GUILE_CFLAGS,;t t
5049 s,@CXX@,$CXX,;t t
5050 s,@CXXFLAGS@,$CXXFLAGS,;t t
5051 s,@LDFLAGS@,$LDFLAGS,;t t
5052 s,@CPPFLAGS@,$CPPFLAGS,;t t
5053 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5054 s,@am__include@,$am__include,;t t
5055 s,@am__quote@,$am__quote,;t t
5056 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
5057 s,@CXXCPP@,$CXXCPP,;t t
5058 s,@CC@,$CC,;t t
5059 s,@CFLAGS@,$CFLAGS,;t t
5060 s,@ac_ct_CC@,$ac_ct_CC,;t t
5061 s,@CCDEPMODE@,$CCDEPMODE,;t t
5062 CEOF
5063
5064 _ACEOF
5065
5066 cat >>$CONFIG_STATUS <<\_ACEOF
5067 # Split the substitutions into bite-sized pieces for seds with
5068 # small command number limits, like on Digital OSF/1 and HP-UX.
5069 ac_max_sed_lines=48
5070 ac_sed_frag=1 # Number of current file.
5071 ac_beg=1 # First line for current file.
5072 ac_end=$ac_max_sed_lines # Line after last line for current file.
5073 ac_more_lines=:
5074 ac_sed_cmds=
5075 while $ac_more_lines; do
5076 if test $ac_beg -gt 1; then
5077 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5078 else
5079 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5080 fi
5081 if test ! -s $tmp/subs.frag; then
5082 ac_more_lines=false
5083 else
5084 # The purpose of the label and of the branching condition is to
5085 # speed up the sed processing (if there are no `@' at all, there
5086 # is no need to browse any of the substitutions).
5087 # These are the two extra sed commands mentioned above.
5088 (echo ':t
5089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5090 if test -z "$ac_sed_cmds"; then
5091 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5092 else
5093 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5094 fi
5095 ac_sed_frag=`expr $ac_sed_frag + 1`
5096 ac_beg=$ac_end
5097 ac_end=`expr $ac_end + $ac_max_sed_lines`
5098 fi
5099 done
5100 if test -z "$ac_sed_cmds"; then
5101 ac_sed_cmds=cat
5102 fi
5103 fi # test -n "$CONFIG_FILES"
5104
5105 _ACEOF
5106 cat >>$CONFIG_STATUS <<\_ACEOF
5107 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5108 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5109 case $ac_file in
5110 - | *:- | *:-:* ) # input from stdin
5111 cat >$tmp/stdin
5112 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5113 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5114 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5115 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5116 * ) ac_file_in=$ac_file.in ;;
5117 esac
5118
5119 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5120 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5121 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5122 X"$ac_file" : 'X\(//\)[^/]' \| \
5123 X"$ac_file" : 'X\(//\)$' \| \
5124 X"$ac_file" : 'X\(/\)' \| \
5125 . : '\(.\)' 2>/dev/null ||
5126 echo X"$ac_file" |
5127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5129 /^X\(\/\/\)$/{ s//\1/; q; }
5130 /^X\(\/\).*/{ s//\1/; q; }
5131 s/.*/./; q'`
5132 { case "$ac_dir" in
5133 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5134 *) as_incr_dir=.;;
5135 esac
5136 as_dummy="$ac_dir"
5137 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5138 case $as_mkdir_dir in
5139 # Skip DOS drivespec
5140 ?:) as_incr_dir=$as_mkdir_dir ;;
5141 *)
5142 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5143 test -d "$as_incr_dir" ||
5144 mkdir "$as_incr_dir" ||
5145 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5146 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5147 { (exit 1); exit 1; }; }
5148 ;;
5149 esac
5150 done; }
5151
5152 ac_builddir=.
5153
5154 if test "$ac_dir" != .; then
5155 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5156 # A "../" for each directory in $ac_dir_suffix.
5157 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5158 else
5159 ac_dir_suffix= ac_top_builddir=
5160 fi
5161
5162 case $srcdir in
5163 .) # No --srcdir option. We are building in place.
5164 ac_srcdir=.
5165 if test -z "$ac_top_builddir"; then
5166 ac_top_srcdir=.
5167 else
5168 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5169 fi ;;
5170 [\\/]* | ?:[\\/]* ) # Absolute path.
5171 ac_srcdir=$srcdir$ac_dir_suffix;
5172 ac_top_srcdir=$srcdir ;;
5173 *) # Relative path.
5174 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5175 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5176 esac
5177 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5178 # absolute.
5179 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5180 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5181 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5182 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5183
5184
5185 case $INSTALL in
5186 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5187 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5188 esac
5189
5190 if test x"$ac_file" != x-; then
5191 { echo "$as_me:$LINENO: creating $ac_file" >&5
5192 echo "$as_me: creating $ac_file" >&6;}
5193 rm -f "$ac_file"
5194 fi
5195 # Let's still pretend it is `configure' which instantiates (i.e., don't
5196 # use $as_me), people would be surprised to read:
5197 # /* config.h. Generated by config.status. */
5198 if test x"$ac_file" = x-; then
5199 configure_input=
5200 else
5201 configure_input="$ac_file. "
5202 fi
5203 configure_input=$configure_input"Generated from `echo $ac_file_in |
5204 sed 's,.*/,,'` by configure."
5205
5206 # First look for the input files in the build tree, otherwise in the
5207 # src tree.
5208 ac_file_inputs=`IFS=:
5209 for f in $ac_file_in; do
5210 case $f in
5211 -) echo $tmp/stdin ;;
5212 [\\/$]*)
5213 # Absolute (can't be DOS-style, as IFS=:)
5214 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5215 echo "$as_me: error: cannot find input file: $f" >&2;}
5216 { (exit 1); exit 1; }; }
5217 echo $f;;
5218 *) # Relative
5219 if test -f "$f"; then
5220 # Build tree
5221 echo $f
5222 elif test -f "$srcdir/$f"; then
5223 # Source tree
5224 echo $srcdir/$f
5225 else
5226 # /dev/null tree
5227 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5228 echo "$as_me: error: cannot find input file: $f" >&2;}
5229 { (exit 1); exit 1; }; }
5230 fi;;
5231 esac
5232 done` || { (exit 1); exit 1; }
5233 _ACEOF
5234 cat >>$CONFIG_STATUS <<_ACEOF
5235 sed "$ac_vpsub
5236 $extrasub
5237 _ACEOF
5238 cat >>$CONFIG_STATUS <<\_ACEOF
5239 :t
5240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5241 s,@configure_input@,$configure_input,;t t
5242 s,@srcdir@,$ac_srcdir,;t t
5243 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5244 s,@top_srcdir@,$ac_top_srcdir,;t t
5245 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5246 s,@builddir@,$ac_builddir,;t t
5247 s,@abs_builddir@,$ac_abs_builddir,;t t
5248 s,@top_builddir@,$ac_top_builddir,;t t
5249 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5250 s,@INSTALL@,$ac_INSTALL,;t t
5251 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5252 rm -f $tmp/stdin
5253 if test x"$ac_file" != x-; then
5254 mv $tmp/out $ac_file
5255 else
5256 cat $tmp/out
5257 rm -f $tmp/out
5258 fi
5259
5260 done
5261 _ACEOF
5262 cat >>$CONFIG_STATUS <<\_ACEOF
5263
5264 #
5265 # CONFIG_HEADER section.
5266 #
5267
5268 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5269 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5270 #
5271 # ac_d sets the value in "#define NAME VALUE" lines.
5272 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5273 ac_dB='[ ].*$,\1#\2'
5274 ac_dC=' '
5275 ac_dD=',;t'
5276 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5277 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5278 ac_uB='$,\1#\2define\3'
5279 ac_uC=' '
5280 ac_uD=',;t'
5281
5282 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5283 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5284 case $ac_file in
5285 - | *:- | *:-:* ) # input from stdin
5286 cat >$tmp/stdin
5287 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5288 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5289 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5290 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5291 * ) ac_file_in=$ac_file.in ;;
5292 esac
5293
5294 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5295 echo "$as_me: creating $ac_file" >&6;}
5296
5297 # First look for the input files in the build tree, otherwise in the
5298 # src tree.
5299 ac_file_inputs=`IFS=:
5300 for f in $ac_file_in; do
5301 case $f in
5302 -) echo $tmp/stdin ;;
5303 [\\/$]*)
5304 # Absolute (can't be DOS-style, as IFS=:)
5305 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5306 echo "$as_me: error: cannot find input file: $f" >&2;}
5307 { (exit 1); exit 1; }; }
5308 echo $f;;
5309 *) # Relative
5310 if test -f "$f"; then
5311 # Build tree
5312 echo $f
5313 elif test -f "$srcdir/$f"; then
5314 # Source tree
5315 echo $srcdir/$f
5316 else
5317 # /dev/null tree
5318 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5319 echo "$as_me: error: cannot find input file: $f" >&2;}
5320 { (exit 1); exit 1; }; }
5321 fi;;
5322 esac
5323 done` || { (exit 1); exit 1; }
5324 # Remove the trailing spaces.
5325 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5326
5327 _ACEOF
5328
5329 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5330 # `conftest.undefs', that substitutes the proper values into
5331 # config.h.in to produce config.h. The first handles `#define'
5332 # templates, and the second `#undef' templates.
5333 # And first: Protect against being on the right side of a sed subst in
5334 # config.status. Protect against being in an unquoted here document
5335 # in config.status.
5336 rm -f conftest.defines conftest.undefs
5337 # Using a here document instead of a string reduces the quoting nightmare.
5338 # Putting comments in sed scripts is not portable.
5339 #
5340 # `end' is used to avoid that the second main sed command (meant for
5341 # 0-ary CPP macros) applies to n-ary macro definitions.
5342 # See the Autoconf documentation for `clear'.
5343 cat >confdef2sed.sed <<\_ACEOF
5344 s/[\\&,]/\\&/g
5345 s,[\\$`],\\&,g
5346 t clear
5347 : clear
5348 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5349 t end
5350 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5351 : end
5352 _ACEOF
5353 # If some macros were called several times there might be several times
5354 # the same #defines, which is useless. Nevertheless, we may not want to
5355 # sort them, since we want the *last* AC-DEFINE to be honored.
5356 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5357 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5358 rm -f confdef2sed.sed
5359
5360 # This sed command replaces #undef with comments. This is necessary, for
5361 # example, in the case of _POSIX_SOURCE, which is predefined and required
5362 # on some systems where configure will not decide to define it.
5363 cat >>conftest.undefs <<\_ACEOF
5364 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5365 _ACEOF
5366
5367 # Break up conftest.defines because some shells have a limit on the size
5368 # of here documents, and old seds have small limits too (100 cmds).
5369 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5370 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5371 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5372 echo ' :' >>$CONFIG_STATUS
5373 rm -f conftest.tail
5374 while grep . conftest.defines >/dev/null
5375 do
5376 # Write a limited-size here document to $tmp/defines.sed.
5377 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5378 # Speed up: don't consider the non `#define' lines.
5379 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5380 # Work around the forget-to-reset-the-flag bug.
5381 echo 't clr' >>$CONFIG_STATUS
5382 echo ': clr' >>$CONFIG_STATUS
5383 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5384 echo 'CEOF
5385 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5386 rm -f $tmp/in
5387 mv $tmp/out $tmp/in
5388 ' >>$CONFIG_STATUS
5389 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5390 rm -f conftest.defines
5391 mv conftest.tail conftest.defines
5392 done
5393 rm -f conftest.defines
5394 echo ' fi # egrep' >>$CONFIG_STATUS
5395 echo >>$CONFIG_STATUS
5396
5397 # Break up conftest.undefs because some shells have a limit on the size
5398 # of here documents, and old seds have small limits too (100 cmds).
5399 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5400 rm -f conftest.tail
5401 while grep . conftest.undefs >/dev/null
5402 do
5403 # Write a limited-size here document to $tmp/undefs.sed.
5404 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5405 # Speed up: don't consider the non `#undef'
5406 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5407 # Work around the forget-to-reset-the-flag bug.
5408 echo 't clr' >>$CONFIG_STATUS
5409 echo ': clr' >>$CONFIG_STATUS
5410 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5411 echo 'CEOF
5412 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5413 rm -f $tmp/in
5414 mv $tmp/out $tmp/in
5415 ' >>$CONFIG_STATUS
5416 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5417 rm -f conftest.undefs
5418 mv conftest.tail conftest.undefs
5419 done
5420 rm -f conftest.undefs
5421
5422 cat >>$CONFIG_STATUS <<\_ACEOF
5423 # Let's still pretend it is `configure' which instantiates (i.e., don't
5424 # use $as_me), people would be surprised to read:
5425 # /* config.h. Generated by config.status. */
5426 if test x"$ac_file" = x-; then
5427 echo "/* Generated by configure. */" >$tmp/config.h
5428 else
5429 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5430 fi
5431 cat $tmp/in >>$tmp/config.h
5432 rm -f $tmp/in
5433 if test x"$ac_file" != x-; then
5434 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5435 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5436 echo "$as_me: $ac_file is unchanged" >&6;}
5437 else
5438 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5439 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5440 X"$ac_file" : 'X\(//\)[^/]' \| \
5441 X"$ac_file" : 'X\(//\)$' \| \
5442 X"$ac_file" : 'X\(/\)' \| \
5443 . : '\(.\)' 2>/dev/null ||
5444 echo X"$ac_file" |
5445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5446 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5447 /^X\(\/\/\)$/{ s//\1/; q; }
5448 /^X\(\/\).*/{ s//\1/; q; }
5449 s/.*/./; q'`
5450 { case "$ac_dir" in
5451 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5452 *) as_incr_dir=.;;
5453 esac
5454 as_dummy="$ac_dir"
5455 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5456 case $as_mkdir_dir in
5457 # Skip DOS drivespec
5458 ?:) as_incr_dir=$as_mkdir_dir ;;
5459 *)
5460 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5461 test -d "$as_incr_dir" ||
5462 mkdir "$as_incr_dir" ||
5463 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5464 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5465 { (exit 1); exit 1; }; }
5466 ;;
5467 esac
5468 done; }
5469
5470 rm -f $ac_file
5471 mv $tmp/config.h $ac_file
5472 fi
5473 else
5474 cat $tmp/config.h
5475 rm -f $tmp/config.h
5476 fi
5477 # Run the commands associated with the file.
5478 case $ac_file in
5479 config.h ) # update the timestamp
5480 echo timestamp >"./stamp-h1"
5481 ;;
5482 esac
5483 done
5484 _ACEOF
5485 cat >>$CONFIG_STATUS <<\_ACEOF
5486
5487 #
5488 # CONFIG_COMMANDS section.
5489 #
5490 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5491 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5492 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5493 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5494 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5495 X"$ac_dest" : 'X\(//\)[^/]' \| \
5496 X"$ac_dest" : 'X\(//\)$' \| \
5497 X"$ac_dest" : 'X\(/\)' \| \
5498 . : '\(.\)' 2>/dev/null ||
5499 echo X"$ac_dest" |
5500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5501 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5502 /^X\(\/\/\)$/{ s//\1/; q; }
5503 /^X\(\/\).*/{ s//\1/; q; }
5504 s/.*/./; q'`
5505 ac_builddir=.
5506
5507 if test "$ac_dir" != .; then
5508 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5509 # A "../" for each directory in $ac_dir_suffix.
5510 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5511 else
5512 ac_dir_suffix= ac_top_builddir=
5513 fi
5514
5515 case $srcdir in
5516 .) # No --srcdir option. We are building in place.
5517 ac_srcdir=.
5518 if test -z "$ac_top_builddir"; then
5519 ac_top_srcdir=.
5520 else
5521 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5522 fi ;;
5523 [\\/]* | ?:[\\/]* ) # Absolute path.
5524 ac_srcdir=$srcdir$ac_dir_suffix;
5525 ac_top_srcdir=$srcdir ;;
5526 *) # Relative path.
5527 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5528 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5529 esac
5530 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5531 # absolute.
5532 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5533 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5534 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5535 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5536
5537
5538 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5539 echo "$as_me: executing $ac_dest commands" >&6;}
5540 case $ac_dest in
5541 default-1 )
5542 test x"$AMDEP_TRUE" != x"" ||
5543 for mf in $CONFIG_FILES; do
5544 case "$mf" in
5545 Makefile) dirpart=.;;
5546 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
5547 *) continue;;
5548 esac
5549 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5550 # Extract the definition of DEP_FILES from the Makefile without
5551 # running `make'.
5552 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5553 test -z "$DEPDIR" && continue
5554 # When using ansi2knr, U may be empty or an underscore; expand it
5555 U=`sed -n -e '/^U = / s///p' < "$mf"`
5556 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5557 # We invoke sed twice because it is the simplest approach to
5558 # changing $(DEPDIR) to its actual value in the expansion.
5559 for file in `sed -n -e '
5560 /^DEP_FILES = .*\\\\$/ {
5561 s/^DEP_FILES = //
5562 :loop
5563 s/\\\\$//
5564 p
5565 n
5566 /\\\\$/ b loop
5567 p
5568 }
5569 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5570 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5571 # Make sure the directory exists.
5572 test -f "$dirpart/$file" && continue
5573 fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
5574 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
5575 # echo "creating $dirpart/$file"
5576 echo '# dummy' > "$dirpart/$file"
5577 done
5578 done
5579 ;;
5580 esac
5581 done
5582 _ACEOF
5583
5584 cat >>$CONFIG_STATUS <<\_ACEOF
5585
5586 { (exit 0); exit 0; }
5587 _ACEOF
5588 chmod +x $CONFIG_STATUS
5589 ac_clean_files=$ac_clean_files_save
5590
5591
5592 # configure is writing to config.log, and then calls config.status.
5593 # config.status does its own redirection, appending to config.log.
5594 # Unfortunately, on DOS this fails, as config.log is still kept open
5595 # by configure, so config.status won't be able to write to it; its
5596 # output is simply discarded. So we exec the FD to /dev/null,
5597 # effectively closing config.log, so it can be properly (re)opened and
5598 # appended to by config.status. When coming back to configure, we
5599 # need to make the FD available again.
5600 if test "$no_create" != yes; then
5601 ac_cs_success=:
5602 exec 5>/dev/null
5603 $SHELL $CONFIG_STATUS || ac_cs_success=false
5604 exec 5>>config.log
5605 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5606 # would make configure fail if this is the last instruction.
5607 $ac_cs_success || { (exit 1); exit 1; }
5608 fi
5609
5610 ac_config_files="$ac_config_files scripts/Makefile"
5611 cat >confcache <<\_ACEOF
5612 # This file is a shell script that caches the results of configure
5613 # tests run on this system so they can be shared between configure
5614 # scripts and configure runs, see configure's option --config-cache.
5615 # It is not useful on other systems. If it contains results you don't
5616 # want to keep, you may remove or edit it.
5617 #
5618 # config.status only pays attention to the cache file if you give it
5619 # the --recheck option to rerun configure.
5620 #
5621 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5622 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5623 # following values.
5624
5625 _ACEOF
5626
5627 # The following way of writing the cache mishandles newlines in values,
5628 # but we know of no workaround that is simple, portable, and efficient.
5629 # So, don't put newlines in cache variables' values.
5630 # Ultrix sh set writes to stderr and can't be redirected directly,
5631 # and sets the high bit in the cache file unless we assign to the vars.
5632 {
5633 (set) 2>&1 |
5634 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5635 *ac_space=\ *)
5636 # `set' does not quote correctly, so add quotes (double-quote
5637 # substitution turns \\\\ into \\, and sed turns \\ into \).
5638 sed -n \
5639 "s/'/'\\\\''/g;
5640 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5641 ;;
5642 *)
5643 # `set' quotes correctly as required by POSIX, so do not add quotes.
5644 sed -n \
5645 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5646 ;;
5647 esac;
5648 } |
5649 sed '
5650 t clear
5651 : clear
5652 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5653 t end
5654 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5655 : end' >>confcache
5656 if cmp -s $cache_file confcache; then :; else
5657 if test -w $cache_file; then
5658 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5659 cat confcache >$cache_file
5660 else
5661 echo "not updating unwritable cache $cache_file"
5662 fi
5663 fi
5664 rm -f confcache
5665
5666 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5667 # Let make expand exec_prefix.
5668 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5669
5670 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5671 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5672 # trailing colons and then remove the whole line if VPATH becomes empty
5673 # (actually we leave an empty line to preserve line numbers).
5674 if test "x$srcdir" = x.; then
5675 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5676 s/:*\$(srcdir):*/:/;
5677 s/:*\${srcdir}:*/:/;
5678 s/:*@srcdir@:*/:/;
5679 s/^\([^=]*=[ ]*\):*/\1/;
5680 s/:*$//;
5681 s/^[^=]*=[ ]*$//;
5682 }'
5683 fi
5684
5685 DEFS=-DHAVE_CONFIG_H
5686
5687
5688 : ${CONFIG_STATUS=./config.status}
5689 ac_clean_files_save=$ac_clean_files
5690 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5691 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5692 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5693 cat >$CONFIG_STATUS <<_ACEOF
5694 #! $SHELL
5695 # Generated by $as_me.
5696 # Run this file to recreate the current configuration.
5697 # Compiler output produced by configure, useful for debugging
5698 # configure, is in config.log if it exists.
5699
5700 debug=false
5701 SHELL=\${CONFIG_SHELL-$SHELL}
5702 _ACEOF
5703
5704 cat >>$CONFIG_STATUS <<\_ACEOF
5705
5706 ## --------------------- ##
5707 ## M4sh Initialization. ##
5708 ## --------------------- ##
5709
5710 # Be Bourne compatible
5711 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5712 emulate sh
5713 NULLCMD=:
5714 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5715 set -o posix
5716 fi
5717
5718 # NLS nuisances.
5719 # Support unset when possible.
5720 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5721 as_unset=unset
5722 else
5723 as_unset=false
5724 fi
5725
5726 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
5727 { $as_unset LANG || test "${LANG+set}" != set; } ||
5728 { LANG=C; export LANG; }
5729 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5730 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
5731 { LC_ALL=C; export LC_ALL; }
5732 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5733 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
5734 { LC_TIME=C; export LC_TIME; }
5735 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5736 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
5737 { LC_CTYPE=C; export LC_CTYPE; }
5738 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5739 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
5740 { LANGUAGE=C; export LANGUAGE; }
5741 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5742 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
5743 { LC_COLLATE=C; export LC_COLLATE; }
5744 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5745 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
5746 { LC_NUMERIC=C; export LC_NUMERIC; }
5747 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5748 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
5749 { LC_MESSAGES=C; export LC_MESSAGES; }
5750
5751
5752 # Name of the executable.
5753 as_me=`(basename "$0") 2>/dev/null ||
5754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5755 X"$0" : 'X\(//\)$' \| \
5756 X"$0" : 'X\(/\)$' \| \
5757 . : '\(.\)' 2>/dev/null ||
5758 echo X/"$0" |
5759 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5760 /^X\/\(\/\/\)$/{ s//\1/; q; }
5761 /^X\/\(\/\).*/{ s//\1/; q; }
5762 s/.*/./; q'`
5763
5764 # PATH needs CR, and LINENO needs CR and PATH.
5765 # Avoid depending upon Character Ranges.
5766 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5767 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5768 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5769 as_cr_digits='0123456789'
5770 as_cr_alnum=$as_cr_Letters$as_cr_digits
5771
5772 # The user is always right.
5773 if test "${PATH_SEPARATOR+set}" != set; then
5774 echo "#! /bin/sh" >conftest.sh
5775 echo "exit 0" >>conftest.sh
5776 chmod +x conftest.sh
5777 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
5778 PATH_SEPARATOR=';'
5779 else
5780 PATH_SEPARATOR=:
5781 fi
5782 rm -f conftest.sh
5783 fi
5784
5785
5786 as_lineno_1=$LINENO
5787 as_lineno_2=$LINENO
5788 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5789 test "x$as_lineno_1" != "x$as_lineno_2" &&
5790 test "x$as_lineno_3" = "x$as_lineno_2" || {
5791 # Find who we are. Look in the path if we contain no path at all
5792 # relative or not.
5793 case $0 in
5794 *[\\/]* ) as_myself=$0 ;;
5795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 for as_dir in $PATH
5797 do
5798 IFS=$as_save_IFS
5799 test -z "$as_dir" && as_dir=.
5800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5801 done
5802
5803 ;;
5804 esac
5805 # We did not find ourselves, most probably we were run as `sh COMMAND'
5806 # in which case we are not to be found in the path.
5807 if test "x$as_myself" = x; then
5808 as_myself=$0
5809 fi
5810 if test ! -f "$as_myself"; then
5811 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5812 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5813 { (exit 1); exit 1; }; }
5814 fi
5815 case $CONFIG_SHELL in
5816 '')
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5819 do
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for as_base in sh bash ksh sh5; do
5823 case $as_dir in
5824 /*)
5825 if ("$as_dir/$as_base" -c '
5826 as_lineno_1=$LINENO
5827 as_lineno_2=$LINENO
5828 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5829 test "x$as_lineno_1" != "x$as_lineno_2" &&
5830 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5831 CONFIG_SHELL=$as_dir/$as_base
5832 export CONFIG_SHELL
5833 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5834 fi;;
5835 esac
5836 done
5837 done
5838 ;;
5839 esac
5840
5841 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5842 # uniformly replaced by the line number. The first 'sed' inserts a
5843 # line-number line before each line; the second 'sed' does the real
5844 # work. The second script uses 'N' to pair each line-number line
5845 # with the numbered line, and appends trailing '-' during
5846 # substitution so that $LINENO is not a special case at line end.
5847 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5848 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5849 sed '=' <$as_myself |
5850 sed '
5851 N
5852 s,$,-,
5853 : loop
5854 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5855 t loop
5856 s,-$,,
5857 s,^['$as_cr_digits']*\n,,
5858 ' >$as_me.lineno &&
5859 chmod +x $as_me.lineno ||
5860 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5861 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5862 { (exit 1); exit 1; }; }
5863
5864 # Don't try to exec as it changes $[0], causing all sort of problems
5865 # (the dirname of $[0] is not the place where we might find the
5866 # original and so on. Autoconf is especially sensible to this).
5867 . ./$as_me.lineno
5868 # Exit status is that of the last command.
5869 exit
5870 }
5871
5872
5873 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5874 *c*,-n*) ECHO_N= ECHO_C='
5875 ' ECHO_T=' ' ;;
5876 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5877 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5878 esac
5879
5880 if expr a : '\(a\)' >/dev/null 2>&1; then
5881 as_expr=expr
5882 else
5883 as_expr=false
5884 fi
5885
5886 rm -f conf$$ conf$$.exe conf$$.file
5887 echo >conf$$.file
5888 if ln -s conf$$.file conf$$ 2>/dev/null; then
5889 # We could just check for DJGPP; but this test a) works b) is more generic
5890 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5891 if test -f conf$$.exe; then
5892 # Don't use ln at all; we don't have any links
5893 as_ln_s='cp -p'
5894 else
5895 as_ln_s='ln -s'
5896 fi
5897 elif ln conf$$.file conf$$ 2>/dev/null; then
5898 as_ln_s=ln
5899 else
5900 as_ln_s='cp -p'
5901 fi
5902 rm -f conf$$ conf$$.exe conf$$.file
5903
5904 as_executable_p="test -f"
5905
5906 # Sed expression to map a string onto a valid CPP name.
5907 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5908
5909 # Sed expression to map a string onto a valid variable name.
5910 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5911
5912
5913 # IFS
5914 # We need space, tab and new line, in precisely that order.
5915 as_nl='
5916 '
5917 IFS=" $as_nl"
5918
5919 # CDPATH.
5920 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
5921
5922 exec 6>&1
5923
5924 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5925 # report actual input values of CONFIG_FILES etc. instead of their
5926 # values after options handling. Logging --version etc. is OK.
5927 exec 5>>config.log
5928 {
5929 echo
5930 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5931 ## Running $as_me. ##
5932 _ASBOX
5933 } >&5
5934 cat >&5 <<_CSEOF
5935
5936 This file was extended by Bobot++ $as_me 2.1.1CVS, which was
5937 generated by GNU Autoconf 2.53. Invocation command line was
5938
5939 CONFIG_FILES = $CONFIG_FILES
5940 CONFIG_HEADERS = $CONFIG_HEADERS
5941 CONFIG_LINKS = $CONFIG_LINKS
5942 CONFIG_COMMANDS = $CONFIG_COMMANDS
5943 $ $0 $@
5944
5945 _CSEOF
5946 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5947 echo >&5
5948 _ACEOF
5949
5950 # Files that config.status was made for.
5951 if test -n "$ac_config_files"; then
5952 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5953 fi
5954
5955 if test -n "$ac_config_headers"; then
5956 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5957 fi
5958
5959 if test -n "$ac_config_links"; then
5960 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5961 fi
5962
5963 if test -n "$ac_config_commands"; then
5964 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5965 fi
5966
5967 cat >>$CONFIG_STATUS <<\_ACEOF
5968
5969 ac_cs_usage="\
5970 \`$as_me' instantiates files from templates according to the
5971 current configuration.
5972
5973 Usage: $0 [OPTIONS] [FILE]...
5974
5975 -h, --help print this help, then exit
5976 -V, --version print version number, then exit
5977 -d, --debug don't remove temporary files
5978 --recheck update $as_me by reconfiguring in the same conditions
5979 --file=FILE[:TEMPLATE]
5980 instantiate the configuration file FILE
5981 --header=FILE[:TEMPLATE]
5982 instantiate the configuration header FILE
5983
5984 Configuration files:
5985 $config_files
5986
5987 Configuration headers:
5988 $config_headers
5989
5990 Configuration commands:
5991 $config_commands
5992
5993 Report bugs to <bug-autoconf@gnu.org>."
5994 _ACEOF
5995
5996 cat >>$CONFIG_STATUS <<_ACEOF
5997 ac_cs_version="\\
5998 Bobot++ config.status 2.1.1CVS
5999 configured by $0, generated by GNU Autoconf 2.53,
6000 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6001
6002 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6003 Free Software Foundation, Inc.
6004 This config.status script is free software; the Free Software Foundation
6005 gives unlimited permission to copy, distribute and modify it."
6006 srcdir=$srcdir
6007 INSTALL="$INSTALL"
6008 _ACEOF
6009
6010 cat >>$CONFIG_STATUS <<\_ACEOF
6011 # If no file are specified by the user, then we need to provide default
6012 # value. By we need to know if files were specified by the user.
6013 ac_need_defaults=:
6014 while test $# != 0
6015 do
6016 case $1 in
6017 --*=*)
6018 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6019 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6020 shift
6021 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6022 shift
6023 ;;
6024 -*);;
6025 *) # This is not an option, so the user has probably given explicit
6026 # arguments.
6027 ac_need_defaults=false;;
6028 esac
6029
6030 case $1 in
6031 # Handling of the options.
6032 _ACEOF
6033 cat >>$CONFIG_STATUS <<_ACEOF
6034 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6035 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
6036 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
6037 _ACEOF
6038 cat >>$CONFIG_STATUS <<\_ACEOF
6039 --version | --vers* | -V )
6040 echo "$ac_cs_version"; exit 0 ;;
6041 --he | --h)
6042 # Conflict between --help and --header
6043 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6044 Try \`$0 --help' for more information." >&5
6045 echo "$as_me: error: ambiguous option: $1
6046 Try \`$0 --help' for more information." >&2;}
6047 { (exit 1); exit 1; }; };;
6048 --help | --hel | -h )
6049 echo "$ac_cs_usage"; exit 0 ;;
6050 --debug | --d* | -d )
6051 debug=: ;;
6052 --file | --fil | --fi | --f )
6053 shift
6054 CONFIG_FILES="$CONFIG_FILES $1"
6055 ac_need_defaults=false;;
6056 --header | --heade | --head | --hea )
6057 shift
6058 CONFIG_HEADERS="$CONFIG_HEADERS $1"
6059 ac_need_defaults=false;;
6060
6061 # This is an error.
6062 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6063 Try \`$0 --help' for more information." >&5
6064 echo "$as_me: error: unrecognized option: $1
6065 Try \`$0 --help' for more information." >&2;}
6066 { (exit 1); exit 1; }; } ;;
6067
6068 *) ac_config_targets="$ac_config_targets $1" ;;
6069
6070 esac
6071 shift
6072 done
6073
6074 _ACEOF
6075
6076 cat >>$CONFIG_STATUS <<_ACEOF
6077 #
6078 # INIT-COMMANDS section.
6079 #
6080
6081 AMDEP_TRUE="$AMDEP_TRUE"
6082 ac_aux_dir="$ac_aux_dir"
6083
6084 _ACEOF
6085
6086
6087
6088 cat >>$CONFIG_STATUS <<\_ACEOF
6089 for ac_config_target in $ac_config_targets
6090 do
6091 case "$ac_config_target" in
6092 # Handling of arguments.
6093 "source/Makefile" ) CONFIG_FILES="$CONFIG_FILES source/Makefile" ;;
6094 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
6095 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6096 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6097 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6098 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6099 { (exit 1); exit 1; }; };;
6100 esac
6101 done
6102
6103 # If the user did not use the arguments to specify the items to instantiate,
6104 # then the envvar interface is used. Set only those that are not.
6105 # We use the long form for the default assignment because of an extremely
6106 # bizarre bug on SunOS 4.1.3.
6107 if $ac_need_defaults; then
6108 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6109 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6110 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6111 fi
6112
6113 # Create a temporary directory, and hook for its removal unless debugging.
6114 $debug ||
6115 {
6116 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6117 trap '{ (exit 1); exit 1; }' 1 2 13 15
6118 }
6119
6120 # Create a (secure) tmp directory for tmp files.
6121 : ${TMPDIR=/tmp}
6122 {
6123 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
6124 test -n "$tmp" && test -d "$tmp"
6125 } ||
6126 {
6127 tmp=$TMPDIR/cs$$-$RANDOM
6128 (umask 077 && mkdir $tmp)
6129 } ||
6130 {
6131 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
6132 { (exit 1); exit 1; }
6133 }
6134
6135 _ACEOF
6136
6137 cat >>$CONFIG_STATUS <<_ACEOF
6138
6139 #
6140 # CONFIG_FILES section.
6141 #
6142
6143 # No need to generate the scripts if there are no CONFIG_FILES.
6144 # This happens for instance when ./config.status config.h
6145 if test -n "\$CONFIG_FILES"; then
6146 # Protect against being on the right side of a sed subst in config.status.
6147 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6148 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6149 s,@SHELL@,$SHELL,;t t
6150 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6151 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6152 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6153 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6154 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6155 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6156 s,@exec_prefix@,$exec_prefix,;t t
6157 s,@prefix@,$prefix,;t t
6158 s,@program_transform_name@,$program_transform_name,;t t
6159 s,@bindir@,$bindir,;t t
6160 s,@sbindir@,$sbindir,;t t
6161 s,@libexecdir@,$libexecdir,;t t
6162 s,@datadir@,$datadir,;t t
6163 s,@sysconfdir@,$sysconfdir,;t t
6164 s,@sharedstatedir@,$sharedstatedir,;t t
6165 s,@localstatedir@,$localstatedir,;t t
6166 s,@libdir@,$libdir,;t t
6167 s,@includedir@,$includedir,;t t
6168 s,@oldincludedir@,$oldincludedir,;t t
6169 s,@infodir@,$infodir,;t t
6170 s,@mandir@,$mandir,;t t
6171 s,@build_alias@,$build_alias,;t t
6172 s,@host_alias@,$host_alias,;t t
6173 s,@target_alias@,$target_alias,;t t
6174 s,@DEFS@,$DEFS,;t t
6175 s,@ECHO_C@,$ECHO_C,;t t
6176 s,@ECHO_N@,$ECHO_N,;t t
6177 s,@ECHO_T@,$ECHO_T,;t t
6178 s,@LIBS@,$LIBS,;t t
6179 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6180 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6181 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6182 s,@PACKAGE@,$PACKAGE,;t t
6183 s,@VERSION@,$VERSION,;t t
6184 s,@EXEEXT@,$EXEEXT,;t t
6185 s,@OBJEXT@,$OBJEXT,;t t
6186 s,@ACLOCAL@,$ACLOCAL,;t t
6187 s,@AUTOCONF@,$AUTOCONF,;t t
6188 s,@AUTOMAKE@,$AUTOMAKE,;t t
6189 s,@AUTOHEADER@,$AUTOHEADER,;t t
6190 s,@MAKEINFO@,$MAKEINFO,;t t
6191 s,@AMTAR@,$AMTAR,;t t
6192 s,@install_sh@,$install_sh,;t t
6193 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6194 s,@AWK@,$AWK,;t t
6195 s,@SET_MAKE@,$SET_MAKE,;t t
6196 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6197 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6198 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6199 s,@DEPDIR@,$DEPDIR,;t t
6200 s,@GUILE_LDFLAGS@,$GUILE_LDFLAGS,;t t
6201 s,@GUILE@,$GUILE,;t t
6202 s,@GUILE_CONFIG@,$GUILE_CONFIG,;t t
6203 s,@GUILE_TOOLS@,$GUILE_TOOLS,;t t
6204 s,@GUILE_CFLAGS@,$GUILE_CFLAGS,;t t
6205 s,@CXX@,$CXX,;t t
6206 s,@CXXFLAGS@,$CXXFLAGS,;t t
6207 s,@LDFLAGS@,$LDFLAGS,;t t
6208 s,@CPPFLAGS@,$CPPFLAGS,;t t
6209 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6210 s,@am__include@,$am__include,;t t
6211 s,@am__quote@,$am__quote,;t t
6212 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6213 s,@CXXCPP@,$CXXCPP,;t t
6214 s,@CC@,$CC,;t t
6215 s,@CFLAGS@,$CFLAGS,;t t
6216 s,@ac_ct_CC@,$ac_ct_CC,;t t
6217 s,@CCDEPMODE@,$CCDEPMODE,;t t
6218 CEOF
6219
6220 _ACEOF
6221
6222 cat >>$CONFIG_STATUS <<\_ACEOF
6223 # Split the substitutions into bite-sized pieces for seds with
6224 # small command number limits, like on Digital OSF/1 and HP-UX.
6225 ac_max_sed_lines=48
6226 ac_sed_frag=1 # Number of current file.
6227 ac_beg=1 # First line for current file.
6228 ac_end=$ac_max_sed_lines # Line after last line for current file.
6229 ac_more_lines=:
6230 ac_sed_cmds=
6231 while $ac_more_lines; do
6232 if test $ac_beg -gt 1; then
6233 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6234 else
6235 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6236 fi
6237 if test ! -s $tmp/subs.frag; then
6238 ac_more_lines=false
6239 else
6240 # The purpose of the label and of the branching condition is to
6241 # speed up the sed processing (if there are no `@' at all, there
6242 # is no need to browse any of the substitutions).
6243 # These are the two extra sed commands mentioned above.
6244 (echo ':t
6245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6246 if test -z "$ac_sed_cmds"; then
6247 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6248 else
6249 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6250 fi
6251 ac_sed_frag=`expr $ac_sed_frag + 1`
6252 ac_beg=$ac_end
6253 ac_end=`expr $ac_end + $ac_max_sed_lines`
6254 fi
6255 done
6256 if test -z "$ac_sed_cmds"; then
6257 ac_sed_cmds=cat
6258 fi
6259 fi # test -n "$CONFIG_FILES"
6260
6261 _ACEOF
6262 cat >>$CONFIG_STATUS <<\_ACEOF
6263 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6264 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6265 case $ac_file in
6266 - | *:- | *:-:* ) # input from stdin
6267 cat >$tmp/stdin
6268 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6269 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6270 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6271 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6272 * ) ac_file_in=$ac_file.in ;;
6273 esac
6274
6275 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6276 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6278 X"$ac_file" : 'X\(//\)[^/]' \| \
6279 X"$ac_file" : 'X\(//\)$' \| \
6280 X"$ac_file" : 'X\(/\)' \| \
6281 . : '\(.\)' 2>/dev/null ||
6282 echo X"$ac_file" |
6283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6284 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6285 /^X\(\/\/\)$/{ s//\1/; q; }
6286 /^X\(\/\).*/{ s//\1/; q; }
6287 s/.*/./; q'`
6288 { case "$ac_dir" in
6289 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6290 *) as_incr_dir=.;;
6291 esac
6292 as_dummy="$ac_dir"
6293 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6294 case $as_mkdir_dir in
6295 # Skip DOS drivespec
6296 ?:) as_incr_dir=$as_mkdir_dir ;;
6297 *)
6298 as_incr_dir=$as_incr_dir/$as_mkdir_dir
6299 test -d "$as_incr_dir" ||
6300 mkdir "$as_incr_dir" ||
6301 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6302 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6303 { (exit 1); exit 1; }; }
6304 ;;
6305 esac
6306 done; }
6307
6308 ac_builddir=.
6309
6310 if test "$ac_dir" != .; then
6311 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6312 # A "../" for each directory in $ac_dir_suffix.
6313 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6314 else
6315 ac_dir_suffix= ac_top_builddir=
6316 fi
6317
6318 case $srcdir in
6319 .) # No --srcdir option. We are building in place.
6320 ac_srcdir=.
6321 if test -z "$ac_top_builddir"; then
6322 ac_top_srcdir=.
6323 else
6324 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6325 fi ;;
6326 [\\/]* | ?:[\\/]* ) # Absolute path.
6327 ac_srcdir=$srcdir$ac_dir_suffix;
6328 ac_top_srcdir=$srcdir ;;
6329 *) # Relative path.
6330 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6331 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6332 esac
6333 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6334 # absolute.
6335 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6336 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6337 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6338 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6339
6340
6341 case $INSTALL in
6342 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6343 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6344 esac
6345
6346 if test x"$ac_file" != x-; then
6347 { echo "$as_me:$LINENO: creating $ac_file" >&5
6348 echo "$as_me: creating $ac_file" >&6;}
6349 rm -f "$ac_file"
6350 fi
6351 # Let's still pretend it is `configure' which instantiates (i.e., don't
6352 # use $as_me), people would be surprised to read:
6353 # /* config.h. Generated by config.status. */
6354 if test x"$ac_file" = x-; then
6355 configure_input=
6356 else
6357 configure_input="$ac_file. "
6358 fi
6359 configure_input=$configure_input"Generated from `echo $ac_file_in |
6360 sed 's,.*/,,'` by configure."
6361
6362 # First look for the input files in the build tree, otherwise in the
6363 # src tree.
6364 ac_file_inputs=`IFS=:
6365 for f in $ac_file_in; do
6366 case $f in
6367 -) echo $tmp/stdin ;;
6368 [\\/$]*)
6369 # Absolute (can't be DOS-style, as IFS=:)
6370 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6371 echo "$as_me: error: cannot find input file: $f" >&2;}
6372 { (exit 1); exit 1; }; }
6373 echo $f;;
6374 *) # Relative
6375 if test -f "$f"; then
6376 # Build tree
6377 echo $f
6378 elif test -f "$srcdir/$f"; then
6379 # Source tree
6380 echo $srcdir/$f
6381 else
6382 # /dev/null tree
6383 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6384 echo "$as_me: error: cannot find input file: $f" >&2;}
6385 { (exit 1); exit 1; }; }
6386 fi;;
6387 esac
6388 done` || { (exit 1); exit 1; }
6389 _ACEOF
6390 cat >>$CONFIG_STATUS <<_ACEOF
6391 sed "$ac_vpsub
6392 $extrasub
6393 _ACEOF
6394 cat >>$CONFIG_STATUS <<\_ACEOF
6395 :t
6396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6397 s,@configure_input@,$configure_input,;t t
6398 s,@srcdir@,$ac_srcdir,;t t
6399 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6400 s,@top_srcdir@,$ac_top_srcdir,;t t
6401 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6402 s,@builddir@,$ac_builddir,;t t
6403 s,@abs_builddir@,$ac_abs_builddir,;t t
6404 s,@top_builddir@,$ac_top_builddir,;t t
6405 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6406 s,@INSTALL@,$ac_INSTALL,;t t
6407 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6408 rm -f $tmp/stdin
6409 if test x"$ac_file" != x-; then
6410 mv $tmp/out $ac_file
6411 else
6412 cat $tmp/out
6413 rm -f $tmp/out
6414 fi
6415
6416 done
6417 _ACEOF
6418 cat >>$CONFIG_STATUS <<\_ACEOF
6419
6420 #
6421 # CONFIG_HEADER section.
6422 #
6423
6424 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6425 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6426 #
6427 # ac_d sets the value in "#define NAME VALUE" lines.
6428 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6429 ac_dB='[ ].*$,\1#\2'
6430 ac_dC=' '
6431 ac_dD=',;t'
6432 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6433 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6434 ac_uB='$,\1#\2define\3'
6435 ac_uC=' '
6436 ac_uD=',;t'
6437
6438 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6439 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6440 case $ac_file in
6441 - | *:- | *:-:* ) # input from stdin
6442 cat >$tmp/stdin
6443 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6444 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6445 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6446 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6447 * ) ac_file_in=$ac_file.in ;;
6448 esac
6449
6450 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6451 echo "$as_me: creating $ac_file" >&6;}
6452
6453 # First look for the input files in the build tree, otherwise in the
6454 # src tree.
6455 ac_file_inputs=`IFS=:
6456 for f in $ac_file_in; do
6457 case $f in
6458 -) echo $tmp/stdin ;;
6459 [\\/$]*)
6460 # Absolute (can't be DOS-style, as IFS=:)
6461 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6462 echo "$as_me: error: cannot find input file: $f" >&2;}
6463 { (exit 1); exit 1; }; }
6464 echo $f;;
6465 *) # Relative
6466 if test -f "$f"; then
6467 # Build tree
6468 echo $f
6469 elif test -f "$srcdir/$f"; then
6470 # Source tree
6471 echo $srcdir/$f
6472 else
6473 # /dev/null tree
6474 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6475 echo "$as_me: error: cannot find input file: $f" >&2;}
6476 { (exit 1); exit 1; }; }
6477 fi;;
6478 esac
6479 done` || { (exit 1); exit 1; }
6480 # Remove the trailing spaces.
6481 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6482
6483 _ACEOF
6484
6485 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6486 # `conftest.undefs', that substitutes the proper values into
6487 # config.h.in to produce config.h. The first handles `#define'
6488 # templates, and the second `#undef' templates.
6489 # And first: Protect against being on the right side of a sed subst in
6490 # config.status. Protect against being in an unquoted here document
6491 # in config.status.
6492 rm -f conftest.defines conftest.undefs
6493 # Using a here document instead of a string reduces the quoting nightmare.
6494 # Putting comments in sed scripts is not portable.
6495 #
6496 # `end' is used to avoid that the second main sed command (meant for
6497 # 0-ary CPP macros) applies to n-ary macro definitions.
6498 # See the Autoconf documentation for `clear'.
6499 cat >confdef2sed.sed <<\_ACEOF
6500 s/[\\&,]/\\&/g
6501 s,[\\$`],\\&,g
6502 t clear
6503 : clear
6504 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6505 t end
6506 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6507 : end
6508 _ACEOF
6509 # If some macros were called several times there might be several times
6510 # the same #defines, which is useless. Nevertheless, we may not want to
6511 # sort them, since we want the *last* AC-DEFINE to be honored.
6512 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6513 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6514 rm -f confdef2sed.sed
6515
6516 # This sed command replaces #undef with comments. This is necessary, for
6517 # example, in the case of _POSIX_SOURCE, which is predefined and required
6518 # on some systems where configure will not decide to define it.
6519 cat >>conftest.undefs <<\_ACEOF
6520 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6521 _ACEOF
6522
6523 # Break up conftest.defines because some shells have a limit on the size
6524 # of here documents, and old seds have small limits too (100 cmds).
6525 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6526 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6527 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6528 echo ' :' >>$CONFIG_STATUS
6529 rm -f conftest.tail
6530 while grep . conftest.defines >/dev/null
6531 do
6532 # Write a limited-size here document to $tmp/defines.sed.
6533 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6534 # Speed up: don't consider the non `#define' lines.
6535 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6536 # Work around the forget-to-reset-the-flag bug.
6537 echo 't clr' >>$CONFIG_STATUS
6538 echo ': clr' >>$CONFIG_STATUS
6539 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6540 echo 'CEOF
6541 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6542 rm -f $tmp/in
6543 mv $tmp/out $tmp/in
6544 ' >>$CONFIG_STATUS
6545 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6546 rm -f conftest.defines
6547 mv conftest.tail conftest.defines
6548 done
6549 rm -f conftest.defines
6550 echo ' fi # egrep' >>$CONFIG_STATUS
6551 echo >>$CONFIG_STATUS
6552
6553 # Break up conftest.undefs because some shells have a limit on the size
6554 # of here documents, and old seds have small limits too (100 cmds).
6555 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6556 rm -f conftest.tail
6557 while grep . conftest.undefs >/dev/null
6558 do
6559 # Write a limited-size here document to $tmp/undefs.sed.
6560 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6561 # Speed up: don't consider the non `#undef'
6562 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6563 # Work around the forget-to-reset-the-flag bug.
6564 echo 't clr' >>$CONFIG_STATUS
6565 echo ': clr' >>$CONFIG_STATUS
6566 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6567 echo 'CEOF
6568 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6569 rm -f $tmp/in
6570 mv $tmp/out $tmp/in
6571 ' >>$CONFIG_STATUS
6572 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6573 rm -f conftest.undefs
6574 mv conftest.tail conftest.undefs
6575 done
6576 rm -f conftest.undefs
6577
6578 cat >>$CONFIG_STATUS <<\_ACEOF
6579 # Let's still pretend it is `configure' which instantiates (i.e., don't
6580 # use $as_me), people would be surprised to read:
6581 # /* config.h. Generated by config.status. */
6582 if test x"$ac_file" = x-; then
6583 echo "/* Generated by configure. */" >$tmp/config.h
6584 else
6585 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6586 fi
6587 cat $tmp/in >>$tmp/config.h
6588 rm -f $tmp/in
6589 if test x"$ac_file" != x-; then
6590 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
6591 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6592 echo "$as_me: $ac_file is unchanged" >&6;}
6593 else
6594 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6595 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6596 X"$ac_file" : 'X\(//\)[^/]' \| \
6597 X"$ac_file" : 'X\(//\)$' \| \
6598 X"$ac_file" : 'X\(/\)' \| \
6599 . : '\(.\)' 2>/dev/null ||
6600 echo X"$ac_file" |
6601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6603 /^X\(\/\/\)$/{ s//\1/; q; }
6604 /^X\(\/\).*/{ s//\1/; q; }
6605 s/.*/./; q'`
6606 { case "$ac_dir" in
6607 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6608 *) as_incr_dir=.;;
6609 esac
6610 as_dummy="$ac_dir"
6611 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6612 case $as_mkdir_dir in
6613 # Skip DOS drivespec
6614 ?:) as_incr_dir=$as_mkdir_dir ;;
6615 *)
6616 as_incr_dir=$as_incr_dir/$as_mkdir_dir
6617 test -d "$as_incr_dir" ||
6618 mkdir "$as_incr_dir" ||
6619 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6620 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6621 { (exit 1); exit 1; }; }
6622 ;;
6623 esac
6624 done; }
6625
6626 rm -f $ac_file
6627 mv $tmp/config.h $ac_file
6628 fi
6629 else
6630 cat $tmp/config.h
6631 rm -f $tmp/config.h
6632 fi
6633 # Run the commands associated with the file.
6634 case $ac_file in
6635 config.h ) # update the timestamp
6636 echo timestamp >"./stamp-h1"
6637 ;;
6638 esac
6639 done
6640 _ACEOF
6641 cat >>$CONFIG_STATUS <<\_ACEOF
6642
6643 #
6644 # CONFIG_COMMANDS section.
6645 #
6646 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6647 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6648 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6649 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6650 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6651 X"$ac_dest" : 'X\(//\)[^/]' \| \
6652 X"$ac_dest" : 'X\(//\)$' \| \
6653 X"$ac_dest" : 'X\(/\)' \| \
6654 . : '\(.\)' 2>/dev/null ||
6655 echo X"$ac_dest" |
6656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6658 /^X\(\/\/\)$/{ s//\1/; q; }
6659 /^X\(\/\).*/{ s//\1/; q; }
6660 s/.*/./; q'`
6661 ac_builddir=.
6662
6663 if test "$ac_dir" != .; then
6664 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6665 # A "../" for each directory in $ac_dir_suffix.
6666 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6667 else
6668 ac_dir_suffix= ac_top_builddir=
6669 fi
6670
6671 case $srcdir in
6672 .) # No --srcdir option. We are building in place.
6673 ac_srcdir=.
6674 if test -z "$ac_top_builddir"; then
6675 ac_top_srcdir=.
6676 else
6677 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6678 fi ;;
6679 [\\/]* | ?:[\\/]* ) # Absolute path.
6680 ac_srcdir=$srcdir$ac_dir_suffix;
6681 ac_top_srcdir=$srcdir ;;
6682 *) # Relative path.
6683 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6684 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6685 esac
6686 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6687 # absolute.
6688 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6689 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6690 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6691 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6692
6693
6694 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6695 echo "$as_me: executing $ac_dest commands" >&6;}
6696 case $ac_dest in
6697 default-1 )
6698 test x"$AMDEP_TRUE" != x"" ||
6699 for mf in $CONFIG_FILES; do
6700 case "$mf" in
6701 Makefile) dirpart=.;;
6702 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
6703 *) continue;;
6704 esac
6705 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6706 # Extract the definition of DEP_FILES from the Makefile without
6707 # running `make'.
6708 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6709 test -z "$DEPDIR" && continue
6710 # When using ansi2knr, U may be empty or an underscore; expand it
6711 U=`sed -n -e '/^U = / s///p' < "$mf"`
6712 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6713 # We invoke sed twice because it is the simplest approach to
6714 # changing $(DEPDIR) to its actual value in the expansion.
6715 for file in `sed -n -e '
6716 /^DEP_FILES = .*\\\\$/ {
6717 s/^DEP_FILES = //
6718 :loop
6719 s/\\\\$//
6720 p
6721 n
6722 /\\\\$/ b loop
6723 p
6724 }
6725 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6726 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6727 # Make sure the directory exists.
6728 test -f "$dirpart/$file" && continue
6729 fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
6730 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
6731 # echo "creating $dirpart/$file"
6732 echo '# dummy' > "$dirpart/$file"
6733 done
6734 done
6735 ;;
6736 esac
6737 done
6738 _ACEOF
6739
6740 cat >>$CONFIG_STATUS <<\_ACEOF
6741
6742 { (exit 0); exit 0; }
6743 _ACEOF
6744 chmod +x $CONFIG_STATUS
6745 ac_clean_files=$ac_clean_files_save
6746
6747
6748 # configure is writing to config.log, and then calls config.status.
6749 # config.status does its own redirection, appending to config.log.
6750 # Unfortunately, on DOS this fails, as config.log is still kept open
6751 # by configure, so config.status won't be able to write to it; its
6752 # output is simply discarded. So we exec the FD to /dev/null,
6753 # effectively closing config.log, so it can be properly (re)opened and
6754 # appended to by config.status. When coming back to configure, we
6755 # need to make the FD available again.
6756 if test "$no_create" != yes; then
6757 ac_cs_success=:
6758 exec 5>/dev/null
6759 $SHELL $CONFIG_STATUS || ac_cs_success=false
6760 exec 5>>config.log
6761 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6762 # would make configure fail if this is the last instruction.
6763 $ac_cs_success || { (exit 1); exit 1; }
6764 fi
6765
6766 ac_config_files="$ac_config_files Makefile"
6767 cat >confcache <<\_ACEOF
6768 # This file is a shell script that caches the results of configure
6769 # tests run on this system so they can be shared between configure
6770 # scripts and configure runs, see configure's option --config-cache.
6771 # It is not useful on other systems. If it contains results you don't
6772 # want to keep, you may remove or edit it.
6773 #
6774 # config.status only pays attention to the cache file if you give it
6775 # the --recheck option to rerun configure.
6776 #
6777 # `ac_cv_env_foo' variables (set or unset) will be overriden when
6778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6779 # following values.
6780
6781 _ACEOF
6782
6783 # The following way of writing the cache mishandles newlines in values,
6784 # but we know of no workaround that is simple, portable, and efficient.
6785 # So, don't put newlines in cache variables' values.
6786 # Ultrix sh set writes to stderr and can't be redirected directly,
6787 # and sets the high bit in the cache file unless we assign to the vars.
6788 {
6789 (set) 2>&1 |
6790 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6791 *ac_space=\ *)
6792 # `set' does not quote correctly, so add quotes (double-quote
6793 # substitution turns \\\\ into \\, and sed turns \\ into \).
6794 sed -n \
6795 "s/'/'\\\\''/g;
6796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6797 ;;
6798 *)
6799 # `set' quotes correctly as required by POSIX, so do not add quotes.
6800 sed -n \
6801 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6802 ;;
6803 esac;
6804 } |
6805 sed '
6806 t clear
6807 : clear
6808 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6809 t end
6810 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6811 : end' >>confcache
6812 if cmp -s $cache_file confcache; then :; else
6813 if test -w $cache_file; then
6814 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6815 cat confcache >$cache_file
6816 else
6817 echo "not updating unwritable cache $cache_file"
6818 fi
6819 fi
6820 rm -f confcache
6821
6822 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6823 # Let make expand exec_prefix.
6824 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6825
6826 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6827 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6828 # trailing colons and then remove the whole line if VPATH becomes empty
6829 # (actually we leave an empty line to preserve line numbers).
6830 if test "x$srcdir" = x.; then
6831 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6832 s/:*\$(srcdir):*/:/;
6833 s/:*\${srcdir}:*/:/;
6834 s/:*@srcdir@:*/:/;
6835 s/^\([^=]*=[ ]*\):*/\1/;
6836 s/:*$//;
6837 s/^[^=]*=[ ]*$//;
6838 }'
6839 fi
6840
6841 DEFS=-DHAVE_CONFIG_H
6842
6843
6844 : ${CONFIG_STATUS=./config.status}
6845 ac_clean_files_save=$ac_clean_files
6846 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6847 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6848 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6849 cat >$CONFIG_STATUS <<_ACEOF
6850 #! $SHELL
6851 # Generated by $as_me.
6852 # Run this file to recreate the current configuration.
6853 # Compiler output produced by configure, useful for debugging
6854 # configure, is in config.log if it exists.
6855
6856 debug=false
6857 SHELL=\${CONFIG_SHELL-$SHELL}
6858 _ACEOF
6859
6860 cat >>$CONFIG_STATUS <<\_ACEOF
6861
6862 ## --------------------- ##
6863 ## M4sh Initialization. ##
6864 ## --------------------- ##
6865
6866 # Be Bourne compatible
6867 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6868 emulate sh
6869 NULLCMD=:
6870 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6871 set -o posix
6872 fi
6873
6874 # NLS nuisances.
6875 # Support unset when possible.
6876 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6877 as_unset=unset
6878 else
6879 as_unset=false
6880 fi
6881
6882 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
6883 { $as_unset LANG || test "${LANG+set}" != set; } ||
6884 { LANG=C; export LANG; }
6885 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
6886 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
6887 { LC_ALL=C; export LC_ALL; }
6888 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
6889 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
6890 { LC_TIME=C; export LC_TIME; }
6891 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
6892 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
6893 { LC_CTYPE=C; export LC_CTYPE; }
6894 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
6895 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
6896 { LANGUAGE=C; export LANGUAGE; }
6897 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
6898 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
6899 { LC_COLLATE=C; export LC_COLLATE; }
6900 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
6901 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
6902 { LC_NUMERIC=C; export LC_NUMERIC; }
6903 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
6904 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
6905 { LC_MESSAGES=C; export LC_MESSAGES; }
6906
6907
6908 # Name of the executable.
6909 as_me=`(basename "$0") 2>/dev/null ||
6910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6911 X"$0" : 'X\(//\)$' \| \
6912 X"$0" : 'X\(/\)$' \| \
6913 . : '\(.\)' 2>/dev/null ||
6914 echo X/"$0" |
6915 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6916 /^X\/\(\/\/\)$/{ s//\1/; q; }
6917 /^X\/\(\/\).*/{ s//\1/; q; }
6918 s/.*/./; q'`
6919
6920 # PATH needs CR, and LINENO needs CR and PATH.
6921 # Avoid depending upon Character Ranges.
6922 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6923 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6924 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6925 as_cr_digits='0123456789'
6926 as_cr_alnum=$as_cr_Letters$as_cr_digits
6927
6928 # The user is always right.
6929 if test "${PATH_SEPARATOR+set}" != set; then
6930 echo "#! /bin/sh" >conftest.sh
6931 echo "exit 0" >>conftest.sh
6932 chmod +x conftest.sh
6933 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
6934 PATH_SEPARATOR=';'
6935 else
6936 PATH_SEPARATOR=:
6937 fi
6938 rm -f conftest.sh
6939 fi
6940
6941
6942 as_lineno_1=$LINENO
6943 as_lineno_2=$LINENO
6944 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6945 test "x$as_lineno_1" != "x$as_lineno_2" &&
6946 test "x$as_lineno_3" = "x$as_lineno_2" || {
6947 # Find who we are. Look in the path if we contain no path at all
6948 # relative or not.
6949 case $0 in
6950 *[\\/]* ) as_myself=$0 ;;
6951 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 for as_dir in $PATH
6953 do
6954 IFS=$as_save_IFS
6955 test -z "$as_dir" && as_dir=.
6956 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6957 done
6958
6959 ;;
6960 esac
6961 # We did not find ourselves, most probably we were run as `sh COMMAND'
6962 # in which case we are not to be found in the path.
6963 if test "x$as_myself" = x; then
6964 as_myself=$0
6965 fi
6966 if test ! -f "$as_myself"; then
6967 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6968 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6969 { (exit 1); exit 1; }; }
6970 fi
6971 case $CONFIG_SHELL in
6972 '')
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6975 do
6976 IFS=$as_save_IFS
6977 test -z "$as_dir" && as_dir=.
6978 for as_base in sh bash ksh sh5; do
6979 case $as_dir in
6980 /*)
6981 if ("$as_dir/$as_base" -c '
6982 as_lineno_1=$LINENO
6983 as_lineno_2=$LINENO
6984 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6985 test "x$as_lineno_1" != "x$as_lineno_2" &&
6986 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6987 CONFIG_SHELL=$as_dir/$as_base
6988 export CONFIG_SHELL
6989 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6990 fi;;
6991 esac
6992 done
6993 done
6994 ;;
6995 esac
6996
6997 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6998 # uniformly replaced by the line number. The first 'sed' inserts a
6999 # line-number line before each line; the second 'sed' does the real
7000 # work. The second script uses 'N' to pair each line-number line
7001 # with the numbered line, and appends trailing '-' during
7002 # substitution so that $LINENO is not a special case at line end.
7003 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7004 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7005 sed '=' <$as_myself |
7006 sed '
7007 N
7008 s,$,-,
7009 : loop
7010 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7011 t loop
7012 s,-$,,
7013 s,^['$as_cr_digits']*\n,,
7014 ' >$as_me.lineno &&
7015 chmod +x $as_me.lineno ||
7016 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7017 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7018 { (exit 1); exit 1; }; }
7019
7020 # Don't try to exec as it changes $[0], causing all sort of problems
7021 # (the dirname of $[0] is not the place where we might find the
7022 # original and so on. Autoconf is especially sensible to this).
7023 . ./$as_me.lineno
7024 # Exit status is that of the last command.
7025 exit
7026 }
7027
7028
7029 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7030 *c*,-n*) ECHO_N= ECHO_C='
7031 ' ECHO_T=' ' ;;
7032 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7033 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7034 esac
7035
7036 if expr a : '\(a\)' >/dev/null 2>&1; then
7037 as_expr=expr
7038 else
7039 as_expr=false
7040 fi
7041
7042 rm -f conf$$ conf$$.exe conf$$.file
7043 echo >conf$$.file
7044 if ln -s conf$$.file conf$$ 2>/dev/null; then
7045 # We could just check for DJGPP; but this test a) works b) is more generic
7046 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7047 if test -f conf$$.exe; then
7048 # Don't use ln at all; we don't have any links
7049 as_ln_s='cp -p'
7050 else
7051 as_ln_s='ln -s'
7052 fi
7053 elif ln conf$$.file conf$$ 2>/dev/null; then
7054 as_ln_s=ln
7055 else
7056 as_ln_s='cp -p'
7057 fi
7058 rm -f conf$$ conf$$.exe conf$$.file
7059
7060 as_executable_p="test -f"
7061
7062 # Sed expression to map a string onto a valid CPP name.
7063 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7064
7065 # Sed expression to map a string onto a valid variable name.
7066 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7067
7068
7069 # IFS
7070 # We need space, tab and new line, in precisely that order.
7071 as_nl='
7072 '
7073 IFS=" $as_nl"
7074
7075 # CDPATH.
7076 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
7077
7078 exec 6>&1
7079
7080 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7081 # report actual input values of CONFIG_FILES etc. instead of their
7082 # values after options handling. Logging --version etc. is OK.
7083 exec 5>>config.log
7084 {
7085 echo
7086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7087 ## Running $as_me. ##
7088 _ASBOX
7089 } >&5
7090 cat >&5 <<_CSEOF
7091
7092 This file was extended by Bobot++ $as_me 2.1.1CVS, which was
7093 generated by GNU Autoconf 2.53. Invocation command line was
7094
7095 CONFIG_FILES = $CONFIG_FILES
7096 CONFIG_HEADERS = $CONFIG_HEADERS
7097 CONFIG_LINKS = $CONFIG_LINKS
7098 CONFIG_COMMANDS = $CONFIG_COMMANDS
7099 $ $0 $@
7100
7101 _CSEOF
7102 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7103 echo >&5
7104 _ACEOF
7105
7106 # Files that config.status was made for.
7107 if test -n "$ac_config_files"; then
7108 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7109 fi
7110
7111 if test -n "$ac_config_headers"; then
7112 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7113 fi
7114
7115 if test -n "$ac_config_links"; then
7116 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7117 fi
7118
7119 if test -n "$ac_config_commands"; then
7120 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7121 fi
7122
7123 cat >>$CONFIG_STATUS <<\_ACEOF
7124
7125 ac_cs_usage="\
7126 \`$as_me' instantiates files from templates according to the
7127 current configuration.
7128
7129 Usage: $0 [OPTIONS] [FILE]...
7130
7131 -h, --help print this help, then exit
7132 -V, --version print version number, then exit
7133 -d, --debug don't remove temporary files
7134 --recheck update $as_me by reconfiguring in the same conditions
7135 --file=FILE[:TEMPLATE]
7136 instantiate the configuration file FILE
7137 --header=FILE[:TEMPLATE]
7138 instantiate the configuration header FILE
7139
7140 Configuration files:
7141 $config_files
7142
7143 Configuration headers:
7144 $config_headers
7145
7146 Configuration commands:
7147 $config_commands
7148
7149 Report bugs to <bug-autoconf@gnu.org>."
7150 _ACEOF
7151
7152 cat >>$CONFIG_STATUS <<_ACEOF
7153 ac_cs_version="\\
7154 Bobot++ config.status 2.1.1CVS
7155 configured by $0, generated by GNU Autoconf 2.53,
7156 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7157
7158 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7159 Free Software Foundation, Inc.
7160 This config.status script is free software; the Free Software Foundation
7161 gives unlimited permission to copy, distribute and modify it."
7162 srcdir=$srcdir
7163 INSTALL="$INSTALL"
7164 _ACEOF
7165
7166 cat >>$CONFIG_STATUS <<\_ACEOF
7167 # If no file are specified by the user, then we need to provide default
7168 # value. By we need to know if files were specified by the user.
7169 ac_need_defaults=:
7170 while test $# != 0
7171 do
7172 case $1 in
7173 --*=*)
7174 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7175 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7176 shift
7177 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
7178 shift
7179 ;;
7180 -*);;
7181 *) # This is not an option, so the user has probably given explicit
7182 # arguments.
7183 ac_need_defaults=false;;
7184 esac
7185
7186 case $1 in
7187 # Handling of the options.
7188 _ACEOF
7189 cat >>$CONFIG_STATUS <<_ACEOF
7190 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7191 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
7192 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
7193 _ACEOF
7194 cat >>$CONFIG_STATUS <<\_ACEOF
7195 --version | --vers* | -V )
7196 echo "$ac_cs_version"; exit 0 ;;
7197 --he | --h)
7198 # Conflict between --help and --header
7199 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7200 Try \`$0 --help' for more information." >&5
7201 echo "$as_me: error: ambiguous option: $1
7202 Try \`$0 --help' for more information." >&2;}
7203 { (exit 1); exit 1; }; };;
7204 --help | --hel | -h )
7205 echo "$ac_cs_usage"; exit 0 ;;
7206 --debug | --d* | -d )
7207 debug=: ;;
7208 --file | --fil | --fi | --f )
7209 shift
7210 CONFIG_FILES="$CONFIG_FILES $1"
7211 ac_need_defaults=false;;
7212 --header | --heade | --head | --hea )
7213 shift
7214 CONFIG_HEADERS="$CONFIG_HEADERS $1"
7215 ac_need_defaults=false;;
7216
7217 # This is an error.
7218 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7219 Try \`$0 --help' for more information." >&5
7220 echo "$as_me: error: unrecognized option: $1
7221 Try \`$0 --help' for more information." >&2;}
7222 { (exit 1); exit 1; }; } ;;
7223
7224 *) ac_config_targets="$ac_config_targets $1" ;;
7225
7226 esac
7227 shift
7228 done
7229
7230 _ACEOF
7231
7232 cat >>$CONFIG_STATUS <<_ACEOF
7233 #
7234 # INIT-COMMANDS section.
7235 #
7236
7237 AMDEP_TRUE="$AMDEP_TRUE"
7238 ac_aux_dir="$ac_aux_dir"
7239
7240 _ACEOF
7241
7242
7243
7244 cat >>$CONFIG_STATUS <<\_ACEOF
7245 for ac_config_target in $ac_config_targets
7246 do
7247 case "$ac_config_target" in
7248 # Handling of arguments.
7249 "source/Makefile" ) CONFIG_FILES="$CONFIG_FILES source/Makefile" ;;
7250 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
7251 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7252 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7253 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7254 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7255 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7256 { (exit 1); exit 1; }; };;
7257 esac
7258 done
7259
7260 # If the user did not use the arguments to specify the items to instantiate,
7261 # then the envvar interface is used. Set only those that are not.
7262 # We use the long form for the default assignment because of an extremely
7263 # bizarre bug on SunOS 4.1.3.
7264 if $ac_need_defaults; then
7265 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7266 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7267 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7268 fi
7269
7270 # Create a temporary directory, and hook for its removal unless debugging.
7271 $debug ||
7272 {
7273 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7274 trap '{ (exit 1); exit 1; }' 1 2 13 15
7275 }
7276
7277 # Create a (secure) tmp directory for tmp files.
7278 : ${TMPDIR=/tmp}
7279 {
7280 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7281 test -n "$tmp" && test -d "$tmp"
7282 } ||
7283 {
7284 tmp=$TMPDIR/cs$$-$RANDOM
7285 (umask 077 && mkdir $tmp)
7286 } ||
7287 {
7288 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7289 { (exit 1); exit 1; }
7290 }
7291
7292 _ACEOF
7293
7294 cat >>$CONFIG_STATUS <<_ACEOF
7295
7296 #
7297 # CONFIG_FILES section.
7298 #
7299
7300 # No need to generate the scripts if there are no CONFIG_FILES.
7301 # This happens for instance when ./config.status config.h
7302 if test -n "\$CONFIG_FILES"; then
7303 # Protect against being on the right side of a sed subst in config.status.
7304 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7305 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7306 s,@SHELL@,$SHELL,;t t
7307 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7308 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7309 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7310 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7311 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7312 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7313 s,@exec_prefix@,$exec_prefix,;t t
7314 s,@prefix@,$prefix,;t t
7315 s,@program_transform_name@,$program_transform_name,;t t
7316 s,@bindir@,$bindir,;t t
7317 s,@sbindir@,$sbindir,;t t
7318 s,@libexecdir@,$libexecdir,;t t
7319 s,@datadir@,$datadir,;t t
7320 s,@sysconfdir@,$sysconfdir,;t t
7321 s,@sharedstatedir@,$sharedstatedir,;t t
7322 s,@localstatedir@,$localstatedir,;t t
7323 s,@libdir@,$libdir,;t t
7324 s,@includedir@,$includedir,;t t
7325 s,@oldincludedir@,$oldincludedir,;t t
7326 s,@infodir@,$infodir,;t t
7327 s,@mandir@,$mandir,;t t
7328 s,@build_alias@,$build_alias,;t t
7329 s,@host_alias@,$host_alias,;t t
7330 s,@target_alias@,$target_alias,;t t
7331 s,@DEFS@,$DEFS,;t t
7332 s,@ECHO_C@,$ECHO_C,;t t
7333 s,@ECHO_N@,$ECHO_N,;t t
7334 s,@ECHO_T@,$ECHO_T,;t t
7335 s,@LIBS@,$LIBS,;t t
7336 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7337 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7338 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7339 s,@PACKAGE@,$PACKAGE,;t t
7340 s,@VERSION@,$VERSION,;t t
7341 s,@EXEEXT@,$EXEEXT,;t t
7342 s,@OBJEXT@,$OBJEXT,;t t
7343 s,@ACLOCAL@,$ACLOCAL,;t t
7344 s,@AUTOCONF@,$AUTOCONF,;t t
7345 s,@AUTOMAKE@,$AUTOMAKE,;t t
7346 s,@AUTOHEADER@,$AUTOHEADER,;t t
7347 s,@MAKEINFO@,$MAKEINFO,;t t
7348 s,@AMTAR@,$AMTAR,;t t
7349 s,@install_sh@,$install_sh,;t t
7350 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7351 s,@AWK@,$AWK,;t t
7352 s,@SET_MAKE@,$SET_MAKE,;t t
7353 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7354 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7355 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7356 s,@DEPDIR@,$DEPDIR,;t t
7357 s,@GUILE_LDFLAGS@,$GUILE_LDFLAGS,;t t
7358 s,@GUILE@,$GUILE,;t t
7359 s,@GUILE_CONFIG@,$GUILE_CONFIG,;t t
7360 s,@GUILE_TOOLS@,$GUILE_TOOLS,;t t
7361 s,@GUILE_CFLAGS@,$GUILE_CFLAGS,;t t
7362 s,@CXX@,$CXX,;t t
7363 s,@CXXFLAGS@,$CXXFLAGS,;t t
7364 s,@LDFLAGS@,$LDFLAGS,;t t
7365 s,@CPPFLAGS@,$CPPFLAGS,;t t
7366 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7367 s,@am__include@,$am__include,;t t
7368 s,@am__quote@,$am__quote,;t t
7369 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7370 s,@CXXCPP@,$CXXCPP,;t t
7371 s,@CC@,$CC,;t t
7372 s,@CFLAGS@,$CFLAGS,;t t
7373 s,@ac_ct_CC@,$ac_ct_CC,;t t
7374 s,@CCDEPMODE@,$CCDEPMODE,;t t
7375 CEOF
7376
7377 _ACEOF
7378
7379 cat >>$CONFIG_STATUS <<\_ACEOF
7380 # Split the substitutions into bite-sized pieces for seds with
7381 # small command number limits, like on Digital OSF/1 and HP-UX.
7382 ac_max_sed_lines=48
7383 ac_sed_frag=1 # Number of current file.
7384 ac_beg=1 # First line for current file.
7385 ac_end=$ac_max_sed_lines # Line after last line for current file.
7386 ac_more_lines=:
7387 ac_sed_cmds=
7388 while $ac_more_lines; do
7389 if test $ac_beg -gt 1; then
7390 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7391 else
7392 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7393 fi
7394 if test ! -s $tmp/subs.frag; then
7395 ac_more_lines=false
7396 else
7397 # The purpose of the label and of the branching condition is to
7398 # speed up the sed processing (if there are no `@' at all, there
7399 # is no need to browse any of the substitutions).
7400 # These are the two extra sed commands mentioned above.
7401 (echo ':t
7402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7403 if test -z "$ac_sed_cmds"; then
7404 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7405 else
7406 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7407 fi
7408 ac_sed_frag=`expr $ac_sed_frag + 1`
7409 ac_beg=$ac_end
7410 ac_end=`expr $ac_end + $ac_max_sed_lines`
7411 fi
7412 done
7413 if test -z "$ac_sed_cmds"; then
7414 ac_sed_cmds=cat
7415 fi
7416 fi # test -n "$CONFIG_FILES"
7417
7418 _ACEOF
7419 cat >>$CONFIG_STATUS <<\_ACEOF
7420 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7421 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7422 case $ac_file in
7423 - | *:- | *:-:* ) # input from stdin
7424 cat >$tmp/stdin
7425 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7426 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7427 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7428 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7429 * ) ac_file_in=$ac_file.in ;;
7430 esac
7431
7432 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7433 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7435 X"$ac_file" : 'X\(//\)[^/]' \| \
7436 X"$ac_file" : 'X\(//\)$' \| \
7437 X"$ac_file" : 'X\(/\)' \| \
7438 . : '\(.\)' 2>/dev/null ||
7439 echo X"$ac_file" |
7440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7442 /^X\(\/\/\)$/{ s//\1/; q; }
7443 /^X\(\/\).*/{ s//\1/; q; }
7444 s/.*/./; q'`
7445 { case "$ac_dir" in
7446 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
7447 *) as_incr_dir=.;;
7448 esac
7449 as_dummy="$ac_dir"
7450 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7451 case $as_mkdir_dir in
7452 # Skip DOS drivespec
7453 ?:) as_incr_dir=$as_mkdir_dir ;;
7454 *)
7455 as_incr_dir=$as_incr_dir/$as_mkdir_dir
7456 test -d "$as_incr_dir" ||
7457 mkdir "$as_incr_dir" ||
7458 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
7459 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
7460 { (exit 1); exit 1; }; }
7461 ;;
7462 esac
7463 done; }
7464
7465 ac_builddir=.
7466
7467 if test "$ac_dir" != .; then
7468 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7469 # A "../" for each directory in $ac_dir_suffix.
7470 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7471 else
7472 ac_dir_suffix= ac_top_builddir=
7473 fi
7474
7475 case $srcdir in
7476 .) # No --srcdir option. We are building in place.
7477 ac_srcdir=.
7478 if test -z "$ac_top_builddir"; then
7479 ac_top_srcdir=.
7480 else
7481 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7482 fi ;;
7483 [\\/]* | ?:[\\/]* ) # Absolute path.
7484 ac_srcdir=$srcdir$ac_dir_suffix;
7485 ac_top_srcdir=$srcdir ;;
7486 *) # Relative path.
7487 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7488 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7489 esac
7490 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7491 # absolute.
7492 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7493 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
7494 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7495 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7496
7497
7498 case $INSTALL in
7499 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7500 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7501 esac
7502
7503 if test x"$ac_file" != x-; then
7504 { echo "$as_me:$LINENO: creating $ac_file" >&5
7505 echo "$as_me: creating $ac_file" >&6;}
7506 rm -f "$ac_file"
7507 fi
7508 # Let's still pretend it is `configure' which instantiates (i.e., don't
7509 # use $as_me), people would be surprised to read:
7510 # /* config.h. Generated by config.status. */
7511 if test x"$ac_file" = x-; then
7512 configure_input=
7513 else
7514 configure_input="$ac_file. "
7515 fi
7516 configure_input=$configure_input"Generated from `echo $ac_file_in |
7517 sed 's,.*/,,'` by configure."
7518
7519 # First look for the input files in the build tree, otherwise in the
7520 # src tree.
7521 ac_file_inputs=`IFS=:
7522 for f in $ac_file_in; do
7523 case $f in
7524 -) echo $tmp/stdin ;;
7525 [\\/$]*)
7526 # Absolute (can't be DOS-style, as IFS=:)
7527 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7528 echo "$as_me: error: cannot find input file: $f" >&2;}
7529 { (exit 1); exit 1; }; }
7530 echo $f;;
7531 *) # Relative
7532 if test -f "$f"; then
7533 # Build tree
7534 echo $f
7535 elif test -f "$srcdir/$f"; then
7536 # Source tree
7537 echo $srcdir/$f
7538 else
7539 # /dev/null tree
7540 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7541 echo "$as_me: error: cannot find input file: $f" >&2;}
7542 { (exit 1); exit 1; }; }
7543 fi;;
7544 esac
7545 done` || { (exit 1); exit 1; }
7546 _ACEOF
7547 cat >>$CONFIG_STATUS <<_ACEOF
7548 sed "$ac_vpsub
7549 $extrasub
7550 _ACEOF
7551 cat >>$CONFIG_STATUS <<\_ACEOF
7552 :t
7553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7554 s,@configure_input@,$configure_input,;t t
7555 s,@srcdir@,$ac_srcdir,;t t
7556 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7557 s,@top_srcdir@,$ac_top_srcdir,;t t
7558 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7559 s,@builddir@,$ac_builddir,;t t
7560 s,@abs_builddir@,$ac_abs_builddir,;t t
7561 s,@top_builddir@,$ac_top_builddir,;t t
7562 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7563 s,@INSTALL@,$ac_INSTALL,;t t
7564 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7565 rm -f $tmp/stdin
7566 if test x"$ac_file" != x-; then
7567 mv $tmp/out $ac_file
7568 else
7569 cat $tmp/out
7570 rm -f $tmp/out
7571 fi
7572
7573 done
7574 _ACEOF
7575 cat >>$CONFIG_STATUS <<\_ACEOF
7576
7577 #
7578 # CONFIG_HEADER section.
7579 #
7580
7581 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7582 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7583 #
7584 # ac_d sets the value in "#define NAME VALUE" lines.
7585 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7586 ac_dB='[ ].*$,\1#\2'
7587 ac_dC=' '
7588 ac_dD=',;t'
7589 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7590 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7591 ac_uB='$,\1#\2define\3'
7592 ac_uC=' '
7593 ac_uD=',;t'
7594
7595 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7596 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7597 case $ac_file in
7598 - | *:- | *:-:* ) # input from stdin
7599 cat >$tmp/stdin
7600 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7601 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7602 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7603 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7604 * ) ac_file_in=$ac_file.in ;;
7605 esac
7606
7607 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7608 echo "$as_me: creating $ac_file" >&6;}
7609
7610 # First look for the input files in the build tree, otherwise in the
7611 # src tree.
7612 ac_file_inputs=`IFS=:
7613 for f in $ac_file_in; do
7614 case $f in
7615 -) echo $tmp/stdin ;;
7616 [\\/$]*)
7617 # Absolute (can't be DOS-style, as IFS=:)
7618 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7619 echo "$as_me: error: cannot find input file: $f" >&2;}
7620 { (exit 1); exit 1; }; }
7621 echo $f;;
7622 *) # Relative
7623 if test -f "$f"; then
7624 # Build tree
7625 echo $f
7626 elif test -f "$srcdir/$f"; then
7627 # Source tree
7628 echo $srcdir/$f
7629 else
7630 # /dev/null tree
7631 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7632 echo "$as_me: error: cannot find input file: $f" >&2;}
7633 { (exit 1); exit 1; }; }
7634 fi;;
7635 esac
7636 done` || { (exit 1); exit 1; }
7637 # Remove the trailing spaces.
7638 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7639
7640 _ACEOF
7641
7642 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7643 # `conftest.undefs', that substitutes the proper values into
7644 # config.h.in to produce config.h. The first handles `#define'
7645 # templates, and the second `#undef' templates.
7646 # And first: Protect against being on the right side of a sed subst in
7647 # config.status. Protect against being in an unquoted here document
7648 # in config.status.
7649 rm -f conftest.defines conftest.undefs
7650 # Using a here document instead of a string reduces the quoting nightmare.
7651 # Putting comments in sed scripts is not portable.
7652 #
7653 # `end' is used to avoid that the second main sed command (meant for
7654 # 0-ary CPP macros) applies to n-ary macro definitions.
7655 # See the Autoconf documentation for `clear'.
7656 cat >confdef2sed.sed <<\_ACEOF
7657 s/[\\&,]/\\&/g
7658 s,[\\$`],\\&,g
7659 t clear
7660 : clear
7661 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7662 t end
7663 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7664 : end
7665 _ACEOF
7666 # If some macros were called several times there might be several times
7667 # the same #defines, which is useless. Nevertheless, we may not want to
7668 # sort them, since we want the *last* AC-DEFINE to be honored.
7669 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7670 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7671 rm -f confdef2sed.sed
7672
7673 # This sed command replaces #undef with comments. This is necessary, for
7674 # example, in the case of _POSIX_SOURCE, which is predefined and required
7675 # on some systems where configure will not decide to define it.
7676 cat >>conftest.undefs <<\_ACEOF
7677 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7678 _ACEOF
7679
7680 # Break up conftest.defines because some shells have a limit on the size
7681 # of here documents, and old seds have small limits too (100 cmds).
7682 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7683 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7684 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7685 echo ' :' >>$CONFIG_STATUS
7686 rm -f conftest.tail
7687 while grep . conftest.defines >/dev/null
7688 do
7689 # Write a limited-size here document to $tmp/defines.sed.
7690 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7691 # Speed up: don't consider the non `#define' lines.
7692 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7693 # Work around the forget-to-reset-the-flag bug.
7694 echo 't clr' >>$CONFIG_STATUS
7695 echo ': clr' >>$CONFIG_STATUS
7696 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7697 echo 'CEOF
7698 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7699 rm -f $tmp/in
7700 mv $tmp/out $tmp/in
7701 ' >>$CONFIG_STATUS
7702 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7703 rm -f conftest.defines
7704 mv conftest.tail conftest.defines
7705 done
7706 rm -f conftest.defines
7707 echo ' fi # egrep' >>$CONFIG_STATUS
7708 echo >>$CONFIG_STATUS
7709
7710 # Break up conftest.undefs because some shells have a limit on the size
7711 # of here documents, and old seds have small limits too (100 cmds).
7712 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7713 rm -f conftest.tail
7714 while grep . conftest.undefs >/dev/null
7715 do
7716 # Write a limited-size here document to $tmp/undefs.sed.
7717 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7718 # Speed up: don't consider the non `#undef'
7719 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7720 # Work around the forget-to-reset-the-flag bug.
7721 echo 't clr' >>$CONFIG_STATUS
7722 echo ': clr' >>$CONFIG_STATUS
7723 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7724 echo 'CEOF
7725 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7726 rm -f $tmp/in
7727 mv $tmp/out $tmp/in
7728 ' >>$CONFIG_STATUS
7729 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7730 rm -f conftest.undefs
7731 mv conftest.tail conftest.undefs
7732 done
7733 rm -f conftest.undefs
7734
7735 cat >>$CONFIG_STATUS <<\_ACEOF
7736 # Let's still pretend it is `configure' which instantiates (i.e., don't
7737 # use $as_me), people would be surprised to read:
7738 # /* config.h. Generated by config.status. */
7739 if test x"$ac_file" = x-; then
7740 echo "/* Generated by configure. */" >$tmp/config.h
7741 else
7742 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7743 fi
7744 cat $tmp/in >>$tmp/config.h
7745 rm -f $tmp/in
7746 if test x"$ac_file" != x-; then
7747 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7748 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7749 echo "$as_me: $ac_file is unchanged" >&6;}
7750 else
7751 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7752 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7753 X"$ac_file" : 'X\(//\)[^/]' \| \
7754 X"$ac_file" : 'X\(//\)$' \| \
7755 X"$ac_file" : 'X\(/\)' \| \
7756 . : '\(.\)' 2>/dev/null ||
7757 echo X"$ac_file" |
7758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7760 /^X\(\/\/\)$/{ s//\1/; q; }
7761 /^X\(\/\).*/{ s//\1/; q; }
7762 s/.*/./; q'`
7763 { case "$ac_dir" in
7764 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
7765 *) as_incr_dir=.;;
7766 esac
7767 as_dummy="$ac_dir"
7768 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7769 case $as_mkdir_dir in
7770 # Skip DOS drivespec
7771 ?:) as_incr_dir=$as_mkdir_dir ;;
7772 *)
7773 as_incr_dir=$as_incr_dir/$as_mkdir_dir
7774 test -d "$as_incr_dir" ||
7775 mkdir "$as_incr_dir" ||
7776 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
7777 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
7778 { (exit 1); exit 1; }; }
7779 ;;
7780 esac
7781 done; }
7782
7783 rm -f $ac_file
7784 mv $tmp/config.h $ac_file
7785 fi
7786 else
7787 cat $tmp/config.h
7788 rm -f $tmp/config.h
7789 fi
7790 # Run the commands associated with the file.
7791 case $ac_file in
7792 config.h ) # update the timestamp
7793 echo timestamp >"./stamp-h1"
7794 ;;
7795 esac
7796 done
7797 _ACEOF
7798 cat >>$CONFIG_STATUS <<\_ACEOF
7799
7800 #
7801 # CONFIG_COMMANDS section.
7802 #
7803 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7804 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7805 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7806 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7807 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7808 X"$ac_dest" : 'X\(//\)[^/]' \| \
7809 X"$ac_dest" : 'X\(//\)$' \| \
7810 X"$ac_dest" : 'X\(/\)' \| \
7811 . : '\(.\)' 2>/dev/null ||
7812 echo X"$ac_dest" |
7813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7815 /^X\(\/\/\)$/{ s//\1/; q; }
7816 /^X\(\/\).*/{ s//\1/; q; }
7817 s/.*/./; q'`
7818 ac_builddir=.
7819
7820 if test "$ac_dir" != .; then
7821 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7822 # A "../" for each directory in $ac_dir_suffix.
7823 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7824 else
7825 ac_dir_suffix= ac_top_builddir=
7826 fi
7827
7828 case $srcdir in
7829 .) # No --srcdir option. We are building in place.
7830 ac_srcdir=.
7831 if test -z "$ac_top_builddir"; then
7832 ac_top_srcdir=.
7833 else
7834 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7835 fi ;;
7836 [\\/]* | ?:[\\/]* ) # Absolute path.
7837 ac_srcdir=$srcdir$ac_dir_suffix;
7838 ac_top_srcdir=$srcdir ;;
7839 *) # Relative path.
7840 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7841 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7842 esac
7843 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7844 # absolute.
7845 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7846 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
7847 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7848 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7849
7850
7851 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7852 echo "$as_me: executing $ac_dest commands" >&6;}
7853 case $ac_dest in
7854 default-1 )
7855 test x"$AMDEP_TRUE" != x"" ||
7856 for mf in $CONFIG_FILES; do
7857 case "$mf" in
7858 Makefile) dirpart=.;;
7859 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
7860 *) continue;;
7861 esac
7862 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7863 # Extract the definition of DEP_FILES from the Makefile without
7864 # running `make'.
7865 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7866 test -z "$DEPDIR" && continue
7867 # When using ansi2knr, U may be empty or an underscore; expand it
7868 U=`sed -n -e '/^U = / s///p' < "$mf"`
7869 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7870 # We invoke sed twice because it is the simplest approach to
7871 # changing $(DEPDIR) to its actual value in the expansion.
7872 for file in `sed -n -e '
7873 /^DEP_FILES = .*\\\\$/ {
7874 s/^DEP_FILES = //
7875 :loop
7876 s/\\\\$//
7877 p
7878 n
7879 /\\\\$/ b loop
7880 p
7881 }
7882 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7883 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7884 # Make sure the directory exists.
7885 test -f "$dirpart/$file" && continue
7886 fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
7887 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
7888 # echo "creating $dirpart/$file"
7889 echo '# dummy' > "$dirpart/$file"
7890 done
7891 done
7892 ;;
7893 esac
7894 done
7895 _ACEOF
7896
7897 cat >>$CONFIG_STATUS <<\_ACEOF
7898
7899 { (exit 0); exit 0; }
7900 _ACEOF
7901 chmod +x $CONFIG_STATUS
7902 ac_clean_files=$ac_clean_files_save
7903
7904
7905 # configure is writing to config.log, and then calls config.status.
7906 # config.status does its own redirection, appending to config.log.
7907 # Unfortunately, on DOS this fails, as config.log is still kept open
7908 # by configure, so config.status won't be able to write to it; its
7909 # output is simply discarded. So we exec the FD to /dev/null,
7910 # effectively closing config.log, so it can be properly (re)opened and
7911 # appended to by config.status. When coming back to configure, we
7912 # need to make the FD available again.
7913 if test "$no_create" != yes; then
7914 ac_cs_success=:
7915 exec 5>/dev/null
7916 $SHELL $CONFIG_STATUS || ac_cs_success=false
7917 exec 5>>config.log
7918 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7919 # would make configure fail if this is the last instruction.
7920 $ac_cs_success || { (exit 1); exit 1; }
7921 fi
7922