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