2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for parseThat 1.0.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME='parseThat'
268 PACKAGE_TARNAME='parsethat'
269 PACKAGE_VERSION='1.0'
270 PACKAGE_STRING='parseThat 1.0'
273 ac_unique_file="src/config.C"
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CPPFLAGS LDFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CXX CXXFLAGS ac_ct_CXX EXEEXT OBJEXT DYNINST_VER INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CXX_set=${CXX+set}
717 ac_env_CXX_value=$CXX
718 ac_cv_env_CXX_set=${CXX+set}
719 ac_cv_env_CXX_value=$CXX
720 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
721 ac_env_CXXFLAGS_value=$CXXFLAGS
722 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
723 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
740 \`configure' configures parseThat 1.0 to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
794 --build=BUILD configure for building on BUILD [guessed]
795 --host=HOST cross-compile to build programs to run on HOST [BUILD]
799 if test -n "$ac_init_help"; then
800 case $ac_init_help in
801 short | recursive ) echo "Configuration of parseThat 1.0:";;
805 Some influential environment variables:
806 CXX C++ compiler command
807 CXXFLAGS C++ compiler flags
808 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
809 nonstandard directory <lib dir>
810 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
811 headers in a nonstandard directory <include dir>
813 Use these variables to override the choices made by `configure' or to help
814 it to find libraries and programs with nonstandard names/locations.
819 if test "$ac_init_help" = "recursive"; then
820 # If there are subdirs, report their specific --help.
822 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
823 test -d $ac_dir || continue
826 if test "$ac_dir" != .; then
827 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
828 # A "../" for each directory in $ac_dir_suffix.
829 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
831 ac_dir_suffix= ac_top_builddir=
835 .) # No --srcdir option. We are building in place.
837 if test -z "$ac_top_builddir"; then
840 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
842 [\\/]* | ?:[\\/]* ) # Absolute path.
843 ac_srcdir=$srcdir$ac_dir_suffix;
844 ac_top_srcdir=$srcdir ;;
846 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
847 ac_top_srcdir=$ac_top_builddir$srcdir ;;
849 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
851 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
852 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
853 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
854 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
857 # Check for guested configure; otherwise get Cygnus style configure.
858 if test -f $ac_srcdir/configure.gnu; then
860 $SHELL $ac_srcdir/configure.gnu --help=recursive
861 elif test -f $ac_srcdir/configure; then
863 $SHELL $ac_srcdir/configure --help=recursive
864 elif test -f $ac_srcdir/configure.ac ||
865 test -f $ac_srcdir/configure.in; then
869 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
875 test -n "$ac_init_help" && exit 0
876 if $ac_init_version; then
878 parseThat configure 1.0
879 generated by GNU Autoconf 2.57
881 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
882 Free Software Foundation, Inc.
883 This configure script is free software; the Free Software Foundation
884 gives unlimited permission to copy, distribute and modify it.
890 This file contains any messages produced by compilers while
891 running configure, to aid debugging if configure makes a mistake.
893 It was created by parseThat $as_me 1.0, which was
894 generated by GNU Autoconf 2.57. Invocation command line was
905 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
906 uname -m = `(uname -m) 2>/dev/null || echo unknown`
907 uname -r = `(uname -r) 2>/dev/null || echo unknown`
908 uname -s = `(uname -s) 2>/dev/null || echo unknown`
909 uname -v = `(uname -v) 2>/dev/null || echo unknown`
911 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
912 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
914 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
915 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
916 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
917 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
918 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
919 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
920 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
928 test -z "$as_dir" && as_dir=.
944 # Keep a trace of the command line.
945 # Strip out --no-create and --no-recursion so they do not pile up.
946 # Strip out --silent because we don't want to record it for future runs.
947 # Also quote any args containing shell meta-characters.
948 # Make two passes to allow for proper duplicate-argument suppression.
953 ac_must_keep_next=false
959 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961 | -silent | --silent | --silen | --sile | --sil)
963 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
964 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
967 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
969 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
970 if test $ac_must_keep_next = true; then
971 ac_must_keep_next=false # Got value, back to normal.
974 *=* | --config-cache | -C | -disable-* | --disable-* \
975 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
976 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
977 | -with-* | --with-* | -without-* | --without-* | --x)
978 case "$ac_configure_args0 " in
979 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
982 -* ) ac_must_keep_next=true ;;
985 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
986 # Get rid of the leading space.
992 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
993 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
995 # When interrupted or exit'd, cleanup temporary files, and complete
996 # config.log. We remove comments because anyway the quotes in there
997 # would cause problems or look ugly.
998 # WARNING: Be sure not to use single quotes in there, as some shells,
999 # such as our DU 5.0 friend, will then `close' the trap.
1000 trap 'exit_status=$?
1001 # Save into config.log some information that might help in debugging.
1006 ## ---------------- ##
1007 ## Cache variables. ##
1008 ## ---------------- ##
1011 # The following way of writing the cache mishandles newlines in values,
1014 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1017 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1022 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1029 ## ----------------- ##
1030 ## Output variables. ##
1031 ## ----------------- ##
1034 for ac_var in $ac_subst_vars
1036 eval ac_val=$`echo $ac_var`
1037 echo "$ac_var='"'"'$ac_val'"'"'"
1041 if test -n "$ac_subst_files"; then
1048 for ac_var in $ac_subst_files
1050 eval ac_val=$`echo $ac_var`
1051 echo "$ac_var='"'"'$ac_val'"'"'"
1056 if test -s confdefs.h; then
1063 sed "/^$/d" confdefs.h | sort
1066 test "$ac_signal" != 0 &&
1067 echo "$as_me: caught signal $ac_signal"
1068 echo "$as_me: exit $exit_status"
1070 rm -f core core.* *.core &&
1071 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1074 for ac_signal in 1 2 13 15; do
1075 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1080 rm -rf conftest* confdefs.h
1081 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1084 # Predefined preprocessor variables.
1086 cat >>confdefs.h <<_ACEOF
1087 #define PACKAGE_NAME "$PACKAGE_NAME"
1091 cat >>confdefs.h <<_ACEOF
1092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1096 cat >>confdefs.h <<_ACEOF
1097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1101 cat >>confdefs.h <<_ACEOF
1102 #define PACKAGE_STRING "$PACKAGE_STRING"
1106 cat >>confdefs.h <<_ACEOF
1107 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1111 # Let the site file select an alternate cache file if it wants to.
1112 # Prefer explicitly selected file to automatically selected ones.
1113 if test -z "$CONFIG_SITE"; then
1114 if test "x$prefix" != xNONE; then
1115 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1117 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1120 for ac_site_file in $CONFIG_SITE; do
1121 if test -r "$ac_site_file"; then
1122 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1123 echo "$as_me: loading site script $ac_site_file" >&6;}
1124 sed 's/^/| /' "$ac_site_file" >&5
1129 if test -r "$cache_file"; then
1130 # Some versions of bash will fail to source /dev/null (special
1131 # files actually), so we avoid doing that.
1132 if test -f "$cache_file"; then
1133 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1134 echo "$as_me: loading cache $cache_file" >&6;}
1136 [\\/]* | ?:[\\/]* ) . $cache_file;;
1137 *) . ./$cache_file;;
1141 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1142 echo "$as_me: creating cache $cache_file" >&6;}
1146 # Check that the precious variables saved in the cache have kept the same
1148 ac_cache_corrupted=false
1149 for ac_var in `(set) 2>&1 |
1150 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1151 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1152 eval ac_new_set=\$ac_env_${ac_var}_set
1153 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1154 eval ac_new_val="\$ac_env_${ac_var}_value"
1155 case $ac_old_set,$ac_new_set in
1157 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1158 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1159 ac_cache_corrupted=: ;;
1161 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1162 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1163 ac_cache_corrupted=: ;;
1166 if test "x$ac_old_val" != "x$ac_new_val"; then
1167 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1168 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1169 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1170 echo "$as_me: former value: $ac_old_val" >&2;}
1171 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1172 echo "$as_me: current value: $ac_new_val" >&2;}
1173 ac_cache_corrupted=:
1176 # Pass precious variables to config.status.
1177 if test "$ac_new_set" = set; then
1179 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1180 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1181 *) ac_arg=$ac_var=$ac_new_val ;;
1183 case " $ac_configure_args " in
1184 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1185 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1189 if $ac_cache_corrupted; then
1190 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1191 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1192 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1193 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1194 { (exit 1); exit 1; }; }
1198 ac_cpp='$CPP $CPPFLAGS'
1199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1232 if test -n ${DYNINST_ROOT}; then
1233 # Add search paths to CPPFLAGS and LDFLAGS.
1234 CPPFLAGS="-I${DYNINST_ROOT}/core -I${DYNINST_ROOT}/core/dyninstAPI/h ${CPPFLAGS}"
1236 LDFLAGS="-L${DYNINST_ROOT}/${PLATFORM}/lib ${LDFLAGS}"
1240 # Generate host string.
1242 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1243 if test -f $ac_dir/install-sh; then
1245 ac_install_sh="$ac_aux_dir/install-sh -c"
1247 elif test -f $ac_dir/install.sh; then
1249 ac_install_sh="$ac_aux_dir/install.sh -c"
1251 elif test -f $ac_dir/shtool; then
1253 ac_install_sh="$ac_aux_dir/shtool install -c"
1257 if test -z "$ac_aux_dir"; then
1258 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1259 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1260 { (exit 1); exit 1; }; }
1262 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1263 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1264 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1266 # Make sure we can run config.sub.
1267 $ac_config_sub sun4 >/dev/null 2>&1 ||
1268 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1269 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1270 { (exit 1); exit 1; }; }
1272 echo "$as_me:$LINENO: checking build system type" >&5
1273 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1274 if test "${ac_cv_build+set}" = set; then
1275 echo $ECHO_N "(cached) $ECHO_C" >&6
1277 ac_cv_build_alias=$build_alias
1278 test -z "$ac_cv_build_alias" &&
1279 ac_cv_build_alias=`$ac_config_guess`
1280 test -z "$ac_cv_build_alias" &&
1281 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1282 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1283 { (exit 1); exit 1; }; }
1284 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1285 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1286 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1287 { (exit 1); exit 1; }; }
1290 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1291 echo "${ECHO_T}$ac_cv_build" >&6
1293 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1294 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1295 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1298 echo "$as_me:$LINENO: checking host system type" >&5
1299 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1300 if test "${ac_cv_host+set}" = set; then
1301 echo $ECHO_N "(cached) $ECHO_C" >&6
1303 ac_cv_host_alias=$host_alias
1304 test -z "$ac_cv_host_alias" &&
1305 ac_cv_host_alias=$ac_cv_build_alias
1306 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1307 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1308 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1309 { (exit 1); exit 1; }; }
1312 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1313 echo "${ECHO_T}$ac_cv_host" >&6
1315 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1316 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1317 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1321 # Build all configure tests with C++ compiler.
1323 ac_cpp='$CXXCPP $CPPFLAGS'
1324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1329 # sha1.C requres these system files and endianess to be tested.
1331 ac_cpp='$CXXCPP $CPPFLAGS'
1332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1335 if test -n "$ac_tool_prefix"; then
1336 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1340 echo "$as_me:$LINENO: checking for $ac_word" >&5
1341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1342 if test "${ac_cv_prog_CXX+set}" = set; then
1343 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 if test -n "$CXX"; then
1346 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1352 test -z "$as_dir" && as_dir=.
1353 for ac_exec_ext in '' $ac_executable_extensions; do
1354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1355 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1365 if test -n "$CXX"; then
1366 echo "$as_me:$LINENO: result: $CXX" >&5
1367 echo "${ECHO_T}$CXX" >&6
1369 echo "$as_me:$LINENO: result: no" >&5
1370 echo "${ECHO_T}no" >&6
1373 test -n "$CXX" && break
1376 if test -z "$CXX"; then
1378 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1380 # Extract the first word of "$ac_prog", so it can be a program name with args.
1381 set dummy $ac_prog; ac_word=$2
1382 echo "$as_me:$LINENO: checking for $ac_word" >&5
1383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1384 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 if test -n "$ac_ct_CXX"; then
1388 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1394 test -z "$as_dir" && as_dir=.
1395 for ac_exec_ext in '' $ac_executable_extensions; do
1396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1397 ac_cv_prog_ac_ct_CXX="$ac_prog"
1398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1407 if test -n "$ac_ct_CXX"; then
1408 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1409 echo "${ECHO_T}$ac_ct_CXX" >&6
1411 echo "$as_me:$LINENO: result: no" >&5
1412 echo "${ECHO_T}no" >&6
1415 test -n "$ac_ct_CXX" && break
1417 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1423 # Provide some information about the compiler.
1424 echo "$as_me:$LINENO:" \
1425 "checking for C++ compiler version" >&5
1426 ac_compiler=`set X $ac_compile; echo $2`
1427 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1428 (eval $ac_compiler --version </dev/null >&5) 2>&5
1430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1431 (exit $ac_status); }
1432 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1433 (eval $ac_compiler -v </dev/null >&5) 2>&5
1435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1436 (exit $ac_status); }
1437 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1438 (eval $ac_compiler -V </dev/null >&5) 2>&5
1440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1441 (exit $ac_status); }
1443 cat >conftest.$ac_ext <<_ACEOF
1444 #line $LINENO "configure"
1447 cat confdefs.h >>conftest.$ac_ext
1448 cat >>conftest.$ac_ext <<_ACEOF
1449 /* end confdefs.h. */
1459 ac_clean_files_save=$ac_clean_files
1460 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1461 # Try to create an executable without -o first, disregard a.out.
1462 # It will help us diagnose broken compilers, and finding out an intuition
1464 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1465 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1466 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1467 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1468 (eval $ac_link_default) 2>&5
1470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1471 (exit $ac_status); }; then
1472 # Find the output, starting from the most likely. This scheme is
1473 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1476 # Be careful to initialize this variable, since it used to be cached.
1477 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1479 # b.out is created by i960 compilers.
1480 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1482 test -f "$ac_file" || continue
1484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1487 # This is the source file.
1490 # We found the default executable, but exeext='' is most
1494 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1495 # FIXME: I believe we export ac_cv_exeext for Libtool,
1496 # but it would be cool to find out if it's true. Does anybody
1497 # maintain Libtool? --akim.
1505 echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1508 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1509 See \`config.log' for more details." >&5
1510 echo "$as_me: error: C++ compiler cannot create executables
1511 See \`config.log' for more details." >&2;}
1512 { (exit 77); exit 77; }; }
1515 ac_exeext=$ac_cv_exeext
1516 echo "$as_me:$LINENO: result: $ac_file" >&5
1517 echo "${ECHO_T}$ac_file" >&6
1519 # Check the compiler produces executables we can run. If not, either
1520 # the compiler is broken, or we cross compile.
1521 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1522 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1523 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1524 # If not cross compiling, check that we can run a simple program.
1525 if test "$cross_compiling" != yes; then
1526 if { ac_try='./$ac_file'
1527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1531 (exit $ac_status); }; }; then
1534 if test "$cross_compiling" = maybe; then
1537 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1538 If you meant to cross compile, use \`--host'.
1539 See \`config.log' for more details." >&5
1540 echo "$as_me: error: cannot run C++ compiled programs.
1541 If you meant to cross compile, use \`--host'.
1542 See \`config.log' for more details." >&2;}
1543 { (exit 1); exit 1; }; }
1547 echo "$as_me:$LINENO: result: yes" >&5
1548 echo "${ECHO_T}yes" >&6
1550 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1551 ac_clean_files=$ac_clean_files_save
1552 # Check the compiler produces executables we can run. If not, either
1553 # the compiler is broken, or we cross compile.
1554 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1555 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1556 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1557 echo "${ECHO_T}$cross_compiling" >&6
1559 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1560 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1562 (eval $ac_link) 2>&5
1564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1565 (exit $ac_status); }; then
1566 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1567 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1568 # work properly (i.e., refer to `conftest.exe'), while it won't with
1570 for ac_file in conftest.exe conftest conftest.*; do
1571 test -f "$ac_file" || continue
1573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1574 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1581 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1582 See \`config.log' for more details." >&5
1583 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1584 See \`config.log' for more details." >&2;}
1585 { (exit 1); exit 1; }; }
1588 rm -f conftest$ac_cv_exeext
1589 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1590 echo "${ECHO_T}$ac_cv_exeext" >&6
1592 rm -f conftest.$ac_ext
1593 EXEEXT=$ac_cv_exeext
1595 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1596 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1597 if test "${ac_cv_objext+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 cat >conftest.$ac_ext <<_ACEOF
1601 #line $LINENO "configure"
1604 cat confdefs.h >>conftest.$ac_ext
1605 cat >>conftest.$ac_ext <<_ACEOF
1606 /* end confdefs.h. */
1616 rm -f conftest.o conftest.obj
1617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1618 (eval $ac_compile) 2>&5
1620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1621 (exit $ac_status); }; then
1622 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1625 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1630 echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.$ac_ext >&5
1633 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1634 See \`config.log' for more details." >&5
1635 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1636 See \`config.log' for more details." >&2;}
1637 { (exit 1); exit 1; }; }
1640 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1642 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1643 echo "${ECHO_T}$ac_cv_objext" >&6
1644 OBJEXT=$ac_cv_objext
1646 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1647 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1648 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 cat >conftest.$ac_ext <<_ACEOF
1652 #line $LINENO "configure"
1655 cat confdefs.h >>conftest.$ac_ext
1656 cat >>conftest.$ac_ext <<_ACEOF
1657 /* end confdefs.h. */
1670 rm -f conftest.$ac_objext
1671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1672 (eval $ac_compile) 2>&5
1674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1675 (exit $ac_status); } &&
1676 { ac_try='test -s conftest.$ac_objext'
1677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1681 (exit $ac_status); }; }; then
1684 echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1689 rm -f conftest.$ac_objext conftest.$ac_ext
1690 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1693 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1694 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1695 GXX=`test $ac_compiler_gnu = yes && echo yes`
1696 ac_test_CXXFLAGS=${CXXFLAGS+set}
1697 ac_save_CXXFLAGS=$CXXFLAGS
1699 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1700 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1701 if test "${ac_cv_prog_cxx_g+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 cat >conftest.$ac_ext <<_ACEOF
1705 #line $LINENO "configure"
1708 cat confdefs.h >>conftest.$ac_ext
1709 cat >>conftest.$ac_ext <<_ACEOF
1710 /* end confdefs.h. */
1720 rm -f conftest.$ac_objext
1721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1722 (eval $ac_compile) 2>&5
1724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1725 (exit $ac_status); } &&
1726 { ac_try='test -s conftest.$ac_objext'
1727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }; }; then
1732 ac_cv_prog_cxx_g=yes
1734 echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1739 rm -f conftest.$ac_objext conftest.$ac_ext
1741 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1742 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1743 if test "$ac_test_CXXFLAGS" = set; then
1744 CXXFLAGS=$ac_save_CXXFLAGS
1745 elif test $ac_cv_prog_cxx_g = yes; then
1746 if test "$GXX" = yes; then
1752 if test "$GXX" = yes; then
1758 for ac_declaration in \
1760 '#include <stdlib.h>' \
1761 'extern "C" void std::exit (int) throw (); using std::exit;' \
1762 'extern "C" void std::exit (int); using std::exit;' \
1763 'extern "C" void exit (int) throw ();' \
1764 'extern "C" void exit (int);' \
1767 cat >conftest.$ac_ext <<_ACEOF
1768 #line $LINENO "configure"
1771 cat confdefs.h >>conftest.$ac_ext
1772 cat >>conftest.$ac_ext <<_ACEOF
1773 /* end confdefs.h. */
1784 rm -f conftest.$ac_objext
1785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1786 (eval $ac_compile) 2>&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); } &&
1790 { ac_try='test -s conftest.$ac_objext'
1791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }; }; then
1798 echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1803 rm -f conftest.$ac_objext conftest.$ac_ext
1804 cat >conftest.$ac_ext <<_ACEOF
1805 #line $LINENO "configure"
1808 cat confdefs.h >>conftest.$ac_ext
1809 cat >>conftest.$ac_ext <<_ACEOF
1810 /* end confdefs.h. */
1820 rm -f conftest.$ac_objext
1821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1822 (eval $ac_compile) 2>&5
1824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1825 (exit $ac_status); } &&
1826 { ac_try='test -s conftest.$ac_objext'
1827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831 (exit $ac_status); }; }; then
1834 echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1838 rm -f conftest.$ac_objext conftest.$ac_ext
1841 if test -n "$ac_declaration"; then
1842 echo '#ifdef __cplusplus' >>confdefs.h
1843 echo $ac_declaration >>confdefs.h
1844 echo '#endif' >>confdefs.h
1848 ac_cpp='$CXXCPP $CPPFLAGS'
1849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1855 for ac_header in inttypes.h
1857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1858 echo "$as_me:$LINENO: checking for $ac_header" >&5
1859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 cat >conftest.$ac_ext <<_ACEOF
1864 #line $LINENO "configure"
1867 cat confdefs.h >>conftest.$ac_ext
1868 cat >>conftest.$ac_ext <<_ACEOF
1869 /* end confdefs.h. */
1870 // Do not use default includes
1872 #include <$ac_header>
1874 rm -f conftest.$ac_objext
1875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1876 (eval $ac_compile) 2>&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); } &&
1880 { ac_try='test -s conftest.$ac_objext'
1881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; }; then
1886 eval "$as_ac_Header=yes"
1888 echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 eval "$as_ac_Header=no"
1893 rm -f conftest.$ac_objext conftest.$ac_ext
1895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
1898 cat >>confdefs.h <<_ACEOF
1899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1907 for ac_header in stdint.h
1909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1910 echo "$as_me:$LINENO: checking for $ac_header" >&5
1911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 cat >conftest.$ac_ext <<_ACEOF
1916 #line $LINENO "configure"
1919 cat confdefs.h >>conftest.$ac_ext
1920 cat >>conftest.$ac_ext <<_ACEOF
1921 /* end confdefs.h. */
1922 // Do not use default includes
1924 #include <$ac_header>
1926 rm -f conftest.$ac_objext
1927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1928 (eval $ac_compile) 2>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); } &&
1932 { ac_try='test -s conftest.$ac_objext'
1933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); }; }; then
1938 eval "$as_ac_Header=yes"
1940 echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1943 eval "$as_ac_Header=no"
1945 rm -f conftest.$ac_objext conftest.$ac_ext
1947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
1950 cat >>confdefs.h <<_ACEOF
1951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1958 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
1959 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
1960 if test "${ac_cv_c_bigendian+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 # See if sys/param.h defines the BYTE_ORDER macro.
1964 cat >conftest.$ac_ext <<_ACEOF
1965 #line $LINENO "configure"
1968 cat confdefs.h >>conftest.$ac_ext
1969 cat >>conftest.$ac_ext <<_ACEOF
1970 /* end confdefs.h. */
1971 #include <sys/types.h>
1972 #include <sys/param.h>
1977 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
1985 rm -f conftest.$ac_objext
1986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1987 (eval $ac_compile) 2>&5
1989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1990 (exit $ac_status); } &&
1991 { ac_try='test -s conftest.$ac_objext'
1992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); }; }; then
1997 # It does; now see whether it defined to BIG_ENDIAN or not.
1998 cat >conftest.$ac_ext <<_ACEOF
1999 #line $LINENO "configure"
2002 cat confdefs.h >>conftest.$ac_ext
2003 cat >>conftest.$ac_ext <<_ACEOF
2004 /* end confdefs.h. */
2005 #include <sys/types.h>
2006 #include <sys/param.h>
2011 #if BYTE_ORDER != BIG_ENDIAN
2019 rm -f conftest.$ac_objext
2020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2021 (eval $ac_compile) 2>&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); } &&
2025 { ac_try='test -s conftest.$ac_objext'
2026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; }; then
2031 ac_cv_c_bigendian=yes
2033 echo "$as_me: failed program was:" >&5
2034 sed 's/^/| /' conftest.$ac_ext >&5
2036 ac_cv_c_bigendian=no
2038 rm -f conftest.$ac_objext conftest.$ac_ext
2040 echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2043 # It does not; compile a test program.
2044 if test "$cross_compiling" = yes; then
2045 # try to guess the endianness by grepping values into an object file
2046 ac_cv_c_bigendian=unknown
2047 cat >conftest.$ac_ext <<_ACEOF
2048 #line $LINENO "configure"
2051 cat confdefs.h >>conftest.$ac_ext
2052 cat >>conftest.$ac_ext <<_ACEOF
2053 /* end confdefs.h. */
2054 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2055 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2056 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2057 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2058 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2059 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2063 _ascii (); _ebcdic ();
2068 rm -f conftest.$ac_objext
2069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2070 (eval $ac_compile) 2>&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); } &&
2074 { ac_try='test -s conftest.$ac_objext'
2075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }; }; then
2080 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2081 ac_cv_c_bigendian=yes
2083 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2084 if test "$ac_cv_c_bigendian" = unknown; then
2085 ac_cv_c_bigendian=no
2087 # finding both strings is unlikely to happen, but who knows?
2088 ac_cv_c_bigendian=unknown
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2096 rm -f conftest.$ac_objext conftest.$ac_ext
2098 cat >conftest.$ac_ext <<_ACEOF
2099 #line $LINENO "configure"
2102 cat confdefs.h >>conftest.$ac_ext
2103 cat >>conftest.$ac_ext <<_ACEOF
2104 /* end confdefs.h. */
2108 /* Are we little or big endian? From Harbison&Steele. */
2112 char c[sizeof (long)];
2115 exit (u.c[sizeof (long) - 1] == 1);
2118 rm -f conftest$ac_exeext
2119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2120 (eval $ac_link) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; }; then
2129 ac_cv_c_bigendian=no
2131 echo "$as_me: program exited with status $ac_status" >&5
2132 echo "$as_me: failed program was:" >&5
2133 sed 's/^/| /' conftest.$ac_ext >&5
2136 ac_cv_c_bigendian=yes
2138 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2141 rm -f conftest.$ac_objext conftest.$ac_ext
2143 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2144 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2145 case $ac_cv_c_bigendian in
2148 cat >>confdefs.h <<\_ACEOF
2149 #define WORDS_BIGENDIAN 1
2155 { { echo "$as_me:$LINENO: error: unknown endianness
2156 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2157 echo "$as_me: error: unknown endianness
2158 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2159 { (exit 1); exit 1; }; } ;;
2163 # Search for Dyninst in all the right places.
2164 echo "$as_me:$LINENO: checking for BPatch.h" >&5
2165 echo $ECHO_N "checking for BPatch.h... $ECHO_C" >&6
2166 if test "${ac_cv_header_BPatch_h+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 cat >conftest.$ac_ext <<_ACEOF
2170 #line $LINENO "configure"
2173 cat confdefs.h >>conftest.$ac_ext
2174 cat >>conftest.$ac_ext <<_ACEOF
2175 /* end confdefs.h. */
2176 // Do not use default includes
2180 rm -f conftest.$ac_objext
2181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2182 (eval $ac_compile) 2>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); } &&
2186 { ac_try='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 ac_cv_header_BPatch_h=yes
2194 echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.$ac_ext >&5
2197 ac_cv_header_BPatch_h=no
2199 rm -f conftest.$ac_objext conftest.$ac_ext
2201 echo "$as_me:$LINENO: result: $ac_cv_header_BPatch_h" >&5
2202 echo "${ECHO_T}$ac_cv_header_BPatch_h" >&6
2203 if test $ac_cv_header_BPatch_h = yes; then
2206 { { echo "$as_me:$LINENO: error: Cannot find DyninstAPI library include files." >&5
2207 echo "$as_me: error: Cannot find DyninstAPI library include files." >&2;}
2208 { (exit 1); exit 1; }; }
2213 # Check if Dyninst is version 5.0+
2215 for ac_header in BPatch_process.h
2217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2218 echo "$as_me:$LINENO: checking for $ac_header" >&5
2219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 cat >conftest.$ac_ext <<_ACEOF
2224 #line $LINENO "configure"
2227 cat confdefs.h >>conftest.$ac_ext
2228 cat >>conftest.$ac_ext <<_ACEOF
2229 /* end confdefs.h. */
2230 // Do not use default includes
2232 #include <$ac_header>
2234 rm -f conftest.$ac_objext
2235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2236 (eval $ac_compile) 2>&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); } &&
2240 { ac_try='test -s conftest.$ac_objext'
2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; }; then
2246 eval "$as_ac_Header=yes"
2248 echo "$as_me: failed program was:" >&5
2249 sed 's/^/| /' conftest.$ac_ext >&5
2251 eval "$as_ac_Header=no"
2253 rm -f conftest.$ac_objext conftest.$ac_ext
2255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2258 cat >>confdefs.h <<_ACEOF
2259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2271 # Find appropriate install program
2272 # Find a good install program. We prefer a C program (faster),
2273 # so one script is as good as another. But avoid the broken or
2274 # incompatible versions:
2275 # SysV /etc/install, /usr/sbin/install
2276 # SunOS /usr/etc/install
2277 # IRIX /sbin/install
2279 # AmigaOS /C/install, which installs bootblocks on floppy discs
2280 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2281 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2282 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2283 # ./install, which can be erroneously created by make from ./install.sh.
2284 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2285 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2286 if test -z "$INSTALL"; then
2287 if test "${ac_cv_path_install+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 # Account for people who put trailing slashes in PATH elements.
2297 ./ | .// | /cC/* | \
2298 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2301 # OSF1 and SCO ODT 3.0 have their own names for install.
2302 # Don't use installbsd from OSF since it installs stuff as root
2304 for ac_prog in ginstall scoinst install; do
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2307 if test $ac_prog = install &&
2308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2309 # AIX install. It has an incompatible calling convention.
2311 elif test $ac_prog = install &&
2312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2313 # program-specific install script used by HP pwplus--don't use.
2316 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2328 if test "${ac_cv_path_install+set}" = set; then
2329 INSTALL=$ac_cv_path_install
2331 # As a last resort, use the slow shell script. We don't cache a
2332 # path for INSTALL within a source directory, because that will
2333 # break other packages using the cache if that directory is
2334 # removed, or if the path is relative.
2335 INSTALL=$ac_install_sh
2338 echo "$as_me:$LINENO: result: $INSTALL" >&5
2339 echo "${ECHO_T}$INSTALL" >&6
2341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2342 # It thinks the first close brace ends the variable substitution.
2343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2350 ac_config_files="$ac_config_files Makefile"
2352 cat >confcache <<\_ACEOF
2353 # This file is a shell script that caches the results of configure
2354 # tests run on this system so they can be shared between configure
2355 # scripts and configure runs, see configure's option --config-cache.
2356 # It is not useful on other systems. If it contains results you don't
2357 # want to keep, you may remove or edit it.
2359 # config.status only pays attention to the cache file if you give it
2360 # the --recheck option to rerun configure.
2362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2368 # The following way of writing the cache mishandles newlines in values,
2369 # but we know of no workaround that is simple, portable, and efficient.
2370 # So, don't put newlines in cache variables' values.
2371 # Ultrix sh set writes to stderr and can't be redirected directly,
2372 # and sets the high bit in the cache file unless we assign to the vars.
2375 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2377 # `set' does not quote correctly, so add quotes (double-quote
2378 # substitution turns \\\\ into \\, and sed turns \\ into \).
2381 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2384 # `set' quotes correctly as required by POSIX, so do not add quotes.
2386 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2393 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2395 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2397 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2398 if test -w $cache_file; then
2399 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2400 cat confcache >$cache_file
2402 echo "not updating unwritable cache $cache_file"
2407 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2408 # Let make expand exec_prefix.
2409 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2411 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2412 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2413 # trailing colons and then remove the whole line if VPATH becomes empty
2414 # (actually we leave an empty line to preserve line numbers).
2415 if test "x$srcdir" = x.; then
2416 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2417 s/:*\$(srcdir):*/:/;
2418 s/:*\${srcdir}:*/:/;
2420 s/^\([^=]*=[ ]*\):*/\1/;
2426 # Transform confdefs.h into DEFS.
2427 # Protect against shell expansion while executing Makefile rules.
2428 # Protect against Makefile macro expansion.
2430 # If the first sed substitution is executed (which looks for macros that
2431 # take arguments), then we branch to the quote section. Otherwise,
2432 # look for a macro that doesn't take arguments.
2433 cat >confdef2opt.sed <<\_ACEOF
2436 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2438 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2442 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2448 # We use echo to avoid assuming a particular line-breaking character.
2449 # The extra dot is to prevent the shell from consuming trailing
2450 # line-breaks from the sub-command output. A line-break within
2451 # single-quotes doesn't work because, if this script is created in a
2452 # platform that uses two characters for line-breaks (e.g., DOS), tr
2454 ac_LF_and_DOT=`echo; echo .`
2455 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2456 rm -f confdef2opt.sed
2461 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2462 # 1. Remove the extension, and $U if already installed.
2463 ac_i=`echo "$ac_i" |
2464 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2466 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2467 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2471 LTLIBOBJS=$ac_ltlibobjs
2475 : ${CONFIG_STATUS=./config.status}
2476 ac_clean_files_save=$ac_clean_files
2477 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2478 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2479 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2480 cat >$CONFIG_STATUS <<_ACEOF
2482 # Generated by $as_me.
2483 # Run this file to recreate the current configuration.
2484 # Compiler output produced by configure, useful for debugging
2485 # configure, is in config.log if it exists.
2490 SHELL=\${CONFIG_SHELL-$SHELL}
2493 cat >>$CONFIG_STATUS <<\_ACEOF
2494 ## --------------------- ##
2495 ## M4sh Initialization. ##
2496 ## --------------------- ##
2498 # Be Bourne compatible
2499 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2502 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2503 # is contrary to our usage. Disable this feature.
2504 alias -g '${1+"$@"}'='"$@"'
2505 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2509 # Support unset when possible.
2510 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2517 # Work around bugs in pre-3.0 UWIN ksh.
2518 $as_unset ENV MAIL MAILPATH
2525 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2526 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2527 LC_TELEPHONE LC_TIME
2529 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
2530 eval $as_var=C; export $as_var
2536 # Required to use basename.
2537 if expr a : '\(a\)' >/dev/null 2>&1; then
2543 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2544 as_basename=basename
2550 # Name of the executable.
2551 as_me=`$as_basename "$0" ||
2552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2553 X"$0" : 'X\(//\)$' \| \
2554 X"$0" : 'X\(/\)$' \| \
2555 . : '\(.\)' 2>/dev/null ||
2557 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2558 /^X\/\(\/\/\)$/{ s//\1/; q; }
2559 /^X\/\(\/\).*/{ s//\1/; q; }
2563 # PATH needs CR, and LINENO needs CR and PATH.
2564 # Avoid depending upon Character Ranges.
2565 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2568 as_cr_digits='0123456789'
2569 as_cr_alnum=$as_cr_Letters$as_cr_digits
2571 # The user is always right.
2572 if test "${PATH_SEPARATOR+set}" != set; then
2573 echo "#! /bin/sh" >conf$$.sh
2574 echo "exit 0" >>conf$$.sh
2576 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2587 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2588 test "x$as_lineno_1" != "x$as_lineno_2" &&
2589 test "x$as_lineno_3" = "x$as_lineno_2" || {
2590 # Find who we are. Look in the path if we contain no path at all
2593 *[\\/]* ) as_myself=$0 ;;
2594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir=.
2599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2604 # We did not find ourselves, most probably we were run as `sh COMMAND'
2605 # in which case we are not to be found in the path.
2606 if test "x$as_myself" = x; then
2609 if test ! -f "$as_myself"; then
2610 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2611 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2612 { (exit 1); exit 1; }; }
2614 case $CONFIG_SHELL in
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2620 test -z "$as_dir" && as_dir=.
2621 for as_base in sh bash ksh sh5; do
2624 if ("$as_dir/$as_base" -c '
2627 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2628 test "x$as_lineno_1" != "x$as_lineno_2" &&
2629 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2630 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2631 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2632 CONFIG_SHELL=$as_dir/$as_base
2634 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2643 # uniformly replaced by the line number. The first 'sed' inserts a
2644 # line-number line before each line; the second 'sed' does the real
2645 # work. The second script uses 'N' to pair each line-number line
2646 # with the numbered line, and appends trailing '-' during
2647 # substitution so that $LINENO is not a special case at line end.
2648 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2649 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2650 sed '=' <$as_myself |
2655 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2658 s,^['$as_cr_digits']*\n,,
2660 chmod +x $as_me.lineno ||
2661 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2662 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2663 { (exit 1); exit 1; }; }
2665 # Don't try to exec as it changes $[0], causing all sort of problems
2666 # (the dirname of $[0] is not the place where we might find the
2667 # original and so on. Autoconf is especially sensible to this).
2669 # Exit status is that of the last command.
2674 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2675 *c*,-n*) ECHO_N= ECHO_C='
2677 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2678 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2681 if expr a : '\(a\)' >/dev/null 2>&1; then
2687 rm -f conf$$ conf$$.exe conf$$.file
2689 if ln -s conf$$.file conf$$ 2>/dev/null; then
2690 # We could just check for DJGPP; but this test a) works b) is more generic
2691 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2692 if test -f conf$$.exe; then
2693 # Don't use ln at all; we don't have any links
2698 elif ln conf$$.file conf$$ 2>/dev/null; then
2703 rm -f conf$$ conf$$.exe conf$$.file
2705 if mkdir -p . 2>/dev/null; then
2711 as_executable_p="test -f"
2713 # Sed expression to map a string onto a valid CPP name.
2714 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2716 # Sed expression to map a string onto a valid variable name.
2717 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2721 # We need space, tab and new line, in precisely that order.
2731 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2732 # report actual input values of CONFIG_FILES etc. instead of their
2733 # values after options handling. Logging --version etc. is OK.
2737 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2738 ## Running $as_me. ##
2743 This file was extended by parseThat $as_me 1.0, which was
2744 generated by GNU Autoconf 2.57. Invocation command line was
2746 CONFIG_FILES = $CONFIG_FILES
2747 CONFIG_HEADERS = $CONFIG_HEADERS
2748 CONFIG_LINKS = $CONFIG_LINKS
2749 CONFIG_COMMANDS = $CONFIG_COMMANDS
2753 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2757 # Files that config.status was made for.
2758 if test -n "$ac_config_files"; then
2759 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2762 if test -n "$ac_config_headers"; then
2763 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2766 if test -n "$ac_config_links"; then
2767 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2770 if test -n "$ac_config_commands"; then
2771 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2774 cat >>$CONFIG_STATUS <<\_ACEOF
2777 \`$as_me' instantiates files from templates according to the
2778 current configuration.
2780 Usage: $0 [OPTIONS] [FILE]...
2782 -h, --help print this help, then exit
2783 -V, --version print version number, then exit
2784 -q, --quiet do not print progress messages
2785 -d, --debug don't remove temporary files
2786 --recheck update $as_me by reconfiguring in the same conditions
2787 --file=FILE[:TEMPLATE]
2788 instantiate the configuration file FILE
2790 Configuration files:
2793 Report bugs to <bug-autoconf@gnu.org>."
2796 cat >>$CONFIG_STATUS <<_ACEOF
2798 parseThat config.status 1.0
2799 configured by $0, generated by GNU Autoconf 2.57,
2800 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2802 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2803 Free Software Foundation, Inc.
2804 This config.status script is free software; the Free Software Foundation
2805 gives unlimited permission to copy, distribute and modify it."
2810 cat >>$CONFIG_STATUS <<\_ACEOF
2811 # If no file are specified by the user, then we need to provide default
2812 # value. By we need to know if files were specified by the user.
2818 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2819 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2827 *) # This is not an option, so the user has probably given explicit
2830 ac_need_defaults=false;;
2834 # Handling of the options.
2836 cat >>$CONFIG_STATUS <<\_ACEOF
2837 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2839 --version | --vers* | -V )
2840 echo "$ac_cs_version"; exit 0 ;;
2842 # Conflict between --help and --header
2843 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2844 Try \`$0 --help' for more information." >&5
2845 echo "$as_me: error: ambiguous option: $1
2846 Try \`$0 --help' for more information." >&2;}
2847 { (exit 1); exit 1; }; };;
2848 --help | --hel | -h )
2849 echo "$ac_cs_usage"; exit 0 ;;
2850 --debug | --d* | -d )
2852 --file | --fil | --fi | --f )
2854 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2855 ac_need_defaults=false;;
2856 --header | --heade | --head | --hea )
2858 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2859 ac_need_defaults=false;;
2860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2861 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2865 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2866 Try \`$0 --help' for more information." >&5
2867 echo "$as_me: error: unrecognized option: $1
2868 Try \`$0 --help' for more information." >&2;}
2869 { (exit 1); exit 1; }; } ;;
2871 *) ac_config_targets="$ac_config_targets $1" ;;
2877 ac_configure_extra_args=
2879 if $ac_cs_silent; then
2881 ac_configure_extra_args="$ac_configure_extra_args --silent"
2885 cat >>$CONFIG_STATUS <<_ACEOF
2886 if \$ac_cs_recheck; then
2887 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2888 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2897 cat >>$CONFIG_STATUS <<\_ACEOF
2898 for ac_config_target in $ac_config_targets
2900 case "$ac_config_target" in
2901 # Handling of arguments.
2902 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2903 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2904 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2905 { (exit 1); exit 1; }; };;
2909 # If the user did not use the arguments to specify the items to instantiate,
2910 # then the envvar interface is used. Set only those that are not.
2911 # We use the long form for the default assignment because of an extremely
2912 # bizarre bug on SunOS 4.1.3.
2913 if $ac_need_defaults; then
2914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2917 # Have a temporary directory for convenience. Make it in the build tree
2918 # simply because there is no reason to put it here, and in addition,
2919 # creating and moving files from /tmp can sometimes cause problems.
2920 # Create a temporary directory, and hook for its removal unless debugging.
2923 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2924 trap '{ (exit 1); exit 1; }' 1 2 13 15
2927 # Create a (secure) tmp directory for tmp files.
2930 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2931 test -n "$tmp" && test -d "$tmp"
2934 tmp=./confstat$$-$RANDOM
2935 (umask 077 && mkdir $tmp)
2938 echo "$me: cannot create a temporary directory in ." >&2
2939 { (exit 1); exit 1; }
2944 cat >>$CONFIG_STATUS <<_ACEOF
2947 # CONFIG_FILES section.
2950 # No need to generate the scripts if there are no CONFIG_FILES.
2951 # This happens for instance when ./config.status config.h
2952 if test -n "\$CONFIG_FILES"; then
2953 # Protect against being on the right side of a sed subst in config.status.
2954 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2955 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2956 s,@SHELL@,$SHELL,;t t
2957 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2958 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2959 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2960 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2961 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2962 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2963 s,@exec_prefix@,$exec_prefix,;t t
2964 s,@prefix@,$prefix,;t t
2965 s,@program_transform_name@,$program_transform_name,;t t
2966 s,@bindir@,$bindir,;t t
2967 s,@sbindir@,$sbindir,;t t
2968 s,@libexecdir@,$libexecdir,;t t
2969 s,@datadir@,$datadir,;t t
2970 s,@sysconfdir@,$sysconfdir,;t t
2971 s,@sharedstatedir@,$sharedstatedir,;t t
2972 s,@localstatedir@,$localstatedir,;t t
2973 s,@libdir@,$libdir,;t t
2974 s,@includedir@,$includedir,;t t
2975 s,@oldincludedir@,$oldincludedir,;t t
2976 s,@infodir@,$infodir,;t t
2977 s,@mandir@,$mandir,;t t
2978 s,@build_alias@,$build_alias,;t t
2979 s,@host_alias@,$host_alias,;t t
2980 s,@target_alias@,$target_alias,;t t
2982 s,@ECHO_C@,$ECHO_C,;t t
2983 s,@ECHO_N@,$ECHO_N,;t t
2984 s,@ECHO_T@,$ECHO_T,;t t
2986 s,@CPPFLAGS@,$CPPFLAGS,;t t
2987 s,@LDFLAGS@,$LDFLAGS,;t t
2988 s,@build@,$build,;t t
2989 s,@build_cpu@,$build_cpu,;t t
2990 s,@build_vendor@,$build_vendor,;t t
2991 s,@build_os@,$build_os,;t t
2993 s,@host_cpu@,$host_cpu,;t t
2994 s,@host_vendor@,$host_vendor,;t t
2995 s,@host_os@,$host_os,;t t
2997 s,@CXXFLAGS@,$CXXFLAGS,;t t
2998 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
2999 s,@EXEEXT@,$EXEEXT,;t t
3000 s,@OBJEXT@,$OBJEXT,;t t
3001 s,@DYNINST_VER@,$DYNINST_VER,;t t
3002 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3003 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3004 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3005 s,@LIBOBJS@,$LIBOBJS,;t t
3006 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3011 cat >>$CONFIG_STATUS <<\_ACEOF
3012 # Split the substitutions into bite-sized pieces for seds with
3013 # small command number limits, like on Digital OSF/1 and HP-UX.
3015 ac_sed_frag=1 # Number of current file.
3016 ac_beg=1 # First line for current file.
3017 ac_end=$ac_max_sed_lines # Line after last line for current file.
3020 while $ac_more_lines; do
3021 if test $ac_beg -gt 1; then
3022 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3024 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3026 if test ! -s $tmp/subs.frag; then
3029 # The purpose of the label and of the branching condition is to
3030 # speed up the sed processing (if there are no `@' at all, there
3031 # is no need to browse any of the substitutions).
3032 # These are the two extra sed commands mentioned above.
3034 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3035 if test -z "$ac_sed_cmds"; then
3036 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3038 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3040 ac_sed_frag=`expr $ac_sed_frag + 1`
3042 ac_end=`expr $ac_end + $ac_max_sed_lines`
3045 if test -z "$ac_sed_cmds"; then
3048 fi # test -n "$CONFIG_FILES"
3051 cat >>$CONFIG_STATUS <<\_ACEOF
3052 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3053 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3055 - | *:- | *:-:* ) # input from stdin
3057 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3058 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3059 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3060 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3061 * ) ac_file_in=$ac_file.in ;;
3064 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3065 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3066 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3067 X"$ac_file" : 'X\(//\)[^/]' \| \
3068 X"$ac_file" : 'X\(//\)$' \| \
3069 X"$ac_file" : 'X\(/\)' \| \
3070 . : '\(.\)' 2>/dev/null ||
3072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3074 /^X\(\/\/\)$/{ s//\1/; q; }
3075 /^X\(\/\).*/{ s//\1/; q; }
3077 { if $as_mkdir_p; then
3082 while test ! -d "$as_dir"; do
3083 as_dirs="$as_dir $as_dirs"
3084 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3085 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3086 X"$as_dir" : 'X\(//\)[^/]' \| \
3087 X"$as_dir" : 'X\(//\)$' \| \
3088 X"$as_dir" : 'X\(/\)' \| \
3089 . : '\(.\)' 2>/dev/null ||
3091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3092 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3093 /^X\(\/\/\)$/{ s//\1/; q; }
3094 /^X\(\/\).*/{ s//\1/; q; }
3097 test ! -n "$as_dirs" || mkdir $as_dirs
3098 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3099 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3100 { (exit 1); exit 1; }; }; }
3104 if test "$ac_dir" != .; then
3105 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3106 # A "../" for each directory in $ac_dir_suffix.
3107 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3109 ac_dir_suffix= ac_top_builddir=
3113 .) # No --srcdir option. We are building in place.
3115 if test -z "$ac_top_builddir"; then
3118 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3120 [\\/]* | ?:[\\/]* ) # Absolute path.
3121 ac_srcdir=$srcdir$ac_dir_suffix;
3122 ac_top_srcdir=$srcdir ;;
3124 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3125 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3127 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3129 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3130 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
3131 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3132 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3136 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3137 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3140 if test x"$ac_file" != x-; then
3141 { echo "$as_me:$LINENO: creating $ac_file" >&5
3142 echo "$as_me: creating $ac_file" >&6;}
3145 # Let's still pretend it is `configure' which instantiates (i.e., don't
3146 # use $as_me), people would be surprised to read:
3147 # /* config.h. Generated by config.status. */
3148 if test x"$ac_file" = x-; then
3151 configure_input="$ac_file. "
3153 configure_input=$configure_input"Generated from `echo $ac_file_in |
3154 sed 's,.*/,,'` by configure."
3156 # First look for the input files in the build tree, otherwise in the
3158 ac_file_inputs=`IFS=:
3159 for f in $ac_file_in; do
3161 -) echo $tmp/stdin ;;
3163 # Absolute (can't be DOS-style, as IFS=:)
3164 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3165 echo "$as_me: error: cannot find input file: $f" >&2;}
3166 { (exit 1); exit 1; }; }
3169 if test -f "$f"; then
3172 elif test -f "$srcdir/$f"; then
3177 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3178 echo "$as_me: error: cannot find input file: $f" >&2;}
3179 { (exit 1); exit 1; }; }
3182 done` || { (exit 1); exit 1; }
3184 cat >>$CONFIG_STATUS <<_ACEOF
3188 cat >>$CONFIG_STATUS <<\_ACEOF
3190 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3191 s,@configure_input@,$configure_input,;t t
3192 s,@srcdir@,$ac_srcdir,;t t
3193 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3194 s,@top_srcdir@,$ac_top_srcdir,;t t
3195 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3196 s,@builddir@,$ac_builddir,;t t
3197 s,@abs_builddir@,$ac_abs_builddir,;t t
3198 s,@top_builddir@,$ac_top_builddir,;t t
3199 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3200 s,@INSTALL@,$ac_INSTALL,;t t
3201 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3203 if test x"$ac_file" != x-; then
3204 mv $tmp/out $ac_file
3213 cat >>$CONFIG_STATUS <<\_ACEOF
3215 { (exit 0); exit 0; }
3217 chmod +x $CONFIG_STATUS
3218 ac_clean_files=$ac_clean_files_save
3221 # configure is writing to config.log, and then calls config.status.
3222 # config.status does its own redirection, appending to config.log.
3223 # Unfortunately, on DOS this fails, as config.log is still kept open
3224 # by configure, so config.status won't be able to write to it; its
3225 # output is simply discarded. So we exec the FD to /dev/null,
3226 # effectively closing config.log, so it can be properly (re)opened and
3227 # appended to by config.status. When coming back to configure, we
3228 # need to make the FD available again.
3229 if test "$no_create" != yes; then
3231 ac_config_status_args=
3232 test "$silent" = yes &&
3233 ac_config_status_args="$ac_config_status_args --quiet"
3235 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3237 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3238 # would make configure fail if this is the last instruction.
3239 $ac_cs_success || { (exit 1); exit 1; }