source: gs2-extensions/tdb-edit/trunk/src/src/txt2tdb-src/configure@ 23992

Last change on this file since 23992 was 23992, checked in by jmt12, 13 years ago

Initial checkin of txt2tdb wrapper code

  • Property svn:executable set to *
File size: 149.8 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for txt2tdb 1.0.
4#
5# Report bugs to <[email protected]>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization. ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29else
30 as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56else
57 as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62else
63 as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154done
155;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198else
199 as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215else
216 as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='txt2tdb'
271PACKAGE_TARNAME='txt2tdb'
272PACKAGE_VERSION='1.0'
273PACKAGE_STRING='txt2tdb 1.0'
274PACKAGE_BUGREPORT='[email protected]'
275
276ac_unique_file="txt2tdb.cpp"
277ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LIBOBJS LTLIBOBJS'
278ac_subst_files=''
279
280# Initialize some variables set by options.
281ac_init_help=
282ac_init_version=false
283# The variables have the same names as the options, with
284# dashes changed to underlines.
285cache_file=/dev/null
286exec_prefix=NONE
287no_create=
288no_recursion=
289prefix=NONE
290program_prefix=NONE
291program_suffix=NONE
292program_transform_name=s,x,x,
293silent=
294site=
295srcdir=
296verbose=
297x_includes=NONE
298x_libraries=NONE
299
300# Installation directory options.
301# These are left unexpanded so users can "make install exec_prefix=/foo"
302# and all the variables that are supposed to be based on exec_prefix
303# by default will actually change.
304# Use braces instead of parens because sh, perl, etc. also accept them.
305bindir='${exec_prefix}/bin'
306sbindir='${exec_prefix}/sbin'
307libexecdir='${exec_prefix}/libexec'
308datadir='${prefix}/share'
309sysconfdir='${prefix}/etc'
310sharedstatedir='${prefix}/com'
311localstatedir='${prefix}/var'
312libdir='${exec_prefix}/lib'
313includedir='${prefix}/include'
314oldincludedir='/usr/include'
315infodir='${prefix}/info'
316mandir='${prefix}/man'
317
318ac_prev=
319for ac_option
320do
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
324 ac_prev=
325 continue
326 fi
327
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
330 # Accept the important Cygnus configure options, so we can diagnose typos.
331
332 case $ac_option in
333
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 ac_prev=bindir ;;
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 bindir=$ac_optarg ;;
338
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
343
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
350
351 --config-cache | -C)
352 cache_file=config.cache ;;
353
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 ac_prev=datadir ;;
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 | --da=*)
358 datadir=$ac_optarg ;;
359
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
368
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 case $ac_option in
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 *) ac_optarg=yes ;;
379 esac
380 eval "enable_$ac_feature='$ac_optarg'" ;;
381
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
390
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
393 with_gas=yes ;;
394
395 -help | --help | --hel | --he | -h)
396 ac_init_help=long ;;
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
401
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
406
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
413
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 ac_prev=infodir ;;
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
418
419 -libdir | --libdir | --libdi | --libd)
420 ac_prev=libdir ;;
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 libdir=$ac_optarg ;;
423
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
430
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
439
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 ac_prev=mandir ;;
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 mandir=$ac_optarg ;;
444
445 -nfp | --nfp | --nf)
446 # Obsolete; use --without-fp.
447 with_fp=no ;;
448
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
451 no_create=yes ;;
452
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 no_recursion=yes ;;
456
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
465
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 ac_prev=prefix ;;
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 prefix=$ac_optarg ;;
470
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
477
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
484
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
501
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
504 silent=yes ;;
505
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 ac_prev=sbindir ;;
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 | --sbi=* | --sb=*)
510 sbindir=$ac_optarg ;;
511
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
515 | --sha | --sh)
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 | --sha=* | --sh=*)
521 sharedstatedir=$ac_optarg ;;
522
523 -site | --site | --sit)
524 ac_prev=site ;;
525 -site=* | --site=* | --sit=*)
526 site=$ac_optarg ;;
527
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 ac_prev=srcdir ;;
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 srcdir=$ac_optarg ;;
532
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
539
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
544
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 verbose=yes ;;
547
548 -version | --version | --versio | --versi | --vers | -V)
549 ac_init_version=: ;;
550
551 -with-* | --with-*)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 case $ac_option in
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 *) ac_optarg=yes ;;
561 esac
562 eval "with_$ac_package='$ac_optarg'" ;;
563
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
572
573 --x)
574 # Obsolete; use --with-x.
575 with_x=yes ;;
576
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
583
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
590
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
594 ;;
595
596 *=*)
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
604 export $ac_envvar ;;
605
606 *)
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612 ;;
613
614 esac
615done
616
617if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
621fi
622
623# Be sure to have absolute paths.
624for ac_var in exec_prefix prefix
625do
626 eval ac_val=$`echo $ac_var`
627 case $ac_val in
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
631 esac
632done
633
634# Be sure to have absolute paths.
635for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
637do
638 eval ac_val=$`echo $ac_var`
639 case $ac_val in
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
643 esac
644done
645
646# There might be people who depend on the old broken behavior: `$host'
647# used to hold the argument of --host etc.
648# FIXME: To remove some day.
649build=$build_alias
650host=$host_alias
651target=$target_alias
652
653# FIXME: To remove some day.
654if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
660 cross_compiling=yes
661 fi
662fi
663
664ac_tool_prefix=
665test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667test "$silent" = yes && exec 6>/dev/null
668
669
670# Find the source files, if location was not specified.
671if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
680echo X"$0" |
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
685 s/.*/./; q'`
686 srcdir=$ac_confdir
687 if test ! -r $srcdir/$ac_unique_file; then
688 srcdir=..
689 fi
690else
691 ac_srcdir_defaulted=no
692fi
693if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
697 else
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
700 fi
701fi
702(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706ac_env_build_alias_set=${build_alias+set}
707ac_env_build_alias_value=$build_alias
708ac_cv_env_build_alias_set=${build_alias+set}
709ac_cv_env_build_alias_value=$build_alias
710ac_env_host_alias_set=${host_alias+set}
711ac_env_host_alias_value=$host_alias
712ac_cv_env_host_alias_set=${host_alias+set}
713ac_cv_env_host_alias_value=$host_alias
714ac_env_target_alias_set=${target_alias+set}
715ac_env_target_alias_value=$target_alias
716ac_cv_env_target_alias_set=${target_alias+set}
717ac_cv_env_target_alias_value=$target_alias
718ac_env_CXX_set=${CXX+set}
719ac_env_CXX_value=$CXX
720ac_cv_env_CXX_set=${CXX+set}
721ac_cv_env_CXX_value=$CXX
722ac_env_CXXFLAGS_set=${CXXFLAGS+set}
723ac_env_CXXFLAGS_value=$CXXFLAGS
724ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
725ac_cv_env_CXXFLAGS_value=$CXXFLAGS
726ac_env_LDFLAGS_set=${LDFLAGS+set}
727ac_env_LDFLAGS_value=$LDFLAGS
728ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729ac_cv_env_LDFLAGS_value=$LDFLAGS
730ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731ac_env_CPPFLAGS_value=$CPPFLAGS
732ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734ac_env_CC_set=${CC+set}
735ac_env_CC_value=$CC
736ac_cv_env_CC_set=${CC+set}
737ac_cv_env_CC_value=$CC
738ac_env_CFLAGS_set=${CFLAGS+set}
739ac_env_CFLAGS_value=$CFLAGS
740ac_cv_env_CFLAGS_set=${CFLAGS+set}
741ac_cv_env_CFLAGS_value=$CFLAGS
742ac_env_CPP_set=${CPP+set}
743ac_env_CPP_value=$CPP
744ac_cv_env_CPP_set=${CPP+set}
745ac_cv_env_CPP_value=$CPP
746
747#
748# Report the --help message.
749#
750if test "$ac_init_help" = "long"; then
751 # Omit some internal or obsolete options to make the list less imposing.
752 # This message is too long to be a string in the A/UX 3.1 sh.
753 cat <<_ACEOF
754\`configure' configures txt2tdb 1.0 to adapt to many kinds of systems.
755
756Usage: $0 [OPTION]... [VAR=VALUE]...
757
758To assign environment variables (e.g., CC, CFLAGS...), specify them as
759VAR=VALUE. See below for descriptions of some of the useful variables.
760
761Defaults for the options are specified in brackets.
762
763Configuration:
764 -h, --help display this help and exit
765 --help=short display options specific to this package
766 --help=recursive display the short help of all the included packages
767 -V, --version display version information and exit
768 -q, --quiet, --silent do not print \`checking...' messages
769 --cache-file=FILE cache test results in FILE [disabled]
770 -C, --config-cache alias for \`--cache-file=config.cache'
771 -n, --no-create do not create output files
772 --srcdir=DIR find the sources in DIR [configure dir or \`..']
773
774_ACEOF
775
776 cat <<_ACEOF
777Installation directories:
778 --prefix=PREFIX install architecture-independent files in PREFIX
779 [$ac_default_prefix]
780 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
781 [PREFIX]
782
783By default, \`make install' will install all the files in
784\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
785an installation prefix other than \`$ac_default_prefix' using \`--prefix',
786for instance \`--prefix=\$HOME'.
787
788For better control, use the options below.
789
790Fine tuning of the installation directories:
791 --bindir=DIR user executables [EPREFIX/bin]
792 --sbindir=DIR system admin executables [EPREFIX/sbin]
793 --libexecdir=DIR program executables [EPREFIX/libexec]
794 --datadir=DIR read-only architecture-independent data [PREFIX/share]
795 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
796 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
797 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
798 --libdir=DIR object code libraries [EPREFIX/lib]
799 --includedir=DIR C header files [PREFIX/include]
800 --oldincludedir=DIR C header files for non-gcc [/usr/include]
801 --infodir=DIR info documentation [PREFIX/info]
802 --mandir=DIR man documentation [PREFIX/man]
803_ACEOF
804
805 cat <<\_ACEOF
806
807Program names:
808 --program-prefix=PREFIX prepend PREFIX to installed program names
809 --program-suffix=SUFFIX append SUFFIX to installed program names
810 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
811
812System types:
813 --build=BUILD configure for building on BUILD [guessed]
814 --host=HOST cross-compile to build programs to run on HOST [BUILD]
815_ACEOF
816fi
817
818if test -n "$ac_init_help"; then
819 case $ac_init_help in
820 short | recursive ) echo "Configuration of txt2tdb 1.0:";;
821 esac
822 cat <<\_ACEOF
823
824Optional Features:
825 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
826 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
827 --disable-dependency-tracking speeds up one-time build
828 --enable-dependency-tracking do not reject slow dependency extractors
829
830Some influential environment variables:
831 CXX C++ compiler command
832 CXXFLAGS C++ compiler flags
833 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
834 nonstandard directory <lib dir>
835 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
836 headers in a nonstandard directory <include dir>
837 CC C compiler command
838 CFLAGS C compiler flags
839 CPP C preprocessor
840
841Use these variables to override the choices made by `configure' or to help
842it to find libraries and programs with nonstandard names/locations.
843
844Report bugs to <[email protected]>.
845_ACEOF
846fi
847
848if test "$ac_init_help" = "recursive"; then
849 # If there are subdirs, report their specific --help.
850 ac_popdir=`pwd`
851 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852 test -d $ac_dir || continue
853 ac_builddir=.
854
855if test "$ac_dir" != .; then
856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
857 # A "../" for each directory in $ac_dir_suffix.
858 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
859else
860 ac_dir_suffix= ac_top_builddir=
861fi
862
863case $srcdir in
864 .) # No --srcdir option. We are building in place.
865 ac_srcdir=.
866 if test -z "$ac_top_builddir"; then
867 ac_top_srcdir=.
868 else
869 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
870 fi ;;
871 [\\/]* | ?:[\\/]* ) # Absolute path.
872 ac_srcdir=$srcdir$ac_dir_suffix;
873 ac_top_srcdir=$srcdir ;;
874 *) # Relative path.
875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876 ac_top_srcdir=$ac_top_builddir$srcdir ;;
877esac
878
879# Do not use `cd foo && pwd` to compute absolute paths, because
880# the directories may not exist.
881case `pwd` in
882.) ac_abs_builddir="$ac_dir";;
883*)
884 case "$ac_dir" in
885 .) ac_abs_builddir=`pwd`;;
886 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
887 *) ac_abs_builddir=`pwd`/"$ac_dir";;
888 esac;;
889esac
890case $ac_abs_builddir in
891.) ac_abs_top_builddir=${ac_top_builddir}.;;
892*)
893 case ${ac_top_builddir}. in
894 .) ac_abs_top_builddir=$ac_abs_builddir;;
895 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
896 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
897 esac;;
898esac
899case $ac_abs_builddir in
900.) ac_abs_srcdir=$ac_srcdir;;
901*)
902 case $ac_srcdir in
903 .) ac_abs_srcdir=$ac_abs_builddir;;
904 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
905 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
906 esac;;
907esac
908case $ac_abs_builddir in
909.) ac_abs_top_srcdir=$ac_top_srcdir;;
910*)
911 case $ac_top_srcdir in
912 .) ac_abs_top_srcdir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
914 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
915 esac;;
916esac
917
918 cd $ac_dir
919 # Check for guested configure; otherwise get Cygnus style configure.
920 if test -f $ac_srcdir/configure.gnu; then
921 echo
922 $SHELL $ac_srcdir/configure.gnu --help=recursive
923 elif test -f $ac_srcdir/configure; then
924 echo
925 $SHELL $ac_srcdir/configure --help=recursive
926 elif test -f $ac_srcdir/configure.ac ||
927 test -f $ac_srcdir/configure.in; then
928 echo
929 $ac_configure --help
930 else
931 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 fi
933 cd $ac_popdir
934 done
935fi
936
937test -n "$ac_init_help" && exit 0
938if $ac_init_version; then
939 cat <<\_ACEOF
940txt2tdb configure 1.0
941generated by GNU Autoconf 2.59
942
943Copyright (C) 2003 Free Software Foundation, Inc.
944This configure script is free software; the Free Software Foundation
945gives unlimited permission to copy, distribute and modify it.
946_ACEOF
947 exit 0
948fi
949exec 5>config.log
950cat >&5 <<_ACEOF
951This file contains any messages produced by compilers while
952running configure, to aid debugging if configure makes a mistake.
953
954It was created by txt2tdb $as_me 1.0, which was
955generated by GNU Autoconf 2.59. Invocation command line was
956
957 $ $0 $@
958
959_ACEOF
960{
961cat <<_ASUNAME
962## --------- ##
963## Platform. ##
964## --------- ##
965
966hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
967uname -m = `(uname -m) 2>/dev/null || echo unknown`
968uname -r = `(uname -r) 2>/dev/null || echo unknown`
969uname -s = `(uname -s) 2>/dev/null || echo unknown`
970uname -v = `(uname -v) 2>/dev/null || echo unknown`
971
972/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
973/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
974
975/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
976/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
977/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
978hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
979/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
980/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
981/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
982
983_ASUNAME
984
985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
986for as_dir in $PATH
987do
988 IFS=$as_save_IFS
989 test -z "$as_dir" && as_dir=.
990 echo "PATH: $as_dir"
991done
992
993} >&5
994
995cat >&5 <<_ACEOF
996
997
998## ----------- ##
999## Core tests. ##
1000## ----------- ##
1001
1002_ACEOF
1003
1004
1005# Keep a trace of the command line.
1006# Strip out --no-create and --no-recursion so they do not pile up.
1007# Strip out --silent because we don't want to record it for future runs.
1008# Also quote any args containing shell meta-characters.
1009# Make two passes to allow for proper duplicate-argument suppression.
1010ac_configure_args=
1011ac_configure_args0=
1012ac_configure_args1=
1013ac_sep=
1014ac_must_keep_next=false
1015for ac_pass in 1 2
1016do
1017 for ac_arg
1018 do
1019 case $ac_arg in
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1023 continue ;;
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1026 esac
1027 case $ac_pass in
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1029 2)
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1033 else
1034 case $ac_arg in
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1041 esac
1042 ;;
1043 -* ) ac_must_keep_next=true ;;
1044 esac
1045 fi
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1048 ac_sep=" "
1049 ;;
1050 esac
1051 done
1052done
1053$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1055
1056# When interrupted or exit'd, cleanup temporary files, and complete
1057# config.log. We remove comments because anyway the quotes in there
1058# would cause problems or look ugly.
1059# WARNING: Be sure not to use single quotes in there, as some shells,
1060# such as our DU 5.0 friend, will then `close' the trap.
1061trap 'exit_status=$?
1062 # Save into config.log some information that might help in debugging.
1063 {
1064 echo
1065
1066 cat <<\_ASBOX
1067## ---------------- ##
1068## Cache variables. ##
1069## ---------------- ##
1070_ASBOX
1071 echo
1072 # The following way of writing the cache mishandles newlines in values,
1073{
1074 (set) 2>&1 |
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1076 *ac_space=\ *)
1077 sed -n \
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1080 ;;
1081 *)
1082 sed -n \
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1084 ;;
1085 esac;
1086}
1087 echo
1088
1089 cat <<\_ASBOX
1090## ----------------- ##
1091## Output variables. ##
1092## ----------------- ##
1093_ASBOX
1094 echo
1095 for ac_var in $ac_subst_vars
1096 do
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1099 done | sort
1100 echo
1101
1102 if test -n "$ac_subst_files"; then
1103 cat <<\_ASBOX
1104## ------------- ##
1105## Output files. ##
1106## ------------- ##
1107_ASBOX
1108 echo
1109 for ac_var in $ac_subst_files
1110 do
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1113 done | sort
1114 echo
1115 fi
1116
1117 if test -s confdefs.h; then
1118 cat <<\_ASBOX
1119## ----------- ##
1120## confdefs.h. ##
1121## ----------- ##
1122_ASBOX
1123 echo
1124 sed "/^$/d" confdefs.h | sort
1125 echo
1126 fi
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1130 } >&5
1131 rm -f core *.core &&
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1133 exit $exit_status
1134 ' 0
1135for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137done
1138ac_signal=0
1139
1140# confdefs.h avoids OS command line length limits that DEFS can exceed.
1141rm -rf conftest* confdefs.h
1142# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1143echo >confdefs.h
1144
1145# Predefined preprocessor variables.
1146
1147cat >>confdefs.h <<_ACEOF
1148#define PACKAGE_NAME "$PACKAGE_NAME"
1149_ACEOF
1150
1151
1152cat >>confdefs.h <<_ACEOF
1153#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154_ACEOF
1155
1156
1157cat >>confdefs.h <<_ACEOF
1158#define PACKAGE_VERSION "$PACKAGE_VERSION"
1159_ACEOF
1160
1161
1162cat >>confdefs.h <<_ACEOF
1163#define PACKAGE_STRING "$PACKAGE_STRING"
1164_ACEOF
1165
1166
1167cat >>confdefs.h <<_ACEOF
1168#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169_ACEOF
1170
1171
1172# Let the site file select an alternate cache file if it wants to.
1173# Prefer explicitly selected file to automatically selected ones.
1174if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1177 else
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1179 fi
1180fi
1181for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's/^/| /' "$ac_site_file" >&5
1186 . "$ac_site_file"
1187 fi
1188done
1189
1190if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195echo "$as_me: loading cache $cache_file" >&6;}
1196 case $cache_file in
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1199 esac
1200 fi
1201else
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203echo "$as_me: creating cache $cache_file" >&6;}
1204 >$cache_file
1205fi
1206
1207# Check that the precious variables saved in the cache have kept the same
1208# value.
1209ac_cache_corrupted=false
1210for ac_var in `(set) 2>&1 |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1217 set,)
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1219echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1221 ,set)
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1223echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1225 ,);;
1226 *)
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1229echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1235 fi;;
1236 esac
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1239 case $ac_new_val in
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1243 esac
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1247 esac
1248 fi
1249done
1250if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1254echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1256fi
1257
1258ac_ext=c
1259ac_cpp='$CPP $CPPFLAGS'
1260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1262ac_compiler_gnu=$ac_cv_c_compiler_gnu
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290am__api_version="1.9"
1291ac_aux_dir=
1292for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1293 if test -f $ac_dir/install-sh; then
1294 ac_aux_dir=$ac_dir
1295 ac_install_sh="$ac_aux_dir/install-sh -c"
1296 break
1297 elif test -f $ac_dir/install.sh; then
1298 ac_aux_dir=$ac_dir
1299 ac_install_sh="$ac_aux_dir/install.sh -c"
1300 break
1301 elif test -f $ac_dir/shtool; then
1302 ac_aux_dir=$ac_dir
1303 ac_install_sh="$ac_aux_dir/shtool install -c"
1304 break
1305 fi
1306done
1307if test -z "$ac_aux_dir"; then
1308 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1309echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1310 { (exit 1); exit 1; }; }
1311fi
1312ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1313ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1314ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1315
1316# Find a good install program. We prefer a C program (faster),
1317# so one script is as good as another. But avoid the broken or
1318# incompatible versions:
1319# SysV /etc/install, /usr/sbin/install
1320# SunOS /usr/etc/install
1321# IRIX /sbin/install
1322# AIX /bin/install
1323# AmigaOS /C/install, which installs bootblocks on floppy discs
1324# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1325# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1326# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1327# OS/2's system install, which has a completely different semantic
1328# ./install, which can be erroneously created by make from ./install.sh.
1329echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1330echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1331if test -z "$INSTALL"; then
1332if test "${ac_cv_path_install+set}" = set; then
1333 echo $ECHO_N "(cached) $ECHO_C" >&6
1334else
1335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336for as_dir in $PATH
1337do
1338 IFS=$as_save_IFS
1339 test -z "$as_dir" && as_dir=.
1340 # Account for people who put trailing slashes in PATH elements.
1341case $as_dir/ in
1342 ./ | .// | /cC/* | \
1343 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1344 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1345 /usr/ucb/* ) ;;
1346 *)
1347 # OSF1 and SCO ODT 3.0 have their own names for install.
1348 # Don't use installbsd from OSF since it installs stuff as root
1349 # by default.
1350 for ac_prog in ginstall scoinst install; do
1351 for ac_exec_ext in '' $ac_executable_extensions; do
1352 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1353 if test $ac_prog = install &&
1354 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1355 # AIX install. It has an incompatible calling convention.
1356 :
1357 elif test $ac_prog = install &&
1358 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1359 # program-specific install script used by HP pwplus--don't use.
1360 :
1361 else
1362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1363 break 3
1364 fi
1365 fi
1366 done
1367 done
1368 ;;
1369esac
1370done
1371
1372
1373fi
1374 if test "${ac_cv_path_install+set}" = set; then
1375 INSTALL=$ac_cv_path_install
1376 else
1377 # As a last resort, use the slow shell script. We don't cache a
1378 # path for INSTALL within a source directory, because that will
1379 # break other packages using the cache if that directory is
1380 # removed, or if the path is relative.
1381 INSTALL=$ac_install_sh
1382 fi
1383fi
1384echo "$as_me:$LINENO: result: $INSTALL" >&5
1385echo "${ECHO_T}$INSTALL" >&6
1386
1387# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1388# It thinks the first close brace ends the variable substitution.
1389test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1390
1391test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1392
1393test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1394
1395echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1396echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1397# Just in case
1398sleep 1
1399echo timestamp > conftest.file
1400# Do `set' in a subshell so we don't clobber the current shell's
1401# arguments. Must try -L first in case configure is actually a
1402# symlink; some systems play weird games with the mod time of symlinks
1403# (eg FreeBSD returns the mod time of the symlink's containing
1404# directory).
1405if (
1406 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1407 if test "$*" = "X"; then
1408 # -L didn't work.
1409 set X `ls -t $srcdir/configure conftest.file`
1410 fi
1411 rm -f conftest.file
1412 if test "$*" != "X $srcdir/configure conftest.file" \
1413 && test "$*" != "X conftest.file $srcdir/configure"; then
1414
1415 # If neither matched, then we have a broken ls. This can happen
1416 # if, for instance, CONFIG_SHELL is bash and it inherits a
1417 # broken ls alias from the environment. This has actually
1418 # happened. Such a system could not be considered "sane".
1419 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1420alias in your environment" >&5
1421echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1422alias in your environment" >&2;}
1423 { (exit 1); exit 1; }; }
1424 fi
1425
1426 test "$2" = conftest.file
1427 )
1428then
1429 # Ok.
1430 :
1431else
1432 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1433Check your system clock" >&5
1434echo "$as_me: error: newly created file is older than distributed files!
1435Check your system clock" >&2;}
1436 { (exit 1); exit 1; }; }
1437fi
1438echo "$as_me:$LINENO: result: yes" >&5
1439echo "${ECHO_T}yes" >&6
1440test "$program_prefix" != NONE &&
1441 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1442# Use a double $ so make ignores it.
1443test "$program_suffix" != NONE &&
1444 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1445# Double any \ or $. echo might interpret backslashes.
1446# By default was `s,x,x', remove it if useless.
1447cat <<\_ACEOF >conftest.sed
1448s/[\\$]/&&/g;s/;s,x,x,$//
1449_ACEOF
1450program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1451rm conftest.sed
1452
1453# expand $ac_aux_dir to an absolute path
1454am_aux_dir=`cd $ac_aux_dir && pwd`
1455
1456if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1457 # We used to keeping the `.' as first argument, in order to
1458 # allow $(mkdir_p) to be used without argument. As in
1459 # $(mkdir_p) $(somedir)
1460 # where $(somedir) is conditionally defined. However this is wrong
1461 # for two reasons:
1462 # 1. if the package is installed by a user who cannot write `.'
1463 # make install will fail,
1464 # 2. the above comment should most certainly read
1465 # $(mkdir_p) $(DESTDIR)$(somedir)
1466 # so it does not work when $(somedir) is undefined and
1467 # $(DESTDIR) is not.
1468 # To support the latter case, we have to write
1469 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1470 # so the `.' trick is pointless.
1471 mkdir_p='mkdir -p --'
1472else
1473 # On NextStep and OpenStep, the `mkdir' command does not
1474 # recognize any option. It will interpret all options as
1475 # directories to create, and then abort because `.' already
1476 # exists.
1477 for d in ./-p ./--version;
1478 do
1479 test -d $d && rmdir $d
1480 done
1481 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1482 if test -f "$ac_aux_dir/mkinstalldirs"; then
1483 mkdir_p='$(mkinstalldirs)'
1484 else
1485 mkdir_p='$(install_sh) -d'
1486 fi
1487fi
1488
1489for ac_prog in gawk mawk nawk awk
1490do
1491 # Extract the first word of "$ac_prog", so it can be a program name with args.
1492set dummy $ac_prog; ac_word=$2
1493echo "$as_me:$LINENO: checking for $ac_word" >&5
1494echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495if test "${ac_cv_prog_AWK+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1497else
1498 if test -n "$AWK"; then
1499 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1500else
1501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502for as_dir in $PATH
1503do
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 for ac_exec_ext in '' $ac_executable_extensions; do
1507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508 ac_cv_prog_AWK="$ac_prog"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510 break 2
1511 fi
1512done
1513done
1514
1515fi
1516fi
1517AWK=$ac_cv_prog_AWK
1518if test -n "$AWK"; then
1519 echo "$as_me:$LINENO: result: $AWK" >&5
1520echo "${ECHO_T}$AWK" >&6
1521else
1522 echo "$as_me:$LINENO: result: no" >&5
1523echo "${ECHO_T}no" >&6
1524fi
1525
1526 test -n "$AWK" && break
1527done
1528
1529echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1530echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1531set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1532if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1534else
1535 cat >conftest.make <<\_ACEOF
1536all:
1537 @echo 'ac_maketemp="$(MAKE)"'
1538_ACEOF
1539# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1540eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1541if test -n "$ac_maketemp"; then
1542 eval ac_cv_prog_make_${ac_make}_set=yes
1543else
1544 eval ac_cv_prog_make_${ac_make}_set=no
1545fi
1546rm -f conftest.make
1547fi
1548if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1549 echo "$as_me:$LINENO: result: yes" >&5
1550echo "${ECHO_T}yes" >&6
1551 SET_MAKE=
1552else
1553 echo "$as_me:$LINENO: result: no" >&5
1554echo "${ECHO_T}no" >&6
1555 SET_MAKE="MAKE=${MAKE-make}"
1556fi
1557
1558rm -rf .tst 2>/dev/null
1559mkdir .tst 2>/dev/null
1560if test -d .tst; then
1561 am__leading_dot=.
1562else
1563 am__leading_dot=_
1564fi
1565rmdir .tst 2>/dev/null
1566
1567# test to see if srcdir already configured
1568if test "`cd $srcdir && pwd`" != "`pwd`" &&
1569 test -f $srcdir/config.status; then
1570 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1571echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1572 { (exit 1); exit 1; }; }
1573fi
1574
1575# test whether we have cygpath
1576if test -z "$CYGPATH_W"; then
1577 if (cygpath --version) >/dev/null 2>/dev/null; then
1578 CYGPATH_W='cygpath -w'
1579 else
1580 CYGPATH_W=echo
1581 fi
1582fi
1583
1584
1585# Define the identity of the package.
1586 PACKAGE='txt2tdb'
1587 VERSION='1.0'
1588
1589
1590cat >>confdefs.h <<_ACEOF
1591#define PACKAGE "$PACKAGE"
1592_ACEOF
1593
1594
1595cat >>confdefs.h <<_ACEOF
1596#define VERSION "$VERSION"
1597_ACEOF
1598
1599# Some tools Automake needs.
1600
1601ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1602
1603
1604AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1605
1606
1607AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1608
1609
1610AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1611
1612
1613MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1614
1615install_sh=${install_sh-"$am_aux_dir/install-sh"}
1616
1617# Installed binaries are usually stripped using `strip' when the user
1618# run `make install-strip'. However `strip' might not be the right
1619# tool to use in cross-compilation environments, therefore Automake
1620# will honor the `STRIP' environment variable to overrule this program.
1621if test "$cross_compiling" != no; then
1622 if test -n "$ac_tool_prefix"; then
1623 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1624set dummy ${ac_tool_prefix}strip; ac_word=$2
1625echo "$as_me:$LINENO: checking for $ac_word" >&5
1626echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627if test "${ac_cv_prog_STRIP+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1629else
1630 if test -n "$STRIP"; then
1631 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1632else
1633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1634for as_dir in $PATH
1635do
1636 IFS=$as_save_IFS
1637 test -z "$as_dir" && as_dir=.
1638 for ac_exec_ext in '' $ac_executable_extensions; do
1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 break 2
1643 fi
1644done
1645done
1646
1647fi
1648fi
1649STRIP=$ac_cv_prog_STRIP
1650if test -n "$STRIP"; then
1651 echo "$as_me:$LINENO: result: $STRIP" >&5
1652echo "${ECHO_T}$STRIP" >&6
1653else
1654 echo "$as_me:$LINENO: result: no" >&5
1655echo "${ECHO_T}no" >&6
1656fi
1657
1658fi
1659if test -z "$ac_cv_prog_STRIP"; then
1660 ac_ct_STRIP=$STRIP
1661 # Extract the first word of "strip", so it can be a program name with args.
1662set dummy strip; ac_word=$2
1663echo "$as_me:$LINENO: checking for $ac_word" >&5
1664echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1667else
1668 if test -n "$ac_ct_STRIP"; then
1669 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1670else
1671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672for as_dir in $PATH
1673do
1674 IFS=$as_save_IFS
1675 test -z "$as_dir" && as_dir=.
1676 for ac_exec_ext in '' $ac_executable_extensions; do
1677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678 ac_cv_prog_ac_ct_STRIP="strip"
1679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 break 2
1681 fi
1682done
1683done
1684
1685 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1686fi
1687fi
1688ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1689if test -n "$ac_ct_STRIP"; then
1690 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1691echo "${ECHO_T}$ac_ct_STRIP" >&6
1692else
1693 echo "$as_me:$LINENO: result: no" >&5
1694echo "${ECHO_T}no" >&6
1695fi
1696
1697 STRIP=$ac_ct_STRIP
1698else
1699 STRIP="$ac_cv_prog_STRIP"
1700fi
1701
1702fi
1703INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1704
1705# We need awk for the "check" target. The system "awk" is bad on
1706# some platforms.
1707# Always define AMTAR for backward compatibility.
1708
1709AMTAR=${AMTAR-"${am_missing_run}tar"}
1710
1711am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1712
1713
1714
1715
1716
1717# Make sure we can run config.sub.
1718$ac_config_sub sun4 >/dev/null 2>&1 ||
1719 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1720echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1721 { (exit 1); exit 1; }; }
1722
1723echo "$as_me:$LINENO: checking build system type" >&5
1724echo $ECHO_N "checking build system type... $ECHO_C" >&6
1725if test "${ac_cv_build+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1727else
1728 ac_cv_build_alias=$build_alias
1729test -z "$ac_cv_build_alias" &&
1730 ac_cv_build_alias=`$ac_config_guess`
1731test -z "$ac_cv_build_alias" &&
1732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1733echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1734 { (exit 1); exit 1; }; }
1735ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1736 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1737echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1738 { (exit 1); exit 1; }; }
1739
1740fi
1741echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1742echo "${ECHO_T}$ac_cv_build" >&6
1743build=$ac_cv_build
1744build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1745build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1746build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1747
1748
1749echo "$as_me:$LINENO: checking host system type" >&5
1750echo $ECHO_N "checking host system type... $ECHO_C" >&6
1751if test "${ac_cv_host+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753else
1754 ac_cv_host_alias=$host_alias
1755test -z "$ac_cv_host_alias" &&
1756 ac_cv_host_alias=$ac_cv_build_alias
1757ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1758 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1759echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1760 { (exit 1); exit 1; }; }
1761
1762fi
1763echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1764echo "${ECHO_T}$ac_cv_host" >&6
1765host=$ac_cv_host
1766host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1767host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1768host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1769
1770
1771
1772 ac_config_headers="$ac_config_headers config.h"
1773
1774
1775# Checks for programs.
1776ac_ext=cc
1777ac_cpp='$CXXCPP $CPPFLAGS'
1778ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1779ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1780ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1781if test -n "$ac_tool_prefix"; then
1782 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1783 do
1784 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1785set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1786echo "$as_me:$LINENO: checking for $ac_word" >&5
1787echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788if test "${ac_cv_prog_CXX+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790else
1791 if test -n "$CXX"; then
1792 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1793else
1794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795for as_dir in $PATH
1796do
1797 IFS=$as_save_IFS
1798 test -z "$as_dir" && as_dir=.
1799 for ac_exec_ext in '' $ac_executable_extensions; do
1800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1801 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1803 break 2
1804 fi
1805done
1806done
1807
1808fi
1809fi
1810CXX=$ac_cv_prog_CXX
1811if test -n "$CXX"; then
1812 echo "$as_me:$LINENO: result: $CXX" >&5
1813echo "${ECHO_T}$CXX" >&6
1814else
1815 echo "$as_me:$LINENO: result: no" >&5
1816echo "${ECHO_T}no" >&6
1817fi
1818
1819 test -n "$CXX" && break
1820 done
1821fi
1822if test -z "$CXX"; then
1823 ac_ct_CXX=$CXX
1824 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1825do
1826 # Extract the first word of "$ac_prog", so it can be a program name with args.
1827set dummy $ac_prog; ac_word=$2
1828echo "$as_me:$LINENO: checking for $ac_word" >&5
1829echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1832else
1833 if test -n "$ac_ct_CXX"; then
1834 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1835else
1836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837for as_dir in $PATH
1838do
1839 IFS=$as_save_IFS
1840 test -z "$as_dir" && as_dir=.
1841 for ac_exec_ext in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_ac_ct_CXX="$ac_prog"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845 break 2
1846 fi
1847done
1848done
1849
1850fi
1851fi
1852ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1853if test -n "$ac_ct_CXX"; then
1854 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1855echo "${ECHO_T}$ac_ct_CXX" >&6
1856else
1857 echo "$as_me:$LINENO: result: no" >&5
1858echo "${ECHO_T}no" >&6
1859fi
1860
1861 test -n "$ac_ct_CXX" && break
1862done
1863test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1864
1865 CXX=$ac_ct_CXX
1866fi
1867
1868
1869# Provide some information about the compiler.
1870echo "$as_me:$LINENO:" \
1871 "checking for C++ compiler version" >&5
1872ac_compiler=`set X $ac_compile; echo $2`
1873{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1874 (eval $ac_compiler --version </dev/null >&5) 2>&5
1875 ac_status=$?
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); }
1878{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1879 (eval $ac_compiler -v </dev/null >&5) 2>&5
1880 ac_status=$?
1881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882 (exit $ac_status); }
1883{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1884 (eval $ac_compiler -V </dev/null >&5) 2>&5
1885 ac_status=$?
1886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1887 (exit $ac_status); }
1888
1889cat >conftest.$ac_ext <<_ACEOF
1890/* confdefs.h. */
1891_ACEOF
1892cat confdefs.h >>conftest.$ac_ext
1893cat >>conftest.$ac_ext <<_ACEOF
1894/* end confdefs.h. */
1895
1896int
1897main ()
1898{
1899
1900 ;
1901 return 0;
1902}
1903_ACEOF
1904ac_clean_files_save=$ac_clean_files
1905ac_clean_files="$ac_clean_files a.out a.exe b.out"
1906# Try to create an executable without -o first, disregard a.out.
1907# It will help us diagnose broken compilers, and finding out an intuition
1908# of exeext.
1909echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1910echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1911ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1912if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1913 (eval $ac_link_default) 2>&5
1914 ac_status=$?
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); }; then
1917 # Find the output, starting from the most likely. This scheme is
1918# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1919# resort.
1920
1921# Be careful to initialize this variable, since it used to be cached.
1922# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1923ac_cv_exeext=
1924# b.out is created by i960 compilers.
1925for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1926do
1927 test -f "$ac_file" || continue
1928 case $ac_file in
1929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1930 ;;
1931 conftest.$ac_ext )
1932 # This is the source file.
1933 ;;
1934 [ab].out )
1935 # We found the default executable, but exeext='' is most
1936 # certainly right.
1937 break;;
1938 *.* )
1939 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1940 # FIXME: I believe we export ac_cv_exeext for Libtool,
1941 # but it would be cool to find out if it's true. Does anybody
1942 # maintain Libtool? --akim.
1943 export ac_cv_exeext
1944 break;;
1945 * )
1946 break;;
1947 esac
1948done
1949else
1950 echo "$as_me: failed program was:" >&5
1951sed 's/^/| /' conftest.$ac_ext >&5
1952
1953{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1954See \`config.log' for more details." >&5
1955echo "$as_me: error: C++ compiler cannot create executables
1956See \`config.log' for more details." >&2;}
1957 { (exit 77); exit 77; }; }
1958fi
1959
1960ac_exeext=$ac_cv_exeext
1961echo "$as_me:$LINENO: result: $ac_file" >&5
1962echo "${ECHO_T}$ac_file" >&6
1963
1964# Check the compiler produces executables we can run. If not, either
1965# the compiler is broken, or we cross compile.
1966echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1967echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1968# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1969# If not cross compiling, check that we can run a simple program.
1970if test "$cross_compiling" != yes; then
1971 if { ac_try='./$ac_file'
1972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1973 (eval $ac_try) 2>&5
1974 ac_status=$?
1975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1976 (exit $ac_status); }; }; then
1977 cross_compiling=no
1978 else
1979 if test "$cross_compiling" = maybe; then
1980 cross_compiling=yes
1981 else
1982 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1983If you meant to cross compile, use \`--host'.
1984See \`config.log' for more details." >&5
1985echo "$as_me: error: cannot run C++ compiled programs.
1986If you meant to cross compile, use \`--host'.
1987See \`config.log' for more details." >&2;}
1988 { (exit 1); exit 1; }; }
1989 fi
1990 fi
1991fi
1992echo "$as_me:$LINENO: result: yes" >&5
1993echo "${ECHO_T}yes" >&6
1994
1995rm -f a.out a.exe conftest$ac_cv_exeext b.out
1996ac_clean_files=$ac_clean_files_save
1997# Check the compiler produces executables we can run. If not, either
1998# the compiler is broken, or we cross compile.
1999echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2000echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2001echo "$as_me:$LINENO: result: $cross_compiling" >&5
2002echo "${ECHO_T}$cross_compiling" >&6
2003
2004echo "$as_me:$LINENO: checking for suffix of executables" >&5
2005echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2006if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2007 (eval $ac_link) 2>&5
2008 ac_status=$?
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }; then
2011 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2012# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2013# work properly (i.e., refer to `conftest.exe'), while it won't with
2014# `rm'.
2015for ac_file in conftest.exe conftest conftest.*; do
2016 test -f "$ac_file" || continue
2017 case $ac_file in
2018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2019 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2020 export ac_cv_exeext
2021 break;;
2022 * ) break;;
2023 esac
2024done
2025else
2026 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2027See \`config.log' for more details." >&5
2028echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2029See \`config.log' for more details." >&2;}
2030 { (exit 1); exit 1; }; }
2031fi
2032
2033rm -f conftest$ac_cv_exeext
2034echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2035echo "${ECHO_T}$ac_cv_exeext" >&6
2036
2037rm -f conftest.$ac_ext
2038EXEEXT=$ac_cv_exeext
2039ac_exeext=$EXEEXT
2040echo "$as_me:$LINENO: checking for suffix of object files" >&5
2041echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2042if test "${ac_cv_objext+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044else
2045 cat >conftest.$ac_ext <<_ACEOF
2046/* confdefs.h. */
2047_ACEOF
2048cat confdefs.h >>conftest.$ac_ext
2049cat >>conftest.$ac_ext <<_ACEOF
2050/* end confdefs.h. */
2051
2052int
2053main ()
2054{
2055
2056 ;
2057 return 0;
2058}
2059_ACEOF
2060rm -f conftest.o conftest.obj
2061if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2062 (eval $ac_compile) 2>&5
2063 ac_status=$?
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; then
2066 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2067 case $ac_file in
2068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2069 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2070 break;;
2071 esac
2072done
2073else
2074 echo "$as_me: failed program was:" >&5
2075sed 's/^/| /' conftest.$ac_ext >&5
2076
2077{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2078See \`config.log' for more details." >&5
2079echo "$as_me: error: cannot compute suffix of object files: cannot compile
2080See \`config.log' for more details." >&2;}
2081 { (exit 1); exit 1; }; }
2082fi
2083
2084rm -f conftest.$ac_cv_objext conftest.$ac_ext
2085fi
2086echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2087echo "${ECHO_T}$ac_cv_objext" >&6
2088OBJEXT=$ac_cv_objext
2089ac_objext=$OBJEXT
2090echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2091echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2092if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094else
2095 cat >conftest.$ac_ext <<_ACEOF
2096/* confdefs.h. */
2097_ACEOF
2098cat confdefs.h >>conftest.$ac_ext
2099cat >>conftest.$ac_ext <<_ACEOF
2100/* end confdefs.h. */
2101
2102int
2103main ()
2104{
2105#ifndef __GNUC__
2106 choke me
2107#endif
2108
2109 ;
2110 return 0;
2111}
2112_ACEOF
2113rm -f conftest.$ac_objext
2114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2115 (eval $ac_compile) 2>conftest.er1
2116 ac_status=$?
2117 grep -v '^ *+' conftest.er1 >conftest.err
2118 rm -f conftest.er1
2119 cat conftest.err >&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); } &&
2122 { ac_try='test -z "$ac_cxx_werror_flag"
2123 || test ! -s conftest.err'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125 (eval $ac_try) 2>&5
2126 ac_status=$?
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; } &&
2129 { ac_try='test -s conftest.$ac_objext'
2130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2131 (eval $ac_try) 2>&5
2132 ac_status=$?
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }; }; then
2135 ac_compiler_gnu=yes
2136else
2137 echo "$as_me: failed program was:" >&5
2138sed 's/^/| /' conftest.$ac_ext >&5
2139
2140ac_compiler_gnu=no
2141fi
2142rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2143ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2144
2145fi
2146echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2147echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2148GXX=`test $ac_compiler_gnu = yes && echo yes`
2149ac_test_CXXFLAGS=${CXXFLAGS+set}
2150ac_save_CXXFLAGS=$CXXFLAGS
2151CXXFLAGS="-g"
2152echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2153echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2154if test "${ac_cv_prog_cxx_g+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2156else
2157 cat >conftest.$ac_ext <<_ACEOF
2158/* confdefs.h. */
2159_ACEOF
2160cat confdefs.h >>conftest.$ac_ext
2161cat >>conftest.$ac_ext <<_ACEOF
2162/* end confdefs.h. */
2163
2164int
2165main ()
2166{
2167
2168 ;
2169 return 0;
2170}
2171_ACEOF
2172rm -f conftest.$ac_objext
2173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174 (eval $ac_compile) 2>conftest.er1
2175 ac_status=$?
2176 grep -v '^ *+' conftest.er1 >conftest.err
2177 rm -f conftest.er1
2178 cat conftest.err >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try='test -z "$ac_cxx_werror_flag"
2182 || test ! -s conftest.err'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 (eval $ac_try) 2>&5
2185 ac_status=$?
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; } &&
2188 { ac_try='test -s conftest.$ac_objext'
2189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 (eval $ac_try) 2>&5
2191 ac_status=$?
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; }; then
2194 ac_cv_prog_cxx_g=yes
2195else
2196 echo "$as_me: failed program was:" >&5
2197sed 's/^/| /' conftest.$ac_ext >&5
2198
2199ac_cv_prog_cxx_g=no
2200fi
2201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2202fi
2203echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2204echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2205if test "$ac_test_CXXFLAGS" = set; then
2206 CXXFLAGS=$ac_save_CXXFLAGS
2207elif test $ac_cv_prog_cxx_g = yes; then
2208 if test "$GXX" = yes; then
2209 CXXFLAGS="-g -O2"
2210 else
2211 CXXFLAGS="-g"
2212 fi
2213else
2214 if test "$GXX" = yes; then
2215 CXXFLAGS="-O2"
2216 else
2217 CXXFLAGS=
2218 fi
2219fi
2220for ac_declaration in \
2221 '' \
2222 'extern "C" void std::exit (int) throw (); using std::exit;' \
2223 'extern "C" void std::exit (int); using std::exit;' \
2224 'extern "C" void exit (int) throw ();' \
2225 'extern "C" void exit (int);' \
2226 'void exit (int);'
2227do
2228 cat >conftest.$ac_ext <<_ACEOF
2229/* confdefs.h. */
2230_ACEOF
2231cat confdefs.h >>conftest.$ac_ext
2232cat >>conftest.$ac_ext <<_ACEOF
2233/* end confdefs.h. */
2234$ac_declaration
2235#include <stdlib.h>
2236int
2237main ()
2238{
2239exit (42);
2240 ;
2241 return 0;
2242}
2243_ACEOF
2244rm -f conftest.$ac_objext
2245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2246 (eval $ac_compile) 2>conftest.er1
2247 ac_status=$?
2248 grep -v '^ *+' conftest.er1 >conftest.err
2249 rm -f conftest.er1
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } &&
2253 { ac_try='test -z "$ac_cxx_werror_flag"
2254 || test ! -s conftest.err'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 (eval $ac_try) 2>&5
2257 ac_status=$?
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; } &&
2260 { ac_try='test -s conftest.$ac_objext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 (eval $ac_try) 2>&5
2263 ac_status=$?
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2266 :
2267else
2268 echo "$as_me: failed program was:" >&5
2269sed 's/^/| /' conftest.$ac_ext >&5
2270
2271continue
2272fi
2273rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2274 cat >conftest.$ac_ext <<_ACEOF
2275/* confdefs.h. */
2276_ACEOF
2277cat confdefs.h >>conftest.$ac_ext
2278cat >>conftest.$ac_ext <<_ACEOF
2279/* end confdefs.h. */
2280$ac_declaration
2281int
2282main ()
2283{
2284exit (42);
2285 ;
2286 return 0;
2287}
2288_ACEOF
2289rm -f conftest.$ac_objext
2290if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2291 (eval $ac_compile) 2>conftest.er1
2292 ac_status=$?
2293 grep -v '^ *+' conftest.er1 >conftest.err
2294 rm -f conftest.er1
2295 cat conftest.err >&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); } &&
2298 { ac_try='test -z "$ac_cxx_werror_flag"
2299 || test ! -s conftest.err'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 (eval $ac_try) 2>&5
2302 ac_status=$?
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; } &&
2305 { ac_try='test -s conftest.$ac_objext'
2306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2307 (eval $ac_try) 2>&5
2308 ac_status=$?
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; }; then
2311 break
2312else
2313 echo "$as_me: failed program was:" >&5
2314sed 's/^/| /' conftest.$ac_ext >&5
2315
2316fi
2317rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2318done
2319rm -f conftest*
2320if test -n "$ac_declaration"; then
2321 echo '#ifdef __cplusplus' >>confdefs.h
2322 echo $ac_declaration >>confdefs.h
2323 echo '#endif' >>confdefs.h
2324fi
2325
2326ac_ext=c
2327ac_cpp='$CPP $CPPFLAGS'
2328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330ac_compiler_gnu=$ac_cv_c_compiler_gnu
2331DEPDIR="${am__leading_dot}deps"
2332
2333 ac_config_commands="$ac_config_commands depfiles"
2334
2335
2336am_make=${MAKE-make}
2337cat > confinc << 'END'
2338am__doit:
2339 @echo done
2340.PHONY: am__doit
2341END
2342# If we don't find an include directive, just comment out the code.
2343echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2344echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2345am__include="#"
2346am__quote=
2347_am_result=none
2348# First try GNU make style include.
2349echo "include confinc" > confmf
2350# We grep out `Entering directory' and `Leaving directory'
2351# messages which can occur if `w' ends up in MAKEFLAGS.
2352# In particular we don't look at `^make:' because GNU make might
2353# be invoked under some other name (usually "gmake"), in which
2354# case it prints its new name instead of `make'.
2355if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2356 am__include=include
2357 am__quote=
2358 _am_result=GNU
2359fi
2360# Now try BSD make style include.
2361if test "$am__include" = "#"; then
2362 echo '.include "confinc"' > confmf
2363 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2364 am__include=.include
2365 am__quote="\""
2366 _am_result=BSD
2367 fi
2368fi
2369
2370
2371echo "$as_me:$LINENO: result: $_am_result" >&5
2372echo "${ECHO_T}$_am_result" >&6
2373rm -f confinc confmf
2374
2375# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2376if test "${enable_dependency_tracking+set}" = set; then
2377 enableval="$enable_dependency_tracking"
2378
2379fi;
2380if test "x$enable_dependency_tracking" != xno; then
2381 am_depcomp="$ac_aux_dir/depcomp"
2382 AMDEPBACKSLASH='\'
2383fi
2384
2385
2386if test "x$enable_dependency_tracking" != xno; then
2387 AMDEP_TRUE=
2388 AMDEP_FALSE='#'
2389else
2390 AMDEP_TRUE='#'
2391 AMDEP_FALSE=
2392fi
2393
2394
2395
2396
2397depcc="$CXX" am_compiler_list=
2398
2399echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2400echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2401if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2403else
2404 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2405 # We make a subdir and do the tests there. Otherwise we can end up
2406 # making bogus files that we don't know about and never remove. For
2407 # instance it was reported that on HP-UX the gcc test will end up
2408 # making a dummy file named `D' -- because `-MD' means `put the output
2409 # in D'.
2410 mkdir conftest.dir
2411 # Copy depcomp to subdir because otherwise we won't find it if we're
2412 # using a relative directory.
2413 cp "$am_depcomp" conftest.dir
2414 cd conftest.dir
2415 # We will build objects and dependencies in a subdirectory because
2416 # it helps to detect inapplicable dependency modes. For instance
2417 # both Tru64's cc and ICC support -MD to output dependencies as a
2418 # side effect of compilation, but ICC will put the dependencies in
2419 # the current directory while Tru64 will put them in the object
2420 # directory.
2421 mkdir sub
2422
2423 am_cv_CXX_dependencies_compiler_type=none
2424 if test "$am_compiler_list" = ""; then
2425 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2426 fi
2427 for depmode in $am_compiler_list; do
2428 # Setup a source with many dependencies, because some compilers
2429 # like to wrap large dependency lists on column 80 (with \), and
2430 # we should not choose a depcomp mode which is confused by this.
2431 #
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 : > sub/conftest.c
2436 for i in 1 2 3 4 5 6; do
2437 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2438 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2439 # Solaris 8's {/usr,}/bin/sh.
2440 touch sub/conftst$i.h
2441 done
2442 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2443
2444 case $depmode in
2445 nosideeffect)
2446 # after this tag, mechanisms are not by side-effect, so they'll
2447 # only be used when explicitly requested
2448 if test "x$enable_dependency_tracking" = xyes; then
2449 continue
2450 else
2451 break
2452 fi
2453 ;;
2454 none) break ;;
2455 esac
2456 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2457 # mode. It turns out that the SunPro C++ compiler does not properly
2458 # handle `-M -o', and we need to detect this.
2459 if depmode=$depmode \
2460 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2461 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2462 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2463 >/dev/null 2>conftest.err &&
2464 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2465 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2466 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2467 # icc doesn't choke on unknown options, it will just issue warnings
2468 # or remarks (even with -Werror). So we grep stderr for any message
2469 # that says an option was ignored or not supported.
2470 # When given -MP, icc 7.0 and 7.1 complain thusly:
2471 # icc: Command line warning: ignoring option '-M'; no argument required
2472 # The diagnosis changed in icc 8.0:
2473 # icc: Command line remark: option '-MP' not supported
2474 if (grep 'ignoring option' conftest.err ||
2475 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2476 am_cv_CXX_dependencies_compiler_type=$depmode
2477 break
2478 fi
2479 fi
2480 done
2481
2482 cd ..
2483 rm -rf conftest.dir
2484else
2485 am_cv_CXX_dependencies_compiler_type=none
2486fi
2487
2488fi
2489echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2490echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2491CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2492
2493
2494
2495if
2496 test "x$enable_dependency_tracking" != xno \
2497 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2498 am__fastdepCXX_TRUE=
2499 am__fastdepCXX_FALSE='#'
2500else
2501 am__fastdepCXX_TRUE='#'
2502 am__fastdepCXX_FALSE=
2503fi
2504
2505
2506ac_ext=c
2507ac_cpp='$CPP $CPPFLAGS'
2508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2510ac_compiler_gnu=$ac_cv_c_compiler_gnu
2511if test -n "$ac_tool_prefix"; then
2512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2513set dummy ${ac_tool_prefix}gcc; ac_word=$2
2514echo "$as_me:$LINENO: checking for $ac_word" >&5
2515echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2516if test "${ac_cv_prog_CC+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2518else
2519 if test -n "$CC"; then
2520 ac_cv_prog_CC="$CC" # Let the user override the test.
2521else
2522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523for as_dir in $PATH
2524do
2525 IFS=$as_save_IFS
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2529 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2531 break 2
2532 fi
2533done
2534done
2535
2536fi
2537fi
2538CC=$ac_cv_prog_CC
2539if test -n "$CC"; then
2540 echo "$as_me:$LINENO: result: $CC" >&5
2541echo "${ECHO_T}$CC" >&6
2542else
2543 echo "$as_me:$LINENO: result: no" >&5
2544echo "${ECHO_T}no" >&6
2545fi
2546
2547fi
2548if test -z "$ac_cv_prog_CC"; then
2549 ac_ct_CC=$CC
2550 # Extract the first word of "gcc", so it can be a program name with args.
2551set dummy gcc; ac_word=$2
2552echo "$as_me:$LINENO: checking for $ac_word" >&5
2553echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2554if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556else
2557 if test -n "$ac_ct_CC"; then
2558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2559else
2560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561for as_dir in $PATH
2562do
2563 IFS=$as_save_IFS
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2567 ac_cv_prog_ac_ct_CC="gcc"
2568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 break 2
2570 fi
2571done
2572done
2573
2574fi
2575fi
2576ac_ct_CC=$ac_cv_prog_ac_ct_CC
2577if test -n "$ac_ct_CC"; then
2578 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2579echo "${ECHO_T}$ac_ct_CC" >&6
2580else
2581 echo "$as_me:$LINENO: result: no" >&5
2582echo "${ECHO_T}no" >&6
2583fi
2584
2585 CC=$ac_ct_CC
2586else
2587 CC="$ac_cv_prog_CC"
2588fi
2589
2590if test -z "$CC"; then
2591 if test -n "$ac_tool_prefix"; then
2592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2593set dummy ${ac_tool_prefix}cc; ac_word=$2
2594echo "$as_me:$LINENO: checking for $ac_word" >&5
2595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2596if test "${ac_cv_prog_CC+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2598else
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC="$CC" # Let the user override the test.
2601else
2602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603for as_dir in $PATH
2604do
2605 IFS=$as_save_IFS
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2609 ac_cv_prog_CC="${ac_tool_prefix}cc"
2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 break 2
2612 fi
2613done
2614done
2615
2616fi
2617fi
2618CC=$ac_cv_prog_CC
2619if test -n "$CC"; then
2620 echo "$as_me:$LINENO: result: $CC" >&5
2621echo "${ECHO_T}$CC" >&6
2622else
2623 echo "$as_me:$LINENO: result: no" >&5
2624echo "${ECHO_T}no" >&6
2625fi
2626
2627fi
2628if test -z "$ac_cv_prog_CC"; then
2629 ac_ct_CC=$CC
2630 # Extract the first word of "cc", so it can be a program name with args.
2631set dummy cc; ac_word=$2
2632echo "$as_me:$LINENO: checking for $ac_word" >&5
2633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2634if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2636else
2637 if test -n "$ac_ct_CC"; then
2638 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2639else
2640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641for as_dir in $PATH
2642do
2643 IFS=$as_save_IFS
2644 test -z "$as_dir" && as_dir=.
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2647 ac_cv_prog_ac_ct_CC="cc"
2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 break 2
2650 fi
2651done
2652done
2653
2654fi
2655fi
2656ac_ct_CC=$ac_cv_prog_ac_ct_CC
2657if test -n "$ac_ct_CC"; then
2658 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2659echo "${ECHO_T}$ac_ct_CC" >&6
2660else
2661 echo "$as_me:$LINENO: result: no" >&5
2662echo "${ECHO_T}no" >&6
2663fi
2664
2665 CC=$ac_ct_CC
2666else
2667 CC="$ac_cv_prog_CC"
2668fi
2669
2670fi
2671if test -z "$CC"; then
2672 # Extract the first word of "cc", so it can be a program name with args.
2673set dummy cc; ac_word=$2
2674echo "$as_me:$LINENO: checking for $ac_word" >&5
2675echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2676if test "${ac_cv_prog_CC+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2678else
2679 if test -n "$CC"; then
2680 ac_cv_prog_CC="$CC" # Let the user override the test.
2681else
2682 ac_prog_rejected=no
2683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684for as_dir in $PATH
2685do
2686 IFS=$as_save_IFS
2687 test -z "$as_dir" && as_dir=.
2688 for ac_exec_ext in '' $ac_executable_extensions; do
2689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2691 ac_prog_rejected=yes
2692 continue
2693 fi
2694 ac_cv_prog_CC="cc"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 break 2
2697 fi
2698done
2699done
2700
2701if test $ac_prog_rejected = yes; then
2702 # We found a bogon in the path, so make sure we never use it.
2703 set dummy $ac_cv_prog_CC
2704 shift
2705 if test $# != 0; then
2706 # We chose a different compiler from the bogus one.
2707 # However, it has the same basename, so the bogon will be chosen
2708 # first if we set CC to just the basename; use the full file name.
2709 shift
2710 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2711 fi
2712fi
2713fi
2714fi
2715CC=$ac_cv_prog_CC
2716if test -n "$CC"; then
2717 echo "$as_me:$LINENO: result: $CC" >&5
2718echo "${ECHO_T}$CC" >&6
2719else
2720 echo "$as_me:$LINENO: result: no" >&5
2721echo "${ECHO_T}no" >&6
2722fi
2723
2724fi
2725if test -z "$CC"; then
2726 if test -n "$ac_tool_prefix"; then
2727 for ac_prog in cl
2728 do
2729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2730set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2731echo "$as_me:$LINENO: checking for $ac_word" >&5
2732echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2733if test "${ac_cv_prog_CC+set}" = set; then
2734 echo $ECHO_N "(cached) $ECHO_C" >&6
2735else
2736 if test -n "$CC"; then
2737 ac_cv_prog_CC="$CC" # Let the user override the test.
2738else
2739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740for as_dir in $PATH
2741do
2742 IFS=$as_save_IFS
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2746 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 break 2
2749 fi
2750done
2751done
2752
2753fi
2754fi
2755CC=$ac_cv_prog_CC
2756if test -n "$CC"; then
2757 echo "$as_me:$LINENO: result: $CC" >&5
2758echo "${ECHO_T}$CC" >&6
2759else
2760 echo "$as_me:$LINENO: result: no" >&5
2761echo "${ECHO_T}no" >&6
2762fi
2763
2764 test -n "$CC" && break
2765 done
2766fi
2767if test -z "$CC"; then
2768 ac_ct_CC=$CC
2769 for ac_prog in cl
2770do
2771 # Extract the first word of "$ac_prog", so it can be a program name with args.
2772set dummy $ac_prog; ac_word=$2
2773echo "$as_me:$LINENO: checking for $ac_word" >&5
2774echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2775if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2777else
2778 if test -n "$ac_ct_CC"; then
2779 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2780else
2781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782for as_dir in $PATH
2783do
2784 IFS=$as_save_IFS
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2788 ac_cv_prog_ac_ct_CC="$ac_prog"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 break 2
2791 fi
2792done
2793done
2794
2795fi
2796fi
2797ac_ct_CC=$ac_cv_prog_ac_ct_CC
2798if test -n "$ac_ct_CC"; then
2799 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2800echo "${ECHO_T}$ac_ct_CC" >&6
2801else
2802 echo "$as_me:$LINENO: result: no" >&5
2803echo "${ECHO_T}no" >&6
2804fi
2805
2806 test -n "$ac_ct_CC" && break
2807done
2808
2809 CC=$ac_ct_CC
2810fi
2811
2812fi
2813
2814
2815test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2816See \`config.log' for more details." >&5
2817echo "$as_me: error: no acceptable C compiler found in \$PATH
2818See \`config.log' for more details." >&2;}
2819 { (exit 1); exit 1; }; }
2820
2821# Provide some information about the compiler.
2822echo "$as_me:$LINENO:" \
2823 "checking for C compiler version" >&5
2824ac_compiler=`set X $ac_compile; echo $2`
2825{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2826 (eval $ac_compiler --version </dev/null >&5) 2>&5
2827 ac_status=$?
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }
2830{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2831 (eval $ac_compiler -v </dev/null >&5) 2>&5
2832 ac_status=$?
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }
2835{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2836 (eval $ac_compiler -V </dev/null >&5) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }
2840
2841echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2842echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2843if test "${ac_cv_c_compiler_gnu+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2845else
2846 cat >conftest.$ac_ext <<_ACEOF
2847/* confdefs.h. */
2848_ACEOF
2849cat confdefs.h >>conftest.$ac_ext
2850cat >>conftest.$ac_ext <<_ACEOF
2851/* end confdefs.h. */
2852
2853int
2854main ()
2855{
2856#ifndef __GNUC__
2857 choke me
2858#endif
2859
2860 ;
2861 return 0;
2862}
2863_ACEOF
2864rm -f conftest.$ac_objext
2865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2866 (eval $ac_compile) 2>conftest.er1
2867 ac_status=$?
2868 grep -v '^ *+' conftest.er1 >conftest.err
2869 rm -f conftest.er1
2870 cat conftest.err >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } &&
2873 { ac_try='test -z "$ac_c_werror_flag"
2874 || test ! -s conftest.err'
2875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876 (eval $ac_try) 2>&5
2877 ac_status=$?
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; } &&
2880 { ac_try='test -s conftest.$ac_objext'
2881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882 (eval $ac_try) 2>&5
2883 ac_status=$?
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }; }; then
2886 ac_compiler_gnu=yes
2887else
2888 echo "$as_me: failed program was:" >&5
2889sed 's/^/| /' conftest.$ac_ext >&5
2890
2891ac_compiler_gnu=no
2892fi
2893rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2894ac_cv_c_compiler_gnu=$ac_compiler_gnu
2895
2896fi
2897echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2898echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2899GCC=`test $ac_compiler_gnu = yes && echo yes`
2900ac_test_CFLAGS=${CFLAGS+set}
2901ac_save_CFLAGS=$CFLAGS
2902CFLAGS="-g"
2903echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2904echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2905if test "${ac_cv_prog_cc_g+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2907else
2908 cat >conftest.$ac_ext <<_ACEOF
2909/* confdefs.h. */
2910_ACEOF
2911cat confdefs.h >>conftest.$ac_ext
2912cat >>conftest.$ac_ext <<_ACEOF
2913/* end confdefs.h. */
2914
2915int
2916main ()
2917{
2918
2919 ;
2920 return 0;
2921}
2922_ACEOF
2923rm -f conftest.$ac_objext
2924if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925 (eval $ac_compile) 2>conftest.er1
2926 ac_status=$?
2927 grep -v '^ *+' conftest.er1 >conftest.err
2928 rm -f conftest.er1
2929 cat conftest.err >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } &&
2932 { ac_try='test -z "$ac_c_werror_flag"
2933 || test ! -s conftest.err'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 (eval $ac_try) 2>&5
2936 ac_status=$?
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; } &&
2939 { ac_try='test -s conftest.$ac_objext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 (eval $ac_try) 2>&5
2942 ac_status=$?
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2945 ac_cv_prog_cc_g=yes
2946else
2947 echo "$as_me: failed program was:" >&5
2948sed 's/^/| /' conftest.$ac_ext >&5
2949
2950ac_cv_prog_cc_g=no
2951fi
2952rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2953fi
2954echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2955echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2956if test "$ac_test_CFLAGS" = set; then
2957 CFLAGS=$ac_save_CFLAGS
2958elif test $ac_cv_prog_cc_g = yes; then
2959 if test "$GCC" = yes; then
2960 CFLAGS="-g -O2"
2961 else
2962 CFLAGS="-g"
2963 fi
2964else
2965 if test "$GCC" = yes; then
2966 CFLAGS="-O2"
2967 else
2968 CFLAGS=
2969 fi
2970fi
2971echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2972echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2973if test "${ac_cv_prog_cc_stdc+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2975else
2976 ac_cv_prog_cc_stdc=no
2977ac_save_CC=$CC
2978cat >conftest.$ac_ext <<_ACEOF
2979/* confdefs.h. */
2980_ACEOF
2981cat confdefs.h >>conftest.$ac_ext
2982cat >>conftest.$ac_ext <<_ACEOF
2983/* end confdefs.h. */
2984#include <stdarg.h>
2985#include <stdio.h>
2986#include <sys/types.h>
2987#include <sys/stat.h>
2988/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2989struct buf { int x; };
2990FILE * (*rcsopen) (struct buf *, struct stat *, int);
2991static char *e (p, i)
2992 char **p;
2993 int i;
2994{
2995 return p[i];
2996}
2997static char *f (char * (*g) (char **, int), char **p, ...)
2998{
2999 char *s;
3000 va_list v;
3001 va_start (v,p);
3002 s = g (p, va_arg (v,int));
3003 va_end (v);
3004 return s;
3005}
3006
3007/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3008 function prototypes and stuff, but not '\xHH' hex character constants.
3009 These don't provoke an error unfortunately, instead are silently treated
3010 as 'x'. The following induces an error, until -std1 is added to get
3011 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3012 array size at least. It's necessary to write '\x00'==0 to get something
3013 that's true only with -std1. */
3014int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3015
3016int test (int i, double x);
3017struct s1 {int (*f) (int a);};
3018struct s2 {int (*f) (double a);};
3019int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3020int argc;
3021char **argv;
3022int
3023main ()
3024{
3025return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3026 ;
3027 return 0;
3028}
3029_ACEOF
3030# Don't try gcc -ansi; that turns off useful extensions and
3031# breaks some systems' header files.
3032# AIX -qlanglvl=ansi
3033# Ultrix and OSF/1 -std1
3034# HP-UX 10.20 and later -Ae
3035# HP-UX older versions -Aa -D_HPUX_SOURCE
3036# SVR4 -Xc -D__EXTENSIONS__
3037for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3038do
3039 CC="$ac_save_CC $ac_arg"
3040 rm -f conftest.$ac_objext
3041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042 (eval $ac_compile) 2>conftest.er1
3043 ac_status=$?
3044 grep -v '^ *+' conftest.er1 >conftest.err
3045 rm -f conftest.er1
3046 cat conftest.err >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); } &&
3049 { ac_try='test -z "$ac_c_werror_flag"
3050 || test ! -s conftest.err'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052 (eval $ac_try) 2>&5
3053 ac_status=$?
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; } &&
3056 { ac_try='test -s conftest.$ac_objext'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 (eval $ac_try) 2>&5
3059 ac_status=$?
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; }; then
3062 ac_cv_prog_cc_stdc=$ac_arg
3063break
3064else
3065 echo "$as_me: failed program was:" >&5
3066sed 's/^/| /' conftest.$ac_ext >&5
3067
3068fi
3069rm -f conftest.err conftest.$ac_objext
3070done
3071rm -f conftest.$ac_ext conftest.$ac_objext
3072CC=$ac_save_CC
3073
3074fi
3075
3076case "x$ac_cv_prog_cc_stdc" in
3077 x|xno)
3078 echo "$as_me:$LINENO: result: none needed" >&5
3079echo "${ECHO_T}none needed" >&6 ;;
3080 *)
3081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3082echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3083 CC="$CC $ac_cv_prog_cc_stdc" ;;
3084esac
3085
3086# Some people use a C++ compiler to compile C. Since we use `exit',
3087# in C++ we need to declare it. In case someone uses the same compiler
3088# for both compiling C and C++ we need to have the C++ compiler decide
3089# the declaration of exit, since it's the most demanding environment.
3090cat >conftest.$ac_ext <<_ACEOF
3091#ifndef __cplusplus
3092 choke me
3093#endif
3094_ACEOF
3095rm -f conftest.$ac_objext
3096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3097 (eval $ac_compile) 2>conftest.er1
3098 ac_status=$?
3099 grep -v '^ *+' conftest.er1 >conftest.err
3100 rm -f conftest.er1
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } &&
3104 { ac_try='test -z "$ac_c_werror_flag"
3105 || test ! -s conftest.err'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 (eval $ac_try) 2>&5
3108 ac_status=$?
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; } &&
3111 { ac_try='test -s conftest.$ac_objext'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 (eval $ac_try) 2>&5
3114 ac_status=$?
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; }; then
3117 for ac_declaration in \
3118 '' \
3119 'extern "C" void std::exit (int) throw (); using std::exit;' \
3120 'extern "C" void std::exit (int); using std::exit;' \
3121 'extern "C" void exit (int) throw ();' \
3122 'extern "C" void exit (int);' \
3123 'void exit (int);'
3124do
3125 cat >conftest.$ac_ext <<_ACEOF
3126/* confdefs.h. */
3127_ACEOF
3128cat confdefs.h >>conftest.$ac_ext
3129cat >>conftest.$ac_ext <<_ACEOF
3130/* end confdefs.h. */
3131$ac_declaration
3132#include <stdlib.h>
3133int
3134main ()
3135{
3136exit (42);
3137 ;
3138 return 0;
3139}
3140_ACEOF
3141rm -f conftest.$ac_objext
3142if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3143 (eval $ac_compile) 2>conftest.er1
3144 ac_status=$?
3145 grep -v '^ *+' conftest.er1 >conftest.err
3146 rm -f conftest.er1
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } &&
3150 { ac_try='test -z "$ac_c_werror_flag"
3151 || test ! -s conftest.err'
3152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 (eval $ac_try) 2>&5
3154 ac_status=$?
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; } &&
3157 { ac_try='test -s conftest.$ac_objext'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3159 (eval $ac_try) 2>&5
3160 ac_status=$?
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; }; then
3163 :
3164else
3165 echo "$as_me: failed program was:" >&5
3166sed 's/^/| /' conftest.$ac_ext >&5
3167
3168continue
3169fi
3170rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3171 cat >conftest.$ac_ext <<_ACEOF
3172/* confdefs.h. */
3173_ACEOF
3174cat confdefs.h >>conftest.$ac_ext
3175cat >>conftest.$ac_ext <<_ACEOF
3176/* end confdefs.h. */
3177$ac_declaration
3178int
3179main ()
3180{
3181exit (42);
3182 ;
3183 return 0;
3184}
3185_ACEOF
3186rm -f conftest.$ac_objext
3187if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>conftest.er1
3189 ac_status=$?
3190 grep -v '^ *+' conftest.er1 >conftest.err
3191 rm -f conftest.er1
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 (eval $ac_try) 2>&5
3199 ac_status=$?
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 (eval $ac_try) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3208 break
3209else
3210 echo "$as_me: failed program was:" >&5
3211sed 's/^/| /' conftest.$ac_ext >&5
3212
3213fi
3214rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3215done
3216rm -f conftest*
3217if test -n "$ac_declaration"; then
3218 echo '#ifdef __cplusplus' >>confdefs.h
3219 echo $ac_declaration >>confdefs.h
3220 echo '#endif' >>confdefs.h
3221fi
3222
3223else
3224 echo "$as_me: failed program was:" >&5
3225sed 's/^/| /' conftest.$ac_ext >&5
3226
3227fi
3228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3229ac_ext=c
3230ac_cpp='$CPP $CPPFLAGS'
3231ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3232ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3233ac_compiler_gnu=$ac_cv_c_compiler_gnu
3234
3235depcc="$CC" am_compiler_list=
3236
3237echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3238echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3239if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3241else
3242 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3243 # We make a subdir and do the tests there. Otherwise we can end up
3244 # making bogus files that we don't know about and never remove. For
3245 # instance it was reported that on HP-UX the gcc test will end up
3246 # making a dummy file named `D' -- because `-MD' means `put the output
3247 # in D'.
3248 mkdir conftest.dir
3249 # Copy depcomp to subdir because otherwise we won't find it if we're
3250 # using a relative directory.
3251 cp "$am_depcomp" conftest.dir
3252 cd conftest.dir
3253 # We will build objects and dependencies in a subdirectory because
3254 # it helps to detect inapplicable dependency modes. For instance
3255 # both Tru64's cc and ICC support -MD to output dependencies as a
3256 # side effect of compilation, but ICC will put the dependencies in
3257 # the current directory while Tru64 will put them in the object
3258 # directory.
3259 mkdir sub
3260
3261 am_cv_CC_dependencies_compiler_type=none
3262 if test "$am_compiler_list" = ""; then
3263 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3264 fi
3265 for depmode in $am_compiler_list; do
3266 # Setup a source with many dependencies, because some compilers
3267 # like to wrap large dependency lists on column 80 (with \), and
3268 # we should not choose a depcomp mode which is confused by this.
3269 #
3270 # We need to recreate these files for each test, as the compiler may
3271 # overwrite some of them when testing with obscure command lines.
3272 # This happens at least with the AIX C compiler.
3273 : > sub/conftest.c
3274 for i in 1 2 3 4 5 6; do
3275 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3276 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3277 # Solaris 8's {/usr,}/bin/sh.
3278 touch sub/conftst$i.h
3279 done
3280 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3281
3282 case $depmode in
3283 nosideeffect)
3284 # after this tag, mechanisms are not by side-effect, so they'll
3285 # only be used when explicitly requested
3286 if test "x$enable_dependency_tracking" = xyes; then
3287 continue
3288 else
3289 break
3290 fi
3291 ;;
3292 none) break ;;
3293 esac
3294 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3295 # mode. It turns out that the SunPro C++ compiler does not properly
3296 # handle `-M -o', and we need to detect this.
3297 if depmode=$depmode \
3298 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3299 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3300 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3301 >/dev/null 2>conftest.err &&
3302 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3303 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3304 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3305 # icc doesn't choke on unknown options, it will just issue warnings
3306 # or remarks (even with -Werror). So we grep stderr for any message
3307 # that says an option was ignored or not supported.
3308 # When given -MP, icc 7.0 and 7.1 complain thusly:
3309 # icc: Command line warning: ignoring option '-M'; no argument required
3310 # The diagnosis changed in icc 8.0:
3311 # icc: Command line remark: option '-MP' not supported
3312 if (grep 'ignoring option' conftest.err ||
3313 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3314 am_cv_CC_dependencies_compiler_type=$depmode
3315 break
3316 fi
3317 fi
3318 done
3319
3320 cd ..
3321 rm -rf conftest.dir
3322else
3323 am_cv_CC_dependencies_compiler_type=none
3324fi
3325
3326fi
3327echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3328echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3329CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3330
3331
3332
3333if
3334 test "x$enable_dependency_tracking" != xno \
3335 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3336 am__fastdepCC_TRUE=
3337 am__fastdepCC_FALSE='#'
3338else
3339 am__fastdepCC_TRUE='#'
3340 am__fastdepCC_FALSE=
3341fi
3342
3343
3344ac_ext=c
3345ac_cpp='$CPP $CPPFLAGS'
3346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3348ac_compiler_gnu=$ac_cv_c_compiler_gnu
3349echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3350echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3351# On Suns, sometimes $CPP names a directory.
3352if test -n "$CPP" && test -d "$CPP"; then
3353 CPP=
3354fi
3355if test -z "$CPP"; then
3356 if test "${ac_cv_prog_CPP+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3358else
3359 # Double quotes because CPP needs to be expanded
3360 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3361 do
3362 ac_preproc_ok=false
3363for ac_c_preproc_warn_flag in '' yes
3364do
3365 # Use a header file that comes with gcc, so configuring glibc
3366 # with a fresh cross-compiler works.
3367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3368 # <limits.h> exists even on freestanding compilers.
3369 # On the NeXT, cc -E runs the code through the compiler's parser,
3370 # not just through cpp. "Syntax error" is here to catch this case.
3371 cat >conftest.$ac_ext <<_ACEOF
3372/* confdefs.h. */
3373_ACEOF
3374cat confdefs.h >>conftest.$ac_ext
3375cat >>conftest.$ac_ext <<_ACEOF
3376/* end confdefs.h. */
3377#ifdef __STDC__
3378# include <limits.h>
3379#else
3380# include <assert.h>
3381#endif
3382 Syntax error
3383_ACEOF
3384if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3386 ac_status=$?
3387 grep -v '^ *+' conftest.er1 >conftest.err
3388 rm -f conftest.er1
3389 cat conftest.err >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } >/dev/null; then
3392 if test -s conftest.err; then
3393 ac_cpp_err=$ac_c_preproc_warn_flag
3394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3395 else
3396 ac_cpp_err=
3397 fi
3398else
3399 ac_cpp_err=yes
3400fi
3401if test -z "$ac_cpp_err"; then
3402 :
3403else
3404 echo "$as_me: failed program was:" >&5
3405sed 's/^/| /' conftest.$ac_ext >&5
3406
3407 # Broken: fails on valid input.
3408continue
3409fi
3410rm -f conftest.err conftest.$ac_ext
3411
3412 # OK, works on sane cases. Now check whether non-existent headers
3413 # can be detected and how.
3414 cat >conftest.$ac_ext <<_ACEOF
3415/* confdefs.h. */
3416_ACEOF
3417cat confdefs.h >>conftest.$ac_ext
3418cat >>conftest.$ac_ext <<_ACEOF
3419/* end confdefs.h. */
3420#include <ac_nonexistent.h>
3421_ACEOF
3422if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3424 ac_status=$?
3425 grep -v '^ *+' conftest.er1 >conftest.err
3426 rm -f conftest.er1
3427 cat conftest.err >&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } >/dev/null; then
3430 if test -s conftest.err; then
3431 ac_cpp_err=$ac_c_preproc_warn_flag
3432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3433 else
3434 ac_cpp_err=
3435 fi
3436else
3437 ac_cpp_err=yes
3438fi
3439if test -z "$ac_cpp_err"; then
3440 # Broken: success on invalid input.
3441continue
3442else
3443 echo "$as_me: failed program was:" >&5
3444sed 's/^/| /' conftest.$ac_ext >&5
3445
3446 # Passes both tests.
3447ac_preproc_ok=:
3448break
3449fi
3450rm -f conftest.err conftest.$ac_ext
3451
3452done
3453# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3454rm -f conftest.err conftest.$ac_ext
3455if $ac_preproc_ok; then
3456 break
3457fi
3458
3459 done
3460 ac_cv_prog_CPP=$CPP
3461
3462fi
3463 CPP=$ac_cv_prog_CPP
3464else
3465 ac_cv_prog_CPP=$CPP
3466fi
3467echo "$as_me:$LINENO: result: $CPP" >&5
3468echo "${ECHO_T}$CPP" >&6
3469ac_preproc_ok=false
3470for ac_c_preproc_warn_flag in '' yes
3471do
3472 # Use a header file that comes with gcc, so configuring glibc
3473 # with a fresh cross-compiler works.
3474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3475 # <limits.h> exists even on freestanding compilers.
3476 # On the NeXT, cc -E runs the code through the compiler's parser,
3477 # not just through cpp. "Syntax error" is here to catch this case.
3478 cat >conftest.$ac_ext <<_ACEOF
3479/* confdefs.h. */
3480_ACEOF
3481cat confdefs.h >>conftest.$ac_ext
3482cat >>conftest.$ac_ext <<_ACEOF
3483/* end confdefs.h. */
3484#ifdef __STDC__
3485# include <limits.h>
3486#else
3487# include <assert.h>
3488#endif
3489 Syntax error
3490_ACEOF
3491if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3493 ac_status=$?
3494 grep -v '^ *+' conftest.er1 >conftest.err
3495 rm -f conftest.er1
3496 cat conftest.err >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } >/dev/null; then
3499 if test -s conftest.err; then
3500 ac_cpp_err=$ac_c_preproc_warn_flag
3501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3502 else
3503 ac_cpp_err=
3504 fi
3505else
3506 ac_cpp_err=yes
3507fi
3508if test -z "$ac_cpp_err"; then
3509 :
3510else
3511 echo "$as_me: failed program was:" >&5
3512sed 's/^/| /' conftest.$ac_ext >&5
3513
3514 # Broken: fails on valid input.
3515continue
3516fi
3517rm -f conftest.err conftest.$ac_ext
3518
3519 # OK, works on sane cases. Now check whether non-existent headers
3520 # can be detected and how.
3521 cat >conftest.$ac_ext <<_ACEOF
3522/* confdefs.h. */
3523_ACEOF
3524cat confdefs.h >>conftest.$ac_ext
3525cat >>conftest.$ac_ext <<_ACEOF
3526/* end confdefs.h. */
3527#include <ac_nonexistent.h>
3528_ACEOF
3529if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3531 ac_status=$?
3532 grep -v '^ *+' conftest.er1 >conftest.err
3533 rm -f conftest.er1
3534 cat conftest.err >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } >/dev/null; then
3537 if test -s conftest.err; then
3538 ac_cpp_err=$ac_c_preproc_warn_flag
3539 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3540 else
3541 ac_cpp_err=
3542 fi
3543else
3544 ac_cpp_err=yes
3545fi
3546if test -z "$ac_cpp_err"; then
3547 # Broken: success on invalid input.
3548continue
3549else
3550 echo "$as_me: failed program was:" >&5
3551sed 's/^/| /' conftest.$ac_ext >&5
3552
3553 # Passes both tests.
3554ac_preproc_ok=:
3555break
3556fi
3557rm -f conftest.err conftest.$ac_ext
3558
3559done
3560# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3561rm -f conftest.err conftest.$ac_ext
3562if $ac_preproc_ok; then
3563 :
3564else
3565 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3566See \`config.log' for more details." >&5
3567echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3568See \`config.log' for more details." >&2;}
3569 { (exit 1); exit 1; }; }
3570fi
3571
3572ac_ext=c
3573ac_cpp='$CPP $CPPFLAGS'
3574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3576ac_compiler_gnu=$ac_cv_c_compiler_gnu
3577
3578
3579# Checks for libraries.
3580
3581# Checks for header files.
3582
3583# Checks for typedefs, structures, and compiler characteristics.
3584
3585# Checks for library functions.
3586
3587# Completion
3588 ac_config_files="$ac_config_files Makefile"
3589
3590cat >confcache <<\_ACEOF
3591# This file is a shell script that caches the results of configure
3592# tests run on this system so they can be shared between configure
3593# scripts and configure runs, see configure's option --config-cache.
3594# It is not useful on other systems. If it contains results you don't
3595# want to keep, you may remove or edit it.
3596#
3597# config.status only pays attention to the cache file if you give it
3598# the --recheck option to rerun configure.
3599#
3600# `ac_cv_env_foo' variables (set or unset) will be overridden when
3601# loading this file, other *unset* `ac_cv_foo' will be assigned the
3602# following values.
3603
3604_ACEOF
3605
3606# The following way of writing the cache mishandles newlines in values,
3607# but we know of no workaround that is simple, portable, and efficient.
3608# So, don't put newlines in cache variables' values.
3609# Ultrix sh set writes to stderr and can't be redirected directly,
3610# and sets the high bit in the cache file unless we assign to the vars.
3611{
3612 (set) 2>&1 |
3613 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3614 *ac_space=\ *)
3615 # `set' does not quote correctly, so add quotes (double-quote
3616 # substitution turns \\\\ into \\, and sed turns \\ into \).
3617 sed -n \
3618 "s/'/'\\\\''/g;
3619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3620 ;;
3621 *)
3622 # `set' quotes correctly as required by POSIX, so do not add quotes.
3623 sed -n \
3624 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3625 ;;
3626 esac;
3627} |
3628 sed '
3629 t clear
3630 : clear
3631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3632 t end
3633 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3634 : end' >>confcache
3635if diff $cache_file confcache >/dev/null 2>&1; then :; else
3636 if test -w $cache_file; then
3637 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3638 cat confcache >$cache_file
3639 else
3640 echo "not updating unwritable cache $cache_file"
3641 fi
3642fi
3643rm -f confcache
3644
3645test "x$prefix" = xNONE && prefix=$ac_default_prefix
3646# Let make expand exec_prefix.
3647test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3648
3649# VPATH may cause trouble with some makes, so we remove $(srcdir),
3650# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3651# trailing colons and then remove the whole line if VPATH becomes empty
3652# (actually we leave an empty line to preserve line numbers).
3653if test "x$srcdir" = x.; then
3654 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3655s/:*\$(srcdir):*/:/;
3656s/:*\${srcdir}:*/:/;
3657s/:*@srcdir@:*/:/;
3658s/^\([^=]*=[ ]*\):*/\1/;
3659s/:*$//;
3660s/^[^=]*=[ ]*$//;
3661}'
3662fi
3663
3664DEFS=-DHAVE_CONFIG_H
3665
3666ac_libobjs=
3667ac_ltlibobjs=
3668for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3669 # 1. Remove the extension, and $U if already installed.
3670 ac_i=`echo "$ac_i" |
3671 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3672 # 2. Add them.
3673 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3674 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3675done
3676LIBOBJS=$ac_libobjs
3677
3678LTLIBOBJS=$ac_ltlibobjs
3679
3680
3681if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3682 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3683Usually this means the macro was only invoked conditionally." >&5
3684echo "$as_me: error: conditional \"AMDEP\" was never defined.
3685Usually this means the macro was only invoked conditionally." >&2;}
3686 { (exit 1); exit 1; }; }
3687fi
3688if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3689 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3690Usually this means the macro was only invoked conditionally." >&5
3691echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3692Usually this means the macro was only invoked conditionally." >&2;}
3693 { (exit 1); exit 1; }; }
3694fi
3695if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3696 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3697Usually this means the macro was only invoked conditionally." >&5
3698echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3699Usually this means the macro was only invoked conditionally." >&2;}
3700 { (exit 1); exit 1; }; }
3701fi
3702
3703: ${CONFIG_STATUS=./config.status}
3704ac_clean_files_save=$ac_clean_files
3705ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3706{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3707echo "$as_me: creating $CONFIG_STATUS" >&6;}
3708cat >$CONFIG_STATUS <<_ACEOF
3709#! $SHELL
3710# Generated by $as_me.
3711# Run this file to recreate the current configuration.
3712# Compiler output produced by configure, useful for debugging
3713# configure, is in config.log if it exists.
3714
3715debug=false
3716ac_cs_recheck=false
3717ac_cs_silent=false
3718SHELL=\${CONFIG_SHELL-$SHELL}
3719_ACEOF
3720
3721cat >>$CONFIG_STATUS <<\_ACEOF
3722## --------------------- ##
3723## M4sh Initialization. ##
3724## --------------------- ##
3725
3726# Be Bourne compatible
3727if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3728 emulate sh
3729 NULLCMD=:
3730 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3731 # is contrary to our usage. Disable this feature.
3732 alias -g '${1+"$@"}'='"$@"'
3733elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3734 set -o posix
3735fi
3736DUALCASE=1; export DUALCASE # for MKS sh
3737
3738# Support unset when possible.
3739if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3740 as_unset=unset
3741else
3742 as_unset=false
3743fi
3744
3745
3746# Work around bugs in pre-3.0 UWIN ksh.
3747$as_unset ENV MAIL MAILPATH
3748PS1='$ '
3749PS2='> '
3750PS4='+ '
3751
3752# NLS nuisances.
3753for as_var in \
3754 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3755 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3756 LC_TELEPHONE LC_TIME
3757do
3758 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3759 eval $as_var=C; export $as_var
3760 else
3761 $as_unset $as_var
3762 fi
3763done
3764
3765# Required to use basename.
3766if expr a : '\(a\)' >/dev/null 2>&1; then
3767 as_expr=expr
3768else
3769 as_expr=false
3770fi
3771
3772if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3773 as_basename=basename
3774else
3775 as_basename=false
3776fi
3777
3778
3779# Name of the executable.
3780as_me=`$as_basename "$0" ||
3781$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3782 X"$0" : 'X\(//\)$' \| \
3783 X"$0" : 'X\(/\)$' \| \
3784 . : '\(.\)' 2>/dev/null ||
3785echo X/"$0" |
3786 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3787 /^X\/\(\/\/\)$/{ s//\1/; q; }
3788 /^X\/\(\/\).*/{ s//\1/; q; }
3789 s/.*/./; q'`
3790
3791
3792# PATH needs CR, and LINENO needs CR and PATH.
3793# Avoid depending upon Character Ranges.
3794as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3795as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3796as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3797as_cr_digits='0123456789'
3798as_cr_alnum=$as_cr_Letters$as_cr_digits
3799
3800# The user is always right.
3801if test "${PATH_SEPARATOR+set}" != set; then
3802 echo "#! /bin/sh" >conf$$.sh
3803 echo "exit 0" >>conf$$.sh
3804 chmod +x conf$$.sh
3805 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3806 PATH_SEPARATOR=';'
3807 else
3808 PATH_SEPARATOR=:
3809 fi
3810 rm -f conf$$.sh
3811fi
3812
3813
3814 as_lineno_1=$LINENO
3815 as_lineno_2=$LINENO
3816 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3817 test "x$as_lineno_1" != "x$as_lineno_2" &&
3818 test "x$as_lineno_3" = "x$as_lineno_2" || {
3819 # Find who we are. Look in the path if we contain no path at all
3820 # relative or not.
3821 case $0 in
3822 *[\\/]* ) as_myself=$0 ;;
3823 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824for as_dir in $PATH
3825do
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3829done
3830
3831 ;;
3832 esac
3833 # We did not find ourselves, most probably we were run as `sh COMMAND'
3834 # in which case we are not to be found in the path.
3835 if test "x$as_myself" = x; then
3836 as_myself=$0
3837 fi
3838 if test ! -f "$as_myself"; then
3839 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3840echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3841 { (exit 1); exit 1; }; }
3842 fi
3843 case $CONFIG_SHELL in
3844 '')
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3847do
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for as_base in sh bash ksh sh5; do
3851 case $as_dir in
3852 /*)
3853 if ("$as_dir/$as_base" -c '
3854 as_lineno_1=$LINENO
3855 as_lineno_2=$LINENO
3856 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3857 test "x$as_lineno_1" != "x$as_lineno_2" &&
3858 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3859 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3860 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3861 CONFIG_SHELL=$as_dir/$as_base
3862 export CONFIG_SHELL
3863 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3864 fi;;
3865 esac
3866 done
3867done
3868;;
3869 esac
3870
3871 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3872 # uniformly replaced by the line number. The first 'sed' inserts a
3873 # line-number line before each line; the second 'sed' does the real
3874 # work. The second script uses 'N' to pair each line-number line
3875 # with the numbered line, and appends trailing '-' during
3876 # substitution so that $LINENO is not a special case at line end.
3877 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3878 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3879 sed '=' <$as_myself |
3880 sed '
3881 N
3882 s,$,-,
3883 : loop
3884 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3885 t loop
3886 s,-$,,
3887 s,^['$as_cr_digits']*\n,,
3888 ' >$as_me.lineno &&
3889 chmod +x $as_me.lineno ||
3890 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3891echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3892 { (exit 1); exit 1; }; }
3893
3894 # Don't try to exec as it changes $[0], causing all sort of problems
3895 # (the dirname of $[0] is not the place where we might find the
3896 # original and so on. Autoconf is especially sensible to this).
3897 . ./$as_me.lineno
3898 # Exit status is that of the last command.
3899 exit
3900}
3901
3902
3903case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3904 *c*,-n*) ECHO_N= ECHO_C='
3905' ECHO_T=' ' ;;
3906 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3907 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3908esac
3909
3910if expr a : '\(a\)' >/dev/null 2>&1; then
3911 as_expr=expr
3912else
3913 as_expr=false
3914fi
3915
3916rm -f conf$$ conf$$.exe conf$$.file
3917echo >conf$$.file
3918if ln -s conf$$.file conf$$ 2>/dev/null; then
3919 # We could just check for DJGPP; but this test a) works b) is more generic
3920 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3921 if test -f conf$$.exe; then
3922 # Don't use ln at all; we don't have any links
3923 as_ln_s='cp -p'
3924 else
3925 as_ln_s='ln -s'
3926 fi
3927elif ln conf$$.file conf$$ 2>/dev/null; then
3928 as_ln_s=ln
3929else
3930 as_ln_s='cp -p'
3931fi
3932rm -f conf$$ conf$$.exe conf$$.file
3933
3934if mkdir -p . 2>/dev/null; then
3935 as_mkdir_p=:
3936else
3937 test -d ./-p && rmdir ./-p
3938 as_mkdir_p=false
3939fi
3940
3941as_executable_p="test -f"
3942
3943# Sed expression to map a string onto a valid CPP name.
3944as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3945
3946# Sed expression to map a string onto a valid variable name.
3947as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3948
3949
3950# IFS
3951# We need space, tab and new line, in precisely that order.
3952as_nl='
3953'
3954IFS=" $as_nl"
3955
3956# CDPATH.
3957$as_unset CDPATH
3958
3959exec 6>&1
3960
3961# Open the log real soon, to keep \$[0] and so on meaningful, and to
3962# report actual input values of CONFIG_FILES etc. instead of their
3963# values after options handling. Logging --version etc. is OK.
3964exec 5>>config.log
3965{
3966 echo
3967 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3968## Running $as_me. ##
3969_ASBOX
3970} >&5
3971cat >&5 <<_CSEOF
3972
3973This file was extended by txt2tdb $as_me 1.0, which was
3974generated by GNU Autoconf 2.59. Invocation command line was
3975
3976 CONFIG_FILES = $CONFIG_FILES
3977 CONFIG_HEADERS = $CONFIG_HEADERS
3978 CONFIG_LINKS = $CONFIG_LINKS
3979 CONFIG_COMMANDS = $CONFIG_COMMANDS
3980 $ $0 $@
3981
3982_CSEOF
3983echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3984echo >&5
3985_ACEOF
3986
3987# Files that config.status was made for.
3988if test -n "$ac_config_files"; then
3989 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3990fi
3991
3992if test -n "$ac_config_headers"; then
3993 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3994fi
3995
3996if test -n "$ac_config_links"; then
3997 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3998fi
3999
4000if test -n "$ac_config_commands"; then
4001 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4002fi
4003
4004cat >>$CONFIG_STATUS <<\_ACEOF
4005
4006ac_cs_usage="\
4007\`$as_me' instantiates files from templates according to the
4008current configuration.
4009
4010Usage: $0 [OPTIONS] [FILE]...
4011
4012 -h, --help print this help, then exit
4013 -V, --version print version number, then exit
4014 -q, --quiet do not print progress messages
4015 -d, --debug don't remove temporary files
4016 --recheck update $as_me by reconfiguring in the same conditions
4017 --file=FILE[:TEMPLATE]
4018 instantiate the configuration file FILE
4019 --header=FILE[:TEMPLATE]
4020 instantiate the configuration header FILE
4021
4022Configuration files:
4023$config_files
4024
4025Configuration headers:
4026$config_headers
4027
4028Configuration commands:
4029$config_commands
4030
4031Report bugs to <[email protected]>."
4032_ACEOF
4033
4034cat >>$CONFIG_STATUS <<_ACEOF
4035ac_cs_version="\\
4036txt2tdb config.status 1.0
4037configured by $0, generated by GNU Autoconf 2.59,
4038 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4039
4040Copyright (C) 2003 Free Software Foundation, Inc.
4041This config.status script is free software; the Free Software Foundation
4042gives unlimited permission to copy, distribute and modify it."
4043srcdir=$srcdir
4044INSTALL="$INSTALL"
4045_ACEOF
4046
4047cat >>$CONFIG_STATUS <<\_ACEOF
4048# If no file are specified by the user, then we need to provide default
4049# value. By we need to know if files were specified by the user.
4050ac_need_defaults=:
4051while test $# != 0
4052do
4053 case $1 in
4054 --*=*)
4055 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4056 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4057 ac_shift=:
4058 ;;
4059 -*)
4060 ac_option=$1
4061 ac_optarg=$2
4062 ac_shift=shift
4063 ;;
4064 *) # This is not an option, so the user has probably given explicit
4065 # arguments.
4066 ac_option=$1
4067 ac_need_defaults=false;;
4068 esac
4069
4070 case $ac_option in
4071 # Handling of the options.
4072_ACEOF
4073cat >>$CONFIG_STATUS <<\_ACEOF
4074 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4075 ac_cs_recheck=: ;;
4076 --version | --vers* | -V )
4077 echo "$ac_cs_version"; exit 0 ;;
4078 --he | --h)
4079 # Conflict between --help and --header
4080 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4081Try \`$0 --help' for more information." >&5
4082echo "$as_me: error: ambiguous option: $1
4083Try \`$0 --help' for more information." >&2;}
4084 { (exit 1); exit 1; }; };;
4085 --help | --hel | -h )
4086 echo "$ac_cs_usage"; exit 0 ;;
4087 --debug | --d* | -d )
4088 debug=: ;;
4089 --file | --fil | --fi | --f )
4090 $ac_shift
4091 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4092 ac_need_defaults=false;;
4093 --header | --heade | --head | --hea )
4094 $ac_shift
4095 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4096 ac_need_defaults=false;;
4097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4098 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4099 ac_cs_silent=: ;;
4100
4101 # This is an error.
4102 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4103Try \`$0 --help' for more information." >&5
4104echo "$as_me: error: unrecognized option: $1
4105Try \`$0 --help' for more information." >&2;}
4106 { (exit 1); exit 1; }; } ;;
4107
4108 *) ac_config_targets="$ac_config_targets $1" ;;
4109
4110 esac
4111 shift
4112done
4113
4114ac_configure_extra_args=
4115
4116if $ac_cs_silent; then
4117 exec 6>/dev/null
4118 ac_configure_extra_args="$ac_configure_extra_args --silent"
4119fi
4120
4121_ACEOF
4122cat >>$CONFIG_STATUS <<_ACEOF
4123if \$ac_cs_recheck; then
4124 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4125 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4126fi
4127
4128_ACEOF
4129
4130cat >>$CONFIG_STATUS <<_ACEOF
4131#
4132# INIT-COMMANDS section.
4133#
4134
4135AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4136
4137_ACEOF
4138
4139
4140
4141cat >>$CONFIG_STATUS <<\_ACEOF
4142for ac_config_target in $ac_config_targets
4143do
4144 case "$ac_config_target" in
4145 # Handling of arguments.
4146 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4147 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4148 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4149 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4150echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4151 { (exit 1); exit 1; }; };;
4152 esac
4153done
4154
4155# If the user did not use the arguments to specify the items to instantiate,
4156# then the envvar interface is used. Set only those that are not.
4157# We use the long form for the default assignment because of an extremely
4158# bizarre bug on SunOS 4.1.3.
4159if $ac_need_defaults; then
4160 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4161 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4162 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4163fi
4164
4165# Have a temporary directory for convenience. Make it in the build tree
4166# simply because there is no reason to put it here, and in addition,
4167# creating and moving files from /tmp can sometimes cause problems.
4168# Create a temporary directory, and hook for its removal unless debugging.
4169$debug ||
4170{
4171 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4172 trap '{ (exit 1); exit 1; }' 1 2 13 15
4173}
4174
4175# Create a (secure) tmp directory for tmp files.
4176
4177{
4178 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4179 test -n "$tmp" && test -d "$tmp"
4180} ||
4181{
4182 tmp=./confstat$$-$RANDOM
4183 (umask 077 && mkdir $tmp)
4184} ||
4185{
4186 echo "$me: cannot create a temporary directory in ." >&2
4187 { (exit 1); exit 1; }
4188}
4189
4190_ACEOF
4191
4192cat >>$CONFIG_STATUS <<_ACEOF
4193
4194#
4195# CONFIG_FILES section.
4196#
4197
4198# No need to generate the scripts if there are no CONFIG_FILES.
4199# This happens for instance when ./config.status config.h
4200if test -n "\$CONFIG_FILES"; then
4201 # Protect against being on the right side of a sed subst in config.status.
4202 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4203 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4204s,@SHELL@,$SHELL,;t t
4205s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4206s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4207s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4208s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4209s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4210s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4211s,@exec_prefix@,$exec_prefix,;t t
4212s,@prefix@,$prefix,;t t
4213s,@program_transform_name@,$program_transform_name,;t t
4214s,@bindir@,$bindir,;t t
4215s,@sbindir@,$sbindir,;t t
4216s,@libexecdir@,$libexecdir,;t t
4217s,@datadir@,$datadir,;t t
4218s,@sysconfdir@,$sysconfdir,;t t
4219s,@sharedstatedir@,$sharedstatedir,;t t
4220s,@localstatedir@,$localstatedir,;t t
4221s,@libdir@,$libdir,;t t
4222s,@includedir@,$includedir,;t t
4223s,@oldincludedir@,$oldincludedir,;t t
4224s,@infodir@,$infodir,;t t
4225s,@mandir@,$mandir,;t t
4226s,@build_alias@,$build_alias,;t t
4227s,@host_alias@,$host_alias,;t t
4228s,@target_alias@,$target_alias,;t t
4229s,@DEFS@,$DEFS,;t t
4230s,@ECHO_C@,$ECHO_C,;t t
4231s,@ECHO_N@,$ECHO_N,;t t
4232s,@ECHO_T@,$ECHO_T,;t t
4233s,@LIBS@,$LIBS,;t t
4234s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4235s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4236s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4237s,@CYGPATH_W@,$CYGPATH_W,;t t
4238s,@PACKAGE@,$PACKAGE,;t t
4239s,@VERSION@,$VERSION,;t t
4240s,@ACLOCAL@,$ACLOCAL,;t t
4241s,@AUTOCONF@,$AUTOCONF,;t t
4242s,@AUTOMAKE@,$AUTOMAKE,;t t
4243s,@AUTOHEADER@,$AUTOHEADER,;t t
4244s,@MAKEINFO@,$MAKEINFO,;t t
4245s,@install_sh@,$install_sh,;t t
4246s,@STRIP@,$STRIP,;t t
4247s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4248s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4249s,@mkdir_p@,$mkdir_p,;t t
4250s,@AWK@,$AWK,;t t
4251s,@SET_MAKE@,$SET_MAKE,;t t
4252s,@am__leading_dot@,$am__leading_dot,;t t
4253s,@AMTAR@,$AMTAR,;t t
4254s,@am__tar@,$am__tar,;t t
4255s,@am__untar@,$am__untar,;t t
4256s,@build@,$build,;t t
4257s,@build_cpu@,$build_cpu,;t t
4258s,@build_vendor@,$build_vendor,;t t
4259s,@build_os@,$build_os,;t t
4260s,@host@,$host,;t t
4261s,@host_cpu@,$host_cpu,;t t
4262s,@host_vendor@,$host_vendor,;t t
4263s,@host_os@,$host_os,;t t
4264s,@CXX@,$CXX,;t t
4265s,@CXXFLAGS@,$CXXFLAGS,;t t
4266s,@LDFLAGS@,$LDFLAGS,;t t
4267s,@CPPFLAGS@,$CPPFLAGS,;t t
4268s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4269s,@EXEEXT@,$EXEEXT,;t t
4270s,@OBJEXT@,$OBJEXT,;t t
4271s,@DEPDIR@,$DEPDIR,;t t
4272s,@am__include@,$am__include,;t t
4273s,@am__quote@,$am__quote,;t t
4274s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4275s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4276s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4277s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4278s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4279s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4280s,@CC@,$CC,;t t
4281s,@CFLAGS@,$CFLAGS,;t t
4282s,@ac_ct_CC@,$ac_ct_CC,;t t
4283s,@CCDEPMODE@,$CCDEPMODE,;t t
4284s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4285s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4286s,@CPP@,$CPP,;t t
4287s,@LIBOBJS@,$LIBOBJS,;t t
4288s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4289CEOF
4290
4291_ACEOF
4292
4293 cat >>$CONFIG_STATUS <<\_ACEOF
4294 # Split the substitutions into bite-sized pieces for seds with
4295 # small command number limits, like on Digital OSF/1 and HP-UX.
4296 ac_max_sed_lines=48
4297 ac_sed_frag=1 # Number of current file.
4298 ac_beg=1 # First line for current file.
4299 ac_end=$ac_max_sed_lines # Line after last line for current file.
4300 ac_more_lines=:
4301 ac_sed_cmds=
4302 while $ac_more_lines; do
4303 if test $ac_beg -gt 1; then
4304 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4305 else
4306 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4307 fi
4308 if test ! -s $tmp/subs.frag; then
4309 ac_more_lines=false
4310 else
4311 # The purpose of the label and of the branching condition is to
4312 # speed up the sed processing (if there are no `@' at all, there
4313 # is no need to browse any of the substitutions).
4314 # These are the two extra sed commands mentioned above.
4315 (echo ':t
4316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4317 if test -z "$ac_sed_cmds"; then
4318 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4319 else
4320 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4321 fi
4322 ac_sed_frag=`expr $ac_sed_frag + 1`
4323 ac_beg=$ac_end
4324 ac_end=`expr $ac_end + $ac_max_sed_lines`
4325 fi
4326 done
4327 if test -z "$ac_sed_cmds"; then
4328 ac_sed_cmds=cat
4329 fi
4330fi # test -n "$CONFIG_FILES"
4331
4332_ACEOF
4333cat >>$CONFIG_STATUS <<\_ACEOF
4334for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4335 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4336 case $ac_file in
4337 - | *:- | *:-:* ) # input from stdin
4338 cat >$tmp/stdin
4339 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4340 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4341 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4342 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4343 * ) ac_file_in=$ac_file.in ;;
4344 esac
4345
4346 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4347 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4348$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4349 X"$ac_file" : 'X\(//\)[^/]' \| \
4350 X"$ac_file" : 'X\(//\)$' \| \
4351 X"$ac_file" : 'X\(/\)' \| \
4352 . : '\(.\)' 2>/dev/null ||
4353echo X"$ac_file" |
4354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4356 /^X\(\/\/\)$/{ s//\1/; q; }
4357 /^X\(\/\).*/{ s//\1/; q; }
4358 s/.*/./; q'`
4359 { if $as_mkdir_p; then
4360 mkdir -p "$ac_dir"
4361 else
4362 as_dir="$ac_dir"
4363 as_dirs=
4364 while test ! -d "$as_dir"; do
4365 as_dirs="$as_dir $as_dirs"
4366 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4367$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4368 X"$as_dir" : 'X\(//\)[^/]' \| \
4369 X"$as_dir" : 'X\(//\)$' \| \
4370 X"$as_dir" : 'X\(/\)' \| \
4371 . : '\(.\)' 2>/dev/null ||
4372echo X"$as_dir" |
4373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4375 /^X\(\/\/\)$/{ s//\1/; q; }
4376 /^X\(\/\).*/{ s//\1/; q; }
4377 s/.*/./; q'`
4378 done
4379 test ! -n "$as_dirs" || mkdir $as_dirs
4380 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4381echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4382 { (exit 1); exit 1; }; }; }
4383
4384 ac_builddir=.
4385
4386if test "$ac_dir" != .; then
4387 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4388 # A "../" for each directory in $ac_dir_suffix.
4389 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4390else
4391 ac_dir_suffix= ac_top_builddir=
4392fi
4393
4394case $srcdir in
4395 .) # No --srcdir option. We are building in place.
4396 ac_srcdir=.
4397 if test -z "$ac_top_builddir"; then
4398 ac_top_srcdir=.
4399 else
4400 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4401 fi ;;
4402 [\\/]* | ?:[\\/]* ) # Absolute path.
4403 ac_srcdir=$srcdir$ac_dir_suffix;
4404 ac_top_srcdir=$srcdir ;;
4405 *) # Relative path.
4406 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4407 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4408esac
4409
4410# Do not use `cd foo && pwd` to compute absolute paths, because
4411# the directories may not exist.
4412case `pwd` in
4413.) ac_abs_builddir="$ac_dir";;
4414*)
4415 case "$ac_dir" in
4416 .) ac_abs_builddir=`pwd`;;
4417 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4418 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4419 esac;;
4420esac
4421case $ac_abs_builddir in
4422.) ac_abs_top_builddir=${ac_top_builddir}.;;
4423*)
4424 case ${ac_top_builddir}. in
4425 .) ac_abs_top_builddir=$ac_abs_builddir;;
4426 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4427 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4428 esac;;
4429esac
4430case $ac_abs_builddir in
4431.) ac_abs_srcdir=$ac_srcdir;;
4432*)
4433 case $ac_srcdir in
4434 .) ac_abs_srcdir=$ac_abs_builddir;;
4435 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4436 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4437 esac;;
4438esac
4439case $ac_abs_builddir in
4440.) ac_abs_top_srcdir=$ac_top_srcdir;;
4441*)
4442 case $ac_top_srcdir in
4443 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4444 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4445 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4446 esac;;
4447esac
4448
4449
4450 case $INSTALL in
4451 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4452 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4453 esac
4454
4455 if test x"$ac_file" != x-; then
4456 { echo "$as_me:$LINENO: creating $ac_file" >&5
4457echo "$as_me: creating $ac_file" >&6;}
4458 rm -f "$ac_file"
4459 fi
4460 # Let's still pretend it is `configure' which instantiates (i.e., don't
4461 # use $as_me), people would be surprised to read:
4462 # /* config.h. Generated by config.status. */
4463 if test x"$ac_file" = x-; then
4464 configure_input=
4465 else
4466 configure_input="$ac_file. "
4467 fi
4468 configure_input=$configure_input"Generated from `echo $ac_file_in |
4469 sed 's,.*/,,'` by configure."
4470
4471 # First look for the input files in the build tree, otherwise in the
4472 # src tree.
4473 ac_file_inputs=`IFS=:
4474 for f in $ac_file_in; do
4475 case $f in
4476 -) echo $tmp/stdin ;;
4477 [\\/$]*)
4478 # Absolute (can't be DOS-style, as IFS=:)
4479 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4480echo "$as_me: error: cannot find input file: $f" >&2;}
4481 { (exit 1); exit 1; }; }
4482 echo "$f";;
4483 *) # Relative
4484 if test -f "$f"; then
4485 # Build tree
4486 echo "$f"
4487 elif test -f "$srcdir/$f"; then
4488 # Source tree
4489 echo "$srcdir/$f"
4490 else
4491 # /dev/null tree
4492 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4493echo "$as_me: error: cannot find input file: $f" >&2;}
4494 { (exit 1); exit 1; }; }
4495 fi;;
4496 esac
4497 done` || { (exit 1); exit 1; }
4498_ACEOF
4499cat >>$CONFIG_STATUS <<_ACEOF
4500 sed "$ac_vpsub
4501$extrasub
4502_ACEOF
4503cat >>$CONFIG_STATUS <<\_ACEOF
4504:t
4505/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4506s,@configure_input@,$configure_input,;t t
4507s,@srcdir@,$ac_srcdir,;t t
4508s,@abs_srcdir@,$ac_abs_srcdir,;t t
4509s,@top_srcdir@,$ac_top_srcdir,;t t
4510s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4511s,@builddir@,$ac_builddir,;t t
4512s,@abs_builddir@,$ac_abs_builddir,;t t
4513s,@top_builddir@,$ac_top_builddir,;t t
4514s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4515s,@INSTALL@,$ac_INSTALL,;t t
4516" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4517 rm -f $tmp/stdin
4518 if test x"$ac_file" != x-; then
4519 mv $tmp/out $ac_file
4520 else
4521 cat $tmp/out
4522 rm -f $tmp/out
4523 fi
4524
4525done
4526_ACEOF
4527cat >>$CONFIG_STATUS <<\_ACEOF
4528
4529#
4530# CONFIG_HEADER section.
4531#
4532
4533# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4534# NAME is the cpp macro being defined and VALUE is the value it is being given.
4535#
4536# ac_d sets the value in "#define NAME VALUE" lines.
4537ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4538ac_dB='[ ].*$,\1#\2'
4539ac_dC=' '
4540ac_dD=',;t'
4541# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4542ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4543ac_uB='$,\1#\2define\3'
4544ac_uC=' '
4545ac_uD=',;t'
4546
4547for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4548 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4549 case $ac_file in
4550 - | *:- | *:-:* ) # input from stdin
4551 cat >$tmp/stdin
4552 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4553 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4554 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4555 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4556 * ) ac_file_in=$ac_file.in ;;
4557 esac
4558
4559 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4560echo "$as_me: creating $ac_file" >&6;}
4561
4562 # First look for the input files in the build tree, otherwise in the
4563 # src tree.
4564 ac_file_inputs=`IFS=:
4565 for f in $ac_file_in; do
4566 case $f in
4567 -) echo $tmp/stdin ;;
4568 [\\/$]*)
4569 # Absolute (can't be DOS-style, as IFS=:)
4570 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4571echo "$as_me: error: cannot find input file: $f" >&2;}
4572 { (exit 1); exit 1; }; }
4573 # Do quote $f, to prevent DOS paths from being IFS'd.
4574 echo "$f";;
4575 *) # Relative
4576 if test -f "$f"; then
4577 # Build tree
4578 echo "$f"
4579 elif test -f "$srcdir/$f"; then
4580 # Source tree
4581 echo "$srcdir/$f"
4582 else
4583 # /dev/null tree
4584 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4585echo "$as_me: error: cannot find input file: $f" >&2;}
4586 { (exit 1); exit 1; }; }
4587 fi;;
4588 esac
4589 done` || { (exit 1); exit 1; }
4590 # Remove the trailing spaces.
4591 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4592
4593_ACEOF
4594
4595# Transform confdefs.h into two sed scripts, `conftest.defines' and
4596# `conftest.undefs', that substitutes the proper values into
4597# config.h.in to produce config.h. The first handles `#define'
4598# templates, and the second `#undef' templates.
4599# And first: Protect against being on the right side of a sed subst in
4600# config.status. Protect against being in an unquoted here document
4601# in config.status.
4602rm -f conftest.defines conftest.undefs
4603# Using a here document instead of a string reduces the quoting nightmare.
4604# Putting comments in sed scripts is not portable.
4605#
4606# `end' is used to avoid that the second main sed command (meant for
4607# 0-ary CPP macros) applies to n-ary macro definitions.
4608# See the Autoconf documentation for `clear'.
4609cat >confdef2sed.sed <<\_ACEOF
4610s/[\\&,]/\\&/g
4611s,[\\$`],\\&,g
4612t clear
4613: clear
4614s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4615t end
4616s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4617: end
4618_ACEOF
4619# If some macros were called several times there might be several times
4620# the same #defines, which is useless. Nevertheless, we may not want to
4621# sort them, since we want the *last* AC-DEFINE to be honored.
4622uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4623sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4624rm -f confdef2sed.sed
4625
4626# This sed command replaces #undef with comments. This is necessary, for
4627# example, in the case of _POSIX_SOURCE, which is predefined and required
4628# on some systems where configure will not decide to define it.
4629cat >>conftest.undefs <<\_ACEOF
4630s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4631_ACEOF
4632
4633# Break up conftest.defines because some shells have a limit on the size
4634# of here documents, and old seds have small limits too (100 cmds).
4635echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4636echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4637echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4638echo ' :' >>$CONFIG_STATUS
4639rm -f conftest.tail
4640while grep . conftest.defines >/dev/null
4641do
4642 # Write a limited-size here document to $tmp/defines.sed.
4643 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4644 # Speed up: don't consider the non `#define' lines.
4645 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4646 # Work around the forget-to-reset-the-flag bug.
4647 echo 't clr' >>$CONFIG_STATUS
4648 echo ': clr' >>$CONFIG_STATUS
4649 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4650 echo 'CEOF
4651 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4652 rm -f $tmp/in
4653 mv $tmp/out $tmp/in
4654' >>$CONFIG_STATUS
4655 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4656 rm -f conftest.defines
4657 mv conftest.tail conftest.defines
4658done
4659rm -f conftest.defines
4660echo ' fi # grep' >>$CONFIG_STATUS
4661echo >>$CONFIG_STATUS
4662
4663# Break up conftest.undefs because some shells have a limit on the size
4664# of here documents, and old seds have small limits too (100 cmds).
4665echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4666rm -f conftest.tail
4667while grep . conftest.undefs >/dev/null
4668do
4669 # Write a limited-size here document to $tmp/undefs.sed.
4670 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4671 # Speed up: don't consider the non `#undef'
4672 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4673 # Work around the forget-to-reset-the-flag bug.
4674 echo 't clr' >>$CONFIG_STATUS
4675 echo ': clr' >>$CONFIG_STATUS
4676 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4677 echo 'CEOF
4678 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4679 rm -f $tmp/in
4680 mv $tmp/out $tmp/in
4681' >>$CONFIG_STATUS
4682 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4683 rm -f conftest.undefs
4684 mv conftest.tail conftest.undefs
4685done
4686rm -f conftest.undefs
4687
4688cat >>$CONFIG_STATUS <<\_ACEOF
4689 # Let's still pretend it is `configure' which instantiates (i.e., don't
4690 # use $as_me), people would be surprised to read:
4691 # /* config.h. Generated by config.status. */
4692 if test x"$ac_file" = x-; then
4693 echo "/* Generated by configure. */" >$tmp/config.h
4694 else
4695 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4696 fi
4697 cat $tmp/in >>$tmp/config.h
4698 rm -f $tmp/in
4699 if test x"$ac_file" != x-; then
4700 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4701 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4702echo "$as_me: $ac_file is unchanged" >&6;}
4703 else
4704 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4705$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4706 X"$ac_file" : 'X\(//\)[^/]' \| \
4707 X"$ac_file" : 'X\(//\)$' \| \
4708 X"$ac_file" : 'X\(/\)' \| \
4709 . : '\(.\)' 2>/dev/null ||
4710echo X"$ac_file" |
4711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4713 /^X\(\/\/\)$/{ s//\1/; q; }
4714 /^X\(\/\).*/{ s//\1/; q; }
4715 s/.*/./; q'`
4716 { if $as_mkdir_p; then
4717 mkdir -p "$ac_dir"
4718 else
4719 as_dir="$ac_dir"
4720 as_dirs=
4721 while test ! -d "$as_dir"; do
4722 as_dirs="$as_dir $as_dirs"
4723 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4724$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4725 X"$as_dir" : 'X\(//\)[^/]' \| \
4726 X"$as_dir" : 'X\(//\)$' \| \
4727 X"$as_dir" : 'X\(/\)' \| \
4728 . : '\(.\)' 2>/dev/null ||
4729echo X"$as_dir" |
4730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4732 /^X\(\/\/\)$/{ s//\1/; q; }
4733 /^X\(\/\).*/{ s//\1/; q; }
4734 s/.*/./; q'`
4735 done
4736 test ! -n "$as_dirs" || mkdir $as_dirs
4737 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4738echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4739 { (exit 1); exit 1; }; }; }
4740
4741 rm -f $ac_file
4742 mv $tmp/config.h $ac_file
4743 fi
4744 else
4745 cat $tmp/config.h
4746 rm -f $tmp/config.h
4747 fi
4748# Compute $ac_file's index in $config_headers.
4749_am_stamp_count=1
4750for _am_header in $config_headers :; do
4751 case $_am_header in
4752 $ac_file | $ac_file:* )
4753 break ;;
4754 * )
4755 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4756 esac
4757done
4758echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4759$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4760 X$ac_file : 'X\(//\)[^/]' \| \
4761 X$ac_file : 'X\(//\)$' \| \
4762 X$ac_file : 'X\(/\)' \| \
4763 . : '\(.\)' 2>/dev/null ||
4764echo X$ac_file |
4765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4766 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4767 /^X\(\/\/\)$/{ s//\1/; q; }
4768 /^X\(\/\).*/{ s//\1/; q; }
4769 s/.*/./; q'`/stamp-h$_am_stamp_count
4770done
4771_ACEOF
4772cat >>$CONFIG_STATUS <<\_ACEOF
4773
4774#
4775# CONFIG_COMMANDS section.
4776#
4777for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4778 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4779 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4780 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4781$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4782 X"$ac_dest" : 'X\(//\)[^/]' \| \
4783 X"$ac_dest" : 'X\(//\)$' \| \
4784 X"$ac_dest" : 'X\(/\)' \| \
4785 . : '\(.\)' 2>/dev/null ||
4786echo X"$ac_dest" |
4787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4789 /^X\(\/\/\)$/{ s//\1/; q; }
4790 /^X\(\/\).*/{ s//\1/; q; }
4791 s/.*/./; q'`
4792 { if $as_mkdir_p; then
4793 mkdir -p "$ac_dir"
4794 else
4795 as_dir="$ac_dir"
4796 as_dirs=
4797 while test ! -d "$as_dir"; do
4798 as_dirs="$as_dir $as_dirs"
4799 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4800$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4801 X"$as_dir" : 'X\(//\)[^/]' \| \
4802 X"$as_dir" : 'X\(//\)$' \| \
4803 X"$as_dir" : 'X\(/\)' \| \
4804 . : '\(.\)' 2>/dev/null ||
4805echo X"$as_dir" |
4806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4807 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4808 /^X\(\/\/\)$/{ s//\1/; q; }
4809 /^X\(\/\).*/{ s//\1/; q; }
4810 s/.*/./; q'`
4811 done
4812 test ! -n "$as_dirs" || mkdir $as_dirs
4813 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4814echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4815 { (exit 1); exit 1; }; }; }
4816
4817 ac_builddir=.
4818
4819if test "$ac_dir" != .; then
4820 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4821 # A "../" for each directory in $ac_dir_suffix.
4822 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4823else
4824 ac_dir_suffix= ac_top_builddir=
4825fi
4826
4827case $srcdir in
4828 .) # No --srcdir option. We are building in place.
4829 ac_srcdir=.
4830 if test -z "$ac_top_builddir"; then
4831 ac_top_srcdir=.
4832 else
4833 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4834 fi ;;
4835 [\\/]* | ?:[\\/]* ) # Absolute path.
4836 ac_srcdir=$srcdir$ac_dir_suffix;
4837 ac_top_srcdir=$srcdir ;;
4838 *) # Relative path.
4839 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4840 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4841esac
4842
4843# Do not use `cd foo && pwd` to compute absolute paths, because
4844# the directories may not exist.
4845case `pwd` in
4846.) ac_abs_builddir="$ac_dir";;
4847*)
4848 case "$ac_dir" in
4849 .) ac_abs_builddir=`pwd`;;
4850 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4851 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4852 esac;;
4853esac
4854case $ac_abs_builddir in
4855.) ac_abs_top_builddir=${ac_top_builddir}.;;
4856*)
4857 case ${ac_top_builddir}. in
4858 .) ac_abs_top_builddir=$ac_abs_builddir;;
4859 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4860 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4861 esac;;
4862esac
4863case $ac_abs_builddir in
4864.) ac_abs_srcdir=$ac_srcdir;;
4865*)
4866 case $ac_srcdir in
4867 .) ac_abs_srcdir=$ac_abs_builddir;;
4868 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4869 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4870 esac;;
4871esac
4872case $ac_abs_builddir in
4873.) ac_abs_top_srcdir=$ac_top_srcdir;;
4874*)
4875 case $ac_top_srcdir in
4876 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4877 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4878 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4879 esac;;
4880esac
4881
4882
4883 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4884echo "$as_me: executing $ac_dest commands" >&6;}
4885 case $ac_dest in
4886 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4887 # Strip MF so we end up with the name of the file.
4888 mf=`echo "$mf" | sed -e 's/:.*$//'`
4889 # Check whether this is an Automake generated Makefile or not.
4890 # We used to match only the files named `Makefile.in', but
4891 # some people rename them; so instead we look at the file content.
4892 # Grep'ing the first line is not enough: some people post-process
4893 # each Makefile.in and add a new line on top of each file to say so.
4894 # So let's grep whole file.
4895 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4896 dirpart=`(dirname "$mf") 2>/dev/null ||
4897$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4898 X"$mf" : 'X\(//\)[^/]' \| \
4899 X"$mf" : 'X\(//\)$' \| \
4900 X"$mf" : 'X\(/\)' \| \
4901 . : '\(.\)' 2>/dev/null ||
4902echo X"$mf" |
4903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4905 /^X\(\/\/\)$/{ s//\1/; q; }
4906 /^X\(\/\).*/{ s//\1/; q; }
4907 s/.*/./; q'`
4908 else
4909 continue
4910 fi
4911 # Extract the definition of DEPDIR, am__include, and am__quote
4912 # from the Makefile without running `make'.
4913 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4914 test -z "$DEPDIR" && continue
4915 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4916 test -z "am__include" && continue
4917 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4918 # When using ansi2knr, U may be empty or an underscore; expand it
4919 U=`sed -n 's/^U = //p' < "$mf"`
4920 # Find all dependency output files, they are included files with
4921 # $(DEPDIR) in their names. We invoke sed twice because it is the
4922 # simplest approach to changing $(DEPDIR) to its actual value in the
4923 # expansion.
4924 for file in `sed -n "
4925 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4926 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4927 # Make sure the directory exists.
4928 test -f "$dirpart/$file" && continue
4929 fdir=`(dirname "$file") 2>/dev/null ||
4930$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4931 X"$file" : 'X\(//\)[^/]' \| \
4932 X"$file" : 'X\(//\)$' \| \
4933 X"$file" : 'X\(/\)' \| \
4934 . : '\(.\)' 2>/dev/null ||
4935echo X"$file" |
4936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4938 /^X\(\/\/\)$/{ s//\1/; q; }
4939 /^X\(\/\).*/{ s//\1/; q; }
4940 s/.*/./; q'`
4941 { if $as_mkdir_p; then
4942 mkdir -p $dirpart/$fdir
4943 else
4944 as_dir=$dirpart/$fdir
4945 as_dirs=
4946 while test ! -d "$as_dir"; do
4947 as_dirs="$as_dir $as_dirs"
4948 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4949$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4950 X"$as_dir" : 'X\(//\)[^/]' \| \
4951 X"$as_dir" : 'X\(//\)$' \| \
4952 X"$as_dir" : 'X\(/\)' \| \
4953 . : '\(.\)' 2>/dev/null ||
4954echo X"$as_dir" |
4955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4957 /^X\(\/\/\)$/{ s//\1/; q; }
4958 /^X\(\/\).*/{ s//\1/; q; }
4959 s/.*/./; q'`
4960 done
4961 test ! -n "$as_dirs" || mkdir $as_dirs
4962 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4963echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4964 { (exit 1); exit 1; }; }; }
4965
4966 # echo "creating $dirpart/$file"
4967 echo '# dummy' > "$dirpart/$file"
4968 done
4969done
4970 ;;
4971 esac
4972done
4973_ACEOF
4974
4975cat >>$CONFIG_STATUS <<\_ACEOF
4976
4977{ (exit 0); exit 0; }
4978_ACEOF
4979chmod +x $CONFIG_STATUS
4980ac_clean_files=$ac_clean_files_save
4981
4982
4983# configure is writing to config.log, and then calls config.status.
4984# config.status does its own redirection, appending to config.log.
4985# Unfortunately, on DOS this fails, as config.log is still kept open
4986# by configure, so config.status won't be able to write to it; its
4987# output is simply discarded. So we exec the FD to /dev/null,
4988# effectively closing config.log, so it can be properly (re)opened and
4989# appended to by config.status. When coming back to configure, we
4990# need to make the FD available again.
4991if test "$no_create" != yes; then
4992 ac_cs_success=:
4993 ac_config_status_args=
4994 test "$silent" = yes &&
4995 ac_config_status_args="$ac_config_status_args --quiet"
4996 exec 5>/dev/null
4997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4998 exec 5>>config.log
4999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5000 # would make configure fail if this is the last instruction.
5001 $ac_cs_success || { (exit 1); exit 1; }
5002fi
5003
Note: See TracBrowser for help on using the repository browser.