2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for Dyninst 8.0.
5 # Report bugs to <bugs@dyninst.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='Dyninst'
598 PACKAGE_TARNAME='dyninst'
599 PACKAGE_VERSION='8.0'
600 PACKAGE_STRING='Dyninst 8.0'
601 PACKAGE_BUGREPORT='bugs@dyninst.org'
603 ac_default_prefix=/usr
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='LTLIBOBJS
657 LIBDWARF_HAS_SET_FRAME
734 program_transform_name
746 enable_option_checking
749 with_default_component
759 with_libiberty_libdir
766 with_launchmon_incdir
767 with_launchmon_libdir
771 ac_precious_vars='build_alias
783 # Initialize some variables set by options.
785 ac_init_version=false
786 ac_unrecognized_opts=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name=s,x,x,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir='${exec_prefix}/bin'
812 sbindir='${exec_prefix}/sbin'
813 libexecdir='${exec_prefix}/libexec'
814 datarootdir='${prefix}/share'
815 datadir='${datarootdir}'
816 sysconfdir='${prefix}/etc'
817 sharedstatedir='${prefix}/com'
818 localstatedir='${prefix}/var'
819 includedir='${prefix}/include'
820 oldincludedir='/usr/include'
821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir='${datarootdir}/info'
827 libdir='${exec_prefix}/lib'
828 localedir='${datarootdir}/locale'
829 mandir='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\$ac_option
843 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir | --bindir | --bindi | --bind | --bin | --bi)
855 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858 -build | --build | --buil | --bui | --bu)
859 ac_prev=build_alias ;;
860 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861 build_alias=$ac_optarg ;;
863 -cache-file | --cache-file | --cache-fil | --cache-fi \
864 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865 ac_prev=cache_file ;;
866 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868 cache_file=$ac_optarg ;;
871 cache_file=config.cache ;;
873 -datadir | --datadir | --datadi | --datad)
875 -datadir=* | --datadir=* | --datadi=* | --datad=*)
876 datadir=$ac_optarg ;;
878 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879 | --dataroo | --dataro | --datar)
880 ac_prev=datarootdir ;;
881 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883 datarootdir=$ac_optarg ;;
885 -disable-* | --disable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
890 { (exit 1); exit 1; }; }
891 ac_useropt_orig=$ac_useropt
892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898 ac_unrecognized_sep=', ';;
900 eval enable_$ac_useropt=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 -enable-* | --enable-*)
913 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
917 { (exit 1); exit 1; }; }
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
942 -help | --help | --hel | --he | -h)
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1091 -site=* | --site=* | --sit=*)
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1118 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1132 eval with_$ac_useropt=\$ac_optarg ;;
1134 -without-* | --without-*)
1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1139 { (exit 1); exit 1; }; }
1140 ac_useropt_orig=$ac_useropt
1141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep=', ';;
1149 eval with_$ac_useropt=no ;;
1152 # Obsolete; use --with-x.
1155 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156 | --x-incl | --x-inc | --x-in | --x-i)
1157 ac_prev=x_includes ;;
1158 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160 x_includes=$ac_optarg ;;
1162 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164 ac_prev=x_libraries ;;
1165 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167 x_libraries=$ac_optarg ;;
1169 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1170 Try \`$0 --help' for more information." >&2
1171 { (exit 1); exit 1; }; }
1175 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1178 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1179 { (exit 1); exit 1; }; }
1180 eval $ac_envvar=\$ac_optarg
1181 export $ac_envvar ;;
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1194 if test -n "$ac_prev"; then
1195 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1197 { (exit 1); exit 1; }; }
1200 if test -n "$ac_unrecognized_opts"; then
1201 case $enable_option_checking in
1203 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1204 { (exit 1); exit 1; }; } ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val=\$$ac_var
1216 # Remove trailing slashes.
1219 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$]* | ?:[\\/]* ) continue;;
1225 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1227 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1228 { (exit 1); exit 1; }; }
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x; then
1240 if test "x$build_alias" = x; then
1241 cross_compiling=maybe
1242 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243 If a cross compiler is detected then cross compile mode will be used." >&2
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252 test "$silent" = yes && exec 6>/dev/null
1255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di=`ls -di .` &&
1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1258 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1259 { (exit 1); exit 1; }; }
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1262 { (exit 1); exit 1; }; }
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$as_myself" : 'X\(//\)[^/]' \| \
1272 X"$as_myself" : 'X\(//\)$' \| \
1273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1301 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1302 { (exit 1); exit 1; }; }
1304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1307 { (exit 1); exit 1; }; }
1309 # When building in place, set srcdir=.
1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
1313 # Remove unnecessary trailing slashes from srcdir.
1314 # Double slashes in file names in object file debugging info
1315 # mess up M-x gdb in Emacs.
1317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319 for ac_var in $ac_precious_vars; do
1320 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1321 eval ac_env_${ac_var}_value=\$${ac_var}
1322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1323 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1327 # Report the --help message.
1329 if test "$ac_init_help" = "long"; then
1330 # Omit some internal or obsolete options to make the list less imposing.
1331 # This message is too long to be a string in the A/UX 3.1 sh.
1333 \`configure' configures Dyninst 8.0 to adapt to many kinds of systems.
1335 Usage: $0 [OPTION]... [VAR=VALUE]...
1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1338 VAR=VALUE. See below for descriptions of some of the useful variables.
1340 Defaults for the options are specified in brackets.
1343 -h, --help display this help and exit
1344 --help=short display options specific to this package
1345 --help=recursive display the short help of all the included packages
1346 -V, --version display version information and exit
1347 -q, --quiet, --silent do not print \`checking...' messages
1348 --cache-file=FILE cache test results in FILE [disabled]
1349 -C, --config-cache alias for \`--cache-file=config.cache'
1350 -n, --no-create do not create output files
1351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1353 Installation directories:
1354 --prefix=PREFIX install architecture-independent files in PREFIX
1355 [$ac_default_prefix]
1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1359 By default, \`make install' will install all the files in
1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362 for instance \`--prefix=\$HOME'.
1364 For better control, use the options below.
1366 Fine tuning of the installation directories:
1367 --bindir=DIR user executables [EPREFIX/bin]
1368 --sbindir=DIR system admin executables [EPREFIX/sbin]
1369 --libexecdir=DIR program executables [EPREFIX/libexec]
1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1373 --libdir=DIR object code libraries [EPREFIX/lib]
1374 --includedir=DIR C header files [PREFIX/include]
1375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1378 --infodir=DIR info documentation [DATAROOTDIR/info]
1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1380 --mandir=DIR man documentation [DATAROOTDIR/man]
1381 --docdir=DIR documentation root [DATAROOTDIR/doc/dyninst]
1382 --htmldir=DIR html documentation [DOCDIR]
1383 --dvidir=DIR dvi documentation [DOCDIR]
1384 --pdfdir=DIR pdf documentation [DOCDIR]
1385 --psdir=DIR ps documentation [DOCDIR]
1391 --build=BUILD configure for building on BUILD [guessed]
1392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive ) echo "Configuration of Dyninst 8.0:";;
1403 --disable-option-checking ignore unrecognized --enable/--with options
1404 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1405 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1406 --enable-gnu-demangler Use g++'s built in demangler
1407 --disable-testsuite Disable the Dyninst test suite (default is no)
1410 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1411 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1412 --with-traditional Install to traditional (deprecated) locations
1413 --with-package-base Base directory to look for packages
1414 --with-default-component
1415 Valid values: DyninstAPI, SymtabAPI, InstructionAPI,
1416 ProcControlAPI, ParseAPI, default
1417 --with-tcl83 Use Tcl/Tk 8.3
1418 --with-tcltk-incdir TCL/TK include directory
1419 --with-tcltk-libdir TCL/TK library directory
1420 --with-wrapper-libs Comma seperated list of archive to wrap
1421 --with-libelf-incdir LIBELF include directory
1422 --with-libelf-libdir LIBELF library directory
1423 --with-icc Path to Intel's ICC compiler
1424 --with-pgcc Path to Pathscale's PGCC compiler
1425 --with-libiberty-libdir LIBIBERTY library directory
1426 --with-libdwarf-incdir LIBDWARF include directory
1427 --with-libdwarf-libdir LIBDWARF library directory
1428 --with-threaddb-incdir THREADDB include directory
1429 --with-threaddb-libdir THREADDB library directory
1430 --with-libxml2-incdir LIBXML2 include directory
1431 --with-libxml2-libdir LIBXML2 library directory
1432 --with-launchmon-incdir Launchmon include directory
1433 --with-launchmon-libdir Launchmon library directory
1434 --with-libflex-libdir Absolute path to flex library
1436 Some influential environment variables:
1437 CXX C++ compiler command
1438 CXXFLAGS C++ compiler flags
1439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1440 nonstandard directory <lib dir>
1441 LIBS libraries to pass to the linker, e.g. -l<library>
1442 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1443 you have headers in a nonstandard directory <include dir>
1444 CXXCPP C++ preprocessor
1446 Use these variables to override the choices made by `configure' or to help
1447 it to find libraries and programs with nonstandard names/locations.
1449 Report bugs to <bugs@dyninst.org>.
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir=$ac_pwd
1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir=$ac_top_build_prefix
1479 .) # We are building in place.
1481 ac_top_srcdir=$ac_top_builddir_sub
1482 ac_abs_top_srcdir=$ac_pwd ;;
1483 [\\/]* | ?:[\\/]* ) # Absolute name.
1484 ac_srcdir=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir=$srcdir
1486 ac_abs_top_srcdir=$srcdir ;;
1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" || { ac_status=$?; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" || { ac_status=$?; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1512 Dyninst configure 8.0
1513 generated by GNU Autoconf 2.63
1515 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1516 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1522 cat >config.log <<_ACEOF
1523 This file contains any messages produced by compilers while
1524 running configure, to aid debugging if configure makes a mistake.
1526 It was created by Dyninst $as_me 8.0, which was
1527 generated by GNU Autoconf 2.63. Invocation command line was
1539 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1540 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1541 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1542 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1543 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1545 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1546 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1548 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1549 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1550 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1551 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1552 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1553 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1554 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1562 test -z "$as_dir" && as_dir=.
1563 $as_echo "PATH: $as_dir"
1579 # Keep a trace of the command line.
1580 # Strip out --no-create and --no-recursion so they do not pile up.
1581 # Strip out --silent because we don't want to record it for future runs.
1582 # Also quote any args containing shell meta-characters.
1583 # Make two passes to allow for proper duplicate-argument suppression.
1587 ac_must_keep_next=false
1593 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1595 | -silent | --silent | --silen | --sile | --sil)
1598 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1601 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1603 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1604 if test $ac_must_keep_next = true; then
1605 ac_must_keep_next=false # Got value, back to normal.
1608 *=* | --config-cache | -C | -disable-* | --disable-* \
1609 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1610 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1611 | -with-* | --with-* | -without-* | --without-* | --x)
1612 case "$ac_configure_args0 " in
1613 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1616 -* ) ac_must_keep_next=true ;;
1619 ac_configure_args="$ac_configure_args '$ac_arg'"
1624 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1625 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1627 # When interrupted or exit'd, cleanup temporary files, and complete
1628 # config.log. We remove comments because anyway the quotes in there
1629 # would cause problems or look ugly.
1630 # WARNING: Use '\'' to represent an apostrophe within the trap.
1631 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1632 trap 'exit_status=$?
1633 # Save into config.log some information that might help in debugging.
1638 ## ---------------- ##
1639 ## Cache variables. ##
1640 ## ---------------- ##
1643 # The following way of writing the cache mishandles newlines in values,
1645 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1646 eval ac_val=\$$ac_var
1650 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1651 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1654 _ | IFS | as_nl) ;; #(
1655 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1656 *) $as_unset $ac_var ;;
1661 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1662 *${as_nl}ac_space=\ *)
1664 "s/'\''/'\''\\\\'\'''\''/g;
1665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1668 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1676 ## ----------------- ##
1677 ## Output variables. ##
1678 ## ----------------- ##
1681 for ac_var in $ac_subst_vars
1683 eval ac_val=\$$ac_var
1685 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1687 $as_echo "$ac_var='\''$ac_val'\''"
1691 if test -n "$ac_subst_files"; then
1693 ## ------------------- ##
1694 ## File substitutions. ##
1695 ## ------------------- ##
1698 for ac_var in $ac_subst_files
1700 eval ac_val=\$$ac_var
1702 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1704 $as_echo "$ac_var='\''$ac_val'\''"
1709 if test -s confdefs.h; then
1719 test "$ac_signal" != 0 &&
1720 $as_echo "$as_me: caught signal $ac_signal"
1721 $as_echo "$as_me: exit $exit_status"
1723 rm -f core *.core core.conftest.* &&
1724 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1727 for ac_signal in 1 2 13 15; do
1728 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1732 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1733 rm -f -r conftest* confdefs.h
1735 # Predefined preprocessor variables.
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_NAME "$PACKAGE_NAME"
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1747 cat >>confdefs.h <<_ACEOF
1748 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_STRING "$PACKAGE_STRING"
1757 cat >>confdefs.h <<_ACEOF
1758 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1762 # Let the site file select an alternate cache file if it wants to.
1763 # Prefer an explicitly selected file to automatically selected ones.
1766 if test -n "$CONFIG_SITE"; then
1767 ac_site_file1=$CONFIG_SITE
1768 elif test "x$prefix" != xNONE; then
1769 ac_site_file1=$prefix/share/config.site
1770 ac_site_file2=$prefix/etc/config.site
1772 ac_site_file1=$ac_default_prefix/share/config.site
1773 ac_site_file2=$ac_default_prefix/etc/config.site
1775 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1777 test "x$ac_site_file" = xNONE && continue
1778 if test -r "$ac_site_file"; then
1779 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1780 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1781 sed 's/^/| /' "$ac_site_file" >&5
1786 if test -r "$cache_file"; then
1787 # Some versions of bash will fail to source /dev/null (special
1788 # files actually), so we avoid doing that.
1789 if test -f "$cache_file"; then
1790 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1791 $as_echo "$as_me: loading cache $cache_file" >&6;}
1793 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1794 *) . "./$cache_file";;
1798 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1799 $as_echo "$as_me: creating cache $cache_file" >&6;}
1803 # Check that the precious variables saved in the cache have kept the same
1805 ac_cache_corrupted=false
1806 for ac_var in $ac_precious_vars; do
1807 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1808 eval ac_new_set=\$ac_env_${ac_var}_set
1809 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1810 eval ac_new_val=\$ac_env_${ac_var}_value
1811 case $ac_old_set,$ac_new_set in
1813 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1814 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1815 ac_cache_corrupted=: ;;
1817 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1818 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1819 ac_cache_corrupted=: ;;
1822 if test "x$ac_old_val" != "x$ac_new_val"; then
1823 # differences in whitespace do not lead to failure.
1824 ac_old_val_w=`echo x $ac_old_val`
1825 ac_new_val_w=`echo x $ac_new_val`
1826 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1827 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1828 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1829 ac_cache_corrupted=:
1831 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1832 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1833 eval $ac_var=\$ac_old_val
1835 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1836 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1837 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1838 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1841 # Pass precious variables to config.status.
1842 if test "$ac_new_set" = set; then
1844 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1845 *) ac_arg=$ac_var=$ac_new_val ;;
1847 case " $ac_configure_args " in
1848 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1849 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1853 if $ac_cache_corrupted; then
1854 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1856 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1857 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1858 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1859 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1860 { (exit 1); exit 1; }; }
1888 ac_cpp='$CPP $CPPFLAGS'
1889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1898 for ac_dir in autodyninst "$srcdir"/autodyninst; do
1899 if test -f "$ac_dir/install-sh"; then
1901 ac_install_sh="$ac_aux_dir/install-sh -c"
1903 elif test -f "$ac_dir/install.sh"; then
1905 ac_install_sh="$ac_aux_dir/install.sh -c"
1907 elif test -f "$ac_dir/shtool"; then
1909 ac_install_sh="$ac_aux_dir/shtool install -c"
1913 if test -z "$ac_aux_dir"; then
1914 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autodyninst \"$srcdir\"/autodyninst" >&5
1915 $as_echo "$as_me: error: cannot find install-sh or install.sh in autodyninst \"$srcdir\"/autodyninst" >&2;}
1916 { (exit 1); exit 1; }; }
1919 # These three variables are undocumented and unsupported,
1920 # and are intended to be withdrawn in a future Autoconf release.
1921 # They can cause serious problems if a builder's source tree is in a directory
1922 # whose full name contains unusual characters.
1923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1930 # Find a good install program. We prefer a C program (faster),
1931 # so one script is as good as another. But avoid the broken or
1932 # incompatible versions:
1933 # SysV /etc/install, /usr/sbin/install
1934 # SunOS /usr/etc/install
1935 # IRIX /sbin/install
1937 # AmigaOS /C/install, which installs bootblocks on floppy discs
1938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1941 # OS/2's system install, which has a completely different semantic
1942 # ./install, which can be erroneously created by make from ./install.sh.
1943 # Reject install programs that cannot install multiple files.
1944 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1945 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1946 if test -z "$INSTALL"; then
1947 if test "${ac_cv_path_install+set}" = set; then
1948 $as_echo_n "(cached) " >&6
1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954 test -z "$as_dir" && as_dir=.
1955 # Account for people who put trailing slashes in PATH elements.
1957 ./ | .// | /cC/* | \
1958 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1959 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1962 # OSF1 and SCO ODT 3.0 have their own names for install.
1963 # Don't use installbsd from OSF since it installs stuff as root
1965 for ac_prog in ginstall scoinst install; do
1966 for ac_exec_ext in '' $ac_executable_extensions; do
1967 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1968 if test $ac_prog = install &&
1969 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1970 # AIX install. It has an incompatible calling convention.
1972 elif test $ac_prog = install &&
1973 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1974 # program-specific install script used by HP pwplus--don't use.
1977 rm -rf conftest.one conftest.two conftest.dir
1978 echo one > conftest.one
1979 echo two > conftest.two
1981 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1982 test -s conftest.one && test -s conftest.two &&
1983 test -s conftest.dir/conftest.one &&
1984 test -s conftest.dir/conftest.two
1986 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1999 rm -rf conftest.one conftest.two conftest.dir
2002 if test "${ac_cv_path_install+set}" = set; then
2003 INSTALL=$ac_cv_path_install
2005 # As a last resort, use the slow shell script. Don't cache a
2006 # value for INSTALL within a source directory, because that will
2007 # break other packages using the cache if that directory is
2008 # removed, or if the value is a relative name.
2009 INSTALL=$ac_install_sh
2012 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2013 $as_echo "$INSTALL" >&6; }
2015 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2016 # It thinks the first close brace ends the variable substitution.
2017 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2019 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2021 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2025 ac_cpp='$CXXCPP $CPPFLAGS'
2026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2029 if test -z "$CXX"; then
2030 if test -n "$CCC"; then
2033 if test -n "$ac_tool_prefix"; then
2036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2038 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 $as_echo_n "checking for $ac_word... " >&6; }
2040 if test "${ac_cv_prog_CXX+set}" = set; then
2041 $as_echo_n "(cached) " >&6
2043 if test -n "$CXX"; then
2044 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2053 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2054 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 if test -n "$CXX"; then
2065 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2066 $as_echo "$CXX" >&6; }
2068 { $as_echo "$as_me:$LINENO: result: no" >&5
2069 $as_echo "no" >&6; }
2073 test -n "$CXX" && break
2076 if test -z "$CXX"; then
2080 # Extract the first word of "$ac_prog", so it can be a program name with args.
2081 set dummy $ac_prog; ac_word=$2
2082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 $as_echo_n "checking for $ac_word... " >&6; }
2084 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2085 $as_echo_n "(cached) " >&6
2087 if test -n "$ac_ct_CXX"; then
2088 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2097 ac_cv_prog_ac_ct_CXX="$ac_prog"
2098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2108 if test -n "$ac_ct_CXX"; then
2109 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2110 $as_echo "$ac_ct_CXX" >&6; }
2112 { $as_echo "$as_me:$LINENO: result: no" >&5
2113 $as_echo "no" >&6; }
2117 test -n "$ac_ct_CXX" && break
2120 if test "x$ac_ct_CXX" = x; then
2123 case $cross_compiling:$ac_tool_warned in
2125 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2127 ac_tool_warned=yes ;;
2135 # Provide some information about the compiler.
2136 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2139 { (ac_try="$ac_compiler --version >&5"
2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2145 $as_echo "$ac_try_echo") >&5
2146 (eval "$ac_compiler --version >&5") 2>&5
2148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); }
2150 { (ac_try="$ac_compiler -v >&5"
2152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2153 *) ac_try_echo=$ac_try;;
2155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2156 $as_echo "$ac_try_echo") >&5
2157 (eval "$ac_compiler -v >&5") 2>&5
2159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }
2161 { (ac_try="$ac_compiler -V >&5"
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2167 $as_echo "$ac_try_echo") >&5
2168 (eval "$ac_compiler -V >&5") 2>&5
2170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); }
2173 cat >conftest.$ac_ext <<_ACEOF
2176 cat confdefs.h >>conftest.$ac_ext
2177 cat >>conftest.$ac_ext <<_ACEOF
2178 /* end confdefs.h. */
2188 ac_clean_files_save=$ac_clean_files
2189 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2190 # Try to create an executable without -o first, disregard a.out.
2191 # It will help us diagnose broken compilers, and finding out an intuition
2193 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2194 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2195 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2197 # The possible output files:
2198 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2201 for ac_file in $ac_files
2204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2205 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2210 if { (ac_try="$ac_link_default"
2212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213 *) ac_try_echo=$ac_try;;
2215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2216 $as_echo "$ac_try_echo") >&5
2217 (eval "$ac_link_default") 2>&5
2219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2222 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2223 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2224 # so that the user can short-circuit this test for compilers unknown to
2226 for ac_file in $ac_files ''
2228 test -f "$ac_file" || continue
2230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2233 # We found the default executable, but exeext='' is most
2237 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2239 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2241 # We set ac_cv_exeext here because the later test for it is not
2242 # safe: cross compilers may not add the suffix if given an `-o'
2243 # argument, so we may need to know it at that point already.
2244 # Even if this section looks crufty: it has the advantage of
2251 test "$ac_cv_exeext" = no && ac_cv_exeext=
2257 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2258 $as_echo "$ac_file" >&6; }
2259 if test -z "$ac_file"; then
2260 $as_echo "$as_me: failed program was:" >&5
2261 sed 's/^/| /' conftest.$ac_ext >&5
2263 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2265 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2266 See \`config.log' for more details." >&5
2267 $as_echo "$as_me: error: C++ compiler cannot create executables
2268 See \`config.log' for more details." >&2;}
2269 { (exit 77); exit 77; }; }; }
2272 ac_exeext=$ac_cv_exeext
2274 # Check that the compiler produces executables we can run. If not, either
2275 # the compiler is broken, or we cross compile.
2276 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2277 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2278 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2279 # If not cross compiling, check that we can run a simple program.
2280 if test "$cross_compiling" != yes; then
2281 if { ac_try='./$ac_file'
2282 { (case "(($ac_try" in
2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2284 *) ac_try_echo=$ac_try;;
2286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2287 $as_echo "$ac_try_echo") >&5
2288 (eval "$ac_try") 2>&5
2290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }; }; then
2294 if test "$cross_compiling" = maybe; then
2297 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2300 If you meant to cross compile, use \`--host'.
2301 See \`config.log' for more details." >&5
2302 $as_echo "$as_me: error: cannot run C++ compiled programs.
2303 If you meant to cross compile, use \`--host'.
2304 See \`config.log' for more details." >&2;}
2305 { (exit 1); exit 1; }; }; }
2309 { $as_echo "$as_me:$LINENO: result: yes" >&5
2310 $as_echo "yes" >&6; }
2312 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2313 ac_clean_files=$ac_clean_files_save
2314 # Check that the compiler produces executables we can run. If not, either
2315 # the compiler is broken, or we cross compile.
2316 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2317 $as_echo_n "checking whether we are cross compiling... " >&6; }
2318 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2319 $as_echo "$cross_compiling" >&6; }
2321 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2322 $as_echo_n "checking for suffix of executables... " >&6; }
2323 if { (ac_try="$ac_link"
2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2329 $as_echo "$ac_try_echo") >&5
2330 (eval "$ac_link") 2>&5
2332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; then
2334 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2335 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2336 # work properly (i.e., refer to `conftest.exe'), while it won't with
2338 for ac_file in conftest.exe conftest conftest.*; do
2339 test -f "$ac_file" || continue
2341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2342 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2348 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2351 See \`config.log' for more details." >&5
2352 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2353 See \`config.log' for more details." >&2;}
2354 { (exit 1); exit 1; }; }; }
2357 rm -f conftest$ac_cv_exeext
2358 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2359 $as_echo "$ac_cv_exeext" >&6; }
2361 rm -f conftest.$ac_ext
2362 EXEEXT=$ac_cv_exeext
2364 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2365 $as_echo_n "checking for suffix of object files... " >&6; }
2366 if test "${ac_cv_objext+set}" = set; then
2367 $as_echo_n "(cached) " >&6
2369 cat >conftest.$ac_ext <<_ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 rm -f conftest.o conftest.obj
2385 if { (ac_try="$ac_compile"
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2391 $as_echo "$ac_try_echo") >&5
2392 (eval "$ac_compile") 2>&5
2394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; then
2396 for ac_file in conftest.o conftest.obj conftest.*; do
2397 test -f "$ac_file" || continue;
2399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2400 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2405 $as_echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2408 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2411 See \`config.log' for more details." >&5
2412 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2413 See \`config.log' for more details." >&2;}
2414 { (exit 1); exit 1; }; }; }
2417 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2419 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2420 $as_echo "$ac_cv_objext" >&6; }
2421 OBJEXT=$ac_cv_objext
2423 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2424 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2425 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2426 $as_echo_n "(cached) " >&6
2428 cat >conftest.$ac_ext <<_ACEOF
2431 cat confdefs.h >>conftest.$ac_ext
2432 cat >>conftest.$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2446 rm -f conftest.$ac_objext
2447 if { (ac_try="$ac_compile"
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2453 $as_echo "$ac_try_echo") >&5
2454 (eval "$ac_compile") 2>conftest.er1
2456 grep -v '^ *+' conftest.er1 >conftest.err
2458 cat conftest.err >&5
2459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); } && {
2461 test -z "$ac_cxx_werror_flag" ||
2462 test ! -s conftest.err
2463 } && test -s conftest.$ac_objext; then
2466 $as_echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.$ac_ext >&5
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2476 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2477 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2478 if test $ac_compiler_gnu = yes; then
2483 ac_test_CXXFLAGS=${CXXFLAGS+set}
2484 ac_save_CXXFLAGS=$CXXFLAGS
2485 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2486 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2487 if test "${ac_cv_prog_cxx_g+set}" = set; then
2488 $as_echo_n "(cached) " >&6
2490 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2491 ac_cxx_werror_flag=yes
2494 cat >conftest.$ac_ext <<_ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2509 rm -f conftest.$ac_objext
2510 if { (ac_try="$ac_compile"
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2516 $as_echo "$ac_try_echo") >&5
2517 (eval "$ac_compile") 2>conftest.er1
2519 grep -v '^ *+' conftest.er1 >conftest.err
2521 cat conftest.err >&5
2522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); } && {
2524 test -z "$ac_cxx_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest.$ac_objext; then
2527 ac_cv_prog_cxx_g=yes
2529 $as_echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2533 cat >conftest.$ac_ext <<_ACEOF
2536 cat confdefs.h >>conftest.$ac_ext
2537 cat >>conftest.$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2548 rm -f conftest.$ac_objext
2549 if { (ac_try="$ac_compile"
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2555 $as_echo "$ac_try_echo") >&5
2556 (eval "$ac_compile") 2>conftest.er1
2558 grep -v '^ *+' conftest.er1 >conftest.err
2560 cat conftest.err >&5
2561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); } && {
2563 test -z "$ac_cxx_werror_flag" ||
2564 test ! -s conftest.err
2565 } && test -s conftest.$ac_objext; then
2568 $as_echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2571 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2573 cat >conftest.$ac_ext <<_ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2588 rm -f conftest.$ac_objext
2589 if { (ac_try="$ac_compile"
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2595 $as_echo "$ac_try_echo") >&5
2596 (eval "$ac_compile") 2>conftest.er1
2598 grep -v '^ *+' conftest.er1 >conftest.err
2600 cat conftest.err >&5
2601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } && {
2603 test -z "$ac_cxx_werror_flag" ||
2604 test ! -s conftest.err
2605 } && test -s conftest.$ac_objext; then
2606 ac_cv_prog_cxx_g=yes
2608 $as_echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2621 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2623 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2624 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2625 if test "$ac_test_CXXFLAGS" = set; then
2626 CXXFLAGS=$ac_save_CXXFLAGS
2627 elif test $ac_cv_prog_cxx_g = yes; then
2628 if test "$GXX" = yes; then
2634 if test "$GXX" = yes; then
2641 ac_cpp='$CPP $CPPFLAGS'
2642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2646 # Extract the first word of "icc", so it can be a program name with args.
2647 set dummy icc; ac_word=$2
2648 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if test "${ac_cv_path__ICC_+set}" = set; then
2651 $as_echo_n "(cached) " >&6
2655 ac_cv_path__ICC_="$_ICC_" # Let the user override the test with a path.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2665 ac_cv_path__ICC_="$as_dir/$ac_word$ac_exec_ext"
2666 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 _ICC_=$ac_cv_path__ICC_
2677 if test -n "$_ICC_"; then
2678 { $as_echo "$as_me:$LINENO: result: $_ICC_" >&5
2679 $as_echo "$_ICC_" >&6; }
2681 { $as_echo "$as_me:$LINENO: result: no" >&5
2682 $as_echo "no" >&6; }
2686 # Extract the first word of "icpc", so it can be a program name with args.
2687 set dummy icpc; ac_word=$2
2688 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if test "${ac_cv_path__ICPC_+set}" = set; then
2691 $as_echo_n "(cached) " >&6
2695 ac_cv_path__ICPC_="$_ICPC_" # Let the user override the test with a path.
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_path__ICPC_="$as_dir/$ac_word$ac_exec_ext"
2706 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 _ICPC_=$ac_cv_path__ICPC_
2717 if test -n "$_ICPC_"; then
2718 { $as_echo "$as_me:$LINENO: result: $_ICPC_" >&5
2719 $as_echo "$_ICPC_" >&6; }
2721 { $as_echo "$as_me:$LINENO: result: no" >&5
2722 $as_echo "no" >&6; }
2726 # Extract the first word of "pgcc", so it can be a program name with args.
2727 set dummy pgcc; ac_word=$2
2728 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if test "${ac_cv_path__PGC_+set}" = set; then
2731 $as_echo_n "(cached) " >&6
2735 ac_cv_path__PGC_="$_PGC_" # Let the user override the test with a path.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_path__PGC_="$as_dir/$ac_word$ac_exec_ext"
2746 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 _PGC_=$ac_cv_path__PGC_
2757 if test -n "$_PGC_"; then
2758 { $as_echo "$as_me:$LINENO: result: $_PGC_" >&5
2759 $as_echo "$_PGC_" >&6; }
2761 { $as_echo "$as_me:$LINENO: result: no" >&5
2762 $as_echo "no" >&6; }
2766 # Extract the first word of "pgCC", so it can be a program name with args.
2767 set dummy pgCC; ac_word=$2
2768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if test "${ac_cv_path__PGCXX_+set}" = set; then
2771 $as_echo_n "(cached) " >&6
2775 ac_cv_path__PGCXX_="$_PGCXX_" # Let the user override the test with a path.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_path__PGCXX_="$as_dir/$ac_word$ac_exec_ext"
2786 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 _PGCXX_=$ac_cv_path__PGCXX_
2797 if test -n "$_PGCXX_"; then
2798 { $as_echo "$as_me:$LINENO: result: $_PGCXX_" >&5
2799 $as_echo "$_PGCXX_" >&6; }
2801 { $as_echo "$as_me:$LINENO: result: no" >&5
2802 $as_echo "no" >&6; }
2806 # Extract the first word of "cc", so it can be a program name with args.
2807 set dummy cc; ac_word=$2
2808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_path__CC_+set}" = set; then
2811 $as_echo_n "(cached) " >&6
2815 ac_cv_path__CC_="$_CC_" # Let the user override the test with a path.
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir=.
2823 for ac_exec_ext in '' $ac_executable_extensions; do
2824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2825 ac_cv_path__CC_="$as_dir/$ac_word$ac_exec_ext"
2826 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 _CC_=$ac_cv_path__CC_
2837 if test -n "$_CC_"; then
2838 { $as_echo "$as_me:$LINENO: result: $_CC_" >&5
2839 $as_echo "$_CC_" >&6; }
2841 { $as_echo "$as_me:$LINENO: result: no" >&5
2842 $as_echo "no" >&6; }
2846 # Extract the first word of "CC", so it can be a program name with args.
2847 set dummy CC; ac_word=$2
2848 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if test "${ac_cv_path__CXX_+set}" = set; then
2851 $as_echo_n "(cached) " >&6
2855 ac_cv_path__CXX_="$_CXX_" # Let the user override the test with a path.
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir=.
2863 for ac_exec_ext in '' $ac_executable_extensions; do
2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2865 ac_cv_path__CXX_="$as_dir/$ac_word$ac_exec_ext"
2866 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 _CXX_=$ac_cv_path__CXX_
2877 if test -n "$_CXX_"; then
2878 { $as_echo "$as_me:$LINENO: result: $_CXX_" >&5
2879 $as_echo "$_CXX_" >&6; }
2881 { $as_echo "$as_me:$LINENO: result: no" >&5
2882 $as_echo "no" >&6; }
2887 ac_cpp='$CXXCPP $CPPFLAGS'
2888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2898 # Check whether --with-traditional was given.
2899 if test "${with_traditional+set}" = set; then
2900 withval=$with_traditional; LIBRARY_DEST_VAR="LIBRARY_DEST=\${TO_CORE}/../\${PLATFORM}/lib";
2901 PROGRAM_DEST_VAR="PROGRAM_DEST=\${TO_CORE}/../\${PLATFORM}/bin";
2902 INCLUDE_DEST_VAR="INCLUDE_DEST=\${TO_CORE}/../include";
2904 LIBRARY_DEST_VAR="";
2905 PROGRAM_DEST_VAR="";
2906 INCLUDE_DEST_VAR="";
2916 # Check whether --with-package-base was given.
2917 if test "${with_package_base+set}" = set; then
2918 withval=$with_package_base; PACKAGE_BASE="${withval}";
2919 TCLTK_INC_DIR="${PACKAGE_BASE}/tcl8.4.5/include";
2920 TCLTK_LIB_DIR="${PACKAGE_BASE}/tcl8.4.5/lib";
2921 LIBELF_INC_DIR="${PACKAGE_BASE}/libelf/include";
2922 LIBELF_LIB_DIR="${PACKAGE_BASE}/libelf/lib";
2923 LIBDWARF_INC_DIR="${PACKAGE_BASE}/libdwarf/include";
2924 LIBDWARF_LIB_DIR="${PACKAGE_BASE}/libdwarf/lib";
2925 ARG_WRAPPER_LIBS="";
2926 LIBXML2_INC_DIR="${PACKAGE_BASE}/libxml2/include/libxml2"
2927 LIBXML2_LIB_DIR="${PACKAGE_BASE}/libxml2/lib";
2928 LIBFLEX_LIB_DIR="${PACKAGE_BASE}/libflex/lib";
2932 # We fall back on these defaults if both --with-package-base and
2933 # specific --with-<package> arguments are not provided.
2934 #TCLTK_INC_DIR="/usr/include";
2935 #TCLTK_LIB_DIR="/usr/lib";
2936 #LIBELF_INC_DIR="/usr/include";
2937 #LIBELF_LIB_DIR="/usr/lib";
2938 ARG_WRAPPER_LIBS="";
2939 #LIBDWARF_INC_DIR="/usr/include";
2940 #LIBDWARF_LIB_DIR="/usr/lib";
2941 LIBXML2_INC_DIR="/usr/include/libxml2"
2942 #LIBXML2_LIB_DIR="/usr/lib";
2943 #LIBFLEX_LIB_DIR="/usr/lib";
2947 # 3/15/09: We don't include libiberty in the cs.wisc.edu package-base.
2948 # Why? Putting these here for now...
2949 #LIBIBERTY_LIB_DIR="/usr/lib";
2952 # Check whether --with-default-component was given.
2953 if test "${with_default_component+set}" = set; then
2954 withval=$with_default_component; DEFAULT_COMPONENT="${withval}";
2956 DEFAULT_COMPONENT=`cat autodyninst/default_component`;
2960 # Check whether --with-tcl83 was given.
2961 if test "${with_tcl83+set}" = set; then
2962 withval=$with_tcl83; TCL_VERSION="tcl8.3"; USE_TCL83="${withval}";
2964 TCL_VERSION="tcl8.4"; USE_TCL83="false";
2968 # Check whether --with-tcltk-incdir was given.
2969 if test "${with_tcltk_incdir+set}" = set; then
2970 withval=$with_tcltk_incdir; TCLTK_INC_DIR="${withval}";
2974 # Check whether --with-tcltk-libdir was given.
2975 if test "${with_tcltk_libdir+set}" = set; then
2976 withval=$with_tcltk_libdir; TCLTK_LIB_DIR="${withval}";
2981 CXXFLAGS_HOLD=$CXXFLAGS
2982 if test "$TCLTK_INC_DIR" != "" ; then
2983 { $as_echo "$as_me:$LINENO: checking for tcl.h in $TCLTK_INC_DIR" >&5
2984 $as_echo_n "checking for tcl.h in $TCLTK_INC_DIR... " >&6; }
2985 CXXFLAGS="$CXXFLAGS -I$TCLTK_INC_DIR"
2987 { $as_echo "$as_me:$LINENO: checking for tcl.h" >&5
2988 $as_echo_n "checking for tcl.h... " >&6; }
2990 cat >conftest.$ac_ext <<_ACEOF
2993 cat confdefs.h >>conftest.$ac_ext
2994 cat >>conftest.$ac_ext <<_ACEOF
2995 /* end confdefs.h. */
3005 rm -f conftest.$ac_objext
3006 if { (ac_try="$ac_compile"
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3012 $as_echo "$ac_try_echo") >&5
3013 (eval "$ac_compile") 2>conftest.er1
3015 grep -v '^ *+' conftest.er1 >conftest.err
3017 cat conftest.err >&5
3018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } && {
3020 test -z "$ac_cxx_werror_flag" ||
3021 test ! -s conftest.err
3022 } && test -s conftest.$ac_objext; then
3024 cat >>confdefs.h <<\_ACEOF
3025 #define cap_have_tcl 1
3029 $as_echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3032 { $as_echo "$as_me:$LINENO: result: tcl.h not found in $TCLTK_INC_DIR" >&5
3033 $as_echo "tcl.h not found in $TCLTK_INC_DIR" >&6; }
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037 CXXFLAGS=$CXXFLAGS_HOLD
3040 if test "$TCLTK_LIB_DIR" = "" ; then
3043 FIRST_LIBPARAM="-L$TCLTK_LIB_DIR"
3045 if test "" = "" ; then
3048 FOURTH_LIBPARAM="-L"
3051 LIBS="$LIBS $FIRST_LIBPARAM $FOURTH_LIBPARAM"
3053 as_ac_Lib=`$as_echo "ac_cv_lib_$TCL_VERSION''_Tcl_Eval" | $as_tr_sh`
3054 { $as_echo "$as_me:$LINENO: checking for Tcl_Eval in -l$TCL_VERSION" >&5
3055 $as_echo_n "checking for Tcl_Eval in -l$TCL_VERSION... " >&6; }
3056 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
3057 $as_echo_n "(cached) " >&6
3059 ac_check_lib_save_LIBS=$LIBS
3060 LIBS="-l$TCL_VERSION $LIBS"
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3068 /* Override any GCC internal prototype to avoid an error.
3069 Use char because int might match the return type of a GCC
3070 builtin and then its argument prototype would still apply. */
3083 rm -f conftest.$ac_objext conftest$ac_exeext
3084 if { (ac_try="$ac_link"
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3090 $as_echo "$ac_try_echo") >&5
3091 (eval "$ac_link") 2>conftest.er1
3093 grep -v '^ *+' conftest.er1 >conftest.err
3095 cat conftest.err >&5
3096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } && {
3098 test -z "$ac_cxx_werror_flag" ||
3099 test ! -s conftest.err
3100 } && test -s conftest$ac_exeext && {
3101 test "$cross_compiling" = yes ||
3102 $as_test_x conftest$ac_exeext
3104 eval "$as_ac_Lib=yes"
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 eval "$as_ac_Lib=no"
3112 rm -rf conftest.dSYM
3113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3114 conftest$ac_exeext conftest.$ac_ext
3115 LIBS=$ac_check_lib_save_LIBS
3117 ac_res=`eval 'as_val=${'$as_ac_Lib'}
3118 $as_echo "$as_val"'`
3119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3121 as_val=`eval 'as_val=${'$as_ac_Lib'}
3122 $as_echo "$as_val"'`
3123 if test "x$as_val" = x""yes; then
3124 cat >>confdefs.h <<_ACEOF
3125 #define `$as_echo "HAVE_LIB$TCL_VERSION" | $as_tr_cpp` 1
3128 LIBS="-l$TCL_VERSION $LIBS"
3131 { $as_echo "$as_me:$LINENO: result: Cant find lib$TCL_VERSION." >&5
3132 $as_echo "Cant find lib$TCL_VERSION." >&6; }
3142 # Make sure we can run config.sub.
3143 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3144 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3145 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3146 { (exit 1); exit 1; }; }
3148 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3149 $as_echo_n "checking build system type... " >&6; }
3150 if test "${ac_cv_build+set}" = set; then
3151 $as_echo_n "(cached) " >&6
3153 ac_build_alias=$build_alias
3154 test "x$ac_build_alias" = x &&
3155 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3156 test "x$ac_build_alias" = x &&
3157 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3158 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3159 { (exit 1); exit 1; }; }
3160 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3161 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3162 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3163 { (exit 1); exit 1; }; }
3166 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3167 $as_echo "$ac_cv_build" >&6; }
3168 case $ac_cv_build in
3170 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3171 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3172 { (exit 1); exit 1; }; };;
3175 ac_save_IFS=$IFS; IFS='-'
3181 # Remember, the first character of IFS is used to create $*,
3182 # except with old shells:
3185 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3188 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3189 $as_echo_n "checking host system type... " >&6; }
3190 if test "${ac_cv_host+set}" = set; then
3191 $as_echo_n "(cached) " >&6
3193 if test "x$host_alias" = x; then
3194 ac_cv_host=$ac_cv_build
3196 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3197 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3198 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3199 { (exit 1); exit 1; }; }
3203 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3204 $as_echo "$ac_cv_host" >&6; }
3207 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3208 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3209 { (exit 1); exit 1; }; };;
3212 ac_save_IFS=$IFS; IFS='-'
3218 # Remember, the first character of IFS is used to create $*,
3219 # except with old shells:
3222 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3227 # Check whether --with-wrapper-libs was given.
3228 if test "${with_wrapper_libs+set}" = set; then
3229 withval=$with_wrapper_libs; ARG_WRAPPER_LIBS="${withval}";
3234 # Check whether --enable-gnu-demangler was given.
3235 if test "${enable_gnu_demangler+set}" = set; then
3236 enableval=$enable_gnu_demangler; GNU_DEMANGLER="true"
3240 if test "x$DEFAULT_COMPONENT" = "xInstructionAPI"; then
3241 { $as_echo "$as_me:$LINENO: InstructionAPI, not requiring libelf..." >&5
3242 $as_echo "$as_me: InstructionAPI, not requiring libelf..." >&6;}
3243 SUPPRESS_LIBELF_REQ="true"
3244 { $as_echo "$as_me:$LINENO: InstructionAPI, not requiring thread_db..." >&5
3245 $as_echo "$as_me: InstructionAPI, not requiring thread_db..." >&6;}
3246 SUPPRESS_THREADDB_REQ="true"
3247 { $as_echo "$as_me:$LINENO: InstructionAPI, not requiring libdwarf..." >&5
3248 $as_echo "$as_me: InstructionAPI, not requiring libdwarf..." >&6;}
3249 SUPPRESS_LIBDWARF_REQ="true"
3251 if test "x$DEFAULT_COMPONENT" = "xSymtabAPI"; then
3252 { $as_echo "$as_me:$LINENO: SymtabAPI, not requiring thread_db..." >&5
3253 $as_echo "$as_me: SymtabAPI, not requiring thread_db..." >&6;}
3254 SUPPRESS_THREADDB_REQ="true"
3256 if test "x$DEFAULT_COMPONENT" = "xParseAPI"; then
3257 { $as_echo "$as_me:$LINENO: ParseAPI, not requiring thread_db..." >&5
3258 $as_echo "$as_me: ParseAPI, not requiring thread_db..." >&6;}
3259 SUPPRESS_THREADDB_REQ="true"
3261 if test "x$DEFAULT_COMPONENT" = "xProcControlAPI"; then
3262 { $as_echo "$as_me:$LINENO: ProcControlAPI, not requiring libdwarf..." >&5
3263 $as_echo "$as_me: ProcControlAPI, not requiring libdwarf..." >&6;}
3264 SUPPRESS_LIBDWARF_REQ="true"
3266 if test "`echo $host_os | cut -b-5`" = "linux" ; then
3267 if test "x$PLATFORM" = "xppc32_bgp_ion"; then
3268 { $as_echo "$as_me:$LINENO: BG/P, thread_db required..." >&5
3269 $as_echo "$as_me: BG/P, thread_db required..." >&6;}
3270 elif test "x$PLATFORM" = "xppc32_bgl_ion"; then
3271 { $as_echo "$as_me:$LINENO: BG/L, thread_db required..." >&5
3272 $as_echo "$as_me: BG/L, thread_db required..." >&6;}
3273 elif test "x$PLATFORM" = "xppc64_bgq_ion"; then
3274 { $as_echo "$as_me:$LINENO: BG/Q, thread_db required..." >&5
3275 $as_echo "$as_me: BG/Q, thread_db required..." >&6;}
3277 { $as_echo "$as_me:$LINENO: Linux, not requiring thread_db..." >&5
3278 $as_echo "$as_me: Linux, not requiring thread_db..." >&6;}
3279 SUPPRESS_THREADDB_REQ="true"
3283 if test "`echo $host_os | cut -b-3`" = "aix" ; then
3284 { $as_echo "$as_me:$LINENO: AIX, not requiring thread_db..." >&5
3285 $as_echo "$as_me: AIX, not requiring thread_db..." >&6;}
3286 SUPPRESS_THREADDB_REQ="true"
3289 if test "`echo $host_os | cut -b-3`" = "aix" ; then
3290 { $as_echo "$as_me:$LINENO: AIX system, skipping libelf..." >&5
3291 $as_echo "$as_me: AIX system, skipping libelf..." >&6;}
3294 # Check whether --with-libelf-incdir was given.
3295 if test "${with_libelf_incdir+set}" = set; then
3296 withval=$with_libelf_incdir; LIBELF_INC_DIR="${withval}";
3300 # Check whether --with-libelf-libdir was given.
3301 if test "${with_libelf_libdir+set}" = set; then
3302 withval=$with_libelf_libdir; LIBELF_LIB_DIR="${withval}";
3306 if test "x$SUPPRESS_LIBELF_REQ" = "x"; then
3307 if test "x$LIBELF_INC_DIR" = "x"; then
3309 LIBELF_ALT_INC_DIR=/usr/include/libelf
3311 LIBELF_INCFLAGS=-I$LIBELF_INC_DIR
3312 LIBELF_ALT_INC_DIR=$LIBELF_INC_DIR/libelf
3314 LIBELF_ALT_INCFLAGS=-I$LIBELF_ALT_INC_DIR
3316 CXXFLAGS_HOLD=$CXXFLAGS
3317 CPPFLAGS_HOLD=$CPPFLAGS
3318 CXXFLAGS="$CXXFLAGS $LIBELF_INCFLAGS";
3319 CPPFLAGS="$CPPFLAGS $LIBELF_INCFLAGS";
3322 ac_cpp='$CXXCPP $CPPFLAGS'
3323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3326 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3327 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3328 if test -z "$CXXCPP"; then
3329 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3330 $as_echo_n "(cached) " >&6
3332 # Double quotes because CXXCPP needs to be expanded
3333 for CXXCPP in "$CXX -E" "/lib/cpp"
3336 for ac_cxx_preproc_warn_flag in '' yes
3338 # Use a header file that comes with gcc, so configuring glibc
3339 # with a fresh cross-compiler works.
3340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3341 # <limits.h> exists even on freestanding compilers.
3342 # On the NeXT, cc -E runs the code through the compiler's parser,
3343 # not just through cpp. "Syntax error" is here to catch this case.
3344 cat >conftest.$ac_ext <<_ACEOF
3347 cat confdefs.h >>conftest.$ac_ext
3348 cat >>conftest.$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3351 # include <limits.h>
3353 # include <assert.h>
3357 if { (ac_try="$ac_cpp conftest.$ac_ext"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3363 $as_echo "$ac_try_echo") >&5
3364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3366 grep -v '^ *+' conftest.er1 >conftest.err
3368 cat conftest.err >&5
3369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } >/dev/null && {
3371 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3372 test ! -s conftest.err
3376 $as_echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.$ac_ext >&5
3379 # Broken: fails on valid input.
3383 rm -f conftest.err conftest.$ac_ext
3385 # OK, works on sane cases. Now check whether nonexistent headers
3386 # can be detected and how.
3387 cat >conftest.$ac_ext <<_ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3393 #include <ac_nonexistent.h>
3395 if { (ac_try="$ac_cpp conftest.$ac_ext"
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3401 $as_echo "$ac_try_echo") >&5
3402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } >/dev/null && {
3409 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3410 test ! -s conftest.err
3412 # Broken: success on invalid input.
3415 $as_echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3418 # Passes both tests.
3423 rm -f conftest.err conftest.$ac_ext
3426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3427 rm -f conftest.err conftest.$ac_ext
3428 if $ac_preproc_ok; then
3433 ac_cv_prog_CXXCPP=$CXXCPP
3436 CXXCPP=$ac_cv_prog_CXXCPP
3438 ac_cv_prog_CXXCPP=$CXXCPP
3440 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
3441 $as_echo "$CXXCPP" >&6; }
3443 for ac_cxx_preproc_warn_flag in '' yes
3445 # Use a header file that comes with gcc, so configuring glibc
3446 # with a fresh cross-compiler works.
3447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3448 # <limits.h> exists even on freestanding compilers.
3449 # On the NeXT, cc -E runs the code through the compiler's parser,
3450 # not just through cpp. "Syntax error" is here to catch this case.
3451 cat >conftest.$ac_ext <<_ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3458 # include <limits.h>
3460 # include <assert.h>
3464 if { (ac_try="$ac_cpp conftest.$ac_ext"
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3470 $as_echo "$ac_try_echo") >&5
3471 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3473 grep -v '^ *+' conftest.er1 >conftest.err
3475 cat conftest.err >&5
3476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } >/dev/null && {
3478 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3479 test ! -s conftest.err
3483 $as_echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3486 # Broken: fails on valid input.
3490 rm -f conftest.err conftest.$ac_ext
3492 # OK, works on sane cases. Now check whether nonexistent headers
3493 # can be detected and how.
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <ac_nonexistent.h>
3502 if { (ac_try="$ac_cpp conftest.$ac_ext"
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3508 $as_echo "$ac_try_echo") >&5
3509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3511 grep -v '^ *+' conftest.er1 >conftest.err
3513 cat conftest.err >&5
3514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } >/dev/null && {
3516 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3517 test ! -s conftest.err
3519 # Broken: success on invalid input.
3522 $as_echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.$ac_ext >&5
3525 # Passes both tests.
3530 rm -f conftest.err conftest.$ac_ext
3533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3534 rm -f conftest.err conftest.$ac_ext
3535 if $ac_preproc_ok; then
3538 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3540 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3541 See \`config.log' for more details." >&5
3542 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3543 See \`config.log' for more details." >&2;}
3544 { (exit 1); exit 1; }; }; }
3548 ac_cpp='$CXXCPP $CPPFLAGS'
3549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3554 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3556 if test "${ac_cv_path_GREP+set}" = set; then
3557 $as_echo_n "(cached) " >&6
3559 if test -z "$GREP"; then
3560 ac_path_GREP_found=false
3561 # Loop through the user's path and test for each of PROGNAME-LIST
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3566 test -z "$as_dir" && as_dir=.
3567 for ac_prog in grep ggrep; do
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3570 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3571 # Check for GNU ac_path_GREP and select it if it is found.
3572 # Check for GNU $ac_path_GREP
3573 case `"$ac_path_GREP" --version 2>&1` in
3575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3578 $as_echo_n 0123456789 >"conftest.in"
3581 cat "conftest.in" "conftest.in" >"conftest.tmp"
3582 mv "conftest.tmp" "conftest.in"
3583 cp "conftest.in" "conftest.nl"
3584 $as_echo 'GREP' >> "conftest.nl"
3585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3587 ac_count=`expr $ac_count + 1`
3588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3589 # Best one so far, save it but keep looking for a better one
3590 ac_cv_path_GREP="$ac_path_GREP"
3591 ac_path_GREP_max=$ac_count
3593 # 10*(2^10) chars as input seems more than enough
3594 test $ac_count -gt 10 && break
3596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3599 $ac_path_GREP_found && break 3
3604 if test -z "$ac_cv_path_GREP"; then
3605 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3606 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3607 { (exit 1); exit 1; }; }
3610 ac_cv_path_GREP=$GREP
3614 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3615 $as_echo "$ac_cv_path_GREP" >&6; }
3616 GREP="$ac_cv_path_GREP"
3619 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3620 $as_echo_n "checking for egrep... " >&6; }
3621 if test "${ac_cv_path_EGREP+set}" = set; then
3622 $as_echo_n "(cached) " >&6
3624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3625 then ac_cv_path_EGREP="$GREP -E"
3627 if test -z "$EGREP"; then
3628 ac_path_EGREP_found=false
3629 # Loop through the user's path and test for each of PROGNAME-LIST
3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3634 test -z "$as_dir" && as_dir=.
3635 for ac_prog in egrep; do
3636 for ac_exec_ext in '' $ac_executable_extensions; do
3637 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3638 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3639 # Check for GNU ac_path_EGREP and select it if it is found.
3640 # Check for GNU $ac_path_EGREP
3641 case `"$ac_path_EGREP" --version 2>&1` in
3643 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3646 $as_echo_n 0123456789 >"conftest.in"
3649 cat "conftest.in" "conftest.in" >"conftest.tmp"
3650 mv "conftest.tmp" "conftest.in"
3651 cp "conftest.in" "conftest.nl"
3652 $as_echo 'EGREP' >> "conftest.nl"
3653 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3655 ac_count=`expr $ac_count + 1`
3656 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3657 # Best one so far, save it but keep looking for a better one
3658 ac_cv_path_EGREP="$ac_path_EGREP"
3659 ac_path_EGREP_max=$ac_count
3661 # 10*(2^10) chars as input seems more than enough
3662 test $ac_count -gt 10 && break
3664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3667 $ac_path_EGREP_found && break 3
3672 if test -z "$ac_cv_path_EGREP"; then
3673 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3674 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3675 { (exit 1); exit 1; }; }
3678 ac_cv_path_EGREP=$EGREP
3683 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3684 $as_echo "$ac_cv_path_EGREP" >&6; }
3685 EGREP="$ac_cv_path_EGREP"
3688 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3689 $as_echo_n "checking for ANSI C header files... " >&6; }
3690 if test "${ac_cv_header_stdc+set}" = set; then
3691 $as_echo_n "(cached) " >&6
3693 cat >conftest.$ac_ext <<_ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3712 rm -f conftest.$ac_objext
3713 if { (ac_try="$ac_compile"
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3719 $as_echo "$ac_try_echo") >&5
3720 (eval "$ac_compile") 2>conftest.er1
3722 grep -v '^ *+' conftest.er1 >conftest.err
3724 cat conftest.err >&5
3725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); } && {
3727 test -z "$ac_cxx_werror_flag" ||
3728 test ! -s conftest.err
3729 } && test -s conftest.$ac_objext; then
3730 ac_cv_header_stdc=yes
3732 $as_echo "$as_me: failed program was:" >&5
3733 sed 's/^/| /' conftest.$ac_ext >&5
3735 ac_cv_header_stdc=no
3738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740 if test $ac_cv_header_stdc = yes; then
3741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3742 cat >conftest.$ac_ext <<_ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3752 $EGREP "memchr" >/dev/null 2>&1; then
3755 ac_cv_header_stdc=no
3761 if test $ac_cv_header_stdc = yes; then
3762 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3763 cat >conftest.$ac_ext <<_ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3773 $EGREP "free" >/dev/null 2>&1; then
3776 ac_cv_header_stdc=no
3782 if test $ac_cv_header_stdc = yes; then
3783 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3784 if test "$cross_compiling" = yes; then
3787 cat >conftest.$ac_ext <<_ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3795 #if ((' ' & 0x0FF) == 0x020)
3796 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3797 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3799 # define ISLOWER(c) \
3800 (('a' <= (c) && (c) <= 'i') \
3801 || ('j' <= (c) && (c) <= 'r') \
3802 || ('s' <= (c) && (c) <= 'z'))
3803 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3806 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3811 for (i = 0; i < 256; i++)
3812 if (XOR (islower (i), ISLOWER (i))
3813 || toupper (i) != TOUPPER (i))
3818 rm -f conftest$ac_exeext
3819 if { (ac_try="$ac_link"
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3825 $as_echo "$ac_try_echo") >&5
3826 (eval "$ac_link") 2>&5
3828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3830 { (case "(($ac_try" in
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3835 $as_echo "$ac_try_echo") >&5
3836 (eval "$ac_try") 2>&5
3838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); }; }; then
3842 $as_echo "$as_me: program exited with status $ac_status" >&5
3843 $as_echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.$ac_ext >&5
3847 ac_cv_header_stdc=no
3849 rm -rf conftest.dSYM
3850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3856 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3857 $as_echo "$ac_cv_header_stdc" >&6; }
3858 if test $ac_cv_header_stdc = yes; then
3860 cat >>confdefs.h <<\_ACEOF
3861 #define STDC_HEADERS 1
3866 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3876 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3877 inttypes.h stdint.h unistd.h
3879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3880 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3881 $as_echo_n "checking for $ac_header... " >&6; }
3882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3883 $as_echo_n "(cached) " >&6
3885 cat >conftest.$ac_ext <<_ACEOF
3888 cat confdefs.h >>conftest.$ac_ext
3889 cat >>conftest.$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3891 $ac_includes_default
3893 #include <$ac_header>
3895 rm -f conftest.$ac_objext
3896 if { (ac_try="$ac_compile"
3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3902 $as_echo "$ac_try_echo") >&5
3903 (eval "$ac_compile") 2>conftest.er1
3905 grep -v '^ *+' conftest.er1 >conftest.err
3907 cat conftest.err >&5
3908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } && {
3910 test -z "$ac_cxx_werror_flag" ||
3911 test ! -s conftest.err
3912 } && test -s conftest.$ac_objext; then
3913 eval "$as_ac_Header=yes"
3915 $as_echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 eval "$as_ac_Header=no"
3921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3923 ac_res=`eval 'as_val=${'$as_ac_Header'}
3924 $as_echo "$as_val"'`
3925 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3926 $as_echo "$ac_res" >&6; }
3927 as_val=`eval 'as_val=${'$as_ac_Header'}
3928 $as_echo "$as_val"'`
3929 if test "x$as_val" = x""yes; then
3930 cat >>confdefs.h <<_ACEOF
3931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3939 if test "${ac_cv_header_libelf_h+set}" = set; then
3940 { $as_echo "$as_me:$LINENO: checking for libelf.h" >&5
3941 $as_echo_n "checking for libelf.h... " >&6; }
3942 if test "${ac_cv_header_libelf_h+set}" = set; then
3943 $as_echo_n "(cached) " >&6
3945 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libelf_h" >&5
3946 $as_echo "$ac_cv_header_libelf_h" >&6; }
3948 # Is the header compilable?
3949 { $as_echo "$as_me:$LINENO: checking libelf.h usability" >&5
3950 $as_echo_n "checking libelf.h usability... " >&6; }
3951 cat >conftest.$ac_ext <<_ACEOF
3954 cat confdefs.h >>conftest.$ac_ext
3955 cat >>conftest.$ac_ext <<_ACEOF
3956 /* end confdefs.h. */
3957 $ac_includes_default
3960 rm -f conftest.$ac_objext
3961 if { (ac_try="$ac_compile"
3963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964 *) ac_try_echo=$ac_try;;
3966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3967 $as_echo "$ac_try_echo") >&5
3968 (eval "$ac_compile") 2>conftest.er1
3970 grep -v '^ *+' conftest.er1 >conftest.err
3972 cat conftest.err >&5
3973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } && {
3975 test -z "$ac_cxx_werror_flag" ||
3976 test ! -s conftest.err
3977 } && test -s conftest.$ac_objext; then
3978 ac_header_compiler=yes
3980 $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 ac_header_compiler=no
3986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3988 $as_echo "$ac_header_compiler" >&6; }
3990 # Is the header present?
3991 { $as_echo "$as_me:$LINENO: checking libelf.h presence" >&5
3992 $as_echo_n "checking libelf.h presence... " >&6; }
3993 cat >conftest.$ac_ext <<_ACEOF
3996 cat confdefs.h >>conftest.$ac_ext
3997 cat >>conftest.$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
4001 if { (ac_try="$ac_cpp conftest.$ac_ext"
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4007 $as_echo "$ac_try_echo") >&5
4008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4010 grep -v '^ *+' conftest.er1 >conftest.err
4012 cat conftest.err >&5
4013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } >/dev/null && {
4015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4016 test ! -s conftest.err
4018 ac_header_preproc=yes
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 ac_header_preproc=no
4026 rm -f conftest.err conftest.$ac_ext
4027 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4028 $as_echo "$ac_header_preproc" >&6; }
4030 # So? What about this header?
4031 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4033 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: accepted by the compiler, rejected by the preprocessor!" >&5
4034 $as_echo "$as_me: WARNING: libelf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4035 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: proceeding with the compiler's result" >&5
4036 $as_echo "$as_me: WARNING: libelf.h: proceeding with the compiler's result" >&2;}
4037 ac_header_preproc=yes
4040 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: present but cannot be compiled" >&5
4041 $as_echo "$as_me: WARNING: libelf.h: present but cannot be compiled" >&2;}
4042 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: check for missing prerequisite headers?" >&5
4043 $as_echo "$as_me: WARNING: libelf.h: check for missing prerequisite headers?" >&2;}
4044 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: see the Autoconf documentation" >&5
4045 $as_echo "$as_me: WARNING: libelf.h: see the Autoconf documentation" >&2;}
4046 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: section \"Present But Cannot Be Compiled\"" >&5
4047 $as_echo "$as_me: WARNING: libelf.h: section \"Present But Cannot Be Compiled\"" >&2;}
4048 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: proceeding with the preprocessor's result" >&5
4049 $as_echo "$as_me: WARNING: libelf.h: proceeding with the preprocessor's result" >&2;}
4050 { $as_echo "$as_me:$LINENO: WARNING: libelf.h: in the future, the compiler will take precedence" >&5
4051 $as_echo "$as_me: WARNING: libelf.h: in the future, the compiler will take precedence" >&2;}
4053 ## ------------------------------- ##
4054 ## Report this to bugs@dyninst.org ##
4055 ## ------------------------------- ##
4057 ) | sed "s/^/$as_me: WARNING: /" >&2
4060 { $as_echo "$as_me:$LINENO: checking for libelf.h" >&5
4061 $as_echo_n "checking for libelf.h... " >&6; }
4062 if test "${ac_cv_header_libelf_h+set}" = set; then
4063 $as_echo_n "(cached) " >&6
4065 ac_cv_header_libelf_h=$ac_header_preproc
4067 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libelf_h" >&5
4068 $as_echo "$ac_cv_header_libelf_h" >&6; }
4071 if test "x$ac_cv_header_libelf_h" = x""yes; then
4072 { $as_echo "$as_me:$LINENO: ELF include directory: $LIBELF_INC_DIR" >&5
4073 $as_echo "$as_me: ELF include directory: $LIBELF_INC_DIR" >&6;}
4075 CXXFLAGS="$CXXFLAGS $LIBELF_ALT_INCFLAGS"
4076 CPPFLAGS="$CPPFLAGS $LIBELF_ALT_INCFLAGS"
4077 $as_unset ac_cv_header_libelf_h
4078 if test "${ac_cv_header_libelf_h+set}" = set; then
4079 { $as_echo "$as_me:$LINENO: checking for libelf.h" >&5
4080 $as_echo_n "checking for libelf.h... " >&6; }
4081 if test "${ac_cv_header_libelf_h+set}" = set; then
4082 $as_echo_n "(cached) " >&6
4084 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libelf_h" >&5
4085 $as_echo "$ac_cv_header_libelf_h" >&6; }
4087 # Is the header compilable?
4088 { $as_echo "$as_me:$LINENO: checking libelf.h usability" >&5
4089 $as_echo_n "checking libelf.h usability... " >&6; }
4090 cat >conftest.$ac_ext <<_ACEOF
4093 cat confdefs.h >>conftest.$ac_ext
4094 cat >>conftest.$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4096 $ac_includes_default
4099 rm -f conftest.$ac_objext
4100 if { (ac_try="$ac_compile"
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4106 $as_echo "$ac_try_echo") >&5
4107 (eval "$ac_compile") 2>conftest.er1
4109 grep -v '^ *+' conftest.er1 >conftest.err
4111 cat conftest.err >&5
4112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); } && {
4114 test -z "$ac_cxx_werror_flag" ||
4115 test ! -s conftest.err
4116 } && test -s conftest.$ac_objext; then
4117 ac_header_compiler=yes
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 ac_header_compiler=no
4125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4127 $as_echo "$ac_header_compiler" >&6; }
4129 # Is the header present?
4130 { $as_echo "$as_me:$LINENO: checking libelf.h presence" >&5
4131 $as_echo_n "checking libelf.h presence... " >&6; }
4132 cat >conftest.$ac_ext <<_ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4140 if { (ac_try="$ac_cpp conftest.$ac_ext"
4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4146 $as_echo "$ac_try_echo") >&5
4147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4149 grep -v '^ *+' conftest.er1 >conftest.err
4151 cat conftest.err >&5
4152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } >/dev/null && {
4154 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4155 test ! -s conftest.err
4157 ac_header_preproc=yes
4159 $as_echo "$as_me: failed program was:" >&5