2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Dyninst 6.1.
5 # Report bugs to <bugs@dyninst.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='Dyninst'
271 PACKAGE_TARNAME='dyninst'
272 PACKAGE_VERSION='6.1'
273 PACKAGE_STRING='Dyninst 6.1'
274 PACKAGE_BUGREPORT='bugs@dyninst.org'
276 ac_default_prefix=`pwd`/..
277 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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT _ICC_ _ICPC_ _PGC_ _PGCXX_ _CC_ _CXX_ USE_TCL83 TCLTK_INC_DIR TCLTK_LIB_DIR build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBELF_INC_DIR LIBELF_LIB_DIR LIBELF_STATIC LIBELF_DYNAMIC LIBDWARF_INC_DIR LIBDWARF_LIB_DIR LIBDWARF_STATIC LIBDWARF_DYNAMIC LIBXML2_INC_DIR LIBXML2_LIB_DIR LIBIBERTY_LIB_DIR LIBIBERTY_STATIC LIBIBERTY_DYNAMIC LIBUNWIND_INC_DIR LIBUNWIND_LIB_DIR LIBFLEX_LIB_DIR NASM STACKPROT MMTIMER TESTSUITE LIBOBJS LTLIBOBJS'
280 # Initialize some variables set by options.
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
292 program_transform_name=s,x,x,
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330 # Accept the important Cygnus configure options, so we can diagnose typos.
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
352 cache_file=config.cache ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 datadir=$ac_optarg ;;
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
380 eval "enable_$ac_feature='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
395 -help | --help | --hel | --he | -h)
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
419 -libdir | --libdir | --libdi | --libd)
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
446 # Obsolete; use --without-fp.
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
510 sbindir=$ac_optarg ;;
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
521 sharedstatedir=$ac_optarg ;;
523 -site | --site | --sit)
525 -site=* | --site=* | --sit=*)
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
548 -version | --version | --versio | --versi | --vers | -V)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 eval "with_$ac_package='$ac_optarg'" ;;
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
574 # Obsolete; use --with-x.
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
617 if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
626 eval ac_val=$`echo $ac_var`
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
638 eval ac_val=$`echo $ac_var`
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667 test "$silent" = yes && exec 6>/dev/null
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
687 if test ! -r $srcdir/$ac_unique_file; then
691 ac_srcdir_defaulted=no
693 if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718 ac_env_CXX_set=${CXX+set}
719 ac_env_CXX_value=$CXX
720 ac_cv_env_CXX_set=${CXX+set}
721 ac_cv_env_CXX_value=$CXX
722 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
723 ac_env_CXXFLAGS_value=$CXXFLAGS
724 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
725 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
726 ac_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_env_LDFLAGS_value=$LDFLAGS
728 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729 ac_cv_env_LDFLAGS_value=$LDFLAGS
730 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_env_CPPFLAGS_value=$CPPFLAGS
732 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
736 # Report the --help message.
738 if test "$ac_init_help" = "long"; then
739 # Omit some internal or obsolete options to make the list less imposing.
740 # This message is too long to be a string in the A/UX 3.1 sh.
742 \`configure' configures Dyninst 6.1 to adapt to many kinds of systems.
744 Usage: $0 [OPTION]... [VAR=VALUE]...
746 To assign environment variables (e.g., CC, CFLAGS...), specify them as
747 VAR=VALUE. See below for descriptions of some of the useful variables.
749 Defaults for the options are specified in brackets.
752 -h, --help display this help and exit
753 --help=short display options specific to this package
754 --help=recursive display the short help of all the included packages
755 -V, --version display version information and exit
756 -q, --quiet, --silent do not print \`checking...' messages
757 --cache-file=FILE cache test results in FILE [disabled]
758 -C, --config-cache alias for \`--cache-file=config.cache'
759 -n, --no-create do not create output files
760 --srcdir=DIR find the sources in DIR [configure dir or \`..']
765 Installation directories:
766 --prefix=PREFIX install architecture-independent files in PREFIX
768 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
771 By default, \`make install' will install all the files in
772 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
773 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
774 for instance \`--prefix=\$HOME'.
776 For better control, use the options below.
778 Fine tuning of the installation directories:
779 --bindir=DIR user executables [EPREFIX/bin]
780 --sbindir=DIR system admin executables [EPREFIX/sbin]
781 --libexecdir=DIR program executables [EPREFIX/libexec]
782 --datadir=DIR read-only architecture-independent data [PREFIX/share]
783 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
784 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
785 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
786 --libdir=DIR object code libraries [EPREFIX/lib]
787 --includedir=DIR C header files [PREFIX/include]
788 --oldincludedir=DIR C header files for non-gcc [/usr/include]
789 --infodir=DIR info documentation [PREFIX/info]
790 --mandir=DIR man documentation [PREFIX/man]
796 --build=BUILD configure for building on BUILD [guessed]
797 --host=HOST cross-compile to build programs to run on HOST [BUILD]
801 if test -n "$ac_init_help"; then
802 case $ac_init_help in
803 short | recursive ) echo "Configuration of Dyninst 6.1:";;
808 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
809 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
810 --disable-testsuite Disable the Dyninst test suite (default is no)
813 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
814 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
815 --with-package-base Base directory to look for packages
816 --with-tcl83 Use Tcl/Tk 8.3
817 --with-tcltk-incdir TCL/TK include directory
818 --with-tcltk-libdir TCL/TK library directory
819 --with-libelf-incdir LIBELF include directory
820 --with-libelf-libdir LIBELF library directory
821 --with-libdwarf-incdir LIBDWARF include directory
822 --with-libdwarf-libdir LIBDWARF library directory
823 --with-libxml2-incdir LIBXML2 include directory
824 --with-libxml2-libdir LIBXML2 library directory
825 --with-libiberty-libdir LIBIBERTY library directory
826 --with-libunwind-incdir LIBUNWIND include directory
827 --with-libunwind-libdir LIBUNWIND library directory
828 --with-libflex-libdir Absolute path to flex library
830 Some influential environment variables:
831 CXX C++ compiler command
832 CXXFLAGS C++ compiler flags
833 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
834 nonstandard directory <lib dir>
835 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
836 headers in a nonstandard directory <include dir>
838 Use these variables to override the choices made by `configure' or to help
839 it to find libraries and programs with nonstandard names/locations.
841 Report bugs to <bugs@dyninst.org>.
845 if test "$ac_init_help" = "recursive"; then
846 # If there are subdirs, report their specific --help.
848 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
849 test -d $ac_dir || continue
852 if test "$ac_dir" != .; then
853 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
854 # A "../" for each directory in $ac_dir_suffix.
855 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
857 ac_dir_suffix= ac_top_builddir=
861 .) # No --srcdir option. We are building in place.
863 if test -z "$ac_top_builddir"; then
866 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
868 [\\/]* | ?:[\\/]* ) # Absolute path.
869 ac_srcdir=$srcdir$ac_dir_suffix;
870 ac_top_srcdir=$srcdir ;;
872 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
873 ac_top_srcdir=$ac_top_builddir$srcdir ;;
876 # Do not use `cd foo && pwd` to compute absolute paths, because
877 # the directories may not exist.
879 .) ac_abs_builddir="$ac_dir";;
882 .) ac_abs_builddir=`pwd`;;
883 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
884 *) ac_abs_builddir=`pwd`/"$ac_dir";;
887 case $ac_abs_builddir in
888 .) ac_abs_top_builddir=${ac_top_builddir}.;;
890 case ${ac_top_builddir}. in
891 .) ac_abs_top_builddir=$ac_abs_builddir;;
892 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
893 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
896 case $ac_abs_builddir in
897 .) ac_abs_srcdir=$ac_srcdir;;
900 .) ac_abs_srcdir=$ac_abs_builddir;;
901 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
902 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
905 case $ac_abs_builddir in
906 .) ac_abs_top_srcdir=$ac_top_srcdir;;
908 case $ac_top_srcdir in
909 .) ac_abs_top_srcdir=$ac_abs_builddir;;
910 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
911 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
916 # Check for guested configure; otherwise get Cygnus style configure.
917 if test -f $ac_srcdir/configure.gnu; then
919 $SHELL $ac_srcdir/configure.gnu --help=recursive
920 elif test -f $ac_srcdir/configure; then
922 $SHELL $ac_srcdir/configure --help=recursive
923 elif test -f $ac_srcdir/configure.ac ||
924 test -f $ac_srcdir/configure.in; then
928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
934 test -n "$ac_init_help" && exit 0
935 if $ac_init_version; then
937 Dyninst configure 6.1
938 generated by GNU Autoconf 2.59
940 Copyright (C) 2003 Free Software Foundation, Inc.
941 This configure script is free software; the Free Software Foundation
942 gives unlimited permission to copy, distribute and modify it.
948 This file contains any messages produced by compilers while
949 running configure, to aid debugging if configure makes a mistake.
951 It was created by Dyninst $as_me 6.1, which was
952 generated by GNU Autoconf 2.59. Invocation command line was
963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
975 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
986 test -z "$as_dir" && as_dir=.
1002 # Keep a trace of the command line.
1003 # Strip out --no-create and --no-recursion so they do not pile up.
1004 # Strip out --silent because we don't want to record it for future runs.
1005 # Also quote any args containing shell meta-characters.
1006 # Make two passes to allow for proper duplicate-argument suppression.
1011 ac_must_keep_next=false
1017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1019 | -silent | --silent | --silen | --sile | --sil)
1021 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1022 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1025 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1027 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1028 if test $ac_must_keep_next = true; then
1029 ac_must_keep_next=false # Got value, back to normal.
1032 *=* | --config-cache | -C | -disable-* | --disable-* \
1033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1035 | -with-* | --with-* | -without-* | --without-* | --x)
1036 case "$ac_configure_args0 " in
1037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1040 -* ) ac_must_keep_next=true ;;
1043 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1044 # Get rid of the leading space.
1050 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1051 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053 # When interrupted or exit'd, cleanup temporary files, and complete
1054 # config.log. We remove comments because anyway the quotes in there
1055 # would cause problems or look ugly.
1056 # WARNING: Be sure not to use single quotes in there, as some shells,
1057 # such as our DU 5.0 friend, will then `close' the trap.
1058 trap 'exit_status=$?
1059 # Save into config.log some information that might help in debugging.
1064 ## ---------------- ##
1065 ## Cache variables. ##
1066 ## ---------------- ##
1069 # The following way of writing the cache mishandles newlines in values,
1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1075 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087 ## ----------------- ##
1088 ## Output variables. ##
1089 ## ----------------- ##
1092 for ac_var in $ac_subst_vars
1094 eval ac_val=$`echo $ac_var`
1095 echo "$ac_var='"'"'$ac_val'"'"'"
1099 if test -n "$ac_subst_files"; then
1106 for ac_var in $ac_subst_files
1108 eval ac_val=$`echo $ac_var`
1109 echo "$ac_var='"'"'$ac_val'"'"'"
1114 if test -s confdefs.h; then
1121 sed "/^$/d" confdefs.h | sort
1124 test "$ac_signal" != 0 &&
1125 echo "$as_me: caught signal $ac_signal"
1126 echo "$as_me: exit $exit_status"
1128 rm -f core *.core &&
1129 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1132 for ac_signal in 1 2 13 15; do
1133 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1137 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1138 rm -rf conftest* confdefs.h
1139 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1142 # Predefined preprocessor variables.
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_NAME "$PACKAGE_NAME"
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_STRING "$PACKAGE_STRING"
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1169 # Let the site file select an alternate cache file if it wants to.
1170 # Prefer explicitly selected file to automatically selected ones.
1171 if test -z "$CONFIG_SITE"; then
1172 if test "x$prefix" != xNONE; then
1173 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1175 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178 for ac_site_file in $CONFIG_SITE; do
1179 if test -r "$ac_site_file"; then
1180 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1181 echo "$as_me: loading site script $ac_site_file" >&6;}
1182 sed 's/^/| /' "$ac_site_file" >&5
1187 if test -r "$cache_file"; then
1188 # Some versions of bash will fail to source /dev/null (special
1189 # files actually), so we avoid doing that.
1190 if test -f "$cache_file"; then
1191 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1192 echo "$as_me: loading cache $cache_file" >&6;}
1194 [\\/]* | ?:[\\/]* ) . $cache_file;;
1195 *) . ./$cache_file;;
1199 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1200 echo "$as_me: creating cache $cache_file" >&6;}
1204 # Check that the precious variables saved in the cache have kept the same
1206 ac_cache_corrupted=false
1207 for ac_var in `(set) 2>&1 |
1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1209 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1210 eval ac_new_set=\$ac_env_${ac_var}_set
1211 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1212 eval ac_new_val="\$ac_env_${ac_var}_value"
1213 case $ac_old_set,$ac_new_set in
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1221 ac_cache_corrupted=: ;;
1224 if test "x$ac_old_val" != "x$ac_new_val"; then
1225 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1226 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1227 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1228 echo "$as_me: former value: $ac_old_val" >&2;}
1229 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1230 echo "$as_me: current value: $ac_new_val" >&2;}
1231 ac_cache_corrupted=:
1234 # Pass precious variables to config.status.
1235 if test "$ac_new_set" = set; then
1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1239 *) ac_arg=$ac_var=$ac_new_val ;;
1241 case " $ac_configure_args " in
1242 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1243 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1247 if $ac_cache_corrupted; then
1248 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1249 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1250 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1251 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1252 { (exit 1); exit 1; }; }
1256 ac_cpp='$CPP $CPPFLAGS'
1257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 for ac_dir in autodyninst $srcdir/autodyninst; do
1292 if test -f $ac_dir/install-sh; then
1294 ac_install_sh="$ac_aux_dir/install-sh -c"
1296 elif test -f $ac_dir/install.sh; then
1298 ac_install_sh="$ac_aux_dir/install.sh -c"
1300 elif test -f $ac_dir/shtool; then
1302 ac_install_sh="$ac_aux_dir/shtool install -c"
1306 if test -z "$ac_aux_dir"; then
1307 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autodyninst $srcdir/autodyninst" >&5
1308 echo "$as_me: error: cannot find install-sh or install.sh in autodyninst $srcdir/autodyninst" >&2;}
1309 { (exit 1); exit 1; }; }
1311 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1312 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1313 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1316 [\\/]* | ?:[\\/]* ) ac_macro_dir=autodyninst ;;
1317 *) ac_macro_dir=$srcdir/autodyninst ;;
1319 if test -d "$ac_macro_dir"; then :
1321 { { echo "$as_me:$LINENO: error: cannot find macro directory \`autodyninst'" >&5
1322 echo "$as_me: error: cannot find macro directory \`autodyninst'" >&2;}
1323 { (exit 1); exit 1; }; }
1328 ac_cpp='$CXXCPP $CPPFLAGS'
1329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1332 if test -n "$ac_tool_prefix"; then
1333 for ac_prog in $CCC g++
1335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1337 echo "$as_me:$LINENO: checking for $ac_word" >&5
1338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1339 if test "${ac_cv_prog_CXX+set}" = set; then
1340 echo $ECHO_N "(cached) $ECHO_C" >&6
1342 if test -n "$CXX"; then
1343 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349 test -z "$as_dir" && as_dir=.
1350 for ac_exec_ext in '' $ac_executable_extensions; do
1351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1352 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1362 if test -n "$CXX"; then
1363 echo "$as_me:$LINENO: result: $CXX" >&5
1364 echo "${ECHO_T}$CXX" >&6
1366 echo "$as_me:$LINENO: result: no" >&5
1367 echo "${ECHO_T}no" >&6
1370 test -n "$CXX" && break
1373 if test -z "$CXX"; then
1375 for ac_prog in $CCC g++
1377 # Extract the first word of "$ac_prog", so it can be a program name with args.
1378 set dummy $ac_prog; ac_word=$2
1379 echo "$as_me:$LINENO: checking for $ac_word" >&5
1380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1381 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 if test -n "$ac_ct_CXX"; then
1385 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1391 test -z "$as_dir" && as_dir=.
1392 for ac_exec_ext in '' $ac_executable_extensions; do
1393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1394 ac_cv_prog_ac_ct_CXX="$ac_prog"
1395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1404 if test -n "$ac_ct_CXX"; then
1405 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1406 echo "${ECHO_T}$ac_ct_CXX" >&6
1408 echo "$as_me:$LINENO: result: no" >&5
1409 echo "${ECHO_T}no" >&6
1412 test -n "$ac_ct_CXX" && break
1414 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1420 # Provide some information about the compiler.
1421 echo "$as_me:$LINENO:" \
1422 "checking for C++ compiler version" >&5
1423 ac_compiler=`set X $ac_compile; echo $2`
1424 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1425 (eval $ac_compiler --version </dev/null >&5) 2>&5
1427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1428 (exit $ac_status); }
1429 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1430 (eval $ac_compiler -v </dev/null >&5) 2>&5
1432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1433 (exit $ac_status); }
1434 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1435 (eval $ac_compiler -V </dev/null >&5) 2>&5
1437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1438 (exit $ac_status); }
1440 cat >conftest.$ac_ext <<_ACEOF
1443 cat confdefs.h >>conftest.$ac_ext
1444 cat >>conftest.$ac_ext <<_ACEOF
1445 /* end confdefs.h. */
1455 ac_clean_files_save=$ac_clean_files
1456 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1457 # Try to create an executable without -o first, disregard a.out.
1458 # It will help us diagnose broken compilers, and finding out an intuition
1460 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1461 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1462 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1463 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1464 (eval $ac_link_default) 2>&5
1466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1467 (exit $ac_status); }; then
1468 # Find the output, starting from the most likely. This scheme is
1469 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1472 # Be careful to initialize this variable, since it used to be cached.
1473 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1475 # b.out is created by i960 compilers.
1476 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1478 test -f "$ac_file" || continue
1480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1483 # This is the source file.
1486 # We found the default executable, but exeext='' is most
1490 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1491 # FIXME: I believe we export ac_cv_exeext for Libtool,
1492 # but it would be cool to find out if it's true. Does anybody
1493 # maintain Libtool? --akim.
1501 echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1504 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1505 See \`config.log' for more details." >&5
1506 echo "$as_me: error: C++ compiler cannot create executables
1507 See \`config.log' for more details." >&2;}
1508 { (exit 77); exit 77; }; }
1511 ac_exeext=$ac_cv_exeext
1512 echo "$as_me:$LINENO: result: $ac_file" >&5
1513 echo "${ECHO_T}$ac_file" >&6
1515 # Check the compiler produces executables we can run. If not, either
1516 # the compiler is broken, or we cross compile.
1517 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1518 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1519 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1520 # If not cross compiling, check that we can run a simple program.
1521 if test "$cross_compiling" != yes; then
1522 if { ac_try='./$ac_file'
1523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1527 (exit $ac_status); }; }; then
1530 if test "$cross_compiling" = maybe; then
1533 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1534 If you meant to cross compile, use \`--host'.
1535 See \`config.log' for more details." >&5
1536 echo "$as_me: error: cannot run C++ compiled programs.
1537 If you meant to cross compile, use \`--host'.
1538 See \`config.log' for more details." >&2;}
1539 { (exit 1); exit 1; }; }
1543 echo "$as_me:$LINENO: result: yes" >&5
1544 echo "${ECHO_T}yes" >&6
1546 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1547 ac_clean_files=$ac_clean_files_save
1548 # Check the compiler produces executables we can run. If not, either
1549 # the compiler is broken, or we cross compile.
1550 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1551 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1552 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1553 echo "${ECHO_T}$cross_compiling" >&6
1555 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1556 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1558 (eval $ac_link) 2>&5
1560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1561 (exit $ac_status); }; then
1562 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1563 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1564 # work properly (i.e., refer to `conftest.exe'), while it won't with
1566 for ac_file in conftest.exe conftest conftest.*; do
1567 test -f "$ac_file" || continue
1569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1570 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1577 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1578 See \`config.log' for more details." >&5
1579 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1580 See \`config.log' for more details." >&2;}
1581 { (exit 1); exit 1; }; }
1584 rm -f conftest$ac_cv_exeext
1585 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1586 echo "${ECHO_T}$ac_cv_exeext" >&6
1588 rm -f conftest.$ac_ext
1589 EXEEXT=$ac_cv_exeext
1591 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1592 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1593 if test "${ac_cv_objext+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 cat >conftest.$ac_ext <<_ACEOF
1599 cat confdefs.h >>conftest.$ac_ext
1600 cat >>conftest.$ac_ext <<_ACEOF
1601 /* end confdefs.h. */
1611 rm -f conftest.o conftest.obj
1612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1613 (eval $ac_compile) 2>&5
1615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1616 (exit $ac_status); }; then
1617 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1619 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1620 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1625 echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1628 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1629 See \`config.log' for more details." >&5
1630 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1631 See \`config.log' for more details." >&2;}
1632 { (exit 1); exit 1; }; }
1635 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1637 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1638 echo "${ECHO_T}$ac_cv_objext" >&6
1639 OBJEXT=$ac_cv_objext
1641 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1642 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1643 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1646 cat >conftest.$ac_ext <<_ACEOF
1649 cat confdefs.h >>conftest.$ac_ext
1650 cat >>conftest.$ac_ext <<_ACEOF
1651 /* end confdefs.h. */
1664 rm -f conftest.$ac_objext
1665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1666 (eval $ac_compile) 2>conftest.er1
1668 grep -v '^ *+' conftest.er1 >conftest.err
1670 cat conftest.err >&5
1671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1672 (exit $ac_status); } &&
1673 { ac_try='test -z "$ac_cxx_werror_flag"
1674 || test ! -s conftest.err'
1675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; } &&
1680 { ac_try='test -s conftest.$ac_objext'
1681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1685 (exit $ac_status); }; }; then
1688 echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1694 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1697 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1698 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1699 GXX=`test $ac_compiler_gnu = yes && echo yes`
1700 ac_test_CXXFLAGS=${CXXFLAGS+set}
1701 ac_save_CXXFLAGS=$CXXFLAGS
1703 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1704 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1705 if test "${ac_cv_prog_cxx_g+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 cat >conftest.$ac_ext <<_ACEOF
1711 cat confdefs.h >>conftest.$ac_ext
1712 cat >>conftest.$ac_ext <<_ACEOF
1713 /* end confdefs.h. */
1723 rm -f conftest.$ac_objext
1724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1725 (eval $ac_compile) 2>conftest.er1
1727 grep -v '^ *+' conftest.er1 >conftest.err
1729 cat conftest.err >&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); } &&
1732 { ac_try='test -z "$ac_cxx_werror_flag"
1733 || test ! -s conftest.err'
1734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1738 (exit $ac_status); }; } &&
1739 { ac_try='test -s conftest.$ac_objext'
1740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1744 (exit $ac_status); }; }; then
1745 ac_cv_prog_cxx_g=yes
1747 echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1754 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1755 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1756 if test "$ac_test_CXXFLAGS" = set; then
1757 CXXFLAGS=$ac_save_CXXFLAGS
1758 elif test $ac_cv_prog_cxx_g = yes; then
1759 if test "$GXX" = yes; then
1765 if test "$GXX" = yes; then
1771 for ac_declaration in \
1773 'extern "C" void std::exit (int) throw (); using std::exit;' \
1774 'extern "C" void std::exit (int); using std::exit;' \
1775 'extern "C" void exit (int) throw ();' \
1776 'extern "C" void exit (int);' \
1779 cat >conftest.$ac_ext <<_ACEOF
1782 cat confdefs.h >>conftest.$ac_ext
1783 cat >>conftest.$ac_ext <<_ACEOF
1784 /* end confdefs.h. */
1795 rm -f conftest.$ac_objext
1796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1797 (eval $ac_compile) 2>conftest.er1
1799 grep -v '^ *+' conftest.er1 >conftest.err
1801 cat conftest.err >&5
1802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1803 (exit $ac_status); } &&
1804 { ac_try='test -z "$ac_cxx_werror_flag"
1805 || test ! -s conftest.err'
1806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1810 (exit $ac_status); }; } &&
1811 { ac_try='test -s conftest.$ac_objext'
1812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1816 (exit $ac_status); }; }; then
1819 echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1825 cat >conftest.$ac_ext <<_ACEOF
1828 cat confdefs.h >>conftest.$ac_ext
1829 cat >>conftest.$ac_ext <<_ACEOF
1830 /* end confdefs.h. */
1840 rm -f conftest.$ac_objext
1841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1842 (eval $ac_compile) 2>conftest.er1
1844 grep -v '^ *+' conftest.er1 >conftest.err
1846 cat conftest.err >&5
1847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1848 (exit $ac_status); } &&
1849 { ac_try='test -z "$ac_cxx_werror_flag"
1850 || test ! -s conftest.err'
1851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1855 (exit $ac_status); }; } &&
1856 { ac_try='test -s conftest.$ac_objext'
1857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }; }; then
1864 echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1871 if test -n "$ac_declaration"; then
1872 echo '#ifdef __cplusplus' >>confdefs.h
1873 echo $ac_declaration >>confdefs.h
1874 echo '#endif' >>confdefs.h
1878 ac_cpp='$CPP $CPPFLAGS'
1879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1883 # Extract the first word of "icc", so it can be a program name with args.
1884 set dummy icc; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_path__ICC_+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 ac_cv_path__ICC_="$_ICC_" # Let the user override the test with a path.
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir=.
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_path__ICC_="$as_dir/$ac_word$ac_exec_ext"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 _ICC_=$ac_cv_path__ICC_
1914 if test -n "$_ICC_"; then
1915 echo "$as_me:$LINENO: result: $_ICC_" >&5
1916 echo "${ECHO_T}$_ICC_" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1922 # Extract the first word of "icpc", so it can be a program name with args.
1923 set dummy icpc; ac_word=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_path__ICPC_+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 ac_cv_path__ICPC_="$_ICPC_" # Let the user override the test with a path.
1934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 test -z "$as_dir" && as_dir=.
1939 for ac_exec_ext in '' $ac_executable_extensions; do
1940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1941 ac_cv_path__ICPC_="$as_dir/$ac_word$ac_exec_ext"
1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 _ICPC_=$ac_cv_path__ICPC_
1953 if test -n "$_ICPC_"; then
1954 echo "$as_me:$LINENO: result: $_ICPC_" >&5
1955 echo "${ECHO_T}$_ICPC_" >&6
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1961 # Extract the first word of "pgcc", so it can be a program name with args.
1962 set dummy pgcc; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_path__PGC_+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 ac_cv_path__PGC_="$_PGC_" # Let the user override the test with a path.
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980 ac_cv_path__PGC_="$as_dir/$ac_word$ac_exec_ext"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 _PGC_=$ac_cv_path__PGC_
1992 if test -n "$_PGC_"; then
1993 echo "$as_me:$LINENO: result: $_PGC_" >&5
1994 echo "${ECHO_T}$_PGC_" >&6
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
2000 # Extract the first word of "pgCC", so it can be a program name with args.
2001 set dummy pgCC; ac_word=$2
2002 echo "$as_me:$LINENO: checking for $ac_word" >&5
2003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2004 if test "${ac_cv_path__PGCXX_+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 ac_cv_path__PGCXX_="$_PGCXX_" # Let the user override the test with a path.
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 for ac_exec_ext in '' $ac_executable_extensions; do
2018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2019 ac_cv_path__PGCXX_="$as_dir/$ac_word$ac_exec_ext"
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 _PGCXX_=$ac_cv_path__PGCXX_
2031 if test -n "$_PGCXX_"; then
2032 echo "$as_me:$LINENO: result: $_PGCXX_" >&5
2033 echo "${ECHO_T}$_PGCXX_" >&6
2035 echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2039 # Extract the first word of "cc", so it can be a program name with args.
2040 set dummy cc; ac_word=$2
2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 if test "${ac_cv_path__CC_+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 ac_cv_path__CC_="$_CC_" # Let the user override the test with a path.
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058 ac_cv_path__CC_="$as_dir/$ac_word$ac_exec_ext"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 _CC_=$ac_cv_path__CC_
2070 if test -n "$_CC_"; then
2071 echo "$as_me:$LINENO: result: $_CC_" >&5
2072 echo "${ECHO_T}$_CC_" >&6
2074 echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6
2078 # Extract the first word of "CC", so it can be a program name with args.
2079 set dummy CC; ac_word=$2
2080 echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082 if test "${ac_cv_path__CXX_+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 ac_cv_path__CXX_="$_CXX_" # Let the user override the test with a path.
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2097 ac_cv_path__CXX_="$as_dir/$ac_word$ac_exec_ext"
2098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 _CXX_=$ac_cv_path__CXX_
2109 if test -n "$_CXX_"; then
2110 echo "$as_me:$LINENO: result: $_CXX_" >&5
2111 echo "${ECHO_T}$_CXX_" >&6
2113 echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6
2118 ac_cpp='$CXXCPP $CPPFLAGS'
2119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2129 # Check whether --with-package-base or --without-package-base was given.
2130 if test "${with_package_base+set}" = set; then
2131 withval="$with_package_base"
2132 PACKAGE_BASE="${withval}";
2133 TCLTK_INC_DIR="${PACKAGE_BASE}/tcl8.4.5/include";
2134 TCLTK_LIB_DIR="${PACKAGE_BASE}/tcl8.4.5/lib";
2135 LIBELF_INC_DIR="${PACKAGE_BASE}/libelf/include";
2136 LIBELF_LIB_DIR="${PACKAGE_BASE}/libelf/lib";
2137 LIBDWARF_INC_DIR="${PACKAGE_BASE}/libdwarf/include";
2138 LIBDWARF_LIB_DIR="${PACKAGE_BASE}/libdwarf/lib";
2139 LIBXML2_INC_DIR="${PACKAGE_BASE}/libxml2/include/libxml2"
2140 LIBXML2_LIB_DIR="${PACKAGE_BASE}/libxml2/lib";
2141 LIBUNWIND_INC_DIR="${PACKAGE_BASE}/libunwind/include";
2142 LIBUNWIND_LIB_DIR="${PACKAGE_BASE}/libunwind/lib";
2143 LIBFLEX_LIB_DIR="${PACKAGE_BASE}/libflex/lib";
2147 # We fall back on these defaults if both --with-package-base and
2148 # specific --with-<package> arguments are not provided.
2149 TCLTK_INC_DIR="/usr/include";
2150 TCLTK_LIB_DIR="/usr/lib";
2151 LIBELF_INC_DIR="/usr/include";
2152 LIBELF_LIB_DIR="/usr/lib";
2153 LIBDWARF_INC_DIR="/usr/include";
2154 LIBDWARF_LIB_DIR="/usr/lib";
2155 LIBXML2_INC_DIR="/usr/include/libxml2"
2156 LIBXML2_LIB_DIR="/usr/lib";
2157 LIBUNWIND_INC_DIR="/usr/include";
2158 LIBUNWIND_LIB_DIR="/usr/lib";
2159 LIBFLEX_LIB_DIR="/usr/lib";
2162 # 3/15/09: We don't include libiberty in the cs.wisc.edu package-base.
2163 # Why? Putting these here for now...
2164 LIBIBERTY_LIB_DIR="/usr/lib";
2168 # Check whether --with-tcl83 or --without-tcl83 was given.
2169 if test "${with_tcl83+set}" = set; then
2170 withval="$with_tcl83"
2171 TCL_VERSION="tcl8.3"; USE_TCL83="${withval}";
2173 TCL_VERSION="tcl8.4"; USE_TCL83="false";
2176 # Check whether --with-tcltk-incdir or --without-tcltk-incdir was given.
2177 if test "${with_tcltk_incdir+set}" = set; then
2178 withval="$with_tcltk_incdir"
2179 TCLTK_INC_DIR="${withval}";
2182 # Check whether --with-tcltk-libdir or --without-tcltk-libdir was given.
2183 if test "${with_tcltk_libdir+set}" = set; then
2184 withval="$with_tcltk_libdir"
2185 TCLTK_LIB_DIR="${withval}";
2189 CXXFLAGS_HOLD=$CXXFLAGS
2190 if test "$TCLTK_INC_DIR" != "" ; then
2191 echo "$as_me:$LINENO: checking for tcl.h in $TCLTK_INC_DIR" >&5
2192 echo $ECHO_N "checking for tcl.h in $TCLTK_INC_DIR... $ECHO_C" >&6
2193 CXXFLAGS="$CXXFLAGS -I$TCLTK_INC_DIR"
2195 echo "$as_me:$LINENO: checking for tcl.h" >&5
2196 echo $ECHO_N "checking for tcl.h... $ECHO_C" >&6
2198 cat >conftest.$ac_ext <<_ACEOF
2201 cat confdefs.h >>conftest.$ac_ext
2202 cat >>conftest.$ac_ext <<_ACEOF
2203 /* end confdefs.h. */
2213 rm -f conftest.$ac_objext
2214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2215 (eval $ac_compile) 2>conftest.er1
2217 grep -v '^ *+' conftest.er1 >conftest.err
2219 cat conftest.err >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); } &&
2222 { ac_try='test -z "$ac_cxx_werror_flag"
2223 || test ! -s conftest.err'
2224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }; } &&
2229 { ac_try='test -s conftest.$ac_objext'
2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; }; then
2236 cat >>confdefs.h <<\_ACEOF
2237 #define cap_have_tcl 1
2241 echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2244 echo "$as_me:$LINENO: result: tcl.h not found in $TCLTK_INC_DIR" >&5
2245 echo "${ECHO_T}tcl.h not found in $TCLTK_INC_DIR" >&6
2247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2248 CXXFLAGS=$CXXFLAGS_HOLD
2251 if test "$TCLTK_LIB_DIR" = "" ; then
2253 as_ac_Lib=`echo "ac_cv_lib_$TCL_VERSION''_Tcl_Eval" | $as_tr_sh`
2254 echo "$as_me:$LINENO: checking for Tcl_Eval in -l$TCL_VERSION" >&5
2255 echo $ECHO_N "checking for Tcl_Eval in -l$TCL_VERSION... $ECHO_C" >&6
2256 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 ac_check_lib_save_LIBS=$LIBS
2260 LIBS="-l$TCL_VERSION $LIBS"
2261 cat >conftest.$ac_ext <<_ACEOF
2264 cat confdefs.h >>conftest.$ac_ext
2265 cat >>conftest.$ac_ext <<_ACEOF
2266 /* end confdefs.h. */
2268 /* Override any gcc2 internal prototype to avoid an error. */
2272 /* We use char because int might match the return type of a gcc2
2273 builtin and then its argument prototype would still apply. */
2283 rm -f conftest.$ac_objext conftest$ac_exeext
2284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2285 (eval $ac_link) 2>conftest.er1
2287 grep -v '^ *+' conftest.er1 >conftest.err
2289 cat conftest.err >&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); } &&
2292 { ac_try='test -z "$ac_cxx_werror_flag"
2293 || test ! -s conftest.err'
2294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }; } &&
2299 { ac_try='test -s conftest$ac_exeext'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; }; then
2305 eval "$as_ac_Lib=yes"
2307 echo "$as_me: failed program was:" >&5
2308 sed 's/^/| /' conftest.$ac_ext >&5
2310 eval "$as_ac_Lib=no"
2312 rm -f conftest.err conftest.$ac_objext \
2313 conftest$ac_exeext conftest.$ac_ext
2314 LIBS=$ac_check_lib_save_LIBS
2316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
2317 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
2318 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
2319 cat >>confdefs.h <<_ACEOF
2320 #define `echo "HAVE_LIB$TCL_VERSION" | $as_tr_cpp` 1
2323 LIBS="-l$TCL_VERSION $LIBS"
2326 echo "$as_me:$LINENO: result: Can't find lib$TCL_VERSION." >&5
2327 echo "${ECHO_T}Can't find lib$TCL_VERSION." >&6
2332 if test "" != "" ; then
2333 LIBS="-L$TCLTK_LIB_DIR -L"
2335 as_ac_Lib=`echo "ac_cv_lib_$TCL_VERSION''_Tcl_Eval" | $as_tr_sh`
2336 echo "$as_me:$LINENO: checking for Tcl_Eval in -l$TCL_VERSION" >&5
2337 echo $ECHO_N "checking for Tcl_Eval in -l$TCL_VERSION... $ECHO_C" >&6
2338 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 ac_check_lib_save_LIBS=$LIBS
2342 LIBS="-l$TCL_VERSION $LIBS"
2343 cat >conftest.$ac_ext <<_ACEOF
2346 cat confdefs.h >>conftest.$ac_ext
2347 cat >>conftest.$ac_ext <<_ACEOF
2348 /* end confdefs.h. */
2350 /* Override any gcc2 internal prototype to avoid an error. */
2354 /* We use char because int might match the return type of a gcc2
2355 builtin and then its argument prototype would still apply. */
2365 rm -f conftest.$ac_objext conftest$ac_exeext
2366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2367 (eval $ac_link) 2>conftest.er1
2369 grep -v '^ *+' conftest.er1 >conftest.err
2371 cat conftest.err >&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } &&
2374 { ac_try='test -z "$ac_cxx_werror_flag"
2375 || test ! -s conftest.err'
2376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; } &&
2381 { ac_try='test -s conftest$ac_exeext'
2382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }; }; then
2387 eval "$as_ac_Lib=yes"
2389 echo "$as_me: failed program was:" >&5
2390 sed 's/^/| /' conftest.$ac_ext >&5
2392 eval "$as_ac_Lib=no"
2394 rm -f conftest.err conftest.$ac_objext \
2395 conftest$ac_exeext conftest.$ac_ext
2396 LIBS=$ac_check_lib_save_LIBS
2398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
2399 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
2400 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
2401 cat >>confdefs.h <<_ACEOF
2402 #define `echo "HAVE_LIB$TCL_VERSION" | $as_tr_cpp` 1
2405 LIBS="-l$TCL_VERSION $LIBS"
2408 echo "$as_me:$LINENO: result: Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&5
2409 echo "${ECHO_T}Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&6
2413 LIBS="-L$TCLTK_LIB_DIR"
2415 as_ac_Lib=`echo "ac_cv_lib_$TCL_VERSION''_Tcl_Eval" | $as_tr_sh`
2416 echo "$as_me:$LINENO: checking for Tcl_Eval in -l$TCL_VERSION" >&5
2417 echo $ECHO_N "checking for Tcl_Eval in -l$TCL_VERSION... $ECHO_C" >&6
2418 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 ac_check_lib_save_LIBS=$LIBS
2422 LIBS="-l$TCL_VERSION $LIBS"
2423 cat >conftest.$ac_ext <<_ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2430 /* Override any gcc2 internal prototype to avoid an error. */
2434 /* We use char because int might match the return type of a gcc2
2435 builtin and then its argument prototype would still apply. */
2445 rm -f conftest.$ac_objext conftest$ac_exeext
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2447 (eval $ac_link) 2>conftest.er1
2449 grep -v '^ *+' conftest.er1 >conftest.err
2451 cat conftest.err >&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try='test -z "$ac_cxx_werror_flag"
2455 || test ! -s conftest.err'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; } &&
2461 { ac_try='test -s conftest$ac_exeext'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2467 eval "$as_ac_Lib=yes"
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2472 eval "$as_ac_Lib=no"
2474 rm -f conftest.err conftest.$ac_objext \
2475 conftest$ac_exeext conftest.$ac_ext
2476 LIBS=$ac_check_lib_save_LIBS
2478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
2479 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
2480 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
2481 cat >>confdefs.h <<_ACEOF
2482 #define `echo "HAVE_LIB$TCL_VERSION" | $as_tr_cpp` 1
2485 LIBS="-l$TCL_VERSION $LIBS"
2488 echo "$as_me:$LINENO: result: Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&5
2489 echo "${ECHO_T}Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&6
2500 # Make sure we can run config.sub.
2501 $ac_config_sub sun4 >/dev/null 2>&1 ||
2502 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2503 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2504 { (exit 1); exit 1; }; }
2506 echo "$as_me:$LINENO: checking build system type" >&5
2507 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2508 if test "${ac_cv_build+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 ac_cv_build_alias=$build_alias
2512 test -z "$ac_cv_build_alias" &&
2513 ac_cv_build_alias=`$ac_config_guess`
2514 test -z "$ac_cv_build_alias" &&
2515 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2516 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2517 { (exit 1); exit 1; }; }
2518 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2520 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2521 { (exit 1); exit 1; }; }
2524 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2525 echo "${ECHO_T}$ac_cv_build" >&6
2527 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2528 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2529 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2532 echo "$as_me:$LINENO: checking host system type" >&5
2533 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2534 if test "${ac_cv_host+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 ac_cv_host_alias=$host_alias
2538 test -z "$ac_cv_host_alias" &&
2539 ac_cv_host_alias=$ac_cv_build_alias
2540 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2542 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2543 { (exit 1); exit 1; }; }
2546 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2547 echo "${ECHO_T}$ac_cv_host" >&6
2549 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2550 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2551 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2555 if test "`echo $host_os | cut -b-3`" = "aix" ; then
2556 { echo "$as_me:$LINENO: AIX system, skipping libelf..." >&5
2557 echo "$as_me: AIX system, skipping libelf..." >&6;}
2561 # Check whether --with-libelf-incdir or --without-libelf-incdir was given.
2562 if test "${with_libelf_incdir+set}" = set; then
2563 withval="$with_libelf_incdir"
2564 LIBELF_INC_DIR="${withval}";
2567 # Check whether --with-libelf-libdir or --without-libelf-libdir was given.
2568 if test "${with_libelf_libdir+set}" = set; then
2569 withval="$with_libelf_libdir"
2570 LIBELF_LIB_DIR="${withval}";
2573 CXXFLAGS_HOLD=$CXXFLAGS
2574 if test "$LIBELF_INC_DIR" != "" ; then
2575 echo "$as_me:$LINENO: checking for libelf.h in $LIBELF_INC_DIR" >&5
2576 echo $ECHO_N "checking for libelf.h in $LIBELF_INC_DIR... $ECHO_C" >&6
2577 CXXFLAGS="$CXXFLAGS -I$LIBELF_INC_DIR"
2579 echo "$as_me:$LINENO: checking for libelf.h" >&5
2580 echo $ECHO_N "checking for libelf.h... $ECHO_C" >&6
2582 cat >conftest.$ac_ext <<_ACEOF
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2597 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>conftest.er1
2601 grep -v '^ *+' conftest.er1 >conftest.err
2603 cat conftest.err >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); } &&
2606 { ac_try='test -z "$ac_cxx_werror_flag"
2607 || test ! -s conftest.err'
2608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; } &&
2613 { ac_try='test -s conftest.$ac_objext'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; }; then
2619 echo "$as_me:$LINENO: result: yes" >&5
2620 echo "${ECHO_T}yes" >&6
2622 echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.$ac_ext >&5
2625 { { echo "$as_me:$LINENO: error: libelf.h not found in $LIBELF_INC_DIR" >&5
2626 echo "$as_me: error: libelf.h not found in $LIBELF_INC_DIR" >&2;}
2627 { (exit 1); exit 1; }; }
2629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2630 CXXFLAGS=$CXXFLAGS_HOLD
2633 if test "$LIBELF_LIB_DIR" = "" ; then
2635 echo "$as_me:$LINENO: checking for elf_memory in -lelf" >&5
2636 echo $ECHO_N "checking for elf_memory in -lelf... $ECHO_C" >&6
2637 if test "${ac_cv_lib_elf_elf_memory+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 ac_check_lib_save_LIBS=$LIBS
2642 cat >conftest.$ac_ext <<_ACEOF
2645 cat confdefs.h >>conftest.$ac_ext
2646 cat >>conftest.$ac_ext <<_ACEOF
2647 /* end confdefs.h. */
2649 /* Override any gcc2 internal prototype to avoid an error. */
2653 /* We use char because int might match the return type of a gcc2
2654 builtin and then its argument prototype would still apply. */
2664 rm -f conftest.$ac_objext conftest$ac_exeext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2666 (eval $ac_link) 2>conftest.er1
2668 grep -v '^ *+' conftest.er1 >conftest.err
2670 cat conftest.err >&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); } &&
2673 { ac_try='test -z "$ac_cxx_werror_flag"
2674 || test ! -s conftest.err'
2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; } &&
2680 { ac_try='test -s conftest$ac_exeext'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2686 ac_cv_lib_elf_elf_memory=yes
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 ac_cv_lib_elf_elf_memory=no
2693 rm -f conftest.err conftest.$ac_objext \
2694 conftest$ac_exeext conftest.$ac_ext
2695 LIBS=$ac_check_lib_save_LIBS
2697 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_memory" >&5
2698 echo "${ECHO_T}$ac_cv_lib_elf_elf_memory" >&6
2699 if test $ac_cv_lib_elf_elf_memory = yes; then
2700 cat >>confdefs.h <<_ACEOF
2701 #define HAVE_LIBELF 1
2707 { { echo "$as_me:$LINENO: error: Can't find libelf." >&5
2708 echo "$as_me: error: Can't find libelf." >&2;}
2709 { (exit 1); exit 1; }; }
2714 if test "" != "" ; then
2715 LIBS="-L$LIBELF_LIB_DIR -L"
2717 echo "$as_me:$LINENO: checking for elf_memory in -lelf" >&5
2718 echo $ECHO_N "checking for elf_memory in -lelf... $ECHO_C" >&6
2719 if test "${ac_cv_lib_elf_elf_memory+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 ac_check_lib_save_LIBS=$LIBS
2724 cat >conftest.$ac_ext <<_ACEOF
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2731 /* Override any gcc2 internal prototype to avoid an error. */
2735 /* We use char because int might match the return type of a gcc2
2736 builtin and then its argument prototype would still apply. */
2746 rm -f conftest.$ac_objext conftest$ac_exeext
2747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2748 (eval $ac_link) 2>conftest.er1
2750 grep -v '^ *+' conftest.er1 >conftest.err
2752 cat conftest.err >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); } &&
2755 { ac_try='test -z "$ac_cxx_werror_flag"
2756 || test ! -s conftest.err'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; } &&
2762 { ac_try='test -s conftest$ac_exeext'
2763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; }; then
2768 ac_cv_lib_elf_elf_memory=yes
2770 echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 ac_cv_lib_elf_elf_memory=no
2775 rm -f conftest.err conftest.$ac_objext \
2776 conftest$ac_exeext conftest.$ac_ext
2777 LIBS=$ac_check_lib_save_LIBS
2779 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_memory" >&5
2780 echo "${ECHO_T}$ac_cv_lib_elf_elf_memory" >&6
2781 if test $ac_cv_lib_elf_elf_memory = yes; then
2782 cat >>confdefs.h <<_ACEOF
2783 #define HAVE_LIBELF 1
2789 { { echo "$as_me:$LINENO: error: Can't find libelf in $LIBELF_LIB_DIR" >&5
2790 echo "$as_me: error: Can't find libelf in $LIBELF_LIB_DIR" >&2;}
2791 { (exit 1); exit 1; }; }
2795 LIBS="-L$LIBELF_LIB_DIR"
2797 echo "$as_me:$LINENO: checking for elf_memory in -lelf" >&5
2798 echo $ECHO_N "checking for elf_memory in -lelf... $ECHO_C" >&6
2799 if test "${ac_cv_lib_elf_elf_memory+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 ac_check_lib_save_LIBS=$LIBS
2804 cat >conftest.$ac_ext <<_ACEOF
2807 cat confdefs.h >>conftest.$ac_ext
2808 cat >>conftest.$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2811 /* Override any gcc2 internal prototype to avoid an error. */
2815 /* We use char because int might match the return type of a gcc2
2816 builtin and then its argument prototype would still apply. */
2826 rm -f conftest.$ac_objext conftest$ac_exeext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2828 (eval $ac_link) 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_cxx_werror_flag"
2836 || test ! -s conftest.err'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; } &&
2842 { ac_try='test -s conftest$ac_exeext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2848 ac_cv_lib_elf_elf_memory=yes
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2853 ac_cv_lib_elf_elf_memory=no
2855 rm -f conftest.err conftest.$ac_objext \
2856 conftest$ac_exeext conftest.$ac_ext
2857 LIBS=$ac_check_lib_save_LIBS
2859 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_memory" >&5
2860 echo "${ECHO_T}$ac_cv_lib_elf_elf_memory" >&6
2861 if test $ac_cv_lib_elf_elf_memory = yes; then
2862 cat >>confdefs.h <<_ACEOF
2863 #define HAVE_LIBELF 1
2869 { { echo "$as_me:$LINENO: error: Can't find libelf in $LIBELF_LIB_DIR" >&5
2870 echo "$as_me: error: Can't find libelf in $LIBELF_LIB_DIR" >&2;}
2871 { (exit 1); exit 1; }; }
2879 LIB_TYPE_DYNAMIC=`ls -H -1 $LIBELF_LIB_DIR | grep elf | grep '\.so' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
2880 if test "$LIB_TYPE_DYNAMIC" = "true"; then
2883 LIB_TYPE_STATIC=`ls -H -1 $LIBELF_LIB_DIR | grep elf | grep '\.a' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
2886 LIBELF_STATIC="$LIB_TYPE_STATIC"
2887 LIBELF_DYNAMIC="$LIB_TYPE_DYNAMIC"
2894 if test "`echo $host_os | cut -b-3`" = "aix" ; then
2895 { echo "$as_me:$LINENO: AIX system, skipping libdwarf..." >&5
2896 echo "$as_me: AIX system, skipping libdwarf..." >&6;}
2900 # Check whether --with-libdwarf-incdir or --without-libdwarf-incdir was given.
2901 if test "${with_libdwarf_incdir+set}" = set; then
2902 withval="$with_libdwarf_incdir"
2903 LIBDWARF_INC_DIR="${withval}";
2906 # Check whether --with-libdwarf-libdir or --without-libdwarf-libdir was given.
2907 if test "${with_libdwarf_libdir+set}" = set; then
2908 withval="$with_libdwarf_libdir"
2909 LIBDWARF_LIB_DIR="${withval}";
2912 CXXFLAGS_HOLD=$CXXFLAGS
2913 if test "$LIBDWARF_INC_DIR" != "" ; then
2914 echo "$as_me:$LINENO: checking for libdwarf.h in $LIBDWARF_INC_DIR" >&5
2915 echo $ECHO_N "checking for libdwarf.h in $LIBDWARF_INC_DIR... $ECHO_C" >&6
2916 CXXFLAGS="$CXXFLAGS -I$LIBDWARF_INC_DIR"
2918 echo "$as_me:$LINENO: checking for libdwarf.h" >&5
2919 echo $ECHO_N "checking for libdwarf.h... $ECHO_C" >&6
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2927 #include "libdwarf.h"
2936 rm -f conftest.$ac_objext
2937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2938 (eval $ac_compile) 2>conftest.er1
2940 grep -v '^ *+' conftest.er1 >conftest.err
2942 cat conftest.err >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } &&
2945 { ac_try='test -z "$ac_cxx_werror_flag"
2946 || test ! -s conftest.err'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; } &&
2952 { ac_try='test -s conftest.$ac_objext'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then
2958 echo "$as_me:$LINENO: result: yes" >&5
2959 echo "${ECHO_T}yes" >&6
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 { { echo "$as_me:$LINENO: error: libdwarf.h not found in $LIBDWARF_INC_DIR" >&5
2965 echo "$as_me: error: libdwarf.h not found in $LIBDWARF_INC_DIR" >&2;}
2966 { (exit 1); exit 1; }; }
2968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2969 CXXFLAGS=$CXXFLAGS_HOLD
2972 if test "$LIBDWARF_LIB_DIR" = "" ; then
2974 echo "$as_me:$LINENO: checking for dwarf_add_arange in -ldwarf" >&5
2975 echo $ECHO_N "checking for dwarf_add_arange in -ldwarf... $ECHO_C" >&6
2976 if test "${ac_cv_lib_dwarf_dwarf_add_arange+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 ac_check_lib_save_LIBS=$LIBS
2980 LIBS="-ldwarf $LIBS"
2981 cat >conftest.$ac_ext <<_ACEOF
2984 cat confdefs.h >>conftest.$ac_ext
2985 cat >>conftest.$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2988 /* Override any gcc2 internal prototype to avoid an error. */
2992 /* We use char because int might match the return type of a gcc2
2993 builtin and then its argument prototype would still apply. */
2994 char dwarf_add_arange ();
2998 dwarf_add_arange ();
3003 rm -f conftest.$ac_objext conftest$ac_exeext
3004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3005 (eval $ac_link) 2>conftest.er1
3007 grep -v '^ *+' conftest.er1 >conftest.err
3009 cat conftest.err >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } &&
3012 { ac_try='test -z "$ac_cxx_werror_flag"
3013 || test ! -s conftest.err'
3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; } &&
3019 { ac_try='test -s conftest$ac_exeext'
3020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; }; then
3025 ac_cv_lib_dwarf_dwarf_add_arange=yes
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3030 ac_cv_lib_dwarf_dwarf_add_arange=no
3032 rm -f conftest.err conftest.$ac_objext \
3033 conftest$ac_exeext conftest.$ac_ext
3034 LIBS=$ac_check_lib_save_LIBS
3036 echo "$as_me:$LINENO: result: $ac_cv_lib_dwarf_dwarf_add_arange" >&5
3037 echo "${ECHO_T}$ac_cv_lib_dwarf_dwarf_add_arange" >&6
3038 if test $ac_cv_lib_dwarf_dwarf_add_arange = yes; then
3039 cat >>confdefs.h <<_ACEOF
3040 #define HAVE_LIBDWARF 1
3043 LIBS="-ldwarf $LIBS"
3046 { { echo "$as_me:$LINENO: error: Can't find libdwarf." >&5
3047 echo "$as_me: error: Can't find libdwarf." >&2;}
3048 { (exit 1); exit 1; }; }
3053 if test "$LIBDWARF_LIB_DIR" != "" ; then
3054 LIBS="-L$LIBDWARF_LIB_DIR -L$LIBDWARF_LIB_DIR"
3056 echo "$as_me:$LINENO: checking for dwarf_add_arange in -ldwarf" >&5
3057 echo $ECHO_N "checking for dwarf_add_arange in -ldwarf... $ECHO_C" >&6
3058 if test "${ac_cv_lib_dwarf_dwarf_add_arange+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 ac_check_lib_save_LIBS=$LIBS
3062 LIBS="-ldwarf -lelf $LIBS"
3063 cat >conftest.$ac_ext <<_ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3070 /* Override any gcc2 internal prototype to avoid an error. */
3074 /* We use char because int might match the return type of a gcc2
3075 builtin and then its argument prototype would still apply. */
3076 char dwarf_add_arange ();
3080 dwarf_add_arange ();
3085 rm -f conftest.$ac_objext conftest$ac_exeext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3087 (eval $ac_link) 2>conftest.er1
3089 grep -v '^ *+' conftest.er1 >conftest.err
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -z "$ac_cxx_werror_flag"
3095 || test ! -s conftest.err'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; } &&
3101 { ac_try='test -s conftest$ac_exeext'
3102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; }; then
3107 ac_cv_lib_dwarf_dwarf_add_arange=yes
3109 echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3112 ac_cv_lib_dwarf_dwarf_add_arange=no
3114 rm -f conftest.err conftest.$ac_objext \
3115 conftest$ac_exeext conftest.$ac_ext
3116 LIBS=$ac_check_lib_save_LIBS
3118 echo "$as_me:$LINENO: result: $ac_cv_lib_dwarf_dwarf_add_arange" >&5
3119 echo "${ECHO_T}$ac_cv_lib_dwarf_dwarf_add_arange" >&6
3120 if test $ac_cv_lib_dwarf_dwarf_add_arange = yes; then
3121 cat >>confdefs.h <<_ACEOF
3122 #define HAVE_LIBDWARF 1
3125 LIBS="-ldwarf $LIBS"
3128 { { echo "$as_me:$LINENO: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&5
3129 echo "$as_me: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&2;}
3130 { (exit 1); exit 1; }; }
3134 LIBS="-L$LIBDWARF_LIB_DIR"
3136 echo "$as_me:$LINENO: checking for dwarf_add_arange in -ldwarf" >&5
3137 echo $ECHO_N "checking for dwarf_add_arange in -ldwarf... $ECHO_C" >&6
3138 if test "${ac_cv_lib_dwarf_dwarf_add_arange+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 ac_check_lib_save_LIBS=$LIBS
3142 LIBS="-ldwarf $LIBS"
3143 cat >conftest.$ac_ext <<_ACEOF
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3150 /* Override any gcc2 internal prototype to avoid an error. */
3154 /* We use char because int might match the return type of a gcc2
3155 builtin and then its argument prototype would still apply. */
3156 char dwarf_add_arange ();
3160 dwarf_add_arange ();
3165 rm -f conftest.$ac_objext conftest$ac_exeext
3166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3167 (eval $ac_link) 2>conftest.er1
3169 grep -v '^ *+' conftest.er1 >conftest.err
3171 cat conftest.err >&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); } &&
3174 { ac_try='test -z "$ac_cxx_werror_flag"
3175 || test ! -s conftest.err'
3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; } &&
3181 { ac_try='test -s conftest$ac_exeext'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; }; then
3187 ac_cv_lib_dwarf_dwarf_add_arange=yes
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3192 ac_cv_lib_dwarf_dwarf_add_arange=no
3194 rm -f conftest.err conftest.$ac_objext \
3195 conftest$ac_exeext conftest.$ac_ext
3196 LIBS=$ac_check_lib_save_LIBS
3198 echo "$as_me:$LINENO: result: $ac_cv_lib_dwarf_dwarf_add_arange" >&5
3199 echo "${ECHO_T}$ac_cv_lib_dwarf_dwarf_add_arange" >&6
3200 if test $ac_cv_lib_dwarf_dwarf_add_arange = yes; then
3201 cat >>confdefs.h <<_ACEOF
3202 #define HAVE_LIBDWARF 1
3205 LIBS="-ldwarf $LIBS"
3208 { { echo "$as_me:$LINENO: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&5
3209 echo "$as_me: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&2;}
3210 { (exit 1); exit 1; }; }
3218 LIB_TYPE_DYNAMIC=`ls -H -1 $LIBDWARF_LIB_DIR | grep dwarf | grep '\.so' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3219 if test "$LIB_TYPE_DYNAMIC" = "true"; then
3222 LIB_TYPE_STATIC=`ls -H -1 $LIBDWARF_LIB_DIR | grep dwarf | grep '\.a' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3225 LIBDWARF_STATIC="$LIB_TYPE_STATIC"
3226 LIBDWARF_DYNAMIC="$LIB_TYPE_DYNAMIC"
3237 # Check whether --with-libxml2-incdir or --without-libxml2-incdir was given.
3238 if test "${with_libxml2_incdir+set}" = set; then
3239 withval="$with_libxml2_incdir"
3240 LIBXML2_INC_DIR="${withval}";
3243 # Check whether --with-libxml2-libdir or --without-libxml2-libdir was given.
3244 if test "${with_libxml2_libdir+set}" = set; then
3245 withval="$with_libxml2_libdir"
3246 LIBXML2_LIB_DIR="${withval}";
3249 CXXFLAGS_HOLD=$CXXFLAGS
3250 if test "$LIBXML2_INC_DIR" != "" ; then
3251 echo "$as_me:$LINENO: checking for libxml/xmlschemas.h in $LIBXML2_INC_DIR" >&5
3252 echo $ECHO_N "checking for libxml/xmlschemas.h in $LIBXML2_INC_DIR... $ECHO_C" >&6
3253 CXXFLAGS="$CXXFLAGS -I$LIBXML2_INC_DIR"
3255 echo "$as_me:$LINENO: checking for libxml/xmlschemas.h" >&5
3256 echo $ECHO_N "checking for libxml/xmlschemas.h... $ECHO_C" >&6
3258 cat >conftest.$ac_ext <<_ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3264 #include "libxml/xmlschemas.h"
3273 rm -f conftest.$ac_objext
3274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3275 (eval $ac_compile) 2>conftest.er1
3277 grep -v '^ *+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } &&
3282 { ac_try='test -z "$ac_cxx_werror_flag"
3283 || test ! -s conftest.err'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; } &&
3289 { ac_try='test -s conftest.$ac_objext'
3290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; }; then
3296 cat >>confdefs.h <<\_ACEOF
3297 #define cap_have_libxml 1
3301 echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3304 echo "$as_me:$LINENO: result: libxml/xmlschemas.h not found in $LIBXML2_INC_DIR" >&5
3305 echo "${ECHO_T}libxml/xmlschemas.h not found in $LIBXML2_INC_DIR" >&6
3307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3308 CXXFLAGS=$CXXFLAGS_HOLD
3311 if test "$LIBXML2_LIB_DIR" = "" ; then
3313 echo "$as_me:$LINENO: checking for xmlAddID in -lxml2" >&5
3314 echo $ECHO_N "checking for xmlAddID in -lxml2... $ECHO_C" >&6
3315 if test "${ac_cv_lib_xml2_xmlAddID+set}" = set; then
3316 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 ac_check_lib_save_LIBS=$LIBS
3320 cat >conftest.$ac_ext <<_ACEOF
3323 cat confdefs.h >>conftest.$ac_ext
3324 cat >>conftest.$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3327 /* Override any gcc2 internal prototype to avoid an error. */
3331 /* We use char because int might match the return type of a gcc2
3332 builtin and then its argument prototype would still apply. */
3342 rm -f conftest.$ac_objext conftest$ac_exeext
3343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3344 (eval $ac_link) 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try='test -z "$ac_cxx_werror_flag"
3352 || test ! -s conftest.err'
3353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; } &&
3358 { ac_try='test -s conftest$ac_exeext'
3359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; }; then
3364 ac_cv_lib_xml2_xmlAddID=yes
3366 echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3369 ac_cv_lib_xml2_xmlAddID=no
3371 rm -f conftest.err conftest.$ac_objext \
3372 conftest$ac_exeext conftest.$ac_ext
3373 LIBS=$ac_check_lib_save_LIBS
3375 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlAddID" >&5
3376 echo "${ECHO_T}$ac_cv_lib_xml2_xmlAddID" >&6
3377 if test $ac_cv_lib_xml2_xmlAddID = yes; then
3378 cat >>confdefs.h <<_ACEOF
3379 #define HAVE_LIBXML2 1
3385 echo "$as_me:$LINENO: result: Can't find libxml2." >&5
3386 echo "${ECHO_T}Can't find libxml2." >&6
3391 if test "" != "" ; then
3392 LIBS="-L$LIBXML2_LIB_DIR -L"
3394 echo "$as_me:$LINENO: checking for xmlAddID in -lxml2" >&5
3395 echo $ECHO_N "checking for xmlAddID in -lxml2... $ECHO_C" >&6
3396 if test "${ac_cv_lib_xml2_xmlAddID+set}" = set; then
3397 echo $ECHO_N "(cached) $ECHO_C" >&6
3399 ac_check_lib_save_LIBS=$LIBS
3401 cat >conftest.$ac_ext <<_ACEOF
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3408 /* Override any gcc2 internal prototype to avoid an error. */
3412 /* We use char because int might match the return type of a gcc2
3413 builtin and then its argument prototype would still apply. */
3423 rm -f conftest.$ac_objext conftest$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1 >conftest.err
3429 cat conftest.err >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } &&
3432 { ac_try='test -z "$ac_cxx_werror_flag"
3433 || test ! -s conftest.err'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; } &&
3439 { ac_try='test -s conftest$ac_exeext'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; }; then
3445 ac_cv_lib_xml2_xmlAddID=yes
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 ac_cv_lib_xml2_xmlAddID=no
3452 rm -f conftest.err conftest.$ac_objext \
3453 conftest$ac_exeext conftest.$ac_ext
3454 LIBS=$ac_check_lib_save_LIBS
3456 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlAddID" >&5
3457 echo "${ECHO_T}$ac_cv_lib_xml2_xmlAddID" >&6
3458 if test $ac_cv_lib_xml2_xmlAddID = yes; then
3459 cat >>confdefs.h <<_ACEOF
3460 #define HAVE_LIBXML2 1
3466 echo "$as_me:$LINENO: result: Can't find libxml2 in $LIBXML2_LIB_DIR" >&5
3467 echo "${ECHO_T}Can't find libxml2 in $LIBXML2_LIB_DIR" >&6
3471 LIBS="-L$LIBXML2_LIB_DIR"
3473 echo "$as_me:$LINENO: checking for xmlAddID in -lxml2" >&5
3474 echo $ECHO_N "checking for xmlAddID in -lxml2... $ECHO_C" >&6
3475 if test "${ac_cv_lib_xml2_xmlAddID+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 ac_check_lib_save_LIBS=$LIBS
3480 cat >conftest.$ac_ext <<_ACEOF
3483 cat confdefs.h >>conftest.$ac_ext
3484 cat >>conftest.$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3487 /* Override any gcc2 internal prototype to avoid an error. */
3491 /* We use char because int might match the return type of a gcc2
3492 builtin and then its argument prototype would still apply. */
3502 rm -f conftest.$ac_objext conftest$ac_exeext
3503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3504 (eval $ac_link) 2>conftest.er1
3506 grep -v '^ *+' conftest.er1 >conftest.err
3508 cat conftest.err >&5
3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } &&
3511 { ac_try='test -z "$ac_cxx_werror_flag"
3512 || test ! -s conftest.err'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; } &&
3518 { ac_try='test -s conftest$ac_exeext'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3524 ac_cv_lib_xml2_xmlAddID=yes
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 ac_cv_lib_xml2_xmlAddID=no
3531 rm -f conftest.err conftest.$ac_objext \
3532 conftest$ac_exeext conftest.$ac_ext
3533 LIBS=$ac_check_lib_save_LIBS
3535 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlAddID" >&5
3536 echo "${ECHO_T}$ac_cv_lib_xml2_xmlAddID" >&6
3537 if test $ac_cv_lib_xml2_xmlAddID = yes; then
3538 cat >>confdefs.h <<_ACEOF
3539 #define HAVE_LIBXML2 1
3545 echo "$as_me:$LINENO: result: Can't find libxml2 in $LIBXML2_LIB_DIR" >&5
3546 echo "${ECHO_T}Can't find libxml2 in $LIBXML2_LIB_DIR" >&6
3556 if test "`echo $host_os | cut -b-3`" = "aix" ; then
3557 { echo "$as_me:$LINENO: AIX system, skipping libiberty..." >&5
3558 echo "$as_me: AIX system, skipping libiberty..." >&6;}
3561 # Check whether --with-libiberty-libdir or --without-libiberty-libdir was given.
3562 if test "${with_libiberty_libdir+set}" = set; then
3563 withval="$with_libiberty_libdir"
3564 LIBIBERTY_LIB_DIR="${withval}";
3567 LIBS="-L$LIBIBERTY_LIB_DIR"
3569 echo "$as_me:$LINENO: checking for cplus_demangle in -liberty" >&5
3570 echo $ECHO_N "checking for cplus_demangle in -liberty... $ECHO_C" >&6
3571 if test "${ac_cv_lib_iberty_cplus_demangle+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 ac_check_lib_save_LIBS=$LIBS
3575 LIBS="-liberty $LIBS"
3576 cat >conftest.$ac_ext <<_ACEOF
3579 cat confdefs.h >>conftest.$ac_ext
3580 cat >>conftest.$ac_ext <<_ACEOF
3581 /* end confdefs.h. */
3583 /* Override any gcc2 internal prototype to avoid an error. */
3587 /* We use char because int might match the return type of a gcc2
3588 builtin and then its argument prototype would still apply. */
3589 char cplus_demangle ();
3598 rm -f conftest.$ac_objext conftest$ac_exeext
3599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3600 (eval $ac_link) 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try='test -z "$ac_cxx_werror_flag"
3608 || test ! -s conftest.err'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; } &&
3614 { ac_try='test -s conftest$ac_exeext'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; }; then
3620 ac_cv_lib_iberty_cplus_demangle=yes
3622 echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.$ac_ext >&5
3625 ac_cv_lib_iberty_cplus_demangle=no
3627 rm -f conftest.err conftest.$ac_objext \
3628 conftest$ac_exeext conftest.$ac_ext
3629 LIBS=$ac_check_lib_save_LIBS
3631 echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_cplus_demangle" >&5
3632 echo "${ECHO_T}$ac_cv_lib_iberty_cplus_demangle" >&6
3633 if test $ac_cv_lib_iberty_cplus_demangle = yes; then
3634 cat >>confdefs.h <<_ACEOF
3635 #define HAVE_LIBIBERTY 1
3638 LIBS="-liberty $LIBS"
3641 as_ac_File=`echo "ac_cv_file_$LIBIBERTY_LIB_DIR/libiberty.a" | $as_tr_sh`
3642 echo "$as_me:$LINENO: checking for $LIBIBERTY_LIB_DIR/libiberty.a" >&5
3643 echo $ECHO_N "checking for $LIBIBERTY_LIB_DIR/libiberty.a... $ECHO_C" >&6
3644 if eval "test \"\${$as_ac_File+set}\" = set"; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 test "$cross_compiling" = yes &&
3648 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3649 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3650 { (exit 1); exit 1; }; }
3651 if test -r "$LIBIBERTY_LIB_DIR/libiberty.a"; then
3652 eval "$as_ac_File=yes"
3654 eval "$as_ac_File=no"
3657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3658 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3659 if test `eval echo '${'$as_ac_File'}'` = yes; then
3662 { { echo "$as_me:$LINENO: error: Can't find libiberty in $LIBIBERTY_LIB_DIR" >&5
3663 echo "$as_me: error: Can't find libiberty in $LIBIBERTY_LIB_DIR" >&2;}
3664 { (exit 1); exit 1; }; }
3672 LIB_TYPE_DYNAMIC=`ls -H -1 $LIBIBERTY_LIB_DIR | grep iberty | grep '\.so' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3673 if test "$LIB_TYPE_DYNAMIC" = "true"; then
3676 LIB_TYPE_STATIC=`ls -H -1 $LIBIBERTY_LIB_DIR | grep iberty | grep '\.a' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3679 LIBIBERTY_STATIC="$LIB_TYPE_STATIC"
3680 LIBIBERTY_DYNAMIC="$LIB_TYPE_DYNAMIC"
3685 if test "$host_cpu" != "ia64" ; then
3686 { echo "$as_me:$LINENO: Not IA-64, skipping libunwind..." >&5
3687 echo "$as_me: Not IA-64, skipping libunwind..." >&6;}
3690 # Check whether --with-libunwind-incdir or --without-libunwind-incdir was given.
3691 if test "${with_libunwind_incdir+set}" = set; then
3692 withval="$with_libunwind_incdir"
3693 LIBUNWIND_INC_DIR="${withval}";
3696 # Check whether --with-libunwind-libdir or --without-libunwind-libdir was given.
3697 if test "${with_libunwind_libdir+set}" = set; then
3698 withval="$with_libunwind_libdir"
3699 LIBUNWIND_LIB_DIR="${withval}";
3703 CXXFLAGS_HOLD=$CXXFLAGS
3704 if test "${LIBUNWIND_INC_DIR}" != "" ; then
3705 echo "$as_me:$LINENO: checking for libunwind.h in ${LIBUNWIND_INC_DIR}" >&5
3706 echo $ECHO_N "checking for libunwind.h in ${LIBUNWIND_INC_DIR}... $ECHO_C" >&6
3707 CXXFLAGS="$CXXFLAGS -I${LIBUNWIND_INC_DIR}"
3709 echo "$as_me:$LINENO: checking for libunwind.h" >&5
3710 echo $ECHO_N "checking for libunwind.h... $ECHO_C" >&6
3712 cat >conftest.$ac_ext <<_ACEOF
3715 cat confdefs.h >>conftest.$ac_ext
3716 cat >>conftest.$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3718 #include "libunwind.h"
3727 rm -f conftest.$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729 (eval $ac_compile) 2>conftest.er1
3731 grep -v '^ *+' conftest.er1 >conftest.err
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -z "$ac_cxx_werror_flag"
3737 || test ! -s conftest.err'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; } &&
3743 { ac_try='test -s conftest.$ac_objext'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3749 echo "$as_me:$LINENO: result: yes" >&5
3750 echo "${ECHO_T}yes" >&6
3752 echo "$as_me: failed program was:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 { { echo "$as_me:$LINENO: error: libunwind.h not found in ${LIBUNWIND_INC_DIR}" >&5
3756 echo "$as_me: error: libunwind.h not found in ${LIBUNWIND_INC_DIR}" >&2;}
3757 { (exit 1); exit 1; }; }
3759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3760 CXXFLAGS=$CXXFLAGS_HOLD
3768 # Check whether --with-libflex-libdir or --without-libflex-libdir was given.
3769 if test "${with_libflex_libdir+set}" = set; then
3770 withval="$with_libflex_libdir"
3771 LIBFLEX_LIB_DIR="${withval}";
3773 # 3/15/09: We are not checking for libflex sources and they are not in cs.wisc.edu package-base.
3774 # What's the story here? Not needed?
3776 if test "${LIBFLEX_LIB_DIR}" = "" ; then
3778 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3779 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3780 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 ac_check_lib_save_LIBS=$LIBS
3785 cat >conftest.$ac_ext <<_ACEOF
3788 cat confdefs.h >>conftest.$ac_ext
3789 cat >>conftest.$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3792 /* Override any gcc2 internal prototype to avoid an error. */
3796 /* We use char because int might match the return type of a gcc2
3797 builtin and then its argument prototype would still apply. */
3807 rm -f conftest.$ac_objext conftest$ac_exeext
3808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3809 (eval $ac_link) 2>conftest.er1
3811 grep -v '^ *+' conftest.er1 >conftest.err
3813 cat conftest.err >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } &&
3816 { ac_try='test -z "$ac_cxx_werror_flag"
3817 || test ! -s conftest.err'
3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); }; } &&
3823 { ac_try='test -s conftest$ac_exeext'
3824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }; }; then
3829 ac_cv_lib_fl_yywrap=yes
3831 echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.$ac_ext >&5
3834 ac_cv_lib_fl_yywrap=no
3836 rm -f conftest.err conftest.$ac_objext \
3837 conftest$ac_exeext conftest.$ac_ext
3838 LIBS=$ac_check_lib_save_LIBS
3840 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3841 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3842 if test $ac_cv_lib_fl_yywrap = yes; then
3843 cat >>confdefs.h <<_ACEOF
3844 #define HAVE_LIBFL 1
3850 echo "$as_me:$LINENO: result: Can't find libfl." >&5
3851 echo "${ECHO_T}Can't find libfl." >&6
3856 if test "" != "" ; then
3857 LIBS="-L${LIBFLEX_LIB_DIR} -L"
3859 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3860 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3861 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 ac_check_lib_save_LIBS=$LIBS
3866 cat >conftest.$ac_ext <<_ACEOF
3869 cat confdefs.h >>conftest.$ac_ext
3870 cat >>conftest.$ac_ext <<_ACEOF
3871 /* end confdefs.h. */
3873 /* Override any gcc2 internal prototype to avoid an error. */
3877 /* We use char because int might match the return type of a gcc2
3878 builtin and then its argument prototype would still apply. */
3888 rm -f conftest.$ac_objext conftest$ac_exeext
3889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3890 (eval $ac_link) 2>conftest.er1
3892 grep -v '^ *+' conftest.er1 >conftest.err
3894 cat conftest.err >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } &&
3897 { ac_try='test -z "$ac_cxx_werror_flag"
3898 || test ! -s conftest.err'
3899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; } &&
3904 { ac_try='test -s conftest$ac_exeext'
3905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); }; }; then
3910 ac_cv_lib_fl_yywrap=yes
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 ac_cv_lib_fl_yywrap=no
3917 rm -f conftest.err conftest.$ac_objext \
3918 conftest$ac_exeext conftest.$ac_ext
3919 LIBS=$ac_check_lib_save_LIBS
3921 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3922 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3923 if test $ac_cv_lib_fl_yywrap = yes; then
3924 cat >>confdefs.h <<_ACEOF
3925 #define HAVE_LIBFL 1
3931 echo "$as_me:$LINENO: result: Can't find libfl in ${LIBFLEX_LIB_DIR}" >&5
3932 echo "${ECHO_T}Can't find libfl in ${LIBFLEX_LIB_DIR}" >&6
3936 LIBS="-L${LIBFLEX_LIB_DIR}"
3938 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3939 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3940 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 ac_check_lib_save_LIBS=$LIBS
3945 cat >conftest.$ac_ext <<_ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3952 /* Override any gcc2 internal prototype to avoid an error. */
3956 /* We use char because int might match the return type of a gcc2
3957 builtin and then its argument prototype would still apply. */
3967 rm -f conftest.$ac_objext conftest$ac_exeext
3968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3969 (eval $ac_link) 2>conftest.er1
3971 grep -v '^ *+' conftest.er1 >conftest.err
3973 cat conftest.err >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try='test -z "$ac_cxx_werror_flag"
3977 || test ! -s conftest.err'
3978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; } &&
3983 { ac_try='test -s conftest$ac_exeext'
3984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }; }; then
3989 ac_cv_lib_fl_yywrap=yes
3991 echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.$ac_ext >&5
3994 ac_cv_lib_fl_yywrap=no
3996 rm -f conftest.err conftest.$ac_objext \
3997 conftest$ac_exeext conftest.$ac_ext
3998 LIBS=$ac_check_lib_save_LIBS
4000 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4001 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4002 if test $ac_cv_lib_fl_yywrap = yes; then
4003 cat >>confdefs.h <<_ACEOF
4004 #define HAVE_LIBFL 1
4010 echo "$as_me:$LINENO: result: Can't find libfl in ${LIBFLEX_LIB_DIR}" >&5
4011 echo "${ECHO_T}Can't find libfl in ${LIBFLEX_LIB_DIR}" >&6
4019 # Extract the first word of "nasm", so it can be a program name with args.
4020 set dummy nasm; ac_word=$2
4021 echo "$as_me:$LINENO: checking for $ac_word" >&5
4022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4023 if test "${ac_cv_path_NASM+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 ac_cv_path_NASM="$NASM" # Let the user override the test with a path.
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 as_dummy=""${PACKAGE_BASE}/nasm/bin:$PATH""
4033 for as_dir in $as_dummy
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 ac_cv_path_NASM="$as_dir/$ac_word$ac_exec_ext"
4040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 test -z "$ac_cv_path_NASM" && ac_cv_path_NASM=""""
4050 NASM=$ac_cv_path_NASM
4052 if test -n "$NASM"; then
4053 echo "$as_me:$LINENO: result: $NASM" >&5
4054 echo "${ECHO_T}$NASM" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4062 echo "$as_me:$LINENO: checking for -fno-stack-protector" >&5
4063 echo $ECHO_N "checking for -fno-stack-protector... $ECHO_C" >&6
4064 SAVED_CXXFLAGS=$CXXFLAGS
4065 CXXFLAGS="-fno-stack-protector"
4066 cat >conftest.$ac_ext <<_ACEOF
4069 cat confdefs.h >>conftest.$ac_ext
4070 cat >>conftest.$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4081 rm -f conftest.$ac_objext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4083 (eval $ac_compile) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1 >conftest.err
4087 cat conftest.err >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try='test -z "$ac_cxx_werror_flag"
4091 || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try='test -s conftest.$ac_objext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 echo "$as_me:$LINENO: result: yes" >&5
4104 echo "${ECHO_T}yes" >&6; STACKPROT="DISABLE_STACK_PROT=1"
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6; STACKPROT=""
4112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4114 CXXFLAGS=$SAVED_CXXFLAGS
4116 echo "$as_me:$LINENO: checking whether to use MM timer" >&5
4117 echo $ECHO_N "checking whether to use MM timer... $ECHO_C" >&6
4119 ia64-*-*-*) MMTIMER=true ;;
4122 echo "$as_me:$LINENO: result: ${MMTIMER}" >&5
4123 echo "${ECHO_T}${MMTIMER}" >&6
4128 # Check whether --enable-testsuite or --disable-testsuite was given.
4129 if test "${enable_testsuite+set}" = set; then
4130 enableval="$enable_testsuite"
4133 enable_testsuite=yes
4136 if test "x$enable_testsuite" != xyes; then
4137 TESTSUITE="DONT_BUILD_TESTSUITE=1"
4144 ac_config_files="$ac_config_files make.config.local:autodyninst/make.config.local.in"
4146 cat >confcache <<\_ACEOF
4147 # This file is a shell script that caches the results of configure
4148 # tests run on this system so they can be shared between configure
4149 # scripts and configure runs, see configure's option --config-cache.
4150 # It is not useful on other systems. If it contains results you don't
4151 # want to keep, you may remove or edit it.
4153 # config.status only pays attention to the cache file if you give it
4154 # the --recheck option to rerun configure.
4156 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4157 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4162 # The following way of writing the cache mishandles newlines in values,
4163 # but we know of no workaround that is simple, portable, and efficient.
4164 # So, don't put newlines in cache variables' values.
4165 # Ultrix sh set writes to stderr and can't be redirected directly,
4166 # and sets the high bit in the cache file unless we assign to the vars.
4169 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4171 # `set' does not quote correctly, so add quotes (double-quote
4172 # substitution turns \\\\ into \\, and sed turns \\ into \).
4175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4178 # `set' quotes correctly as required by POSIX, so do not add quotes.
4180 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4187 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4189 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4191 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4192 if test -w $cache_file; then
4193 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4194 cat confcache >$cache_file
4196 echo "not updating unwritable cache $cache_file"
4201 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4202 # Let make expand exec_prefix.
4203 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4205 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4206 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4207 # trailing colons and then remove the whole line if VPATH becomes empty
4208 # (actually we leave an empty line to preserve line numbers).
4209 if test "x$srcdir" = x.; then
4210 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4211 s/:*\$(srcdir):*/:/;
4212 s/:*\${srcdir}:*/:/;
4214 s/^\([^=]*=[ ]*\):*/\1/;
4220 # Transform confdefs.h into DEFS.
4221 # Protect against shell expansion while executing Makefile rules.
4222 # Protect against Makefile macro expansion.
4224 # If the first sed substitution is executed (which looks for macros that
4225 # take arguments), then we branch to the quote section. Otherwise,
4226 # look for a macro that doesn't take arguments.
4227 cat >confdef2opt.sed <<\_ACEOF
4230 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4232 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4236 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4242 # We use echo to avoid assuming a particular line-breaking character.
4243 # The extra dot is to prevent the shell from consuming trailing
4244 # line-breaks from the sub-command output. A line-break within
4245 # single-quotes doesn't work because, if this script is created in a
4246 # platform that uses two characters for line-breaks (e.g., DOS), tr
4248 ac_LF_and_DOT=`echo; echo .`
4249 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4250 rm -f confdef2opt.sed
4255 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4256 # 1. Remove the extension, and $U if already installed.
4257 ac_i=`echo "$ac_i" |
4258 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4260 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4261 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4265 LTLIBOBJS=$ac_ltlibobjs
4269 : ${CONFIG_STATUS=./config.status}
4270 ac_clean_files_save=$ac_clean_files
4271 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4272 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4273 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4274 cat >$CONFIG_STATUS <<_ACEOF
4276 # Generated by $as_me.
4277 # Run this file to recreate the current configuration.
4278 # Compiler output produced by configure, useful for debugging
4279 # configure, is in config.log if it exists.
4284 SHELL=\${CONFIG_SHELL-$SHELL}
4287 cat >>$CONFIG_STATUS <<\_ACEOF
4288 ## --------------------- ##
4289 ## M4sh Initialization. ##
4290 ## --------------------- ##
4292 # Be Bourne compatible
4293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4296 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4297 # is contrary to our usage. Disable this feature.
4298 alias -g '${1+"$@"}'='"$@"'
4299 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4302 DUALCASE=1; export DUALCASE # for MKS sh
4304 # Support unset when possible.
4305 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4312 # Work around bugs in pre-3.0 UWIN ksh.
4313 $as_unset ENV MAIL MAILPATH
4320 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4321 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4322 LC_TELEPHONE LC_TIME
4324 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4325 eval $as_var=C; export $as_var
4331 # Required to use basename.
4332 if expr a : '\(a\)' >/dev/null 2>&1; then
4338 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4339 as_basename=basename
4345 # Name of the executable.
4346 as_me=`$as_basename "$0" ||
4347 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4348 X"$0" : 'X\(//\)$' \| \
4349 X"$0" : 'X\(/\)$' \| \
4350 . : '\(.\)' 2>/dev/null ||
4352 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4353 /^X\/\(\/\/\)$/{ s//\1/; q; }
4354 /^X\/\(\/\).*/{ s//\1/; q; }
4358 # PATH needs CR, and LINENO needs CR and PATH.
4359 # Avoid depending upon Character Ranges.
4360 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4361 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4362 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4363 as_cr_digits='0123456789'
4364 as_cr_alnum=$as_cr_Letters$as_cr_digits
4366 # The user is always right.
4367 if test "${PATH_SEPARATOR+set}" != set; then
4368 echo "#! /bin/sh" >conf$$.sh
4369 echo "exit 0" >>conf$$.sh
4371 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4382 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4383 test "x$as_lineno_1" != "x$as_lineno_2" &&
4384 test "x$as_lineno_3" = "x$as_lineno_2" || {
4385 # Find who we are. Look in the path if we contain no path at all
4388 *[\\/]* ) as_myself=$0 ;;
4389 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir=.
4394 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4399 # We did not find ourselves, most probably we were run as `sh COMMAND'
4400 # in which case we are not to be found in the path.
4401 if test "x$as_myself" = x; then
4404 if test ! -f "$as_myself"; then
4405 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4406 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4407 { (exit 1); exit 1; }; }
4409 case $CONFIG_SHELL in
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4415 test -z "$as_dir" && as_dir=.
4416 for as_base in sh bash ksh sh5; do
4419 if ("$as_dir/$as_base" -c '
4422 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4423 test "x$as_lineno_1" != "x$as_lineno_2" &&
4424 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4425 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4426 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4427 CONFIG_SHELL=$as_dir/$as_base
4429 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4437 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4438 # uniformly replaced by the line number. The first 'sed' inserts a
4439 # line-number line before each line; the second 'sed' does the real
4440 # work. The second script uses 'N' to pair each line-number line
4441 # with the numbered line, and appends trailing '-' during
4442 # substitution so that $LINENO is not a special case at line end.
4443 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4444 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4445 sed '=' <$as_myself |
4450 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4453 s,^['$as_cr_digits']*\n,,
4455 chmod +x $as_me.lineno ||
4456 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4457 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4458 { (exit 1); exit 1; }; }
4460 # Don't try to exec as it changes $[0], causing all sort of problems
4461 # (the dirname of $[0] is not the place where we might find the
4462 # original and so on. Autoconf is especially sensible to this).
4464 # Exit status is that of the last command.
4469 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4470 *c*,-n*) ECHO_N= ECHO_C='
4472 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4473 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4476 if expr a : '\(a\)' >/dev/null 2>&1; then
4482 rm -f conf$$ conf$$.exe conf$$.file
4484 if ln -s conf$$.file conf$$ 2>/dev/null; then
4485 # We could just check for DJGPP; but this test a) works b) is more generic
4486 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4487 if test -f conf$$.exe; then
4488 # Don't use ln at all; we don't have any links
4493 elif ln conf$$.file conf$$ 2>/dev/null; then
4498 rm -f conf$$ conf$$.exe conf$$.file
4500 if mkdir -p . 2>/dev/null; then
4503 test -d ./-p && rmdir ./-p
4507 as_executable_p="test -f"
4509 # Sed expression to map a string onto a valid CPP name.
4510 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4512 # Sed expression to map a string onto a valid variable name.
4513 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4517 # We need space, tab and new line, in precisely that order.
4527 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4528 # report actual input values of CONFIG_FILES etc. instead of their
4529 # values after options handling. Logging --version etc. is OK.
4533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4534 ## Running $as_me. ##
4539 This file was extended by Dyninst $as_me 6.1, which was
4540 generated by GNU Autoconf 2.59. Invocation command line was
4542 CONFIG_FILES = $CONFIG_FILES
4543 CONFIG_HEADERS = $CONFIG_HEADERS
4544 CONFIG_LINKS = $CONFIG_LINKS
4545 CONFIG_COMMANDS = $CONFIG_COMMANDS
4549 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4553 # Files that config.status was made for.
4554 if test -n "$ac_config_files"; then
4555 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4558 if test -n "$ac_config_headers"; then
4559 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4562 if test -n "$ac_config_links"; then
4563 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4566 if test -n "$ac_config_commands"; then
4567 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4570 cat >>$CONFIG_STATUS <<\_ACEOF
4573 \`$as_me' instantiates files from templates according to the
4574 current configuration.
4576 Usage: $0 [OPTIONS] [FILE]...
4578 -h, --help print this help, then exit
4579 -V, --version print version number, then exit
4580 -q, --quiet do not print progress messages
4581 -d, --debug don't remove temporary files
4582 --recheck update $as_me by reconfiguring in the same conditions
4583 --file=FILE[:TEMPLATE]
4584 instantiate the configuration file FILE
4586 Configuration files:
4589 Report bugs to <bug-autoconf@gnu.org>."
4592 cat >>$CONFIG_STATUS <<_ACEOF
4594 Dyninst config.status 6.1
4595 configured by $0, generated by GNU Autoconf 2.59,
4596 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4598 Copyright (C) 2003 Free Software Foundation, Inc.
4599 This config.status script is free software; the Free Software Foundation
4600 gives unlimited permission to copy, distribute and modify it."
4604 cat >>$CONFIG_STATUS <<\_ACEOF
4605 # If no file are specified by the user, then we need to provide default
4606 # value. By we need to know if files were specified by the user.
4612 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4613 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4621 *) # This is not an option, so the user has probably given explicit
4624 ac_need_defaults=false;;
4628 # Handling of the options.
4630 cat >>$CONFIG_STATUS <<\_ACEOF
4631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4633 --version | --vers* | -V )
4634 echo "$ac_cs_version"; exit 0 ;;
4636 # Conflict between --help and --header
4637 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4638 Try \`$0 --help' for more information." >&5
4639 echo "$as_me: error: ambiguous option: $1
4640 Try \`$0 --help' for more information." >&2;}
4641 { (exit 1); exit 1; }; };;
4642 --help | --hel | -h )
4643 echo "$ac_cs_usage"; exit 0 ;;
4644 --debug | --d* | -d )
4646 --file | --fil | --fi | --f )
4648 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4649 ac_need_defaults=false;;
4650 --header | --heade | --head | --hea )
4652 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4653 ac_need_defaults=false;;
4654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4655 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4659 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4660 Try \`$0 --help' for more information." >&5
4661 echo "$as_me: error: unrecognized option: $1
4662 Try \`$0 --help' for more information." >&2;}
4663 { (exit 1); exit 1; }; } ;;
4665 *) ac_config_targets="$ac_config_targets $1" ;;
4671 ac_configure_extra_args=
4673 if $ac_cs_silent; then
4675 ac_configure_extra_args="$ac_configure_extra_args --silent"
4679 cat >>$CONFIG_STATUS <<_ACEOF
4680 if \$ac_cs_recheck; then
4681 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4682 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4691 cat >>$CONFIG_STATUS <<\_ACEOF
4692 for ac_config_target in $ac_config_targets
4694 case "$ac_config_target" in
4695 # Handling of arguments.
4696 "make.config.local" ) CONFIG_FILES="$CONFIG_FILES make.config.local:autodyninst/make.config.local.in" ;;
4697 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4698 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4699 { (exit 1); exit 1; }; };;
4703 # If the user did not use the arguments to specify the items to instantiate,
4704 # then the envvar interface is used. Set only those that are not.
4705 # We use the long form for the default assignment because of an extremely
4706 # bizarre bug on SunOS 4.1.3.
4707 if $ac_need_defaults; then
4708 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4711 # Have a temporary directory for convenience. Make it in the build tree
4712 # simply because there is no reason to put it here, and in addition,
4713 # creating and moving files from /tmp can sometimes cause problems.
4714 # Create a temporary directory, and hook for its removal unless debugging.
4717 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4718 trap '{ (exit 1); exit 1; }' 1 2 13 15
4721 # Create a (secure) tmp directory for tmp files.
4724 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4725 test -n "$tmp" && test -d "$tmp"
4728 tmp=./confstat$$-$RANDOM
4729 (umask 077 && mkdir $tmp)
4732 echo "$me: cannot create a temporary directory in ." >&2
4733 { (exit 1); exit 1; }
4738 cat >>$CONFIG_STATUS <<_ACEOF
4741 # CONFIG_FILES section.
4744 # No need to generate the scripts if there are no CONFIG_FILES.
4745 # This happens for instance when ./config.status config.h
4746 if test -n "\$CONFIG_FILES"; then
4747 # Protect against being on the right side of a sed subst in config.status.
4748 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4749 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4750 s,@SHELL@,$SHELL,;t t
4751 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4752 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4753 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4754 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4755 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4756 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4757 s,@exec_prefix@,$exec_prefix,;t t
4758 s,@prefix@,$prefix,;t t
4759 s,@program_transform_name@,$program_transform_name,;t t
4760 s,@bindir@,$bindir,;t t
4761 s,@sbindir@,$sbindir,;t t
4762 s,@libexecdir@,$libexecdir,;t t
4763 s,@datadir@,$datadir,;t t
4764 s,@sysconfdir@,$sysconfdir,;t t
4765 s,@sharedstatedir@,$sharedstatedir,;t t
4766 s,@localstatedir@,$localstatedir,;t t
4767 s,@libdir@,$libdir,;t t
4768 s,@includedir@,$includedir,;t t
4769 s,@oldincludedir@,$oldincludedir,;t t
4770 s,@infodir@,$infodir,;t t
4771 s,@mandir@,$mandir,;t t
4772 s,@build_alias@,$build_alias,;t t
4773 s,@host_alias@,$host_alias,;t t
4774 s,@target_alias@,$target_alias,;t t
4776 s,@ECHO_C@,$ECHO_C,;t t
4777 s,@ECHO_N@,$ECHO_N,;t t
4778 s,@ECHO_T@,$ECHO_T,;t t
4781 s,@CXXFLAGS@,$CXXFLAGS,;t t
4782 s,@LDFLAGS@,$LDFLAGS,;t t
4783 s,@CPPFLAGS@,$CPPFLAGS,;t t
4784 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4785 s,@EXEEXT@,$EXEEXT,;t t
4786 s,@OBJEXT@,$OBJEXT,;t t
4787 s,@_ICC_@,$_ICC_,;t t
4788 s,@_ICPC_@,$_ICPC_,;t t
4789 s,@_PGC_@,$_PGC_,;t t
4790 s,@_PGCXX_@,$_PGCXX_,;t t
4792 s,@_CXX_@,$_CXX_,;t t
4793 s,@USE_TCL83@,$USE_TCL83,;t t
4794 s,@TCLTK_INC_DIR@,$TCLTK_INC_DIR,;t t
4795 s,@TCLTK_LIB_DIR@,$TCLTK_LIB_DIR,;t t
4796 s,@build@,$build,;t t
4797 s,@build_cpu@,$build_cpu,;t t
4798 s,@build_vendor@,$build_vendor,;t t
4799 s,@build_os@,$build_os,;t t
4801 s,@host_cpu@,$host_cpu,;t t
4802 s,@host_vendor@,$host_vendor,;t t
4803 s,@host_os@,$host_os,;t t
4804 s,@LIBELF_INC_DIR@,$LIBELF_INC_DIR,;t t
4805 s,@LIBELF_LIB_DIR@,$LIBELF_LIB_DIR,;t t
4806 s,@LIBELF_STATIC@,$LIBELF_STATIC,;t t
4807 s,@LIBELF_DYNAMIC@,$LIBELF_DYNAMIC,;t t
4808 s,@LIBDWARF_INC_DIR@,$LIBDWARF_INC_DIR,;t t
4809 s,@LIBDWARF_LIB_DIR@,$LIBDWARF_LIB_DIR,;t t
4810 s,@LIBDWARF_STATIC@,$LIBDWARF_STATIC,;t t
4811 s,@LIBDWARF_DYNAMIC@,$LIBDWARF_DYNAMIC,;t t
4812 s,@LIBXML2_INC_DIR@,$LIBXML2_INC_DIR,;t t
4813 s,@LIBXML2_LIB_DIR@,$LIBXML2_LIB_DIR,;t t
4814 s,@LIBIBERTY_LIB_DIR@,$LIBIBERTY_LIB_DIR,;t t
4815 s,@LIBIBERTY_STATIC@,$LIBIBERTY_STATIC,;t t
4816 s,@LIBIBERTY_DYNAMIC@,$LIBIBERTY_DYNAMIC,;t t
4817 s,@LIBUNWIND_INC_DIR@,$LIBUNWIND_INC_DIR,;t t
4818 s,@LIBUNWIND_LIB_DIR@,$LIBUNWIND_LIB_DIR,;t t
4819 s,@LIBFLEX_LIB_DIR@,$LIBFLEX_LIB_DIR,;t t
4821 s,@STACKPROT@,$STACKPROT,;t t
4822 s,@MMTIMER@,$MMTIMER,;t t
4823 s,@TESTSUITE@,$TESTSUITE,;t t
4824 s,@LIBOBJS@,$LIBOBJS,;t t
4825 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4830 cat >>$CONFIG_STATUS <<\_ACEOF
4831 # Split the substitutions into bite-sized pieces for seds with
4832 # small command number limits, like on Digital OSF/1 and HP-UX.
4834 ac_sed_frag=1 # Number of current file.
4835 ac_beg=1 # First line for current file.
4836 ac_end=$ac_max_sed_lines # Line after last line for current file.
4839 while $ac_more_lines; do
4840 if test $ac_beg -gt 1; then
4841 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4843 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4845 if test ! -s $tmp/subs.frag; then
4848 # The purpose of the label and of the branching condition is to
4849 # speed up the sed processing (if there are no `@' at all, there
4850 # is no need to browse any of the substitutions).
4851 # These are the two extra sed commands mentioned above.
4853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4854 if test -z "$ac_sed_cmds"; then
4855 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4857 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4859 ac_sed_frag=`expr $ac_sed_frag + 1`
4861 ac_end=`expr $ac_end + $ac_max_sed_lines`
4864 if test -z "$ac_sed_cmds"; then
4867 fi # test -n "$CONFIG_FILES"
4870 cat >>$CONFIG_STATUS <<\_ACEOF
4871 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4872 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4874 - | *:- | *:-:* ) # input from stdin
4876 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4877 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4878 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4879 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4880 * ) ac_file_in=$ac_file.in ;;
4883 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4884 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4886 X"$ac_file" : 'X\(//\)[^/]' \| \
4887 X"$ac_file" : 'X\(//\)$' \| \
4888 X"$ac_file" : 'X\(/\)' \| \
4889 . : '\(.\)' 2>/dev/null ||
4891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4893 /^X\(\/\/\)$/{ s//\1/; q; }
4894 /^X\(\/\).*/{ s//\1/; q; }
4896 { if $as_mkdir_p; then
4901 while test ! -d "$as_dir"; do
4902 as_dirs="$as_dir $as_dirs"
4903 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4905 X"$as_dir" : 'X\(//\)[^/]' \| \
4906 X"$as_dir" : 'X\(//\)$' \| \
4907 X"$as_dir" : 'X\(/\)' \| \
4908 . : '\(.\)' 2>/dev/null ||
4910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4912 /^X\(\/\/\)$/{ s//\1/; q; }
4913 /^X\(\/\).*/{ s//\1/; q; }
4916 test ! -n "$as_dirs" || mkdir $as_dirs
4917 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4918 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4919 { (exit 1); exit 1; }; }; }
4923 if test "$ac_dir" != .; then
4924 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4925 # A "../" for each directory in $ac_dir_suffix.
4926 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4928 ac_dir_suffix= ac_top_builddir=
4932 .) # No --srcdir option. We are building in place.
4934 if test -z "$ac_top_builddir"; then
4937 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4939 [\\/]* | ?:[\\/]* ) # Absolute path.
4940 ac_srcdir=$srcdir$ac_dir_suffix;
4941 ac_top_srcdir=$srcdir ;;
4943 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4944 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4947 # Do not use `cd foo && pwd` to compute absolute paths, because
4948 # the directories may not exist.
4950 .) ac_abs_builddir="$ac_dir";;
4953 .) ac_abs_builddir=`pwd`;;
4954 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4955 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4958 case $ac_abs_builddir in
4959 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4961 case ${ac_top_builddir}. in
4962 .) ac_abs_top_builddir=$ac_abs_builddir;;
4963 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4964 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4967 case $ac_abs_builddir in
4968 .) ac_abs_srcdir=$ac_srcdir;;
4971 .) ac_abs_srcdir=$ac_abs_builddir;;
4972 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4973 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4976 case $ac_abs_builddir in
4977 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4979 case $ac_top_srcdir in
4980 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4981 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4982 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4988 if test x"$ac_file" != x-; then
4989 { echo "$as_me:$LINENO: creating $ac_file" >&5
4990 echo "$as_me: creating $ac_file" >&6;}
4993 # Let's still pretend it is `configure' which instantiates (i.e., don't
4994 # use $as_me), people would be surprised to read: