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 LDFLAGS CPPFLAGS 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:";;
807 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
808 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
809 --with-dyninst Base directory to look for dyninst headers and
811 --with-dyninst-lib Directory to look for dyninst libraries
812 --with-dyninst-include Directory to look for dyninst headers
814 Some influential environment variables:
815 CXX C++ compiler command
816 CXXFLAGS C++ compiler flags
817 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
818 nonstandard directory <lib dir>
819 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
820 headers in a nonstandard directory <include dir>
822 Use these variables to override the choices made by `configure' or to help
823 it to find libraries and programs with nonstandard names/locations.
828 if test "$ac_init_help" = "recursive"; then
829 # If there are subdirs, report their specific --help.
831 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
832 test -d $ac_dir || continue
835 if test "$ac_dir" != .; then
836 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
837 # A "../" for each directory in $ac_dir_suffix.
838 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
840 ac_dir_suffix= ac_top_builddir=
844 .) # No --srcdir option. We are building in place.
846 if test -z "$ac_top_builddir"; then
849 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
851 [\\/]* | ?:[\\/]* ) # Absolute path.
852 ac_srcdir=$srcdir$ac_dir_suffix;
853 ac_top_srcdir=$srcdir ;;
855 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
856 ac_top_srcdir=$ac_top_builddir$srcdir ;;
859 # Do not use `cd foo && pwd` to compute absolute paths, because
860 # the directories may not exist.
862 .) ac_abs_builddir="$ac_dir";;
865 .) ac_abs_builddir=`pwd`;;
866 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
867 *) ac_abs_builddir=`pwd`/"$ac_dir";;
870 case $ac_abs_builddir in
871 .) ac_abs_top_builddir=${ac_top_builddir}.;;
873 case ${ac_top_builddir}. in
874 .) ac_abs_top_builddir=$ac_abs_builddir;;
875 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
876 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
879 case $ac_abs_builddir in
880 .) ac_abs_srcdir=$ac_srcdir;;
883 .) ac_abs_srcdir=$ac_abs_builddir;;
884 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
885 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
888 case $ac_abs_builddir in
889 .) ac_abs_top_srcdir=$ac_top_srcdir;;
891 case $ac_top_srcdir in
892 .) ac_abs_top_srcdir=$ac_abs_builddir;;
893 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
894 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
899 # Check for guested configure; otherwise get Cygnus style configure.
900 if test -f $ac_srcdir/configure.gnu; then
902 $SHELL $ac_srcdir/configure.gnu --help=recursive
903 elif test -f $ac_srcdir/configure; then
905 $SHELL $ac_srcdir/configure --help=recursive
906 elif test -f $ac_srcdir/configure.ac ||
907 test -f $ac_srcdir/configure.in; then
911 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
917 test -n "$ac_init_help" && exit 0
918 if $ac_init_version; then
920 parseThat configure 1.0
921 generated by GNU Autoconf 2.59
923 Copyright (C) 2003 Free Software Foundation, Inc.
924 This configure script is free software; the Free Software Foundation
925 gives unlimited permission to copy, distribute and modify it.
931 This file contains any messages produced by compilers while
932 running configure, to aid debugging if configure makes a mistake.
934 It was created by parseThat $as_me 1.0, which was
935 generated by GNU Autoconf 2.59. Invocation command line was
946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
958 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
969 test -z "$as_dir" && as_dir=.
985 # Keep a trace of the command line.
986 # Strip out --no-create and --no-recursion so they do not pile up.
987 # Strip out --silent because we don't want to record it for future runs.
988 # Also quote any args containing shell meta-characters.
989 # Make two passes to allow for proper duplicate-argument suppression.
994 ac_must_keep_next=false
1000 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002 | -silent | --silent | --silen | --sile | --sil)
1004 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1005 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1008 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1010 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1011 if test $ac_must_keep_next = true; then
1012 ac_must_keep_next=false # Got value, back to normal.
1015 *=* | --config-cache | -C | -disable-* | --disable-* \
1016 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1017 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1018 | -with-* | --with-* | -without-* | --without-* | --x)
1019 case "$ac_configure_args0 " in
1020 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1023 -* ) ac_must_keep_next=true ;;
1026 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1027 # Get rid of the leading space.
1033 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1034 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1036 # When interrupted or exit'd, cleanup temporary files, and complete
1037 # config.log. We remove comments because anyway the quotes in there
1038 # would cause problems or look ugly.
1039 # WARNING: Be sure not to use single quotes in there, as some shells,
1040 # such as our DU 5.0 friend, will then `close' the trap.
1041 trap 'exit_status=$?
1042 # Save into config.log some information that might help in debugging.
1047 ## ---------------- ##
1048 ## Cache variables. ##
1049 ## ---------------- ##
1052 # The following way of writing the cache mishandles newlines in values,
1055 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1058 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1059 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1063 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1070 ## ----------------- ##
1071 ## Output variables. ##
1072 ## ----------------- ##
1075 for ac_var in $ac_subst_vars
1077 eval ac_val=$`echo $ac_var`
1078 echo "$ac_var='"'"'$ac_val'"'"'"
1082 if test -n "$ac_subst_files"; then
1089 for ac_var in $ac_subst_files
1091 eval ac_val=$`echo $ac_var`
1092 echo "$ac_var='"'"'$ac_val'"'"'"
1097 if test -s confdefs.h; then
1104 sed "/^$/d" confdefs.h | sort
1107 test "$ac_signal" != 0 &&
1108 echo "$as_me: caught signal $ac_signal"
1109 echo "$as_me: exit $exit_status"
1111 rm -f core *.core &&
1112 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1115 for ac_signal in 1 2 13 15; do
1116 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1121 rm -rf conftest* confdefs.h
1122 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1125 # Predefined preprocessor variables.
1127 cat >>confdefs.h <<_ACEOF
1128 #define PACKAGE_NAME "$PACKAGE_NAME"
1132 cat >>confdefs.h <<_ACEOF
1133 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_STRING "$PACKAGE_STRING"
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1152 # Let the site file select an alternate cache file if it wants to.
1153 # Prefer explicitly selected file to automatically selected ones.
1154 if test -z "$CONFIG_SITE"; then
1155 if test "x$prefix" != xNONE; then
1156 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1158 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1161 for ac_site_file in $CONFIG_SITE; do
1162 if test -r "$ac_site_file"; then
1163 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1164 echo "$as_me: loading site script $ac_site_file" >&6;}
1165 sed 's/^/| /' "$ac_site_file" >&5
1170 if test -r "$cache_file"; then
1171 # Some versions of bash will fail to source /dev/null (special
1172 # files actually), so we avoid doing that.
1173 if test -f "$cache_file"; then
1174 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1175 echo "$as_me: loading cache $cache_file" >&6;}
1177 [\\/]* | ?:[\\/]* ) . $cache_file;;
1178 *) . ./$cache_file;;
1182 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1183 echo "$as_me: creating cache $cache_file" >&6;}
1187 # Check that the precious variables saved in the cache have kept the same
1189 ac_cache_corrupted=false
1190 for ac_var in `(set) 2>&1 |
1191 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1192 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1193 eval ac_new_set=\$ac_env_${ac_var}_set
1194 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1195 eval ac_new_val="\$ac_env_${ac_var}_value"
1196 case $ac_old_set,$ac_new_set in
1198 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1199 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1200 ac_cache_corrupted=: ;;
1202 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1203 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1204 ac_cache_corrupted=: ;;
1207 if test "x$ac_old_val" != "x$ac_new_val"; then
1208 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1209 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1210 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1211 echo "$as_me: former value: $ac_old_val" >&2;}
1212 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1213 echo "$as_me: current value: $ac_new_val" >&2;}
1214 ac_cache_corrupted=:
1217 # Pass precious variables to config.status.
1218 if test "$ac_new_set" = set; then
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1222 *) ac_arg=$ac_var=$ac_new_val ;;
1224 case " $ac_configure_args " in
1225 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1226 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1230 if $ac_cache_corrupted; then
1231 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1232 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1233 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1234 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1235 { (exit 1); exit 1; }; }
1239 ac_cpp='$CPP $CPPFLAGS'
1240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1274 # Check whether --with-dyninst or --without-dyninst was given.
1275 if test "${with_dyninst+set}" = set; then
1276 withval="$with_dyninst"
1277 DYNINST_LIB="${withval}/${PLATFORM}/lib"
1278 DYNINST_INC="${withval}/include"
1282 # Check whether --with-dyninst-lib or --without-dyninst-lib was given.
1283 if test "${with_dyninst_lib+set}" = set; then
1284 withval="$with_dyninst_lib"
1285 DYNINST_LIB="${withval}"
1289 # Check whether --with-dyninst-include or --without-dyninst-include was given.
1290 if test "${with_dyninst_include+set}" = set; then
1291 withval="$with_dyninst_include"
1292 DYNINST_INC="${withval}"
1295 if test -n ${DYNINST_ROOT}; then
1296 # Add search paths to CPPFLAGS and LDFLAGS.
1297 if test -z ${DYNINST_LIB}; then
1298 DYNINST_LIB="${DYNINST_ROOT}/${PLATFORM}/lib"
1300 if test -z ${DYNINST_INC}; then
1301 DYNINST_INC="${DYNINST_ROOT}/include"
1305 LDFLAGS="-L${DYNINST_LIB} ${LDFLAGS}"
1307 CPPFLAGS="-I${DYNINST_INC} ${CPPFLAGS}"
1310 # Generate host string.
1312 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1313 if test -f $ac_dir/install-sh; then
1315 ac_install_sh="$ac_aux_dir/install-sh -c"
1317 elif test -f $ac_dir/install.sh; then
1319 ac_install_sh="$ac_aux_dir/install.sh -c"
1321 elif test -f $ac_dir/shtool; then
1323 ac_install_sh="$ac_aux_dir/shtool install -c"
1327 if test -z "$ac_aux_dir"; then
1328 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1329 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1330 { (exit 1); exit 1; }; }
1332 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1333 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1334 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1336 # Make sure we can run config.sub.
1337 $ac_config_sub sun4 >/dev/null 2>&1 ||
1338 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1339 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1340 { (exit 1); exit 1; }; }
1342 echo "$as_me:$LINENO: checking build system type" >&5
1343 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1344 if test "${ac_cv_build+set}" = set; then
1345 echo $ECHO_N "(cached) $ECHO_C" >&6
1347 ac_cv_build_alias=$build_alias
1348 test -z "$ac_cv_build_alias" &&
1349 ac_cv_build_alias=`$ac_config_guess`
1350 test -z "$ac_cv_build_alias" &&
1351 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1352 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1353 { (exit 1); exit 1; }; }
1354 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1355 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1356 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1357 { (exit 1); exit 1; }; }
1360 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1361 echo "${ECHO_T}$ac_cv_build" >&6
1363 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1364 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1365 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1368 echo "$as_me:$LINENO: checking host system type" >&5
1369 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1370 if test "${ac_cv_host+set}" = set; then
1371 echo $ECHO_N "(cached) $ECHO_C" >&6
1373 ac_cv_host_alias=$host_alias
1374 test -z "$ac_cv_host_alias" &&
1375 ac_cv_host_alias=$ac_cv_build_alias
1376 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1377 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1378 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1379 { (exit 1); exit 1; }; }
1382 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1383 echo "${ECHO_T}$ac_cv_host" >&6
1385 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1386 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1387 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1391 # Build all configure tests with C++ compiler.
1393 ac_cpp='$CXXCPP $CPPFLAGS'
1394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1399 # sha1.C requres these system files and endianess to be tested.
1401 ac_cpp='$CXXCPP $CPPFLAGS'
1402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1405 if test -n "$ac_tool_prefix"; then
1406 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1410 echo "$as_me:$LINENO: checking for $ac_word" >&5
1411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1412 if test "${ac_cv_prog_CXX+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 if test -n "$CXX"; then
1416 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir=.
1423 for ac_exec_ext in '' $ac_executable_extensions; do
1424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1435 if test -n "$CXX"; then
1436 echo "$as_me:$LINENO: result: $CXX" >&5
1437 echo "${ECHO_T}$CXX" >&6
1439 echo "$as_me:$LINENO: result: no" >&5
1440 echo "${ECHO_T}no" >&6
1443 test -n "$CXX" && break
1446 if test -z "$CXX"; then
1448 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1450 # Extract the first word of "$ac_prog", so it can be a program name with args.
1451 set dummy $ac_prog; ac_word=$2
1452 echo "$as_me:$LINENO: checking for $ac_word" >&5
1453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1454 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 if test -n "$ac_ct_CXX"; then
1458 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1464 test -z "$as_dir" && as_dir=.
1465 for ac_exec_ext in '' $ac_executable_extensions; do
1466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1467 ac_cv_prog_ac_ct_CXX="$ac_prog"
1468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1476 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1477 if test -n "$ac_ct_CXX"; then
1478 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1479 echo "${ECHO_T}$ac_ct_CXX" >&6
1481 echo "$as_me:$LINENO: result: no" >&5
1482 echo "${ECHO_T}no" >&6
1485 test -n "$ac_ct_CXX" && break
1487 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1493 # Provide some information about the compiler.
1494 echo "$as_me:$LINENO:" \
1495 "checking for C++ compiler version" >&5
1496 ac_compiler=`set X $ac_compile; echo $2`
1497 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1498 (eval $ac_compiler --version </dev/null >&5) 2>&5
1500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1501 (exit $ac_status); }
1502 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1503 (eval $ac_compiler -v </dev/null >&5) 2>&5
1505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1506 (exit $ac_status); }
1507 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1508 (eval $ac_compiler -V </dev/null >&5) 2>&5
1510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1511 (exit $ac_status); }
1513 cat >conftest.$ac_ext <<_ACEOF
1516 cat confdefs.h >>conftest.$ac_ext
1517 cat >>conftest.$ac_ext <<_ACEOF
1518 /* end confdefs.h. */
1528 ac_clean_files_save=$ac_clean_files
1529 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1530 # Try to create an executable without -o first, disregard a.out.
1531 # It will help us diagnose broken compilers, and finding out an intuition
1533 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1534 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1535 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1536 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1537 (eval $ac_link_default) 2>&5
1539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1540 (exit $ac_status); }; then
1541 # Find the output, starting from the most likely. This scheme is
1542 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1545 # Be careful to initialize this variable, since it used to be cached.
1546 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1548 # b.out is created by i960 compilers.
1549 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1551 test -f "$ac_file" || continue
1553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1556 # This is the source file.
1559 # We found the default executable, but exeext='' is most
1563 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1564 # FIXME: I believe we export ac_cv_exeext for Libtool,
1565 # but it would be cool to find out if it's true. Does anybody
1566 # maintain Libtool? --akim.
1574 echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1577 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1578 See \`config.log' for more details." >&5
1579 echo "$as_me: error: C++ compiler cannot create executables
1580 See \`config.log' for more details." >&2;}
1581 { (exit 77); exit 77; }; }
1584 ac_exeext=$ac_cv_exeext
1585 echo "$as_me:$LINENO: result: $ac_file" >&5
1586 echo "${ECHO_T}$ac_file" >&6
1588 # Check the compiler produces executables we can run. If not, either
1589 # the compiler is broken, or we cross compile.
1590 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1591 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1592 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1593 # If not cross compiling, check that we can run a simple program.
1594 if test "$cross_compiling" != yes; then
1595 if { ac_try='./$ac_file'
1596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1600 (exit $ac_status); }; }; then
1603 if test "$cross_compiling" = maybe; then
1606 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1607 If you meant to cross compile, use \`--host'.
1608 See \`config.log' for more details." >&5
1609 echo "$as_me: error: cannot run C++ compiled programs.
1610 If you meant to cross compile, use \`--host'.
1611 See \`config.log' for more details." >&2;}
1612 { (exit 1); exit 1; }; }
1616 echo "$as_me:$LINENO: result: yes" >&5
1617 echo "${ECHO_T}yes" >&6
1619 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1620 ac_clean_files=$ac_clean_files_save
1621 # Check the compiler produces executables we can run. If not, either
1622 # the compiler is broken, or we cross compile.
1623 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1624 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1625 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1626 echo "${ECHO_T}$cross_compiling" >&6
1628 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1629 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1631 (eval $ac_link) 2>&5
1633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1634 (exit $ac_status); }; then
1635 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1636 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1637 # work properly (i.e., refer to `conftest.exe'), while it won't with
1639 for ac_file in conftest.exe conftest conftest.*; do
1640 test -f "$ac_file" || continue
1642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1643 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1650 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1651 See \`config.log' for more details." >&5
1652 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1653 See \`config.log' for more details." >&2;}
1654 { (exit 1); exit 1; }; }
1657 rm -f conftest$ac_cv_exeext
1658 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1659 echo "${ECHO_T}$ac_cv_exeext" >&6
1661 rm -f conftest.$ac_ext
1662 EXEEXT=$ac_cv_exeext
1664 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1665 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1666 if test "${ac_cv_objext+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 cat >conftest.$ac_ext <<_ACEOF
1672 cat confdefs.h >>conftest.$ac_ext
1673 cat >>conftest.$ac_ext <<_ACEOF
1674 /* end confdefs.h. */
1684 rm -f conftest.o conftest.obj
1685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1686 (eval $ac_compile) 2>&5
1688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1689 (exit $ac_status); }; then
1690 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1693 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1698 echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1701 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1702 See \`config.log' for more details." >&5
1703 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1704 See \`config.log' for more details." >&2;}
1705 { (exit 1); exit 1; }; }
1708 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1710 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1711 echo "${ECHO_T}$ac_cv_objext" >&6
1712 OBJEXT=$ac_cv_objext
1714 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1715 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1716 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1717 echo $ECHO_N "(cached) $ECHO_C" >&6
1719 cat >conftest.$ac_ext <<_ACEOF
1722 cat confdefs.h >>conftest.$ac_ext
1723 cat >>conftest.$ac_ext <<_ACEOF
1724 /* end confdefs.h. */
1737 rm -f conftest.$ac_objext
1738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1739 (eval $ac_compile) 2>conftest.er1
1741 grep -v '^ *+' conftest.er1 >conftest.err
1743 cat conftest.err >&5
1744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745 (exit $ac_status); } &&
1746 { ac_try='test -z "$ac_cxx_werror_flag"
1747 || test ! -s conftest.err'
1748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1752 (exit $ac_status); }; } &&
1753 { ac_try='test -s conftest.$ac_objext'
1754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }; }; then
1761 echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1767 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1770 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1771 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1772 GXX=`test $ac_compiler_gnu = yes && echo yes`
1773 ac_test_CXXFLAGS=${CXXFLAGS+set}
1774 ac_save_CXXFLAGS=$CXXFLAGS
1776 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1777 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1778 if test "${ac_cv_prog_cxx_g+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 cat >conftest.$ac_ext <<_ACEOF
1784 cat confdefs.h >>conftest.$ac_ext
1785 cat >>conftest.$ac_ext <<_ACEOF
1786 /* end confdefs.h. */
1796 rm -f conftest.$ac_objext
1797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1798 (eval $ac_compile) 2>conftest.er1
1800 grep -v '^ *+' conftest.er1 >conftest.err
1802 cat conftest.err >&5
1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804 (exit $ac_status); } &&
1805 { ac_try='test -z "$ac_cxx_werror_flag"
1806 || test ! -s conftest.err'
1807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1811 (exit $ac_status); }; } &&
1812 { ac_try='test -s conftest.$ac_objext'
1813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817 (exit $ac_status); }; }; then
1818 ac_cv_prog_cxx_g=yes
1820 echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1827 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1828 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1829 if test "$ac_test_CXXFLAGS" = set; then
1830 CXXFLAGS=$ac_save_CXXFLAGS
1831 elif test $ac_cv_prog_cxx_g = yes; then
1832 if test "$GXX" = yes; then
1838 if test "$GXX" = yes; then
1844 for ac_declaration in \
1846 'extern "C" void std::exit (int) throw (); using std::exit;' \
1847 'extern "C" void std::exit (int); using std::exit;' \
1848 'extern "C" void exit (int) throw ();' \
1849 'extern "C" void exit (int);' \
1852 cat >conftest.$ac_ext <<_ACEOF
1855 cat confdefs.h >>conftest.$ac_ext
1856 cat >>conftest.$ac_ext <<_ACEOF
1857 /* end confdefs.h. */
1868 rm -f conftest.$ac_objext
1869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1870 (eval $ac_compile) 2>conftest.er1
1872 grep -v '^ *+' conftest.er1 >conftest.err
1874 cat conftest.err >&5
1875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1876 (exit $ac_status); } &&
1877 { ac_try='test -z "$ac_cxx_werror_flag"
1878 || test ! -s conftest.err'
1879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }; } &&
1884 { ac_try='test -s conftest.$ac_objext'
1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; }; then
1892 echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1898 cat >conftest.$ac_ext <<_ACEOF
1901 cat confdefs.h >>conftest.$ac_ext
1902 cat >>conftest.$ac_ext <<_ACEOF
1903 /* end confdefs.h. */
1913 rm -f conftest.$ac_objext
1914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1915 (eval $ac_compile) 2>conftest.er1
1917 grep -v '^ *+' conftest.er1 >conftest.err
1919 cat conftest.err >&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); } &&
1922 { ac_try='test -z "$ac_cxx_werror_flag"
1923 || test ! -s conftest.err'
1924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); }; } &&
1929 { ac_try='test -s conftest.$ac_objext'
1930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; }; then
1937 echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1944 if test -n "$ac_declaration"; then
1945 echo '#ifdef __cplusplus' >>confdefs.h
1946 echo $ac_declaration >>confdefs.h
1947 echo '#endif' >>confdefs.h
1951 ac_cpp='$CXXCPP $CPPFLAGS'
1952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1958 for ac_header in inttypes.h
1960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1961 echo "$as_me:$LINENO: checking for $ac_header" >&5
1962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 cat >conftest.$ac_ext <<_ACEOF
1969 cat confdefs.h >>conftest.$ac_ext
1970 cat >>conftest.$ac_ext <<_ACEOF
1971 /* end confdefs.h. */
1972 // Do not use default includes
1974 #include <$ac_header>
1976 rm -f conftest.$ac_objext
1977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1978 (eval $ac_compile) 2>conftest.er1
1980 grep -v '^ *+' conftest.er1 >conftest.err
1982 cat conftest.err >&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); } &&
1985 { ac_try='test -z "$ac_cxx_werror_flag"
1986 || test ! -s conftest.err'
1987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1991 (exit $ac_status); }; } &&
1992 { ac_try='test -s conftest.$ac_objext'
1993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); }; }; then
1998 eval "$as_ac_Header=yes"
2000 echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2003 eval "$as_ac_Header=no"
2005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2010 cat >>confdefs.h <<_ACEOF
2011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2019 for ac_header in stdint.h
2021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2022 echo "$as_me:$LINENO: checking for $ac_header" >&5
2023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 cat >conftest.$ac_ext <<_ACEOF
2030 cat confdefs.h >>conftest.$ac_ext
2031 cat >>conftest.$ac_ext <<_ACEOF
2032 /* end confdefs.h. */
2033 // Do not use default includes
2035 #include <$ac_header>
2037 rm -f conftest.$ac_objext
2038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2039 (eval $ac_compile) 2>conftest.er1
2041 grep -v '^ *+' conftest.er1 >conftest.err
2043 cat conftest.err >&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); } &&
2046 { ac_try='test -z "$ac_cxx_werror_flag"
2047 || test ! -s conftest.err'
2048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); }; } &&
2053 { ac_try='test -s conftest.$ac_objext'
2054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; }; then
2059 eval "$as_ac_Header=yes"
2061 echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 eval "$as_ac_Header=no"
2066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2071 cat >>confdefs.h <<_ACEOF
2072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2079 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2080 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2081 if test "${ac_cv_c_bigendian+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 # See if sys/param.h defines the BYTE_ORDER macro.
2085 cat >conftest.$ac_ext <<_ACEOF
2088 cat confdefs.h >>conftest.$ac_ext
2089 cat >>conftest.$ac_ext <<_ACEOF
2090 /* end confdefs.h. */
2091 #include <sys/types.h>
2092 #include <sys/param.h>
2097 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2105 rm -f conftest.$ac_objext
2106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2107 (eval $ac_compile) 2>conftest.er1
2109 grep -v '^ *+' conftest.er1 >conftest.err
2111 cat conftest.err >&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); } &&
2114 { ac_try='test -z "$ac_cxx_werror_flag"
2115 || test ! -s conftest.err'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; } &&
2121 { ac_try='test -s conftest.$ac_objext'
2122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; }; then
2127 # It does; now see whether it defined to BIG_ENDIAN or not.
2128 cat >conftest.$ac_ext <<_ACEOF
2131 cat confdefs.h >>conftest.$ac_ext
2132 cat >>conftest.$ac_ext <<_ACEOF
2133 /* end confdefs.h. */
2134 #include <sys/types.h>
2135 #include <sys/param.h>
2140 #if BYTE_ORDER != BIG_ENDIAN
2148 rm -f conftest.$ac_objext
2149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2150 (eval $ac_compile) 2>conftest.er1
2152 grep -v '^ *+' conftest.er1 >conftest.err
2154 cat conftest.err >&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); } &&
2157 { ac_try='test -z "$ac_cxx_werror_flag"
2158 || test ! -s conftest.err'
2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; } &&
2164 { ac_try='test -s conftest.$ac_objext'
2165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; }; then
2170 ac_cv_c_bigendian=yes
2172 echo "$as_me: failed program was:" >&5
2173 sed 's/^/| /' conftest.$ac_ext >&5
2175 ac_cv_c_bigendian=no
2177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2179 echo "$as_me: failed program was:" >&5
2180 sed 's/^/| /' conftest.$ac_ext >&5
2182 # It does not; compile a test program.
2183 if test "$cross_compiling" = yes; then
2184 # try to guess the endianness by grepping values into an object file
2185 ac_cv_c_bigendian=unknown
2186 cat >conftest.$ac_ext <<_ACEOF
2189 cat confdefs.h >>conftest.$ac_ext
2190 cat >>conftest.$ac_ext <<_ACEOF
2191 /* end confdefs.h. */
2192 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2193 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2194 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2195 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2196 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2197 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2201 _ascii (); _ebcdic ();
2206 rm -f conftest.$ac_objext
2207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2208 (eval $ac_compile) 2>conftest.er1
2210 grep -v '^ *+' conftest.er1 >conftest.err
2212 cat conftest.err >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } &&
2215 { ac_try='test -z "$ac_cxx_werror_flag"
2216 || test ! -s conftest.err'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; } &&
2222 { ac_try='test -s conftest.$ac_objext'
2223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }; }; then
2228 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2229 ac_cv_c_bigendian=yes
2231 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2232 if test "$ac_cv_c_bigendian" = unknown; then
2233 ac_cv_c_bigendian=no
2235 # finding both strings is unlikely to happen, but who knows?
2236 ac_cv_c_bigendian=unknown
2240 echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2246 cat >conftest.$ac_ext <<_ACEOF
2249 cat confdefs.h >>conftest.$ac_ext
2250 cat >>conftest.$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2255 /* Are we little or big endian? From Harbison&Steele. */
2259 char c[sizeof (long)];
2262 exit (u.c[sizeof (long) - 1] == 1);
2265 rm -f conftest$ac_exeext
2266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2267 (eval $ac_link) 2>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; }; then
2276 ac_cv_c_bigendian=no
2278 echo "$as_me: program exited with status $ac_status" >&5
2279 echo "$as_me: failed program was:" >&5
2280 sed 's/^/| /' conftest.$ac_ext >&5
2283 ac_cv_c_bigendian=yes
2285 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2290 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2291 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2292 case $ac_cv_c_bigendian in
2295 cat >>confdefs.h <<\_ACEOF
2296 #define WORDS_BIGENDIAN 1
2302 { { echo "$as_me:$LINENO: error: unknown endianness
2303 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2304 echo "$as_me: error: unknown endianness
2305 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2306 { (exit 1); exit 1; }; } ;;
2310 # Search for Dyninst in all the right places.
2311 echo "$as_me:$LINENO: checking for BPatch.h" >&5
2312 echo $ECHO_N "checking for BPatch.h... $ECHO_C" >&6
2313 if test "${ac_cv_header_BPatch_h+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 cat >conftest.$ac_ext <<_ACEOF
2319 cat confdefs.h >>conftest.$ac_ext
2320 cat >>conftest.$ac_ext <<_ACEOF
2321 /* end confdefs.h. */
2322 // Do not use default includes
2326 rm -f conftest.$ac_objext
2327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2328 (eval $ac_compile) 2>conftest.er1
2330 grep -v '^ *+' conftest.er1 >conftest.err
2332 cat conftest.err >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); } &&
2335 { ac_try='test -z "$ac_cxx_werror_flag"
2336 || test ! -s conftest.err'
2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; } &&
2342 { ac_try='test -s conftest.$ac_objext'
2343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2348 ac_cv_header_BPatch_h=yes
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.$ac_ext >&5
2353 ac_cv_header_BPatch_h=no
2355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2357 echo "$as_me:$LINENO: result: $ac_cv_header_BPatch_h" >&5
2358 echo "${ECHO_T}$ac_cv_header_BPatch_h" >&6
2359 if test $ac_cv_header_BPatch_h = yes; then
2362 { { echo "$as_me:$LINENO: error: Cannot find DyninstAPI library include files." >&5
2363 echo "$as_me: error: Cannot find DyninstAPI library include files." >&2;}
2364 { (exit 1); exit 1; }; }
2369 # Check if Dyninst is version 5.0+
2371 for ac_header in BPatch_process.h
2373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2374 echo "$as_me:$LINENO: checking for $ac_header" >&5
2375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 cat >conftest.$ac_ext <<_ACEOF
2382 cat confdefs.h >>conftest.$ac_ext
2383 cat >>conftest.$ac_ext <<_ACEOF
2384 /* end confdefs.h. */
2385 // Do not use default includes
2387 #include <$ac_header>
2389 rm -f conftest.$ac_objext
2390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2391 (eval $ac_compile) 2>conftest.er1
2393 grep -v '^ *+' conftest.er1 >conftest.err
2395 cat conftest.err >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); } &&
2398 { ac_try='test -z "$ac_cxx_werror_flag"
2399 || test ! -s conftest.err'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; } &&
2405 { ac_try='test -s conftest.$ac_objext'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; }; then
2411 eval "$as_ac_Header=yes"
2413 echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.$ac_ext >&5
2416 eval "$as_ac_Header=no"
2418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2423 cat >>confdefs.h <<_ACEOF
2424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2436 # Find appropriate install program
2437 # Find a good install program. We prefer a C program (faster),
2438 # so one script is as good as another. But avoid the broken or
2439 # incompatible versions:
2440 # SysV /etc/install, /usr/sbin/install
2441 # SunOS /usr/etc/install
2442 # IRIX /sbin/install
2444 # AmigaOS /C/install, which installs bootblocks on floppy discs
2445 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448 # OS/2's system install, which has a completely different semantic
2449 # ./install, which can be erroneously created by make from ./install.sh.
2450 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2451 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2452 if test -z "$INSTALL"; then
2453 if test "${ac_cv_path_install+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir=.
2461 # Account for people who put trailing slashes in PATH elements.
2463 ./ | .// | /cC/* | \
2464 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2465 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2468 # OSF1 and SCO ODT 3.0 have their own names for install.
2469 # Don't use installbsd from OSF since it installs stuff as root
2471 for ac_prog in ginstall scoinst install; do
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2474 if test $ac_prog = install &&
2475 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476 # AIX install. It has an incompatible calling convention.
2478 elif test $ac_prog = install &&
2479 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2480 # program-specific install script used by HP pwplus--don't use.
2483 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2495 if test "${ac_cv_path_install+set}" = set; then
2496 INSTALL=$ac_cv_path_install
2498 # As a last resort, use the slow shell script. We don't cache a
2499 # path for INSTALL within a source directory, because that will
2500 # break other packages using the cache if that directory is
2501 # removed, or if the path is relative.
2502 INSTALL=$ac_install_sh
2505 echo "$as_me:$LINENO: result: $INSTALL" >&5
2506 echo "${ECHO_T}$INSTALL" >&6
2508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2509 # It thinks the first close brace ends the variable substitution.
2510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2517 ac_config_files="$ac_config_files Makefile"
2519 cat >confcache <<\_ACEOF
2520 # This file is a shell script that caches the results of configure
2521 # tests run on this system so they can be shared between configure
2522 # scripts and configure runs, see configure's option --config-cache.
2523 # It is not useful on other systems. If it contains results you don't
2524 # want to keep, you may remove or edit it.
2526 # config.status only pays attention to the cache file if you give it
2527 # the --recheck option to rerun configure.
2529 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2530 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2535 # The following way of writing the cache mishandles newlines in values,
2536 # but we know of no workaround that is simple, portable, and efficient.
2537 # So, don't put newlines in cache variables' values.
2538 # Ultrix sh set writes to stderr and can't be redirected directly,
2539 # and sets the high bit in the cache file unless we assign to the vars.
2542 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2544 # `set' does not quote correctly, so add quotes (double-quote
2545 # substitution turns \\\\ into \\, and sed turns \\ into \).
2548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2551 # `set' quotes correctly as required by POSIX, so do not add quotes.
2553 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2562 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2564 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2565 if test -w $cache_file; then
2566 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2567 cat confcache >$cache_file
2569 echo "not updating unwritable cache $cache_file"
2574 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2575 # Let make expand exec_prefix.
2576 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2578 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2579 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2580 # trailing colons and then remove the whole line if VPATH becomes empty
2581 # (actually we leave an empty line to preserve line numbers).
2582 if test "x$srcdir" = x.; then
2583 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2584 s/:*\$(srcdir):*/:/;
2585 s/:*\${srcdir}:*/:/;
2587 s/^\([^=]*=[ ]*\):*/\1/;
2593 # Transform confdefs.h into DEFS.
2594 # Protect against shell expansion while executing Makefile rules.
2595 # Protect against Makefile macro expansion.
2597 # If the first sed substitution is executed (which looks for macros that
2598 # take arguments), then we branch to the quote section. Otherwise,
2599 # look for a macro that doesn't take arguments.
2600 cat >confdef2opt.sed <<\_ACEOF
2603 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2605 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2609 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2615 # We use echo to avoid assuming a particular line-breaking character.
2616 # The extra dot is to prevent the shell from consuming trailing
2617 # line-breaks from the sub-command output. A line-break within
2618 # single-quotes doesn't work because, if this script is created in a
2619 # platform that uses two characters for line-breaks (e.g., DOS), tr
2621 ac_LF_and_DOT=`echo; echo .`
2622 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2623 rm -f confdef2opt.sed
2628 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2629 # 1. Remove the extension, and $U if already installed.
2630 ac_i=`echo "$ac_i" |
2631 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2633 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2634 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2638 LTLIBOBJS=$ac_ltlibobjs
2642 : ${CONFIG_STATUS=./config.status}
2643 ac_clean_files_save=$ac_clean_files
2644 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2645 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2646 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2647 cat >$CONFIG_STATUS <<_ACEOF
2649 # Generated by $as_me.
2650 # Run this file to recreate the current configuration.
2651 # Compiler output produced by configure, useful for debugging
2652 # configure, is in config.log if it exists.
2657 SHELL=\${CONFIG_SHELL-$SHELL}
2660 cat >>$CONFIG_STATUS <<\_ACEOF
2661 ## --------------------- ##
2662 ## M4sh Initialization. ##
2663 ## --------------------- ##
2665 # Be Bourne compatible
2666 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2669 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2670 # is contrary to our usage. Disable this feature.
2671 alias -g '${1+"$@"}'='"$@"'
2672 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2675 DUALCASE=1; export DUALCASE # for MKS sh
2677 # Support unset when possible.
2678 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2685 # Work around bugs in pre-3.0 UWIN ksh.
2686 $as_unset ENV MAIL MAILPATH
2693 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2694 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2695 LC_TELEPHONE LC_TIME
2697 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2698 eval $as_var=C; export $as_var
2704 # Required to use basename.
2705 if expr a : '\(a\)' >/dev/null 2>&1; then
2711 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2712 as_basename=basename
2718 # Name of the executable.
2719 as_me=`$as_basename "$0" ||
2720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2721 X"$0" : 'X\(//\)$' \| \
2722 X"$0" : 'X\(/\)$' \| \
2723 . : '\(.\)' 2>/dev/null ||
2725 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2726 /^X\/\(\/\/\)$/{ s//\1/; q; }
2727 /^X\/\(\/\).*/{ s//\1/; q; }
2731 # PATH needs CR, and LINENO needs CR and PATH.
2732 # Avoid depending upon Character Ranges.
2733 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2734 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2735 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2736 as_cr_digits='0123456789'
2737 as_cr_alnum=$as_cr_Letters$as_cr_digits
2739 # The user is always right.
2740 if test "${PATH_SEPARATOR+set}" != set; then
2741 echo "#! /bin/sh" >conf$$.sh
2742 echo "exit 0" >>conf$$.sh
2744 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2755 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2756 test "x$as_lineno_1" != "x$as_lineno_2" &&
2757 test "x$as_lineno_3" = "x$as_lineno_2" || {
2758 # Find who we are. Look in the path if we contain no path at all
2761 *[\\/]* ) as_myself=$0 ;;
2762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766 test -z "$as_dir" && as_dir=.
2767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2772 # We did not find ourselves, most probably we were run as `sh COMMAND'
2773 # in which case we are not to be found in the path.
2774 if test "x$as_myself" = x; then
2777 if test ! -f "$as_myself"; then
2778 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2779 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2780 { (exit 1); exit 1; }; }
2782 case $CONFIG_SHELL in
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2788 test -z "$as_dir" && as_dir=.
2789 for as_base in sh bash ksh sh5; do
2792 if ("$as_dir/$as_base" -c '
2795 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2796 test "x$as_lineno_1" != "x$as_lineno_2" &&
2797 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2798 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2799 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2800 CONFIG_SHELL=$as_dir/$as_base
2802 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2810 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2811 # uniformly replaced by the line number. The first 'sed' inserts a
2812 # line-number line before each line; the second 'sed' does the real
2813 # work. The second script uses 'N' to pair each line-number line
2814 # with the numbered line, and appends trailing '-' during
2815 # substitution so that $LINENO is not a special case at line end.
2816 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2817 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2818 sed '=' <$as_myself |
2823 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2826 s,^['$as_cr_digits']*\n,,
2828 chmod +x $as_me.lineno ||
2829 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2830 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2831 { (exit 1); exit 1; }; }
2833 # Don't try to exec as it changes $[0], causing all sort of problems
2834 # (the dirname of $[0] is not the place where we might find the
2835 # original and so on. Autoconf is especially sensible to this).
2837 # Exit status is that of the last command.
2842 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2843 *c*,-n*) ECHO_N= ECHO_C='
2845 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2846 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2849 if expr a : '\(a\)' >/dev/null 2>&1; then
2855 rm -f conf$$ conf$$.exe conf$$.file
2857 if ln -s conf$$.file conf$$ 2>/dev/null; then
2858 # We could just check for DJGPP; but this test a) works b) is more generic
2859 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2860 if test -f conf$$.exe; then
2861 # Don't use ln at all; we don't have any links
2866 elif ln conf$$.file conf$$ 2>/dev/null; then
2871 rm -f conf$$ conf$$.exe conf$$.file
2873 if mkdir -p . 2>/dev/null; then
2876 test -d ./-p && rmdir ./-p
2880 as_executable_p="test -f"
2882 # Sed expression to map a string onto a valid CPP name.
2883 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2885 # Sed expression to map a string onto a valid variable name.
2886 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2890 # We need space, tab and new line, in precisely that order.
2900 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2901 # report actual input values of CONFIG_FILES etc. instead of their
2902 # values after options handling. Logging --version etc. is OK.
2906 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2907 ## Running $as_me. ##
2912 This file was extended by parseThat $as_me 1.0, which was
2913 generated by GNU Autoconf 2.59. Invocation command line was
2915 CONFIG_FILES = $CONFIG_FILES
2916 CONFIG_HEADERS = $CONFIG_HEADERS
2917 CONFIG_LINKS = $CONFIG_LINKS
2918 CONFIG_COMMANDS = $CONFIG_COMMANDS
2922 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2926 # Files that config.status was made for.
2927 if test -n "$ac_config_files"; then
2928 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2931 if test -n "$ac_config_headers"; then
2932 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2935 if test -n "$ac_config_links"; then
2936 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2939 if test -n "$ac_config_commands"; then
2940 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2943 cat >>$CONFIG_STATUS <<\_ACEOF
2946 \`$as_me' instantiates files from templates according to the
2947 current configuration.
2949 Usage: $0 [OPTIONS] [FILE]...
2951 -h, --help print this help, then exit
2952 -V, --version print version number, then exit
2953 -q, --quiet do not print progress messages
2954 -d, --debug don't remove temporary files
2955 --recheck update $as_me by reconfiguring in the same conditions
2956 --file=FILE[:TEMPLATE]
2957 instantiate the configuration file FILE
2959 Configuration files:
2962 Report bugs to <bug-autoconf@gnu.org>."
2965 cat >>$CONFIG_STATUS <<_ACEOF
2967 parseThat config.status 1.0
2968 configured by $0, generated by GNU Autoconf 2.59,
2969 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2971 Copyright (C) 2003 Free Software Foundation, Inc.
2972 This config.status script is free software; the Free Software Foundation
2973 gives unlimited permission to copy, distribute and modify it."
2978 cat >>$CONFIG_STATUS <<\_ACEOF
2979 # If no file are specified by the user, then we need to provide default
2980 # value. By we need to know if files were specified by the user.
2986 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2987 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2995 *) # This is not an option, so the user has probably given explicit
2998 ac_need_defaults=false;;
3002 # Handling of the options.
3004 cat >>$CONFIG_STATUS <<\_ACEOF
3005 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3007 --version | --vers* | -V )
3008 echo "$ac_cs_version"; exit 0 ;;
3010 # Conflict between --help and --header
3011 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3012 Try \`$0 --help' for more information." >&5
3013 echo "$as_me: error: ambiguous option: $1
3014 Try \`$0 --help' for more information." >&2;}
3015 { (exit 1); exit 1; }; };;
3016 --help | --hel | -h )
3017 echo "$ac_cs_usage"; exit 0 ;;
3018 --debug | --d* | -d )
3020 --file | --fil | --fi | --f )
3022 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3023 ac_need_defaults=false;;
3024 --header | --heade | --head | --hea )
3026 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3027 ac_need_defaults=false;;
3028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3029 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3033 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3034 Try \`$0 --help' for more information." >&5
3035 echo "$as_me: error: unrecognized option: $1
3036 Try \`$0 --help' for more information." >&2;}
3037 { (exit 1); exit 1; }; } ;;
3039 *) ac_config_targets="$ac_config_targets $1" ;;
3045 ac_configure_extra_args=
3047 if $ac_cs_silent; then
3049 ac_configure_extra_args="$ac_configure_extra_args --silent"
3053 cat >>$CONFIG_STATUS <<_ACEOF
3054 if \$ac_cs_recheck; then
3055 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3056 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3065 cat >>$CONFIG_STATUS <<\_ACEOF
3066 for ac_config_target in $ac_config_targets
3068 case "$ac_config_target" in
3069 # Handling of arguments.
3070 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3071 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3072 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3073 { (exit 1); exit 1; }; };;
3077 # If the user did not use the arguments to specify the items to instantiate,
3078 # then the envvar interface is used. Set only those that are not.
3079 # We use the long form for the default assignment because of an extremely
3080 # bizarre bug on SunOS 4.1.3.
3081 if $ac_need_defaults; then
3082 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3085 # Have a temporary directory for convenience. Make it in the build tree
3086 # simply because there is no reason to put it here, and in addition,
3087 # creating and moving files from /tmp can sometimes cause problems.
3088 # Create a temporary directory, and hook for its removal unless debugging.
3091 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3092 trap '{ (exit 1); exit 1; }' 1 2 13 15
3095 # Create a (secure) tmp directory for tmp files.
3098 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3099 test -n "$tmp" && test -d "$tmp"
3102 tmp=./confstat$$-$RANDOM
3103 (umask 077 && mkdir $tmp)
3106 echo "$me: cannot create a temporary directory in ." >&2
3107 { (exit 1); exit 1; }
3112 cat >>$CONFIG_STATUS <<_ACEOF
3115 # CONFIG_FILES section.
3118 # No need to generate the scripts if there are no CONFIG_FILES.
3119 # This happens for instance when ./config.status config.h
3120 if test -n "\$CONFIG_FILES"; then
3121 # Protect against being on the right side of a sed subst in config.status.
3122 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3123 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3124 s,@SHELL@,$SHELL,;t t
3125 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3126 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3127 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3128 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3129 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3130 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3131 s,@exec_prefix@,$exec_prefix,;t t
3132 s,@prefix@,$prefix,;t t
3133 s,@program_transform_name@,$program_transform_name,;t t
3134 s,@bindir@,$bindir,;t t
3135 s,@sbindir@,$sbindir,;t t
3136 s,@libexecdir@,$libexecdir,;t t
3137 s,@datadir@,$datadir,;t t
3138 s,@sysconfdir@,$sysconfdir,;t t
3139 s,@sharedstatedir@,$sharedstatedir,;t t
3140 s,@localstatedir@,$localstatedir,;t t
3141 s,@libdir@,$libdir,;t t
3142 s,@includedir@,$includedir,;t t
3143 s,@oldincludedir@,$oldincludedir,;t t
3144 s,@infodir@,$infodir,;t t
3145 s,@mandir@,$mandir,;t t
3146 s,@build_alias@,$build_alias,;t t
3147 s,@host_alias@,$host_alias,;t t
3148 s,@target_alias@,$target_alias,;t t
3150 s,@ECHO_C@,$ECHO_C,;t t
3151 s,@ECHO_N@,$ECHO_N,;t t
3152 s,@ECHO_T@,$ECHO_T,;t t
3154 s,@LDFLAGS@,$LDFLAGS,;t t
3155 s,@CPPFLAGS@,$CPPFLAGS,;t t
3156 s,@build@,$build,;t t
3157 s,@build_cpu@,$build_cpu,;t t
3158 s,@build_vendor@,$build_vendor,;t t
3159 s,@build_os@,$build_os,;t t
3161 s,@host_cpu@,$host_cpu,;t t
3162 s,@host_vendor@,$host_vendor,;t t
3163 s,@host_os@,$host_os,;t t
3165 s,@CXXFLAGS@,$CXXFLAGS,;t t
3166 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3167 s,@EXEEXT@,$EXEEXT,;t t
3168 s,@OBJEXT@,$OBJEXT,;t t
3169 s,@DYNINST_VER@,$DYNINST_VER,;t t
3170 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3171 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3172 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3173 s,@LIBOBJS@,$LIBOBJS,;t t
3174 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3179 cat >>$CONFIG_STATUS <<\_ACEOF
3180 # Split the substitutions into bite-sized pieces for seds with
3181 # small command number limits, like on Digital OSF/1 and HP-UX.
3183 ac_sed_frag=1 # Number of current file.
3184 ac_beg=1 # First line for current file.
3185 ac_end=$ac_max_sed_lines # Line after last line for current file.
3188 while $ac_more_lines; do
3189 if test $ac_beg -gt 1; then
3190 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3192 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3194 if test ! -s $tmp/subs.frag; then
3197 # The purpose of the label and of the branching condition is to
3198 # speed up the sed processing (if there are no `@' at all, there
3199 # is no need to browse any of the substitutions).
3200 # These are the two extra sed commands mentioned above.
3202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3203 if test -z "$ac_sed_cmds"; then
3204 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3206 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3208 ac_sed_frag=`expr $ac_sed_frag + 1`
3210 ac_end=`expr $ac_end + $ac_max_sed_lines`
3213 if test -z "$ac_sed_cmds"; then
3216 fi # test -n "$CONFIG_FILES"
3219 cat >>$CONFIG_STATUS <<\_ACEOF
3220 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3221 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3223 - | *:- | *:-:* ) # input from stdin
3225 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3226 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3227 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3228 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3229 * ) ac_file_in=$ac_file.in ;;
3232 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3233 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3235 X"$ac_file" : 'X\(//\)[^/]' \| \
3236 X"$ac_file" : 'X\(//\)$' \| \
3237 X"$ac_file" : 'X\(/\)' \| \
3238 . : '\(.\)' 2>/dev/null ||
3240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3242 /^X\(\/\/\)$/{ s//\1/; q; }
3243 /^X\(\/\).*/{ s//\1/; q; }
3245 { if $as_mkdir_p; then
3250 while test ! -d "$as_dir"; do
3251 as_dirs="$as_dir $as_dirs"
3252 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3254 X"$as_dir" : 'X\(//\)[^/]' \| \
3255 X"$as_dir" : 'X\(//\)$' \| \
3256 X"$as_dir" : 'X\(/\)' \| \
3257 . : '\(.\)' 2>/dev/null ||
3259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3261 /^X\(\/\/\)$/{ s//\1/; q; }
3262 /^X\(\/\).*/{ s//\1/; q; }
3265 test ! -n "$as_dirs" || mkdir $as_dirs
3266 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3267 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3268 { (exit 1); exit 1; }; }; }
3272 if test "$ac_dir" != .; then
3273 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3274 # A "../" for each directory in $ac_dir_suffix.
3275 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3277 ac_dir_suffix= ac_top_builddir=
3281 .) # No --srcdir option. We are building in place.
3283 if test -z "$ac_top_builddir"; then
3286 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3288 [\\/]* | ?:[\\/]* ) # Absolute path.
3289 ac_srcdir=$srcdir$ac_dir_suffix;
3290 ac_top_srcdir=$srcdir ;;
3292 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3293 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3296 # Do not use `cd foo && pwd` to compute absolute paths, because
3297 # the directories may not exist.
3299 .) ac_abs_builddir="$ac_dir";;
3302 .) ac_abs_builddir=`pwd`;;
3303 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3304 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3307 case $ac_abs_builddir in
3308 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3310 case ${ac_top_builddir}. in
3311 .) ac_abs_top_builddir=$ac_abs_builddir;;
3312 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3313 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3316 case $ac_abs_builddir in
3317 .) ac_abs_srcdir=$ac_srcdir;;
3320 .) ac_abs_srcdir=$ac_abs_builddir;;
3321 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3322 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3325 case $ac_abs_builddir in
3326 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3328 case $ac_top_srcdir in
3329 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3330 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3331 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3337 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3338 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3341 if test x"$ac_file" != x-; then
3342 { echo "$as_me:$LINENO: creating $ac_file" >&5
3343 echo "$as_me: creating $ac_file" >&6;}
3346 # Let's still pretend it is `configure' which instantiates (i.e., don't
3347 # use $as_me), people would be surprised to read:
3348 # /* config.h. Generated by config.status. */
3349 if test x"$ac_file" = x-; then
3352 configure_input="$ac_file. "
3354 configure_input=$configure_input"Generated from `echo $ac_file_in |
3355 sed 's,.*/,,'` by configure."
3357 # First look for the input files in the build tree, otherwise in the
3359 ac_file_inputs=`IFS=:
3360 for f in $ac_file_in; do
3362 -) echo $tmp/stdin ;;
3364 # Absolute (can't be DOS-style, as IFS=:)
3365 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3366 echo "$as_me: error: cannot find input file: $f" >&2;}
3367 { (exit 1); exit 1; }; }
3370 if test -f "$f"; then
3373 elif test -f "$srcdir/$f"; then
3378 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3379 echo "$as_me: error: cannot find input file: $f" >&2;}
3380 { (exit 1); exit 1; }; }
3383 done` || { (exit 1); exit 1; }
3385 cat >>$CONFIG_STATUS <<_ACEOF
3389 cat >>$CONFIG_STATUS <<\_ACEOF
3391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3392 s,@configure_input@,$configure_input,;t t
3393 s,@srcdir@,$ac_srcdir,;t t
3394 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3395 s,@top_srcdir@,$ac_top_srcdir,;t t
3396 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3397 s,@builddir@,$ac_builddir,;t t
3398 s,@abs_builddir@,$ac_abs_builddir,;t t
3399 s,@top_builddir@,$ac_top_builddir,;t t
3400 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3401 s,@INSTALL@,$ac_INSTALL,;t t
3402 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3404 if test x"$ac_file" != x-; then
3405 mv $tmp/out $ac_file
3414 cat >>$CONFIG_STATUS <<\_ACEOF
3416 { (exit 0); exit 0; }
3418 chmod +x $CONFIG_STATUS
3419 ac_clean_files=$ac_clean_files_save
3422 # configure is writing to config.log, and then calls config.status.
3423 # config.status does its own redirection, appending to config.log.
3424 # Unfortunately, on DOS this fails, as config.log is still kept open
3425 # by configure, so config.status won't be able to write to it; its
3426 # output is simply discarded. So we exec the FD to /dev/null,
3427 # effectively closing config.log, so it can be properly (re)opened and
3428 # appended to by config.status. When coming back to configure, we
3429 # need to make the FD available again.
3430 if test "$no_create" != yes; then
3432 ac_config_status_args=
3433 test "$silent" = yes &&
3434 ac_config_status_args="$ac_config_status_args --quiet"
3436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3439 # would make configure fail if this is the last instruction.
3440 $ac_cs_success || { (exit 1); exit 1; }