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 #AC_SUBST([CPPFLAGS], ["-I${DYNINST_ROOT}/core -I${DYNINST_ROOT}/core/dyninstAPI/h -I${DYNINST_ROOT}/core/symtabAPI/h -I${DYNINST_ROOT}/core/dynutil/h ${CPPFLAGS}"])
1235 CPPFLAGS="-I${DYNINST_ROOT}/dyninst -I${DYNINST_ROOT}/dyninst/dyninstAPI/h -I${DYNINST_ROOT}/dyninst/symtabAPI/h -I${DYNINST_ROOT}/dyninst/instructionAPI/h -I${DYNINST_ROOT}/dyninst/common/h -I${DYNINST_ROOT}/dyninst/dynutil/h -I${DYNINST_ROOT}/dyninst/external ${CPPFLAGS}"
1237 LDFLAGS="-L${DYNINST_ROOT}/${PLATFORM}/lib ${LDFLAGS}"
1241 # Generate host string.
1243 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1244 if test -f $ac_dir/install-sh; then
1246 ac_install_sh="$ac_aux_dir/install-sh -c"
1248 elif test -f $ac_dir/install.sh; then
1250 ac_install_sh="$ac_aux_dir/install.sh -c"
1252 elif test -f $ac_dir/shtool; then
1254 ac_install_sh="$ac_aux_dir/shtool install -c"
1258 if test -z "$ac_aux_dir"; then
1259 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1260 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1261 { (exit 1); exit 1; }; }
1263 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1264 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1265 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1267 # Make sure we can run config.sub.
1268 $ac_config_sub sun4 >/dev/null 2>&1 ||
1269 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1270 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1271 { (exit 1); exit 1; }; }
1273 echo "$as_me:$LINENO: checking build system type" >&5
1274 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1275 if test "${ac_cv_build+set}" = set; then
1276 echo $ECHO_N "(cached) $ECHO_C" >&6
1278 ac_cv_build_alias=$build_alias
1279 test -z "$ac_cv_build_alias" &&
1280 ac_cv_build_alias=`$ac_config_guess`
1281 test -z "$ac_cv_build_alias" &&
1282 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1283 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1284 { (exit 1); exit 1; }; }
1285 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1286 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1287 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1288 { (exit 1); exit 1; }; }
1291 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1292 echo "${ECHO_T}$ac_cv_build" >&6
1294 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1295 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1296 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1299 echo "$as_me:$LINENO: checking host system type" >&5
1300 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1301 if test "${ac_cv_host+set}" = set; then
1302 echo $ECHO_N "(cached) $ECHO_C" >&6
1304 ac_cv_host_alias=$host_alias
1305 test -z "$ac_cv_host_alias" &&
1306 ac_cv_host_alias=$ac_cv_build_alias
1307 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1308 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1309 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1310 { (exit 1); exit 1; }; }
1313 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1314 echo "${ECHO_T}$ac_cv_host" >&6
1316 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1317 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1318 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1322 # Build all configure tests with C++ compiler.
1324 ac_cpp='$CXXCPP $CPPFLAGS'
1325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1330 # sha1.C requres these system files and endianess to be tested.
1332 ac_cpp='$CXXCPP $CPPFLAGS'
1333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1336 if test -n "$ac_tool_prefix"; then
1337 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1341 echo "$as_me:$LINENO: checking for $ac_word" >&5
1342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1343 if test "${ac_cv_prog_CXX+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 if test -n "$CXX"; then
1347 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353 test -z "$as_dir" && as_dir=.
1354 for ac_exec_ext in '' $ac_executable_extensions; do
1355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1356 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1366 if test -n "$CXX"; then
1367 echo "$as_me:$LINENO: result: $CXX" >&5
1368 echo "${ECHO_T}$CXX" >&6
1370 echo "$as_me:$LINENO: result: no" >&5
1371 echo "${ECHO_T}no" >&6
1374 test -n "$CXX" && break
1377 if test -z "$CXX"; then
1379 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1381 # Extract the first word of "$ac_prog", so it can be a program name with args.
1382 set dummy $ac_prog; ac_word=$2
1383 echo "$as_me:$LINENO: checking for $ac_word" >&5
1384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1385 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 if test -n "$ac_ct_CXX"; then
1389 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 test -z "$as_dir" && as_dir=.
1396 for ac_exec_ext in '' $ac_executable_extensions; do
1397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398 ac_cv_prog_ac_ct_CXX="$ac_prog"
1399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1407 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1408 if test -n "$ac_ct_CXX"; then
1409 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1410 echo "${ECHO_T}$ac_ct_CXX" >&6
1412 echo "$as_me:$LINENO: result: no" >&5
1413 echo "${ECHO_T}no" >&6
1416 test -n "$ac_ct_CXX" && break
1418 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1424 # Provide some information about the compiler.
1425 echo "$as_me:$LINENO:" \
1426 "checking for C++ compiler version" >&5
1427 ac_compiler=`set X $ac_compile; echo $2`
1428 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1429 (eval $ac_compiler --version </dev/null >&5) 2>&5
1431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1432 (exit $ac_status); }
1433 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1434 (eval $ac_compiler -v </dev/null >&5) 2>&5
1436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1437 (exit $ac_status); }
1438 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1439 (eval $ac_compiler -V </dev/null >&5) 2>&5
1441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1442 (exit $ac_status); }
1444 cat >conftest.$ac_ext <<_ACEOF
1445 #line $LINENO "configure"
1448 cat confdefs.h >>conftest.$ac_ext
1449 cat >>conftest.$ac_ext <<_ACEOF
1450 /* end confdefs.h. */
1460 ac_clean_files_save=$ac_clean_files
1461 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1462 # Try to create an executable without -o first, disregard a.out.
1463 # It will help us diagnose broken compilers, and finding out an intuition
1465 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1466 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1467 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1468 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1469 (eval $ac_link_default) 2>&5
1471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1472 (exit $ac_status); }; then
1473 # Find the output, starting from the most likely. This scheme is
1474 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1477 # Be careful to initialize this variable, since it used to be cached.
1478 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1480 # b.out is created by i960 compilers.
1481 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1483 test -f "$ac_file" || continue
1485 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1488 # This is the source file.
1491 # We found the default executable, but exeext='' is most
1495 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1496 # FIXME: I believe we export ac_cv_exeext for Libtool,
1497 # but it would be cool to find out if it's true. Does anybody
1498 # maintain Libtool? --akim.
1506 echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1509 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1510 See \`config.log' for more details." >&5
1511 echo "$as_me: error: C++ compiler cannot create executables
1512 See \`config.log' for more details." >&2;}
1513 { (exit 77); exit 77; }; }
1516 ac_exeext=$ac_cv_exeext
1517 echo "$as_me:$LINENO: result: $ac_file" >&5
1518 echo "${ECHO_T}$ac_file" >&6
1520 # Check the compiler produces executables we can run. If not, either
1521 # the compiler is broken, or we cross compile.
1522 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1523 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1524 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1525 # If not cross compiling, check that we can run a simple program.
1526 if test "$cross_compiling" != yes; then
1527 if { ac_try='./$ac_file'
1528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1532 (exit $ac_status); }; }; then
1535 if test "$cross_compiling" = maybe; then
1538 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1539 If you meant to cross compile, use \`--host'.
1540 See \`config.log' for more details." >&5
1541 echo "$as_me: error: cannot run C++ compiled programs.
1542 If you meant to cross compile, use \`--host'.
1543 See \`config.log' for more details." >&2;}
1544 { (exit 1); exit 1; }; }
1548 echo "$as_me:$LINENO: result: yes" >&5
1549 echo "${ECHO_T}yes" >&6
1551 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1552 ac_clean_files=$ac_clean_files_save
1553 # Check the compiler produces executables we can run. If not, either
1554 # the compiler is broken, or we cross compile.
1555 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1556 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1557 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1558 echo "${ECHO_T}$cross_compiling" >&6
1560 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1561 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1563 (eval $ac_link) 2>&5
1565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1566 (exit $ac_status); }; then
1567 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1568 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1569 # work properly (i.e., refer to `conftest.exe'), while it won't with
1571 for ac_file in conftest.exe conftest conftest.*; do
1572 test -f "$ac_file" || continue
1574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1575 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1582 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1583 See \`config.log' for more details." >&5
1584 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1585 See \`config.log' for more details." >&2;}
1586 { (exit 1); exit 1; }; }
1589 rm -f conftest$ac_cv_exeext
1590 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1591 echo "${ECHO_T}$ac_cv_exeext" >&6
1593 rm -f conftest.$ac_ext
1594 EXEEXT=$ac_cv_exeext
1596 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1597 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1598 if test "${ac_cv_objext+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 cat >conftest.$ac_ext <<_ACEOF
1602 #line $LINENO "configure"
1605 cat confdefs.h >>conftest.$ac_ext
1606 cat >>conftest.$ac_ext <<_ACEOF
1607 /* end confdefs.h. */
1617 rm -f conftest.o conftest.obj
1618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1619 (eval $ac_compile) 2>&5
1621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1622 (exit $ac_status); }; then
1623 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1626 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1631 echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1634 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1635 See \`config.log' for more details." >&5
1636 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1637 See \`config.log' for more details." >&2;}
1638 { (exit 1); exit 1; }; }
1641 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1643 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1644 echo "${ECHO_T}$ac_cv_objext" >&6
1645 OBJEXT=$ac_cv_objext
1647 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1648 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1649 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 cat >conftest.$ac_ext <<_ACEOF
1653 #line $LINENO "configure"
1656 cat confdefs.h >>conftest.$ac_ext
1657 cat >>conftest.$ac_ext <<_ACEOF
1658 /* end confdefs.h. */
1671 rm -f conftest.$ac_objext
1672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1673 (eval $ac_compile) 2>&5
1675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1676 (exit $ac_status); } &&
1677 { ac_try='test -s conftest.$ac_objext'
1678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1682 (exit $ac_status); }; }; then
1685 echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1690 rm -f conftest.$ac_objext conftest.$ac_ext
1691 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1694 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1695 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1696 GXX=`test $ac_compiler_gnu = yes && echo yes`
1697 ac_test_CXXFLAGS=${CXXFLAGS+set}
1698 ac_save_CXXFLAGS=$CXXFLAGS
1700 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1701 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1702 if test "${ac_cv_prog_cxx_g+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 cat >conftest.$ac_ext <<_ACEOF
1706 #line $LINENO "configure"
1709 cat confdefs.h >>conftest.$ac_ext
1710 cat >>conftest.$ac_ext <<_ACEOF
1711 /* end confdefs.h. */
1721 rm -f conftest.$ac_objext
1722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1723 (eval $ac_compile) 2>&5
1725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1726 (exit $ac_status); } &&
1727 { ac_try='test -s conftest.$ac_objext'
1728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); }; }; then
1733 ac_cv_prog_cxx_g=yes
1735 echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1740 rm -f conftest.$ac_objext conftest.$ac_ext
1742 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1743 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1744 if test "$ac_test_CXXFLAGS" = set; then
1745 CXXFLAGS=$ac_save_CXXFLAGS
1746 elif test $ac_cv_prog_cxx_g = yes; then
1747 if test "$GXX" = yes; then
1753 if test "$GXX" = yes; then
1759 for ac_declaration in \
1761 '#include <stdlib.h>' \
1762 'extern "C" void std::exit (int) throw (); using std::exit;' \
1763 'extern "C" void std::exit (int); using std::exit;' \
1764 'extern "C" void exit (int) throw ();' \
1765 'extern "C" void exit (int);' \
1768 cat >conftest.$ac_ext <<_ACEOF
1769 #line $LINENO "configure"
1772 cat confdefs.h >>conftest.$ac_ext
1773 cat >>conftest.$ac_ext <<_ACEOF
1774 /* end confdefs.h. */
1785 rm -f conftest.$ac_objext
1786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1787 (eval $ac_compile) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); } &&
1791 { ac_try='test -s conftest.$ac_objext'
1792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1796 (exit $ac_status); }; }; then
1799 echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 rm -f conftest.$ac_objext conftest.$ac_ext
1805 cat >conftest.$ac_ext <<_ACEOF
1806 #line $LINENO "configure"
1809 cat confdefs.h >>conftest.$ac_ext
1810 cat >>conftest.$ac_ext <<_ACEOF
1811 /* end confdefs.h. */
1821 rm -f conftest.$ac_objext
1822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1823 (eval $ac_compile) 2>&5
1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 (exit $ac_status); } &&
1827 { ac_try='test -s conftest.$ac_objext'
1828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1832 (exit $ac_status); }; }; then
1835 echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1839 rm -f conftest.$ac_objext conftest.$ac_ext
1842 if test -n "$ac_declaration"; then
1843 echo '#ifdef __cplusplus' >>confdefs.h
1844 echo $ac_declaration >>confdefs.h
1845 echo '#endif' >>confdefs.h
1849 ac_cpp='$CXXCPP $CPPFLAGS'
1850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1856 for ac_header in inttypes.h
1858 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1859 echo "$as_me:$LINENO: checking for $ac_header" >&5
1860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 cat >conftest.$ac_ext <<_ACEOF
1865 #line $LINENO "configure"
1868 cat confdefs.h >>conftest.$ac_ext
1869 cat >>conftest.$ac_ext <<_ACEOF
1870 /* end confdefs.h. */
1871 // Do not use default includes
1873 #include <$ac_header>
1875 rm -f conftest.$ac_objext
1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877 (eval $ac_compile) 2>&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); } &&
1881 { ac_try='test -s conftest.$ac_objext'
1882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; }; then
1887 eval "$as_ac_Header=yes"
1889 echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.$ac_ext >&5
1892 eval "$as_ac_Header=no"
1894 rm -f conftest.$ac_objext conftest.$ac_ext
1896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
1899 cat >>confdefs.h <<_ACEOF
1900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1908 for ac_header in stdint.h
1910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1911 echo "$as_me:$LINENO: checking for $ac_header" >&5
1912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 cat >conftest.$ac_ext <<_ACEOF
1917 #line $LINENO "configure"
1920 cat confdefs.h >>conftest.$ac_ext
1921 cat >>conftest.$ac_ext <<_ACEOF
1922 /* end confdefs.h. */
1923 // Do not use default includes
1925 #include <$ac_header>
1927 rm -f conftest.$ac_objext
1928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1929 (eval $ac_compile) 2>&5
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); } &&
1933 { ac_try='test -s conftest.$ac_objext'
1934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; }; then
1939 eval "$as_ac_Header=yes"
1941 echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1944 eval "$as_ac_Header=no"
1946 rm -f conftest.$ac_objext conftest.$ac_ext
1948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
1951 cat >>confdefs.h <<_ACEOF
1952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1959 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
1960 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
1961 if test "${ac_cv_c_bigendian+set}" = set; then
1962 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 # See if sys/param.h defines the BYTE_ORDER macro.
1965 cat >conftest.$ac_ext <<_ACEOF
1966 #line $LINENO "configure"
1969 cat confdefs.h >>conftest.$ac_ext
1970 cat >>conftest.$ac_ext <<_ACEOF
1971 /* end confdefs.h. */
1972 #include <sys/types.h>
1973 #include <sys/param.h>
1978 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
1986 rm -f conftest.$ac_objext
1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1988 (eval $ac_compile) 2>&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 # It does; now see whether it defined to BIG_ENDIAN or not.
1999 cat >conftest.$ac_ext <<_ACEOF
2000 #line $LINENO "configure"
2003 cat confdefs.h >>conftest.$ac_ext
2004 cat >>conftest.$ac_ext <<_ACEOF
2005 /* end confdefs.h. */
2006 #include <sys/types.h>
2007 #include <sys/param.h>
2012 #if BYTE_ORDER != BIG_ENDIAN
2020 rm -f conftest.$ac_objext
2021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2022 (eval $ac_compile) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try='test -s conftest.$ac_objext'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; }; then
2032 ac_cv_c_bigendian=yes
2034 echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2037 ac_cv_c_bigendian=no
2039 rm -f conftest.$ac_objext conftest.$ac_ext
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2044 # It does not; compile a test program.
2045 if test "$cross_compiling" = yes; then
2046 # try to guess the endianness by grepping values into an object file
2047 ac_cv_c_bigendian=unknown
2048 cat >conftest.$ac_ext <<_ACEOF
2049 #line $LINENO "configure"
2052 cat confdefs.h >>conftest.$ac_ext
2053 cat >>conftest.$ac_ext <<_ACEOF
2054 /* end confdefs.h. */
2055 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2056 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2057 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2058 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2059 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2060 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2064 _ascii (); _ebcdic ();
2069 rm -f conftest.$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); } &&
2075 { ac_try='test -s conftest.$ac_objext'
2076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 (exit $ac_status); }; }; then
2081 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2082 ac_cv_c_bigendian=yes
2084 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2085 if test "$ac_cv_c_bigendian" = unknown; then
2086 ac_cv_c_bigendian=no
2088 # finding both strings is unlikely to happen, but who knows?
2089 ac_cv_c_bigendian=unknown
2093 echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.$ac_ext >&5
2097 rm -f conftest.$ac_objext conftest.$ac_ext
2099 cat >conftest.$ac_ext <<_ACEOF
2100 #line $LINENO "configure"
2103 cat confdefs.h >>conftest.$ac_ext
2104 cat >>conftest.$ac_ext <<_ACEOF
2105 /* end confdefs.h. */
2109 /* Are we little or big endian? From Harbison&Steele. */
2113 char c[sizeof (long)];
2116 exit (u.c[sizeof (long) - 1] == 1);
2119 rm -f conftest$ac_exeext
2120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2121 (eval $ac_link) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; }; then
2130 ac_cv_c_bigendian=no
2132 echo "$as_me: program exited with status $ac_status" >&5
2133 echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2137 ac_cv_c_bigendian=yes
2139 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2142 rm -f conftest.$ac_objext conftest.$ac_ext
2144 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2145 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2146 case $ac_cv_c_bigendian in
2149 cat >>confdefs.h <<\_ACEOF
2150 #define WORDS_BIGENDIAN 1
2156 { { echo "$as_me:$LINENO: error: unknown endianness
2157 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2158 echo "$as_me: error: unknown endianness
2159 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2160 { (exit 1); exit 1; }; } ;;
2164 # Search for Dyninst in all the right places.
2165 echo "$as_me:$LINENO: checking for BPatch.h" >&5
2166 echo $ECHO_N "checking for BPatch.h... $ECHO_C" >&6
2167 if test "${ac_cv_header_BPatch_h+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 cat >conftest.$ac_ext <<_ACEOF
2171 #line $LINENO "configure"
2174 cat confdefs.h >>conftest.$ac_ext
2175 cat >>conftest.$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2177 // Do not use default includes
2181 rm -f conftest.$ac_objext
2182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2183 (eval $ac_compile) 2>&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); } &&
2187 { ac_try='test -s conftest.$ac_objext'
2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); }; }; then
2193 ac_cv_header_BPatch_h=yes
2195 echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.$ac_ext >&5
2198 ac_cv_header_BPatch_h=no
2200 rm -f conftest.$ac_objext conftest.$ac_ext
2202 echo "$as_me:$LINENO: result: $ac_cv_header_BPatch_h" >&5
2203 echo "${ECHO_T}$ac_cv_header_BPatch_h" >&6
2204 if test $ac_cv_header_BPatch_h = yes; then
2207 { { echo "$as_me:$LINENO: error: Cannot find DyninstAPI library include files." >&5
2208 echo "$as_me: error: Cannot find DyninstAPI library include files." >&2;}
2209 { (exit 1); exit 1; }; }
2214 # Check if Dyninst is version 5.0+
2216 for ac_header in BPatch_process.h
2218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2219 echo "$as_me:$LINENO: checking for $ac_header" >&5
2220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 cat >conftest.$ac_ext <<_ACEOF
2225 #line $LINENO "configure"
2228 cat confdefs.h >>conftest.$ac_ext
2229 cat >>conftest.$ac_ext <<_ACEOF
2230 /* end confdefs.h. */
2231 // Do not use default includes
2233 #include <$ac_header>
2235 rm -f conftest.$ac_objext
2236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2237 (eval $ac_compile) 2>&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); } &&
2241 { ac_try='test -s conftest.$ac_objext'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; }; then
2247 eval "$as_ac_Header=yes"
2249 echo "$as_me: failed program was:" >&5
2250 sed 's/^/| /' conftest.$ac_ext >&5
2252 eval "$as_ac_Header=no"
2254 rm -f conftest.$ac_objext conftest.$ac_ext
2256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2259 cat >>confdefs.h <<_ACEOF
2260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2272 # Find appropriate install program
2273 # Find a good install program. We prefer a C program (faster),
2274 # so one script is as good as another. But avoid the broken or
2275 # incompatible versions:
2276 # SysV /etc/install, /usr/sbin/install
2277 # SunOS /usr/etc/install
2278 # IRIX /sbin/install
2280 # AmigaOS /C/install, which installs bootblocks on floppy discs
2281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2284 # ./install, which can be erroneously created by make from ./install.sh.
2285 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2286 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2287 if test -z "$INSTALL"; then
2288 if test "${ac_cv_path_install+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir=.
2296 # Account for people who put trailing slashes in PATH elements.
2298 ./ | .// | /cC/* | \
2299 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2302 # OSF1 and SCO ODT 3.0 have their own names for install.
2303 # Don't use installbsd from OSF since it installs stuff as root
2305 for ac_prog in ginstall scoinst install; do
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2308 if test $ac_prog = install &&
2309 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2310 # AIX install. It has an incompatible calling convention.
2312 elif test $ac_prog = install &&
2313 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2314 # program-specific install script used by HP pwplus--don't use.
2317 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2329 if test "${ac_cv_path_install+set}" = set; then
2330 INSTALL=$ac_cv_path_install
2332 # As a last resort, use the slow shell script. We don't cache a
2333 # path for INSTALL within a source directory, because that will
2334 # break other packages using the cache if that directory is
2335 # removed, or if the path is relative.
2336 INSTALL=$ac_install_sh
2339 echo "$as_me:$LINENO: result: $INSTALL" >&5
2340 echo "${ECHO_T}$INSTALL" >&6
2342 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2343 # It thinks the first close brace ends the variable substitution.
2344 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2346 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2348 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2351 ac_config_files="$ac_config_files Makefile"
2353 cat >confcache <<\_ACEOF
2354 # This file is a shell script that caches the results of configure
2355 # tests run on this system so they can be shared between configure
2356 # scripts and configure runs, see configure's option --config-cache.
2357 # It is not useful on other systems. If it contains results you don't
2358 # want to keep, you may remove or edit it.
2360 # config.status only pays attention to the cache file if you give it
2361 # the --recheck option to rerun configure.
2363 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2364 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2369 # The following way of writing the cache mishandles newlines in values,
2370 # but we know of no workaround that is simple, portable, and efficient.
2371 # So, don't put newlines in cache variables' values.
2372 # Ultrix sh set writes to stderr and can't be redirected directly,
2373 # and sets the high bit in the cache file unless we assign to the vars.
2376 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2378 # `set' does not quote correctly, so add quotes (double-quote
2379 # substitution turns \\\\ into \\, and sed turns \\ into \).
2382 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2385 # `set' quotes correctly as required by POSIX, so do not add quotes.
2387 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2394 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2396 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2398 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2399 if test -w $cache_file; then
2400 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2401 cat confcache >$cache_file
2403 echo "not updating unwritable cache $cache_file"
2408 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2409 # Let make expand exec_prefix.
2410 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2412 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2413 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2414 # trailing colons and then remove the whole line if VPATH becomes empty
2415 # (actually we leave an empty line to preserve line numbers).
2416 if test "x$srcdir" = x.; then
2417 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2418 s/:*\$(srcdir):*/:/;
2419 s/:*\${srcdir}:*/:/;
2421 s/^\([^=]*=[ ]*\):*/\1/;
2427 # Transform confdefs.h into DEFS.
2428 # Protect against shell expansion while executing Makefile rules.
2429 # Protect against Makefile macro expansion.
2431 # If the first sed substitution is executed (which looks for macros that
2432 # take arguments), then we branch to the quote section. Otherwise,
2433 # look for a macro that doesn't take arguments.
2434 cat >confdef2opt.sed <<\_ACEOF
2437 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2439 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2443 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2449 # We use echo to avoid assuming a particular line-breaking character.
2450 # The extra dot is to prevent the shell from consuming trailing
2451 # line-breaks from the sub-command output. A line-break within
2452 # single-quotes doesn't work because, if this script is created in a
2453 # platform that uses two characters for line-breaks (e.g., DOS), tr
2455 ac_LF_and_DOT=`echo; echo .`
2456 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2457 rm -f confdef2opt.sed
2462 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2463 # 1. Remove the extension, and $U if already installed.
2464 ac_i=`echo "$ac_i" |
2465 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2467 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2468 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2472 LTLIBOBJS=$ac_ltlibobjs
2476 : ${CONFIG_STATUS=./config.status}
2477 ac_clean_files_save=$ac_clean_files
2478 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2479 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2480 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2481 cat >$CONFIG_STATUS <<_ACEOF
2483 # Generated by $as_me.
2484 # Run this file to recreate the current configuration.
2485 # Compiler output produced by configure, useful for debugging
2486 # configure, is in config.log if it exists.
2491 SHELL=\${CONFIG_SHELL-$SHELL}
2494 cat >>$CONFIG_STATUS <<\_ACEOF
2495 ## --------------------- ##
2496 ## M4sh Initialization. ##
2497 ## --------------------- ##
2499 # Be Bourne compatible
2500 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2503 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2504 # is contrary to our usage. Disable this feature.
2505 alias -g '${1+"$@"}'='"$@"'
2506 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2510 # Support unset when possible.
2511 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2518 # Work around bugs in pre-3.0 UWIN ksh.
2519 $as_unset ENV MAIL MAILPATH
2526 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2527 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2528 LC_TELEPHONE LC_TIME
2530 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
2531 eval $as_var=C; export $as_var
2537 # Required to use basename.
2538 if expr a : '\(a\)' >/dev/null 2>&1; then
2544 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2545 as_basename=basename
2551 # Name of the executable.
2552 as_me=`$as_basename "$0" ||
2553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2554 X"$0" : 'X\(//\)$' \| \
2555 X"$0" : 'X\(/\)$' \| \
2556 . : '\(.\)' 2>/dev/null ||
2558 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2559 /^X\/\(\/\/\)$/{ s//\1/; q; }
2560 /^X\/\(\/\).*/{ s//\1/; q; }
2564 # PATH needs CR, and LINENO needs CR and PATH.
2565 # Avoid depending upon Character Ranges.
2566 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2567 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2568 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2569 as_cr_digits='0123456789'
2570 as_cr_alnum=$as_cr_Letters$as_cr_digits
2572 # The user is always right.
2573 if test "${PATH_SEPARATOR+set}" != set; then
2574 echo "#! /bin/sh" >conf$$.sh
2575 echo "exit 0" >>conf$$.sh
2577 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2588 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2589 test "x$as_lineno_1" != "x$as_lineno_2" &&
2590 test "x$as_lineno_3" = "x$as_lineno_2" || {
2591 # Find who we are. Look in the path if we contain no path at all
2594 *[\\/]* ) as_myself=$0 ;;
2595 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir=.
2600 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2605 # We did not find ourselves, most probably we were run as `sh COMMAND'
2606 # in which case we are not to be found in the path.
2607 if test "x$as_myself" = x; then
2610 if test ! -f "$as_myself"; then
2611 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2612 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2613 { (exit 1); exit 1; }; }
2615 case $CONFIG_SHELL in
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2621 test -z "$as_dir" && as_dir=.
2622 for as_base in sh bash ksh sh5; do
2625 if ("$as_dir/$as_base" -c '
2628 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2629 test "x$as_lineno_1" != "x$as_lineno_2" &&
2630 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2631 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2632 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2633 CONFIG_SHELL=$as_dir/$as_base
2635 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2643 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2644 # uniformly replaced by the line number. The first 'sed' inserts a
2645 # line-number line before each line; the second 'sed' does the real
2646 # work. The second script uses 'N' to pair each line-number line
2647 # with the numbered line, and appends trailing '-' during
2648 # substitution so that $LINENO is not a special case at line end.
2649 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2650 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2651 sed '=' <$as_myself |
2656 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2659 s,^['$as_cr_digits']*\n,,
2661 chmod +x $as_me.lineno ||
2662 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2663 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2664 { (exit 1); exit 1; }; }
2666 # Don't try to exec as it changes $[0], causing all sort of problems
2667 # (the dirname of $[0] is not the place where we might find the
2668 # original and so on. Autoconf is especially sensible to this).
2670 # Exit status is that of the last command.
2675 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2676 *c*,-n*) ECHO_N= ECHO_C='
2678 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2679 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2682 if expr a : '\(a\)' >/dev/null 2>&1; then
2688 rm -f conf$$ conf$$.exe conf$$.file
2690 if ln -s conf$$.file conf$$ 2>/dev/null; then
2691 # We could just check for DJGPP; but this test a) works b) is more generic
2692 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2693 if test -f conf$$.exe; then
2694 # Don't use ln at all; we don't have any links
2699 elif ln conf$$.file conf$$ 2>/dev/null; then
2704 rm -f conf$$ conf$$.exe conf$$.file
2706 if mkdir -p . 2>/dev/null; then
2712 as_executable_p="test -f"
2714 # Sed expression to map a string onto a valid CPP name.
2715 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2717 # Sed expression to map a string onto a valid variable name.
2718 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2722 # We need space, tab and new line, in precisely that order.
2732 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2733 # report actual input values of CONFIG_FILES etc. instead of their
2734 # values after options handling. Logging --version etc. is OK.
2738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2739 ## Running $as_me. ##
2744 This file was extended by parseThat $as_me 1.0, which was
2745 generated by GNU Autoconf 2.57. Invocation command line was
2747 CONFIG_FILES = $CONFIG_FILES
2748 CONFIG_HEADERS = $CONFIG_HEADERS
2749 CONFIG_LINKS = $CONFIG_LINKS
2750 CONFIG_COMMANDS = $CONFIG_COMMANDS
2754 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2758 # Files that config.status was made for.
2759 if test -n "$ac_config_files"; then
2760 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2763 if test -n "$ac_config_headers"; then
2764 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2767 if test -n "$ac_config_links"; then
2768 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2771 if test -n "$ac_config_commands"; then
2772 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2775 cat >>$CONFIG_STATUS <<\_ACEOF
2778 \`$as_me' instantiates files from templates according to the
2779 current configuration.
2781 Usage: $0 [OPTIONS] [FILE]...
2783 -h, --help print this help, then exit
2784 -V, --version print version number, then exit
2785 -q, --quiet do not print progress messages
2786 -d, --debug don't remove temporary files
2787 --recheck update $as_me by reconfiguring in the same conditions
2788 --file=FILE[:TEMPLATE]
2789 instantiate the configuration file FILE
2791 Configuration files:
2794 Report bugs to <bug-autoconf@gnu.org>."
2797 cat >>$CONFIG_STATUS <<_ACEOF
2799 parseThat config.status 1.0
2800 configured by $0, generated by GNU Autoconf 2.57,
2801 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2803 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2804 Free Software Foundation, Inc.
2805 This config.status script is free software; the Free Software Foundation
2806 gives unlimited permission to copy, distribute and modify it."
2811 cat >>$CONFIG_STATUS <<\_ACEOF
2812 # If no file are specified by the user, then we need to provide default
2813 # value. By we need to know if files were specified by the user.
2819 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2820 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2828 *) # This is not an option, so the user has probably given explicit
2831 ac_need_defaults=false;;
2835 # Handling of the options.
2837 cat >>$CONFIG_STATUS <<\_ACEOF
2838 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2840 --version | --vers* | -V )
2841 echo "$ac_cs_version"; exit 0 ;;
2843 # Conflict between --help and --header
2844 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2845 Try \`$0 --help' for more information." >&5
2846 echo "$as_me: error: ambiguous option: $1
2847 Try \`$0 --help' for more information." >&2;}
2848 { (exit 1); exit 1; }; };;
2849 --help | --hel | -h )
2850 echo "$ac_cs_usage"; exit 0 ;;
2851 --debug | --d* | -d )
2853 --file | --fil | --fi | --f )
2855 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2856 ac_need_defaults=false;;
2857 --header | --heade | --head | --hea )
2859 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2860 ac_need_defaults=false;;
2861 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2862 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2866 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2867 Try \`$0 --help' for more information." >&5
2868 echo "$as_me: error: unrecognized option: $1
2869 Try \`$0 --help' for more information." >&2;}
2870 { (exit 1); exit 1; }; } ;;
2872 *) ac_config_targets="$ac_config_targets $1" ;;
2878 ac_configure_extra_args=
2880 if $ac_cs_silent; then
2882 ac_configure_extra_args="$ac_configure_extra_args --silent"
2886 cat >>$CONFIG_STATUS <<_ACEOF
2887 if \$ac_cs_recheck; then
2888 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2889 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2898 cat >>$CONFIG_STATUS <<\_ACEOF
2899 for ac_config_target in $ac_config_targets
2901 case "$ac_config_target" in
2902 # Handling of arguments.
2903 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2904 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2905 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2906 { (exit 1); exit 1; }; };;
2910 # If the user did not use the arguments to specify the items to instantiate,
2911 # then the envvar interface is used. Set only those that are not.
2912 # We use the long form for the default assignment because of an extremely
2913 # bizarre bug on SunOS 4.1.3.
2914 if $ac_need_defaults; then
2915 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2918 # Have a temporary directory for convenience. Make it in the build tree
2919 # simply because there is no reason to put it here, and in addition,
2920 # creating and moving files from /tmp can sometimes cause problems.
2921 # Create a temporary directory, and hook for its removal unless debugging.
2924 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2925 trap '{ (exit 1); exit 1; }' 1 2 13 15
2928 # Create a (secure) tmp directory for tmp files.
2931 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2932 test -n "$tmp" && test -d "$tmp"
2935 tmp=./confstat$$-$RANDOM
2936 (umask 077 && mkdir $tmp)
2939 echo "$me: cannot create a temporary directory in ." >&2
2940 { (exit 1); exit 1; }
2945 cat >>$CONFIG_STATUS <<_ACEOF
2948 # CONFIG_FILES section.
2951 # No need to generate the scripts if there are no CONFIG_FILES.
2952 # This happens for instance when ./config.status config.h
2953 if test -n "\$CONFIG_FILES"; then
2954 # Protect against being on the right side of a sed subst in config.status.
2955 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2956 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2957 s,@SHELL@,$SHELL,;t t
2958 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2959 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2960 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2961 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2962 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2963 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2964 s,@exec_prefix@,$exec_prefix,;t t
2965 s,@prefix@,$prefix,;t t
2966 s,@program_transform_name@,$program_transform_name,;t t
2967 s,@bindir@,$bindir,;t t
2968 s,@sbindir@,$sbindir,;t t
2969 s,@libexecdir@,$libexecdir,;t t
2970 s,@datadir@,$datadir,;t t
2971 s,@sysconfdir@,$sysconfdir,;t t
2972 s,@sharedstatedir@,$sharedstatedir,;t t
2973 s,@localstatedir@,$localstatedir,;t t
2974 s,@libdir@,$libdir,;t t
2975 s,@includedir@,$includedir,;t t
2976 s,@oldincludedir@,$oldincludedir,;t t
2977 s,@infodir@,$infodir,;t t
2978 s,@mandir@,$mandir,;t t
2979 s,@build_alias@,$build_alias,;t t
2980 s,@host_alias@,$host_alias,;t t
2981 s,@target_alias@,$target_alias,;t t
2983 s,@ECHO_C@,$ECHO_C,;t t
2984 s,@ECHO_N@,$ECHO_N,;t t
2985 s,@ECHO_T@,$ECHO_T,;t t
2987 s,@CPPFLAGS@,$CPPFLAGS,;t t
2988 s,@LDFLAGS@,$LDFLAGS,;t t
2989 s,@build@,$build,;t t
2990 s,@build_cpu@,$build_cpu,;t t
2991 s,@build_vendor@,$build_vendor,;t t
2992 s,@build_os@,$build_os,;t t
2994 s,@host_cpu@,$host_cpu,;t t
2995 s,@host_vendor@,$host_vendor,;t t
2996 s,@host_os@,$host_os,;t t
2998 s,@CXXFLAGS@,$CXXFLAGS,;t t
2999 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3000 s,@EXEEXT@,$EXEEXT,;t t
3001 s,@OBJEXT@,$OBJEXT,;t t
3002 s,@DYNINST_VER@,$DYNINST_VER,;t t
3003 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3004 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3005 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3006 s,@LIBOBJS@,$LIBOBJS,;t t
3007 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3012 cat >>$CONFIG_STATUS <<\_ACEOF
3013 # Split the substitutions into bite-sized pieces for seds with
3014 # small command number limits, like on Digital OSF/1 and HP-UX.
3016 ac_sed_frag=1 # Number of current file.
3017 ac_beg=1 # First line for current file.
3018 ac_end=$ac_max_sed_lines # Line after last line for current file.
3021 while $ac_more_lines; do
3022 if test $ac_beg -gt 1; then
3023 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3025 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3027 if test ! -s $tmp/subs.frag; then
3030 # The purpose of the label and of the branching condition is to
3031 # speed up the sed processing (if there are no `@' at all, there
3032 # is no need to browse any of the substitutions).
3033 # These are the two extra sed commands mentioned above.
3035 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3036 if test -z "$ac_sed_cmds"; then
3037 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3039 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3041 ac_sed_frag=`expr $ac_sed_frag + 1`
3043 ac_end=`expr $ac_end + $ac_max_sed_lines`
3046 if test -z "$ac_sed_cmds"; then
3049 fi # test -n "$CONFIG_FILES"
3052 cat >>$CONFIG_STATUS <<\_ACEOF
3053 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3054 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3056 - | *:- | *:-:* ) # input from stdin
3058 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3059 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3060 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3061 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3062 * ) ac_file_in=$ac_file.in ;;
3065 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3066 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3067 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3068 X"$ac_file" : 'X\(//\)[^/]' \| \
3069 X"$ac_file" : 'X\(//\)$' \| \
3070 X"$ac_file" : 'X\(/\)' \| \
3071 . : '\(.\)' 2>/dev/null ||
3073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3075 /^X\(\/\/\)$/{ s//\1/; q; }
3076 /^X\(\/\).*/{ s//\1/; q; }
3078 { if $as_mkdir_p; then
3083 while test ! -d "$as_dir"; do
3084 as_dirs="$as_dir $as_dirs"
3085 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3087 X"$as_dir" : 'X\(//\)[^/]' \| \
3088 X"$as_dir" : 'X\(//\)$' \| \
3089 X"$as_dir" : 'X\(/\)' \| \
3090 . : '\(.\)' 2>/dev/null ||
3092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3094 /^X\(\/\/\)$/{ s//\1/; q; }
3095 /^X\(\/\).*/{ s//\1/; q; }
3098 test ! -n "$as_dirs" || mkdir $as_dirs
3099 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3100 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3101 { (exit 1); exit 1; }; }; }
3105 if test "$ac_dir" != .; then
3106 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3107 # A "../" for each directory in $ac_dir_suffix.
3108 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3110 ac_dir_suffix= ac_top_builddir=
3114 .) # No --srcdir option. We are building in place.
3116 if test -z "$ac_top_builddir"; then
3119 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3121 [\\/]* | ?:[\\/]* ) # Absolute path.
3122 ac_srcdir=$srcdir$ac_dir_suffix;
3123 ac_top_srcdir=$srcdir ;;
3125 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3126 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3128 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3130 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3131 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
3132 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3133 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3137 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3138 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3141 if test x"$ac_file" != x-; then
3142 { echo "$as_me:$LINENO: creating $ac_file" >&5
3143 echo "$as_me: creating $ac_file" >&6;}
3146 # Let's still pretend it is `configure' which instantiates (i.e., don't
3147 # use $as_me), people would be surprised to read:
3148 # /* config.h. Generated by config.status. */
3149 if test x"$ac_file" = x-; then
3152 configure_input="$ac_file. "
3154 configure_input=$configure_input"Generated from `echo $ac_file_in |
3155 sed 's,.*/,,'` by configure."
3157 # First look for the input files in the build tree, otherwise in the
3159 ac_file_inputs=`IFS=:
3160 for f in $ac_file_in; do
3162 -) echo $tmp/stdin ;;
3164 # Absolute (can't be DOS-style, as IFS=:)
3165 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3166 echo "$as_me: error: cannot find input file: $f" >&2;}
3167 { (exit 1); exit 1; }; }
3170 if test -f "$f"; then
3173 elif test -f "$srcdir/$f"; then
3178 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3179 echo "$as_me: error: cannot find input file: $f" >&2;}
3180 { (exit 1); exit 1; }; }
3183 done` || { (exit 1); exit 1; }
3185 cat >>$CONFIG_STATUS <<_ACEOF
3189 cat >>$CONFIG_STATUS <<\_ACEOF
3191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3192 s,@configure_input@,$configure_input,;t t
3193 s,@srcdir@,$ac_srcdir,;t t
3194 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3195 s,@top_srcdir@,$ac_top_srcdir,;t t
3196 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3197 s,@builddir@,$ac_builddir,;t t
3198 s,@abs_builddir@,$ac_abs_builddir,;t t
3199 s,@top_builddir@,$ac_top_builddir,;t t
3200 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3201 s,@INSTALL@,$ac_INSTALL,;t t
3202 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3204 if test x"$ac_file" != x-; then
3205 mv $tmp/out $ac_file
3214 cat >>$CONFIG_STATUS <<\_ACEOF
3216 { (exit 0); exit 0; }
3218 chmod +x $CONFIG_STATUS
3219 ac_clean_files=$ac_clean_files_save
3222 # configure is writing to config.log, and then calls config.status.
3223 # config.status does its own redirection, appending to config.log.
3224 # Unfortunately, on DOS this fails, as config.log is still kept open
3225 # by configure, so config.status won't be able to write to it; its
3226 # output is simply discarded. So we exec the FD to /dev/null,
3227 # effectively closing config.log, so it can be properly (re)opened and
3228 # appended to by config.status. When coming back to configure, we
3229 # need to make the FD available again.
3230 if test "$no_create" != yes; then
3232 ac_config_status_args=
3233 test "$silent" = yes &&
3234 ac_config_status_args="$ac_config_status_args --quiet"
3236 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3238 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3239 # would make configure fail if this is the last instruction.
3240 $ac_cs_success || { (exit 1); exit 1; }