2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Dyninst 6.0.
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.0'
273 PACKAGE_STRING='Dyninst 6.0'
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_ _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.0 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.0:";;
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.0
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.0, 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 "pgcc", so it can be a program name with args.
1923 set dummy pgcc; 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__PGC_+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 ac_cv_path__PGC_="$_PGC_" # 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__PGC_="$as_dir/$ac_word$ac_exec_ext"
1942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 _PGC_=$ac_cv_path__PGC_
1953 if test -n "$_PGC_"; then
1954 echo "$as_me:$LINENO: result: $_PGC_" >&5
1955 echo "${ECHO_T}$_PGC_" >&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__PGCXX_+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 ac_cv_path__PGCXX_="$_PGCXX_" # 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__PGCXX_="$as_dir/$ac_word$ac_exec_ext"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 _PGCXX_=$ac_cv_path__PGCXX_
1992 if test -n "$_PGCXX_"; then
1993 echo "$as_me:$LINENO: result: $_PGCXX_" >&5
1994 echo "${ECHO_T}$_PGCXX_" >&6
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
2000 # Extract the first word of "cc", so it can be a program name with args.
2001 set dummy cc; 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__CC_+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 ac_cv_path__CC_="$_CC_" # 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__CC_="$as_dir/$ac_word$ac_exec_ext"
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 _CC_=$ac_cv_path__CC_
2031 if test -n "$_CC_"; then
2032 echo "$as_me:$LINENO: result: $_CC_" >&5
2033 echo "${ECHO_T}$_CC_" >&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__CXX_+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 ac_cv_path__CXX_="$_CXX_" # 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__CXX_="$as_dir/$ac_word$ac_exec_ext"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 _CXX_=$ac_cv_path__CXX_
2070 if test -n "$_CXX_"; then
2071 echo "$as_me:$LINENO: result: $_CXX_" >&5
2072 echo "${ECHO_T}$_CXX_" >&6
2074 echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6
2079 ac_cpp='$CXXCPP $CPPFLAGS'
2080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2090 # Check whether --with-package-base or --without-package-base was given.
2091 if test "${with_package_base+set}" = set; then
2092 withval="$with_package_base"
2093 PACKAGE_BASE="${withval}";
2094 TCLTK_INC_DIR="${PACKAGE_BASE}/tcl8.4.5/include";
2095 TCLTK_LIB_DIR="${PACKAGE_BASE}/tcl8.4.5/lib";
2096 LIBELF_INC_DIR="${PACKAGE_BASE}/libelf/include";
2097 LIBELF_LIB_DIR="${PACKAGE_BASE}/libelf/lib";
2098 LIBDWARF_INC_DIR="${PACKAGE_BASE}/libdwarf/include";
2099 LIBDWARF_LIB_DIR="${PACKAGE_BASE}/libdwarf/lib";
2100 LIBXML2_INC_DIR="${PACKAGE_BASE}/libxml2/include/libxml2"
2101 LIBXML2_LIB_DIR="${PACKAGE_BASE}/libxml2/lib";
2102 LIBUNWIND_INC_DIR="${PACKAGE_BASE}/libunwind/include";
2103 LIBUNWIND_LIB_DIR="${PACKAGE_BASE}/libunwind/lib";
2104 LIBFLEX_LIB_DIR="${PACKAGE_BASE}/libflex/lib";
2108 # We fall back on these defaults if both --with-package-base and
2109 # specific --with-<package> arguments are not provided.
2110 TCLTK_INC_DIR="/usr/include";
2111 TCLTK_LIB_DIR="/usr/lib";
2112 LIBELF_INC_DIR="/usr/include";
2113 LIBELF_LIB_DIR="/usr/lib";
2114 LIBDWARF_INC_DIR="/usr/include";
2115 LIBDWARF_LIB_DIR="/usr/lib";
2116 LIBXML2_INC_DIR="/usr/include/libxml2"
2117 LIBXML2_LIB_DIR="/usr/lib";
2118 LIBUNWIND_INC_DIR="/usr/include";
2119 LIBUNWIND_LIB_DIR="/usr/lib";
2120 LIBFLEX_LIB_DIR="/usr/lib";
2123 # 3/15/09: We don't include libiberty in the cs.wisc.edu package-base.
2124 # Why? Putting these here for now...
2125 LIBIBERTY_LIB_DIR="/usr/lib";
2129 # Check whether --with-tcl83 or --without-tcl83 was given.
2130 if test "${with_tcl83+set}" = set; then
2131 withval="$with_tcl83"
2132 TCL_VERSION="tcl8.3"; USE_TCL83="${withval}";
2134 TCL_VERSION="tcl8.4"; USE_TCL83="false";
2137 # Check whether --with-tcltk-incdir or --without-tcltk-incdir was given.
2138 if test "${with_tcltk_incdir+set}" = set; then
2139 withval="$with_tcltk_incdir"
2140 TCLTK_INC_DIR="${withval}";
2143 # Check whether --with-tcltk-libdir or --without-tcltk-libdir was given.
2144 if test "${with_tcltk_libdir+set}" = set; then
2145 withval="$with_tcltk_libdir"
2146 TCLTK_LIB_DIR="${withval}";
2150 CXXFLAGS_HOLD=$CXXFLAGS
2151 if test "$TCLTK_INC_DIR" != "" ; then
2152 echo "$as_me:$LINENO: checking for tcl.h in $TCLTK_INC_DIR" >&5
2153 echo $ECHO_N "checking for tcl.h in $TCLTK_INC_DIR... $ECHO_C" >&6
2154 CXXFLAGS="$CXXFLAGS -I$TCLTK_INC_DIR"
2156 echo "$as_me:$LINENO: checking for tcl.h" >&5
2157 echo $ECHO_N "checking for tcl.h... $ECHO_C" >&6
2159 cat >conftest.$ac_ext <<_ACEOF
2162 cat confdefs.h >>conftest.$ac_ext
2163 cat >>conftest.$ac_ext <<_ACEOF
2164 /* end confdefs.h. */
2174 rm -f conftest.$ac_objext
2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2176 (eval $ac_compile) 2>conftest.er1
2178 grep -v '^ *+' conftest.er1 >conftest.err
2180 cat conftest.err >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); } &&
2183 { ac_try='test -z "$ac_cxx_werror_flag"
2184 || test ! -s conftest.err'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; } &&
2190 { ac_try='test -s conftest.$ac_objext'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2197 cat >>confdefs.h <<\_ACEOF
2198 #define cap_have_tcl 1
2202 echo "$as_me: failed program was:" >&5
2203 sed 's/^/| /' conftest.$ac_ext >&5
2205 echo "$as_me:$LINENO: result: tcl.h not found in $TCLTK_INC_DIR" >&5
2206 echo "${ECHO_T}tcl.h not found in $TCLTK_INC_DIR" >&6
2208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2209 CXXFLAGS=$CXXFLAGS_HOLD
2212 if test "$TCLTK_LIB_DIR" = "" ; then
2214 as_ac_Lib=`echo "ac_cv_lib_$TCL_VERSION''_Tcl_Eval" | $as_tr_sh`
2215 echo "$as_me:$LINENO: checking for Tcl_Eval in -l$TCL_VERSION" >&5
2216 echo $ECHO_N "checking for Tcl_Eval in -l$TCL_VERSION... $ECHO_C" >&6
2217 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 ac_check_lib_save_LIBS=$LIBS
2221 LIBS="-l$TCL_VERSION $LIBS"
2222 cat >conftest.$ac_ext <<_ACEOF
2225 cat confdefs.h >>conftest.$ac_ext
2226 cat >>conftest.$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2229 /* Override any gcc2 internal prototype to avoid an error. */
2233 /* We use char because int might match the return type of a gcc2
2234 builtin and then its argument prototype would still apply. */
2244 rm -f conftest.$ac_objext conftest$ac_exeext
2245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2246 (eval $ac_link) 2>conftest.er1
2248 grep -v '^ *+' conftest.er1 >conftest.err
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } &&
2253 { ac_try='test -z "$ac_cxx_werror_flag"
2254 || test ! -s conftest.err'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; } &&
2260 { ac_try='test -s conftest$ac_exeext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2266 eval "$as_ac_Lib=yes"
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2271 eval "$as_ac_Lib=no"
2273 rm -f conftest.err conftest.$ac_objext \
2274 conftest$ac_exeext conftest.$ac_ext
2275 LIBS=$ac_check_lib_save_LIBS
2277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
2278 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
2279 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
2280 cat >>confdefs.h <<_ACEOF
2281 #define `echo "HAVE_LIB$TCL_VERSION" | $as_tr_cpp` 1
2284 LIBS="-l$TCL_VERSION $LIBS"
2287 echo "$as_me:$LINENO: result: Can't find lib$TCL_VERSION." >&5
2288 echo "${ECHO_T}Can't find lib$TCL_VERSION." >&6
2293 if test "" != "" ; then
2294 LIBS="-L$TCLTK_LIB_DIR -L"
2296 as_ac_Lib=`echo "ac_cv_lib_$TCL_VERSION''_Tcl_Eval" | $as_tr_sh`
2297 echo "$as_me:$LINENO: checking for Tcl_Eval in -l$TCL_VERSION" >&5
2298 echo $ECHO_N "checking for Tcl_Eval in -l$TCL_VERSION... $ECHO_C" >&6
2299 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 ac_check_lib_save_LIBS=$LIBS
2303 LIBS="-l$TCL_VERSION $LIBS"
2304 cat >conftest.$ac_ext <<_ACEOF
2307 cat confdefs.h >>conftest.$ac_ext
2308 cat >>conftest.$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2311 /* Override any gcc2 internal prototype to avoid an error. */
2315 /* We use char because int might match the return type of a gcc2
2316 builtin and then its argument prototype would still apply. */
2326 rm -f conftest.$ac_objext conftest$ac_exeext
2327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2328 (eval $ac_link) 2>conftest.er1
2330 grep -v '^ *+' conftest.er1 >conftest.err
2332 cat conftest.err >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); } &&
2335 { ac_try='test -z "$ac_cxx_werror_flag"
2336 || test ! -s conftest.err'
2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; } &&
2342 { ac_try='test -s conftest$ac_exeext'
2343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2348 eval "$as_ac_Lib=yes"
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.$ac_ext >&5
2353 eval "$as_ac_Lib=no"
2355 rm -f conftest.err conftest.$ac_objext \
2356 conftest$ac_exeext conftest.$ac_ext
2357 LIBS=$ac_check_lib_save_LIBS
2359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
2360 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
2361 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
2362 cat >>confdefs.h <<_ACEOF
2363 #define `echo "HAVE_LIB$TCL_VERSION" | $as_tr_cpp` 1
2366 LIBS="-l$TCL_VERSION $LIBS"
2369 echo "$as_me:$LINENO: result: Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&5
2370 echo "${ECHO_T}Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&6
2374 LIBS="-L$TCLTK_LIB_DIR"
2376 as_ac_Lib=`echo "ac_cv_lib_$TCL_VERSION''_Tcl_Eval" | $as_tr_sh`
2377 echo "$as_me:$LINENO: checking for Tcl_Eval in -l$TCL_VERSION" >&5
2378 echo $ECHO_N "checking for Tcl_Eval in -l$TCL_VERSION... $ECHO_C" >&6
2379 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 ac_check_lib_save_LIBS=$LIBS
2383 LIBS="-l$TCL_VERSION $LIBS"
2384 cat >conftest.$ac_ext <<_ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2391 /* Override any gcc2 internal prototype to avoid an error. */
2395 /* We use char because int might match the return type of a gcc2
2396 builtin and then its argument prototype would still apply. */
2406 rm -f conftest.$ac_objext conftest$ac_exeext
2407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2408 (eval $ac_link) 2>conftest.er1
2410 grep -v '^ *+' conftest.er1 >conftest.err
2412 cat conftest.err >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); } &&
2415 { ac_try='test -z "$ac_cxx_werror_flag"
2416 || test ! -s conftest.err'
2417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; } &&
2422 { ac_try='test -s conftest$ac_exeext'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; }; then
2428 eval "$as_ac_Lib=yes"
2430 echo "$as_me: failed program was:" >&5
2431 sed 's/^/| /' conftest.$ac_ext >&5
2433 eval "$as_ac_Lib=no"
2435 rm -f conftest.err conftest.$ac_objext \
2436 conftest$ac_exeext conftest.$ac_ext
2437 LIBS=$ac_check_lib_save_LIBS
2439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
2440 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
2441 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
2442 cat >>confdefs.h <<_ACEOF
2443 #define `echo "HAVE_LIB$TCL_VERSION" | $as_tr_cpp` 1
2446 LIBS="-l$TCL_VERSION $LIBS"
2449 echo "$as_me:$LINENO: result: Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&5
2450 echo "${ECHO_T}Can't find lib$TCL_VERSION in $TCLTK_LIB_DIR" >&6
2461 # Make sure we can run config.sub.
2462 $ac_config_sub sun4 >/dev/null 2>&1 ||
2463 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2464 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2465 { (exit 1); exit 1; }; }
2467 echo "$as_me:$LINENO: checking build system type" >&5
2468 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2469 if test "${ac_cv_build+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 ac_cv_build_alias=$build_alias
2473 test -z "$ac_cv_build_alias" &&
2474 ac_cv_build_alias=`$ac_config_guess`
2475 test -z "$ac_cv_build_alias" &&
2476 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2477 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2478 { (exit 1); exit 1; }; }
2479 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2480 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2481 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2482 { (exit 1); exit 1; }; }
2485 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2486 echo "${ECHO_T}$ac_cv_build" >&6
2488 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2489 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2490 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2493 echo "$as_me:$LINENO: checking host system type" >&5
2494 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2495 if test "${ac_cv_host+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 ac_cv_host_alias=$host_alias
2499 test -z "$ac_cv_host_alias" &&
2500 ac_cv_host_alias=$ac_cv_build_alias
2501 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2502 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2503 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2504 { (exit 1); exit 1; }; }
2507 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2508 echo "${ECHO_T}$ac_cv_host" >&6
2510 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2511 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2512 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2516 if test "`echo $host_os | cut -b-3`" = "aix" ; then
2517 { echo "$as_me:$LINENO: AIX system, skipping libelf..." >&5
2518 echo "$as_me: AIX system, skipping libelf..." >&6;}
2522 # Check whether --with-libelf-incdir or --without-libelf-incdir was given.
2523 if test "${with_libelf_incdir+set}" = set; then
2524 withval="$with_libelf_incdir"
2525 LIBELF_INC_DIR="${withval}";
2528 # Check whether --with-libelf-libdir or --without-libelf-libdir was given.
2529 if test "${with_libelf_libdir+set}" = set; then
2530 withval="$with_libelf_libdir"
2531 LIBELF_LIB_DIR="${withval}";
2534 CXXFLAGS_HOLD=$CXXFLAGS
2535 if test "$LIBELF_INC_DIR" != "" ; then
2536 echo "$as_me:$LINENO: checking for libelf.h in $LIBELF_INC_DIR" >&5
2537 echo $ECHO_N "checking for libelf.h in $LIBELF_INC_DIR... $ECHO_C" >&6
2538 CXXFLAGS="$CXXFLAGS -I$LIBELF_INC_DIR"
2540 echo "$as_me:$LINENO: checking for libelf.h" >&5
2541 echo $ECHO_N "checking for libelf.h... $ECHO_C" >&6
2543 cat >conftest.$ac_ext <<_ACEOF
2546 cat confdefs.h >>conftest.$ac_ext
2547 cat >>conftest.$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2558 rm -f conftest.$ac_objext
2559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2560 (eval $ac_compile) 2>conftest.er1
2562 grep -v '^ *+' conftest.er1 >conftest.err
2564 cat conftest.err >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); } &&
2567 { ac_try='test -z "$ac_cxx_werror_flag"
2568 || test ! -s conftest.err'
2569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; } &&
2574 { ac_try='test -s conftest.$ac_objext'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; }; then
2580 echo "$as_me:$LINENO: result: yes" >&5
2581 echo "${ECHO_T}yes" >&6
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2586 { { echo "$as_me:$LINENO: error: libelf.h not found in $LIBELF_INC_DIR" >&5
2587 echo "$as_me: error: libelf.h not found in $LIBELF_INC_DIR" >&2;}
2588 { (exit 1); exit 1; }; }
2590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2591 CXXFLAGS=$CXXFLAGS_HOLD
2594 if test "$LIBELF_LIB_DIR" = "" ; then
2596 echo "$as_me:$LINENO: checking for elf_memory in -lelf" >&5
2597 echo $ECHO_N "checking for elf_memory in -lelf... $ECHO_C" >&6
2598 if test "${ac_cv_lib_elf_elf_memory+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 ac_check_lib_save_LIBS=$LIBS
2603 cat >conftest.$ac_ext <<_ACEOF
2606 cat confdefs.h >>conftest.$ac_ext
2607 cat >>conftest.$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2610 /* Override any gcc2 internal prototype to avoid an error. */
2614 /* We use char because int might match the return type of a gcc2
2615 builtin and then its argument prototype would still apply. */
2625 rm -f conftest.$ac_objext conftest$ac_exeext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2627 (eval $ac_link) 2>conftest.er1
2629 grep -v '^ *+' conftest.er1 >conftest.err
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_cxx_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest$ac_exeext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_cv_lib_elf_elf_memory=yes
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_cv_lib_elf_elf_memory=no
2654 rm -f conftest.err conftest.$ac_objext \
2655 conftest$ac_exeext conftest.$ac_ext
2656 LIBS=$ac_check_lib_save_LIBS
2658 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_memory" >&5
2659 echo "${ECHO_T}$ac_cv_lib_elf_elf_memory" >&6
2660 if test $ac_cv_lib_elf_elf_memory = yes; then
2661 cat >>confdefs.h <<_ACEOF
2662 #define HAVE_LIBELF 1
2668 { { echo "$as_me:$LINENO: error: Can't find libelf." >&5
2669 echo "$as_me: error: Can't find libelf." >&2;}
2670 { (exit 1); exit 1; }; }
2675 if test "" != "" ; then
2676 LIBS="-L$LIBELF_LIB_DIR -L"
2678 echo "$as_me:$LINENO: checking for elf_memory in -lelf" >&5
2679 echo $ECHO_N "checking for elf_memory in -lelf... $ECHO_C" >&6
2680 if test "${ac_cv_lib_elf_elf_memory+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 ac_check_lib_save_LIBS=$LIBS
2685 cat >conftest.$ac_ext <<_ACEOF
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2692 /* Override any gcc2 internal prototype to avoid an error. */
2696 /* We use char because int might match the return type of a gcc2
2697 builtin and then its argument prototype would still apply. */
2707 rm -f conftest.$ac_objext conftest$ac_exeext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2709 (eval $ac_link) 2>conftest.er1
2711 grep -v '^ *+' conftest.er1 >conftest.err
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_cxx_werror_flag"
2717 || test ! -s conftest.err'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; } &&
2723 { ac_try='test -s conftest$ac_exeext'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2729 ac_cv_lib_elf_elf_memory=yes
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 ac_cv_lib_elf_elf_memory=no
2736 rm -f conftest.err conftest.$ac_objext \
2737 conftest$ac_exeext conftest.$ac_ext
2738 LIBS=$ac_check_lib_save_LIBS
2740 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_memory" >&5
2741 echo "${ECHO_T}$ac_cv_lib_elf_elf_memory" >&6
2742 if test $ac_cv_lib_elf_elf_memory = yes; then
2743 cat >>confdefs.h <<_ACEOF
2744 #define HAVE_LIBELF 1
2750 { { echo "$as_me:$LINENO: error: Can't find libelf in $LIBELF_LIB_DIR" >&5
2751 echo "$as_me: error: Can't find libelf in $LIBELF_LIB_DIR" >&2;}
2752 { (exit 1); exit 1; }; }
2756 LIBS="-L$LIBELF_LIB_DIR"
2758 echo "$as_me:$LINENO: checking for elf_memory in -lelf" >&5
2759 echo $ECHO_N "checking for elf_memory in -lelf... $ECHO_C" >&6
2760 if test "${ac_cv_lib_elf_elf_memory+set}" = set; then
2761 echo $ECHO_N "(cached) $ECHO_C" >&6
2763 ac_check_lib_save_LIBS=$LIBS
2765 cat >conftest.$ac_ext <<_ACEOF
2768 cat confdefs.h >>conftest.$ac_ext
2769 cat >>conftest.$ac_ext <<_ACEOF
2770 /* end confdefs.h. */
2772 /* Override any gcc2 internal prototype to avoid an error. */
2776 /* We use char because int might match the return type of a gcc2
2777 builtin and then its argument prototype would still apply. */
2787 rm -f conftest.$ac_objext conftest$ac_exeext
2788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2789 (eval $ac_link) 2>conftest.er1
2791 grep -v '^ *+' conftest.er1 >conftest.err
2793 cat conftest.err >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } &&
2796 { ac_try='test -z "$ac_cxx_werror_flag"
2797 || test ! -s conftest.err'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; } &&
2803 { ac_try='test -s conftest$ac_exeext'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; }; then
2809 ac_cv_lib_elf_elf_memory=yes
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 ac_cv_lib_elf_elf_memory=no
2816 rm -f conftest.err conftest.$ac_objext \
2817 conftest$ac_exeext conftest.$ac_ext
2818 LIBS=$ac_check_lib_save_LIBS
2820 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_memory" >&5
2821 echo "${ECHO_T}$ac_cv_lib_elf_elf_memory" >&6
2822 if test $ac_cv_lib_elf_elf_memory = yes; then
2823 cat >>confdefs.h <<_ACEOF
2824 #define HAVE_LIBELF 1
2830 { { echo "$as_me:$LINENO: error: Can't find libelf in $LIBELF_LIB_DIR" >&5
2831 echo "$as_me: error: Can't find libelf in $LIBELF_LIB_DIR" >&2;}
2832 { (exit 1); exit 1; }; }
2840 LIB_TYPE_DYNAMIC=`ls -H -1 $LIBELF_LIB_DIR | grep elf | grep '\.so' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
2841 if test "$LIB_TYPE_DYNAMIC" = "true"; then
2844 LIB_TYPE_STATIC=`ls -H -1 $LIBELF_LIB_DIR | grep elf | grep '\.a' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
2847 LIBELF_STATIC="$LIB_TYPE_STATIC"
2848 LIBELF_DYNAMIC="$LIB_TYPE_DYNAMIC"
2855 if test "`echo $host_os | cut -b-3`" = "aix" ; then
2856 { echo "$as_me:$LINENO: AIX system, skipping libdwarf..." >&5
2857 echo "$as_me: AIX system, skipping libdwarf..." >&6;}
2861 # Check whether --with-libdwarf-incdir or --without-libdwarf-incdir was given.
2862 if test "${with_libdwarf_incdir+set}" = set; then
2863 withval="$with_libdwarf_incdir"
2864 LIBDWARF_INC_DIR="${withval}";
2867 # Check whether --with-libdwarf-libdir or --without-libdwarf-libdir was given.
2868 if test "${with_libdwarf_libdir+set}" = set; then
2869 withval="$with_libdwarf_libdir"
2870 LIBDWARF_LIB_DIR="${withval}";
2873 CXXFLAGS_HOLD=$CXXFLAGS
2874 if test "$LIBDWARF_INC_DIR" != "" ; then
2875 echo "$as_me:$LINENO: checking for libdwarf.h in $LIBDWARF_INC_DIR" >&5
2876 echo $ECHO_N "checking for libdwarf.h in $LIBDWARF_INC_DIR... $ECHO_C" >&6
2877 CXXFLAGS="$CXXFLAGS -I$LIBDWARF_INC_DIR"
2879 echo "$as_me:$LINENO: checking for libdwarf.h" >&5
2880 echo $ECHO_N "checking for libdwarf.h... $ECHO_C" >&6
2882 cat >conftest.$ac_ext <<_ACEOF
2885 cat confdefs.h >>conftest.$ac_ext
2886 cat >>conftest.$ac_ext <<_ACEOF
2887 /* end confdefs.h. */
2888 #include "libdwarf.h"
2897 rm -f conftest.$ac_objext
2898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2899 (eval $ac_compile) 2>conftest.er1
2901 grep -v '^ *+' conftest.er1 >conftest.err
2903 cat conftest.err >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); } &&
2906 { ac_try='test -z "$ac_cxx_werror_flag"
2907 || test ! -s conftest.err'
2908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }; } &&
2913 { ac_try='test -s conftest.$ac_objext'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; }; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2925 { { echo "$as_me:$LINENO: error: libdwarf.h not found in $LIBDWARF_INC_DIR" >&5
2926 echo "$as_me: error: libdwarf.h not found in $LIBDWARF_INC_DIR" >&2;}
2927 { (exit 1); exit 1; }; }
2929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2930 CXXFLAGS=$CXXFLAGS_HOLD
2933 if test "$LIBDWARF_LIB_DIR" = "" ; then
2935 echo "$as_me:$LINENO: checking for dwarf_add_arange in -ldwarf" >&5
2936 echo $ECHO_N "checking for dwarf_add_arange in -ldwarf... $ECHO_C" >&6
2937 if test "${ac_cv_lib_dwarf_dwarf_add_arange+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 ac_check_lib_save_LIBS=$LIBS
2941 LIBS="-ldwarf $LIBS"
2942 cat >conftest.$ac_ext <<_ACEOF
2945 cat confdefs.h >>conftest.$ac_ext
2946 cat >>conftest.$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2949 /* Override any gcc2 internal prototype to avoid an error. */
2953 /* We use char because int might match the return type of a gcc2
2954 builtin and then its argument prototype would still apply. */
2955 char dwarf_add_arange ();
2959 dwarf_add_arange ();
2964 rm -f conftest.$ac_objext conftest$ac_exeext
2965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2966 (eval $ac_link) 2>conftest.er1
2968 grep -v '^ *+' conftest.er1 >conftest.err
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -z "$ac_cxx_werror_flag"
2974 || test ! -s conftest.err'
2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; } &&
2980 { ac_try='test -s conftest$ac_exeext'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2986 ac_cv_lib_dwarf_dwarf_add_arange=yes
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 ac_cv_lib_dwarf_dwarf_add_arange=no
2993 rm -f conftest.err conftest.$ac_objext \
2994 conftest$ac_exeext conftest.$ac_ext
2995 LIBS=$ac_check_lib_save_LIBS
2997 echo "$as_me:$LINENO: result: $ac_cv_lib_dwarf_dwarf_add_arange" >&5
2998 echo "${ECHO_T}$ac_cv_lib_dwarf_dwarf_add_arange" >&6
2999 if test $ac_cv_lib_dwarf_dwarf_add_arange = yes; then
3000 cat >>confdefs.h <<_ACEOF
3001 #define HAVE_LIBDWARF 1
3004 LIBS="-ldwarf $LIBS"
3007 { { echo "$as_me:$LINENO: error: Can't find libdwarf." >&5
3008 echo "$as_me: error: Can't find libdwarf." >&2;}
3009 { (exit 1); exit 1; }; }
3014 if test "$LIBDWARF_LIB_DIR" != "" ; then
3015 LIBS="-L$LIBDWARF_LIB_DIR -L$LIBDWARF_LIB_DIR"
3017 echo "$as_me:$LINENO: checking for dwarf_add_arange in -ldwarf" >&5
3018 echo $ECHO_N "checking for dwarf_add_arange in -ldwarf... $ECHO_C" >&6
3019 if test "${ac_cv_lib_dwarf_dwarf_add_arange+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 ac_check_lib_save_LIBS=$LIBS
3023 LIBS="-ldwarf -lelf $LIBS"
3024 cat >conftest.$ac_ext <<_ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3031 /* Override any gcc2 internal prototype to avoid an error. */
3035 /* We use char because int might match the return type of a gcc2
3036 builtin and then its argument prototype would still apply. */
3037 char dwarf_add_arange ();
3041 dwarf_add_arange ();
3046 rm -f conftest.$ac_objext conftest$ac_exeext
3047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3048 (eval $ac_link) 2>conftest.er1
3050 grep -v '^ *+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } &&
3055 { ac_try='test -z "$ac_cxx_werror_flag"
3056 || test ! -s conftest.err'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; } &&
3062 { ac_try='test -s conftest$ac_exeext'
3063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); }; }; then
3068 ac_cv_lib_dwarf_dwarf_add_arange=yes
3070 echo "$as_me: failed program was:" >&5
3071 sed 's/^/| /' conftest.$ac_ext >&5
3073 ac_cv_lib_dwarf_dwarf_add_arange=no
3075 rm -f conftest.err conftest.$ac_objext \
3076 conftest$ac_exeext conftest.$ac_ext
3077 LIBS=$ac_check_lib_save_LIBS
3079 echo "$as_me:$LINENO: result: $ac_cv_lib_dwarf_dwarf_add_arange" >&5
3080 echo "${ECHO_T}$ac_cv_lib_dwarf_dwarf_add_arange" >&6
3081 if test $ac_cv_lib_dwarf_dwarf_add_arange = yes; then
3082 cat >>confdefs.h <<_ACEOF
3083 #define HAVE_LIBDWARF 1
3086 LIBS="-ldwarf $LIBS"
3089 { { echo "$as_me:$LINENO: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&5
3090 echo "$as_me: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&2;}
3091 { (exit 1); exit 1; }; }
3095 LIBS="-L$LIBDWARF_LIB_DIR"
3097 echo "$as_me:$LINENO: checking for dwarf_add_arange in -ldwarf" >&5
3098 echo $ECHO_N "checking for dwarf_add_arange in -ldwarf... $ECHO_C" >&6
3099 if test "${ac_cv_lib_dwarf_dwarf_add_arange+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 ac_check_lib_save_LIBS=$LIBS
3103 LIBS="-ldwarf $LIBS"
3104 cat >conftest.$ac_ext <<_ACEOF
3107 cat confdefs.h >>conftest.$ac_ext
3108 cat >>conftest.$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3111 /* Override any gcc2 internal prototype to avoid an error. */
3115 /* We use char because int might match the return type of a gcc2
3116 builtin and then its argument prototype would still apply. */
3117 char dwarf_add_arange ();
3121 dwarf_add_arange ();
3126 rm -f conftest.$ac_objext conftest$ac_exeext
3127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3128 (eval $ac_link) 2>conftest.er1
3130 grep -v '^ *+' conftest.er1 >conftest.err
3132 cat conftest.err >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); } &&
3135 { ac_try='test -z "$ac_cxx_werror_flag"
3136 || test ! -s conftest.err'
3137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; } &&
3142 { ac_try='test -s conftest$ac_exeext'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; }; then
3148 ac_cv_lib_dwarf_dwarf_add_arange=yes
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3153 ac_cv_lib_dwarf_dwarf_add_arange=no
3155 rm -f conftest.err conftest.$ac_objext \
3156 conftest$ac_exeext conftest.$ac_ext
3157 LIBS=$ac_check_lib_save_LIBS
3159 echo "$as_me:$LINENO: result: $ac_cv_lib_dwarf_dwarf_add_arange" >&5
3160 echo "${ECHO_T}$ac_cv_lib_dwarf_dwarf_add_arange" >&6
3161 if test $ac_cv_lib_dwarf_dwarf_add_arange = yes; then
3162 cat >>confdefs.h <<_ACEOF
3163 #define HAVE_LIBDWARF 1
3166 LIBS="-ldwarf $LIBS"
3169 { { echo "$as_me:$LINENO: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&5
3170 echo "$as_me: error: Can't find libdwarf in $LIBDWARF_LIB_DIR" >&2;}
3171 { (exit 1); exit 1; }; }
3179 LIB_TYPE_DYNAMIC=`ls -H -1 $LIBDWARF_LIB_DIR | grep dwarf | grep '\.so' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3180 if test "$LIB_TYPE_DYNAMIC" = "true"; then
3183 LIB_TYPE_STATIC=`ls -H -1 $LIBDWARF_LIB_DIR | grep dwarf | grep '\.a' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3186 LIBDWARF_STATIC="$LIB_TYPE_STATIC"
3187 LIBDWARF_DYNAMIC="$LIB_TYPE_DYNAMIC"
3198 # Check whether --with-libxml2-incdir or --without-libxml2-incdir was given.
3199 if test "${with_libxml2_incdir+set}" = set; then
3200 withval="$with_libxml2_incdir"
3201 LIBXML2_INC_DIR="${withval}";
3204 # Check whether --with-libxml2-libdir or --without-libxml2-libdir was given.
3205 if test "${with_libxml2_libdir+set}" = set; then
3206 withval="$with_libxml2_libdir"
3207 LIBXML2_LIB_DIR="${withval}";
3210 CXXFLAGS_HOLD=$CXXFLAGS
3211 if test "$LIBXML2_INC_DIR" != "" ; then
3212 echo "$as_me:$LINENO: checking for libxml/xmlschemas.h in $LIBXML2_INC_DIR" >&5
3213 echo $ECHO_N "checking for libxml/xmlschemas.h in $LIBXML2_INC_DIR... $ECHO_C" >&6
3214 CXXFLAGS="$CXXFLAGS -I$LIBXML2_INC_DIR"
3216 echo "$as_me:$LINENO: checking for libxml/xmlschemas.h" >&5
3217 echo $ECHO_N "checking for libxml/xmlschemas.h... $ECHO_C" >&6
3219 cat >conftest.$ac_ext <<_ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3225 #include "libxml/xmlschemas.h"
3234 rm -f conftest.$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try='test -z "$ac_cxx_werror_flag"
3244 || test ! -s conftest.err'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; } &&
3250 { ac_try='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3257 cat >>confdefs.h <<\_ACEOF
3258 #define cap_have_libxml 1
3262 echo "$as_me: failed program was:" >&5
3263 sed 's/^/| /' conftest.$ac_ext >&5
3265 echo "$as_me:$LINENO: result: libxml/xmlschemas.h not found in $LIBXML2_INC_DIR" >&5
3266 echo "${ECHO_T}libxml/xmlschemas.h not found in $LIBXML2_INC_DIR" >&6
3268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3269 CXXFLAGS=$CXXFLAGS_HOLD
3272 if test "$LIBXML2_LIB_DIR" = "" ; then
3274 echo "$as_me:$LINENO: checking for xmlAddID in -lxml2" >&5
3275 echo $ECHO_N "checking for xmlAddID in -lxml2... $ECHO_C" >&6
3276 if test "${ac_cv_lib_xml2_xmlAddID+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 ac_check_lib_save_LIBS=$LIBS
3281 cat >conftest.$ac_ext <<_ACEOF
3284 cat confdefs.h >>conftest.$ac_ext
3285 cat >>conftest.$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3288 /* Override any gcc2 internal prototype to avoid an error. */
3292 /* We use char because int might match the return type of a gcc2
3293 builtin and then its argument prototype would still apply. */
3303 rm -f conftest.$ac_objext conftest$ac_exeext
3304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3305 (eval $ac_link) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } &&
3312 { ac_try='test -z "$ac_cxx_werror_flag"
3313 || test ! -s conftest.err'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; } &&
3319 { ac_try='test -s conftest$ac_exeext'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; }; then
3325 ac_cv_lib_xml2_xmlAddID=yes
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3330 ac_cv_lib_xml2_xmlAddID=no
3332 rm -f conftest.err conftest.$ac_objext \
3333 conftest$ac_exeext conftest.$ac_ext
3334 LIBS=$ac_check_lib_save_LIBS
3336 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlAddID" >&5
3337 echo "${ECHO_T}$ac_cv_lib_xml2_xmlAddID" >&6
3338 if test $ac_cv_lib_xml2_xmlAddID = yes; then
3339 cat >>confdefs.h <<_ACEOF
3340 #define HAVE_LIBXML2 1
3346 echo "$as_me:$LINENO: result: Can't find libxml2." >&5
3347 echo "${ECHO_T}Can't find libxml2." >&6
3352 if test "" != "" ; then
3353 LIBS="-L$LIBXML2_LIB_DIR -L"
3355 echo "$as_me:$LINENO: checking for xmlAddID in -lxml2" >&5
3356 echo $ECHO_N "checking for xmlAddID in -lxml2... $ECHO_C" >&6
3357 if test "${ac_cv_lib_xml2_xmlAddID+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 ac_check_lib_save_LIBS=$LIBS
3362 cat >conftest.$ac_ext <<_ACEOF
3365 cat confdefs.h >>conftest.$ac_ext
3366 cat >>conftest.$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3369 /* Override any gcc2 internal prototype to avoid an error. */
3373 /* We use char because int might match the return type of a gcc2
3374 builtin and then its argument prototype would still apply. */
3384 rm -f conftest.$ac_objext conftest$ac_exeext
3385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3386 (eval $ac_link) 2>conftest.er1
3388 grep -v '^ *+' conftest.er1 >conftest.err
3390 cat conftest.err >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); } &&
3393 { ac_try='test -z "$ac_cxx_werror_flag"
3394 || test ! -s conftest.err'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; } &&
3400 { ac_try='test -s conftest$ac_exeext'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then
3406 ac_cv_lib_xml2_xmlAddID=yes
3408 echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.$ac_ext >&5
3411 ac_cv_lib_xml2_xmlAddID=no
3413 rm -f conftest.err conftest.$ac_objext \
3414 conftest$ac_exeext conftest.$ac_ext
3415 LIBS=$ac_check_lib_save_LIBS
3417 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlAddID" >&5
3418 echo "${ECHO_T}$ac_cv_lib_xml2_xmlAddID" >&6
3419 if test $ac_cv_lib_xml2_xmlAddID = yes; then
3420 cat >>confdefs.h <<_ACEOF
3421 #define HAVE_LIBXML2 1
3427 echo "$as_me:$LINENO: result: Can't find libxml2 in $LIBXML2_LIB_DIR" >&5
3428 echo "${ECHO_T}Can't find libxml2 in $LIBXML2_LIB_DIR" >&6
3432 LIBS="-L$LIBXML2_LIB_DIR"
3434 echo "$as_me:$LINENO: checking for xmlAddID in -lxml2" >&5
3435 echo $ECHO_N "checking for xmlAddID in -lxml2... $ECHO_C" >&6
3436 if test "${ac_cv_lib_xml2_xmlAddID+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 ac_check_lib_save_LIBS=$LIBS
3441 cat >conftest.$ac_ext <<_ACEOF
3444 cat confdefs.h >>conftest.$ac_ext
3445 cat >>conftest.$ac_ext <<_ACEOF
3446 /* end confdefs.h. */
3448 /* Override any gcc2 internal prototype to avoid an error. */
3452 /* We use char because int might match the return type of a gcc2
3453 builtin and then its argument prototype would still apply. */
3463 rm -f conftest.$ac_objext conftest$ac_exeext
3464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3465 (eval $ac_link) 2>conftest.er1
3467 grep -v '^ *+' conftest.er1 >conftest.err
3469 cat conftest.err >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); } &&
3472 { ac_try='test -z "$ac_cxx_werror_flag"
3473 || test ! -s conftest.err'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; } &&
3479 { ac_try='test -s conftest$ac_exeext'
3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; }; then
3485 ac_cv_lib_xml2_xmlAddID=yes
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.$ac_ext >&5
3490 ac_cv_lib_xml2_xmlAddID=no
3492 rm -f conftest.err conftest.$ac_objext \
3493 conftest$ac_exeext conftest.$ac_ext
3494 LIBS=$ac_check_lib_save_LIBS
3496 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlAddID" >&5
3497 echo "${ECHO_T}$ac_cv_lib_xml2_xmlAddID" >&6
3498 if test $ac_cv_lib_xml2_xmlAddID = yes; then
3499 cat >>confdefs.h <<_ACEOF
3500 #define HAVE_LIBXML2 1
3506 echo "$as_me:$LINENO: result: Can't find libxml2 in $LIBXML2_LIB_DIR" >&5
3507 echo "${ECHO_T}Can't find libxml2 in $LIBXML2_LIB_DIR" >&6
3517 if test "`echo $host_os | cut -b-3`" = "aix" ; then
3518 { echo "$as_me:$LINENO: AIX system, skipping libiberty..." >&5
3519 echo "$as_me: AIX system, skipping libiberty..." >&6;}
3522 # Check whether --with-libiberty-libdir or --without-libiberty-libdir was given.
3523 if test "${with_libiberty_libdir+set}" = set; then
3524 withval="$with_libiberty_libdir"
3525 LIBIBERTY_LIB_DIR="${withval}";
3528 LIBS="-L$LIBIBERTY_LIB_DIR"
3530 echo "$as_me:$LINENO: checking for cplus_demangle in -liberty" >&5
3531 echo $ECHO_N "checking for cplus_demangle in -liberty... $ECHO_C" >&6
3532 if test "${ac_cv_lib_iberty_cplus_demangle+set}" = set; then
3533 echo $ECHO_N "(cached) $ECHO_C" >&6
3535 ac_check_lib_save_LIBS=$LIBS
3536 LIBS="-liberty $LIBS"
3537 cat >conftest.$ac_ext <<_ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3544 /* Override any gcc2 internal prototype to avoid an error. */
3548 /* We use char because int might match the return type of a gcc2
3549 builtin and then its argument prototype would still apply. */
3550 char cplus_demangle ();
3559 rm -f conftest.$ac_objext conftest$ac_exeext
3560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3561 (eval $ac_link) 2>conftest.er1
3563 grep -v '^ *+' conftest.er1 >conftest.err
3565 cat conftest.err >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } &&
3568 { ac_try='test -z "$ac_cxx_werror_flag"
3569 || test ! -s conftest.err'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; } &&
3575 { ac_try='test -s conftest$ac_exeext'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3581 ac_cv_lib_iberty_cplus_demangle=yes
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3586 ac_cv_lib_iberty_cplus_demangle=no
3588 rm -f conftest.err conftest.$ac_objext \
3589 conftest$ac_exeext conftest.$ac_ext
3590 LIBS=$ac_check_lib_save_LIBS
3592 echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_cplus_demangle" >&5
3593 echo "${ECHO_T}$ac_cv_lib_iberty_cplus_demangle" >&6
3594 if test $ac_cv_lib_iberty_cplus_demangle = yes; then
3595 cat >>confdefs.h <<_ACEOF
3596 #define HAVE_LIBIBERTY 1
3599 LIBS="-liberty $LIBS"
3602 as_ac_File=`echo "ac_cv_file_$LIBIBERTY_LIB_DIR/libiberty.a" | $as_tr_sh`
3603 echo "$as_me:$LINENO: checking for $LIBIBERTY_LIB_DIR/libiberty.a" >&5
3604 echo $ECHO_N "checking for $LIBIBERTY_LIB_DIR/libiberty.a... $ECHO_C" >&6
3605 if eval "test \"\${$as_ac_File+set}\" = set"; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 test "$cross_compiling" = yes &&
3609 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3610 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3611 { (exit 1); exit 1; }; }
3612 if test -r "$LIBIBERTY_LIB_DIR/libiberty.a"; then
3613 eval "$as_ac_File=yes"
3615 eval "$as_ac_File=no"
3618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
3619 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
3620 if test `eval echo '${'$as_ac_File'}'` = yes; then
3623 { { echo "$as_me:$LINENO: error: Can't find libiberty in $LIBIBERTY_LIB_DIR" >&5
3624 echo "$as_me: error: Can't find libiberty in $LIBIBERTY_LIB_DIR" >&2;}
3625 { (exit 1); exit 1; }; }
3633 LIB_TYPE_DYNAMIC=`ls -H -1 $LIBIBERTY_LIB_DIR | grep iberty | grep '\.so' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3634 if test "$LIB_TYPE_DYNAMIC" = "true"; then
3637 LIB_TYPE_STATIC=`ls -H -1 $LIBIBERTY_LIB_DIR | grep iberty | grep '\.a' | wc | awk '{if($'2' > 0){print "true"} else {print ""}}'`
3640 LIBIBERTY_STATIC="$LIB_TYPE_STATIC"
3641 LIBIBERTY_DYNAMIC="$LIB_TYPE_DYNAMIC"
3646 if test "$host_cpu" != "ia64" ; then
3647 { echo "$as_me:$LINENO: Not IA-64, skipping libunwind..." >&5
3648 echo "$as_me: Not IA-64, skipping libunwind..." >&6;}
3651 # Check whether --with-libunwind-incdir or --without-libunwind-incdir was given.
3652 if test "${with_libunwind_incdir+set}" = set; then
3653 withval="$with_libunwind_incdir"
3654 LIBUNWIND_INC_DIR="${withval}";
3657 # Check whether --with-libunwind-libdir or --without-libunwind-libdir was given.
3658 if test "${with_libunwind_libdir+set}" = set; then
3659 withval="$with_libunwind_libdir"
3660 LIBUNWIND_LIB_DIR="${withval}";
3664 CXXFLAGS_HOLD=$CXXFLAGS
3665 if test "${LIBUNWIND_INC_DIR}" != "" ; then
3666 echo "$as_me:$LINENO: checking for libunwind.h in ${LIBUNWIND_INC_DIR}" >&5
3667 echo $ECHO_N "checking for libunwind.h in ${LIBUNWIND_INC_DIR}... $ECHO_C" >&6
3668 CXXFLAGS="$CXXFLAGS -I${LIBUNWIND_INC_DIR}"
3670 echo "$as_me:$LINENO: checking for libunwind.h" >&5
3671 echo $ECHO_N "checking for libunwind.h... $ECHO_C" >&6
3673 cat >conftest.$ac_ext <<_ACEOF
3676 cat confdefs.h >>conftest.$ac_ext
3677 cat >>conftest.$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3679 #include "libunwind.h"
3688 rm -f conftest.$ac_objext
3689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3690 (eval $ac_compile) 2>conftest.er1
3692 grep -v '^ *+' conftest.er1 >conftest.err
3694 cat conftest.err >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } &&
3697 { ac_try='test -z "$ac_cxx_werror_flag"
3698 || test ! -s conftest.err'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; } &&
3704 { ac_try='test -s conftest.$ac_objext'
3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 { { echo "$as_me:$LINENO: error: libunwind.h not found in ${LIBUNWIND_INC_DIR}" >&5
3717 echo "$as_me: error: libunwind.h not found in ${LIBUNWIND_INC_DIR}" >&2;}
3718 { (exit 1); exit 1; }; }
3720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3721 CXXFLAGS=$CXXFLAGS_HOLD
3729 # Check whether --with-libflex-libdir or --without-libflex-libdir was given.
3730 if test "${with_libflex_libdir+set}" = set; then
3731 withval="$with_libflex_libdir"
3732 LIBFLEX_LIB_DIR="${withval}";
3734 # 3/15/09: We are not checking for libflex sources and they are not in cs.wisc.edu package-base.
3735 # What's the story here? Not needed?
3737 if test "${LIBFLEX_LIB_DIR}" = "" ; then
3739 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3740 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3741 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 ac_check_lib_save_LIBS=$LIBS
3746 cat >conftest.$ac_ext <<_ACEOF
3749 cat confdefs.h >>conftest.$ac_ext
3750 cat >>conftest.$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3753 /* Override any gcc2 internal prototype to avoid an error. */
3757 /* We use char because int might match the return type of a gcc2
3758 builtin and then its argument prototype would still apply. */
3768 rm -f conftest.$ac_objext conftest$ac_exeext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3770 (eval $ac_link) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1 >conftest.err
3774 cat conftest.err >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try='test -z "$ac_cxx_werror_flag"
3778 || test ! -s conftest.err'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; } &&
3784 { ac_try='test -s conftest$ac_exeext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 ac_cv_lib_fl_yywrap=yes
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 ac_cv_lib_fl_yywrap=no
3797 rm -f conftest.err conftest.$ac_objext \
3798 conftest$ac_exeext conftest.$ac_ext
3799 LIBS=$ac_check_lib_save_LIBS
3801 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3802 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3803 if test $ac_cv_lib_fl_yywrap = yes; then
3804 cat >>confdefs.h <<_ACEOF
3805 #define HAVE_LIBFL 1
3811 echo "$as_me:$LINENO: result: Can't find libfl." >&5
3812 echo "${ECHO_T}Can't find libfl." >&6
3817 if test "" != "" ; then
3818 LIBS="-L${LIBFLEX_LIB_DIR} -L"
3820 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3821 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3822 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 ac_check_lib_save_LIBS=$LIBS
3827 cat >conftest.$ac_ext <<_ACEOF
3830 cat confdefs.h >>conftest.$ac_ext
3831 cat >>conftest.$ac_ext <<_ACEOF
3832 /* end confdefs.h. */
3834 /* Override any gcc2 internal prototype to avoid an error. */
3838 /* We use char because int might match the return type of a gcc2
3839 builtin and then its argument prototype would still apply. */
3849 rm -f conftest.$ac_objext conftest$ac_exeext
3850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3851 (eval $ac_link) 2>conftest.er1
3853 grep -v '^ *+' conftest.er1 >conftest.err
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } &&
3858 { ac_try='test -z "$ac_cxx_werror_flag"
3859 || test ! -s conftest.err'
3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; } &&
3865 { ac_try='test -s conftest$ac_exeext'
3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; }; then
3871 ac_cv_lib_fl_yywrap=yes
3873 echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.$ac_ext >&5
3876 ac_cv_lib_fl_yywrap=no
3878 rm -f conftest.err conftest.$ac_objext \
3879 conftest$ac_exeext conftest.$ac_ext
3880 LIBS=$ac_check_lib_save_LIBS
3882 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3883 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3884 if test $ac_cv_lib_fl_yywrap = yes; then
3885 cat >>confdefs.h <<_ACEOF
3886 #define HAVE_LIBFL 1
3892 echo "$as_me:$LINENO: result: Can't find libfl in ${LIBFLEX_LIB_DIR}" >&5
3893 echo "${ECHO_T}Can't find libfl in ${LIBFLEX_LIB_DIR}" >&6
3897 LIBS="-L${LIBFLEX_LIB_DIR}"
3899 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3900 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3901 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 ac_check_lib_save_LIBS=$LIBS
3906 cat >conftest.$ac_ext <<_ACEOF
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3913 /* Override any gcc2 internal prototype to avoid an error. */
3917 /* We use char because int might match the return type of a gcc2
3918 builtin and then its argument prototype would still apply. */
3928 rm -f conftest.$ac_objext conftest$ac_exeext
3929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3930 (eval $ac_link) 2>conftest.er1
3932 grep -v '^ *+' conftest.er1 >conftest.err
3934 cat conftest.err >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } &&
3937 { ac_try='test -z "$ac_cxx_werror_flag"
3938 || test ! -s conftest.err'
3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); }; } &&
3944 { ac_try='test -s conftest$ac_exeext'
3945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); }; }; then
3950 ac_cv_lib_fl_yywrap=yes
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.$ac_ext >&5
3955 ac_cv_lib_fl_yywrap=no
3957 rm -f conftest.err conftest.$ac_objext \
3958 conftest$ac_exeext conftest.$ac_ext
3959 LIBS=$ac_check_lib_save_LIBS
3961 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3962 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3963 if test $ac_cv_lib_fl_yywrap = yes; then
3964 cat >>confdefs.h <<_ACEOF
3965 #define HAVE_LIBFL 1
3971 echo "$as_me:$LINENO: result: Can't find libfl in ${LIBFLEX_LIB_DIR}" >&5
3972 echo "${ECHO_T}Can't find libfl in ${LIBFLEX_LIB_DIR}" >&6
3980 # Extract the first word of "nasm", so it can be a program name with args.
3981 set dummy nasm; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_path_NASM+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 ac_cv_path_NASM="$NASM" # Let the user override the test with a path.
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 as_dummy=""${PACKAGE_BASE}/nasm/bin:$PATH""
3994 for as_dir in $as_dummy
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_path_NASM="$as_dir/$ac_word$ac_exec_ext"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 test -z "$ac_cv_path_NASM" && ac_cv_path_NASM=""""
4011 NASM=$ac_cv_path_NASM
4013 if test -n "$NASM"; then
4014 echo "$as_me:$LINENO: result: $NASM" >&5
4015 echo "${ECHO_T}$NASM" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4023 echo "$as_me:$LINENO: checking for -fno-stack-protector" >&5
4024 echo $ECHO_N "checking for -fno-stack-protector... $ECHO_C" >&6
4025 SAVED_CXXFLAGS=$CXXFLAGS
4026 CXXFLAGS="-fno-stack-protector"
4027 cat >conftest.$ac_ext <<_ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4042 rm -f conftest.$ac_objext
4043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4044 (eval $ac_compile) 2>conftest.er1
4046 grep -v '^ *+' conftest.er1 >conftest.err
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try='test -z "$ac_cxx_werror_flag"
4052 || test ! -s conftest.err'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; } &&
4058 { ac_try='test -s conftest.$ac_objext'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; }; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6; STACKPROT="DISABLE_STACK_PROT=1"
4067 echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.$ac_ext >&5
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6; STACKPROT=""
4073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4075 CXXFLAGS=$SAVED_CXXFLAGS
4077 echo "$as_me:$LINENO: checking whether to use MM timer" >&5
4078 echo $ECHO_N "checking whether to use MM timer... $ECHO_C" >&6
4080 ia64-*-*-*) MMTIMER=true ;;
4083 echo "$as_me:$LINENO: result: ${MMTIMER}" >&5
4084 echo "${ECHO_T}${MMTIMER}" >&6
4089 # Check whether --enable-testsuite or --disable-testsuite was given.
4090 if test "${enable_testsuite+set}" = set; then
4091 enableval="$enable_testsuite"
4094 enable_testsuite=yes
4097 if test "x$enable_testsuite" != xyes; then
4098 TESTSUITE="DONT_BUILD_TESTSUITE=1"
4105 ac_config_files="$ac_config_files make.config.local:autodyninst/make.config.local.in"
4107 cat >confcache <<\_ACEOF
4108 # This file is a shell script that caches the results of configure
4109 # tests run on this system so they can be shared between configure
4110 # scripts and configure runs, see configure's option --config-cache.
4111 # It is not useful on other systems. If it contains results you don't
4112 # want to keep, you may remove or edit it.
4114 # config.status only pays attention to the cache file if you give it
4115 # the --recheck option to rerun configure.
4117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4123 # The following way of writing the cache mishandles newlines in values,
4124 # but we know of no workaround that is simple, portable, and efficient.
4125 # So, don't put newlines in cache variables' values.
4126 # Ultrix sh set writes to stderr and can't be redirected directly,
4127 # and sets the high bit in the cache file unless we assign to the vars.
4130 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4132 # `set' does not quote correctly, so add quotes (double-quote
4133 # substitution turns \\\\ into \\, and sed turns \\ into \).
4136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4139 # `set' quotes correctly as required by POSIX, so do not add quotes.