2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for parseThat 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='parseThat'
269 PACKAGE_TARNAME='parsethat'
270 PACKAGE_VERSION='1.0'
271 PACKAGE_STRING='parseThat 1.0'
274 ac_unique_file="src/config.C"
276 ac_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 CPPFLAGS LDFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CXX CXXFLAGS ac_ct_CXX EXEEXT OBJEXT DYNINST_VER INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CXX_set=${CXX+set}
718 ac_env_CXX_value=$CXX
719 ac_cv_env_CXX_set=${CXX+set}
720 ac_cv_env_CXX_value=$CXX
721 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
722 ac_env_CXXFLAGS_value=$CXXFLAGS
723 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
724 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
735 # Report the --help message.
737 if test "$ac_init_help" = "long"; then
738 # Omit some internal or obsolete options to make the list less imposing.
739 # This message is too long to be a string in the A/UX 3.1 sh.
741 \`configure' configures parseThat 1.0 to adapt to many kinds of systems.
743 Usage: $0 [OPTION]... [VAR=VALUE]...
745 To assign environment variables (e.g., CC, CFLAGS...), specify them as
746 VAR=VALUE. See below for descriptions of some of the useful variables.
748 Defaults for the options are specified in brackets.
751 -h, --help display this help and exit
752 --help=short display options specific to this package
753 --help=recursive display the short help of all the included packages
754 -V, --version display version information and exit
755 -q, --quiet, --silent do not print \`checking...' messages
756 --cache-file=FILE cache test results in FILE [disabled]
757 -C, --config-cache alias for \`--cache-file=config.cache'
758 -n, --no-create do not create output files
759 --srcdir=DIR find the sources in DIR [configure dir or \`..']
764 Installation directories:
765 --prefix=PREFIX install architecture-independent files in PREFIX
767 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
770 By default, \`make install' will install all the files in
771 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
772 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773 for instance \`--prefix=\$HOME'.
775 For better control, use the options below.
777 Fine tuning of the installation directories:
778 --bindir=DIR user executables [EPREFIX/bin]
779 --sbindir=DIR system admin executables [EPREFIX/sbin]
780 --libexecdir=DIR program executables [EPREFIX/libexec]
781 --datadir=DIR read-only architecture-independent data [PREFIX/share]
782 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
783 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
784 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
785 --libdir=DIR object code libraries [EPREFIX/lib]
786 --includedir=DIR C header files [PREFIX/include]
787 --oldincludedir=DIR C header files for non-gcc [/usr/include]
788 --infodir=DIR info documentation [PREFIX/info]
789 --mandir=DIR man documentation [PREFIX/man]
795 --build=BUILD configure for building on BUILD [guessed]
796 --host=HOST cross-compile to build programs to run on HOST [BUILD]
800 if test -n "$ac_init_help"; then
801 case $ac_init_help in
802 short | recursive ) echo "Configuration of parseThat 1.0:";;
806 Some influential environment variables:
807 CXX C++ compiler command
808 CXXFLAGS C++ compiler flags
809 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
810 nonstandard directory <lib dir>
811 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
812 headers in a nonstandard directory <include dir>
814 Use these variables to override the choices made by `configure' or to help
815 it to find libraries and programs with nonstandard names/locations.
820 if test "$ac_init_help" = "recursive"; then
821 # If there are subdirs, report their specific --help.
823 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
824 test -d $ac_dir || continue
827 if test "$ac_dir" != .; then
828 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
829 # A "../" for each directory in $ac_dir_suffix.
830 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
832 ac_dir_suffix= ac_top_builddir=
836 .) # No --srcdir option. We are building in place.
838 if test -z "$ac_top_builddir"; then
841 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
843 [\\/]* | ?:[\\/]* ) # Absolute path.
844 ac_srcdir=$srcdir$ac_dir_suffix;
845 ac_top_srcdir=$srcdir ;;
847 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
848 ac_top_srcdir=$ac_top_builddir$srcdir ;;
851 # Do not use `cd foo && pwd` to compute absolute paths, because
852 # the directories may not exist.
854 .) ac_abs_builddir="$ac_dir";;
857 .) ac_abs_builddir=`pwd`;;
858 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
859 *) ac_abs_builddir=`pwd`/"$ac_dir";;
862 case $ac_abs_builddir in
863 .) ac_abs_top_builddir=${ac_top_builddir}.;;
865 case ${ac_top_builddir}. in
866 .) ac_abs_top_builddir=$ac_abs_builddir;;
867 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
868 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
871 case $ac_abs_builddir in
872 .) ac_abs_srcdir=$ac_srcdir;;
875 .) ac_abs_srcdir=$ac_abs_builddir;;
876 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
877 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
880 case $ac_abs_builddir in
881 .) ac_abs_top_srcdir=$ac_top_srcdir;;
883 case $ac_top_srcdir in
884 .) ac_abs_top_srcdir=$ac_abs_builddir;;
885 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
886 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
891 # Check for guested configure; otherwise get Cygnus style configure.
892 if test -f $ac_srcdir/configure.gnu; then
894 $SHELL $ac_srcdir/configure.gnu --help=recursive
895 elif test -f $ac_srcdir/configure; then
897 $SHELL $ac_srcdir/configure --help=recursive
898 elif test -f $ac_srcdir/configure.ac ||
899 test -f $ac_srcdir/configure.in; then
903 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
909 test -n "$ac_init_help" && exit 0
910 if $ac_init_version; then
912 parseThat configure 1.0
913 generated by GNU Autoconf 2.59
915 Copyright (C) 2003 Free Software Foundation, Inc.
916 This configure script is free software; the Free Software Foundation
917 gives unlimited permission to copy, distribute and modify it.
923 This file contains any messages produced by compilers while
924 running configure, to aid debugging if configure makes a mistake.
926 It was created by parseThat $as_me 1.0, which was
927 generated by GNU Autoconf 2.59. Invocation command line was
938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
945 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
947 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
948 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
950 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
961 test -z "$as_dir" && as_dir=.
977 # Keep a trace of the command line.
978 # Strip out --no-create and --no-recursion so they do not pile up.
979 # Strip out --silent because we don't want to record it for future runs.
980 # Also quote any args containing shell meta-characters.
981 # Make two passes to allow for proper duplicate-argument suppression.
986 ac_must_keep_next=false
992 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
996 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
997 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1002 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1003 if test $ac_must_keep_next = true; then
1004 ac_must_keep_next=false # Got value, back to normal.
1007 *=* | --config-cache | -C | -disable-* | --disable-* \
1008 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1009 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1010 | -with-* | --with-* | -without-* | --without-* | --x)
1011 case "$ac_configure_args0 " in
1012 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1015 -* ) ac_must_keep_next=true ;;
1018 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019 # Get rid of the leading space.
1025 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1026 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1028 # When interrupted or exit'd, cleanup temporary files, and complete
1029 # config.log. We remove comments because anyway the quotes in there
1030 # would cause problems or look ugly.
1031 # WARNING: Be sure not to use single quotes in there, as some shells,
1032 # such as our DU 5.0 friend, will then `close' the trap.
1033 trap 'exit_status=$?
1034 # Save into config.log some information that might help in debugging.
1039 ## ---------------- ##
1040 ## Cache variables. ##
1041 ## ---------------- ##
1044 # The following way of writing the cache mishandles newlines in values,
1047 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1050 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1055 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1062 ## ----------------- ##
1063 ## Output variables. ##
1064 ## ----------------- ##
1067 for ac_var in $ac_subst_vars
1069 eval ac_val=$`echo $ac_var`
1070 echo "$ac_var='"'"'$ac_val'"'"'"
1074 if test -n "$ac_subst_files"; then
1081 for ac_var in $ac_subst_files
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1089 if test -s confdefs.h; then
1096 sed "/^$/d" confdefs.h | sort
1099 test "$ac_signal" != 0 &&
1100 echo "$as_me: caught signal $ac_signal"
1101 echo "$as_me: exit $exit_status"
1103 rm -f core *.core &&
1104 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1107 for ac_signal in 1 2 13 15; do
1108 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1112 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1113 rm -rf conftest* confdefs.h
1114 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1117 # Predefined preprocessor variables.
1119 cat >>confdefs.h <<_ACEOF
1120 #define PACKAGE_NAME "$PACKAGE_NAME"
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_STRING "$PACKAGE_STRING"
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1144 # Let the site file select an alternate cache file if it wants to.
1145 # Prefer explicitly selected file to automatically selected ones.
1146 if test -z "$CONFIG_SITE"; then
1147 if test "x$prefix" != xNONE; then
1148 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1150 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1153 for ac_site_file in $CONFIG_SITE; do
1154 if test -r "$ac_site_file"; then
1155 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1156 echo "$as_me: loading site script $ac_site_file" >&6;}
1157 sed 's/^/| /' "$ac_site_file" >&5
1162 if test -r "$cache_file"; then
1163 # Some versions of bash will fail to source /dev/null (special
1164 # files actually), so we avoid doing that.
1165 if test -f "$cache_file"; then
1166 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1167 echo "$as_me: loading cache $cache_file" >&6;}
1169 [\\/]* | ?:[\\/]* ) . $cache_file;;
1170 *) . ./$cache_file;;
1174 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1175 echo "$as_me: creating cache $cache_file" >&6;}
1179 # Check that the precious variables saved in the cache have kept the same
1181 ac_cache_corrupted=false
1182 for ac_var in `(set) 2>&1 |
1183 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1184 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1185 eval ac_new_set=\$ac_env_${ac_var}_set
1186 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1187 eval ac_new_val="\$ac_env_${ac_var}_value"
1188 case $ac_old_set,$ac_new_set in
1190 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1191 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1192 ac_cache_corrupted=: ;;
1194 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1195 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1196 ac_cache_corrupted=: ;;
1199 if test "x$ac_old_val" != "x$ac_new_val"; then
1200 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1201 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1202 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1203 echo "$as_me: former value: $ac_old_val" >&2;}
1204 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1205 echo "$as_me: current value: $ac_new_val" >&2;}
1206 ac_cache_corrupted=:
1209 # Pass precious variables to config.status.
1210 if test "$ac_new_set" = set; then
1212 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1213 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1214 *) ac_arg=$ac_var=$ac_new_val ;;
1216 case " $ac_configure_args " in
1217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1218 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1222 if $ac_cache_corrupted; then
1223 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1224 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1225 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1226 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1227 { (exit 1); exit 1; }; }
1231 ac_cpp='$CPP $CPPFLAGS'
1232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265 if test -n ${DYNINST_ROOT}; then
1266 # Add search paths to CPPFLAGS and LDFLAGS.
1267 #AC_SUBST([CPPFLAGS], ["-I${DYNINST_ROOT}/core -I${DYNINST_ROOT}/core/dyninstAPI/h -I${DYNINST_ROOT}/core/symtabAPI/h -I${DYNINST_ROOT}/core/dynutil/h ${CPPFLAGS}"])
1268 CPPFLAGS="-I${DYNINST_ROOT}/core -I${DYNINST_ROOT}/core/dyninstAPI/h -I${DYNINST_ROOT}/core/symtabAPI/h -I${DYNINST_ROOT}/core/instructionAPI/h -I${DYNINST_ROOT}/core/common/h -I${DYNINST_ROOT}/core/dynutil/h -I${DYNINST_ROOT}/core/external ${CPPFLAGS}"
1270 LDFLAGS="-L${DYNINST_ROOT}/${PLATFORM}/lib ${LDFLAGS}"
1274 # Generate host string.
1276 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1277 if test -f $ac_dir/install-sh; then
1279 ac_install_sh="$ac_aux_dir/install-sh -c"
1281 elif test -f $ac_dir/install.sh; then
1283 ac_install_sh="$ac_aux_dir/install.sh -c"
1285 elif test -f $ac_dir/shtool; then
1287 ac_install_sh="$ac_aux_dir/shtool install -c"
1291 if test -z "$ac_aux_dir"; then
1292 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1293 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1294 { (exit 1); exit 1; }; }
1296 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1297 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1298 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1300 # Make sure we can run config.sub.
1301 $ac_config_sub sun4 >/dev/null 2>&1 ||
1302 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1303 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1304 { (exit 1); exit 1; }; }
1306 echo "$as_me:$LINENO: checking build system type" >&5
1307 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1308 if test "${ac_cv_build+set}" = set; then
1309 echo $ECHO_N "(cached) $ECHO_C" >&6
1311 ac_cv_build_alias=$build_alias
1312 test -z "$ac_cv_build_alias" &&
1313 ac_cv_build_alias=`$ac_config_guess`
1314 test -z "$ac_cv_build_alias" &&
1315 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1316 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1317 { (exit 1); exit 1; }; }
1318 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1319 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1320 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1321 { (exit 1); exit 1; }; }
1324 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1325 echo "${ECHO_T}$ac_cv_build" >&6
1327 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1328 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1329 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1332 echo "$as_me:$LINENO: checking host system type" >&5
1333 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1334 if test "${ac_cv_host+set}" = set; then
1335 echo $ECHO_N "(cached) $ECHO_C" >&6
1337 ac_cv_host_alias=$host_alias
1338 test -z "$ac_cv_host_alias" &&
1339 ac_cv_host_alias=$ac_cv_build_alias
1340 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1341 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1342 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1343 { (exit 1); exit 1; }; }
1346 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1347 echo "${ECHO_T}$ac_cv_host" >&6
1349 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1350 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1351 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1355 # Build all configure tests with C++ compiler.
1357 ac_cpp='$CXXCPP $CPPFLAGS'
1358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1363 # sha1.C requres these system files and endianess to be tested.
1365 ac_cpp='$CXXCPP $CPPFLAGS'
1366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1369 if test -n "$ac_tool_prefix"; then
1370 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1374 echo "$as_me:$LINENO: checking for $ac_word" >&5
1375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1376 if test "${ac_cv_prog_CXX+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 if test -n "$CXX"; then
1380 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir=.
1387 for ac_exec_ext in '' $ac_executable_extensions; do
1388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1389 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1399 if test -n "$CXX"; then
1400 echo "$as_me:$LINENO: result: $CXX" >&5
1401 echo "${ECHO_T}$CXX" >&6
1403 echo "$as_me:$LINENO: result: no" >&5
1404 echo "${ECHO_T}no" >&6
1407 test -n "$CXX" && break
1410 if test -z "$CXX"; then
1412 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1414 # Extract the first word of "$ac_prog", so it can be a program name with args.
1415 set dummy $ac_prog; ac_word=$2
1416 echo "$as_me:$LINENO: checking for $ac_word" >&5
1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1418 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 if test -n "$ac_ct_CXX"; then
1422 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir=.
1429 for ac_exec_ext in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431 ac_cv_prog_ac_ct_CXX="$ac_prog"
1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1440 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1441 if test -n "$ac_ct_CXX"; then
1442 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1443 echo "${ECHO_T}$ac_ct_CXX" >&6
1445 echo "$as_me:$LINENO: result: no" >&5
1446 echo "${ECHO_T}no" >&6
1449 test -n "$ac_ct_CXX" && break
1451 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1457 # Provide some information about the compiler.
1458 echo "$as_me:$LINENO:" \
1459 "checking for C++ compiler version" >&5
1460 ac_compiler=`set X $ac_compile; echo $2`
1461 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1462 (eval $ac_compiler --version </dev/null >&5) 2>&5
1464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1465 (exit $ac_status); }
1466 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1467 (eval $ac_compiler -v </dev/null >&5) 2>&5
1469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1470 (exit $ac_status); }
1471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1472 (eval $ac_compiler -V </dev/null >&5) 2>&5
1474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1475 (exit $ac_status); }
1477 cat >conftest.$ac_ext <<_ACEOF
1480 cat confdefs.h >>conftest.$ac_ext
1481 cat >>conftest.$ac_ext <<_ACEOF
1482 /* end confdefs.h. */
1492 ac_clean_files_save=$ac_clean_files
1493 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1494 # Try to create an executable without -o first, disregard a.out.
1495 # It will help us diagnose broken compilers, and finding out an intuition
1497 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1498 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1499 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1500 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1501 (eval $ac_link_default) 2>&5
1503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1504 (exit $ac_status); }; then
1505 # Find the output, starting from the most likely. This scheme is
1506 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1509 # Be careful to initialize this variable, since it used to be cached.
1510 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1512 # b.out is created by i960 compilers.
1513 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1515 test -f "$ac_file" || continue
1517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1520 # This is the source file.
1523 # We found the default executable, but exeext='' is most
1527 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1528 # FIXME: I believe we export ac_cv_exeext for Libtool,
1529 # but it would be cool to find out if it's true. Does anybody
1530 # maintain Libtool? --akim.
1538 echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1541 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1542 See \`config.log' for more details." >&5
1543 echo "$as_me: error: C++ compiler cannot create executables
1544 See \`config.log' for more details." >&2;}
1545 { (exit 77); exit 77; }; }
1548 ac_exeext=$ac_cv_exeext
1549 echo "$as_me:$LINENO: result: $ac_file" >&5
1550 echo "${ECHO_T}$ac_file" >&6
1552 # Check the compiler produces executables we can run. If not, either
1553 # the compiler is broken, or we cross compile.
1554 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1555 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1556 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1557 # If not cross compiling, check that we can run a simple program.
1558 if test "$cross_compiling" != yes; then
1559 if { ac_try='./$ac_file'
1560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1564 (exit $ac_status); }; }; then
1567 if test "$cross_compiling" = maybe; then
1570 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1571 If you meant to cross compile, use \`--host'.
1572 See \`config.log' for more details." >&5
1573 echo "$as_me: error: cannot run C++ compiled programs.
1574 If you meant to cross compile, use \`--host'.
1575 See \`config.log' for more details." >&2;}
1576 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: yes" >&5
1581 echo "${ECHO_T}yes" >&6
1583 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1584 ac_clean_files=$ac_clean_files_save
1585 # Check the compiler produces executables we can run. If not, either
1586 # the compiler is broken, or we cross compile.
1587 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1588 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1589 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1590 echo "${ECHO_T}$cross_compiling" >&6
1592 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1593 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1595 (eval $ac_link) 2>&5
1597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1598 (exit $ac_status); }; then
1599 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1600 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1601 # work properly (i.e., refer to `conftest.exe'), while it won't with
1603 for ac_file in conftest.exe conftest conftest.*; do
1604 test -f "$ac_file" || continue
1606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1607 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1614 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1615 See \`config.log' for more details." >&5
1616 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1617 See \`config.log' for more details." >&2;}
1618 { (exit 1); exit 1; }; }
1621 rm -f conftest$ac_cv_exeext
1622 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1623 echo "${ECHO_T}$ac_cv_exeext" >&6
1625 rm -f conftest.$ac_ext
1626 EXEEXT=$ac_cv_exeext
1628 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1629 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1630 if test "${ac_cv_objext+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 cat >conftest.$ac_ext <<_ACEOF
1636 cat confdefs.h >>conftest.$ac_ext
1637 cat >>conftest.$ac_ext <<_ACEOF
1638 /* end confdefs.h. */
1648 rm -f conftest.o conftest.obj
1649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1650 (eval $ac_compile) 2>&5
1652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1653 (exit $ac_status); }; then
1654 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1657 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1662 echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1665 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1666 See \`config.log' for more details." >&5
1667 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1668 See \`config.log' for more details." >&2;}
1669 { (exit 1); exit 1; }; }
1672 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1674 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1675 echo "${ECHO_T}$ac_cv_objext" >&6
1676 OBJEXT=$ac_cv_objext
1678 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1679 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1680 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 cat >conftest.$ac_ext <<_ACEOF
1686 cat confdefs.h >>conftest.$ac_ext
1687 cat >>conftest.$ac_ext <<_ACEOF
1688 /* end confdefs.h. */
1701 rm -f conftest.$ac_objext
1702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1703 (eval $ac_compile) 2>conftest.er1
1705 grep -v '^ *+' conftest.er1 >conftest.err
1707 cat conftest.err >&5
1708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1709 (exit $ac_status); } &&
1710 { ac_try='test -z "$ac_cxx_werror_flag"
1711 || test ! -s conftest.err'
1712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1716 (exit $ac_status); }; } &&
1717 { ac_try='test -s conftest.$ac_objext'
1718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1722 (exit $ac_status); }; }; then
1725 echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1731 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1734 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1735 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1736 GXX=`test $ac_compiler_gnu = yes && echo yes`
1737 ac_test_CXXFLAGS=${CXXFLAGS+set}
1738 ac_save_CXXFLAGS=$CXXFLAGS
1740 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1741 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1742 if test "${ac_cv_prog_cxx_g+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1745 cat >conftest.$ac_ext <<_ACEOF
1748 cat confdefs.h >>conftest.$ac_ext
1749 cat >>conftest.$ac_ext <<_ACEOF
1750 /* end confdefs.h. */
1760 rm -f conftest.$ac_objext
1761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1762 (eval $ac_compile) 2>conftest.er1
1764 grep -v '^ *+' conftest.er1 >conftest.err
1766 cat conftest.err >&5
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); } &&
1769 { ac_try='test -z "$ac_cxx_werror_flag"
1770 || test ! -s conftest.err'
1771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1775 (exit $ac_status); }; } &&
1776 { ac_try='test -s conftest.$ac_objext'
1777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1781 (exit $ac_status); }; }; then
1782 ac_cv_prog_cxx_g=yes
1784 echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1791 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1792 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1793 if test "$ac_test_CXXFLAGS" = set; then
1794 CXXFLAGS=$ac_save_CXXFLAGS
1795 elif test $ac_cv_prog_cxx_g = yes; then
1796 if test "$GXX" = yes; then
1802 if test "$GXX" = yes; then
1808 for ac_declaration in \
1810 'extern "C" void std::exit (int) throw (); using std::exit;' \
1811 'extern "C" void std::exit (int); using std::exit;' \
1812 'extern "C" void exit (int) throw ();' \
1813 'extern "C" void exit (int);' \
1816 cat >conftest.$ac_ext <<_ACEOF
1819 cat confdefs.h >>conftest.$ac_ext
1820 cat >>conftest.$ac_ext <<_ACEOF
1821 /* end confdefs.h. */
1832 rm -f conftest.$ac_objext
1833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1834 (eval $ac_compile) 2>conftest.er1
1836 grep -v '^ *+' conftest.er1 >conftest.err
1838 cat conftest.err >&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); } &&
1841 { ac_try='test -z "$ac_cxx_werror_flag"
1842 || test ! -s conftest.err'
1843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }; } &&
1848 { ac_try='test -s conftest.$ac_objext'
1849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853 (exit $ac_status); }; }; then
1856 echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1862 cat >conftest.$ac_ext <<_ACEOF
1865 cat confdefs.h >>conftest.$ac_ext
1866 cat >>conftest.$ac_ext <<_ACEOF
1867 /* end confdefs.h. */
1877 rm -f conftest.$ac_objext
1878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1879 (eval $ac_compile) 2>conftest.er1
1881 grep -v '^ *+' conftest.er1 >conftest.err
1883 cat conftest.err >&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); } &&
1886 { ac_try='test -z "$ac_cxx_werror_flag"
1887 || test ! -s conftest.err'
1888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892 (exit $ac_status); }; } &&
1893 { ac_try='test -s conftest.$ac_objext'
1894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898 (exit $ac_status); }; }; then
1901 echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1908 if test -n "$ac_declaration"; then
1909 echo '#ifdef __cplusplus' >>confdefs.h
1910 echo $ac_declaration >>confdefs.h
1911 echo '#endif' >>confdefs.h
1915 ac_cpp='$CXXCPP $CPPFLAGS'
1916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1922 for ac_header in inttypes.h
1924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1925 echo "$as_me:$LINENO: checking for $ac_header" >&5
1926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 cat >conftest.$ac_ext <<_ACEOF
1933 cat confdefs.h >>conftest.$ac_ext
1934 cat >>conftest.$ac_ext <<_ACEOF
1935 /* end confdefs.h. */
1936 // Do not use default includes
1938 #include <$ac_header>
1940 rm -f conftest.$ac_objext
1941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1942 (eval $ac_compile) 2>conftest.er1
1944 grep -v '^ *+' conftest.er1 >conftest.err
1946 cat conftest.err >&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); } &&
1949 { ac_try='test -z "$ac_cxx_werror_flag"
1950 || test ! -s conftest.err'
1951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; } &&
1956 { ac_try='test -s conftest.$ac_objext'
1957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1961 (exit $ac_status); }; }; then
1962 eval "$as_ac_Header=yes"
1964 echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.$ac_ext >&5
1967 eval "$as_ac_Header=no"
1969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
1974 cat >>confdefs.h <<_ACEOF
1975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1983 for ac_header in stdint.h
1985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1986 echo "$as_me:$LINENO: checking for $ac_header" >&5
1987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 cat >conftest.$ac_ext <<_ACEOF
1994 cat confdefs.h >>conftest.$ac_ext
1995 cat >>conftest.$ac_ext <<_ACEOF
1996 /* end confdefs.h. */
1997 // Do not use default includes
1999 #include <$ac_header>
2001 rm -f conftest.$ac_objext
2002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2003 (eval $ac_compile) 2>conftest.er1
2005 grep -v '^ *+' conftest.er1 >conftest.err
2007 cat conftest.err >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); } &&
2010 { ac_try='test -z "$ac_cxx_werror_flag"
2011 || test ! -s conftest.err'
2012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }; } &&
2017 { ac_try='test -s conftest.$ac_objext'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; }; then
2023 eval "$as_ac_Header=yes"
2025 echo "$as_me: failed program was:" >&5
2026 sed 's/^/| /' conftest.$ac_ext >&5
2028 eval "$as_ac_Header=no"
2030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2035 cat >>confdefs.h <<_ACEOF
2036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2043 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2044 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2045 if test "${ac_cv_c_bigendian+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 # See if sys/param.h defines the BYTE_ORDER macro.
2049 cat >conftest.$ac_ext <<_ACEOF
2052 cat confdefs.h >>conftest.$ac_ext
2053 cat >>conftest.$ac_ext <<_ACEOF
2054 /* end confdefs.h. */
2055 #include <sys/types.h>
2056 #include <sys/param.h>
2061 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2069 rm -f conftest.$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1 >conftest.err
2075 cat conftest.err >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try='test -z "$ac_cxx_werror_flag"
2079 || test ! -s conftest.err'
2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; } &&
2085 { ac_try='test -s conftest.$ac_objext'
2086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }; }; then
2091 # It does; now see whether it defined to BIG_ENDIAN or not.
2092 cat >conftest.$ac_ext <<_ACEOF
2095 cat confdefs.h >>conftest.$ac_ext
2096 cat >>conftest.$ac_ext <<_ACEOF
2097 /* end confdefs.h. */
2098 #include <sys/types.h>
2099 #include <sys/param.h>
2104 #if BYTE_ORDER != BIG_ENDIAN
2112 rm -f conftest.$ac_objext
2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2114 (eval $ac_compile) 2>conftest.er1
2116 grep -v '^ *+' conftest.er1 >conftest.err
2118 cat conftest.err >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); } &&
2121 { ac_try='test -z "$ac_cxx_werror_flag"
2122 || test ! -s conftest.err'
2123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }; } &&
2128 { ac_try='test -s conftest.$ac_objext'
2129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); }; }; then
2134 ac_cv_c_bigendian=yes
2136 echo "$as_me: failed program was:" >&5
2137 sed 's/^/| /' conftest.$ac_ext >&5
2139 ac_cv_c_bigendian=no
2141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2143 echo "$as_me: failed program was:" >&5
2144 sed 's/^/| /' conftest.$ac_ext >&5
2146 # It does not; compile a test program.
2147 if test "$cross_compiling" = yes; then
2148 # try to guess the endianness by grepping values into an object file
2149 ac_cv_c_bigendian=unknown
2150 cat >conftest.$ac_ext <<_ACEOF
2153 cat confdefs.h >>conftest.$ac_ext
2154 cat >>conftest.$ac_ext <<_ACEOF
2155 /* end confdefs.h. */
2156 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2157 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2158 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2159 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2160 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2161 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2165 _ascii (); _ebcdic ();
2170 rm -f conftest.$ac_objext
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>conftest.er1
2174 grep -v '^ *+' conftest.er1 >conftest.err
2176 cat conftest.err >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); } &&
2179 { ac_try='test -z "$ac_cxx_werror_flag"
2180 || test ! -s conftest.err'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; } &&
2186 { ac_try='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2193 ac_cv_c_bigendian=yes
2195 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2196 if test "$ac_cv_c_bigendian" = unknown; then
2197 ac_cv_c_bigendian=no
2199 # finding both strings is unlikely to happen, but who knows?
2200 ac_cv_c_bigendian=unknown
2204 echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2210 cat >conftest.$ac_ext <<_ACEOF
2213 cat confdefs.h >>conftest.$ac_ext
2214 cat >>conftest.$ac_ext <<_ACEOF
2215 /* end confdefs.h. */
2219 /* Are we little or big endian? From Harbison&Steele. */
2223 char c[sizeof (long)];
2226 exit (u.c[sizeof (long) - 1] == 1);
2229 rm -f conftest$ac_exeext
2230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2231 (eval $ac_link) 2>&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2240 ac_cv_c_bigendian=no
2242 echo "$as_me: program exited with status $ac_status" >&5
2243 echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.$ac_ext >&5
2247 ac_cv_c_bigendian=yes
2249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2254 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2255 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2256 case $ac_cv_c_bigendian in
2259 cat >>confdefs.h <<\_ACEOF
2260 #define WORDS_BIGENDIAN 1
2266 { { echo "$as_me:$LINENO: error: unknown endianness
2267 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2268 echo "$as_me: error: unknown endianness
2269 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2270 { (exit 1); exit 1; }; } ;;
2274 # Search for Dyninst in all the right places.
2275 echo "$as_me:$LINENO: checking for BPatch.h" >&5
2276 echo $ECHO_N "checking for BPatch.h... $ECHO_C" >&6
2277 if test "${ac_cv_header_BPatch_h+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 cat >conftest.$ac_ext <<_ACEOF
2283 cat confdefs.h >>conftest.$ac_ext
2284 cat >>conftest.$ac_ext <<_ACEOF
2285 /* end confdefs.h. */
2286 // Do not use default includes
2290 rm -f conftest.$ac_objext
2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292 (eval $ac_compile) 2>conftest.er1
2294 grep -v '^ *+' conftest.er1 >conftest.err
2296 cat conftest.err >&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); } &&
2299 { ac_try='test -z "$ac_cxx_werror_flag"
2300 || test ! -s conftest.err'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; } &&
2306 { ac_try='test -s conftest.$ac_objext'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; }; then
2312 ac_cv_header_BPatch_h=yes
2314 echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2317 ac_cv_header_BPatch_h=no
2319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2321 echo "$as_me:$LINENO: result: $ac_cv_header_BPatch_h" >&5
2322 echo "${ECHO_T}$ac_cv_header_BPatch_h" >&6
2323 if test $ac_cv_header_BPatch_h = yes; then
2326 { { echo "$as_me:$LINENO: error: Cannot find DyninstAPI library include files." >&5
2327 echo "$as_me: error: Cannot find DyninstAPI library include files." >&2;}
2328 { (exit 1); exit 1; }; }
2333 # Check if Dyninst is version 5.0+
2335 for ac_header in BPatch_process.h
2337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2338 echo "$as_me:$LINENO: checking for $ac_header" >&5
2339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 cat >conftest.$ac_ext <<_ACEOF
2346 cat confdefs.h >>conftest.$ac_ext
2347 cat >>conftest.$ac_ext <<_ACEOF
2348 /* end confdefs.h. */
2349 // Do not use default includes
2351 #include <$ac_header>
2353 rm -f conftest.$ac_objext
2354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355 (eval $ac_compile) 2>conftest.er1
2357 grep -v '^ *+' conftest.er1 >conftest.err
2359 cat conftest.err >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); } &&
2362 { ac_try='test -z "$ac_cxx_werror_flag"
2363 || test ! -s conftest.err'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; } &&
2369 { ac_try='test -s conftest.$ac_objext'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; }; then
2375 eval "$as_ac_Header=yes"
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2380 eval "$as_ac_Header=no"
2382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2387 cat >>confdefs.h <<_ACEOF
2388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2400 # Find appropriate install program
2401 # Find a good install program. We prefer a C program (faster),
2402 # so one script is as good as another. But avoid the broken or
2403 # incompatible versions:
2404 # SysV /etc/install, /usr/sbin/install
2405 # SunOS /usr/etc/install
2406 # IRIX /sbin/install
2408 # AmigaOS /C/install, which installs bootblocks on floppy discs
2409 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2410 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2411 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2412 # OS/2's system install, which has a completely different semantic
2413 # ./install, which can be erroneously created by make from ./install.sh.
2414 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2415 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2416 if test -z "$INSTALL"; then
2417 if test "${ac_cv_path_install+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 test -z "$as_dir" && as_dir=.
2425 # Account for people who put trailing slashes in PATH elements.
2427 ./ | .// | /cC/* | \
2428 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2429 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2432 # OSF1 and SCO ODT 3.0 have their own names for install.
2433 # Don't use installbsd from OSF since it installs stuff as root
2435 for ac_prog in ginstall scoinst install; do
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2438 if test $ac_prog = install &&
2439 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2440 # AIX install. It has an incompatible calling convention.
2442 elif test $ac_prog = install &&
2443 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2444 # program-specific install script used by HP pwplus--don't use.
2447 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2459 if test "${ac_cv_path_install+set}" = set; then
2460 INSTALL=$ac_cv_path_install
2462 # As a last resort, use the slow shell script. We don't cache a
2463 # path for INSTALL within a source directory, because that will
2464 # break other packages using the cache if that directory is
2465 # removed, or if the path is relative.
2466 INSTALL=$ac_install_sh
2469 echo "$as_me:$LINENO: result: $INSTALL" >&5
2470 echo "${ECHO_T}$INSTALL" >&6
2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2473 # It thinks the first close brace ends the variable substitution.
2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2481 ac_config_files="$ac_config_files Makefile"
2483 cat >confcache <<\_ACEOF
2484 # This file is a shell script that caches the results of configure
2485 # tests run on this system so they can be shared between configure
2486 # scripts and configure runs, see configure's option --config-cache.
2487 # It is not useful on other systems. If it contains results you don't
2488 # want to keep, you may remove or edit it.
2490 # config.status only pays attention to the cache file if you give it
2491 # the --recheck option to rerun configure.
2493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2499 # The following way of writing the cache mishandles newlines in values,
2500 # but we know of no workaround that is simple, portable, and efficient.
2501 # So, don't put newlines in cache variables' values.
2502 # Ultrix sh set writes to stderr and can't be redirected directly,
2503 # and sets the high bit in the cache file unless we assign to the vars.
2506 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2508 # `set' does not quote correctly, so add quotes (double-quote
2509 # substitution turns \\\\ into \\, and sed turns \\ into \).
2512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2515 # `set' quotes correctly as required by POSIX, so do not add quotes.
2517 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2524 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2526 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2528 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2529 if test -w $cache_file; then
2530 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2531 cat confcache >$cache_file
2533 echo "not updating unwritable cache $cache_file"
2538 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2539 # Let make expand exec_prefix.
2540 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2542 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2543 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2544 # trailing colons and then remove the whole line if VPATH becomes empty
2545 # (actually we leave an empty line to preserve line numbers).
2546 if test "x$srcdir" = x.; then
2547 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2548 s/:*\$(srcdir):*/:/;
2549 s/:*\${srcdir}:*/:/;
2551 s/^\([^=]*=[ ]*\):*/\1/;
2557 # Transform confdefs.h into DEFS.
2558 # Protect against shell expansion while executing Makefile rules.
2559 # Protect against Makefile macro expansion.
2561 # If the first sed substitution is executed (which looks for macros that
2562 # take arguments), then we branch to the quote section. Otherwise,
2563 # look for a macro that doesn't take arguments.
2564 cat >confdef2opt.sed <<\_ACEOF
2567 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2569 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2573 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2579 # We use echo to avoid assuming a particular line-breaking character.
2580 # The extra dot is to prevent the shell from consuming trailing
2581 # line-breaks from the sub-command output. A line-break within
2582 # single-quotes doesn't work because, if this script is created in a
2583 # platform that uses two characters for line-breaks (e.g., DOS), tr
2585 ac_LF_and_DOT=`echo; echo .`
2586 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2587 rm -f confdef2opt.sed
2592 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2593 # 1. Remove the extension, and $U if already installed.
2594 ac_i=`echo "$ac_i" |
2595 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2597 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2598 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2602 LTLIBOBJS=$ac_ltlibobjs
2606 : ${CONFIG_STATUS=./config.status}
2607 ac_clean_files_save=$ac_clean_files
2608 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2609 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2610 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2611 cat >$CONFIG_STATUS <<_ACEOF
2613 # Generated by $as_me.
2614 # Run this file to recreate the current configuration.
2615 # Compiler output produced by configure, useful for debugging
2616 # configure, is in config.log if it exists.
2621 SHELL=\${CONFIG_SHELL-$SHELL}
2624 cat >>$CONFIG_STATUS <<\_ACEOF
2625 ## --------------------- ##
2626 ## M4sh Initialization. ##
2627 ## --------------------- ##
2629 # Be Bourne compatible
2630 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2633 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2634 # is contrary to our usage. Disable this feature.
2635 alias -g '${1+"$@"}'='"$@"'
2636 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2639 DUALCASE=1; export DUALCASE # for MKS sh
2641 # Support unset when possible.
2642 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2649 # Work around bugs in pre-3.0 UWIN ksh.
2650 $as_unset ENV MAIL MAILPATH
2657 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2658 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2659 LC_TELEPHONE LC_TIME
2661 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2662 eval $as_var=C; export $as_var
2668 # Required to use basename.
2669 if expr a : '\(a\)' >/dev/null 2>&1; then
2675 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2676 as_basename=basename
2682 # Name of the executable.
2683 as_me=`$as_basename "$0" ||
2684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2685 X"$0" : 'X\(//\)$' \| \
2686 X"$0" : 'X\(/\)$' \| \
2687 . : '\(.\)' 2>/dev/null ||
2689 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2690 /^X\/\(\/\/\)$/{ s//\1/; q; }
2691 /^X\/\(\/\).*/{ s//\1/; q; }
2695 # PATH needs CR, and LINENO needs CR and PATH.
2696 # Avoid depending upon Character Ranges.
2697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2700 as_cr_digits='0123456789'
2701 as_cr_alnum=$as_cr_Letters$as_cr_digits
2703 # The user is always right.
2704 if test "${PATH_SEPARATOR+set}" != set; then
2705 echo "#! /bin/sh" >conf$$.sh
2706 echo "exit 0" >>conf$$.sh
2708 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2719 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2720 test "x$as_lineno_1" != "x$as_lineno_2" &&
2721 test "x$as_lineno_3" = "x$as_lineno_2" || {
2722 # Find who we are. Look in the path if we contain no path at all
2725 *[\\/]* ) as_myself=$0 ;;
2726 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2736 # We did not find ourselves, most probably we were run as `sh COMMAND'
2737 # in which case we are not to be found in the path.
2738 if test "x$as_myself" = x; then
2741 if test ! -f "$as_myself"; then
2742 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2743 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2744 { (exit 1); exit 1; }; }
2746 case $CONFIG_SHELL in
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2752 test -z "$as_dir" && as_dir=.
2753 for as_base in sh bash ksh sh5; do
2756 if ("$as_dir/$as_base" -c '
2759 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2760 test "x$as_lineno_1" != "x$as_lineno_2" &&
2761 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2762 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2763 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2764 CONFIG_SHELL=$as_dir/$as_base
2766 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2774 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2775 # uniformly replaced by the line number. The first 'sed' inserts a
2776 # line-number line before each line; the second 'sed' does the real
2777 # work. The second script uses 'N' to pair each line-number line
2778 # with the numbered line, and appends trailing '-' during
2779 # substitution so that $LINENO is not a special case at line end.
2780 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2781 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2782 sed '=' <$as_myself |
2787 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2790 s,^['$as_cr_digits']*\n,,
2792 chmod +x $as_me.lineno ||
2793 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2794 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2795 { (exit 1); exit 1; }; }
2797 # Don't try to exec as it changes $[0], causing all sort of problems
2798 # (the dirname of $[0] is not the place where we might find the
2799 # original and so on. Autoconf is especially sensible to this).
2801 # Exit status is that of the last command.
2806 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2807 *c*,-n*) ECHO_N= ECHO_C='
2809 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2810 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2813 if expr a : '\(a\)' >/dev/null 2>&1; then
2819 rm -f conf$$ conf$$.exe conf$$.file
2821 if ln -s conf$$.file conf$$ 2>/dev/null; then
2822 # We could just check for DJGPP; but this test a) works b) is more generic
2823 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2824 if test -f conf$$.exe; then
2825 # Don't use ln at all; we don't have any links
2830 elif ln conf$$.file conf$$ 2>/dev/null; then
2835 rm -f conf$$ conf$$.exe conf$$.file
2837 if mkdir -p . 2>/dev/null; then
2840 test -d ./-p && rmdir ./-p
2844 as_executable_p="test -f"
2846 # Sed expression to map a string onto a valid CPP name.
2847 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2849 # Sed expression to map a string onto a valid variable name.
2850 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2854 # We need space, tab and new line, in precisely that order.
2864 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2865 # report actual input values of CONFIG_FILES etc. instead of their
2866 # values after options handling. Logging --version etc. is OK.
2870 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2871 ## Running $as_me. ##
2876 This file was extended by parseThat $as_me 1.0, which was
2877 generated by GNU Autoconf 2.59. Invocation command line was
2879 CONFIG_FILES = $CONFIG_FILES
2880 CONFIG_HEADERS = $CONFIG_HEADERS
2881 CONFIG_LINKS = $CONFIG_LINKS
2882 CONFIG_COMMANDS = $CONFIG_COMMANDS
2886 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2890 # Files that config.status was made for.
2891 if test -n "$ac_config_files"; then
2892 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2895 if test -n "$ac_config_headers"; then
2896 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2899 if test -n "$ac_config_links"; then
2900 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2903 if test -n "$ac_config_commands"; then
2904 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2907 cat >>$CONFIG_STATUS <<\_ACEOF
2910 \`$as_me' instantiates files from templates according to the
2911 current configuration.
2913 Usage: $0 [OPTIONS] [FILE]...
2915 -h, --help print this help, then exit
2916 -V, --version print version number, then exit
2917 -q, --quiet do not print progress messages
2918 -d, --debug don't remove temporary files
2919 --recheck update $as_me by reconfiguring in the same conditions
2920 --file=FILE[:TEMPLATE]
2921 instantiate the configuration file FILE
2923 Configuration files:
2926 Report bugs to <bug-autoconf@gnu.org>."
2929 cat >>$CONFIG_STATUS <<_ACEOF
2931 parseThat config.status 1.0
2932 configured by $0, generated by GNU Autoconf 2.59,
2933 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2935 Copyright (C) 2003 Free Software Foundation, Inc.
2936 This config.status script is free software; the Free Software Foundation
2937 gives unlimited permission to copy, distribute and modify it."
2942 cat >>$CONFIG_STATUS <<\_ACEOF
2943 # If no file are specified by the user, then we need to provide default
2944 # value. By we need to know if files were specified by the user.
2950 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2951 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2959 *) # This is not an option, so the user has probably given explicit
2962 ac_need_defaults=false;;
2966 # Handling of the options.
2968 cat >>$CONFIG_STATUS <<\_ACEOF
2969 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2971 --version | --vers* | -V )
2972 echo "$ac_cs_version"; exit 0 ;;
2974 # Conflict between --help and --header
2975 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2976 Try \`$0 --help' for more information." >&5
2977 echo "$as_me: error: ambiguous option: $1
2978 Try \`$0 --help' for more information." >&2;}
2979 { (exit 1); exit 1; }; };;
2980 --help | --hel | -h )
2981 echo "$ac_cs_usage"; exit 0 ;;
2982 --debug | --d* | -d )
2984 --file | --fil | --fi | --f )
2986 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2987 ac_need_defaults=false;;
2988 --header | --heade | --head | --hea )
2990 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2991 ac_need_defaults=false;;
2992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2993 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2997 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2998 Try \`$0 --help' for more information." >&5
2999 echo "$as_me: error: unrecognized option: $1
3000 Try \`$0 --help' for more information." >&2;}
3001 { (exit 1); exit 1; }; } ;;
3003 *) ac_config_targets="$ac_config_targets $1" ;;
3009 ac_configure_extra_args=
3011 if $ac_cs_silent; then
3013 ac_configure_extra_args="$ac_configure_extra_args --silent"
3017 cat >>$CONFIG_STATUS <<_ACEOF
3018 if \$ac_cs_recheck; then
3019 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3020 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3029 cat >>$CONFIG_STATUS <<\_ACEOF
3030 for ac_config_target in $ac_config_targets
3032 case "$ac_config_target" in
3033 # Handling of arguments.
3034 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3035 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3036 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3037 { (exit 1); exit 1; }; };;
3041 # If the user did not use the arguments to specify the items to instantiate,
3042 # then the envvar interface is used. Set only those that are not.
3043 # We use the long form for the default assignment because of an extremely
3044 # bizarre bug on SunOS 4.1.3.
3045 if $ac_need_defaults; then
3046 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3049 # Have a temporary directory for convenience. Make it in the build tree
3050 # simply because there is no reason to put it here, and in addition,
3051 # creating and moving files from /tmp can sometimes cause problems.
3052 # Create a temporary directory, and hook for its removal unless debugging.
3055 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3056 trap '{ (exit 1); exit 1; }' 1 2 13 15
3059 # Create a (secure) tmp directory for tmp files.
3062 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3063 test -n "$tmp" && test -d "$tmp"
3066 tmp=./confstat$$-$RANDOM
3067 (umask 077 && mkdir $tmp)
3070 echo "$me: cannot create a temporary directory in ." >&2
3071 { (exit 1); exit 1; }
3076 cat >>$CONFIG_STATUS <<_ACEOF
3079 # CONFIG_FILES section.
3082 # No need to generate the scripts if there are no CONFIG_FILES.
3083 # This happens for instance when ./config.status config.h
3084 if test -n "\$CONFIG_FILES"; then
3085 # Protect against being on the right side of a sed subst in config.status.
3086 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3087 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3088 s,@SHELL@,$SHELL,;t t
3089 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3090 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3091 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3092 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3093 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3094 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3095 s,@exec_prefix@,$exec_prefix,;t t
3096 s,@prefix@,$prefix,;t t
3097 s,@program_transform_name@,$program_transform_name,;t t
3098 s,@bindir@,$bindir,;t t
3099 s,@sbindir@,$sbindir,;t t
3100 s,@libexecdir@,$libexecdir,;t t
3101 s,@datadir@,$datadir,;t t
3102 s,@sysconfdir@,$sysconfdir,;t t
3103 s,@sharedstatedir@,$sharedstatedir,;t t
3104 s,@localstatedir@,$localstatedir,;t t
3105 s,@libdir@,$libdir,;t t
3106 s,@includedir@,$includedir,;t t
3107 s,@oldincludedir@,$oldincludedir,;t t
3108 s,@infodir@,$infodir,;t t
3109 s,@mandir@,$mandir,;t t
3110 s,@build_alias@,$build_alias,;t t
3111 s,@host_alias@,$host_alias,;t t
3112 s,@target_alias@,$target_alias,;t t
3114 s,@ECHO_C@,$ECHO_C,;t t
3115 s,@ECHO_N@,$ECHO_N,;t t
3116 s,@ECHO_T@,$ECHO_T,;t t
3118 s,@CPPFLAGS@,$CPPFLAGS,;t t
3119 s,@LDFLAGS@,$LDFLAGS,;t t
3120 s,@build@,$build,;t t
3121 s,@build_cpu@,$build_cpu,;t t
3122 s,@build_vendor@,$build_vendor,;t t
3123 s,@build_os@,$build_os,;t t
3125 s,@host_cpu@,$host_cpu,;t t
3126 s,@host_vendor@,$host_vendor,;t t
3127 s,@host_os@,$host_os,;t t
3129 s,@CXXFLAGS@,$CXXFLAGS,;t t
3130 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3131 s,@EXEEXT@,$EXEEXT,;t t
3132 s,@OBJEXT@,$OBJEXT,;t t
3133 s,@DYNINST_VER@,$DYNINST_VER,;t t
3134 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3135 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3136 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3137 s,@LIBOBJS@,$LIBOBJS,;t t
3138 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3143 cat >>$CONFIG_STATUS <<\_ACEOF
3144 # Split the substitutions into bite-sized pieces for seds with
3145 # small command number limits, like on Digital OSF/1 and HP-UX.
3147 ac_sed_frag=1 # Number of current file.
3148 ac_beg=1 # First line for current file.
3149 ac_end=$ac_max_sed_lines # Line after last line for current file.
3152 while $ac_more_lines; do
3153 if test $ac_beg -gt 1; then
3154 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3156 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3158 if test ! -s $tmp/subs.frag; then
3161 # The purpose of the label and of the branching condition is to
3162 # speed up the sed processing (if there are no `@' at all, there
3163 # is no need to browse any of the substitutions).
3164 # These are the two extra sed commands mentioned above.
3166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3167 if test -z "$ac_sed_cmds"; then
3168 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3170 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3172 ac_sed_frag=`expr $ac_sed_frag + 1`
3174 ac_end=`expr $ac_end + $ac_max_sed_lines`
3177 if test -z "$ac_sed_cmds"; then
3180 fi # test -n "$CONFIG_FILES"
3183 cat >>$CONFIG_STATUS <<\_ACEOF
3184 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3187 - | *:- | *:-:* ) # input from stdin
3189 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3190 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3191 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3192 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3193 * ) ac_file_in=$ac_file.in ;;
3196 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3197 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3198 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3199 X"$ac_file" : 'X\(//\)[^/]' \| \
3200 X"$ac_file" : 'X\(//\)$' \| \
3201 X"$ac_file" : 'X\(/\)' \| \
3202 . : '\(.\)' 2>/dev/null ||
3204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3206 /^X\(\/\/\)$/{ s//\1/; q; }
3207 /^X\(\/\).*/{ s//\1/; q; }
3209 { if $as_mkdir_p; then
3214 while test ! -d "$as_dir"; do
3215 as_dirs="$as_dir $as_dirs"
3216 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3218 X"$as_dir" : 'X\(//\)[^/]' \| \
3219 X"$as_dir" : 'X\(//\)$' \| \
3220 X"$as_dir" : 'X\(/\)' \| \
3221 . : '\(.\)' 2>/dev/null ||
3223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3225 /^X\(\/\/\)$/{ s//\1/; q; }
3226 /^X\(\/\).*/{ s//\1/; q; }
3229 test ! -n "$as_dirs" || mkdir $as_dirs
3230 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3231 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3232 { (exit 1); exit 1; }; }; }
3236 if test "$ac_dir" != .; then
3237 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3238 # A "../" for each directory in $ac_dir_suffix.
3239 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3241 ac_dir_suffix= ac_top_builddir=
3245 .) # No --srcdir option. We are building in place.
3247 if test -z "$ac_top_builddir"; then
3250 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3252 [\\/]* | ?:[\\/]* ) # Absolute path.
3253 ac_srcdir=$srcdir$ac_dir_suffix;
3254 ac_top_srcdir=$srcdir ;;
3256 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3257 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3260 # Do not use `cd foo && pwd` to compute absolute paths, because
3261 # the directories may not exist.
3263 .) ac_abs_builddir="$ac_dir";;
3266 .) ac_abs_builddir=`pwd`;;
3267 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3268 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3271 case $ac_abs_builddir in
3272 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3274 case ${ac_top_builddir}. in
3275 .) ac_abs_top_builddir=$ac_abs_builddir;;
3276 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3277 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3280 case $ac_abs_builddir in
3281 .) ac_abs_srcdir=$ac_srcdir;;
3284 .) ac_abs_srcdir=$ac_abs_builddir;;
3285 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3286 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3289 case $ac_abs_builddir in
3290 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3292 case $ac_top_srcdir in
3293 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3294 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3295 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3301 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3302 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3305 if test x"$ac_file" != x-; then
3306 { echo "$as_me:$LINENO: creating $ac_file" >&5
3307 echo "$as_me: creating $ac_file" >&6;}
3310 # Let's still pretend it is `configure' which instantiates (i.e., don't
3311 # use $as_me), people would be surprised to read:
3312 # /* config.h. Generated by config.status. */
3313 if test x"$ac_file" = x-; then
3316 configure_input="$ac_file. "
3318 configure_input=$configure_input"Generated from `echo $ac_file_in |
3319 sed 's,.*/,,'` by configure."
3321 # First look for the input files in the build tree, otherwise in the
3323 ac_file_inputs=`IFS=:
3324 for f in $ac_file_in; do
3326 -) echo $tmp/stdin ;;
3328 # Absolute (can't be DOS-style, as IFS=:)
3329 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3330 echo "$as_me: error: cannot find input file: $f" >&2;}
3331 { (exit 1); exit 1; }; }
3334 if test -f "$f"; then
3337 elif test -f "$srcdir/$f"; then
3342 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3343 echo "$as_me: error: cannot find input file: $f" >&2;}
3344 { (exit 1); exit 1; }; }
3347 done` || { (exit 1); exit 1; }
3349 cat >>$CONFIG_STATUS <<_ACEOF
3353 cat >>$CONFIG_STATUS <<\_ACEOF
3355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3356 s,@configure_input@,$configure_input,;t t
3357 s,@srcdir@,$ac_srcdir,;t t
3358 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3359 s,@top_srcdir@,$ac_top_srcdir,;t t
3360 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3361 s,@builddir@,$ac_builddir,;t t
3362 s,@abs_builddir@,$ac_abs_builddir,;t t
3363 s,@top_builddir@,$ac_top_builddir,;t t
3364 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3365 s,@INSTALL@,$ac_INSTALL,;t t
3366 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3368 if test x"$ac_file" != x-; then
3369 mv $tmp/out $ac_file
3378 cat >>$CONFIG_STATUS <<\_ACEOF
3380 { (exit 0); exit 0; }
3382 chmod +x $CONFIG_STATUS
3383 ac_clean_files=$ac_clean_files_save
3386 # configure is writing to config.log, and then calls config.status.
3387 # config.status does its own redirection, appending to config.log.
3388 # Unfortunately, on DOS this fails, as config.log is still kept open
3389 # by configure, so config.status won't be able to write to it; its
3390 # output is simply discarded. So we exec the FD to /dev/null,
3391 # effectively closing config.log, so it can be properly (re)opened and
3392 # appended to by config.status. When coming back to configure, we
3393 # need to make the FD available again.
3394 if test "$no_create" != yes; then
3396 ac_config_status_args=
3397 test "$silent" = yes &&
3398 ac_config_status_args="$ac_config_status_args --quiet"
3400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3403 # would make configure fail if this is the last instruction.
3404 $ac_cs_success || { (exit 1); exit 1; }