Regenerated html docs. Tweaked how Makefile.am builds tarballs.
[dejagnu.git] / configure
blobf78605cf4d9b27ca724f510155be53b775622bc6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
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
31 # Name of the executable.
32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a : '\(a\)' >/dev/null 2>&1; then
35 as_expr=expr
36 else
37 as_expr=false
40 rm -f conf$$ conf$$.exe conf$$.file
41 echo >conf$$.file
42 if ln -s conf$$.file conf$$ 2>/dev/null; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe; then
46 # Don't use ln at all; we don't have any links
47 as_ln_s='cp -p'
48 else
49 as_ln_s='ln -s'
51 elif ln conf$$.file conf$$ 2>/dev/null; then
52 as_ln_s=ln
53 else
54 as_ln_s='cp -p'
56 rm -f conf$$ conf$$.exe conf$$.file
58 as_executable_p="test -f"
60 # Support unset when possible.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62 as_unset=unset
63 else
64 as_unset=false
67 # NLS nuisances.
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
77 # IFS
78 # We need space, tab and new line, in precisely that order.
79 as_nl='
81 IFS=" $as_nl"
83 # CDPATH.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
86 # Name of the host.
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
91 exec 6>&1
94 # Initializations.
96 ac_default_prefix=/usr/local
97 cross_compiling=no
98 subdirs=
99 MFLAGS= MAKEFLAGS=
100 SHELL=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file="runtest.exp"
108 ac_subdirs_all="$ac_subdirs_all example/calc example/hello"
110 # Initialize some variables set by options.
111 ac_init_help=
112 ac_init_version=false
113 # The variables have the same names as the options, with
114 # dashes changed to underlines.
115 cache_file=/dev/null
116 exec_prefix=NONE
117 no_create=
118 no_recursion=
119 prefix=NONE
120 program_prefix=NONE
121 program_suffix=NONE
122 program_transform_name=s,x,x,
123 silent=
124 site=
125 srcdir=
126 verbose=
127 x_includes=NONE
128 x_libraries=NONE
130 # Installation directory options.
131 # These are left unexpanded so users can "make install exec_prefix=/foo"
132 # and all the variables that are supposed to be based on exec_prefix
133 # by default will actually change.
134 # Use braces instead of parens because sh, perl, etc. also accept them.
135 bindir='${exec_prefix}/bin'
136 sbindir='${exec_prefix}/sbin'
137 libexecdir='${exec_prefix}/libexec'
138 datadir='${prefix}/share'
139 sysconfdir='${prefix}/etc'
140 sharedstatedir='${prefix}/com'
141 localstatedir='${prefix}/var'
142 libdir='${exec_prefix}/lib'
143 includedir='${prefix}/include'
144 oldincludedir='/usr/include'
145 infodir='${prefix}/info'
146 mandir='${prefix}/man'
148 # Identity of this package.
149 PACKAGE_NAME=
150 PACKAGE_TARNAME=
151 PACKAGE_VERSION=
152 PACKAGE_STRING=
153 PACKAGE_BUGREPORT=
155 ac_prev=
156 for ac_option
158 # If the previous option needs an argument, assign it.
159 if test -n "$ac_prev"; then
160 eval "$ac_prev=\$ac_option"
161 ac_prev=
162 continue
165 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
167 # Accept the important Cygnus configure options, so we can diagnose typos.
169 case $ac_option in
171 -bindir | --bindir | --bindi | --bind | --bin | --bi)
172 ac_prev=bindir ;;
173 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
174 bindir=$ac_optarg ;;
176 -build | --build | --buil | --bui | --bu)
177 ac_prev=build_alias ;;
178 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
179 build_alias=$ac_optarg ;;
181 -cache-file | --cache-file | --cache-fil | --cache-fi \
182 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
183 ac_prev=cache_file ;;
184 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
185 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
186 cache_file=$ac_optarg ;;
188 --config-cache | -C)
189 cache_file=config.cache ;;
191 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
192 ac_prev=datadir ;;
193 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
194 | --da=*)
195 datadir=$ac_optarg ;;
197 -disable-* | --disable-*)
198 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
199 # Reject names that are not valid shell variable names.
200 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
201 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
202 { (exit 1); exit 1; }; }
203 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
204 eval "enable_$ac_feature=no" ;;
206 -enable-* | --enable-*)
207 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
208 # Reject names that are not valid shell variable names.
209 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
210 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
211 { (exit 1); exit 1; }; }
212 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
213 case $ac_option in
214 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
215 *) ac_optarg=yes ;;
216 esac
217 eval "enable_$ac_feature='$ac_optarg'" ;;
219 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
220 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
221 | --exec | --exe | --ex)
222 ac_prev=exec_prefix ;;
223 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
224 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
225 | --exec=* | --exe=* | --ex=*)
226 exec_prefix=$ac_optarg ;;
228 -gas | --gas | --ga | --g)
229 # Obsolete; use --with-gas.
230 with_gas=yes ;;
232 -help | --help | --hel | --he | -h)
233 ac_init_help=long ;;
234 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
235 ac_init_help=recursive ;;
236 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
237 ac_init_help=short ;;
239 -host | --host | --hos | --ho)
240 ac_prev=host_alias ;;
241 -host=* | --host=* | --hos=* | --ho=*)
242 host_alias=$ac_optarg ;;
244 -includedir | --includedir | --includedi | --included | --include \
245 | --includ | --inclu | --incl | --inc)
246 ac_prev=includedir ;;
247 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
248 | --includ=* | --inclu=* | --incl=* | --inc=*)
249 includedir=$ac_optarg ;;
251 -infodir | --infodir | --infodi | --infod | --info | --inf)
252 ac_prev=infodir ;;
253 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
254 infodir=$ac_optarg ;;
256 -libdir | --libdir | --libdi | --libd)
257 ac_prev=libdir ;;
258 -libdir=* | --libdir=* | --libdi=* | --libd=*)
259 libdir=$ac_optarg ;;
261 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
262 | --libexe | --libex | --libe)
263 ac_prev=libexecdir ;;
264 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
265 | --libexe=* | --libex=* | --libe=*)
266 libexecdir=$ac_optarg ;;
268 -localstatedir | --localstatedir | --localstatedi | --localstated \
269 | --localstate | --localstat | --localsta | --localst \
270 | --locals | --local | --loca | --loc | --lo)
271 ac_prev=localstatedir ;;
272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
273 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
274 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
275 localstatedir=$ac_optarg ;;
277 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
278 ac_prev=mandir ;;
279 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
280 mandir=$ac_optarg ;;
282 -nfp | --nfp | --nf)
283 # Obsolete; use --without-fp.
284 with_fp=no ;;
286 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
287 | --no-cr | --no-c)
288 no_create=yes ;;
290 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
291 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
292 no_recursion=yes ;;
294 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
295 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
296 | --oldin | --oldi | --old | --ol | --o)
297 ac_prev=oldincludedir ;;
298 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
299 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
300 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
301 oldincludedir=$ac_optarg ;;
303 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
304 ac_prev=prefix ;;
305 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
306 prefix=$ac_optarg ;;
308 -program-prefix | --program-prefix | --program-prefi | --program-pref \
309 | --program-pre | --program-pr | --program-p)
310 ac_prev=program_prefix ;;
311 -program-prefix=* | --program-prefix=* | --program-prefi=* \
312 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
313 program_prefix=$ac_optarg ;;
315 -program-suffix | --program-suffix | --program-suffi | --program-suff \
316 | --program-suf | --program-su | --program-s)
317 ac_prev=program_suffix ;;
318 -program-suffix=* | --program-suffix=* | --program-suffi=* \
319 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
320 program_suffix=$ac_optarg ;;
322 -program-transform-name | --program-transform-name \
323 | --program-transform-nam | --program-transform-na \
324 | --program-transform-n | --program-transform- \
325 | --program-transform | --program-transfor \
326 | --program-transfo | --program-transf \
327 | --program-trans | --program-tran \
328 | --progr-tra | --program-tr | --program-t)
329 ac_prev=program_transform_name ;;
330 -program-transform-name=* | --program-transform-name=* \
331 | --program-transform-nam=* | --program-transform-na=* \
332 | --program-transform-n=* | --program-transform-=* \
333 | --program-transform=* | --program-transfor=* \
334 | --program-transfo=* | --program-transf=* \
335 | --program-trans=* | --program-tran=* \
336 | --progr-tra=* | --program-tr=* | --program-t=*)
337 program_transform_name=$ac_optarg ;;
339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
340 | -silent | --silent | --silen | --sile | --sil)
341 silent=yes ;;
343 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
344 ac_prev=sbindir ;;
345 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
346 | --sbi=* | --sb=*)
347 sbindir=$ac_optarg ;;
349 -sharedstatedir | --sharedstatedir | --sharedstatedi \
350 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
351 | --sharedst | --shareds | --shared | --share | --shar \
352 | --sha | --sh)
353 ac_prev=sharedstatedir ;;
354 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
355 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
356 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
357 | --sha=* | --sh=*)
358 sharedstatedir=$ac_optarg ;;
360 -site | --site | --sit)
361 ac_prev=site ;;
362 -site=* | --site=* | --sit=*)
363 site=$ac_optarg ;;
365 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
366 ac_prev=srcdir ;;
367 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
368 srcdir=$ac_optarg ;;
370 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
371 | --syscon | --sysco | --sysc | --sys | --sy)
372 ac_prev=sysconfdir ;;
373 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
374 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
375 sysconfdir=$ac_optarg ;;
377 -target | --target | --targe | --targ | --tar | --ta | --t)
378 ac_prev=target_alias ;;
379 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
380 target_alias=$ac_optarg ;;
382 -v | -verbose | --verbose | --verbos | --verbo | --verb)
383 verbose=yes ;;
385 -version | --version | --versio | --versi | --vers | -V)
386 ac_init_version=: ;;
388 -with-* | --with-*)
389 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
390 # Reject names that are not valid shell variable names.
391 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
392 { echo "$as_me: error: invalid package name: $ac_package" >&2
393 { (exit 1); exit 1; }; }
394 ac_package=`echo $ac_package| sed 's/-/_/g'`
395 case $ac_option in
396 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
397 *) ac_optarg=yes ;;
398 esac
399 eval "with_$ac_package='$ac_optarg'" ;;
401 -without-* | --without-*)
402 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
403 # Reject names that are not valid shell variable names.
404 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
405 { echo "$as_me: error: invalid package name: $ac_package" >&2
406 { (exit 1); exit 1; }; }
407 ac_package=`echo $ac_package | sed 's/-/_/g'`
408 eval "with_$ac_package=no" ;;
410 --x)
411 # Obsolete; use --with-x.
412 with_x=yes ;;
414 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
415 | --x-incl | --x-inc | --x-in | --x-i)
416 ac_prev=x_includes ;;
417 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
418 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
419 x_includes=$ac_optarg ;;
421 -x-libraries | --x-libraries | --x-librarie | --x-librari \
422 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
423 ac_prev=x_libraries ;;
424 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
425 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
426 x_libraries=$ac_optarg ;;
428 -*) { echo "$as_me: error: unrecognized option: $ac_option
429 Try \`$0 --help' for more information." >&2
430 { (exit 1); exit 1; }; }
433 *=*)
434 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
435 # Reject names that are not valid shell variable names.
436 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
437 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
438 { (exit 1); exit 1; }; }
439 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
440 eval "$ac_envvar='$ac_optarg'"
441 export $ac_envvar ;;
444 # FIXME: should be removed in autoconf 3.0.
445 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
446 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
447 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
448 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
451 esac
452 done
454 if test -n "$ac_prev"; then
455 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
456 { echo "$as_me: error: missing argument to $ac_option" >&2
457 { (exit 1); exit 1; }; }
460 # Be sure to have absolute paths.
461 for ac_var in exec_prefix prefix
463 eval ac_val=$`echo $ac_var`
464 case $ac_val in
465 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
466 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
467 { (exit 1); exit 1; }; };;
468 esac
469 done
471 # Be sure to have absolute paths.
472 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
473 localstatedir libdir includedir oldincludedir infodir mandir
475 eval ac_val=$`echo $ac_var`
476 case $ac_val in
477 [\\/$]* | ?:[\\/]* ) ;;
478 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
479 { (exit 1); exit 1; }; };;
480 esac
481 done
483 # There might be people who depend on the old broken behavior: `$host'
484 # used to hold the argument of --host etc.
485 build=$build_alias
486 host=$host_alias
487 target=$target_alias
489 # FIXME: should be removed in autoconf 3.0.
490 if test "x$host_alias" != x; then
491 if test "x$build_alias" = x; then
492 cross_compiling=maybe
493 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
494 If a cross compiler is detected then cross compile mode will be used." >&2
495 elif test "x$build_alias" != "x$host_alias"; then
496 cross_compiling=yes
500 ac_tool_prefix=
501 test -n "$host_alias" && ac_tool_prefix=$host_alias-
503 test "$silent" = yes && exec 6>/dev/null
505 # Find the source files, if location was not specified.
506 if test -z "$srcdir"; then
507 ac_srcdir_defaulted=yes
508 # Try the directory containing this script, then its parent.
509 ac_prog=$0
510 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
511 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
512 srcdir=$ac_confdir
513 if test ! -r $srcdir/$ac_unique_file; then
514 srcdir=..
516 else
517 ac_srcdir_defaulted=no
519 if test ! -r $srcdir/$ac_unique_file; then
520 if test "$ac_srcdir_defaulted" = yes; then
521 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
522 { (exit 1); exit 1; }; }
523 else
524 { echo "$as_me: error: cannot find sources in $srcdir" >&2
525 { (exit 1); exit 1; }; }
528 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
529 ac_env_build_alias_set=${build_alias+set}
530 ac_env_build_alias_value=$build_alias
531 ac_cv_env_build_alias_set=${build_alias+set}
532 ac_cv_env_build_alias_value=$build_alias
533 ac_env_host_alias_set=${host_alias+set}
534 ac_env_host_alias_value=$host_alias
535 ac_cv_env_host_alias_set=${host_alias+set}
536 ac_cv_env_host_alias_value=$host_alias
537 ac_env_target_alias_set=${target_alias+set}
538 ac_env_target_alias_value=$target_alias
539 ac_cv_env_target_alias_set=${target_alias+set}
540 ac_cv_env_target_alias_value=$target_alias
541 ac_env_CC_set=${CC+set}
542 ac_env_CC_value=$CC
543 ac_cv_env_CC_set=${CC+set}
544 ac_cv_env_CC_value=$CC
545 ac_env_CFLAGS_set=${CFLAGS+set}
546 ac_env_CFLAGS_value=$CFLAGS
547 ac_cv_env_CFLAGS_set=${CFLAGS+set}
548 ac_cv_env_CFLAGS_value=$CFLAGS
549 ac_env_LDFLAGS_set=${LDFLAGS+set}
550 ac_env_LDFLAGS_value=$LDFLAGS
551 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
552 ac_cv_env_LDFLAGS_value=$LDFLAGS
553 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
554 ac_env_CPPFLAGS_value=$CPPFLAGS
555 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
556 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
557 ac_env_CXX_set=${CXX+set}
558 ac_env_CXX_value=$CXX
559 ac_cv_env_CXX_set=${CXX+set}
560 ac_cv_env_CXX_value=$CXX
561 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
562 ac_env_CXXFLAGS_value=$CXXFLAGS
563 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
564 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
567 # Report the --help message.
569 if test "$ac_init_help" = "long"; then
570 # Omit some internal or obsolete options to make the list less imposing.
571 # This message is too long to be a string in the A/UX 3.1 sh.
572 cat <<EOF
573 \`configure' configures this package to adapt to many kinds of systems.
575 Usage: $0 [OPTION]... [VAR=VALUE]...
577 To assign environment variables (e.g., CC, CFLAGS...), specify them as
578 VAR=VALUE. See below for descriptions of some of the useful variables.
580 Defaults for the options are specified in brackets.
582 Configuration:
583 -h, --help display this help and exit
584 --help=short display options specific to this package
585 --help=recursive display the short help of all the included packages
586 -V, --version display version information and exit
587 -q, --quiet, --silent do not print \`checking...' messages
588 --cache-file=FILE cache test results in FILE [disabled]
589 -C, --config-cache alias for \`--cache-file=config.cache'
590 -n, --no-create do not create output files
591 --srcdir=DIR find the sources in DIR [configure dir or \`..']
595 cat <<EOF
596 Installation directories:
597 --prefix=PREFIX install architecture-independent files in PREFIX
598 [$ac_default_prefix]
599 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
600 [PREFIX]
602 By default, \`make install' will install all the files in
603 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
604 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
605 for instance \`--prefix=\$HOME'.
607 For better control, use the options below.
609 Fine tuning of the installation directories:
610 --bindir=DIR user executables [EPREFIX/bin]
611 --sbindir=DIR system admin executables [EPREFIX/sbin]
612 --libexecdir=DIR program executables [EPREFIX/libexec]
613 --datadir=DIR read-only architecture-independent data [PREFIX/share]
614 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
615 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
616 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
617 --libdir=DIR object code libraries [EPREFIX/lib]
618 --includedir=DIR C header files [PREFIX/include]
619 --oldincludedir=DIR C header files for non-gcc [/usr/include]
620 --infodir=DIR info documentation [PREFIX/info]
621 --mandir=DIR man documentation [PREFIX/man]
624 cat <<\EOF
626 Program names:
627 --program-prefix=PREFIX prepend PREFIX to installed program names
628 --program-suffix=SUFFIX append SUFFIX to installed program names
629 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
633 if test -n "$ac_init_help"; then
635 cat <<\EOF
637 Optional Features:
638 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
639 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
640 --disable-dependency-tracking Speeds up one-time builds
641 --enable-dependency-tracking Do not reject slow dependency extractors
642 --enable-maintainer-mode enable make rules and dependencies not useful
643 (and sometimes confusing) to the casual installer
645 Optional Packages:
646 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
647 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
648 --with-docbook directory where the db2 sgml tools are
649 --with-tclinclude directory where tcl header
650 s are
652 Some influential environment variables:
653 CC C compiler command
654 CFLAGS C compiler flags
655 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
656 nonstandard directory <lib dir>
657 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
658 headers in a nonstandard directory <include dir>
659 CXX C++ compiler command
660 CXXFLAGS C++ compiler flags
662 Use these variables to override the choices made by `configure' or to help
663 it to find libraries and programs with nonstandard names/locations.
668 if test "$ac_init_help" = "recursive"; then
669 # If there are subdirs, report their specific --help.
670 ac_popdir=`pwd`
671 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
672 cd $ac_subdir
673 # A "../" for each directory in /$ac_subdir.
674 ac_dots=`echo $ac_subdir |
675 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
677 case $srcdir in
678 .) # No --srcdir option. We are building in place.
679 ac_sub_srcdir=$srcdir ;;
680 [\\/]* | ?:[\\/]* ) # Absolute path.
681 ac_sub_srcdir=$srcdir/$ac_subdir ;;
682 *) # Relative path.
683 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
684 esac
686 # Check for guested configure; otherwise get Cygnus style configure.
687 if test -f $ac_sub_srcdir/configure.gnu; then
688 echo
689 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
690 elif test -f $ac_sub_srcdir/configure; then
691 echo
692 $SHELL $ac_sub_srcdir/configure --help=recursive
693 elif test -f $ac_sub_srcdir/configure.ac ||
694 test -f $ac_sub_srcdir/configure.in; then
695 echo
696 $ac_configure --help
697 else
698 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
700 cd $ac_popdir
701 done
704 test -n "$ac_init_help" && exit 0
705 if $ac_init_version; then
706 cat <<\EOF
708 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
709 Free Software Foundation, Inc.
710 This configure script is free software; the Free Software Foundation
711 gives unlimited permission to copy, distribute and modify it.
713 exit 0
715 exec 5>config.log
716 cat >&5 <<EOF
717 This file contains any messages produced by compilers while
718 running configure, to aid debugging if configure makes a mistake.
720 It was created by $as_me, which was
721 generated by GNU Autoconf 2.52. Invocation command line was
723 $ $0 $@
727 cat <<_ASUNAME
728 ## ---------- ##
729 ## Platform. ##
730 ## ---------- ##
732 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
733 uname -m = `(uname -m) 2>/dev/null || echo unknown`
734 uname -r = `(uname -r) 2>/dev/null || echo unknown`
735 uname -s = `(uname -s) 2>/dev/null || echo unknown`
736 uname -v = `(uname -v) 2>/dev/null || echo unknown`
738 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
739 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
741 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
742 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
743 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
744 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
745 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
746 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
747 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
749 PATH = $PATH
751 _ASUNAME
752 } >&5
754 cat >&5 <<EOF
755 ## ------------ ##
756 ## Core tests. ##
757 ## ------------ ##
761 # Keep a trace of the command line.
762 # Strip out --no-create and --no-recursion so they do not pile up.
763 # Also quote any args containing shell meta-characters.
764 ac_configure_args=
765 ac_sep=
766 for ac_arg
768 case $ac_arg in
769 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
770 | --no-cr | --no-c) ;;
771 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
772 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
773 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
774 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
775 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
776 ac_sep=" " ;;
777 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
778 ac_sep=" " ;;
779 esac
780 # Get rid of the leading space.
781 done
783 # When interrupted or exit'd, cleanup temporary files, and complete
784 # config.log. We remove comments because anyway the quotes in there
785 # would cause problems or look ugly.
786 trap 'exit_status=$?
787 # Save into config.log some information that might help in debugging.
788 echo >&5
789 echo "## ----------------- ##" >&5
790 echo "## Cache variables. ##" >&5
791 echo "## ----------------- ##" >&5
792 echo >&5
793 # The following way of writing the cache mishandles newlines in values,
795 (set) 2>&1 |
796 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
797 *ac_space=\ *)
798 sed -n \
799 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
803 sed -n \
804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
806 esac;
807 } >&5
808 sed "/^$/d" confdefs.h >conftest.log
809 if test -s conftest.log; then
810 echo >&5
811 echo "## ------------ ##" >&5
812 echo "## confdefs.h. ##" >&5
813 echo "## ------------ ##" >&5
814 echo >&5
815 cat conftest.log >&5
817 (echo; echo) >&5
818 test "$ac_signal" != 0 &&
819 echo "$as_me: caught signal $ac_signal" >&5
820 echo "$as_me: exit $exit_status" >&5
821 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
822 exit $exit_status
824 for ac_signal in 1 2 13 15; do
825 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
826 done
827 ac_signal=0
829 # confdefs.h avoids OS command line length limits that DEFS can exceed.
830 rm -rf conftest* confdefs.h
831 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
832 echo >confdefs.h
834 # Let the site file select an alternate cache file if it wants to.
835 # Prefer explicitly selected file to automatically selected ones.
836 if test -z "$CONFIG_SITE"; then
837 if test "x$prefix" != xNONE; then
838 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
839 else
840 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
843 for ac_site_file in $CONFIG_SITE; do
844 if test -r "$ac_site_file"; then
845 { echo "$as_me:845: loading site script $ac_site_file" >&5
846 echo "$as_me: loading site script $ac_site_file" >&6;}
847 cat "$ac_site_file" >&5
848 . "$ac_site_file"
850 done
852 if test -r "$cache_file"; then
853 # Some versions of bash will fail to source /dev/null (special
854 # files actually), so we avoid doing that.
855 if test -f "$cache_file"; then
856 { echo "$as_me:856: loading cache $cache_file" >&5
857 echo "$as_me: loading cache $cache_file" >&6;}
858 case $cache_file in
859 [\\/]* | ?:[\\/]* ) . $cache_file;;
860 *) . ./$cache_file;;
861 esac
863 else
864 { echo "$as_me:864: creating cache $cache_file" >&5
865 echo "$as_me: creating cache $cache_file" >&6;}
866 >$cache_file
869 # Check that the precious variables saved in the cache have kept the same
870 # value.
871 ac_cache_corrupted=false
872 for ac_var in `(set) 2>&1 |
873 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
874 eval ac_old_set=\$ac_cv_env_${ac_var}_set
875 eval ac_new_set=\$ac_env_${ac_var}_set
876 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
877 eval ac_new_val="\$ac_env_${ac_var}_value"
878 case $ac_old_set,$ac_new_set in
879 set,)
880 { echo "$as_me:880: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
881 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
882 ac_cache_corrupted=: ;;
883 ,set)
884 { echo "$as_me:884: error: \`$ac_var' was not set in the previous run" >&5
885 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
886 ac_cache_corrupted=: ;;
887 ,);;
889 if test "x$ac_old_val" != "x$ac_new_val"; then
890 { echo "$as_me:890: error: \`$ac_var' has changed since the previous run:" >&5
891 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
892 { echo "$as_me:892: former value: $ac_old_val" >&5
893 echo "$as_me: former value: $ac_old_val" >&2;}
894 { echo "$as_me:894: current value: $ac_new_val" >&5
895 echo "$as_me: current value: $ac_new_val" >&2;}
896 ac_cache_corrupted=:
897 fi;;
898 esac
899 # Pass precious variables to config.status. It doesn't matter if
900 # we pass some twice (in addition to the command line arguments).
901 if test "$ac_new_set" = set; then
902 case $ac_new_val in
903 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
904 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
905 ac_configure_args="$ac_configure_args '$ac_arg'"
907 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
909 esac
911 done
912 if $ac_cache_corrupted; then
913 { echo "$as_me:913: error: changes in the environment can compromise the build" >&5
914 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
915 { { echo "$as_me:915: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
916 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
917 { (exit 1); exit 1; }; }
920 ac_ext=c
921 ac_cpp='$CPP $CPPFLAGS'
922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
926 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
927 *c*,-n*) ECHO_N= ECHO_C='
928 ' ECHO_T=' ' ;;
929 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
930 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
931 esac
932 echo "#! $SHELL" >conftest.sh
933 echo "exit 0" >>conftest.sh
934 chmod +x conftest.sh
935 if { (echo "$as_me:935: PATH=\".;.\"; conftest.sh") >&5
936 (PATH=".;."; conftest.sh) 2>&5
937 ac_status=$?
938 echo "$as_me:938: \$? = $ac_status" >&5
939 (exit $ac_status); }; then
940 ac_path_separator=';'
941 else
942 ac_path_separator=:
944 PATH_SEPARATOR="$ac_path_separator"
945 rm -f conftest.sh
947 ac_aux_dir=
948 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
949 if test -f $ac_dir/install-sh; then
950 ac_aux_dir=$ac_dir
951 ac_install_sh="$ac_aux_dir/install-sh -c"
952 break
953 elif test -f $ac_dir/install.sh; then
954 ac_aux_dir=$ac_dir
955 ac_install_sh="$ac_aux_dir/install.sh -c"
956 break
957 elif test -f $ac_dir/shtool; then
958 ac_aux_dir=$ac_dir
959 ac_install_sh="$ac_aux_dir/shtool install -c"
960 break
962 done
963 if test -z "$ac_aux_dir"; then
964 { { echo "$as_me:964: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
965 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
966 { (exit 1); exit 1; }; }
968 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
969 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
970 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
972 # Find a good install program. We prefer a C program (faster),
973 # so one script is as good as another. But avoid the broken or
974 # incompatible versions:
975 # SysV /etc/install, /usr/sbin/install
976 # SunOS /usr/etc/install
977 # IRIX /sbin/install
978 # AIX /bin/install
979 # AmigaOS /C/install, which installs bootblocks on floppy discs
980 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
981 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
982 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
983 # ./install, which can be erroneously created by make from ./install.sh.
984 echo "$as_me:984: checking for a BSD compatible install" >&5
985 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
986 if test -z "$INSTALL"; then
987 if test "${ac_cv_path_install+set}" = set; then
988 echo $ECHO_N "(cached) $ECHO_C" >&6
989 else
990 ac_save_IFS=$IFS; IFS=$ac_path_separator
991 for ac_dir in $PATH; do
992 IFS=$ac_save_IFS
993 # Account for people who put trailing slashes in PATH elements.
994 case $ac_dir/ in
995 / | ./ | .// | /cC/* \
996 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
997 | /usr/ucb/* ) ;;
999 # OSF1 and SCO ODT 3.0 have their own names for install.
1000 # Don't use installbsd from OSF since it installs stuff as root
1001 # by default.
1002 for ac_prog in ginstall scoinst install; do
1003 if $as_executable_p "$ac_dir/$ac_prog"; then
1004 if test $ac_prog = install &&
1005 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1006 # AIX install. It has an incompatible calling convention.
1008 elif test $ac_prog = install &&
1009 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1010 # program-specific install script used by HP pwplus--don't use.
1012 else
1013 ac_cv_path_install="$ac_dir/$ac_prog -c"
1014 break 2
1017 done
1019 esac
1020 done
1023 if test "${ac_cv_path_install+set}" = set; then
1024 INSTALL=$ac_cv_path_install
1025 else
1026 # As a last resort, use the slow shell script. We don't cache a
1027 # path for INSTALL within a source directory, because that will
1028 # break other packages using the cache if that directory is
1029 # removed, or if the path is relative.
1030 INSTALL=$ac_install_sh
1033 echo "$as_me:1033: result: $INSTALL" >&5
1034 echo "${ECHO_T}$INSTALL" >&6
1036 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1037 # It thinks the first close brace ends the variable substitution.
1038 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1040 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1042 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1044 echo "$as_me:1044: checking whether build environment is sane" >&5
1045 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1046 # Just in case
1047 sleep 1
1048 echo timestamp > conftest.file
1049 # Do `set' in a subshell so we don't clobber the current shell's
1050 # arguments. Must try -L first in case configure is actually a
1051 # symlink; some systems play weird games with the mod time of symlinks
1052 # (eg FreeBSD returns the mod time of the symlink's containing
1053 # directory).
1054 if (
1055 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1056 if test "$*" = "X"; then
1057 # -L didn't work.
1058 set X `ls -t $srcdir/configure conftest.file`
1060 rm -f conftest.file
1061 if test "$*" != "X $srcdir/configure conftest.file" \
1062 && test "$*" != "X conftest.file $srcdir/configure"; then
1064 # If neither matched, then we have a broken ls. This can happen
1065 # if, for instance, CONFIG_SHELL is bash and it inherits a
1066 # broken ls alias from the environment. This has actually
1067 # happened. Such a system could not be considered "sane".
1068 { { echo "$as_me:1068: error: ls -t appears to fail. Make sure there is not a broken
1069 alias in your environment" >&5
1070 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1071 alias in your environment" >&2;}
1072 { (exit 1); exit 1; }; }
1075 test "$2" = conftest.file
1077 then
1078 # Ok.
1080 else
1081 { { echo "$as_me:1081: error: newly created file is older than distributed files!
1082 Check your system clock" >&5
1083 echo "$as_me: error: newly created file is older than distributed files!
1084 Check your system clock" >&2;}
1085 { (exit 1); exit 1; }; }
1087 echo "$as_me:1087: result: yes" >&5
1088 echo "${ECHO_T}yes" >&6
1089 test "$program_prefix" != NONE &&
1090 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1091 # Use a double $ so make ignores it.
1092 test "$program_suffix" != NONE &&
1093 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1094 # Double any \ or $. echo might interpret backslashes.
1095 # By default was `s,x,x', remove it if useless.
1096 cat <<\_ACEOF >conftest.sed
1097 s/[\\$]/&&/g;s/;s,x,x,$//
1098 _ACEOF
1099 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1100 rm conftest.sed
1102 # expand $ac_aux_dir to an absolute path
1103 am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1105 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1106 # Use eval to expand $SHELL
1107 if eval "$MISSING --run true"; then
1108 am_missing_run="$MISSING --run "
1109 else
1110 am_missing_run=
1111 am_backtick='`'
1112 { echo "$as_me:1112: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1113 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1116 for ac_prog in mawk gawk nawk awk
1118 # Extract the first word of "$ac_prog", so it can be a program name with args.
1119 set dummy $ac_prog; ac_word=$2
1120 echo "$as_me:1120: checking for $ac_word" >&5
1121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1122 if test "${ac_cv_prog_AWK+set}" = set; then
1123 echo $ECHO_N "(cached) $ECHO_C" >&6
1124 else
1125 if test -n "$AWK"; then
1126 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1127 else
1128 ac_save_IFS=$IFS; IFS=$ac_path_separator
1129 ac_dummy="$PATH"
1130 for ac_dir in $ac_dummy; do
1131 IFS=$ac_save_IFS
1132 test -z "$ac_dir" && ac_dir=.
1133 $as_executable_p "$ac_dir/$ac_word" || continue
1134 ac_cv_prog_AWK="$ac_prog"
1135 echo "$as_me:1135: found $ac_dir/$ac_word" >&5
1136 break
1137 done
1141 AWK=$ac_cv_prog_AWK
1142 if test -n "$AWK"; then
1143 echo "$as_me:1143: result: $AWK" >&5
1144 echo "${ECHO_T}$AWK" >&6
1145 else
1146 echo "$as_me:1146: result: no" >&5
1147 echo "${ECHO_T}no" >&6
1150 test -n "$AWK" && break
1151 done
1153 echo "$as_me:1153: checking whether ${MAKE-make} sets \${MAKE}" >&5
1154 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1155 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1156 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1157 echo $ECHO_N "(cached) $ECHO_C" >&6
1158 else
1159 cat >conftest.make <<\EOF
1160 all:
1161 @echo 'ac_maketemp="${MAKE}"'
1163 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1164 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1165 if test -n "$ac_maketemp"; then
1166 eval ac_cv_prog_make_${ac_make}_set=yes
1167 else
1168 eval ac_cv_prog_make_${ac_make}_set=no
1170 rm -f conftest.make
1172 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1173 echo "$as_me:1173: result: yes" >&5
1174 echo "${ECHO_T}yes" >&6
1175 SET_MAKE=
1176 else
1177 echo "$as_me:1177: result: no" >&5
1178 echo "${ECHO_T}no" >&6
1179 SET_MAKE="MAKE=${MAKE-make}"
1182 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1183 if test "${enable_dependency_tracking+set}" = set; then
1184 enableval="$enable_dependency_tracking"
1187 if test "x$enable_dependency_tracking" != xno; then
1188 am_depcomp="$ac_aux_dir/depcomp"
1189 AMDEPBACKSLASH='\'
1192 if test "x$enable_dependency_tracking" != xno; then
1193 AMDEP_TRUE=
1194 AMDEP_FALSE='#'
1195 else
1196 AMDEP_TRUE='#'
1197 AMDEP_FALSE=
1200 rm -f .deps 2>/dev/null
1201 mkdir .deps 2>/dev/null
1202 if test -d .deps; then
1203 DEPDIR=.deps
1204 else
1205 # MS-DOS does not allow filenames that begin with a dot.
1206 DEPDIR=_deps
1208 rmdir .deps 2>/dev/null
1210 # test to see if srcdir already configured
1211 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1212 test -f $srcdir/config.status; then
1213 { { echo "$as_me:1213: error: source directory already configured; run \"make distclean\" there first" >&5
1214 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1215 { (exit 1); exit 1; }; }
1218 # Define the identity of the package.
1219 PACKAGE=dejagnu
1220 VERSION=1.4.3
1222 cat >>confdefs.h <<EOF
1223 #define PACKAGE "$PACKAGE"
1226 cat >>confdefs.h <<EOF
1227 #define VERSION "$VERSION"
1230 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1231 # the ones we care about.
1233 # Autoconf 2.50 always computes EXEEXT. However we need to be
1234 # compatible with 2.13, for now. So we always define EXEEXT, but we
1235 # don't compute it.
1237 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1238 # requests that it be used. This is a bit dumb.
1239 : ${OBJEXT=o}
1241 # Some tools Automake needs.
1243 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1245 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1247 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1249 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1251 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1253 AMTAR=${AMTAR-"${am_missing_run}tar"}
1255 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1257 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1259 # We need awk for the "check" target. The system "awk" is bad on
1260 # some platforms.
1262 echo "$as_me:1262: checking whether to enable maintainer-specific portions of Makefiles" >&5
1263 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1264 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1265 if test "${enable_maintainer_mode+set}" = set; then
1266 enableval="$enable_maintainer_mode"
1267 USE_MAINTAINER_MODE=$enableval
1268 else
1269 USE_MAINTAINER_MODE=no
1271 echo "$as_me:1271: result: $USE_MAINTAINER_MODE" >&5
1272 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1274 if test $USE_MAINTAINER_MODE = yes; then
1275 MAINTAINER_MODE_TRUE=
1276 MAINTAINER_MODE_FALSE='#'
1277 else
1278 MAINTAINER_MODE_TRUE='#'
1279 MAINTAINER_MODE_FALSE=
1281 MAINT=$MAINTAINER_MODE_TRUE
1283 echo "$as_me:1283: checking whether ${MAKE-make} sets \${MAKE}" >&5
1284 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1285 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1286 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1287 echo $ECHO_N "(cached) $ECHO_C" >&6
1288 else
1289 cat >conftest.make <<\EOF
1290 all:
1291 @echo 'ac_maketemp="${MAKE}"'
1293 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1294 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1295 if test -n "$ac_maketemp"; then
1296 eval ac_cv_prog_make_${ac_make}_set=yes
1297 else
1298 eval ac_cv_prog_make_${ac_make}_set=no
1300 rm -f conftest.make
1302 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1303 echo "$as_me:1303: result: yes" >&5
1304 echo "${ECHO_T}yes" >&6
1305 SET_MAKE=
1306 else
1307 echo "$as_me:1307: result: no" >&5
1308 echo "${ECHO_T}no" >&6
1309 SET_MAKE="MAKE=${MAKE-make}"
1312 ac_ext=c
1313 ac_cpp='$CPP $CPPFLAGS'
1314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 if test -n "$ac_tool_prefix"; then
1318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1320 echo "$as_me:1320: checking for $ac_word" >&5
1321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1322 if test "${ac_cv_prog_CC+set}" = set; then
1323 echo $ECHO_N "(cached) $ECHO_C" >&6
1324 else
1325 if test -n "$CC"; then
1326 ac_cv_prog_CC="$CC" # Let the user override the test.
1327 else
1328 ac_save_IFS=$IFS; IFS=$ac_path_separator
1329 ac_dummy="$PATH"
1330 for ac_dir in $ac_dummy; do
1331 IFS=$ac_save_IFS
1332 test -z "$ac_dir" && ac_dir=.
1333 $as_executable_p "$ac_dir/$ac_word" || continue
1334 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1335 echo "$as_me:1335: found $ac_dir/$ac_word" >&5
1336 break
1337 done
1341 CC=$ac_cv_prog_CC
1342 if test -n "$CC"; then
1343 echo "$as_me:1343: result: $CC" >&5
1344 echo "${ECHO_T}$CC" >&6
1345 else
1346 echo "$as_me:1346: result: no" >&5
1347 echo "${ECHO_T}no" >&6
1351 if test -z "$ac_cv_prog_CC"; then
1352 ac_ct_CC=$CC
1353 # Extract the first word of "gcc", so it can be a program name with args.
1354 set dummy gcc; ac_word=$2
1355 echo "$as_me:1355: checking for $ac_word" >&5
1356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1357 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 else
1360 if test -n "$ac_ct_CC"; then
1361 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1362 else
1363 ac_save_IFS=$IFS; IFS=$ac_path_separator
1364 ac_dummy="$PATH"
1365 for ac_dir in $ac_dummy; do
1366 IFS=$ac_save_IFS
1367 test -z "$ac_dir" && ac_dir=.
1368 $as_executable_p "$ac_dir/$ac_word" || continue
1369 ac_cv_prog_ac_ct_CC="gcc"
1370 echo "$as_me:1370: found $ac_dir/$ac_word" >&5
1371 break
1372 done
1376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1377 if test -n "$ac_ct_CC"; then
1378 echo "$as_me:1378: result: $ac_ct_CC" >&5
1379 echo "${ECHO_T}$ac_ct_CC" >&6
1380 else
1381 echo "$as_me:1381: result: no" >&5
1382 echo "${ECHO_T}no" >&6
1385 CC=$ac_ct_CC
1386 else
1387 CC="$ac_cv_prog_CC"
1390 if test -z "$CC"; then
1391 if test -n "$ac_tool_prefix"; then
1392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1393 set dummy ${ac_tool_prefix}cc; ac_word=$2
1394 echo "$as_me:1394: checking for $ac_word" >&5
1395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1396 if test "${ac_cv_prog_CC+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 else
1399 if test -n "$CC"; then
1400 ac_cv_prog_CC="$CC" # Let the user override the test.
1401 else
1402 ac_save_IFS=$IFS; IFS=$ac_path_separator
1403 ac_dummy="$PATH"
1404 for ac_dir in $ac_dummy; do
1405 IFS=$ac_save_IFS
1406 test -z "$ac_dir" && ac_dir=.
1407 $as_executable_p "$ac_dir/$ac_word" || continue
1408 ac_cv_prog_CC="${ac_tool_prefix}cc"
1409 echo "$as_me:1409: found $ac_dir/$ac_word" >&5
1410 break
1411 done
1415 CC=$ac_cv_prog_CC
1416 if test -n "$CC"; then
1417 echo "$as_me:1417: result: $CC" >&5
1418 echo "${ECHO_T}$CC" >&6
1419 else
1420 echo "$as_me:1420: result: no" >&5
1421 echo "${ECHO_T}no" >&6
1425 if test -z "$ac_cv_prog_CC"; then
1426 ac_ct_CC=$CC
1427 # Extract the first word of "cc", so it can be a program name with args.
1428 set dummy cc; ac_word=$2
1429 echo "$as_me:1429: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 else
1434 if test -n "$ac_ct_CC"; then
1435 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1436 else
1437 ac_save_IFS=$IFS; IFS=$ac_path_separator
1438 ac_dummy="$PATH"
1439 for ac_dir in $ac_dummy; do
1440 IFS=$ac_save_IFS
1441 test -z "$ac_dir" && ac_dir=.
1442 $as_executable_p "$ac_dir/$ac_word" || continue
1443 ac_cv_prog_ac_ct_CC="cc"
1444 echo "$as_me:1444: found $ac_dir/$ac_word" >&5
1445 break
1446 done
1450 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1451 if test -n "$ac_ct_CC"; then
1452 echo "$as_me:1452: result: $ac_ct_CC" >&5
1453 echo "${ECHO_T}$ac_ct_CC" >&6
1454 else
1455 echo "$as_me:1455: result: no" >&5
1456 echo "${ECHO_T}no" >&6
1459 CC=$ac_ct_CC
1460 else
1461 CC="$ac_cv_prog_CC"
1465 if test -z "$CC"; then
1466 # Extract the first word of "cc", so it can be a program name with args.
1467 set dummy cc; ac_word=$2
1468 echo "$as_me:1468: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_prog_CC+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1472 else
1473 if test -n "$CC"; then
1474 ac_cv_prog_CC="$CC" # Let the user override the test.
1475 else
1476 ac_prog_rejected=no
1477 ac_save_IFS=$IFS; IFS=$ac_path_separator
1478 ac_dummy="$PATH"
1479 for ac_dir in $ac_dummy; do
1480 IFS=$ac_save_IFS
1481 test -z "$ac_dir" && ac_dir=.
1482 $as_executable_p "$ac_dir/$ac_word" || continue
1483 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1484 ac_prog_rejected=yes
1485 continue
1487 ac_cv_prog_CC="cc"
1488 echo "$as_me:1488: found $ac_dir/$ac_word" >&5
1489 break
1490 done
1492 if test $ac_prog_rejected = yes; then
1493 # We found a bogon in the path, so make sure we never use it.
1494 set dummy $ac_cv_prog_CC
1495 shift
1496 if test $# != 0; then
1497 # We chose a different compiler from the bogus one.
1498 # However, it has the same basename, so the bogon will be chosen
1499 # first if we set CC to just the basename; use the full file name.
1500 shift
1501 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1502 shift
1503 ac_cv_prog_CC="$@"
1508 CC=$ac_cv_prog_CC
1509 if test -n "$CC"; then
1510 echo "$as_me:1510: result: $CC" >&5
1511 echo "${ECHO_T}$CC" >&6
1512 else
1513 echo "$as_me:1513: result: no" >&5
1514 echo "${ECHO_T}no" >&6
1518 if test -z "$CC"; then
1519 if test -n "$ac_tool_prefix"; then
1520 for ac_prog in cl
1522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1524 echo "$as_me:1524: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_CC+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 else
1529 if test -n "$CC"; then
1530 ac_cv_prog_CC="$CC" # Let the user override the test.
1531 else
1532 ac_save_IFS=$IFS; IFS=$ac_path_separator
1533 ac_dummy="$PATH"
1534 for ac_dir in $ac_dummy; do
1535 IFS=$ac_save_IFS
1536 test -z "$ac_dir" && ac_dir=.
1537 $as_executable_p "$ac_dir/$ac_word" || continue
1538 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1539 echo "$as_me:1539: found $ac_dir/$ac_word" >&5
1540 break
1541 done
1545 CC=$ac_cv_prog_CC
1546 if test -n "$CC"; then
1547 echo "$as_me:1547: result: $CC" >&5
1548 echo "${ECHO_T}$CC" >&6
1549 else
1550 echo "$as_me:1550: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1554 test -n "$CC" && break
1555 done
1557 if test -z "$CC"; then
1558 ac_ct_CC=$CC
1559 for ac_prog in cl
1561 # Extract the first word of "$ac_prog", so it can be a program name with args.
1562 set dummy $ac_prog; ac_word=$2
1563 echo "$as_me:1563: checking for $ac_word" >&5
1564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 else
1568 if test -n "$ac_ct_CC"; then
1569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1570 else
1571 ac_save_IFS=$IFS; IFS=$ac_path_separator
1572 ac_dummy="$PATH"
1573 for ac_dir in $ac_dummy; do
1574 IFS=$ac_save_IFS
1575 test -z "$ac_dir" && ac_dir=.
1576 $as_executable_p "$ac_dir/$ac_word" || continue
1577 ac_cv_prog_ac_ct_CC="$ac_prog"
1578 echo "$as_me:1578: found $ac_dir/$ac_word" >&5
1579 break
1580 done
1584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1585 if test -n "$ac_ct_CC"; then
1586 echo "$as_me:1586: result: $ac_ct_CC" >&5
1587 echo "${ECHO_T}$ac_ct_CC" >&6
1588 else
1589 echo "$as_me:1589: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1593 test -n "$ac_ct_CC" && break
1594 done
1596 CC=$ac_ct_CC
1601 test -z "$CC" && { { echo "$as_me:1601: error: no acceptable cc found in \$PATH" >&5
1602 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1603 { (exit 1); exit 1; }; }
1605 # Provide some information about the compiler.
1606 echo "$as_me:1606:" \
1607 "checking for C compiler version" >&5
1608 ac_compiler=`set X $ac_compile; echo $2`
1609 { (eval echo "$as_me:1609: \"$ac_compiler --version </dev/null >&5\"") >&5
1610 (eval $ac_compiler --version </dev/null >&5) 2>&5
1611 ac_status=$?
1612 echo "$as_me:1612: \$? = $ac_status" >&5
1613 (exit $ac_status); }
1614 { (eval echo "$as_me:1614: \"$ac_compiler -v </dev/null >&5\"") >&5
1615 (eval $ac_compiler -v </dev/null >&5) 2>&5
1616 ac_status=$?
1617 echo "$as_me:1617: \$? = $ac_status" >&5
1618 (exit $ac_status); }
1619 { (eval echo "$as_me:1619: \"$ac_compiler -V </dev/null >&5\"") >&5
1620 (eval $ac_compiler -V </dev/null >&5) 2>&5
1621 ac_status=$?
1622 echo "$as_me:1622: \$? = $ac_status" >&5
1623 (exit $ac_status); }
1625 cat >conftest.$ac_ext <<_ACEOF
1626 #line 1626 "configure"
1627 #include "confdefs.h"
1630 main ()
1634 return 0;
1636 _ACEOF
1637 ac_clean_files_save=$ac_clean_files
1638 ac_clean_files="$ac_clean_files a.out a.exe"
1639 # Try to create an executable without -o first, disregard a.out.
1640 # It will help us diagnose broken compilers, and finding out an intuition
1641 # of exeext.
1642 echo "$as_me:1642: checking for C compiler default output" >&5
1643 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1644 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1645 if { (eval echo "$as_me:1645: \"$ac_link_default\"") >&5
1646 (eval $ac_link_default) 2>&5
1647 ac_status=$?
1648 echo "$as_me:1648: \$? = $ac_status" >&5
1649 (exit $ac_status); }; then
1650 # Find the output, starting from the most likely. This scheme is
1651 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1652 # resort.
1653 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1654 ls a.out conftest 2>/dev/null;
1655 ls a.* conftest.* 2>/dev/null`; do
1656 case $ac_file in
1657 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1658 a.out ) # We found the default executable, but exeext='' is most
1659 # certainly right.
1660 break;;
1661 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1662 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1663 export ac_cv_exeext
1664 break;;
1665 * ) break;;
1666 esac
1667 done
1668 else
1669 echo "$as_me: failed program was:" >&5
1670 cat conftest.$ac_ext >&5
1671 { { echo "$as_me:1671: error: C compiler cannot create executables" >&5
1672 echo "$as_me: error: C compiler cannot create executables" >&2;}
1673 { (exit 77); exit 77; }; }
1676 ac_exeext=$ac_cv_exeext
1677 echo "$as_me:1677: result: $ac_file" >&5
1678 echo "${ECHO_T}$ac_file" >&6
1680 # Check the compiler produces executables we can run. If not, either
1681 # the compiler is broken, or we cross compile.
1682 echo "$as_me:1682: checking whether the C compiler works" >&5
1683 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1684 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1685 # If not cross compiling, check that we can run a simple program.
1686 if test "$cross_compiling" != yes; then
1687 if { ac_try='./$ac_file'
1688 { (eval echo "$as_me:1688: \"$ac_try\"") >&5
1689 (eval $ac_try) 2>&5
1690 ac_status=$?
1691 echo "$as_me:1691: \$? = $ac_status" >&5
1692 (exit $ac_status); }; }; then
1693 cross_compiling=no
1694 else
1695 if test "$cross_compiling" = maybe; then
1696 cross_compiling=yes
1697 else
1698 { { echo "$as_me:1698: error: cannot run C compiled programs.
1699 If you meant to cross compile, use \`--host'." >&5
1700 echo "$as_me: error: cannot run C compiled programs.
1701 If you meant to cross compile, use \`--host'." >&2;}
1702 { (exit 1); exit 1; }; }
1706 echo "$as_me:1706: result: yes" >&5
1707 echo "${ECHO_T}yes" >&6
1709 rm -f a.out a.exe conftest$ac_cv_exeext
1710 ac_clean_files=$ac_clean_files_save
1711 # Check the compiler produces executables we can run. If not, either
1712 # the compiler is broken, or we cross compile.
1713 echo "$as_me:1713: checking whether we are cross compiling" >&5
1714 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1715 echo "$as_me:1715: result: $cross_compiling" >&5
1716 echo "${ECHO_T}$cross_compiling" >&6
1718 echo "$as_me:1718: checking for executable suffix" >&5
1719 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1720 if { (eval echo "$as_me:1720: \"$ac_link\"") >&5
1721 (eval $ac_link) 2>&5
1722 ac_status=$?
1723 echo "$as_me:1723: \$? = $ac_status" >&5
1724 (exit $ac_status); }; then
1725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1727 # work properly (i.e., refer to `conftest.exe'), while it won't with
1728 # `rm'.
1729 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1730 case $ac_file in
1731 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1732 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1733 export ac_cv_exeext
1734 break;;
1735 * ) break;;
1736 esac
1737 done
1738 else
1739 { { echo "$as_me:1739: error: cannot compute EXEEXT: cannot compile and link" >&5
1740 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1741 { (exit 1); exit 1; }; }
1744 rm -f conftest$ac_cv_exeext
1745 echo "$as_me:1745: result: $ac_cv_exeext" >&5
1746 echo "${ECHO_T}$ac_cv_exeext" >&6
1748 rm -f conftest.$ac_ext
1749 EXEEXT=$ac_cv_exeext
1750 ac_exeext=$EXEEXT
1751 echo "$as_me:1751: checking for object suffix" >&5
1752 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1753 if test "${ac_cv_objext+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756 cat >conftest.$ac_ext <<_ACEOF
1757 #line 1757 "configure"
1758 #include "confdefs.h"
1761 main ()
1765 return 0;
1767 _ACEOF
1768 rm -f conftest.o conftest.obj
1769 if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
1770 (eval $ac_compile) 2>&5
1771 ac_status=$?
1772 echo "$as_me:1772: \$? = $ac_status" >&5
1773 (exit $ac_status); }; then
1774 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1775 case $ac_file in
1776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1777 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1778 break;;
1779 esac
1780 done
1781 else
1782 echo "$as_me: failed program was:" >&5
1783 cat conftest.$ac_ext >&5
1784 { { echo "$as_me:1784: error: cannot compute OBJEXT: cannot compile" >&5
1785 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1786 { (exit 1); exit 1; }; }
1789 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1791 echo "$as_me:1791: result: $ac_cv_objext" >&5
1792 echo "${ECHO_T}$ac_cv_objext" >&6
1793 OBJEXT=$ac_cv_objext
1794 ac_objext=$OBJEXT
1795 echo "$as_me:1795: checking whether we are using the GNU C compiler" >&5
1796 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1797 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 else
1800 cat >conftest.$ac_ext <<_ACEOF
1801 #line 1801 "configure"
1802 #include "confdefs.h"
1805 main ()
1807 #ifndef __GNUC__
1808 choke me
1809 #endif
1812 return 0;
1814 _ACEOF
1815 rm -f conftest.$ac_objext
1816 if { (eval echo "$as_me:1816: \"$ac_compile\"") >&5
1817 (eval $ac_compile) 2>&5
1818 ac_status=$?
1819 echo "$as_me:1819: \$? = $ac_status" >&5
1820 (exit $ac_status); } &&
1821 { ac_try='test -s conftest.$ac_objext'
1822 { (eval echo "$as_me:1822: \"$ac_try\"") >&5
1823 (eval $ac_try) 2>&5
1824 ac_status=$?
1825 echo "$as_me:1825: \$? = $ac_status" >&5
1826 (exit $ac_status); }; }; then
1827 ac_compiler_gnu=yes
1828 else
1829 echo "$as_me: failed program was:" >&5
1830 cat conftest.$ac_ext >&5
1831 ac_compiler_gnu=no
1833 rm -f conftest.$ac_objext conftest.$ac_ext
1834 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1837 echo "$as_me:1837: result: $ac_cv_c_compiler_gnu" >&5
1838 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1839 GCC=`test $ac_compiler_gnu = yes && echo yes`
1840 ac_test_CFLAGS=${CFLAGS+set}
1841 ac_save_CFLAGS=$CFLAGS
1842 CFLAGS="-g"
1843 echo "$as_me:1843: checking whether $CC accepts -g" >&5
1844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1845 if test "${ac_cv_prog_cc_g+set}" = set; then
1846 echo $ECHO_N "(cached) $ECHO_C" >&6
1847 else
1848 cat >conftest.$ac_ext <<_ACEOF
1849 #line 1849 "configure"
1850 #include "confdefs.h"
1853 main ()
1857 return 0;
1859 _ACEOF
1860 rm -f conftest.$ac_objext
1861 if { (eval echo "$as_me:1861: \"$ac_compile\"") >&5
1862 (eval $ac_compile) 2>&5
1863 ac_status=$?
1864 echo "$as_me:1864: \$? = $ac_status" >&5
1865 (exit $ac_status); } &&
1866 { ac_try='test -s conftest.$ac_objext'
1867 { (eval echo "$as_me:1867: \"$ac_try\"") >&5
1868 (eval $ac_try) 2>&5
1869 ac_status=$?
1870 echo "$as_me:1870: \$? = $ac_status" >&5
1871 (exit $ac_status); }; }; then
1872 ac_cv_prog_cc_g=yes
1873 else
1874 echo "$as_me: failed program was:" >&5
1875 cat conftest.$ac_ext >&5
1876 ac_cv_prog_cc_g=no
1878 rm -f conftest.$ac_objext conftest.$ac_ext
1880 echo "$as_me:1880: result: $ac_cv_prog_cc_g" >&5
1881 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1882 if test "$ac_test_CFLAGS" = set; then
1883 CFLAGS=$ac_save_CFLAGS
1884 elif test $ac_cv_prog_cc_g = yes; then
1885 if test "$GCC" = yes; then
1886 CFLAGS="-g -O2"
1887 else
1888 CFLAGS="-g"
1890 else
1891 if test "$GCC" = yes; then
1892 CFLAGS="-O2"
1893 else
1894 CFLAGS=
1897 # Some people use a C++ compiler to compile C. Since we use `exit',
1898 # in C++ we need to declare it. In case someone uses the same compiler
1899 # for both compiling C and C++ we need to have the C++ compiler decide
1900 # the declaration of exit, since it's the most demanding environment.
1901 cat >conftest.$ac_ext <<_ACEOF
1902 #ifndef __cplusplus
1903 choke me
1904 #endif
1905 _ACEOF
1906 rm -f conftest.$ac_objext
1907 if { (eval echo "$as_me:1907: \"$ac_compile\"") >&5
1908 (eval $ac_compile) 2>&5
1909 ac_status=$?
1910 echo "$as_me:1910: \$? = $ac_status" >&5
1911 (exit $ac_status); } &&
1912 { ac_try='test -s conftest.$ac_objext'
1913 { (eval echo "$as_me:1913: \"$ac_try\"") >&5
1914 (eval $ac_try) 2>&5
1915 ac_status=$?
1916 echo "$as_me:1916: \$? = $ac_status" >&5
1917 (exit $ac_status); }; }; then
1918 for ac_declaration in \
1920 '#include <stdlib.h>' \
1921 'extern "C" void std::exit (int) throw (); using std::exit;' \
1922 'extern "C" void std::exit (int); using std::exit;' \
1923 'extern "C" void exit (int) throw ();' \
1924 'extern "C" void exit (int);' \
1925 'void exit (int);'
1927 cat >conftest.$ac_ext <<_ACEOF
1928 #line 1928 "configure"
1929 #include "confdefs.h"
1930 #include <stdlib.h>
1931 $ac_declaration
1933 main ()
1935 exit (42);
1937 return 0;
1939 _ACEOF
1940 rm -f conftest.$ac_objext
1941 if { (eval echo "$as_me:1941: \"$ac_compile\"") >&5
1942 (eval $ac_compile) 2>&5
1943 ac_status=$?
1944 echo "$as_me:1944: \$? = $ac_status" >&5
1945 (exit $ac_status); } &&
1946 { ac_try='test -s conftest.$ac_objext'
1947 { (eval echo "$as_me:1947: \"$ac_try\"") >&5
1948 (eval $ac_try) 2>&5
1949 ac_status=$?
1950 echo "$as_me:1950: \$? = $ac_status" >&5
1951 (exit $ac_status); }; }; then
1953 else
1954 echo "$as_me: failed program was:" >&5
1955 cat conftest.$ac_ext >&5
1956 continue
1958 rm -f conftest.$ac_objext conftest.$ac_ext
1959 cat >conftest.$ac_ext <<_ACEOF
1960 #line 1960 "configure"
1961 #include "confdefs.h"
1962 $ac_declaration
1964 main ()
1966 exit (42);
1968 return 0;
1970 _ACEOF
1971 rm -f conftest.$ac_objext
1972 if { (eval echo "$as_me:1972: \"$ac_compile\"") >&5
1973 (eval $ac_compile) 2>&5
1974 ac_status=$?
1975 echo "$as_me:1975: \$? = $ac_status" >&5
1976 (exit $ac_status); } &&
1977 { ac_try='test -s conftest.$ac_objext'
1978 { (eval echo "$as_me:1978: \"$ac_try\"") >&5
1979 (eval $ac_try) 2>&5
1980 ac_status=$?
1981 echo "$as_me:1981: \$? = $ac_status" >&5
1982 (exit $ac_status); }; }; then
1983 break
1984 else
1985 echo "$as_me: failed program was:" >&5
1986 cat conftest.$ac_ext >&5
1988 rm -f conftest.$ac_objext conftest.$ac_ext
1989 done
1990 rm -f conftest*
1991 if test -n "$ac_declaration"; then
1992 echo '#ifdef __cplusplus' >>confdefs.h
1993 echo $ac_declaration >>confdefs.h
1994 echo '#endif' >>confdefs.h
1997 else
1998 echo "$as_me: failed program was:" >&5
1999 cat conftest.$ac_ext >&5
2001 rm -f conftest.$ac_objext conftest.$ac_ext
2002 ac_ext=c
2003 ac_cpp='$CPP $CPPFLAGS'
2004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 ac_config_commands="$ac_config_commands default-1"
2010 am_make=${MAKE-make}
2011 cat > confinc << 'END'
2012 doit:
2013 @echo done
2015 # If we don't find an include directive, just comment out the code.
2016 echo "$as_me:2016: checking for style of include used by $am_make" >&5
2017 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2018 am__include='#'
2019 am__quote=
2020 _am_result=none
2021 # First try GNU make style include.
2022 echo "include confinc" > confmf
2023 # We grep out `Entering directory' and `Leaving directory'
2024 # messages which can occur if `w' ends up in MAKEFLAGS.
2025 # In particular we don't look at `^make:' because GNU make might
2026 # be invoked under some other name (usually "gmake"), in which
2027 # case it prints its new name instead of `make'.
2028 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2029 am__include=include
2030 am__quote=
2031 _am_result=GNU
2033 # Now try BSD make style include.
2034 if test "$am__include" = "#"; then
2035 echo '.include "confinc"' > confmf
2036 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2037 am__include=.include
2038 am__quote='"'
2039 _am_result=BSD
2043 echo "$as_me:2043: result: $_am_result" >&5
2044 echo "${ECHO_T}$_am_result" >&6
2045 rm -f confinc confmf
2047 depcc="$CC" am_compiler_list=
2049 echo "$as_me:2049: checking dependency style of $depcc" >&5
2050 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2051 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 else
2054 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2055 # We make a subdir and do the tests there. Otherwise we can end up
2056 # making bogus files that we don't know about and never remove. For
2057 # instance it was reported that on HP-UX the gcc test will end up
2058 # making a dummy file named `D' -- because `-MD' means `put the output
2059 # in D'.
2060 mkdir conftest.dir
2061 # Copy depcomp to subdir because otherwise we won't find it if we're
2062 # using a relative directory.
2063 cp "$am_depcomp" conftest.dir
2064 cd conftest.dir
2066 am_cv_CC_dependencies_compiler_type=none
2067 if test "$am_compiler_list" = ""; then
2068 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2070 for depmode in $am_compiler_list; do
2071 # We need to recreate these files for each test, as the compiler may
2072 # overwrite some of them when testing with obscure command lines.
2073 # This happens at least with the AIX C compiler.
2074 echo '#include "conftest.h"' > conftest.c
2075 echo 'int i;' > conftest.h
2076 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2078 case $depmode in
2079 nosideeffect)
2080 # after this tag, mechanisms are not by side-effect, so they'll
2081 # only be used when explicitly requested
2082 if test "x$enable_dependency_tracking" = xyes; then
2083 continue
2084 else
2085 break
2088 none) break ;;
2089 esac
2090 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2091 # mode. It turns out that the SunPro C++ compiler does not properly
2092 # handle `-M -o', and we need to detect this.
2093 if depmode=$depmode \
2094 source=conftest.c object=conftest.o \
2095 depfile=conftest.Po tmpdepfile=conftest.TPo \
2096 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2097 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2098 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2099 am_cv_CC_dependencies_compiler_type=$depmode
2100 break
2102 done
2104 cd ..
2105 rm -rf conftest.dir
2106 else
2107 am_cv_CC_dependencies_compiler_type=none
2111 echo "$as_me:2111: result: $am_cv_CC_dependencies_compiler_type" >&5
2112 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2113 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2115 ac_ext=cc
2116 ac_cpp='$CXXCPP $CPPFLAGS'
2117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2120 if test -n "$ac_tool_prefix"; then
2121 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2125 echo "$as_me:2125: checking for $ac_word" >&5
2126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2127 if test "${ac_cv_prog_CXX+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 else
2130 if test -n "$CXX"; then
2131 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2132 else
2133 ac_save_IFS=$IFS; IFS=$ac_path_separator
2134 ac_dummy="$PATH"
2135 for ac_dir in $ac_dummy; do
2136 IFS=$ac_save_IFS
2137 test -z "$ac_dir" && ac_dir=.
2138 $as_executable_p "$ac_dir/$ac_word" || continue
2139 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2140 echo "$as_me:2140: found $ac_dir/$ac_word" >&5
2141 break
2142 done
2146 CXX=$ac_cv_prog_CXX
2147 if test -n "$CXX"; then
2148 echo "$as_me:2148: result: $CXX" >&5
2149 echo "${ECHO_T}$CXX" >&6
2150 else
2151 echo "$as_me:2151: result: no" >&5
2152 echo "${ECHO_T}no" >&6
2155 test -n "$CXX" && break
2156 done
2158 if test -z "$CXX"; then
2159 ac_ct_CXX=$CXX
2160 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2162 # Extract the first word of "$ac_prog", so it can be a program name with args.
2163 set dummy $ac_prog; ac_word=$2
2164 echo "$as_me:2164: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2166 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 else
2169 if test -n "$ac_ct_CXX"; then
2170 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2171 else
2172 ac_save_IFS=$IFS; IFS=$ac_path_separator
2173 ac_dummy="$PATH"
2174 for ac_dir in $ac_dummy; do
2175 IFS=$ac_save_IFS
2176 test -z "$ac_dir" && ac_dir=.
2177 $as_executable_p "$ac_dir/$ac_word" || continue
2178 ac_cv_prog_ac_ct_CXX="$ac_prog"
2179 echo "$as_me:2179: found $ac_dir/$ac_word" >&5
2180 break
2181 done
2185 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2186 if test -n "$ac_ct_CXX"; then
2187 echo "$as_me:2187: result: $ac_ct_CXX" >&5
2188 echo "${ECHO_T}$ac_ct_CXX" >&6
2189 else
2190 echo "$as_me:2190: result: no" >&5
2191 echo "${ECHO_T}no" >&6
2194 test -n "$ac_ct_CXX" && break
2195 done
2196 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2198 CXX=$ac_ct_CXX
2201 # Provide some information about the compiler.
2202 echo "$as_me:2202:" \
2203 "checking for C++ compiler version" >&5
2204 ac_compiler=`set X $ac_compile; echo $2`
2205 { (eval echo "$as_me:2205: \"$ac_compiler --version </dev/null >&5\"") >&5
2206 (eval $ac_compiler --version </dev/null >&5) 2>&5
2207 ac_status=$?
2208 echo "$as_me:2208: \$? = $ac_status" >&5
2209 (exit $ac_status); }
2210 { (eval echo "$as_me:2210: \"$ac_compiler -v </dev/null >&5\"") >&5
2211 (eval $ac_compiler -v </dev/null >&5) 2>&5
2212 ac_status=$?
2213 echo "$as_me:2213: \$? = $ac_status" >&5
2214 (exit $ac_status); }
2215 { (eval echo "$as_me:2215: \"$ac_compiler -V </dev/null >&5\"") >&5
2216 (eval $ac_compiler -V </dev/null >&5) 2>&5
2217 ac_status=$?
2218 echo "$as_me:2218: \$? = $ac_status" >&5
2219 (exit $ac_status); }
2221 echo "$as_me:2221: checking whether we are using the GNU C++ compiler" >&5
2222 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2223 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 else
2226 cat >conftest.$ac_ext <<_ACEOF
2227 #line 2227 "configure"
2228 #include "confdefs.h"
2231 main ()
2233 #ifndef __GNUC__
2234 choke me
2235 #endif
2238 return 0;
2240 _ACEOF
2241 rm -f conftest.$ac_objext
2242 if { (eval echo "$as_me:2242: \"$ac_compile\"") >&5
2243 (eval $ac_compile) 2>&5
2244 ac_status=$?
2245 echo "$as_me:2245: \$? = $ac_status" >&5
2246 (exit $ac_status); } &&
2247 { ac_try='test -s conftest.$ac_objext'
2248 { (eval echo "$as_me:2248: \"$ac_try\"") >&5
2249 (eval $ac_try) 2>&5
2250 ac_status=$?
2251 echo "$as_me:2251: \$? = $ac_status" >&5
2252 (exit $ac_status); }; }; then
2253 ac_compiler_gnu=yes
2254 else
2255 echo "$as_me: failed program was:" >&5
2256 cat conftest.$ac_ext >&5
2257 ac_compiler_gnu=no
2259 rm -f conftest.$ac_objext conftest.$ac_ext
2260 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2263 echo "$as_me:2263: result: $ac_cv_cxx_compiler_gnu" >&5
2264 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2265 GXX=`test $ac_compiler_gnu = yes && echo yes`
2266 ac_test_CXXFLAGS=${CXXFLAGS+set}
2267 ac_save_CXXFLAGS=$CXXFLAGS
2268 CXXFLAGS="-g"
2269 echo "$as_me:2269: checking whether $CXX accepts -g" >&5
2270 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2271 if test "${ac_cv_prog_cxx_g+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 else
2274 cat >conftest.$ac_ext <<_ACEOF
2275 #line 2275 "configure"
2276 #include "confdefs.h"
2279 main ()
2283 return 0;
2285 _ACEOF
2286 rm -f conftest.$ac_objext
2287 if { (eval echo "$as_me:2287: \"$ac_compile\"") >&5
2288 (eval $ac_compile) 2>&5
2289 ac_status=$?
2290 echo "$as_me:2290: \$? = $ac_status" >&5
2291 (exit $ac_status); } &&
2292 { ac_try='test -s conftest.$ac_objext'
2293 { (eval echo "$as_me:2293: \"$ac_try\"") >&5
2294 (eval $ac_try) 2>&5
2295 ac_status=$?
2296 echo "$as_me:2296: \$? = $ac_status" >&5
2297 (exit $ac_status); }; }; then
2298 ac_cv_prog_cxx_g=yes
2299 else
2300 echo "$as_me: failed program was:" >&5
2301 cat conftest.$ac_ext >&5
2302 ac_cv_prog_cxx_g=no
2304 rm -f conftest.$ac_objext conftest.$ac_ext
2306 echo "$as_me:2306: result: $ac_cv_prog_cxx_g" >&5
2307 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2308 if test "$ac_test_CXXFLAGS" = set; then
2309 CXXFLAGS=$ac_save_CXXFLAGS
2310 elif test $ac_cv_prog_cxx_g = yes; then
2311 if test "$GXX" = yes; then
2312 CXXFLAGS="-g -O2"
2313 else
2314 CXXFLAGS="-g"
2316 else
2317 if test "$GXX" = yes; then
2318 CXXFLAGS="-O2"
2319 else
2320 CXXFLAGS=
2323 for ac_declaration in \
2325 '#include <stdlib.h>' \
2326 'extern "C" void std::exit (int) throw (); using std::exit;' \
2327 'extern "C" void std::exit (int); using std::exit;' \
2328 'extern "C" void exit (int) throw ();' \
2329 'extern "C" void exit (int);' \
2330 'void exit (int);'
2332 cat >conftest.$ac_ext <<_ACEOF
2333 #line 2333 "configure"
2334 #include "confdefs.h"
2335 #include <stdlib.h>
2336 $ac_declaration
2338 main ()
2340 exit (42);
2342 return 0;
2344 _ACEOF
2345 rm -f conftest.$ac_objext
2346 if { (eval echo "$as_me:2346: \"$ac_compile\"") >&5
2347 (eval $ac_compile) 2>&5
2348 ac_status=$?
2349 echo "$as_me:2349: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try='test -s conftest.$ac_objext'
2352 { (eval echo "$as_me:2352: \"$ac_try\"") >&5
2353 (eval $ac_try) 2>&5
2354 ac_status=$?
2355 echo "$as_me:2355: \$? = $ac_status" >&5
2356 (exit $ac_status); }; }; then
2358 else
2359 echo "$as_me: failed program was:" >&5
2360 cat conftest.$ac_ext >&5
2361 continue
2363 rm -f conftest.$ac_objext conftest.$ac_ext
2364 cat >conftest.$ac_ext <<_ACEOF
2365 #line 2365 "configure"
2366 #include "confdefs.h"
2367 $ac_declaration
2369 main ()
2371 exit (42);
2373 return 0;
2375 _ACEOF
2376 rm -f conftest.$ac_objext
2377 if { (eval echo "$as_me:2377: \"$ac_compile\"") >&5
2378 (eval $ac_compile) 2>&5
2379 ac_status=$?
2380 echo "$as_me:2380: \$? = $ac_status" >&5
2381 (exit $ac_status); } &&
2382 { ac_try='test -s conftest.$ac_objext'
2383 { (eval echo "$as_me:2383: \"$ac_try\"") >&5
2384 (eval $ac_try) 2>&5
2385 ac_status=$?
2386 echo "$as_me:2386: \$? = $ac_status" >&5
2387 (exit $ac_status); }; }; then
2388 break
2389 else
2390 echo "$as_me: failed program was:" >&5
2391 cat conftest.$ac_ext >&5
2393 rm -f conftest.$ac_objext conftest.$ac_ext
2394 done
2395 rm -f conftest*
2396 if test -n "$ac_declaration"; then
2397 echo '#ifdef __cplusplus' >>confdefs.h
2398 echo $ac_declaration >>confdefs.h
2399 echo '#endif' >>confdefs.h
2402 ac_ext=c
2403 ac_cpp='$CPP $CPPFLAGS'
2404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2408 depcc="$CXX" am_compiler_list=
2410 echo "$as_me:2410: checking dependency style of $depcc" >&5
2411 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2412 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else
2415 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2416 # We make a subdir and do the tests there. Otherwise we can end up
2417 # making bogus files that we don't know about and never remove. For
2418 # instance it was reported that on HP-UX the gcc test will end up
2419 # making a dummy file named `D' -- because `-MD' means `put the output
2420 # in D'.
2421 mkdir conftest.dir
2422 # Copy depcomp to subdir because otherwise we won't find it if we're
2423 # using a relative directory.
2424 cp "$am_depcomp" conftest.dir
2425 cd conftest.dir
2427 am_cv_CXX_dependencies_compiler_type=none
2428 if test "$am_compiler_list" = ""; then
2429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2431 for depmode in $am_compiler_list; do
2432 # We need to recreate these files for each test, as the compiler may
2433 # overwrite some of them when testing with obscure command lines.
2434 # This happens at least with the AIX C compiler.
2435 echo '#include "conftest.h"' > conftest.c
2436 echo 'int i;' > conftest.h
2437 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2439 case $depmode in
2440 nosideeffect)
2441 # after this tag, mechanisms are not by side-effect, so they'll
2442 # only be used when explicitly requested
2443 if test "x$enable_dependency_tracking" = xyes; then
2444 continue
2445 else
2446 break
2449 none) break ;;
2450 esac
2451 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2452 # mode. It turns out that the SunPro C++ compiler does not properly
2453 # handle `-M -o', and we need to detect this.
2454 if depmode=$depmode \
2455 source=conftest.c object=conftest.o \
2456 depfile=conftest.Po tmpdepfile=conftest.TPo \
2457 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2458 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2459 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2460 am_cv_CXX_dependencies_compiler_type=$depmode
2461 break
2463 done
2465 cd ..
2466 rm -rf conftest.dir
2467 else
2468 am_cv_CXX_dependencies_compiler_type=none
2472 echo "$as_me:2472: result: $am_cv_CXX_dependencies_compiler_type" >&5
2473 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2474 CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
2476 # Find a good install program. We prefer a C program (faster),
2477 # so one script is as good as another. But avoid the broken or
2478 # incompatible versions:
2479 # SysV /etc/install, /usr/sbin/install
2480 # SunOS /usr/etc/install
2481 # IRIX /sbin/install
2482 # AIX /bin/install
2483 # AmigaOS /C/install, which installs bootblocks on floppy discs
2484 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2485 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2486 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2487 # ./install, which can be erroneously created by make from ./install.sh.
2488 echo "$as_me:2488: checking for a BSD compatible install" >&5
2489 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2490 if test -z "$INSTALL"; then
2491 if test "${ac_cv_path_install+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 else
2494 ac_save_IFS=$IFS; IFS=$ac_path_separator
2495 for ac_dir in $PATH; do
2496 IFS=$ac_save_IFS
2497 # Account for people who put trailing slashes in PATH elements.
2498 case $ac_dir/ in
2499 / | ./ | .// | /cC/* \
2500 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2501 | /usr/ucb/* ) ;;
2503 # OSF1 and SCO ODT 3.0 have their own names for install.
2504 # Don't use installbsd from OSF since it installs stuff as root
2505 # by default.
2506 for ac_prog in ginstall scoinst install; do
2507 if $as_executable_p "$ac_dir/$ac_prog"; then
2508 if test $ac_prog = install &&
2509 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2510 # AIX install. It has an incompatible calling convention.
2512 elif test $ac_prog = install &&
2513 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2514 # program-specific install script used by HP pwplus--don't use.
2516 else
2517 ac_cv_path_install="$ac_dir/$ac_prog -c"
2518 break 2
2521 done
2523 esac
2524 done
2527 if test "${ac_cv_path_install+set}" = set; then
2528 INSTALL=$ac_cv_path_install
2529 else
2530 # As a last resort, use the slow shell script. We don't cache a
2531 # path for INSTALL within a source directory, because that will
2532 # break other packages using the cache if that directory is
2533 # removed, or if the path is relative.
2534 INSTALL=$ac_install_sh
2537 echo "$as_me:2537: result: $INSTALL" >&5
2538 echo "${ECHO_T}$INSTALL" >&6
2540 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2541 # It thinks the first close brace ends the variable substitution.
2542 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2544 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2546 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2548 for ac_prog in 'bison -y' byacc
2550 # Extract the first word of "$ac_prog", so it can be a program name with args.
2551 set dummy $ac_prog; ac_word=$2
2552 echo "$as_me:2552: checking for $ac_word" >&5
2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2554 if test "${ac_cv_prog_YACC+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 if test -n "$YACC"; then
2558 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2559 else
2560 ac_save_IFS=$IFS; IFS=$ac_path_separator
2561 ac_dummy="$PATH"
2562 for ac_dir in $ac_dummy; do
2563 IFS=$ac_save_IFS
2564 test -z "$ac_dir" && ac_dir=.
2565 $as_executable_p "$ac_dir/$ac_word" || continue
2566 ac_cv_prog_YACC="$ac_prog"
2567 echo "$as_me:2567: found $ac_dir/$ac_word" >&5
2568 break
2569 done
2573 YACC=$ac_cv_prog_YACC
2574 if test -n "$YACC"; then
2575 echo "$as_me:2575: result: $YACC" >&5
2576 echo "${ECHO_T}$YACC" >&6
2577 else
2578 echo "$as_me:2578: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2582 test -n "$YACC" && break
2583 done
2584 test -n "$YACC" || YACC="yacc"
2586 dirlist=".. ../../ ../../.. ../../../.. ../../../../.. ../../../../../.. ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
2587 echo "$as_me:2587: checking for docbook tools" >&5
2588 echo $ECHO_N "checking for docbook tools... $ECHO_C" >&6
2590 # Check whether --with-oskith or --without-oskith was given.
2591 if test "${with_oskith+set}" = set; then
2592 withval="$with_oskith"
2593 with_docbook=${withval}
2595 if test "${ac_cv_c_docbook+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 else
2599 if test x"${with_docbook}" != x ; then
2600 if test -f ${with_docbook}/db2html ; then
2601 ac_cv_c_docbook=`(cd ${with_docbook}; pwd)`
2602 else
2603 { { echo "$as_me:2603: error: ${with_docbook} directory doesn't contain SGML tools" >&5
2604 echo "$as_me: error: ${with_docbook} directory doesn't contain SGML tools" >&2;}
2605 { (exit 1); exit 1; }; }
2611 if test x"${ac_cv_c_docbook}" = x ; then
2612 for i in $ac_default_prefix/bin /usr/local/bin $OSKITHDIR/../bin /usr/bin /bin /opt /home; do
2613 if test -f $i/db2html ; then
2614 ac_cv_c_docbook=$i
2615 break
2617 done
2620 if test x"${ac_cv_c_docbook}" = x ; then
2621 echo "$as_me:2621: result: none" >&5
2622 echo "${ECHO_T}none" >&6
2623 else
2624 DOCBOOK="${ac_cv_c_docbook}"
2625 echo "$as_me:2625: result: ${ac_cv_c_docbook}" >&5
2626 echo "${ECHO_T}${ac_cv_c_docbook}" >&6
2629 dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
2630 ../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../..
2631 /../../../../../.."
2632 no_itcl=true
2633 echo "$as_me:2633: checking for the tclsh program" >&5
2634 echo $ECHO_N "checking for the tclsh program... $ECHO_C" >&6
2636 # Check whether --with-tclinclude or --without-tclinclude was given.
2637 if test "${with_tclinclude+set}" = set; then
2638 withval="$with_tclinclude"
2639 with_tclinclude=${withval}
2641 if test "${ac_cv_path_tclsh+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2643 else
2645 if test x"${with_tclinclude}" != x ; then
2646 if test -f ${with_tclinclude}/tclsh ; then
2647 ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
2648 elif test -f ${with_tclinclude}/src/tclsh ; then
2649 ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`
2650 else
2651 { { echo "$as_me:2651: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
2652 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
2653 { (exit 1); exit 1; }; }
2659 if test x"${ac_cv_path_tclsh}" = x ; then
2660 for i in $dirlist; do
2661 if test -n "`ls -dr $srcdir/$i/tcl* 2>/dev/null`" ; then
2662 tclpath=$srcdir/$i
2663 break
2665 done
2667 for i in `ls -dr $tclpath/tcl* 2>/dev/null ` ; do
2668 if test -f $i/src/tclsh ; then
2669 ac_cv_path_tclsh=`(cd $i/src; pwd)`/tclsh
2670 break
2672 done
2675 if test x"${ac_cv_path_tclsh}" = x ; then
2676 echo "$as_me:2676: result: none" >&5
2677 echo "${ECHO_T}none" >&6
2678 # Extract the first word of "tclsh", so it can be a program name with args.
2679 set dummy tclsh; ac_word=$2
2680 echo "$as_me:2680: checking for $ac_word" >&5
2681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2682 if test "${ac_cv_path_tclsh+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 else
2685 case $tclsh in
2686 [\\/]* | ?:[\\/]*)
2687 ac_cv_path_tclsh="$tclsh" # Let the user override the test with a path.
2690 ac_save_IFS=$IFS; IFS=$ac_path_separator
2691 ac_dummy="$PATH"
2692 for ac_dir in $ac_dummy; do
2693 IFS=$ac_save_IFS
2694 test -z "$ac_dir" && ac_dir=.
2695 if $as_executable_p "$ac_dir/$ac_word"; then
2696 ac_cv_path_tclsh="$ac_dir/$ac_word"
2697 echo "$as_me:2697: found $ac_dir/$ac_word" >&5
2698 break
2700 done
2703 esac
2705 tclsh=$ac_cv_path_tclsh
2707 if test -n "$tclsh"; then
2708 echo "$as_me:2708: result: $tclsh" >&5
2709 echo "${ECHO_T}$tclsh" >&6
2710 else
2711 echo "$as_me:2711: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2715 else
2716 echo "$as_me:2716: result: ${ac_cv_path_tclsh}" >&5
2717 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6
2719 TCLSH="${ac_cv_path_tclsh}"
2721 BOARDS='$(boards)'
2723 CONFIG='$(config)'
2725 subdirs="$subdirs example/calc example/hello"
2727 ac_config_files="$ac_config_files Makefile doc/Makefile testsuite/Makefile example/Makefile testsuite/libdejagnu/Makefile"
2728 cat >confcache <<\_ACEOF
2729 # This file is a shell script that caches the results of configure
2730 # tests run on this system so they can be shared between configure
2731 # scripts and configure runs, see configure's option --config-cache.
2732 # It is not useful on other systems. If it contains results you don't
2733 # want to keep, you may remove or edit it.
2735 # config.status only pays attention to the cache file if you give it
2736 # the --recheck option to rerun configure.
2738 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2740 # following values.
2742 _ACEOF
2744 # The following way of writing the cache mishandles newlines in values,
2745 # but we know of no workaround that is simple, portable, and efficient.
2746 # So, don't put newlines in cache variables' values.
2747 # Ultrix sh set writes to stderr and can't be redirected directly,
2748 # and sets the high bit in the cache file unless we assign to the vars.
2750 (set) 2>&1 |
2751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2752 *ac_space=\ *)
2753 # `set' does not quote correctly, so add quotes (double-quote
2754 # substitution turns \\\\ into \\, and sed turns \\ into \).
2755 sed -n \
2756 "s/'/'\\\\''/g;
2757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2760 # `set' quotes correctly as required by POSIX, so do not add quotes.
2761 sed -n \
2762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2764 esac;
2766 sed '
2767 t clear
2768 : clear
2769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2770 t end
2771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2772 : end' >>confcache
2773 if cmp -s $cache_file confcache; then :; else
2774 if test -w $cache_file; then
2775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2776 cat confcache >$cache_file
2777 else
2778 echo "not updating unwritable cache $cache_file"
2781 rm -f confcache
2783 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2784 # Let make expand exec_prefix.
2785 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2787 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2788 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2789 # trailing colons and then remove the whole line if VPATH becomes empty
2790 # (actually we leave an empty line to preserve line numbers).
2791 if test "x$srcdir" = x.; then
2792 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2793 s/:*\$(srcdir):*/:/;
2794 s/:*\${srcdir}:*/:/;
2795 s/:*@srcdir@:*/:/;
2796 s/^\([^=]*=[ ]*\):*/\1/;
2797 s/:*$//;
2798 s/^[^=]*=[ ]*$//;
2802 # Transform confdefs.h into DEFS.
2803 # Protect against shell expansion while executing Makefile rules.
2804 # Protect against Makefile macro expansion.
2806 # If the first sed substitution is executed (which looks for macros that
2807 # take arguments), then we branch to the quote section. Otherwise,
2808 # look for a macro that doesn't take arguments.
2809 cat >confdef2opt.sed <<\EOF
2810 t clear
2811 : clear
2812 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2813 t quote
2814 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2815 t quote
2817 : quote
2818 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2819 s,\[,\\&,g
2820 s,\],\\&,g
2821 s,\$,$$,g
2824 # We use echo to avoid assuming a particular line-breaking character.
2825 # The extra dot is to prevent the shell from consuming trailing
2826 # line-breaks from the sub-command output. A line-break within
2827 # single-quotes doesn't work because, if this script is created in a
2828 # platform that uses two characters for line-breaks (e.g., DOS), tr
2829 # would break.
2830 ac_LF_and_DOT=`echo; echo .`
2831 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2832 rm -f confdef2opt.sed
2834 : ${CONFIG_STATUS=./config.status}
2835 ac_clean_files_save=$ac_clean_files
2836 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2837 { echo "$as_me:2837: creating $CONFIG_STATUS" >&5
2838 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2839 cat >$CONFIG_STATUS <<_ACEOF
2840 #! $SHELL
2841 # Generated automatically by configure.
2842 # Run this file to recreate the current configuration.
2843 # Compiler output produced by configure, useful for debugging
2844 # configure, is in config.log if it exists.
2846 debug=false
2847 SHELL=\${CONFIG_SHELL-$SHELL}
2848 ac_cs_invocation="\$0 \$@"
2850 _ACEOF
2852 cat >>$CONFIG_STATUS <<\_ACEOF
2853 # Be Bourne compatible
2854 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2855 emulate sh
2856 NULLCMD=:
2857 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2858 set -o posix
2861 # Name of the executable.
2862 as_me=`echo "$0" |sed 's,.*[\\/],,'`
2864 if expr a : '\(a\)' >/dev/null 2>&1; then
2865 as_expr=expr
2866 else
2867 as_expr=false
2870 rm -f conf$$ conf$$.exe conf$$.file
2871 echo >conf$$.file
2872 if ln -s conf$$.file conf$$ 2>/dev/null; then
2873 # We could just check for DJGPP; but this test a) works b) is more generic
2874 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2875 if test -f conf$$.exe; then
2876 # Don't use ln at all; we don't have any links
2877 as_ln_s='cp -p'
2878 else
2879 as_ln_s='ln -s'
2881 elif ln conf$$.file conf$$ 2>/dev/null; then
2882 as_ln_s=ln
2883 else
2884 as_ln_s='cp -p'
2886 rm -f conf$$ conf$$.exe conf$$.file
2888 as_executable_p="test -f"
2890 # Support unset when possible.
2891 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2892 as_unset=unset
2893 else
2894 as_unset=false
2897 # NLS nuisances.
2898 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2899 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2900 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2901 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2902 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2903 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2904 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2905 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2907 # IFS
2908 # We need space, tab and new line, in precisely that order.
2909 as_nl='
2911 IFS=" $as_nl"
2913 # CDPATH.
2914 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2916 exec 6>&1
2918 _ACEOF
2920 # Files that config.status was made for.
2921 if test -n "$ac_config_files"; then
2922 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2925 if test -n "$ac_config_headers"; then
2926 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2929 if test -n "$ac_config_links"; then
2930 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2933 if test -n "$ac_config_commands"; then
2934 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2937 cat >>$CONFIG_STATUS <<\EOF
2939 ac_cs_usage="\
2940 \`$as_me' instantiates files from templates according to the
2941 current configuration.
2943 Usage: $0 [OPTIONS] [FILE]...
2945 -h, --help print this help, then exit
2946 -V, --version print version number, then exit
2947 -d, --debug don't remove temporary files
2948 --recheck update $as_me by reconfiguring in the same conditions
2949 --file=FILE[:TEMPLATE]
2950 instantiate the configuration file FILE
2952 Configuration files:
2953 $config_files
2955 Configuration commands:
2956 $config_commands
2958 Report bugs to <bug-autoconf@gnu.org>."
2961 cat >>$CONFIG_STATUS <<EOF
2962 ac_cs_version="\\
2963 config.status
2964 configured by $0, generated by GNU Autoconf 2.52,
2965 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2967 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2968 Free Software Foundation, Inc.
2969 This config.status script is free software; the Free Software Foundation
2970 gives unlimited permission to copy, distribute and modify it."
2971 srcdir=$srcdir
2972 INSTALL="$INSTALL"
2975 cat >>$CONFIG_STATUS <<\EOF
2976 # If no file are specified by the user, then we need to provide default
2977 # value. By we need to know if files were specified by the user.
2978 ac_need_defaults=:
2979 while test $# != 0
2981 case $1 in
2982 --*=*)
2983 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2984 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2985 shift
2986 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2987 shift
2989 -*);;
2990 *) # This is not an option, so the user has probably given explicit
2991 # arguments.
2992 ac_need_defaults=false;;
2993 esac
2995 case $1 in
2996 # Handling of the options.
2998 cat >>$CONFIG_STATUS <<EOF
2999 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3000 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3001 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3003 cat >>$CONFIG_STATUS <<\EOF
3004 --version | --vers* | -V )
3005 echo "$ac_cs_version"; exit 0 ;;
3006 --he | --h)
3007 # Conflict between --help and --header
3008 { { echo "$as_me:3008: error: ambiguous option: $1
3009 Try \`$0 --help' for more information." >&5
3010 echo "$as_me: error: ambiguous option: $1
3011 Try \`$0 --help' for more information." >&2;}
3012 { (exit 1); exit 1; }; };;
3013 --help | --hel | -h )
3014 echo "$ac_cs_usage"; exit 0 ;;
3015 --debug | --d* | -d )
3016 debug=: ;;
3017 --file | --fil | --fi | --f )
3018 shift
3019 CONFIG_FILES="$CONFIG_FILES $1"
3020 ac_need_defaults=false;;
3021 --header | --heade | --head | --hea )
3022 shift
3023 CONFIG_HEADERS="$CONFIG_HEADERS $1"
3024 ac_need_defaults=false;;
3026 # This is an error.
3027 -*) { { echo "$as_me:3027: error: unrecognized option: $1
3028 Try \`$0 --help' for more information." >&5
3029 echo "$as_me: error: unrecognized option: $1
3030 Try \`$0 --help' for more information." >&2;}
3031 { (exit 1); exit 1; }; } ;;
3033 *) ac_config_targets="$ac_config_targets $1" ;;
3035 esac
3036 shift
3037 done
3039 exec 5>>config.log
3040 cat >&5 << _ACEOF
3042 ## ----------------------- ##
3043 ## Running config.status. ##
3044 ## ----------------------- ##
3046 This file was extended by $as_me 2.52, executed with
3047 CONFIG_FILES = $CONFIG_FILES
3048 CONFIG_HEADERS = $CONFIG_HEADERS
3049 CONFIG_LINKS = $CONFIG_LINKS
3050 CONFIG_COMMANDS = $CONFIG_COMMANDS
3051 > $ac_cs_invocation
3052 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3054 _ACEOF
3057 cat >>$CONFIG_STATUS <<EOF
3059 # INIT-COMMANDS section.
3062 AMDEP_TRUE="$AMDEP_TRUE"
3063 ac_aux_dir="$ac_aux_dir"
3067 cat >>$CONFIG_STATUS <<\EOF
3068 for ac_config_target in $ac_config_targets
3070 case "$ac_config_target" in
3071 # Handling of arguments.
3072 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3073 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3074 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
3075 "example/Makefile" ) CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
3076 "testsuite/libdejagnu/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/libdejagnu/Makefile" ;;
3077 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3078 *) { { echo "$as_me:3078: error: invalid argument: $ac_config_target" >&5
3079 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3080 { (exit 1); exit 1; }; };;
3081 esac
3082 done
3084 # If the user did not use the arguments to specify the items to instantiate,
3085 # then the envvar interface is used. Set only those that are not.
3086 # We use the long form for the default assignment because of an extremely
3087 # bizarre bug on SunOS 4.1.3.
3088 if $ac_need_defaults; then
3089 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3090 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3093 # Create a temporary directory, and hook for its removal unless debugging.
3094 $debug ||
3096 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3097 trap '{ (exit 1); exit 1; }' 1 2 13 15
3100 # Create a (secure) tmp directory for tmp files.
3101 : ${TMPDIR=/tmp}
3103 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3104 test -n "$tmp" && test -d "$tmp"
3105 } ||
3107 tmp=$TMPDIR/cs$$-$RANDOM
3108 (umask 077 && mkdir $tmp)
3109 } ||
3111 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3112 { (exit 1); exit 1; }
3117 cat >>$CONFIG_STATUS <<EOF
3120 # CONFIG_FILES section.
3123 # No need to generate the scripts if there are no CONFIG_FILES.
3124 # This happens for instance when ./config.status config.h
3125 if test -n "\$CONFIG_FILES"; then
3126 # Protect against being on the right side of a sed subst in config.status.
3127 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3128 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3129 s,@SHELL@,$SHELL,;t t
3130 s,@exec_prefix@,$exec_prefix,;t t
3131 s,@prefix@,$prefix,;t t
3132 s,@program_transform_name@,$program_transform_name,;t t
3133 s,@bindir@,$bindir,;t t
3134 s,@sbindir@,$sbindir,;t t
3135 s,@libexecdir@,$libexecdir,;t t
3136 s,@datadir@,$datadir,;t t
3137 s,@sysconfdir@,$sysconfdir,;t t
3138 s,@sharedstatedir@,$sharedstatedir,;t t
3139 s,@localstatedir@,$localstatedir,;t t
3140 s,@libdir@,$libdir,;t t
3141 s,@includedir@,$includedir,;t t
3142 s,@oldincludedir@,$oldincludedir,;t t
3143 s,@infodir@,$infodir,;t t
3144 s,@mandir@,$mandir,;t t
3145 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3146 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3147 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3148 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3149 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3150 s,@build_alias@,$build_alias,;t t
3151 s,@host_alias@,$host_alias,;t t
3152 s,@target_alias@,$target_alias,;t t
3153 s,@ECHO_C@,$ECHO_C,;t t
3154 s,@ECHO_N@,$ECHO_N,;t t
3155 s,@ECHO_T@,$ECHO_T,;t t
3156 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3157 s,@DEFS@,$DEFS,;t t
3158 s,@LIBS@,$LIBS,;t t
3159 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3160 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3161 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3162 s,@PACKAGE@,$PACKAGE,;t t
3163 s,@VERSION@,$VERSION,;t t
3164 s,@EXEEXT@,$EXEEXT,;t t
3165 s,@OBJEXT@,$OBJEXT,;t t
3166 s,@ACLOCAL@,$ACLOCAL,;t t
3167 s,@AUTOCONF@,$AUTOCONF,;t t
3168 s,@AUTOMAKE@,$AUTOMAKE,;t t
3169 s,@AUTOHEADER@,$AUTOHEADER,;t t
3170 s,@MAKEINFO@,$MAKEINFO,;t t
3171 s,@AMTAR@,$AMTAR,;t t
3172 s,@install_sh@,$install_sh,;t t
3173 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3174 s,@AWK@,$AWK,;t t
3175 s,@SET_MAKE@,$SET_MAKE,;t t
3176 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3177 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3178 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3179 s,@DEPDIR@,$DEPDIR,;t t
3180 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3181 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3182 s,@MAINT@,$MAINT,;t t
3183 s,@CC@,$CC,;t t
3184 s,@CFLAGS@,$CFLAGS,;t t
3185 s,@LDFLAGS@,$LDFLAGS,;t t
3186 s,@CPPFLAGS@,$CPPFLAGS,;t t
3187 s,@ac_ct_CC@,$ac_ct_CC,;t t
3188 s,@am__include@,$am__include,;t t
3189 s,@am__quote@,$am__quote,;t t
3190 s,@CCDEPMODE@,$CCDEPMODE,;t t
3191 s,@CXX@,$CXX,;t t
3192 s,@CXXFLAGS@,$CXXFLAGS,;t t
3193 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3194 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
3195 s,@YACC@,$YACC,;t t
3196 s,@DOCBOOK@,$DOCBOOK,;t t
3197 s,@tclsh@,$tclsh,;t t
3198 s,@TCLSH@,$TCLSH,;t t
3199 s,@BOARDS@,$BOARDS,;t t
3200 s,@CONFIG@,$CONFIG,;t t
3201 s,@subdirs@,$subdirs,;t t
3202 CEOF
3206 cat >>$CONFIG_STATUS <<\EOF
3207 # Split the substitutions into bite-sized pieces for seds with
3208 # small command number limits, like on Digital OSF/1 and HP-UX.
3209 ac_max_sed_lines=48
3210 ac_sed_frag=1 # Number of current file.
3211 ac_beg=1 # First line for current file.
3212 ac_end=$ac_max_sed_lines # Line after last line for current file.
3213 ac_more_lines=:
3214 ac_sed_cmds=
3215 while $ac_more_lines; do
3216 if test $ac_beg -gt 1; then
3217 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3218 else
3219 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3221 if test ! -s $tmp/subs.frag; then
3222 ac_more_lines=false
3223 else
3224 # The purpose of the label and of the branching condition is to
3225 # speed up the sed processing (if there are no `@' at all, there
3226 # is no need to browse any of the substitutions).
3227 # These are the two extra sed commands mentioned above.
3228 (echo ':t
3229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3230 if test -z "$ac_sed_cmds"; then
3231 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3232 else
3233 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3235 ac_sed_frag=`expr $ac_sed_frag + 1`
3236 ac_beg=$ac_end
3237 ac_end=`expr $ac_end + $ac_max_sed_lines`
3239 done
3240 if test -z "$ac_sed_cmds"; then
3241 ac_sed_cmds=cat
3243 fi # test -n "$CONFIG_FILES"
3246 cat >>$CONFIG_STATUS <<\EOF
3247 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3249 case $ac_file in
3250 - | *:- | *:-:* ) # input from stdin
3251 cat >$tmp/stdin
3252 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3253 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3254 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3255 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3256 * ) ac_file_in=$ac_file.in ;;
3257 esac
3259 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3260 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3261 X"$ac_file" : 'X\(//\)[^/]' \| \
3262 X"$ac_file" : 'X\(//\)$' \| \
3263 X"$ac_file" : 'X\(/\)' \| \
3264 . : '\(.\)' 2>/dev/null ||
3265 echo X"$ac_file" |
3266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3268 /^X\(\/\/\)$/{ s//\1/; q; }
3269 /^X\(\/\).*/{ s//\1/; q; }
3270 s/.*/./; q'`
3271 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3272 { case "$ac_dir" in
3273 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3274 *) as_incr_dir=.;;
3275 esac
3276 as_dummy="$ac_dir"
3277 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3278 case $as_mkdir_dir in
3279 # Skip DOS drivespec
3280 ?:) as_incr_dir=$as_mkdir_dir ;;
3282 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3283 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3285 esac
3286 done; }
3288 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3289 # A "../" for each directory in $ac_dir_suffix.
3290 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3291 else
3292 ac_dir_suffix= ac_dots=
3295 case $srcdir in
3296 .) ac_srcdir=.
3297 if test -z "$ac_dots"; then
3298 ac_top_srcdir=.
3299 else
3300 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3301 fi ;;
3302 [\\/]* | ?:[\\/]* )
3303 ac_srcdir=$srcdir$ac_dir_suffix;
3304 ac_top_srcdir=$srcdir ;;
3305 *) # Relative path.
3306 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3307 ac_top_srcdir=$ac_dots$srcdir ;;
3308 esac
3310 case $INSTALL in
3311 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3312 *) ac_INSTALL=$ac_dots$INSTALL ;;
3313 esac
3315 if test x"$ac_file" != x-; then
3316 { echo "$as_me:3316: creating $ac_file" >&5
3317 echo "$as_me: creating $ac_file" >&6;}
3318 rm -f "$ac_file"
3320 # Let's still pretend it is `configure' which instantiates (i.e., don't
3321 # use $as_me), people would be surprised to read:
3322 # /* config.h. Generated automatically by config.status. */
3323 configure_input="Generated automatically from `echo $ac_file_in |
3324 sed 's,.*/,,'` by configure."
3326 # First look for the input files in the build tree, otherwise in the
3327 # src tree.
3328 ac_file_inputs=`IFS=:
3329 for f in $ac_file_in; do
3330 case $f in
3331 -) echo $tmp/stdin ;;
3332 [\\/$]*)
3333 # Absolute (can't be DOS-style, as IFS=:)
3334 test -f "$f" || { { echo "$as_me:3334: error: cannot find input file: $f" >&5
3335 echo "$as_me: error: cannot find input file: $f" >&2;}
3336 { (exit 1); exit 1; }; }
3337 echo $f;;
3338 *) # Relative
3339 if test -f "$f"; then
3340 # Build tree
3341 echo $f
3342 elif test -f "$srcdir/$f"; then
3343 # Source tree
3344 echo $srcdir/$f
3345 else
3346 # /dev/null tree
3347 { { echo "$as_me:3347: error: cannot find input file: $f" >&5
3348 echo "$as_me: error: cannot find input file: $f" >&2;}
3349 { (exit 1); exit 1; }; }
3350 fi;;
3351 esac
3352 done` || { (exit 1); exit 1; }
3354 cat >>$CONFIG_STATUS <<EOF
3355 sed "$ac_vpsub
3356 $extrasub
3358 cat >>$CONFIG_STATUS <<\EOF
3360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3361 s,@configure_input@,$configure_input,;t t
3362 s,@srcdir@,$ac_srcdir,;t t
3363 s,@top_srcdir@,$ac_top_srcdir,;t t
3364 s,@INSTALL@,$ac_INSTALL,;t t
3365 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3366 rm -f $tmp/stdin
3367 if test x"$ac_file" != x-; then
3368 mv $tmp/out $ac_file
3369 else
3370 cat $tmp/out
3371 rm -f $tmp/out
3374 done
3376 cat >>$CONFIG_STATUS <<\EOF
3379 # CONFIG_COMMANDS section.
3381 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3382 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3383 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3385 case $ac_dest in
3386 default-1 )
3387 test x"$AMDEP_TRUE" != x"" ||
3388 for mf in $CONFIG_FILES; do
3389 case "$mf" in
3390 Makefile) dirpart=.;;
3391 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
3392 *) continue;;
3393 esac
3394 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3395 # Extract the definition of DEP_FILES from the Makefile without
3396 # running `make'.
3397 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3398 test -z "$DEPDIR" && continue
3399 # When using ansi2knr, U may be empty or an underscore; expand it
3400 U=`sed -n -e '/^U = / s///p' < "$mf"`
3401 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3402 # We invoke sed twice because it is the simplest approach to
3403 # changing $(DEPDIR) to its actual value in the expansion.
3404 for file in `sed -n -e '
3405 /^DEP_FILES = .*\\\\$/ {
3406 s/^DEP_FILES = //
3407 :loop
3408 s/\\\\$//
3411 /\\\\$/ b loop
3414 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3415 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3416 # Make sure the directory exists.
3417 test -f "$dirpart/$file" && continue
3418 fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
3419 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
3420 # echo "creating $dirpart/$file"
3421 echo '# dummy' > "$dirpart/$file"
3422 done
3423 done
3425 esac
3426 done
3429 cat >>$CONFIG_STATUS <<\EOF
3431 { (exit 0); exit 0; }
3433 chmod +x $CONFIG_STATUS
3434 ac_clean_files=$ac_clean_files_save
3436 # configure is writing to config.log, and then calls config.status.
3437 # config.status does its own redirection, appending to config.log.
3438 # Unfortunately, on DOS this fails, as config.log is still kept open
3439 # by configure, so config.status won't be able to write to it; its
3440 # output is simply discarded. So we exec the FD to /dev/null,
3441 # effectively closing config.log, so it can be properly (re)opened and
3442 # appended to by config.status. When coming back to configure, we
3443 # need to make the FD available again.
3444 if test "$no_create" != yes; then
3445 ac_cs_success=:
3446 exec 5>/dev/null
3447 $SHELL $CONFIG_STATUS || ac_cs_success=false
3448 exec 5>>config.log
3449 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3450 # would make configure fail if this is the last instruction.
3451 $ac_cs_success || { (exit 1); exit 1; }
3455 # CONFIG_SUBDIRS section.
3457 if test "$no_recursion" != yes; then
3459 # Remove --cache-file and --srcdir arguments so they do not pile up.
3460 ac_sub_configure_args=
3461 ac_prev=
3462 for ac_arg in $ac_configure_args; do
3463 if test -n "$ac_prev"; then
3464 ac_prev=
3465 continue
3467 case $ac_arg in
3468 -cache-file | --cache-file | --cache-fil | --cache-fi \
3469 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3470 ac_prev=cache_file ;;
3471 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3472 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3473 | --c=*)
3475 --config-cache | -C)
3477 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3478 ac_prev=srcdir ;;
3479 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3481 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3482 esac
3483 done
3485 for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
3487 # Do not complain, so a configure script can configure whichever
3488 # parts of a large source tree are present.
3489 test -d $srcdir/$ac_subdir || continue
3491 { echo "$as_me:3491: configuring in $ac_subdir" >&5
3492 echo "$as_me: configuring in $ac_subdir" >&6;}
3493 case $srcdir in
3494 .) ;;
3495 *) { case "./$ac_subdir" in
3496 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3497 *) as_incr_dir=.;;
3498 esac
3499 as_dummy="./$ac_subdir"
3500 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3501 case $as_mkdir_dir in
3502 # Skip DOS drivespec
3503 ?:) as_incr_dir=$as_mkdir_dir ;;
3505 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3506 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3508 esac
3509 done; }
3511 if test -d ./$ac_subdir; then :;
3512 else
3513 { { echo "$as_me:3513: error: cannot create \`pwd\`/$ac_subdir" >&5
3514 echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
3515 { (exit 1); exit 1; }; }
3518 esac
3520 ac_popdir=`pwd`
3521 cd $ac_subdir
3523 # A "../" for each directory in /$ac_subdir.
3524 ac_dots=`echo $ac_subdir |
3525 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
3527 case $srcdir in
3528 .) # No --srcdir option. We are building in place.
3529 ac_sub_srcdir=$srcdir ;;
3530 [\\/]* | ?:[\\/]* ) # Absolute path.
3531 ac_sub_srcdir=$srcdir/$ac_subdir ;;
3532 *) # Relative path.
3533 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
3534 esac
3536 # Check for guested configure; otherwise get Cygnus style configure.
3537 if test -f $ac_sub_srcdir/configure.gnu; then
3538 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
3539 elif test -f $ac_sub_srcdir/configure; then
3540 ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
3541 elif test -f $ac_sub_srcdir/configure.in; then
3542 ac_sub_configure=$ac_configure
3543 else
3544 { echo "$as_me:3544: WARNING: no configuration information is in $ac_subdir" >&5
3545 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
3546 ac_sub_configure=
3549 # The recursion is here.
3550 if test -n "$ac_sub_configure"; then
3551 # Make the cache file name correct relative to the subdirectory.
3552 case $cache_file in
3553 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3554 *) # Relative path.
3555 ac_sub_cache_file=$ac_dots$cache_file ;;
3556 esac
3558 { echo "$as_me:3558: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
3559 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
3560 # The eval makes quoting arguments work.
3561 eval $ac_sub_configure $ac_sub_configure_args \
3562 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
3563 { { echo "$as_me:3563: error: $ac_sub_configure failed for $ac_subdir" >&5
3564 echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
3565 { (exit 1); exit 1; }; }
3568 cd $ac_popdir
3569 done