2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638 for dir in $PATH /usr/ucb; do
640 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X/bin/ksh; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL=/bin/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679 SHELL="$CONFIG_SHELL"
681 ECHO="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev/null 6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix=/usr/local
735 ac_config_libobj_dir=.
741 SHELL=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
750 ac_unique_file="include/acl.h"
751 ac_default_prefix=/usr
752 # Factoring default headers for most tests.
753 ac_includes_default="\
755 #ifdef HAVE_SYS_TYPES_H
756 # include <sys/types.h>
758 #ifdef HAVE_SYS_STAT_H
759 # include <sys/stat.h>
765 # ifdef HAVE_STDLIB_H
770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
775 #ifdef HAVE_STRINGS_H
776 # include <strings.h>
778 #ifdef HAVE_INTTYPES_H
779 # include <inttypes.h>
788 ac_subst_vars='LTLIBOBJS
896 program_transform_name
908 enable_option_checking
918 ac_precious_vars='build_alias
929 # Initialize some variables set by options.
931 ac_init_version=false
932 ac_unrecognized_opts=
934 # The variables have the same names as the options, with
935 # dashes changed to underlines.
943 program_transform_name=s,x,x,
951 # Installation directory options.
952 # These are left unexpanded so users can "make install exec_prefix=/foo"
953 # and all the variables that are supposed to be based on exec_prefix
954 # by default will actually change.
955 # Use braces instead of parens because sh, perl, etc. also accept them.
956 # (The list follows the same order as the GNU Coding Standards.)
957 bindir='${exec_prefix}/bin'
958 sbindir='${exec_prefix}/sbin'
959 libexecdir='${exec_prefix}/libexec'
960 datarootdir='${prefix}/share'
961 datadir='${datarootdir}'
962 sysconfdir='${prefix}/etc'
963 sharedstatedir='${prefix}/com'
964 localstatedir='${prefix}/var'
965 includedir='${prefix}/include'
966 oldincludedir='/usr/include'
967 docdir='${datarootdir}/doc/${PACKAGE}'
968 infodir='${datarootdir}/info'
973 libdir='${exec_prefix}/lib'
974 localedir='${datarootdir}/locale'
975 mandir='${datarootdir}/man'
981 # If the previous option needs an argument, assign it.
982 if test -n "$ac_prev"; then
983 eval $ac_prev=\$ac_option
989 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
993 # Accept the important Cygnus configure options, so we can diagnose typos.
995 case $ac_dashdash$ac_option in
999 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1001 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1002 bindir=$ac_optarg ;;
1004 -build | --build | --buil | --bui | --bu)
1005 ac_prev=build_alias ;;
1006 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1007 build_alias=$ac_optarg ;;
1009 -cache-file | --cache-file | --cache-fil | --cache-fi \
1010 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1011 ac_prev=cache_file ;;
1012 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1013 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1014 cache_file=$ac_optarg ;;
1016 --config-cache | -C)
1017 cache_file=config.cache ;;
1019 -datadir | --datadir | --datadi | --datad)
1021 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1022 datadir=$ac_optarg ;;
1024 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1025 | --dataroo | --dataro | --datar)
1026 ac_prev=datarootdir ;;
1027 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1028 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1029 datarootdir=$ac_optarg ;;
1031 -disable-* | --disable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1036 { (exit 1); exit 1; }; }
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_$ac_useropt"
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1046 eval enable_$ac_useropt=no ;;
1048 -docdir | --docdir | --docdi | --doc | --do)
1050 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1051 docdir=$ac_optarg ;;
1053 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1055 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1056 dvidir=$ac_optarg ;;
1058 -enable-* | --enable-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1063 { (exit 1); exit 1; }; }
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "enable_$ac_useropt"
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1073 eval enable_$ac_useropt=\$ac_optarg ;;
1075 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1076 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1077 | --exec | --exe | --ex)
1078 ac_prev=exec_prefix ;;
1079 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1080 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1081 | --exec=* | --exe=* | --ex=*)
1082 exec_prefix=$ac_optarg ;;
1084 -gas | --gas | --ga | --g)
1085 # Obsolete; use --with-gas.
1088 -help | --help | --hel | --he | -h)
1089 ac_init_help=long ;;
1090 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1091 ac_init_help=recursive ;;
1092 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1093 ac_init_help=short ;;
1095 -host | --host | --hos | --ho)
1096 ac_prev=host_alias ;;
1097 -host=* | --host=* | --hos=* | --ho=*)
1098 host_alias=$ac_optarg ;;
1100 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1102 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1104 htmldir=$ac_optarg ;;
1106 -includedir | --includedir | --includedi | --included | --include \
1107 | --includ | --inclu | --incl | --inc)
1108 ac_prev=includedir ;;
1109 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1110 | --includ=* | --inclu=* | --incl=* | --inc=*)
1111 includedir=$ac_optarg ;;
1113 -infodir | --infodir | --infodi | --infod | --info | --inf)
1115 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1116 infodir=$ac_optarg ;;
1118 -libdir | --libdir | --libdi | --libd)
1120 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1121 libdir=$ac_optarg ;;
1123 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1124 | --libexe | --libex | --libe)
1125 ac_prev=libexecdir ;;
1126 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1127 | --libexe=* | --libex=* | --libe=*)
1128 libexecdir=$ac_optarg ;;
1130 -localedir | --localedir | --localedi | --localed | --locale)
1131 ac_prev=localedir ;;
1132 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1133 localedir=$ac_optarg ;;
1135 -localstatedir | --localstatedir | --localstatedi | --localstated \
1136 | --localstate | --localstat | --localsta | --localst | --locals)
1137 ac_prev=localstatedir ;;
1138 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1139 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1140 localstatedir=$ac_optarg ;;
1142 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1144 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1145 mandir=$ac_optarg ;;
1147 -nfp | --nfp | --nf)
1148 # Obsolete; use --without-fp.
1151 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1152 | --no-cr | --no-c | -n)
1155 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1156 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1159 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1160 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1161 | --oldin | --oldi | --old | --ol | --o)
1162 ac_prev=oldincludedir ;;
1163 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1164 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1165 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1166 oldincludedir=$ac_optarg ;;
1168 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1170 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1171 prefix=$ac_optarg ;;
1173 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1174 | --program-pre | --program-pr | --program-p)
1175 ac_prev=program_prefix ;;
1176 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1177 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1178 program_prefix=$ac_optarg ;;
1180 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1181 | --program-suf | --program-su | --program-s)
1182 ac_prev=program_suffix ;;
1183 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1184 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1185 program_suffix=$ac_optarg ;;
1187 -program-transform-name | --program-transform-name \
1188 | --program-transform-nam | --program-transform-na \
1189 | --program-transform-n | --program-transform- \
1190 | --program-transform | --program-transfor \
1191 | --program-transfo | --program-transf \
1192 | --program-trans | --program-tran \
1193 | --progr-tra | --program-tr | --program-t)
1194 ac_prev=program_transform_name ;;
1195 -program-transform-name=* | --program-transform-name=* \
1196 | --program-transform-nam=* | --program-transform-na=* \
1197 | --program-transform-n=* | --program-transform-=* \
1198 | --program-transform=* | --program-transfor=* \
1199 | --program-transfo=* | --program-transf=* \
1200 | --program-trans=* | --program-tran=* \
1201 | --progr-tra=* | --program-tr=* | --program-t=*)
1202 program_transform_name=$ac_optarg ;;
1204 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1206 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1207 pdfdir=$ac_optarg ;;
1209 -psdir | --psdir | --psdi | --psd | --ps)
1211 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1215 | -silent | --silent | --silen | --sile | --sil)
1218 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1220 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1222 sbindir=$ac_optarg ;;
1224 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1225 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1226 | --sharedst | --shareds | --shared | --share | --shar \
1228 ac_prev=sharedstatedir ;;
1229 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1230 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1231 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1233 sharedstatedir=$ac_optarg ;;
1235 -site | --site | --sit)
1237 -site=* | --site=* | --sit=*)
1240 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1242 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1243 srcdir=$ac_optarg ;;
1245 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1246 | --syscon | --sysco | --sysc | --sys | --sy)
1247 ac_prev=sysconfdir ;;
1248 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1249 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1250 sysconfdir=$ac_optarg ;;
1252 -target | --target | --targe | --targ | --tar | --ta | --t)
1253 ac_prev=target_alias ;;
1254 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1255 target_alias=$ac_optarg ;;
1257 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1260 -version | --version | --versio | --versi | --vers | -V)
1261 ac_init_version=: ;;
1264 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1267 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1268 { (exit 1); exit 1; }; }
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1278 eval with_$ac_useropt=\$ac_optarg ;;
1280 -without-* | --without-*)
1281 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1284 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1285 { (exit 1); exit 1; }; }
1286 ac_useropt_orig=$ac_useropt
1287 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1288 case $ac_user_opts in
1292 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1293 ac_unrecognized_sep=', ';;
1295 eval with_$ac_useropt=no ;;
1298 # Obsolete; use --with-x.
1301 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1302 | --x-incl | --x-inc | --x-in | --x-i)
1303 ac_prev=x_includes ;;
1304 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1305 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1306 x_includes=$ac_optarg ;;
1308 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1309 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1310 ac_prev=x_libraries ;;
1311 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1312 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1313 x_libraries=$ac_optarg ;;
1315 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1316 Try \`$0 --help' for more information." >&2
1317 { (exit 1); exit 1; }; }
1321 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1324 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1325 { (exit 1); exit 1; }; }
1326 eval $ac_envvar=\$ac_optarg
1327 export $ac_envvar ;;
1330 # FIXME: should be removed in autoconf 3.0.
1331 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1332 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1333 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1334 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1340 if test -n "$ac_prev"; then
1341 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1342 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1343 { (exit 1); exit 1; }; }
1346 if test -n "$ac_unrecognized_opts"; then
1347 case $enable_option_checking in
1349 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1350 { (exit 1); exit 1; }; } ;;
1351 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1355 # Check all directory arguments for consistency.
1356 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1357 datadir sysconfdir sharedstatedir localstatedir includedir \
1358 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1359 libdir localedir mandir
1361 eval ac_val=\$$ac_var
1362 # Remove trailing slashes.
1365 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1366 eval $ac_var=\$ac_val;;
1368 # Be sure to have absolute directory names.
1370 [\\/$]* | ?:[\\/]* ) continue;;
1371 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1373 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1374 { (exit 1); exit 1; }; }
1377 # There might be people who depend on the old broken behavior: `$host'
1378 # used to hold the argument of --host etc.
1379 # FIXME: To remove some day.
1382 target=$target_alias
1384 # FIXME: To remove some day.
1385 if test "x$host_alias" != x; then
1386 if test "x$build_alias" = x; then
1387 cross_compiling=maybe
1388 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1389 If a cross compiler is detected then cross compile mode will be used." >&2
1390 elif test "x$build_alias" != "x$host_alias"; then
1396 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1398 test "$silent" = yes && exec 6>/dev/null
1401 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1402 ac_ls_di=`ls -di .` &&
1403 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1405 { (exit 1); exit 1; }; }
1406 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1407 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1408 { (exit 1); exit 1; }; }
1411 # Find the source files, if location was not specified.
1412 if test -z "$srcdir"; then
1413 ac_srcdir_defaulted=yes
1414 # Try the directory containing this script, then the parent directory.
1415 ac_confdir=`$as_dirname -- "$as_myself" ||
1416 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1417 X"$as_myself" : 'X\(//\)[^/]' \| \
1418 X"$as_myself" : 'X\(//\)$' \| \
1419 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1420 $as_echo X"$as_myself" |
1421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1439 if test ! -r "$srcdir/$ac_unique_file"; then
1443 ac_srcdir_defaulted=no
1445 if test ! -r "$srcdir/$ac_unique_file"; then
1446 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1447 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1448 { (exit 1); exit 1; }; }
1450 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1452 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1453 { (exit 1); exit 1; }; }
1455 # When building in place, set srcdir=.
1456 if test "$ac_abs_confdir" = "$ac_pwd"; then
1459 # Remove unnecessary trailing slashes from srcdir.
1460 # Double slashes in file names in object file debugging info
1461 # mess up M-x gdb in Emacs.
1463 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1465 for ac_var in $ac_precious_vars; do
1466 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1467 eval ac_env_${ac_var}_value=\$${ac_var}
1468 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1469 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1473 # Report the --help message.
1475 if test "$ac_init_help" = "long"; then
1476 # Omit some internal or obsolete options to make the list less imposing.
1477 # This message is too long to be a string in the A/UX 3.1 sh.
1479 \`configure' configures this package to adapt to many kinds of systems.
1481 Usage: $0 [OPTION]... [VAR=VALUE]...
1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1484 VAR=VALUE. See below for descriptions of some of the useful variables.
1486 Defaults for the options are specified in brackets.
1489 -h, --help display this help and exit
1490 --help=short display options specific to this package
1491 --help=recursive display the short help of all the included packages
1492 -V, --version display version information and exit
1493 -q, --quiet, --silent do not print \`checking...' messages
1494 --cache-file=FILE cache test results in FILE [disabled]
1495 -C, --config-cache alias for \`--cache-file=config.cache'
1496 -n, --no-create do not create output files
1497 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1499 Installation directories:
1500 --prefix=PREFIX install architecture-independent files in PREFIX
1501 [$ac_default_prefix]
1502 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1505 By default, \`make install' will install all the files in
1506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1507 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1508 for instance \`--prefix=\$HOME'.
1510 For better control, use the options below.
1512 Fine tuning of the installation directories:
1513 --bindir=DIR user executables [EPREFIX/bin]
1514 --sbindir=DIR system admin executables [EPREFIX/sbin]
1515 --libexecdir=DIR program executables [EPREFIX/libexec]
1516 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1517 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1518 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1519 --libdir=DIR object code libraries [EPREFIX/lib]
1520 --includedir=DIR C header files [PREFIX/include]
1521 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1522 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1523 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1524 --infodir=DIR info documentation [DATAROOTDIR/info]
1525 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1526 --mandir=DIR man documentation [DATAROOTDIR/man]
1527 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1528 --htmldir=DIR html documentation [DOCDIR]
1529 --dvidir=DIR dvi documentation [DOCDIR]
1530 --pdfdir=DIR pdf documentation [DOCDIR]
1531 --psdir=DIR ps documentation [DOCDIR]
1537 --build=BUILD configure for building on BUILD [guessed]
1538 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1542 if test -n "$ac_init_help"; then
1547 --disable-option-checking ignore unrecognized --enable/--with options
1548 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1549 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1550 --enable-shared[=PKGS] build shared libraries [default=yes]
1551 --enable-static[=PKGS] build static libraries [default=yes]
1552 --enable-fast-install[=PKGS]
1553 optimize for fast installation [default=yes]
1554 --disable-libtool-lock avoid locking (might break parallel builds)
1555 --enable-shared=yes/no Enable use of shared libraries default=yes
1556 --enable-gettext=yes/no Enable alternate language support default=yes
1557 --enable-lib64=yes/no Enable lib64 support default=no
1560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1562 --with-pic try to use only PIC/non-PIC objects [default=use
1564 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1576 Use these variables to override the choices made by `configure' or to help
1577 it to find libraries and programs with nonstandard names/locations.
1583 if test "$ac_init_help" = "recursive"; then
1584 # If there are subdirs, report their specific --help.
1585 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586 test -d "$ac_dir" ||
1587 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1595 # A ".." for each directory in $ac_dir_suffix.
1596 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1597 case $ac_top_builddir_sub in
1598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602 ac_abs_top_builddir=$ac_pwd
1603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604 # for backward compatibility:
1605 ac_top_builddir=$ac_top_build_prefix
1608 .) # We are building in place.
1610 ac_top_srcdir=$ac_top_builddir_sub
1611 ac_abs_top_srcdir=$ac_pwd ;;
1612 [\\/]* | ?:[\\/]* ) # Absolute name.
1613 ac_srcdir=$srcdir$ac_dir_suffix;
1614 ac_top_srcdir=$srcdir
1615 ac_abs_top_srcdir=$srcdir ;;
1617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618 ac_top_srcdir=$ac_top_build_prefix$srcdir
1619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1623 cd "$ac_dir" || { ac_status=$?; continue; }
1624 # Check for guested configure.
1625 if test -f "$ac_srcdir/configure.gnu"; then
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif test -f "$ac_srcdir/configure"; then
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1632 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1638 test -n "$ac_init_help" && exit $ac_status
1639 if $ac_init_version; then
1642 generated by GNU Autoconf 2.63
1644 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1645 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1646 This configure script is free software; the Free Software Foundation
1647 gives unlimited permission to copy, distribute and modify it.
1651 cat >config.log <<_ACEOF
1652 This file contains any messages produced by compilers while
1653 running configure, to aid debugging if configure makes a mistake.
1655 It was created by $as_me, which was
1656 generated by GNU Autoconf 2.63. Invocation command line was
1668 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1669 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1670 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1671 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1672 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1674 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1675 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1677 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1678 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1679 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1680 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1681 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1682 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1683 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 $as_echo "PATH: $as_dir"
1708 # Keep a trace of the command line.
1709 # Strip out --no-create and --no-recursion so they do not pile up.
1710 # Strip out --silent because we don't want to record it for future runs.
1711 # Also quote any args containing shell meta-characters.
1712 # Make two passes to allow for proper duplicate-argument suppression.
1716 ac_must_keep_next=false
1722 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1724 | -silent | --silent | --silen | --sile | --sil)
1727 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1730 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1732 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1733 if test $ac_must_keep_next = true; then
1734 ac_must_keep_next=false # Got value, back to normal.
1737 *=* | --config-cache | -C | -disable-* | --disable-* \
1738 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1739 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1740 | -with-* | --with-* | -without-* | --without-* | --x)
1741 case "$ac_configure_args0 " in
1742 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1745 -* ) ac_must_keep_next=true ;;
1748 ac_configure_args="$ac_configure_args '$ac_arg'"
1753 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1754 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1756 # When interrupted or exit'd, cleanup temporary files, and complete
1757 # config.log. We remove comments because anyway the quotes in there
1758 # would cause problems or look ugly.
1759 # WARNING: Use '\'' to represent an apostrophe within the trap.
1760 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1761 trap 'exit_status=$?
1762 # Save into config.log some information that might help in debugging.
1767 ## ---------------- ##
1768 ## Cache variables. ##
1769 ## ---------------- ##
1772 # The following way of writing the cache mishandles newlines in values,
1774 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1775 eval ac_val=\$$ac_var
1779 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1780 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1783 _ | IFS | as_nl) ;; #(
1784 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1785 *) $as_unset $ac_var ;;
1790 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1791 *${as_nl}ac_space=\ *)
1793 "s/'\''/'\''\\\\'\'''\''/g;
1794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1797 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1805 ## ----------------- ##
1806 ## Output variables. ##
1807 ## ----------------- ##
1810 for ac_var in $ac_subst_vars
1812 eval ac_val=\$$ac_var
1814 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1816 $as_echo "$ac_var='\''$ac_val'\''"
1820 if test -n "$ac_subst_files"; then
1822 ## ------------------- ##
1823 ## File substitutions. ##
1824 ## ------------------- ##
1827 for ac_var in $ac_subst_files
1829 eval ac_val=\$$ac_var
1831 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833 $as_echo "$ac_var='\''$ac_val'\''"
1838 if test -s confdefs.h; then
1848 test "$ac_signal" != 0 &&
1849 $as_echo "$as_me: caught signal $ac_signal"
1850 $as_echo "$as_me: exit $exit_status"
1852 rm -f core *.core core.conftest.* &&
1853 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1856 for ac_signal in 1 2 13 15; do
1857 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1861 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1862 rm -f -r conftest* confdefs.h
1864 # Predefined preprocessor variables.
1866 cat >>confdefs.h <<_ACEOF
1867 #define PACKAGE_NAME "$PACKAGE_NAME"
1871 cat >>confdefs.h <<_ACEOF
1872 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1876 cat >>confdefs.h <<_ACEOF
1877 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_STRING "$PACKAGE_STRING"
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1891 # Let the site file select an alternate cache file if it wants to.
1892 # Prefer an explicitly selected file to automatically selected ones.
1895 if test -n "$CONFIG_SITE"; then
1896 ac_site_file1=$CONFIG_SITE
1897 elif test "x$prefix" != xNONE; then
1898 ac_site_file1=$prefix/share/config.site
1899 ac_site_file2=$prefix/etc/config.site
1901 ac_site_file1=$ac_default_prefix/share/config.site
1902 ac_site_file2=$ac_default_prefix/etc/config.site
1904 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1906 test "x$ac_site_file" = xNONE && continue
1907 if test -r "$ac_site_file"; then
1908 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1909 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1910 sed 's/^/| /' "$ac_site_file" >&5
1915 if test -r "$cache_file"; then
1916 # Some versions of bash will fail to source /dev/null (special
1917 # files actually), so we avoid doing that.
1918 if test -f "$cache_file"; then
1919 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1920 $as_echo "$as_me: loading cache $cache_file" >&6;}
1922 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1923 *) . "./$cache_file";;
1927 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1928 $as_echo "$as_me: creating cache $cache_file" >&6;}
1932 # Check that the precious variables saved in the cache have kept the same
1934 ac_cache_corrupted=false
1935 for ac_var in $ac_precious_vars; do
1936 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1937 eval ac_new_set=\$ac_env_${ac_var}_set
1938 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1939 eval ac_new_val=\$ac_env_${ac_var}_value
1940 case $ac_old_set,$ac_new_set in
1942 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1943 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1944 ac_cache_corrupted=: ;;
1946 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1947 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1948 ac_cache_corrupted=: ;;
1951 if test "x$ac_old_val" != "x$ac_new_val"; then
1952 # differences in whitespace do not lead to failure.
1953 ac_old_val_w=`echo x $ac_old_val`
1954 ac_new_val_w=`echo x $ac_new_val`
1955 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1956 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1957 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1958 ac_cache_corrupted=:
1960 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1961 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1962 eval $ac_var=\$ac_old_val
1964 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1965 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1966 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1967 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1970 # Pass precious variables to config.status.
1971 if test "$ac_new_set" = set; then
1973 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1974 *) ac_arg=$ac_var=$ac_new_val ;;
1976 case " $ac_configure_args " in
1977 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1978 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1982 if $ac_cache_corrupted; then
1983 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1985 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1986 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1987 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1988 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1989 { (exit 1); exit 1; }; }
2009 ac_cpp='$CPP $CPPFLAGS'
2010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2016 for ac_dir in . "$srcdir"/.; do
2017 if test -f "$ac_dir/install-sh"; then
2019 ac_install_sh="$ac_aux_dir/install-sh -c"
2021 elif test -f "$ac_dir/install.sh"; then
2023 ac_install_sh="$ac_aux_dir/install.sh -c"
2025 elif test -f "$ac_dir/shtool"; then
2027 ac_install_sh="$ac_aux_dir/shtool install -c"
2031 if test -z "$ac_aux_dir"; then
2032 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
2033 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
2034 { (exit 1); exit 1; }; }
2037 # These three variables are undocumented and unsupported,
2038 # and are intended to be withdrawn in a future Autoconf release.
2039 # They can cause serious problems if a builder's source tree is in a directory
2040 # whose full name contains unusual characters.
2041 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2042 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2043 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2047 ac_config_headers="$ac_config_headers include/config.h"
2053 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2054 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2059 macro_version='2.2.6'
2060 macro_revision='1.3012'
2074 ltmain="$ac_aux_dir/ltmain.sh"
2076 # Make sure we can run config.sub.
2077 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2078 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2079 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2080 { (exit 1); exit 1; }; }
2082 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2083 $as_echo_n "checking build system type... " >&6; }
2084 if test "${ac_cv_build+set}" = set; then
2085 $as_echo_n "(cached) " >&6
2087 ac_build_alias=$build_alias
2088 test "x$ac_build_alias" = x &&
2089 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2090 test "x$ac_build_alias" = x &&
2091 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2092 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2093 { (exit 1); exit 1; }; }
2094 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2095 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2096 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2097 { (exit 1); exit 1; }; }
2100 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2101 $as_echo "$ac_cv_build" >&6; }
2102 case $ac_cv_build in
2104 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2105 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2106 { (exit 1); exit 1; }; };;
2109 ac_save_IFS=$IFS; IFS='-'
2115 # Remember, the first character of IFS is used to create $*,
2116 # except with old shells:
2119 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2122 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2123 $as_echo_n "checking host system type... " >&6; }
2124 if test "${ac_cv_host+set}" = set; then
2125 $as_echo_n "(cached) " >&6
2127 if test "x$host_alias" = x; then
2128 ac_cv_host=$ac_cv_build
2130 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2131 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2132 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2133 { (exit 1); exit 1; }; }
2137 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2138 $as_echo "$ac_cv_host" >&6; }
2141 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2142 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2143 { (exit 1); exit 1; }; };;
2146 ac_save_IFS=$IFS; IFS='-'
2152 # Remember, the first character of IFS is used to create $*,
2153 # except with old shells:
2156 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2160 ac_cpp='$CPP $CPPFLAGS'
2161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164 if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2166 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 $as_echo_n "(cached) " >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2183 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 if test -n "$CC"; then
2194 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2195 $as_echo "$CC" >&6; }
2197 { $as_echo "$as_me:$LINENO: result: no" >&5
2198 $as_echo "no" >&6; }
2203 if test -z "$ac_cv_prog_CC"; then
2205 # Extract the first word of "gcc", so it can be a program name with args.
2206 set dummy gcc; ac_word=$2
2207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 $as_echo_n "checking for $ac_word... " >&6; }
2209 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2210 $as_echo_n "(cached) " >&6
2212 if test -n "$ac_ct_CC"; then
2213 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_ac_ct_CC="gcc"
2223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2233 if test -n "$ac_ct_CC"; then
2234 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2235 $as_echo "$ac_ct_CC" >&6; }
2237 { $as_echo "$as_me:$LINENO: result: no" >&5
2238 $as_echo "no" >&6; }
2241 if test "x$ac_ct_CC" = x; then
2244 case $cross_compiling:$ac_tool_warned in
2246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2248 ac_tool_warned=yes ;;
2256 if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2258 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2259 set dummy ${ac_tool_prefix}cc; ac_word=$2
2260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 $as_echo_n "checking for $ac_word... " >&6; }
2262 if test "${ac_cv_prog_CC+set}" = set; then
2263 $as_echo_n "(cached) " >&6
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275 ac_cv_prog_CC="${ac_tool_prefix}cc"
2276 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 if test -n "$CC"; then
2287 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2288 $as_echo "$CC" >&6; }
2290 { $as_echo "$as_me:$LINENO: result: no" >&5
2291 $as_echo "no" >&6; }
2297 if test -z "$CC"; then
2298 # Extract the first word of "cc", so it can be a program name with args.
2299 set dummy cc; ac_word=$2
2300 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 $as_echo_n "checking for $ac_word... " >&6; }
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 $as_echo_n "(cached) " >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC="$CC" # Let the user override the test.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2317 ac_prog_rejected=yes
2321 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 if test $ac_prog_rejected = yes; then
2329 # We found a bogon in the path, so make sure we never use it.
2330 set dummy $ac_cv_prog_CC
2332 if test $# != 0; then
2333 # We chose a different compiler from the bogus one.
2334 # However, it has the same basename, so the bogon will be chosen
2335 # first if we set CC to just the basename; use the full file name.
2337 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2343 if test -n "$CC"; then
2344 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2345 $as_echo "$CC" >&6; }
2347 { $as_echo "$as_me:$LINENO: result: no" >&5
2348 $as_echo "no" >&6; }
2353 if test -z "$CC"; then
2354 if test -n "$ac_tool_prefix"; then
2355 for ac_prog in cl.exe
2357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if test "${ac_cv_prog_CC+set}" = set; then
2362 $as_echo_n "(cached) " >&6
2364 if test -n "$CC"; then
2365 ac_cv_prog_CC="$CC" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2375 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 if test -n "$CC"; then
2386 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2387 $as_echo "$CC" >&6; }
2389 { $as_echo "$as_me:$LINENO: result: no" >&5
2390 $as_echo "no" >&6; }
2394 test -n "$CC" && break
2397 if test -z "$CC"; then
2399 for ac_prog in cl.exe
2401 # Extract the first word of "$ac_prog", so it can be a program name with args.
2402 set dummy $ac_prog; ac_word=$2
2403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2406 $as_echo_n "(cached) " >&6
2408 if test -n "$ac_ct_CC"; then
2409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_ac_ct_CC="$ac_prog"
2419 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2429 if test -n "$ac_ct_CC"; then
2430 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2431 $as_echo "$ac_ct_CC" >&6; }
2433 { $as_echo "$as_me:$LINENO: result: no" >&5
2434 $as_echo "no" >&6; }
2438 test -n "$ac_ct_CC" && break
2441 if test "x$ac_ct_CC" = x; then
2444 case $cross_compiling:$ac_tool_warned in
2446 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2448 ac_tool_warned=yes ;;
2457 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2459 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2460 See \`config.log' for more details." >&5
2461 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2462 See \`config.log' for more details." >&2;}
2463 { (exit 1); exit 1; }; }; }
2465 # Provide some information about the compiler.
2466 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2469 { (ac_try="$ac_compiler --version >&5"
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2475 $as_echo "$ac_try_echo") >&5
2476 (eval "$ac_compiler --version >&5") 2>&5
2478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }
2480 { (ac_try="$ac_compiler -v >&5"
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2486 $as_echo "$ac_try_echo") >&5
2487 (eval "$ac_compiler -v >&5") 2>&5
2489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }
2491 { (ac_try="$ac_compiler -V >&5"
2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2494 *) ac_try_echo=$ac_try;;
2496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2497 $as_echo "$ac_try_echo") >&5
2498 (eval "$ac_compiler -V >&5") 2>&5
2500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }
2503 cat >conftest.$ac_ext <<_ACEOF
2506 cat confdefs.h >>conftest.$ac_ext
2507 cat >>conftest.$ac_ext <<_ACEOF
2508 /* end confdefs.h. */
2518 ac_clean_files_save=$ac_clean_files
2519 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2520 # Try to create an executable without -o first, disregard a.out.
2521 # It will help us diagnose broken compilers, and finding out an intuition
2523 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2524 $as_echo_n "checking for C compiler default output file name... " >&6; }
2525 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2527 # The possible output files:
2528 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2531 for ac_file in $ac_files
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2535 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2540 if { (ac_try="$ac_link_default"
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2546 $as_echo "$ac_try_echo") >&5
2547 (eval "$ac_link_default") 2>&5
2549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; then
2551 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2552 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2553 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2554 # so that the user can short-circuit this test for compilers unknown to
2556 for ac_file in $ac_files ''
2558 test -f "$ac_file" || continue
2560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2563 # We found the default executable, but exeext='' is most
2567 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2569 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2571 # We set ac_cv_exeext here because the later test for it is not
2572 # safe: cross compilers may not add the suffix if given an `-o'
2573 # argument, so we may need to know it at that point already.
2574 # Even if this section looks crufty: it has the advantage of
2581 test "$ac_cv_exeext" = no && ac_cv_exeext=
2587 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2588 $as_echo "$ac_file" >&6; }
2589 if test -z "$ac_file"; then
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2596 See \`config.log' for more details." >&5
2597 $as_echo "$as_me: error: C compiler cannot create executables
2598 See \`config.log' for more details." >&2;}
2599 { (exit 77); exit 77; }; }; }
2602 ac_exeext=$ac_cv_exeext
2604 # Check that the compiler produces executables we can run. If not, either
2605 # the compiler is broken, or we cross compile.
2606 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2607 $as_echo_n "checking whether the C compiler works... " >&6; }
2608 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2609 # If not cross compiling, check that we can run a simple program.
2610 if test "$cross_compiling" != yes; then
2611 if { ac_try='./$ac_file'
2612 { (case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2617 $as_echo "$ac_try_echo") >&5
2618 (eval "$ac_try") 2>&5
2620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2624 if test "$cross_compiling" = maybe; then
2627 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2630 If you meant to cross compile, use \`--host'.
2631 See \`config.log' for more details." >&5
2632 $as_echo "$as_me: error: cannot run C compiled programs.
2633 If you meant to cross compile, use \`--host'.
2634 See \`config.log' for more details." >&2;}
2635 { (exit 1); exit 1; }; }; }
2639 { $as_echo "$as_me:$LINENO: result: yes" >&5
2640 $as_echo "yes" >&6; }
2642 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2643 ac_clean_files=$ac_clean_files_save
2644 # Check that the compiler produces executables we can run. If not, either
2645 # the compiler is broken, or we cross compile.
2646 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2647 $as_echo_n "checking whether we are cross compiling... " >&6; }
2648 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2649 $as_echo "$cross_compiling" >&6; }
2651 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2652 $as_echo_n "checking for suffix of executables... " >&6; }
2653 if { (ac_try="$ac_link"
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2659 $as_echo "$ac_try_echo") >&5
2660 (eval "$ac_link") 2>&5
2662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; then
2664 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2665 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2666 # work properly (i.e., refer to `conftest.exe'), while it won't with
2668 for ac_file in conftest.exe conftest conftest.*; do
2669 test -f "$ac_file" || continue
2671 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2672 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2678 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2680 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2681 See \`config.log' for more details." >&5
2682 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2683 See \`config.log' for more details." >&2;}
2684 { (exit 1); exit 1; }; }; }
2687 rm -f conftest$ac_cv_exeext
2688 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2689 $as_echo "$ac_cv_exeext" >&6; }
2691 rm -f conftest.$ac_ext
2692 EXEEXT=$ac_cv_exeext
2694 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2695 $as_echo_n "checking for suffix of object files... " >&6; }
2696 if test "${ac_cv_objext+set}" = set; then
2697 $as_echo_n "(cached) " >&6
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2714 rm -f conftest.o conftest.obj
2715 if { (ac_try="$ac_compile"
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2721 $as_echo "$ac_try_echo") >&5
2722 (eval "$ac_compile") 2>&5
2724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; then
2726 for ac_file in conftest.o conftest.obj conftest.*; do
2727 test -f "$ac_file" || continue;
2729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2741 See \`config.log' for more details." >&5
2742 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2743 See \`config.log' for more details." >&2;}
2744 { (exit 1); exit 1; }; }; }
2747 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2749 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2750 $as_echo "$ac_cv_objext" >&6; }
2751 OBJEXT=$ac_cv_objext
2753 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2755 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2756 $as_echo_n "(cached) " >&6
2758 cat >conftest.$ac_ext <<_ACEOF
2761 cat confdefs.h >>conftest.$ac_ext
2762 cat >>conftest.$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2776 rm -f conftest.$ac_objext
2777 if { (ac_try="$ac_compile"
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2783 $as_echo "$ac_try_echo") >&5
2784 (eval "$ac_compile") 2>conftest.er1
2786 grep -v '^ *+' conftest.er1 >conftest.err
2788 cat conftest.err >&5
2789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } && {
2791 test -z "$ac_c_werror_flag" ||
2792 test ! -s conftest.err
2793 } && test -s conftest.$ac_objext; then
2796 $as_echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2806 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2807 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2808 if test $ac_compiler_gnu = yes; then
2813 ac_test_CFLAGS=${CFLAGS+set}
2814 ac_save_CFLAGS=$CFLAGS
2815 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2816 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2817 if test "${ac_cv_prog_cc_g+set}" = set; then
2818 $as_echo_n "(cached) " >&6
2820 ac_save_c_werror_flag=$ac_c_werror_flag
2821 ac_c_werror_flag=yes
2824 cat >conftest.$ac_ext <<_ACEOF
2827 cat confdefs.h >>conftest.$ac_ext
2828 cat >>conftest.$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2839 rm -f conftest.$ac_objext
2840 if { (ac_try="$ac_compile"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1 >conftest.err
2851 cat conftest.err >&5
2852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext; then
2859 $as_echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2863 cat >conftest.$ac_ext <<_ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2878 rm -f conftest.$ac_objext
2879 if { (ac_try="$ac_compile"
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2885 $as_echo "$ac_try_echo") >&5
2886 (eval "$ac_compile") 2>conftest.er1
2888 grep -v '^ *+' conftest.er1 >conftest.err
2890 cat conftest.err >&5
2891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } && {
2893 test -z "$ac_c_werror_flag" ||
2894 test ! -s conftest.err
2895 } && test -s conftest.$ac_objext; then
2898 $as_echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2901 ac_c_werror_flag=$ac_save_c_werror_flag
2903 cat >conftest.$ac_ext <<_ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2918 rm -f conftest.$ac_objext
2919 if { (ac_try="$ac_compile"
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2925 $as_echo "$ac_try_echo") >&5
2926 (eval "$ac_compile") 2>conftest.er1
2928 grep -v '^ *+' conftest.er1 >conftest.err
2930 cat conftest.err >&5
2931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } && {
2933 test -z "$ac_c_werror_flag" ||
2934 test ! -s conftest.err
2935 } && test -s conftest.$ac_objext; then
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 ac_c_werror_flag=$ac_save_c_werror_flag
2953 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2954 $as_echo "$ac_cv_prog_cc_g" >&6; }
2955 if test "$ac_test_CFLAGS" = set; then
2956 CFLAGS=$ac_save_CFLAGS
2957 elif test $ac_cv_prog_cc_g = yes; then
2958 if test "$GCC" = yes; then
2964 if test "$GCC" = yes; then
2970 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2971 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2972 if test "${ac_cv_prog_cc_c89+set}" = set; then
2973 $as_echo_n "(cached) " >&6
2975 ac_cv_prog_cc_c89=no
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2985 #include <sys/types.h>
2986 #include <sys/stat.h>
2987 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2988 struct buf { int x; };
2989 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2990 static char *e (p, i)
2996 static char *f (char * (*g) (char **, int), char **p, ...)
3001 s = g (p, va_arg (v,int));
3006 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3007 function prototypes and stuff, but not '\xHH' hex character constants.
3008 These don't provoke an error unfortunately, instead are silently treated
3009 as 'x'. The following induces an error, until -std is added to get
3010 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3011 array size at least. It's necessary to write '\x00'==0 to get something
3012 that's true only with -std. */
3013 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3015 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3016 inside strings and character constants. */
3018 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3020 int test (int i, double x);
3021 struct s1 {int (*f) (int a);};
3022 struct s2 {int (*f) (double a);};
3023 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3029 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3034 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3035 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3037 CC="$ac_save_CC $ac_arg"
3038 rm -f conftest.$ac_objext
3039 if { (ac_try="$ac_compile"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3045 $as_echo "$ac_try_echo") >&5
3046 (eval "$ac_compile") 2>conftest.er1
3048 grep -v '^ *+' conftest.er1 >conftest.err
3050 cat conftest.err >&5
3051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } && {
3053 test -z "$ac_c_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then
3056 ac_cv_prog_cc_c89=$ac_arg
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3064 rm -f core conftest.err conftest.$ac_objext
3065 test "x$ac_cv_prog_cc_c89" != "xno" && break
3067 rm -f conftest.$ac_ext
3072 case "x$ac_cv_prog_cc_c89" in
3074 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3075 $as_echo "none needed" >&6; } ;;
3077 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3078 $as_echo "unsupported" >&6; } ;;
3080 CC="$CC $ac_cv_prog_cc_c89"
3081 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3082 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3093 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3094 if test "${ac_cv_path_SED+set}" = set; then
3095 $as_echo_n "(cached) " >&6
3097 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3098 for ac_i in 1 2 3 4 5 6 7; do
3099 ac_script="$ac_script$as_nl$ac_script"
3101 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3102 $as_unset ac_script || ac_script=
3103 if test -z "$SED"; then
3104 ac_path_SED_found=false
3105 # Loop through the user's path and test for each of PROGNAME-LIST
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir=.
3111 for ac_prog in sed gsed; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3114 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3115 # Check for GNU ac_path_SED and select it if it is found.
3116 # Check for GNU $ac_path_SED
3117 case `"$ac_path_SED" --version 2>&1` in
3119 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3122 $as_echo_n 0123456789 >"conftest.in"
3125 cat "conftest.in" "conftest.in" >"conftest.tmp"
3126 mv "conftest.tmp" "conftest.in"
3127 cp "conftest.in" "conftest.nl"
3128 $as_echo '' >> "conftest.nl"
3129 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3131 ac_count=`expr $ac_count + 1`
3132 if test $ac_count -gt ${ac_path_SED_max-0}; then
3133 # Best one so far, save it but keep looking for a better one
3134 ac_cv_path_SED="$ac_path_SED"
3135 ac_path_SED_max=$ac_count
3137 # 10*(2^10) chars as input seems more than enough
3138 test $ac_count -gt 10 && break
3140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3143 $ac_path_SED_found && break 3
3148 if test -z "$ac_cv_path_SED"; then
3149 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3150 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3151 { (exit 1); exit 1; }; }
3158 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3159 $as_echo "$ac_cv_path_SED" >&6; }
3160 SED="$ac_cv_path_SED"
3163 test -z "$SED" && SED=sed
3164 Xsed="$SED -e 1s/^X//"
3176 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3177 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3178 if test "${ac_cv_path_GREP+set}" = set; then
3179 $as_echo_n "(cached) " >&6
3181 if test -z "$GREP"; then
3182 ac_path_GREP_found=false
3183 # Loop through the user's path and test for each of PROGNAME-LIST
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3188 test -z "$as_dir" && as_dir=.
3189 for ac_prog in grep ggrep; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3192 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3193 # Check for GNU ac_path_GREP and select it if it is found.
3194 # Check for GNU $ac_path_GREP
3195 case `"$ac_path_GREP" --version 2>&1` in
3197 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3200 $as_echo_n 0123456789 >"conftest.in"
3203 cat "conftest.in" "conftest.in" >"conftest.tmp"
3204 mv "conftest.tmp" "conftest.in"
3205 cp "conftest.in" "conftest.nl"
3206 $as_echo 'GREP' >> "conftest.nl"
3207 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3208 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3209 ac_count=`expr $ac_count + 1`
3210 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3211 # Best one so far, save it but keep looking for a better one
3212 ac_cv_path_GREP="$ac_path_GREP"
3213 ac_path_GREP_max=$ac_count
3215 # 10*(2^10) chars as input seems more than enough
3216 test $ac_count -gt 10 && break
3218 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3221 $ac_path_GREP_found && break 3
3226 if test -z "$ac_cv_path_GREP"; then
3227 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3228 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3229 { (exit 1); exit 1; }; }
3232 ac_cv_path_GREP=$GREP
3236 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3237 $as_echo "$ac_cv_path_GREP" >&6; }
3238 GREP="$ac_cv_path_GREP"
3241 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3242 $as_echo_n "checking for egrep... " >&6; }
3243 if test "${ac_cv_path_EGREP+set}" = set; then
3244 $as_echo_n "(cached) " >&6
3246 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3247 then ac_cv_path_EGREP="$GREP -E"
3249 if test -z "$EGREP"; then
3250 ac_path_EGREP_found=false
3251 # Loop through the user's path and test for each of PROGNAME-LIST
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3256 test -z "$as_dir" && as_dir=.
3257 for ac_prog in egrep; do
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3260 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3261 # Check for GNU ac_path_EGREP and select it if it is found.
3262 # Check for GNU $ac_path_EGREP
3263 case `"$ac_path_EGREP" --version 2>&1` in
3265 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3268 $as_echo_n 0123456789 >"conftest.in"
3271 cat "conftest.in" "conftest.in" >"conftest.tmp"
3272 mv "conftest.tmp" "conftest.in"
3273 cp "conftest.in" "conftest.nl"
3274 $as_echo 'EGREP' >> "conftest.nl"
3275 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3276 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3277 ac_count=`expr $ac_count + 1`
3278 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3279 # Best one so far, save it but keep looking for a better one
3280 ac_cv_path_EGREP="$ac_path_EGREP"
3281 ac_path_EGREP_max=$ac_count
3283 # 10*(2^10) chars as input seems more than enough
3284 test $ac_count -gt 10 && break
3286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3289 $ac_path_EGREP_found && break 3
3294 if test -z "$ac_cv_path_EGREP"; then
3295 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3296 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3297 { (exit 1); exit 1; }; }
3300 ac_cv_path_EGREP=$EGREP
3305 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3306 $as_echo "$ac_cv_path_EGREP" >&6; }
3307 EGREP="$ac_cv_path_EGREP"
3310 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3311 $as_echo_n "checking for fgrep... " >&6; }
3312 if test "${ac_cv_path_FGREP+set}" = set; then
3313 $as_echo_n "(cached) " >&6
3315 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3316 then ac_cv_path_FGREP="$GREP -F"
3318 if test -z "$FGREP"; then
3319 ac_path_FGREP_found=false
3320 # Loop through the user's path and test for each of PROGNAME-LIST
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3325 test -z "$as_dir" && as_dir=.
3326 for ac_prog in fgrep; do
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3329 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3330 # Check for GNU ac_path_FGREP and select it if it is found.
3331 # Check for GNU $ac_path_FGREP
3332 case `"$ac_path_FGREP" --version 2>&1` in
3334 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3337 $as_echo_n 0123456789 >"conftest.in"
3340 cat "conftest.in" "conftest.in" >"conftest.tmp"
3341 mv "conftest.tmp" "conftest.in"
3342 cp "conftest.in" "conftest.nl"
3343 $as_echo 'FGREP' >> "conftest.nl"
3344 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3346 ac_count=`expr $ac_count + 1`
3347 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3348 # Best one so far, save it but keep looking for a better one
3349 ac_cv_path_FGREP="$ac_path_FGREP"
3350 ac_path_FGREP_max=$ac_count
3352 # 10*(2^10) chars as input seems more than enough
3353 test $ac_count -gt 10 && break
3355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3358 $ac_path_FGREP_found && break 3
3363 if test -z "$ac_cv_path_FGREP"; then
3364 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3365 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3366 { (exit 1); exit 1; }; }
3369 ac_cv_path_FGREP=$FGREP
3374 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
3375 $as_echo "$ac_cv_path_FGREP" >&6; }
3376 FGREP="$ac_cv_path_FGREP"
3379 test -z "$GREP" && GREP=grep
3399 # Check whether --with-gnu-ld was given.
3400 if test "${with_gnu_ld+set}" = set; then
3401 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3407 if test "$GCC" = yes; then
3408 # Check if gcc -print-prog-name=ld gives a path.
3409 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3410 $as_echo_n "checking for ld used by $CC... " >&6; }
3413 # gcc leaves a trailing carriage return which upsets mingw
3414 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3416 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3419 # Accept absolute paths.
3421 re_direlt='/[^/][^/]*/\.\./'
3422 # Canonicalize the pathname of ld
3423 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3424 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3425 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3427 test -z "$LD" && LD="$ac_prog"
3430 # If it fails, then pretend we aren't using GCC.
3434 # If it is relative, then search for the first ld in PATH.
3438 elif test "$with_gnu_ld" = yes; then
3439 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
3440 $as_echo_n "checking for GNU ld... " >&6; }
3442 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3443 $as_echo_n "checking for non-GNU ld... " >&6; }
3445 if test "${lt_cv_path_LD+set}" = set; then
3446 $as_echo_n "(cached) " >&6
3448 if test -z "$LD"; then
3449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3450 for ac_dir in $PATH; do
3452 test -z "$ac_dir" && ac_dir=.
3453 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3454 lt_cv_path_LD="$ac_dir/$ac_prog"
3455 # Check to see if the program is GNU ld. I'd rather use --version,
3456 # but apparently some variants of GNU ld only accept -v.
3457 # Break only if it was the GNU/non-GNU ld that we prefer.
3458 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3459 *GNU* | *'with BFD'*)
3460 test "$with_gnu_ld" != no && break
3463 test "$with_gnu_ld" != yes && break
3470 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3475 if test -n "$LD"; then
3476 { $as_echo "$as_me:$LINENO: result: $LD" >&5
3477 $as_echo "$LD" >&6; }
3479 { $as_echo "$as_me:$LINENO: result: no" >&5
3480 $as_echo "no" >&6; }
3482 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3483 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3484 { (exit 1); exit 1; }; }
3485 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3486 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3487 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3488 $as_echo_n "(cached) " >&6
3490 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3491 case `$LD -v 2>&1 </dev/null` in
3492 *GNU* | *'with BFD'*)
3493 lt_cv_prog_gnu_ld=yes
3496 lt_cv_prog_gnu_ld=no
3500 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3501 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3502 with_gnu_ld=$lt_cv_prog_gnu_ld
3512 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3513 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3514 if test "${lt_cv_path_NM+set}" = set; then
3515 $as_echo_n "(cached) " >&6
3517 if test -n "$NM"; then
3518 # Let the user override the test.
3521 lt_nm_to_check="${ac_tool_prefix}nm"
3522 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3523 lt_nm_to_check="$lt_nm_to_check nm"
3525 for lt_tmp_nm in $lt_nm_to_check; do
3526 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3527 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3529 test -z "$ac_dir" && ac_dir=.
3530 tmp_nm="$ac_dir/$lt_tmp_nm"
3531 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3532 # Check to see if the nm accepts a BSD-compat flag.
3533 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3534 # nm: unknown option "B" ignored
3535 # Tru64's nm complains that /dev/null is an invalid object file
3536 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3537 */dev/null* | *'Invalid file or object type'*)
3538 lt_cv_path_NM="$tmp_nm -B"
3542 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3544 lt_cv_path_NM="$tmp_nm -p"
3548 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3549 continue # so that we can try to find one that supports BSD flags
3558 : ${lt_cv_path_NM=no}
3561 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3562 $as_echo "$lt_cv_path_NM" >&6; }
3563 if test "$lt_cv_path_NM" != "no"; then
3566 # Didn't find any BSD compatible name lister, look for dumpbin.
3567 if test -n "$ac_tool_prefix"; then
3568 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3572 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$DUMPBIN"; then
3578 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3588 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 DUMPBIN=$ac_cv_prog_DUMPBIN
3598 if test -n "$DUMPBIN"; then
3599 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3600 $as_echo "$DUMPBIN" >&6; }
3602 { $as_echo "$as_me:$LINENO: result: no" >&5
3603 $as_echo "no" >&6; }
3607 test -n "$DUMPBIN" && break
3610 if test -z "$DUMPBIN"; then
3611 ac_ct_DUMPBIN=$DUMPBIN
3612 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3614 # Extract the first word of "$ac_prog", so it can be a program name with args.
3615 set dummy $ac_prog; ac_word=$2
3616 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3619 $as_echo_n "(cached) " >&6
3621 if test -n "$ac_ct_DUMPBIN"; then
3622 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir=.
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3631 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3632 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3642 if test -n "$ac_ct_DUMPBIN"; then
3643 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3644 $as_echo "$ac_ct_DUMPBIN" >&6; }
3646 { $as_echo "$as_me:$LINENO: result: no" >&5
3647 $as_echo "no" >&6; }
3651 test -n "$ac_ct_DUMPBIN" && break
3654 if test "x$ac_ct_DUMPBIN" = x; then
3657 case $cross_compiling:$ac_tool_warned in
3659 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3661 ac_tool_warned=yes ;;
3663 DUMPBIN=$ac_ct_DUMPBIN
3668 if test "$DUMPBIN" != ":"; then
3672 test -z "$NM" && NM=nm
3679 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3680 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3681 if test "${lt_cv_nm_interface+set}" = set; then
3682 $as_echo_n "(cached) " >&6
3684 lt_cv_nm_interface="BSD nm"
3685 echo "int some_variable = 0;" > conftest.$ac_ext
3686 (eval echo "\"\$as_me:3686: $ac_compile\"" >&5)
3687 (eval "$ac_compile" 2>conftest.err)
3688 cat conftest.err >&5
3689 (eval echo "\"\$as_me:3689: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3690 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3691 cat conftest.err >&5
3692 (eval echo "\"\$as_me:3692: output\"" >&5)
3693 cat conftest.out >&5
3694 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3695 lt_cv_nm_interface="MS dumpbin"
3699 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3700 $as_echo "$lt_cv_nm_interface" >&6; }
3702 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3703 $as_echo_n "checking whether ln -s works... " >&6; }
3705 if test "$LN_S" = "ln -s"; then
3706 { $as_echo "$as_me:$LINENO: result: yes" >&5
3707 $as_echo "yes" >&6; }
3709 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3710 $as_echo "no, using $LN_S" >&6; }
3713 # find the maximum length of command line arguments
3714 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3715 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3716 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3717 $as_echo_n "(cached) " >&6
3724 # On DJGPP, this test can blow up pretty badly due to problems in libc
3725 # (any single argument exceeding 2000 bytes causes a buffer overrun
3726 # during glob expansion). Even if it were fixed, the result of this
3727 # check would be larger than it should be.
3728 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3732 # Under GNU Hurd, this test is not required because there is
3733 # no limit to the length of command line arguments.
3734 # Libtool will interpret -1 as no limit whatsoever
3735 lt_cv_sys_max_cmd_len=-1;
3738 cygwin* | mingw* | cegcc*)
3739 # On Win9x/ME, this test blows up -- it succeeds, but takes
3740 # about 5 minutes as the teststring grows exponentially.
3741 # Worse, since 9x/ME are not pre-emptively multitasking,
3742 # you end up with a "frozen" computer, even though with patience
3743 # the test eventually succeeds (with a max line length of 256k).
3744 # Instead, let's just punt: use the minimum linelength reported by
3745 # all of the supported platforms: 8192 (on NT/2K/XP).
3746 lt_cv_sys_max_cmd_len=8192;
3750 # On AmigaOS with pdksh, this test takes hours, literally.
3751 # So we just punt and use a minimum line length of 8192.
3752 lt_cv_sys_max_cmd_len=8192;
3755 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3756 # This has been around since 386BSD, at least. Likely further.
3757 if test -x /sbin/sysctl; then
3758 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3759 elif test -x /usr/sbin/sysctl; then
3760 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3762 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3764 # And add a safety zone
3765 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3766 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3770 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3771 lt_cv_sys_max_cmd_len=196608
3775 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3776 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3777 # nice to cause kernel panics so lets avoid the loop below.
3778 # First set a reasonable default.
3779 lt_cv_sys_max_cmd_len=16384
3781 if test -x /sbin/sysconfig; then
3782 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3783 *1*) lt_cv_sys_max_cmd_len=-1 ;;
3788 lt_cv_sys_max_cmd_len=102400
3790 sysv5* | sco5v6* | sysv4.2uw2*)
3791 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3792 if test -n "$kargmax"; then
3793 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
3795 lt_cv_sys_max_cmd_len=32768
3799 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3800 if test -n "$lt_cv_sys_max_cmd_len"; then
3801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3802 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3804 # Make teststring a little bigger before we do anything with it.
3805 # a 1K string should be a reasonable start.
3806 for i in 1 2 3 4 5 6 7 8 ; do
3807 teststring=$teststring$teststring
3809 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3810 # If test is not a shell built-in, we'll probably end up computing a
3811 # maximum length that is only half of the actual maximum length, but
3813 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3814 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3815 test $i != 17 # 1/2 MB should be enough
3818 teststring=$teststring$teststring
3820 # Only check the string length outside the loop.
3821 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3823 # Add a significant safety factor because C++ compilers can tack on
3824 # massive amounts of additional arguments before passing them to the
3825 # linker. It appears as though 1/2 is a usable value.
3826 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3833 if test -n $lt_cv_sys_max_cmd_len ; then
3834 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3835 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3837 { $as_echo "$as_me:$LINENO: result: none" >&5
3838 $as_echo "none" >&6; }
3840 max_cmd_len=$lt_cv_sys_max_cmd_len
3851 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3852 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3853 # Try some XSI features
3856 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3858 && eval 'test $(( 1 + 1 )) -eq 2 \
3859 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3861 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
3862 $as_echo "$xsi_shell" >&6; }
3865 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
3866 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
3868 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
3870 && lt_shell_append=yes
3871 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
3872 $as_echo "$lt_shell_append" >&6; }
3875 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3885 # test EBCDIC or ASCII
3886 case `echo X|tr X '\101'` in
3887 A) # ASCII based system
3888 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3889 lt_SP2NL='tr \040 \012'
3890 lt_NL2SP='tr \015\012 \040\040'
3892 *) # EBCDIC based system
3893 lt_SP2NL='tr \100 \n'
3894 lt_NL2SP='tr \r\n \100\100'
3906 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3907 $as_echo_n "checking for $LD option to reload object files... " >&6; }
3908 if test "${lt_cv_ld_reload_flag+set}" = set; then
3909 $as_echo_n "(cached) " >&6
3911 lt_cv_ld_reload_flag='-r'
3913 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3914 $as_echo "$lt_cv_ld_reload_flag" >&6; }
3915 reload_flag=$lt_cv_ld_reload_flag
3916 case $reload_flag in
3918 *) reload_flag=" $reload_flag" ;;
3920 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3923 if test "$GCC" = yes; then
3924 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3926 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3939 if test -n "$ac_tool_prefix"; then
3940 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3941 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3945 $as_echo_n "(cached) " >&6
3947 if test -n "$OBJDUMP"; then
3948 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3958 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 OBJDUMP=$ac_cv_prog_OBJDUMP
3968 if test -n "$OBJDUMP"; then
3969 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3970 $as_echo "$OBJDUMP" >&6; }
3972 { $as_echo "$as_me:$LINENO: result: no" >&5
3973 $as_echo "no" >&6; }
3978 if test -z "$ac_cv_prog_OBJDUMP"; then
3979 ac_ct_OBJDUMP=$OBJDUMP
3980 # Extract the first word of "objdump", so it can be a program name with args.
3981 set dummy objdump; ac_word=$2
3982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3985 $as_echo_n "(cached) " >&6
3987 if test -n "$ac_ct_OBJDUMP"; then
3988 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4008 if test -n "$ac_ct_OBJDUMP"; then
4009 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4010 $as_echo "$ac_ct_OBJDUMP" >&6; }
4012 { $as_echo "$as_me:$LINENO: result: no" >&5
4013 $as_echo "no" >&6; }
4016 if test "x$ac_ct_OBJDUMP" = x; then
4019 case $cross_compiling:$ac_tool_warned in
4021 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4023 ac_tool_warned=yes ;;
4025 OBJDUMP=$ac_ct_OBJDUMP
4028 OBJDUMP="$ac_cv_prog_OBJDUMP"
4031 test -z "$OBJDUMP" && OBJDUMP=objdump
4041 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4042 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4043 if test "${lt_cv_deplibs_check_method+set}" = set; then
4044 $as_echo_n "(cached) " >&6
4046 lt_cv_file_magic_cmd='$MAGIC_CMD'
4047 lt_cv_file_magic_test_file=
4048 lt_cv_deplibs_check_method='unknown'
4049 # Need to set the preceding variable on all platforms that support
4050 # interlibrary dependencies.
4051 # 'none' -- dependencies not supported.
4052 # `unknown' -- same as none, but documents that we really don't know.
4053 # 'pass_all' -- all dependencies passed with no checks.
4054 # 'test_compile' -- check by making test program.
4055 # 'file_magic [[regex]]' -- check by looking for files in library path
4056 # which responds to the $file_magic_cmd with a given extended regex.
4057 # If you have `file' or equivalent on your system and you're not sure
4058 # whether `pass_all' will *always* work, you probably want this one.
4062 lt_cv_deplibs_check_method=pass_all
4066 lt_cv_deplibs_check_method=pass_all
4070 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4071 lt_cv_file_magic_cmd='/usr/bin/file -L'
4072 lt_cv_file_magic_test_file=/shlib/libc.so
4076 # func_win32_libid is a shell function defined in ltmain.sh
4077 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4078 lt_cv_file_magic_cmd='func_win32_libid'
4082 # Base MSYS/MinGW do not provide the 'file' command needed by
4083 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4084 # unless we find 'file', for example because we are cross-compiling.
4085 if ( file / ) >/dev/null 2>&1; then
4086 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4087 lt_cv_file_magic_cmd='func_win32_libid'
4089 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4090 lt_cv_file_magic_cmd='$OBJDUMP -f'
4095 # use the weaker test based on 'objdump'. See mingw*.
4096 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4097 lt_cv_file_magic_cmd='$OBJDUMP -f'
4100 darwin* | rhapsody*)
4101 lt_cv_deplibs_check_method=pass_all
4104 freebsd* | dragonfly*)
4105 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4108 # Not sure whether the presence of OpenBSD here was a mistake.
4109 # Let's accept both of them until this is cleared up.
4110 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4111 lt_cv_file_magic_cmd=/usr/bin/file
4112 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4116 lt_cv_deplibs_check_method=pass_all
4121 lt_cv_deplibs_check_method=pass_all
4124 hpux10.20* | hpux11*)
4125 lt_cv_file_magic_cmd=/usr/bin/file
4128 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4129 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4132 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4133 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4136 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4137 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4143 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4144 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4147 irix5* | irix6* | nonstopux*)
4149 *-32|*"-32 ") libmagic=32-bit;;
4150 *-n32|*"-n32 ") libmagic=N32;;
4151 *-64|*"-64 ") libmagic=64-bit;;
4152 *) libmagic=never-match;;
4154 lt_cv_deplibs_check_method=pass_all
4157 # This must be Linux ELF.
4158 linux* | k*bsd*-gnu)
4159 lt_cv_deplibs_check_method=pass_all
4163 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4164 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4166 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4171 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4172 lt_cv_file_magic_cmd=/usr/bin/file
4173 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4177 lt_cv_deplibs_check_method=pass_all
4181 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4184 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4188 osf3* | osf4* | osf5*)
4189 lt_cv_deplibs_check_method=pass_all
4193 lt_cv_deplibs_check_method=pass_all
4197 lt_cv_deplibs_check_method=pass_all
4200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4201 lt_cv_deplibs_check_method=pass_all
4205 case $host_vendor in
4207 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4208 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4211 lt_cv_deplibs_check_method=pass_all
4214 lt_cv_file_magic_cmd='/bin/file'
4215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4218 lt_cv_file_magic_cmd='/bin/file'
4219 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4220 lt_cv_file_magic_test_file=/lib/libc.so
4223 lt_cv_deplibs_check_method=pass_all
4226 lt_cv_deplibs_check_method=pass_all
4232 lt_cv_deplibs_check_method=pass_all
4237 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4238 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4239 file_magic_cmd=$lt_cv_file_magic_cmd
4240 deplibs_check_method=$lt_cv_deplibs_check_method
4241 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4254 if test -n "$ac_tool_prefix"; then
4255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4256 set dummy ${ac_tool_prefix}ar; ac_word=$2
4257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4258 $as_echo_n "checking for $ac_word... " >&6; }
4259 if test "${ac_cv_prog_AR+set}" = set; then
4260 $as_echo_n "(cached) " >&6
4262 if test -n "$AR"; then
4263 ac_cv_prog_AR="$AR" # Let the user override the test.
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272 ac_cv_prog_AR="${ac_tool_prefix}ar"
4273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 if test -n "$AR"; then
4284 { $as_echo "$as_me:$LINENO: result: $AR" >&5
4285 $as_echo "$AR" >&6; }
4287 { $as_echo "$as_me:$LINENO: result: no" >&5
4288 $as_echo "no" >&6; }
4293 if test -z "$ac_cv_prog_AR"; then
4295 # Extract the first word of "ar", so it can be a program name with args.
4296 set dummy ar; ac_word=$2
4297 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; }
4299 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4300 $as_echo_n "(cached) " >&6
4302 if test -n "$ac_ct_AR"; then
4303 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 test -z "$as_dir" && as_dir=.
4310 for ac_exec_ext in '' $ac_executable_extensions; do
4311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4312 ac_cv_prog_ac_ct_AR="ar"
4313 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4323 if test -n "$ac_ct_AR"; then
4324 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4325 $as_echo "$ac_ct_AR" >&6; }
4327 { $as_echo "$as_me:$LINENO: result: no" >&5
4328 $as_echo "no" >&6; }
4331 if test "x$ac_ct_AR" = x; then
4334 case $cross_compiling:$ac_tool_warned in
4336 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4338 ac_tool_warned=yes ;;
4346 test -z "$AR" && AR=ar
4347 test -z "$AR_FLAGS" && AR_FLAGS=cru
4359 if test -n "$ac_tool_prefix"; then
4360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4361 set dummy ${ac_tool_prefix}strip; ac_word=$2
4362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if test "${ac_cv_prog_STRIP+set}" = set; then
4365 $as_echo_n "(cached) " >&6
4367 if test -n "$STRIP"; then
4368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4378 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 STRIP=$ac_cv_prog_STRIP
4388 if test -n "$STRIP"; then
4389 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4390 $as_echo "$STRIP" >&6; }
4392 { $as_echo "$as_me:$LINENO: result: no" >&5
4393 $as_echo "no" >&6; }
4398 if test -z "$ac_cv_prog_STRIP"; then
4400 # Extract the first word of "strip", so it can be a program name with args.
4401 set dummy strip; ac_word=$2
4402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4405 $as_echo_n "(cached) " >&6
4407 if test -n "$ac_ct_STRIP"; then
4408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4417 ac_cv_prog_ac_ct_STRIP="strip"
4418 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4428 if test -n "$ac_ct_STRIP"; then
4429 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4430 $as_echo "$ac_ct_STRIP" >&6; }
4432 { $as_echo "$as_me:$LINENO: result: no" >&5
4433 $as_echo "no" >&6; }
4436 if test "x$ac_ct_STRIP" = x; then
4439 case $cross_compiling:$ac_tool_warned in
4441 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4448 STRIP="$ac_cv_prog_STRIP"
4451 test -z "$STRIP" && STRIP=:
4458 if test -n "$ac_tool_prefix"; then
4459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if test "${ac_cv_prog_RANLIB+set}" = set; then
4464 $as_echo_n "(cached) " >&6
4466 if test -n "$RANLIB"; then
4467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4477 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 RANLIB=$ac_cv_prog_RANLIB
4487 if test -n "$RANLIB"; then
4488 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4489 $as_echo "$RANLIB" >&6; }
4491 { $as_echo "$as_me:$LINENO: result: no" >&5
4492 $as_echo "no" >&6; }
4497 if test -z "$ac_cv_prog_RANLIB"; then
4498 ac_ct_RANLIB=$RANLIB
4499 # Extract the first word of "ranlib", so it can be a program name with args.
4500 set dummy ranlib; ac_word=$2
4501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4504 $as_echo_n "(cached) " >&6
4506 if test -n "$ac_ct_RANLIB"; then
4507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516 ac_cv_prog_ac_ct_RANLIB="ranlib"
4517 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4527 if test -n "$ac_ct_RANLIB"; then
4528 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4529 $as_echo "$ac_ct_RANLIB" >&6; }
4531 { $as_echo "$as_me:$LINENO: result: no" >&5
4532 $as_echo "no" >&6; }
4535 if test "x$ac_ct_RANLIB" = x; then
4538 case $cross_compiling:$ac_tool_warned in
4540 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4542 ac_tool_warned=yes ;;
4544 RANLIB=$ac_ct_RANLIB
4547 RANLIB="$ac_cv_prog_RANLIB"
4550 test -z "$RANLIB" && RANLIB=:
4557 # Determine commands to create old-style static archives.
4558 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4559 old_postinstall_cmds='chmod 644 $oldlib'
4560 old_postuninstall_cmds=
4562 if test -n "$RANLIB"; then
4565 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4568 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4571 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4607 # If no C compiler was specified, use CC.
4610 # If no C compiler flags were specified, use CFLAGS.
4611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4613 # Allow CC to be a program name with arguments.
4617 # Check for command to grab the raw symbol name followed by C symbol from nm.
4618 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
4619 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4620 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4621 $as_echo_n "(cached) " >&6
4624 # These are sane defaults that work on at least a few old systems.
4625 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4627 # Character class describing NM global symbol codes.
4628 symcode='[BCDEGRST]'
4630 # Regexp to match symbols that can be accessed directly from C.
4631 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4633 # Define system-specific variables.
4638 cygwin* | mingw* | pw32* | cegcc*)
4639 symcode='[ABCDGISTW]'
4642 if test "$host_cpu" = ia64; then
4643 symcode='[ABCDEGRST]'
4647 symcode='[BCDEGRST]'
4650 symcode='[BCDEGQRST]'
4661 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4669 # If we're using GNU nm, then use its standard symbol codes.
4670 case `$NM -V 2>&1` in
4671 *GNU* | *'with BFD'*)
4672 symcode='[ABCDGIRSTW]' ;;
4675 # Transform an extracted symbol line into a proper C declaration.
4676 # Some systems (esp. on ia64) link data and code symbols differently,
4677 # so use this general approach.
4678 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4680 # Transform an extracted symbol line into symbol name and symbol address
4681 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4682 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
4684 # Handle CRLF in mingw tool chain
4688 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4692 # Try without a prefix underscore, then with it.
4693 for ac_symprfx in "" "_"; do
4695 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4696 symxfrm="\\1 $ac_symprfx\\2 \\2"
4698 # Write the raw and C identifiers.
4699 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4700 # Fake it for dumpbin and say T for any non-static function
4701 # and D for any global variable.
4702 # Also find C++ and __fastcall symbols from MSVC++,
4703 # which start with @ or ?.
4704 lt_cv_sys_global_symbol_pipe="$AWK '"\
4705 " {last_section=section; section=\$ 3};"\
4706 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4707 " \$ 0!~/External *\|/{next};"\
4708 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4709 " {if(hide[section]) next};"\
4710 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4711 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4712 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4713 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4714 " ' prfx=^$ac_symprfx"
4716 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4719 # Check to see that the pipe works correctly.
4723 cat > conftest.$ac_ext <<_LT_EOF
4728 void nm_test_func(void);
4729 void nm_test_func(void){}
4733 int main(){nm_test_var='a';nm_test_func();return(0);}
4736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4737 (eval $ac_compile) 2>&5
4739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; then
4741 # Now try to grab the symbols.
4743 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4744 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); } && test -s "$nlist"; then
4748 # Try sorting and uniquifying the output.
4749 if sort "$nlist" | uniq > "$nlist"T; then
4750 mv -f "$nlist"T "$nlist"
4755 # Make sure that we snagged all the symbols we need.
4756 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4757 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4758 cat <<_LT_EOF > conftest.$ac_ext
4764 # Now generate the symbol file.
4765 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4767 cat <<_LT_EOF >> conftest.$ac_ext
4769 /* The mapping between symbol names and symbols. */
4774 lt__PROGRAM__LTX_preloaded_symbols[] =
4776 { "@PROGRAM@", (void *) 0 },
4778 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4779 cat <<\_LT_EOF >> conftest.$ac_ext
4783 /* This works around a problem in FreeBSD linker */
4784 #ifdef FREEBSD_WORKAROUND
4785 static const void *lt_preloaded_setup() {
4786 return lt__PROGRAM__LTX_preloaded_symbols;
4794 # Now try linking the two files.
4795 mv conftest.$ac_objext conftstm.$ac_objext
4796 lt_save_LIBS="$LIBS"
4797 lt_save_CFLAGS="$CFLAGS"
4798 LIBS="conftstm.$ac_objext"
4799 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4801 (eval $ac_link) 2>&5
4803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4807 LIBS="$lt_save_LIBS"
4808 CFLAGS="$lt_save_CFLAGS"
4810 echo "cannot find nm_test_func in $nlist" >&5
4813 echo "cannot find nm_test_var in $nlist" >&5
4816 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4819 echo "$progname: failed program was:" >&5
4820 cat conftest.$ac_ext >&5
4822 rm -rf conftest* conftst*
4824 # Do not use the global_symbol_pipe unless it works.
4825 if test "$pipe_works" = yes; then
4828 lt_cv_sys_global_symbol_pipe=
4834 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4835 lt_cv_sys_global_symbol_to_cdecl=
4837 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4838 { $as_echo "$as_me:$LINENO: result: failed" >&5
4839 $as_echo "failed" >&6; }
4841 { $as_echo "$as_me:$LINENO: result: ok" >&5
4842 $as_echo "ok" >&6; }
4867 # Check whether --enable-libtool-lock was given.
4868 if test "${enable_libtool_lock+set}" = set; then
4869 enableval=$enable_libtool_lock;
4872 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4874 # Some flags need to be propagated to the compiler or linker for good
4878 # Find out which ABI we are using.
4879 echo 'int i;' > conftest.$ac_ext
4880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4881 (eval $ac_compile) 2>&5
4883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; then
4885 case `/usr/bin/file conftest.$ac_objext` in
4897 # Find out which ABI we are using.
4898 echo '#line 4898 "configure"' > conftest.$ac_ext
4899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4900 (eval $ac_compile) 2>&5
4902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; then
4904 if test "$lt_cv_prog_gnu_ld" = yes; then
4905 case `/usr/bin/file conftest.$ac_objext` in
4907 LD="${LD-ld} -melf32bsmip"
4910 LD="${LD-ld} -melf32bmipn32"
4913 LD="${LD-ld} -melf64bmip"
4917 case `/usr/bin/file conftest.$ac_objext` in
4933 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4934 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4935 # Find out which ABI we are using.
4936 echo 'int i;' > conftest.$ac_ext
4937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4938 (eval $ac_compile) 2>&5
4940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; then
4942 case `/usr/bin/file conftest.o` in
4945 x86_64-*kfreebsd*-gnu)
4946 LD="${LD-ld} -m elf_i386_fbsd"
4949 LD="${LD-ld} -m elf_i386"
4951 ppc64-*linux*|powerpc64-*linux*)
4952 LD="${LD-ld} -m elf32ppclinux"
4955 LD="${LD-ld} -m elf_s390"
4958 LD="${LD-ld} -m elf32_sparc"
4964 x86_64-*kfreebsd*-gnu)
4965 LD="${LD-ld} -m elf_x86_64_fbsd"
4968 LD="${LD-ld} -m elf_x86_64"
4970 ppc*-*linux*|powerpc*-*linux*)
4971 LD="${LD-ld} -m elf64ppc"
4973 s390*-*linux*|s390*-*tpf*)
4974 LD="${LD-ld} -m elf64_s390"
4977 LD="${LD-ld} -m elf64_sparc"
4987 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4988 SAVE_CFLAGS="$CFLAGS"
4989 CFLAGS="$CFLAGS -belf"
4990 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4991 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4992 if test "${lt_cv_cc_needs_belf+set}" = set; then
4993 $as_echo_n "(cached) " >&6
4996 ac_cpp='$CPP $CPPFLAGS'
4997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5001 cat >conftest.$ac_ext <<_ACEOF
5004 cat confdefs.h >>conftest.$ac_ext
5005 cat >>conftest.$ac_ext <<_ACEOF
5006 /* end confdefs.h. */
5016 rm -f conftest.$ac_objext conftest$ac_exeext
5017 if { (ac_try="$ac_link"
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020 *) ac_try_echo=$ac_try;;
5022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5023 $as_echo "$ac_try_echo") >&5
5024 (eval "$ac_link") 2>conftest.er1
5026 grep -v '^ *+' conftest.er1 >conftest.err
5028 cat conftest.err >&5
5029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } && {
5031 test -z "$ac_c_werror_flag" ||
5032 test ! -s conftest.err
5033 } && test -s conftest$ac_exeext && {
5034 test "$cross_compiling" = yes ||
5035 $as_test_x conftest$ac_exeext
5037 lt_cv_cc_needs_belf=yes
5039 $as_echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.$ac_ext >&5
5042 lt_cv_cc_needs_belf=no
5045 rm -rf conftest.dSYM
5046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5047 conftest$ac_exeext conftest.$ac_ext
5049 ac_cpp='$CPP $CPPFLAGS'
5050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5056 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5057 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5058 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5059 CFLAGS="$SAVE_CFLAGS"
5063 # Find out which ABI we are using.
5064 echo 'int i;' > conftest.$ac_ext
5065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5066 (eval $ac_compile) 2>&5
5068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); }; then
5070 case `/usr/bin/file conftest.o` in
5072 case $lt_cv_prog_gnu_ld in
5073 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5075 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5087 need_locks="$enable_libtool_lock"
5091 rhapsody* | darwin*)
5092 if test -n "$ac_tool_prefix"; then
5093 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5094 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$DSYMUTIL"; then
5101 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 test -z "$as_dir" && as_dir=.
5108 for ac_exec_ext in '' $ac_executable_extensions; do
5109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5110 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5111 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5121 if test -n "$DSYMUTIL"; then
5122 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5123 $as_echo "$DSYMUTIL" >&6; }
5125 { $as_echo "$as_me:$LINENO: result: no" >&5
5126 $as_echo "no" >&6; }
5131 if test -z "$ac_cv_prog_DSYMUTIL"; then
5132 ac_ct_DSYMUTIL=$DSYMUTIL
5133 # Extract the first word of "dsymutil", so it can be a program name with args.
5134 set dummy dsymutil; ac_word=$2
5135 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$ac_ct_DSYMUTIL"; then
5141 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5150 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5151 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5161 if test -n "$ac_ct_DSYMUTIL"; then
5162 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5163 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5165 { $as_echo "$as_me:$LINENO: result: no" >&5
5166 $as_echo "no" >&6; }
5169 if test "x$ac_ct_DSYMUTIL" = x; then
5172 case $cross_compiling:$ac_tool_warned in
5174 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5176 ac_tool_warned=yes ;;
5178 DSYMUTIL=$ac_ct_DSYMUTIL
5181 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5184 if test -n "$ac_tool_prefix"; then
5185 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5186 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$NMEDIT"; then
5193 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5203 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 NMEDIT=$ac_cv_prog_NMEDIT
5213 if test -n "$NMEDIT"; then
5214 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5215 $as_echo "$NMEDIT" >&6; }
5217 { $as_echo "$as_me:$LINENO: result: no" >&5
5218 $as_echo "no" >&6; }
5223 if test -z "$ac_cv_prog_NMEDIT"; then
5224 ac_ct_NMEDIT=$NMEDIT
5225 # Extract the first word of "nmedit", so it can be a program name with args.
5226 set dummy nmedit; ac_word=$2
5227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$ac_ct_NMEDIT"; then
5233 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5243 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5253 if test -n "$ac_ct_NMEDIT"; then
5254 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5255 $as_echo "$ac_ct_NMEDIT" >&6; }
5257 { $as_echo "$as_me:$LINENO: result: no" >&5
5258 $as_echo "no" >&6; }
5261 if test "x$ac_ct_NMEDIT" = x; then
5264 case $cross_compiling:$ac_tool_warned in
5266 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5268 ac_tool_warned=yes ;;
5270 NMEDIT=$ac_ct_NMEDIT
5273 NMEDIT="$ac_cv_prog_NMEDIT"
5276 if test -n "$ac_tool_prefix"; then
5277 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5278 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5279 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if test "${ac_cv_prog_LIPO+set}" = set; then
5282 $as_echo_n "(cached) " >&6
5284 if test -n "$LIPO"; then
5285 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5294 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5295 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 LIPO=$ac_cv_prog_LIPO
5305 if test -n "$LIPO"; then
5306 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
5307 $as_echo "$LIPO" >&6; }
5309 { $as_echo "$as_me:$LINENO: result: no" >&5
5310 $as_echo "no" >&6; }
5315 if test -z "$ac_cv_prog_LIPO"; then
5317 # Extract the first word of "lipo", so it can be a program name with args.
5318 set dummy lipo; ac_word=$2
5319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5322 $as_echo_n "(cached) " >&6
5324 if test -n "$ac_ct_LIPO"; then
5325 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_ac_ct_LIPO="lipo"
5335 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5345 if test -n "$ac_ct_LIPO"; then
5346 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5347 $as_echo "$ac_ct_LIPO" >&6; }
5349 { $as_echo "$as_me:$LINENO: result: no" >&5
5350 $as_echo "no" >&6; }
5353 if test "x$ac_ct_LIPO" = x; then
5356 case $cross_compiling:$ac_tool_warned in
5358 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5360 ac_tool_warned=yes ;;
5365 LIPO="$ac_cv_prog_LIPO"
5368 if test -n "$ac_tool_prefix"; then
5369 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5370 set dummy ${ac_tool_prefix}otool; ac_word=$2
5371 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if test "${ac_cv_prog_OTOOL+set}" = set; then
5374 $as_echo_n "(cached) " >&6
5376 if test -n "$OTOOL"; then
5377 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 test -z "$as_dir" && as_dir=.
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5386 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5387 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 OTOOL=$ac_cv_prog_OTOOL
5397 if test -n "$OTOOL"; then
5398 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
5399 $as_echo "$OTOOL" >&6; }
5401 { $as_echo "$as_me:$LINENO: result: no" >&5
5402 $as_echo "no" >&6; }
5407 if test -z "$ac_cv_prog_OTOOL"; then
5409 # Extract the first word of "otool", so it can be a program name with args.
5410 set dummy otool; ac_word=$2
5411 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$ac_ct_OTOOL"; then
5417 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5426 ac_cv_prog_ac_ct_OTOOL="otool"
5427 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5437 if test -n "$ac_ct_OTOOL"; then
5438 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
5439 $as_echo "$ac_ct_OTOOL" >&6; }
5441 { $as_echo "$as_me:$LINENO: result: no" >&5
5442 $as_echo "no" >&6; }
5445 if test "x$ac_ct_OTOOL" = x; then
5448 case $cross_compiling:$ac_tool_warned in
5450 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5452 ac_tool_warned=yes ;;
5457 OTOOL="$ac_cv_prog_OTOOL"
5460 if test -n "$ac_tool_prefix"; then
5461 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5462 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5466 $as_echo_n "(cached) " >&6
5468 if test -n "$OTOOL64"; then
5469 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
5479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 OTOOL64=$ac_cv_prog_OTOOL64
5489 if test -n "$OTOOL64"; then
5490 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
5491 $as_echo "$OTOOL64" >&6; }
5493 { $as_echo "$as_me:$LINENO: result: no" >&5
5494 $as_echo "no" >&6; }
5499 if test -z "$ac_cv_prog_OTOOL64"; then
5500 ac_ct_OTOOL64=$OTOOL64
5501 # Extract the first word of "otool64", so it can be a program name with args.
5502 set dummy otool64; ac_word=$2
5503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5506 $as_echo_n "(cached) " >&6
5508 if test -n "$ac_ct_OTOOL64"; then
5509 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5518 ac_cv_prog_ac_ct_OTOOL64="otool64"
5519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5529 if test -n "$ac_ct_OTOOL64"; then
5530 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
5531 $as_echo "$ac_ct_OTOOL64" >&6; }
5533 { $as_echo "$as_me:$LINENO: result: no" >&5
5534 $as_echo "no" >&6; }
5537 if test "x$ac_ct_OTOOL64" = x; then
5540 case $cross_compiling:$ac_tool_warned in
5542 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5544 ac_tool_warned=yes ;;
5546 OTOOL64=$ac_ct_OTOOL64
5549 OTOOL64="$ac_cv_prog_OTOOL64"
5578 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
5579 $as_echo_n "checking for -single_module linker flag... " >&6; }
5580 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5581 $as_echo_n "(cached) " >&6
5583 lt_cv_apple_cc_single_mod=no
5584 if test -z "${LT_MULTI_MODULE}"; then
5585 # By default we will add the -single_module flag. You can override
5586 # by either setting the environment variable LT_MULTI_MODULE
5587 # non-empty at configure time, or by adding -multi_module to the
5589 rm -rf libconftest.dylib*
5590 echo "int foo(void){return 1;}" > conftest.c
5591 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5592 -dynamiclib -Wl,-single_module conftest.c" >&5
5593 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5594 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5596 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5597 lt_cv_apple_cc_single_mod=yes
5599 cat conftest.err >&5
5601 rm -rf libconftest.dylib*
5605 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
5606 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5607 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
5608 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5609 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5610 $as_echo_n "(cached) " >&6
5612 lt_cv_ld_exported_symbols_list=no
5613 save_LDFLAGS=$LDFLAGS
5614 echo "_main" > conftest.sym
5615 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5616 cat >conftest.$ac_ext <<_ACEOF
5619 cat confdefs.h >>conftest.$ac_ext
5620 cat >>conftest.$ac_ext <<_ACEOF
5621 /* end confdefs.h. */
5631 rm -f conftest.$ac_objext conftest$ac_exeext
5632 if { (ac_try="$ac_link"
5634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5638 $as_echo "$ac_try_echo") >&5
5639 (eval "$ac_link") 2>conftest.er1
5641 grep -v '^ *+' conftest.er1 >conftest.err
5643 cat conftest.err >&5
5644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } && {
5646 test -z "$ac_c_werror_flag" ||
5647 test ! -s conftest.err
5648 } && test -s conftest$ac_exeext && {
5649 test "$cross_compiling" = yes ||
5650 $as_test_x conftest$ac_exeext
5652 lt_cv_ld_exported_symbols_list=yes
5654 $as_echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.$ac_ext >&5
5657 lt_cv_ld_exported_symbols_list=no
5660 rm -rf conftest.dSYM
5661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5662 conftest$ac_exeext conftest.$ac_ext
5663 LDFLAGS="$save_LDFLAGS"
5666 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
5667 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5669 rhapsody* | darwin1.[012])
5670 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5672 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5673 darwin*) # darwin 5.x on
5674 # if running on 10.5 or later, the deployment target defaults
5675 # to the OS version, if on x86, and 10.4, the deployment
5676 # target defaults to 10.4. Don't you love it?
5677 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5678 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5679 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5681 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5683 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5687 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5688 _lt_dar_single_mod='$single_module'
5690 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5691 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5693 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5695 if test "$DSYMUTIL" != ":"; then
5696 _lt_dsymutil='~$DSYMUTIL $lib || :'
5704 ac_cpp='$CPP $CPPFLAGS'
5705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5708 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5709 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5710 # On Suns, sometimes $CPP names a directory.
5711 if test -n "$CPP" && test -d "$CPP"; then
5714 if test -z "$CPP"; then
5715 if test "${ac_cv_prog_CPP+set}" = set; then
5716 $as_echo_n "(cached) " >&6
5718 # Double quotes because CPP needs to be expanded
5719 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5722 for ac_c_preproc_warn_flag in '' yes
5724 # Use a header file that comes with gcc, so configuring glibc
5725 # with a fresh cross-compiler works.
5726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5727 # <limits.h> exists even on freestanding compilers.
5728 # On the NeXT, cc -E runs the code through the compiler's parser,
5729 # not just through cpp. "Syntax error" is here to catch this case.
5730 cat >conftest.$ac_ext <<_ACEOF
5733 cat confdefs.h >>conftest.$ac_ext
5734 cat >>conftest.$ac_ext <<_ACEOF
5735 /* end confdefs.h. */
5737 # include <limits.h>
5739 # include <assert.h>
5743 if { (ac_try="$ac_cpp conftest.$ac_ext"
5745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5746 *) ac_try_echo=$ac_try;;
5748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5749 $as_echo "$ac_try_echo") >&5
5750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5752 grep -v '^ *+' conftest.er1 >conftest.err
5754 cat conftest.err >&5
5755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } >/dev/null && {
5757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5758 test ! -s conftest.err
5762 $as_echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5765 # Broken: fails on valid input.
5769 rm -f conftest.err conftest.$ac_ext
5771 # OK, works on sane cases. Now check whether nonexistent headers
5772 # can be detected and how.
5773 cat >conftest.$ac_ext <<_ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 #include <ac_nonexistent.h>
5781 if { (ac_try="$ac_cpp conftest.$ac_ext"
5783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5784 *) ac_try_echo=$ac_try;;
5786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5787 $as_echo "$ac_try_echo") >&5
5788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5790 grep -v '^ *+' conftest.er1 >conftest.err
5792 cat conftest.err >&5
5793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); } >/dev/null && {
5795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5796 test ! -s conftest.err
5798 # Broken: success on invalid input.
5801 $as_echo "$as_me: failed program was:" >&5
5802 sed 's/^/| /' conftest.$ac_ext >&5
5804 # Passes both tests.
5809 rm -f conftest.err conftest.$ac_ext
5812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5813 rm -f conftest.err conftest.$ac_ext
5814 if $ac_preproc_ok; then
5826 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5827 $as_echo "$CPP" >&6; }
5829 for ac_c_preproc_warn_flag in '' yes
5831 # Use a header file that comes with gcc, so configuring glibc
5832 # with a fresh cross-compiler works.
5833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5834 # <limits.h> exists even on freestanding compilers.
5835 # On the NeXT, cc -E runs the code through the compiler's parser,
5836 # not just through cpp. "Syntax error" is here to catch this case.
5837 cat >conftest.$ac_ext <<_ACEOF
5840 cat confdefs.h >>conftest.$ac_ext
5841 cat >>conftest.$ac_ext <<_ACEOF
5842 /* end confdefs.h. */
5844 # include <limits.h>
5846 # include <assert.h>
5850 if { (ac_try="$ac_cpp conftest.$ac_ext"
5852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5853 *) ac_try_echo=$ac_try;;
5855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5856 $as_echo "$ac_try_echo") >&5
5857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5859 grep -v '^ *+' conftest.er1 >conftest.err
5861 cat conftest.err >&5
5862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } >/dev/null && {
5864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5865 test ! -s conftest.err
5869 $as_echo "$as_me: failed program was:" >&5
5870 sed 's/^/| /' conftest.$ac_ext >&5
5872 # Broken: fails on valid input.
5876 rm -f conftest.err conftest.$ac_ext
5878 # OK, works on sane cases. Now check whether nonexistent headers
5879 # can be detected and how.
5880 cat >conftest.$ac_ext <<_ACEOF
5883 cat confdefs.h >>conftest.$ac_ext
5884 cat >>conftest.$ac_ext <<_ACEOF
5885 /* end confdefs.h. */
5886 #include <ac_nonexistent.h>
5888 if { (ac_try="$ac_cpp conftest.$ac_ext"
5890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5891 *) ac_try_echo=$ac_try;;
5893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5894 $as_echo "$ac_try_echo") >&5
5895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5897 grep -v '^ *+' conftest.er1 >conftest.err
5899 cat conftest.err >&5
5900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); } >/dev/null && {
5902 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5903 test ! -s conftest.err
5905 # Broken: success on invalid input.
5908 $as_echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.$ac_ext >&5
5911 # Passes both tests.
5916 rm -f conftest.err conftest.$ac_ext
5919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5920 rm -f conftest.err conftest.$ac_ext
5921 if $ac_preproc_ok; then
5924 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5926 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5927 See \`config.log' for more details." >&5
5928 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5929 See \`config.log' for more details." >&2;}
5930 { (exit 1); exit 1; }; }; }
5934 ac_cpp='$CPP $CPPFLAGS'
5935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5940 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5941 $as_echo_n "checking for ANSI C header files... " >&6; }
5942 if test "${ac_cv_header_stdc+set}" = set; then
5943 $as_echo_n "(cached) " >&6
5945 cat >conftest.$ac_ext <<_ACEOF
5948 cat confdefs.h >>conftest.$ac_ext
5949 cat >>conftest.$ac_ext <<_ACEOF
5950 /* end confdefs.h. */
5964 rm -f conftest.$ac_objext
5965 if { (ac_try="$ac_compile"
5967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5968 *) ac_try_echo=$ac_try;;
5970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5971 $as_echo "$ac_try_echo") >&5
5972 (eval "$ac_compile") 2>conftest.er1
5974 grep -v '^ *+' conftest.er1 >conftest.err
5976 cat conftest.err >&5
5977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); } && {
5979 test -z "$ac_c_werror_flag" ||
5980 test ! -s conftest.err
5981 } && test -s conftest.$ac_objext; then
5982 ac_cv_header_stdc=yes
5984 $as_echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.$ac_ext >&5
5987 ac_cv_header_stdc=no
5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5992 if test $ac_cv_header_stdc = yes; then
5993 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5994 cat >conftest.$ac_ext <<_ACEOF
5997 cat confdefs.h >>conftest.$ac_ext
5998 cat >>conftest.$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6004 $EGREP "memchr" >/dev/null 2>&1; then
6007 ac_cv_header_stdc=no
6013 if test $ac_cv_header_stdc = yes; then
6014 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6015 cat >conftest.$ac_ext <<_ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6025 $EGREP "free" >/dev/null 2>&1; then
6028 ac_cv_header_stdc=no
6034 if test $ac_cv_header_stdc = yes; then
6035 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6036 if test "$cross_compiling" = yes; then
6039 cat >conftest.$ac_ext <<_ACEOF
6042 cat confdefs.h >>conftest.$ac_ext
6043 cat >>conftest.$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6047 #if ((' ' & 0x0FF) == 0x020)
6048 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6049 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6051 # define ISLOWER(c) \
6052 (('a' <= (c) && (c) <= 'i') \
6053 || ('j' <= (c) && (c) <= 'r') \
6054 || ('s' <= (c) && (c) <= 'z'))
6055 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6058 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6063 for (i = 0; i < 256; i++)
6064 if (XOR (islower (i), ISLOWER (i))
6065 || toupper (i) != TOUPPER (i))
6070 rm -f conftest$ac_exeext
6071 if { (ac_try="$ac_link"
6073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6074 *) ac_try_echo=$ac_try;;
6076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6077 $as_echo "$ac_try_echo") >&5
6078 (eval "$ac_link") 2>&5
6080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6082 { (case "(($ac_try" in
6083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6084 *) ac_try_echo=$ac_try;;
6086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6087 $as_echo "$ac_try_echo") >&5
6088 (eval "$ac_try") 2>&5
6090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; }; then
6094 $as_echo "$as_me: program exited with status $ac_status" >&5
6095 $as_echo "$as_me: failed program was:" >&5
6096 sed 's/^/| /' conftest.$ac_ext >&5
6099 ac_cv_header_stdc=no
6101 rm -rf conftest.dSYM
6102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6108 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6109 $as_echo "$ac_cv_header_stdc" >&6; }
6110 if test $ac_cv_header_stdc = yes; then
6112 cat >>confdefs.h <<\_ACEOF
6113 #define STDC_HEADERS 1
6118 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6128 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6129 inttypes.h stdint.h unistd.h
6131 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6132 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6133 $as_echo_n "checking for $ac_header... " >&6; }
6134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6135 $as_echo_n "(cached) " >&6
6137 cat >conftest.$ac_ext <<_ACEOF
6140 cat confdefs.h >>conftest.$ac_ext
6141 cat >>conftest.$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6143 $ac_includes_default
6145 #include <$ac_header>
6147 rm -f conftest.$ac_objext
6148 if { (ac_try="$ac_compile"
6150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6151 *) ac_try_echo=$ac_try;;
6153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6154 $as_echo "$ac_try_echo") >&5
6155 (eval "$ac_compile") 2>conftest.er1
6157 grep -v '^ *+' conftest.er1 >conftest.err
6159 cat conftest.err >&5
6160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); } && {
6162 test -z "$ac_c_werror_flag" ||
6163 test ! -s conftest.err
6164 } && test -s conftest.$ac_objext; then
6165 eval "$as_ac_Header=yes"
6167 $as_echo "$as_me: failed program was:" >&5
6168 sed 's/^/| /' conftest.$ac_ext >&5
6170 eval "$as_ac_Header=no"
6173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6175 ac_res=`eval 'as_val=${'$as_ac_Header'}
6176 $as_echo "$as_val"'`
6177 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6178 $as_echo "$ac_res" >&6; }
6179 as_val=`eval 'as_val=${'$as_ac_Header'}
6180 $as_echo "$as_val"'`
6181 if test "x$as_val" = x""yes; then
6182 cat >>confdefs.h <<_ACEOF
6183 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6192 for ac_header in dlfcn.h
6194 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6195 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6196 $as_echo_n "checking for $ac_header... " >&6; }
6197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6198 $as_echo_n "(cached) " >&6
6200 cat >conftest.$ac_ext <<_ACEOF
6203 cat confdefs.h >>conftest.$ac_ext
6204 cat >>conftest.$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6206 $ac_includes_default
6208 #include <$ac_header>
6210 rm -f conftest.$ac_objext
6211 if { (ac_try="$ac_compile"
6213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6214 *) ac_try_echo=$ac_try;;
6216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6217 $as_echo "$ac_try_echo") >&5
6218 (eval "$ac_compile") 2>conftest.er1
6220 grep -v '^ *+' conftest.er1 >conftest.err
6222 cat conftest.err >&5
6223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } && {
6225 test -z "$ac_c_werror_flag" ||
6226 test ! -s conftest.err
6227 } && test -s conftest.$ac_objext; then
6228 eval "$as_ac_Header=yes"
6230 $as_echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6233 eval "$as_ac_Header=no"
6236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6238 ac_res=`eval 'as_val=${'$as_ac_Header'}
6239 $as_echo "$as_val"'`
6240 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6241 $as_echo "$ac_res" >&6; }
6242 as_val=`eval 'as_val=${'$as_ac_Header'}
6243 $as_echo "$as_val"'`
6244 if test "x$as_val" = x""yes; then
6245 cat >>confdefs.h <<_ACEOF
6246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6265 # Check whether --enable-shared was given.
6266 if test "${enable_shared+set}" = set; then
6267 enableval=$enable_shared; p=${PACKAGE-default}
6269 yes) enable_shared=yes ;;
6270 no) enable_shared=no ;;
6273 # Look at the argument we got. We use all the common list separators.
6274 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6275 for pkg in $enableval; do
6277 if test "X$pkg" = "X$p"; then
6296 # Check whether --enable-static was given.
6297 if test "${enable_static+set}" = set; then
6298 enableval=$enable_static; p=${PACKAGE-default}
6300 yes) enable_static=yes ;;
6301 no) enable_static=no ;;
6304 # Look at the argument we got. We use all the common list separators.
6305 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6306 for pkg in $enableval; do
6308 if test "X$pkg" = "X$p"; then
6328 # Check whether --with-pic was given.
6329 if test "${with_pic+set}" = set; then
6330 withval=$with_pic; pic_mode="$withval"
6336 test -z "$pic_mode" && pic_mode=default
6344 # Check whether --enable-fast-install was given.
6345 if test "${enable_fast_install+set}" = set; then
6346 enableval=$enable_fast_install; p=${PACKAGE-default}
6348 yes) enable_fast_install=yes ;;
6349 no) enable_fast_install=no ;;
6351 enable_fast_install=no
6352 # Look at the argument we got. We use all the common list separators.
6353 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6354 for pkg in $enableval; do
6356 if test "X$pkg" = "X$p"; then
6357 enable_fast_install=yes
6364 enable_fast_install=yes
6377 # This can be used to rebuild libtool when needed
6378 LIBTOOL_DEPS="$ltmain"
6380 # Always use our own libtool.
6381 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6407 test -z "$LN_S" && LN_S="ln -s"
6422 if test -n "${ZSH_VERSION+set}" ; then
6423 setopt NO_GLOB_SUBST
6426 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6427 $as_echo_n "checking for objdir... " >&6; }
6428 if test "${lt_cv_objdir+set}" = set; then
6429 $as_echo_n "(cached) " >&6
6431 rm -f .libs 2>/dev/null
6432 mkdir .libs 2>/dev/null
6433 if test -d .libs; then
6436 # MS-DOS does not allow filenames that begin with a dot.
6439 rmdir .libs 2>/dev/null
6441 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6442 $as_echo "$lt_cv_objdir" >&6; }
6443 objdir=$lt_cv_objdir
6449 cat >>confdefs.h <<_ACEOF
6450 #define LT_OBJDIR "$lt_cv_objdir/"
6471 # AIX sometimes has problems with the GCC collect2 program. For some
6472 # reason, if we set the COLLECT_NAMES environment variable, the problems
6473 # vanish in a puff of smoke.
6474 if test "X${COLLECT_NAMES+set}" != Xset; then
6476 export COLLECT_NAMES
6481 # Sed substitution that helps us do robust quoting. It backslashifies
6482 # metacharacters that are still active within double-quoted strings.
6483 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6485 # Same as above, but do not quote variable references.
6486 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6488 # Sed substitution to delay expansion of an escaped shell variable in a
6489 # double_quote_subst'ed string.
6490 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6492 # Sed substitution to delay expansion of an escaped single quote.
6493 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6495 # Sed substitution to avoid accidental globbing in evaled expressions
6496 no_glob_subst='s/\*/\\\*/g'
6500 can_build_shared=yes
6502 # All known linkers require a `.a' archive for static linking (except MSVC,
6503 # which needs '.lib').
6506 with_gnu_ld="$lt_cv_prog_gnu_ld"
6509 old_CFLAGS="$CFLAGS"
6511 # Set sane defaults for various variables
6512 test -z "$CC" && CC=cc
6513 test -z "$LTCC" && LTCC=$CC
6514 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6515 test -z "$LD" && LD=ld
6516 test -z "$ac_objext" && ac_objext=o
6518 for cc_temp in $compiler""; do
6520 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6521 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6526 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6529 # Only perform the check for file, if the check method requires it
6530 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6531 case $deplibs_check_method in
6533 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6534 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6535 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6536 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6537 $as_echo_n "(cached) " >&6
6541 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6544 lt_save_MAGIC_CMD="$MAGIC_CMD"
6545 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6546 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6547 for ac_dir in $ac_dummy; do
6549 test -z "$ac_dir" && ac_dir=.
6550 if test -f $ac_dir/${ac_tool_prefix}file; then
6551 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6552 if test -n "$file_magic_test_file"; then
6553 case $deplibs_check_method in
6555 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6556 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6557 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6558 $EGREP "$file_magic_regex" > /dev/null; then
6563 *** Warning: the command libtool uses to detect shared libraries,
6564 *** $file_magic_cmd, produces output that libtool cannot recognize.
6565 *** The result is that libtool may fail to recognize shared libraries
6566 *** as such. This will affect the creation of libtool libraries that
6567 *** depend on shared libraries, but programs linked with such libtool
6568 *** libraries will work regardless of this problem. Nevertheless, you
6569 *** may want to report the problem to your system manager and/or to
6570 *** bug-libtool@gnu.org
6580 MAGIC_CMD="$lt_save_MAGIC_CMD"
6585 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6586 if test -n "$MAGIC_CMD"; then
6587 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6588 $as_echo "$MAGIC_CMD" >&6; }
6590 { $as_echo "$as_me:$LINENO: result: no" >&5
6591 $as_echo "no" >&6; }
6598 if test -z "$lt_cv_path_MAGIC_CMD"; then
6599 if test -n "$ac_tool_prefix"; then
6600 { $as_echo "$as_me:$LINENO: checking for file" >&5
6601 $as_echo_n "checking for file... " >&6; }
6602 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6603 $as_echo_n "(cached) " >&6
6607 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6610 lt_save_MAGIC_CMD="$MAGIC_CMD"
6611 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6612 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6613 for ac_dir in $ac_dummy; do
6615 test -z "$ac_dir" && ac_dir=.
6616 if test -f $ac_dir/file; then
6617 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6618 if test -n "$file_magic_test_file"; then
6619 case $deplibs_check_method in
6621 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6622 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6623 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6624 $EGREP "$file_magic_regex" > /dev/null; then
6629 *** Warning: the command libtool uses to detect shared libraries,
6630 *** $file_magic_cmd, produces output that libtool cannot recognize.
6631 *** The result is that libtool may fail to recognize shared libraries
6632 *** as such. This will affect the creation of libtool libraries that
6633 *** depend on shared libraries, but programs linked with such libtool
6634 *** libraries will work regardless of this problem. Nevertheless, you
6635 *** may want to report the problem to your system manager and/or to
6636 *** bug-libtool@gnu.org
6646 MAGIC_CMD="$lt_save_MAGIC_CMD"
6651 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6652 if test -n "$MAGIC_CMD"; then
6653 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6654 $as_echo "$MAGIC_CMD" >&6; }
6656 { $as_echo "$as_me:$LINENO: result: no" >&5
6657 $as_echo "no" >&6; }
6670 # Use C for the default configuration in the libtool script
6674 ac_cpp='$CPP $CPPFLAGS'
6675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6680 # Source file extension for C test sources.
6683 # Object file extension for compiled C test sources.
6687 # Code to be used in simple compile tests
6688 lt_simple_compile_test_code="int some_variable = 0;"
6690 # Code to be used in simple link tests
6691 lt_simple_link_test_code='int main(){return(0);}'
6699 # If no C compiler was specified, use CC.
6702 # If no C compiler flags were specified, use CFLAGS.
6703 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6705 # Allow CC to be a program name with arguments.
6708 # Save the default compiler, since it gets overwritten when the other
6709 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6710 compiler_DEFAULT=$CC
6712 # save warnings/boilerplate of simple test code
6713 ac_outfile=conftest.$ac_objext
6714 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6715 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6716 _lt_compiler_boilerplate=`cat conftest.err`
6719 ac_outfile=conftest.$ac_objext
6720 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6721 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6722 _lt_linker_boilerplate=`cat conftest.err`
6727 ## There is no encapsulation within the following macros, do not change
6728 ## the running order or otherwise move them around unless you know exactly
6729 ## what you are doing...
6730 if test -n "$compiler"; then
6732 lt_prog_compiler_no_builtin_flag=
6734 if test "$GCC" = yes; then
6735 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6737 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6738 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6739 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6740 $as_echo_n "(cached) " >&6
6742 lt_cv_prog_compiler_rtti_exceptions=no
6743 ac_outfile=conftest.$ac_objext
6744 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6745 lt_compiler_flag="-fno-rtti -fno-exceptions"
6746 # Insert the option either (1) after the last *FLAGS variable, or
6747 # (2) before a word containing "conftest.", or (3) at the end.
6748 # Note that $ac_compile itself does not contain backslashes and begins
6749 # with a dollar sign (not a hyphen), so the echo should work correctly.
6750 # The option is referenced via a variable to avoid confusing sed.
6751 lt_compile=`echo "$ac_compile" | $SED \
6752 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6753 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6754 -e 's:$: $lt_compiler_flag:'`
6755 (eval echo "\"\$as_me:6755: $lt_compile\"" >&5)
6756 (eval "$lt_compile" 2>conftest.err)
6758 cat conftest.err >&5
6759 echo "$as_me:6759: \$? = $ac_status" >&5
6760 if (exit $ac_status) && test -s "$ac_outfile"; then
6761 # The compiler can only warn and ignore the option if not recognized
6762 # So say no if there are warnings other than the usual output.
6763 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6764 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6765 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6766 lt_cv_prog_compiler_rtti_exceptions=yes
6772 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6773 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6775 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6776 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6788 lt_prog_compiler_wl=
6789 lt_prog_compiler_pic=
6790 lt_prog_compiler_static=
6792 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6793 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6795 if test "$GCC" = yes; then
6796 lt_prog_compiler_wl='-Wl,'
6797 lt_prog_compiler_static='-static'
6801 # All AIX code is PIC.
6802 if test "$host_cpu" = ia64; then
6803 # AIX 5 now supports IA64 processor
6804 lt_prog_compiler_static='-Bstatic'
6811 # see comment about AmigaOS4 .so support
6812 lt_prog_compiler_pic='-fPIC'
6815 # FIXME: we need at least 68020 code to build shared libraries, but
6816 # adding the `-m68020' flag to GCC prevents building anything better,
6818 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6823 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6824 # PIC is the default for these OSes.
6827 mingw* | cygwin* | pw32* | os2* | cegcc*)
6828 # This hack is so that the source file can tell whether it is being
6829 # built for inclusion in a dll (and should export symbols for example).
6830 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6831 # (--disable-auto-import) libraries
6832 lt_prog_compiler_pic='-DDLL_EXPORT'
6835 darwin* | rhapsody*)
6836 # PIC is the default on this platform
6837 # Common symbols not allowed in MH_DYLIB files
6838 lt_prog_compiler_pic='-fno-common'
6842 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6843 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6844 # sets the default TLS model and affects inlining.
6850 lt_prog_compiler_pic='-fPIC'
6856 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6857 # Instead, we relocate shared libraries at runtime.
6861 # Just because we use GCC doesn't mean we suddenly get shared libraries
6862 # on systems that don't support them.
6863 lt_prog_compiler_can_build_shared=no
6868 # QNX uses GNU C++, but need to define -shared option too, otherwise
6870 lt_prog_compiler_pic='-fPIC -shared'
6874 if test -d /usr/nec; then
6875 lt_prog_compiler_pic=-Kconform_pic
6880 lt_prog_compiler_pic='-fPIC'
6884 # PORTME Check for flag to pass linker flags through the system compiler.
6887 lt_prog_compiler_wl='-Wl,'
6888 if test "$host_cpu" = ia64; then
6889 # AIX 5 now supports IA64 processor
6890 lt_prog_compiler_static='-Bstatic'
6892 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6896 mingw* | cygwin* | pw32* | os2* | cegcc*)
6897 # This hack is so that the source file can tell whether it is being
6898 # built for inclusion in a dll (and should export symbols for example).
6899 lt_prog_compiler_pic='-DDLL_EXPORT'
6902 hpux9* | hpux10* | hpux11*)
6903 lt_prog_compiler_wl='-Wl,'
6904 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6911 lt_prog_compiler_pic='+Z'
6914 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6915 lt_prog_compiler_static='${wl}-a ${wl}archive'
6918 irix5* | irix6* | nonstopux*)
6919 lt_prog_compiler_wl='-Wl,'
6920 # PIC (with -KPIC) is the default.
6921 lt_prog_compiler_static='-non_shared'
6924 linux* | k*bsd*-gnu)
6925 case $cc_basename in
6926 # old Intel for x86_64 which still supported -KPIC.
6928 lt_prog_compiler_wl='-Wl,'
6929 lt_prog_compiler_pic='-KPIC'
6930 lt_prog_compiler_static='-static'
6932 # icc used to be incompatible with GCC.
6933 # ICC 10 doesn't accept -KPIC any more.
6935 lt_prog_compiler_wl='-Wl,'
6936 lt_prog_compiler_pic='-fPIC'
6937 lt_prog_compiler_static='-static'
6939 # Lahey Fortran 8.1.
6941 lt_prog_compiler_wl='-Wl,'
6942 lt_prog_compiler_pic='--shared'
6943 lt_prog_compiler_static='--static'
6945 pgcc* | pgf77* | pgf90* | pgf95*)
6946 # Portland Group compilers (*not* the Pentium gcc compiler,
6947 # which looks to be a dead project)
6948 lt_prog_compiler_wl='-Wl,'
6949 lt_prog_compiler_pic='-fpic'
6950 lt_prog_compiler_static='-Bstatic'
6953 lt_prog_compiler_wl='-Wl,'
6954 # All Alpha code is PIC.
6955 lt_prog_compiler_static='-non_shared'
6958 # IBM XL C 8.0/Fortran 10.1 on PPC
6959 lt_prog_compiler_wl='-Wl,'
6960 lt_prog_compiler_pic='-qpic'
6961 lt_prog_compiler_static='-qstaticlink'
6964 case `$CC -V 2>&1 | sed 5q` in
6967 lt_prog_compiler_pic='-KPIC'
6968 lt_prog_compiler_static='-Bstatic'
6969 lt_prog_compiler_wl='-Wl,'
6972 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6973 lt_prog_compiler_pic='-KPIC'
6974 lt_prog_compiler_static='-Bstatic'
6975 lt_prog_compiler_wl=''
6983 lt_prog_compiler_pic='-KPIC'
6984 lt_prog_compiler_static='-Bstatic'
6988 # QNX uses GNU C++, but need to define -shared option too, otherwise
6990 lt_prog_compiler_pic='-fPIC -shared'
6993 osf3* | osf4* | osf5*)
6994 lt_prog_compiler_wl='-Wl,'
6995 # All OSF/1 code is PIC.
6996 lt_prog_compiler_static='-non_shared'
7000 lt_prog_compiler_static='-non_shared'
7004 lt_prog_compiler_pic='-KPIC'
7005 lt_prog_compiler_static='-Bstatic'
7006 case $cc_basename in
7008 lt_prog_compiler_wl='-Qoption ld ';;
7010 lt_prog_compiler_wl='-Wl,';;
7015 lt_prog_compiler_wl='-Qoption ld '
7016 lt_prog_compiler_pic='-PIC'
7017 lt_prog_compiler_static='-Bstatic'
7020 sysv4 | sysv4.2uw2* | sysv4.3*)
7021 lt_prog_compiler_wl='-Wl,'
7022 lt_prog_compiler_pic='-KPIC'
7023 lt_prog_compiler_static='-Bstatic'
7027 if test -d /usr/nec ;then
7028 lt_prog_compiler_pic='-Kconform_pic'
7029 lt_prog_compiler_static='-Bstatic'
7033 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7034 lt_prog_compiler_wl='-Wl,'
7035 lt_prog_compiler_pic='-KPIC'
7036 lt_prog_compiler_static='-Bstatic'
7040 lt_prog_compiler_wl='-Wl,'
7041 lt_prog_compiler_can_build_shared=no
7045 lt_prog_compiler_pic='-pic'
7046 lt_prog_compiler_static='-Bstatic'
7050 lt_prog_compiler_can_build_shared=no
7056 # For platforms which do not support PIC, -DPIC is meaningless:
7058 lt_prog_compiler_pic=
7061 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7064 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7065 $as_echo "$lt_prog_compiler_pic" >&6; }
7073 # Check to make sure the PIC flag actually works.
7075 if test -n "$lt_prog_compiler_pic"; then
7076 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7077 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7078 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7079 $as_echo_n "(cached) " >&6
7081 lt_cv_prog_compiler_pic_works=no
7082 ac_outfile=conftest.$ac_objext
7083 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7084 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7085 # Insert the option either (1) after the last *FLAGS variable, or
7086 # (2) before a word containing "conftest.", or (3) at the end.
7087 # Note that $ac_compile itself does not contain backslashes and begins
7088 # with a dollar sign (not a hyphen), so the echo should work correctly.
7089 # The option is referenced via a variable to avoid confusing sed.
7090 lt_compile=`echo "$ac_compile" | $SED \
7091 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7092 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7093 -e 's:$: $lt_compiler_flag:'`
7094 (eval echo "\"\$as_me:7094: $lt_compile\"" >&5)
7095 (eval "$lt_compile" 2>conftest.err)
7097 cat conftest.err >&5
7098 echo "$as_me:7098: \$? = $ac_status" >&5
7099 if (exit $ac_status) && test -s "$ac_outfile"; then
7100 # The compiler can only warn and ignore the option if not recognized
7101 # So say no if there are warnings other than the usual output.
7102 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7103 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7104 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7105 lt_cv_prog_compiler_pic_works=yes
7111 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7112 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7114 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7115 case $lt_prog_compiler_pic in
7117 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7120 lt_prog_compiler_pic=
7121 lt_prog_compiler_can_build_shared=no
7132 # Check to make sure the static flag actually works.
7134 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7135 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7136 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7137 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7138 $as_echo_n "(cached) " >&6
7140 lt_cv_prog_compiler_static_works=no
7141 save_LDFLAGS="$LDFLAGS"
7142 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7143 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7144 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7145 # The linker can only warn and ignore the option if not recognized
7146 # So say no if there are warnings
7147 if test -s conftest.err; then
7148 # Append any errors to the config.log.
7149 cat conftest.err 1>&5
7150 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7151 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7152 if diff conftest.exp conftest.er2 >/dev/null; then
7153 lt_cv_prog_compiler_static_works=yes
7156 lt_cv_prog_compiler_static_works=yes
7160 LDFLAGS="$save_LDFLAGS"
7163 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7164 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7166 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7169 lt_prog_compiler_static=
7178 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7179 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7180 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7181 $as_echo_n "(cached) " >&6
7183 lt_cv_prog_compiler_c_o=no
7184 $RM -r conftest 2>/dev/null
7188 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7190 lt_compiler_flag="-o out/conftest2.$ac_objext"
7191 # Insert the option either (1) after the last *FLAGS variable, or
7192 # (2) before a word containing "conftest.", or (3) at the end.
7193 # Note that $ac_compile itself does not contain backslashes and begins
7194 # with a dollar sign (not a hyphen), so the echo should work correctly.
7195 lt_compile=`echo "$ac_compile" | $SED \
7196 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7197 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7198 -e 's:$: $lt_compiler_flag:'`
7199 (eval echo "\"\$as_me:7199: $lt_compile\"" >&5)
7200 (eval "$lt_compile" 2>out/conftest.err)
7202 cat out/conftest.err >&5
7203 echo "$as_me:7203: \$? = $ac_status" >&5
7204 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7206 # The compiler can only warn and ignore the option if not recognized
7207 # So say no if there are warnings
7208 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7209 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7210 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7211 lt_cv_prog_compiler_c_o=yes
7216 # SGI C++ compiler will create directory out/ii_files/ for
7217 # template instantiation
7218 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7219 $RM out/* && rmdir out
7225 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7226 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7233 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7234 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7235 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7236 $as_echo_n "(cached) " >&6
7238 lt_cv_prog_compiler_c_o=no
7239 $RM -r conftest 2>/dev/null
7243 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7245 lt_compiler_flag="-o out/conftest2.$ac_objext"
7246 # Insert the option either (1) after the last *FLAGS variable, or
7247 # (2) before a word containing "conftest.", or (3) at the end.
7248 # Note that $ac_compile itself does not contain backslashes and begins
7249 # with a dollar sign (not a hyphen), so the echo should work correctly.
7250 lt_compile=`echo "$ac_compile" | $SED \
7251 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7253 -e 's:$: $lt_compiler_flag:'`
7254 (eval echo "\"\$as_me:7254: $lt_compile\"" >&5)
7255 (eval "$lt_compile" 2>out/conftest.err)
7257 cat out/conftest.err >&5
7258 echo "$as_me:7258: \$? = $ac_status" >&5
7259 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7261 # The compiler can only warn and ignore the option if not recognized
7262 # So say no if there are warnings
7263 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7264 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7265 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7266 lt_cv_prog_compiler_c_o=yes
7271 # SGI C++ compiler will create directory out/ii_files/ for
7272 # template instantiation
7273 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7274 $RM out/* && rmdir out
7280 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7281 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7286 hard_links="nottested"
7287 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7288 # do not overwrite the value of need_locks provided by the user
7289 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7290 $as_echo_n "checking if we can lock with hard links... " >&6; }
7293 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7295 ln conftest.a conftest.b 2>&5 || hard_links=no
7296 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7297 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7298 $as_echo "$hard_links" >&6; }
7299 if test "$hard_links" = no; then
7300 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7301 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7313 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7314 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7317 allow_undefined_flag=
7318 always_export_symbols=no
7320 archive_expsym_cmds=
7321 compiler_needs_object=no
7322 enable_shared_with_static_runtimes=no
7323 export_dynamic_flag_spec=
7324 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7325 hardcode_automatic=no
7327 hardcode_direct_absolute=no
7328 hardcode_libdir_flag_spec=
7329 hardcode_libdir_flag_spec_ld=
7330 hardcode_libdir_separator=
7332 hardcode_shlibpath_var=unsupported
7334 link_all_deplibs=unknown
7337 old_archive_from_new_cmds=
7338 old_archive_from_expsyms_cmds=
7339 thread_safe_flag_spec=
7340 whole_archive_flag_spec=
7341 # include_expsyms should be a list of space-separated symbols to be *always*
7342 # included in the symbol list
7344 # exclude_expsyms can be an extended regexp of symbols to exclude
7345 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7346 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7347 # as well as any symbol that contains `d'.
7348 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7349 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7350 # platforms (ab)use it in PIC code, but their linkers get confused if
7351 # the symbol is explicitly referenced. Since portable code cannot
7352 # rely on this symbol name, it's probably fine to never include it in
7353 # preloaded symbol tables.
7354 # Exclude shared library initialization/finalization symbols.
7355 extract_expsyms_cmds=
7358 cygwin* | mingw* | pw32* | cegcc*)
7359 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7360 # When not using gcc, we currently assume that we are using
7361 # Microsoft Visual C++.
7362 if test "$GCC" != yes; then
7367 # we just hope/assume this is gcc and not c89 (= MSVC++)
7376 if test "$with_gnu_ld" = yes; then
7377 # If archive_cmds runs LD, not CC, wlarc should be empty
7380 # Set some defaults for GNU ld with shared library support. These
7381 # are reset later if shared libraries are not supported. Putting them
7382 # here allows them to be overridden if necessary.
7383 runpath_var=LD_RUN_PATH
7384 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7385 export_dynamic_flag_spec='${wl}--export-dynamic'
7386 # ancient GNU ld didn't support --whole-archive et. al.
7387 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7388 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7390 whole_archive_flag_spec=
7392 supports_anon_versioning=no
7393 case `$LD -v 2>&1` in
7394 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7395 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7396 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7397 *\ 2.11.*) ;; # other 2.11 versions
7398 *) supports_anon_versioning=yes ;;
7401 # See if GNU ld supports shared libraries.
7404 # On AIX/PPC, the GNU linker is very broken
7405 if test "$host_cpu" != ia64; then
7409 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7410 *** to be unable to reliably create shared libraries on AIX.
7411 *** Therefore, libtool is disabling shared libraries support. If you
7412 *** really care for shared libraries, you may want to modify your PATH
7413 *** so that a non-GNU linker is found, and then restart.
7422 # see comment about AmigaOS4 .so support
7423 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7424 archive_expsym_cmds=''
7427 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7428 hardcode_libdir_flag_spec='-L$libdir'
7429 hardcode_minus_L=yes
7435 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7436 allow_undefined_flag=unsupported
7437 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7438 # support --undefined. This deserves some investigation. FIXME
7439 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7445 cygwin* | mingw* | pw32* | cegcc*)
7446 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7447 # as there is no search path for DLLs.
7448 hardcode_libdir_flag_spec='-L$libdir'
7449 allow_undefined_flag=unsupported
7450 always_export_symbols=no
7451 enable_shared_with_static_runtimes=yes
7452 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7454 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7455 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7456 # If the export-symbols file already is a .def file (1st line
7457 # is EXPORTS), use it as is; otherwise, prepend...
7458 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7459 cp $export_symbols $output_objdir/$soname.def;
7461 echo EXPORTS > $output_objdir/$soname.def;
7462 cat $export_symbols >> $output_objdir/$soname.def;
7464 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7472 hardcode_shlibpath_var=no
7473 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7474 export_dynamic_flag_spec='${wl}-E'
7475 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7476 # Instead, shared libraries are loaded at an image base (0x10000000 by
7477 # default) and relocated if they conflict, which is a slow very memory
7478 # consuming and fragmenting process. To avoid this, we pick a random,
7479 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7480 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7481 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7482 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7485 gnu* | linux* | tpf* | k*bsd*-gnu)
7487 if test "$host_os" = linux-dietlibc; then
7488 case $cc_basename in
7489 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7492 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7493 && test "$tmp_diet" = no
7496 tmp_sharedflag='-shared'
7497 case $cc_basename,$host_cpu in
7498 pgcc*) # Portland Group C compiler
7499 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7500 tmp_addflag=' $pic_flag'
7502 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7503 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7504 tmp_addflag=' $pic_flag -Mnomain' ;;
7505 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7506 tmp_addflag=' -i_dynamic' ;;
7507 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7508 tmp_addflag=' -i_dynamic -nofor_main' ;;
7509 ifc* | ifort*) # Intel Fortran compiler
7510 tmp_addflag=' -nofor_main' ;;
7511 lf95*) # Lahey Fortran 8.1
7512 whole_archive_flag_spec=
7513 tmp_sharedflag='--shared' ;;
7514 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7515 tmp_sharedflag='-qmkshrobj'
7518 case `$CC -V 2>&1 | sed 5q` in
7519 *Sun\ C*) # Sun C 5.9
7520 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7521 compiler_needs_object=yes
7522 tmp_sharedflag='-G' ;;
7523 *Sun\ F*) # Sun Fortran 8.3
7524 tmp_sharedflag='-G' ;;
7526 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7528 if test "x$supports_anon_versioning" = xyes; then
7529 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7530 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7531 echo "local: *; };" >> $output_objdir/$libname.ver~
7532 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7535 case $cc_basename in
7537 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7538 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7539 hardcode_libdir_flag_spec=
7540 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7541 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7542 if test "x$supports_anon_versioning" = xyes; then
7543 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7544 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7545 echo "local: *; };" >> $output_objdir/$libname.ver~
7546 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7557 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7560 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7561 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7566 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7570 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7571 *** create shared libraries on Solaris systems. Therefore, libtool
7572 *** is disabling shared libraries support. We urge you to upgrade GNU
7573 *** binutils to release 2.9.1 or newer. Another option is to modify
7574 *** your PATH or compiler configuration so that the native linker is
7575 *** used, and then restart.
7578 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7579 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7580 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7586 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7587 case `$LD -v 2>&1` in
7588 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7592 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7593 *** reliably create shared libraries on SCO systems. Therefore, libtool
7594 *** is disabling shared libraries support. We urge you to upgrade GNU
7595 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7596 *** your PATH or compiler configuration so that the native linker is
7597 *** used, and then restart.
7602 # For security reasons, it is highly recommended that you always
7603 # use absolute paths for naming shared libraries, and exclude the
7604 # DT_RUNPATH tag from executables and libraries. But doing so
7605 # requires that you compile everything twice, which is a pain.
7606 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7607 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7609 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7618 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7621 hardcode_shlibpath_var=no
7625 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7626 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7627 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7634 if test "$ld_shlibs" = no; then
7636 hardcode_libdir_flag_spec=
7637 export_dynamic_flag_spec=
7638 whole_archive_flag_spec=
7641 # PORTME fill in a description of your system's linker (not GNU ld)
7644 allow_undefined_flag=unsupported
7645 always_export_symbols=yes
7646 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7647 # Note: this linker hardcodes the directories in LIBPATH if there
7648 # are no directories specified by -L.
7649 hardcode_minus_L=yes
7650 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7651 # Neither direct hardcoding nor static linking is supported with a
7653 hardcode_direct=unsupported
7658 if test "$host_cpu" = ia64; then
7659 # On IA64, the linker does run time linking by default, so we don't
7660 # have to do anything special.
7661 aix_use_runtimelinking=no
7662 exp_sym_flag='-Bexport'
7665 # If we're using GNU nm, then we don't want the "-C" option.
7666 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7667 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7668 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7670 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7672 aix_use_runtimelinking=no
7674 # Test if we are trying to use run time linking or normal
7675 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7676 # need to do runtime linking.
7677 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7678 for ld_flag in $LDFLAGS; do
7679 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7680 aix_use_runtimelinking=yes
7687 exp_sym_flag='-bexport'
7688 no_entry_flag='-bnoentry'
7691 # When large executables or shared objects are built, AIX ld can
7692 # have problems creating the table of contents. If linking a library
7693 # or program results in "error TOC overflow" add -mminimal-toc to
7694 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7695 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7699 hardcode_direct_absolute=yes
7700 hardcode_libdir_separator=':'
7701 link_all_deplibs=yes
7702 file_list_spec='${wl}-f,'
7704 if test "$GCC" = yes; then
7705 case $host_os in aix4.[012]|aix4.[012].*)
7706 # We only want to do this on AIX 4.2 and lower, the check
7707 # below for broken collect2 doesn't work under 4.3+
7708 collect2name=`${CC} -print-prog-name=collect2`
7709 if test -f "$collect2name" &&
7710 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7712 # We have reworked collect2
7715 # We have old collect2
7716 hardcode_direct=unsupported
7717 # It fails to find uninstalled libraries when the uninstalled
7718 # path is not listed in the libpath. Setting hardcode_minus_L
7719 # to unsupported forces relinking
7720 hardcode_minus_L=yes
7721 hardcode_libdir_flag_spec='-L$libdir'
7722 hardcode_libdir_separator=
7726 shared_flag='-shared'
7727 if test "$aix_use_runtimelinking" = yes; then
7728 shared_flag="$shared_flag "'${wl}-G'
7732 if test "$host_cpu" = ia64; then
7733 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7734 # chokes on -Wl,-G. The following line is correct:
7737 if test "$aix_use_runtimelinking" = yes; then
7738 shared_flag='${wl}-G'
7740 shared_flag='${wl}-bM:SRE'
7745 export_dynamic_flag_spec='${wl}-bexpall'
7746 # It seems that -bexpall does not export symbols beginning with
7747 # underscore (_), so it is better to generate a list of symbols to export.
7748 always_export_symbols=yes
7749 if test "$aix_use_runtimelinking" = yes; then
7750 # Warning - without using the other runtime loading flags (-brtl),
7751 # -berok will link without error, but may produce a broken library.
7752 allow_undefined_flag='-berok'
7753 # Determine the default libpath from the value encoded in an
7755 cat >conftest.$ac_ext <<_ACEOF
7758 cat confdefs.h >>conftest.$ac_ext
7759 cat >>conftest.$ac_ext <<_ACEOF
7760 /* end confdefs.h. */
7770 rm -f conftest.$ac_objext conftest$ac_exeext
7771 if { (ac_try="$ac_link"
7773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7774 *) ac_try_echo=$ac_try;;
7776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7777 $as_echo "$ac_try_echo") >&5
7778 (eval "$ac_link") 2>conftest.er1
7780 grep -v '^ *+' conftest.er1 >conftest.err
7782 cat conftest.err >&5
7783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); } && {
7785 test -z "$ac_c_werror_flag" ||
7786 test ! -s conftest.err
7787 } && test -s conftest$ac_exeext && {
7788 test "$cross_compiling" = yes ||
7789 $as_test_x conftest$ac_exeext
7792 lt_aix_libpath_sed='
7793 /Import File Strings/,/^$/ {
7799 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7800 # Check for a 64-bit object if we didn't find anything.
7801 if test -z "$aix_libpath"; then
7802 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7805 $as_echo "$as_me: failed program was:" >&5
7806 sed 's/^/| /' conftest.$ac_ext >&5
7811 rm -rf conftest.dSYM
7812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7813 conftest$ac_exeext conftest.$ac_ext
7814 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7816 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7817 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7819 if test "$host_cpu" = ia64; then
7820 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7821 allow_undefined_flag="-z nodefs"
7822 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7824 # Determine the default libpath from the value encoded in an
7826 cat >conftest.$ac_ext <<_ACEOF
7829 cat confdefs.h >>conftest.$ac_ext
7830 cat >>conftest.$ac_ext <<_ACEOF
7831 /* end confdefs.h. */
7841 rm -f conftest.$ac_objext conftest$ac_exeext
7842 if { (ac_try="$ac_link"
7844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7845 *) ac_try_echo=$ac_try;;
7847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7848 $as_echo "$ac_try_echo") >&5
7849 (eval "$ac_link") 2>conftest.er1
7851 grep -v '^ *+' conftest.er1 >conftest.err
7853 cat conftest.err >&5
7854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); } && {
7856 test -z "$ac_c_werror_flag" ||
7857 test ! -s conftest.err
7858 } && test -s conftest$ac_exeext && {
7859 test "$cross_compiling" = yes ||
7860 $as_test_x conftest$ac_exeext
7863 lt_aix_libpath_sed='
7864 /Import File Strings/,/^$/ {
7870 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7871 # Check for a 64-bit object if we didn't find anything.
7872 if test -z "$aix_libpath"; then
7873 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7876 $as_echo "$as_me: failed program was:" >&5
7877 sed 's/^/| /' conftest.$ac_ext >&5
7882 rm -rf conftest.dSYM
7883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7884 conftest$ac_exeext conftest.$ac_ext
7885 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7887 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7888 # Warning - without using the other run time loading flags,
7889 # -berok will link without error, but may produce a broken library.
7890 no_undefined_flag=' ${wl}-bernotok'
7891 allow_undefined_flag=' ${wl}-berok'
7892 # Exported symbols can be pulled into shared objects from archives
7893 whole_archive_flag_spec='$convenience'
7894 archive_cmds_need_lc=yes
7895 # This is similar to how AIX traditionally builds its shared libraries.
7896 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7904 # see comment about AmigaOS4 .so support
7905 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7906 archive_expsym_cmds=''
7909 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7910 hardcode_libdir_flag_spec='-L$libdir'
7911 hardcode_minus_L=yes
7917 export_dynamic_flag_spec=-rdynamic
7920 cygwin* | mingw* | pw32* | cegcc*)
7921 # When not using gcc, we currently assume that we are using
7922 # Microsoft Visual C++.
7923 # hardcode_libdir_flag_spec is actually meaningless, as there is
7924 # no search path for DLLs.
7925 hardcode_libdir_flag_spec=' '
7926 allow_undefined_flag=unsupported
7927 # Tell ltmain to make .lib files, not .a files.
7929 # Tell ltmain to make .dll files, not .so files.
7931 # FIXME: Setting linknames here is a bad hack.
7932 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7933 # The linker will automatically build a .lib file if we build a DLL.
7934 old_archive_from_new_cmds='true'
7935 # FIXME: Should let the user specify the lib program.
7936 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7937 fix_srcfile_path='`cygpath -w "$srcfile"`'
7938 enable_shared_with_static_runtimes=yes
7941 darwin* | rhapsody*)
7944 archive_cmds_need_lc=no
7946 hardcode_automatic=yes
7947 hardcode_shlibpath_var=unsupported
7948 whole_archive_flag_spec=''
7949 link_all_deplibs=yes
7950 allow_undefined_flag="$_lt_dar_allow_undefined"
7951 case $cc_basename in
7952 ifort*) _lt_dar_can_shared=yes ;;
7953 *) _lt_dar_can_shared=$GCC ;;
7955 if test "$_lt_dar_can_shared" = "yes"; then
7956 output_verbose_link_cmd=echo
7957 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7958 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7959 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
7960 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7969 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7970 hardcode_libdir_flag_spec='-L$libdir'
7971 hardcode_shlibpath_var=no
7978 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7979 # support. Future versions do this automatically, but an explicit c++rt0.o
7980 # does not break anything, and helps significantly (at the cost of a little
7983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7984 hardcode_libdir_flag_spec='-R$libdir'
7986 hardcode_shlibpath_var=no
7989 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7991 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7993 hardcode_minus_L=yes
7994 hardcode_shlibpath_var=no
7997 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7998 freebsd* | dragonfly*)
7999 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8000 hardcode_libdir_flag_spec='-R$libdir'
8002 hardcode_shlibpath_var=no
8006 if test "$GCC" = yes; then
8007 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8009 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8011 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8012 hardcode_libdir_separator=:
8015 # hardcode_minus_L: Not really in the search PATH,
8016 # but as the default location of the library.
8017 hardcode_minus_L=yes
8018 export_dynamic_flag_spec='${wl}-E'
8022 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8023 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8025 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8027 if test "$with_gnu_ld" = no; then
8028 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8029 hardcode_libdir_flag_spec_ld='+b $libdir'
8030 hardcode_libdir_separator=:
8032 hardcode_direct_absolute=yes
8033 export_dynamic_flag_spec='${wl}-E'
8034 # hardcode_minus_L: Not really in the search PATH,
8035 # but as the default location of the library.
8036 hardcode_minus_L=yes
8041 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8044 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8047 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8050 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8056 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8059 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8062 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8066 if test "$with_gnu_ld" = no; then
8067 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8068 hardcode_libdir_separator=:
8073 hardcode_shlibpath_var=no
8077 hardcode_direct_absolute=yes
8078 export_dynamic_flag_spec='${wl}-E'
8080 # hardcode_minus_L: Not really in the search PATH,
8081 # but as the default location of the library.
8082 hardcode_minus_L=yes
8088 irix5* | irix6* | nonstopux*)
8089 if test "$GCC" = yes; then
8090 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8091 # Try to use the -exported_symbol ld option, if it does not
8092 # work, assume that -exports_file does not work either and
8093 # implicitly export all symbols.
8094 save_LDFLAGS="$LDFLAGS"
8095 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8096 cat >conftest.$ac_ext <<_ACEOF
8099 rm -f conftest.$ac_objext conftest$ac_exeext
8100 if { (ac_try="$ac_link"
8102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8103 *) ac_try_echo=$ac_try;;
8105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8106 $as_echo "$ac_try_echo") >&5
8107 (eval "$ac_link") 2>conftest.er1
8109 grep -v '^ *+' conftest.er1 >conftest.err
8111 cat conftest.err >&5
8112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); } && {
8114 test -z "$ac_c_werror_flag" ||
8115 test ! -s conftest.err
8116 } && test -s conftest$ac_exeext && {
8117 test "$cross_compiling" = yes ||
8118 $as_test_x conftest$ac_exeext
8120 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8123 $as_echo "$as_me: failed program was:" >&5
8124 sed 's/^/| /' conftest.$ac_ext >&5
8129 rm -rf conftest.dSYM
8130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8131 conftest$ac_exeext conftest.$ac_ext
8132 LDFLAGS="$save_LDFLAGS"
8134 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8135 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8137 archive_cmds_need_lc='no'
8138 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8139 hardcode_libdir_separator=:
8141 link_all_deplibs=yes
8145 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8146 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8148 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8150 hardcode_libdir_flag_spec='-R$libdir'
8152 hardcode_shlibpath_var=no
8156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8158 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8159 hardcode_libdir_separator=:
8160 hardcode_shlibpath_var=no
8167 if test -f /usr/libexec/ld.so; then
8169 hardcode_shlibpath_var=no
8170 hardcode_direct_absolute=yes
8171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8172 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8173 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8174 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8175 export_dynamic_flag_spec='${wl}-E'
8178 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8179 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8180 hardcode_libdir_flag_spec='-R$libdir'
8183 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8184 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8194 hardcode_libdir_flag_spec='-L$libdir'
8195 hardcode_minus_L=yes
8196 allow_undefined_flag=unsupported
8197 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8198 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8202 if test "$GCC" = yes; then
8203 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8204 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8206 allow_undefined_flag=' -expect_unresolved \*'
8207 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8209 archive_cmds_need_lc='no'
8210 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8211 hardcode_libdir_separator=:
8214 osf4* | osf5*) # as osf3* with the addition of -msym flag
8215 if test "$GCC" = yes; then
8216 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8217 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8218 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8220 allow_undefined_flag=' -expect_unresolved \*'
8221 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8222 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8223 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8225 # Both c and cxx compiler support -rpath directly
8226 hardcode_libdir_flag_spec='-rpath $libdir'
8228 archive_cmds_need_lc='no'
8229 hardcode_libdir_separator=:
8233 no_undefined_flag=' -z defs'
8234 if test "$GCC" = yes; then
8236 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8237 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8238 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8240 case `$CC -V 2>&1` in
8243 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8244 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8245 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8249 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8250 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8251 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8255 hardcode_libdir_flag_spec='-R$libdir'
8256 hardcode_shlibpath_var=no
8258 solaris2.[0-5] | solaris2.[0-5].*) ;;
8260 # The compiler driver will combine and reorder linker options,
8261 # but understands `-z linker_flag'. GCC discards it without `$wl',
8262 # but is careful enough not to reorder.
8263 # Supported since Solaris 2.6 (maybe 2.5.1?)
8264 if test "$GCC" = yes; then
8265 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8267 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8271 link_all_deplibs=yes
8275 if test "x$host_vendor" = xsequent; then
8276 # Use $CC to link under sequent, because it throws in some extra .o
8277 # files that make .init and .fini sections work.
8278 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8280 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8282 hardcode_libdir_flag_spec='-L$libdir'
8284 hardcode_minus_L=yes
8285 hardcode_shlibpath_var=no
8289 case $host_vendor in
8291 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8292 hardcode_direct=yes # is this really true???
8295 ## LD is ld it makes a PLAMLIB
8296 ## CC just makes a GrossModule.
8297 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8298 reload_cmds='$CC -r -o $output$reload_objs'
8302 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8303 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8306 runpath_var='LD_RUN_PATH'
8307 hardcode_shlibpath_var=no
8311 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8312 hardcode_shlibpath_var=no
8313 export_dynamic_flag_spec='-Bexport'
8317 if test -d /usr/nec; then
8318 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8319 hardcode_shlibpath_var=no
8320 runpath_var=LD_RUN_PATH
8321 hardcode_runpath_var=yes
8326 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8327 no_undefined_flag='${wl}-z,text'
8328 archive_cmds_need_lc=no
8329 hardcode_shlibpath_var=no
8330 runpath_var='LD_RUN_PATH'
8332 if test "$GCC" = yes; then
8333 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8334 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8336 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8337 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8341 sysv5* | sco3.2v5* | sco5v6*)
8342 # Note: We can NOT use -z defs as we might desire, because we do not
8343 # link with -lc, and that would cause any symbols used from libc to
8344 # always be unresolved, which means just about no library would
8345 # ever link correctly. If we're not using GNU ld we use -z text
8346 # though, which does catch some bad symbols but isn't as heavy-handed
8348 no_undefined_flag='${wl}-z,text'
8349 allow_undefined_flag='${wl}-z,nodefs'
8350 archive_cmds_need_lc=no
8351 hardcode_shlibpath_var=no
8352 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8353 hardcode_libdir_separator=':'
8354 link_all_deplibs=yes
8355 export_dynamic_flag_spec='${wl}-Bexport'
8356 runpath_var='LD_RUN_PATH'
8358 if test "$GCC" = yes; then
8359 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8360 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8362 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8363 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8368 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8369 hardcode_libdir_flag_spec='-L$libdir'
8370 hardcode_shlibpath_var=no
8378 if test x$host_vendor = xsni; then
8380 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8381 export_dynamic_flag_spec='${wl}-Blargedynsym'
8387 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8388 $as_echo "$ld_shlibs" >&6; }
8389 test "$ld_shlibs" = no && can_build_shared=no
8391 with_gnu_ld=$with_gnu_ld
8408 # Do we need to explicitly link libc?
8410 case "x$archive_cmds_need_lc" in
8412 # Assume -lc should be added
8413 archive_cmds_need_lc=yes
8415 if test "$enable_shared" = yes && test "$GCC" = yes; then
8416 case $archive_cmds in
8418 # FIXME: we may have to deal with multi-command sequences.
8421 # Test whether the compiler implicitly links with -lc since on some
8422 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8423 # to ld, don't add -lc before -lgcc.
8424 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8425 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8430 (eval $ac_compile) 2>&5
8432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); } 2>conftest.err; then
8436 libobjs=conftest.$ac_objext
8438 wl=$lt_prog_compiler_wl
8439 pic_flag=$lt_prog_compiler_pic
8445 lt_save_allow_undefined_flag=$allow_undefined_flag
8446 allow_undefined_flag=
8447 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8448 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); }
8453 archive_cmds_need_lc=no
8455 archive_cmds_need_lc=yes
8457 allow_undefined_flag=$lt_save_allow_undefined_flag
8459 cat conftest.err 1>&5
8462 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8463 $as_echo "$archive_cmds_need_lc" >&6; }
8626 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8627 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8629 if test "$GCC" = yes; then
8631 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8632 *) lt_awk_arg="/^libraries:/" ;;
8634 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8635 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8636 # if the path contains ";" then we assume it to be the separator
8637 # otherwise default to the standard path separator (i.e. ":") - it is
8638 # assumed that no part of a normal pathname contains ";" but that should
8639 # okay in the real world where ";" in dirpaths is itself problematic.
8640 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8642 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8644 # Ok, now we have the path, separated by spaces, we can step through it
8645 # and add multilib dir if necessary.
8646 lt_tmp_lt_search_path_spec=
8647 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8648 for lt_sys_path in $lt_search_path_spec; do
8649 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8650 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8652 test -d "$lt_sys_path" && \
8653 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8656 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8657 BEGIN {RS=" "; FS="/|\n";} {
8660 for (lt_i = NF; lt_i > 0; lt_i--) {
8661 if ($lt_i != "" && $lt_i != ".") {
8662 if ($lt_i == "..") {
8665 if (lt_count == 0) {
8666 lt_foo="/" $lt_i lt_foo;
8673 if (lt_foo != "") { lt_freq[lt_foo]++; }
8674 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8676 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8678 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8681 libname_spec='lib$name'
8689 shlibpath_overrides_runpath=unknown
8691 dynamic_linker="$host_os ld.so"
8692 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8693 need_lib_prefix=unknown
8694 hardcode_into_libs=no
8696 # when you set need_version to no, make sure it does not cause -set_version
8697 # flags to be left without arguments
8698 need_version=unknown
8703 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8704 shlibpath_var=LIBPATH
8706 # AIX 3 has no versioning support, so we append a major version to the name.
8707 soname_spec='${libname}${release}${shared_ext}$major'
8714 hardcode_into_libs=yes
8715 if test "$host_cpu" = ia64; then
8716 # AIX 5 supports IA64
8717 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8718 shlibpath_var=LD_LIBRARY_PATH
8720 # With GCC up to 2.95.x, collect2 would create an import file
8721 # for dependence libraries. The import file would start with
8722 # the line `#! .'. This would cause the generated library to
8723 # depend on `.', always an invalid library. This was fixed in
8724 # development snapshots of GCC prior to 3.0.
8726 aix4 | aix4.[01] | aix4.[01].*)
8727 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8729 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8736 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8737 # soname into executable. Probably we can add versioning support to
8738 # collect2, so additional links can be useful in future.
8739 if test "$aix_use_runtimelinking" = yes; then
8740 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8741 # instead of lib<name>.a to let people know that these are not
8742 # typical AIX shared libraries.
8743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8745 # We preserve .a as extension for shared libraries through AIX4.2
8746 # and later when we are not doing run time linking.
8747 library_names_spec='${libname}${release}.a $libname.a'
8748 soname_spec='${libname}${release}${shared_ext}$major'
8750 shlibpath_var=LIBPATH
8757 # Since July 2007 AmigaOS4 officially supports .so libraries.
8758 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8762 library_names_spec='$libname.ixlibrary $libname.a'
8763 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8764 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8770 library_names_spec='${libname}${shared_ext}'
8771 dynamic_linker="$host_os ld.so"
8772 shlibpath_var=LIBRARY_PATH
8778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8779 soname_spec='${libname}${release}${shared_ext}$major'
8780 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8781 shlibpath_var=LD_LIBRARY_PATH
8782 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8783 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8784 # the default ld.so.conf also contains /usr/contrib/lib and
8785 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8786 # libtool to hard-code these into programs
8789 cygwin* | mingw* | pw32* | cegcc*)
8790 version_type=windows
8795 case $GCC,$host_os in
8796 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8797 library_names_spec='$libname.dll.a'
8798 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8799 postinstall_cmds='base_file=`basename \${file}`~
8800 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8801 dldir=$destdir/`dirname \$dlpath`~
8802 test -d \$dldir || mkdir -p \$dldir~
8803 $install_prog $dir/$dlname \$dldir/$dlname~
8804 chmod a+x \$dldir/$dlname~
8805 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8806 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8808 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8809 dlpath=$dir/\$dldll~
8811 shlibpath_overrides_runpath=yes
8815 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8816 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8817 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8820 # MinGW DLLs use traditional 'lib' prefix
8821 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8822 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8823 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8824 # It is most probably a Windows format PATH printed by
8825 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8826 # path with ; separators, and with drive letters. We can handle the
8827 # drive letters (cygwin fileutils understands them), so leave them,
8828 # especially as we might pass files found there to a mingw objdump,
8829 # which wouldn't understand a cygwinified path. Ahh.
8830 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8832 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8836 # pw32 DLLs use 'pw' prefix rather than 'lib'
8837 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8843 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8846 dynamic_linker='Win32 ld.exe'
8847 # FIXME: first we should search . and the directory the executable is in
8851 darwin* | rhapsody*)
8852 dynamic_linker="$host_os dyld"
8856 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8857 soname_spec='${libname}${release}${major}$shared_ext'
8858 shlibpath_overrides_runpath=yes
8859 shlibpath_var=DYLD_LIBRARY_PATH
8860 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8862 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8863 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8871 soname_spec='${libname}${release}${shared_ext}$major'
8872 shlibpath_var=LD_LIBRARY_PATH
8879 freebsd* | dragonfly*)
8880 # DragonFly does not have aout. When/if they implement a new
8881 # versioning mechanism, adjust this.
8882 if test -x /usr/bin/objformat; then
8883 objformat=`/usr/bin/objformat`
8886 freebsd[123]*) objformat=aout ;;
8890 version_type=freebsd-$objformat
8891 case $version_type in
8893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8898 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8902 shlibpath_var=LD_LIBRARY_PATH
8905 shlibpath_overrides_runpath=yes
8907 freebsd3.[01]* | freebsdelf3.[01]*)
8908 shlibpath_overrides_runpath=yes
8909 hardcode_into_libs=yes
8911 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8912 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8913 shlibpath_overrides_runpath=no
8914 hardcode_into_libs=yes
8916 *) # from 4.6 on, and DragonFly
8917 shlibpath_overrides_runpath=yes
8918 hardcode_into_libs=yes
8927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8928 soname_spec='${libname}${release}${shared_ext}$major'
8929 shlibpath_var=LD_LIBRARY_PATH
8930 hardcode_into_libs=yes
8933 hpux9* | hpux10* | hpux11*)
8934 # Give a soname corresponding to the major version so that dld.sl refuses to
8935 # link against other versions.
8942 hardcode_into_libs=yes
8943 dynamic_linker="$host_os dld.so"
8944 shlibpath_var=LD_LIBRARY_PATH
8945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8947 soname_spec='${libname}${release}${shared_ext}$major'
8948 if test "X$HPUX_IA64_MODE" = X32; then
8949 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8951 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8957 hardcode_into_libs=yes
8958 dynamic_linker="$host_os dld.sl"
8959 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8960 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8962 soname_spec='${libname}${release}${shared_ext}$major'
8963 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8964 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8968 dynamic_linker="$host_os dld.sl"
8969 shlibpath_var=SHLIB_PATH
8970 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8972 soname_spec='${libname}${release}${shared_ext}$major'
8975 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8976 postinstall_cmds='chmod 555 $lib'
8983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8984 soname_spec='${libname}${release}${shared_ext}$major'
8985 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8986 shlibpath_var=LD_LIBRARY_PATH
8987 shlibpath_overrides_runpath=no
8988 hardcode_into_libs=yes
8991 irix5* | irix6* | nonstopux*)
8993 nonstopux*) version_type=nonstopux ;;
8995 if test "$lt_cv_prog_gnu_ld" = yes; then
9003 soname_spec='${libname}${release}${shared_ext}$major'
9004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9006 irix5* | nonstopux*)
9010 case $LD in # libtool.m4 will add one of these switches to LD
9011 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9012 libsuff= shlibsuff= libmagic=32-bit;;
9013 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9014 libsuff=32 shlibsuff=N32 libmagic=N32;;
9015 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9016 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9017 *) libsuff= shlibsuff= libmagic=never-match;;
9021 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9022 shlibpath_overrides_runpath=no
9023 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9024 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9025 hardcode_into_libs=yes
9028 # No shared lib support for Linux oldld, aout, or coff.
9029 linux*oldld* | linux*aout* | linux*coff*)
9033 # This must be Linux ELF.
9034 linux* | k*bsd*-gnu)
9038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9039 soname_spec='${libname}${release}${shared_ext}$major'
9040 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9041 shlibpath_var=LD_LIBRARY_PATH
9042 shlibpath_overrides_runpath=no
9043 # Some binutils ld are patched to set DT_RUNPATH
9044 save_LDFLAGS=$LDFLAGS
9046 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9047 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9048 cat >conftest.$ac_ext <<_ACEOF
9051 cat confdefs.h >>conftest.$ac_ext
9052 cat >>conftest.$ac_ext <<_ACEOF
9053 /* end confdefs.h. */
9063 rm -f conftest.$ac_objext conftest$ac_exeext
9064 if { (ac_try="$ac_link"
9066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9067 *) ac_try_echo=$ac_try;;
9069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9070 $as_echo "$ac_try_echo") >&5
9071 (eval "$ac_link") 2>conftest.er1
9073 grep -v '^ *+' conftest.er1 >conftest.err
9075 cat conftest.err >&5
9076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); } && {
9078 test -z "$ac_c_werror_flag" ||
9079 test ! -s conftest.err
9080 } && test -s conftest$ac_exeext && {
9081 test "$cross_compiling" = yes ||
9082 $as_test_x conftest$ac_exeext
9084 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9085 shlibpath_overrides_runpath=yes
9089 $as_echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9095 rm -rf conftest.dSYM
9096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9097 conftest$ac_exeext conftest.$ac_ext
9098 LDFLAGS=$save_LDFLAGS
9101 # This implies no fast_install, which is unacceptable.
9102 # Some rework will be needed to allow for fast_install
9103 # before this can be enabled.
9104 hardcode_into_libs=yes
9106 # Append ld.so.conf contents to the search path
9107 if test -f /etc/ld.so.conf; then
9108 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9109 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9112 # We used to test for /lib/ld.so.1 and disable shared libraries on
9113 # powerpc, because MkLinux only supported shared libraries with the
9114 # GNU dynamic linker. Since this was broken with cross compilers,
9115 # most powerpc-linux boxes support dynamic linking these days and
9116 # people can always --disable-shared, the test was removed, and we
9117 # assume the GNU/Linux dynamic linker is in use.
9118 dynamic_linker='GNU/Linux ld.so'
9125 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9127 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9128 dynamic_linker='NetBSD (a.out) ld.so'
9130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9131 soname_spec='${libname}${release}${shared_ext}$major'
9132 dynamic_linker='NetBSD ld.elf_so'
9134 shlibpath_var=LD_LIBRARY_PATH
9135 shlibpath_overrides_runpath=yes
9136 hardcode_into_libs=yes
9141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9142 shlibpath_var=LD_LIBRARY_PATH
9143 shlibpath_overrides_runpath=yes
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 soname_spec='${libname}${release}${shared_ext}$major'
9152 shlibpath_var=LD_LIBRARY_PATH
9153 shlibpath_overrides_runpath=no
9154 hardcode_into_libs=yes
9155 dynamic_linker='ldqnx.so'
9160 sys_lib_dlsearch_path_spec="/usr/lib"
9162 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9164 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9165 *) need_version=no ;;
9167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9168 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9169 shlibpath_var=LD_LIBRARY_PATH
9170 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9172 openbsd2.[89] | openbsd2.[89].*)
9173 shlibpath_overrides_runpath=no
9176 shlibpath_overrides_runpath=yes
9180 shlibpath_overrides_runpath=yes
9185 libname_spec='$name'
9188 library_names_spec='$libname${shared_ext} $libname.a'
9189 dynamic_linker='OS/2 ld.exe'
9190 shlibpath_var=LIBPATH
9193 osf3* | osf4* | osf5*)
9197 soname_spec='${libname}${release}${shared_ext}$major'
9198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9199 shlibpath_var=LD_LIBRARY_PATH
9200 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9201 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9213 soname_spec='${libname}${release}${shared_ext}$major'
9214 shlibpath_var=LD_LIBRARY_PATH
9215 shlibpath_overrides_runpath=yes
9216 hardcode_into_libs=yes
9217 # ldd complains unless libraries are executable
9218 postinstall_cmds='chmod +x $lib'
9223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9224 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9225 shlibpath_var=LD_LIBRARY_PATH
9226 shlibpath_overrides_runpath=yes
9227 if test "$with_gnu_ld" = yes; then
9235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9236 soname_spec='${libname}${release}${shared_ext}$major'
9237 shlibpath_var=LD_LIBRARY_PATH
9238 case $host_vendor in
9240 shlibpath_overrides_runpath=no
9242 runpath_var=LD_RUN_PATH
9250 shlibpath_overrides_runpath=no
9251 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9257 if test -d /usr/nec ;then
9259 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9260 soname_spec='$libname${shared_ext}.$major'
9261 shlibpath_var=LD_LIBRARY_PATH
9265 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9266 version_type=freebsd-elf
9269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9270 soname_spec='${libname}${release}${shared_ext}$major'
9271 shlibpath_var=LD_LIBRARY_PATH
9272 shlibpath_overrides_runpath=yes
9273 hardcode_into_libs=yes
9274 if test "$with_gnu_ld" = yes; then
9275 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9277 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9280 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9284 sys_lib_dlsearch_path_spec='/usr/lib'
9288 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9293 shlibpath_var=LD_LIBRARY_PATH
9294 shlibpath_overrides_runpath=no
9295 hardcode_into_libs=yes
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9301 soname_spec='${libname}${release}${shared_ext}$major'
9302 shlibpath_var=LD_LIBRARY_PATH
9309 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9310 $as_echo "$dynamic_linker" >&6; }
9311 test "$dynamic_linker" = no && can_build_shared=no
9313 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9314 if test "$GCC" = yes; then
9315 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9318 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9319 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9321 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9322 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9411 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9412 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9414 if test -n "$hardcode_libdir_flag_spec" ||
9415 test -n "$runpath_var" ||
9416 test "X$hardcode_automatic" = "Xyes" ; then
9418 # We can hardcode non-existent directories.
9419 if test "$hardcode_direct" != no &&
9420 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9421 # have to relink, otherwise we might link with an installed library
9422 # when we should be linking with a yet-to-be-installed one
9423 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9424 test "$hardcode_minus_L" != no; then
9425 # Linking always hardcodes the temporary library directory.
9426 hardcode_action=relink
9428 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9429 hardcode_action=immediate
9432 # We cannot hardcode anything, or else we can only hardcode existing
9434 hardcode_action=unsupported
9436 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9437 $as_echo "$hardcode_action" >&6; }
9439 if test "$hardcode_action" = relink ||
9440 test "$inherit_rpath" = yes; then
9441 # Fast installation is not supported
9442 enable_fast_install=no
9443 elif test "$shlibpath_overrides_runpath" = yes ||
9444 test "$enable_shared" = no; then
9445 # Fast installation is not necessary
9446 enable_fast_install=needless
9454 if test "x$enable_dlopen" != xyes; then
9455 enable_dlopen=unknown
9456 enable_dlopen_self=unknown
9457 enable_dlopen_self_static=unknown
9464 lt_cv_dlopen="load_add_on"
9466 lt_cv_dlopen_self=yes
9469 mingw* | pw32* | cegcc*)
9470 lt_cv_dlopen="LoadLibrary"
9475 lt_cv_dlopen="dlopen"
9480 # if libdl is installed we need to link against it
9481 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9482 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9483 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9484 $as_echo_n "(cached) " >&6
9486 ac_check_lib_save_LIBS=$LIBS
9488 cat >conftest.$ac_ext <<_ACEOF
9491 cat confdefs.h >>conftest.$ac_ext
9492 cat >>conftest.$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9510 rm -f conftest.$ac_objext conftest$ac_exeext
9511 if { (ac_try="$ac_link"
9513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9517 $as_echo "$ac_try_echo") >&5
9518 (eval "$ac_link") 2>conftest.er1
9520 grep -v '^ *+' conftest.er1 >conftest.err
9522 cat conftest.err >&5
9523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); } && {
9525 test -z "$ac_c_werror_flag" ||
9526 test ! -s conftest.err
9527 } && test -s conftest$ac_exeext && {
9528 test "$cross_compiling" = yes ||
9529 $as_test_x conftest$ac_exeext
9531 ac_cv_lib_dl_dlopen=yes
9533 $as_echo "$as_me: failed program was:" >&5
9534 sed 's/^/| /' conftest.$ac_ext >&5
9536 ac_cv_lib_dl_dlopen=no
9539 rm -rf conftest.dSYM
9540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_lib_save_LIBS
9544 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9545 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9546 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9547 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9552 lt_cv_dlopen_self=yes
9559 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9560 $as_echo_n "checking for shl_load... " >&6; }
9561 if test "${ac_cv_func_shl_load+set}" = set; then
9562 $as_echo_n "(cached) " >&6
9564 cat >conftest.$ac_ext <<_ACEOF
9567 cat confdefs.h >>conftest.$ac_ext
9568 cat >>conftest.$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9570 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9572 #define shl_load innocuous_shl_load
9574 /* System header to define __stub macros and hopefully few prototypes,
9575 which can conflict with char shl_load (); below.
9576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9577 <limits.h> exists even on freestanding compilers. */
9580 # include <limits.h>
9582 # include <assert.h>
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9594 /* The GNU C library defines this for functions which it implements
9595 to always fail with ENOSYS. Some functions are actually named
9596 something starting with __ and the normal name is an alias. */
9597 #if defined __stub_shl_load || defined __stub___shl_load
9609 rm -f conftest.$ac_objext conftest$ac_exeext
9610 if { (ac_try="$ac_link"
9612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9613 *) ac_try_echo=$ac_try;;
9615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9616 $as_echo "$ac_try_echo") >&5
9617 (eval "$ac_link") 2>conftest.er1
9619 grep -v '^ *+' conftest.er1 >conftest.err
9621 cat conftest.err >&5
9622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && {
9624 test -z "$ac_c_werror_flag" ||
9625 test ! -s conftest.err
9626 } && test -s conftest$ac_exeext && {
9627 test "$cross_compiling" = yes ||
9628 $as_test_x conftest$ac_exeext
9630 ac_cv_func_shl_load=yes
9632 $as_echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9635 ac_cv_func_shl_load=no
9638 rm -rf conftest.dSYM
9639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9640 conftest$ac_exeext conftest.$ac_ext
9642 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9643 $as_echo "$ac_cv_func_shl_load" >&6; }
9644 if test "x$ac_cv_func_shl_load" = x""yes; then
9645 lt_cv_dlopen="shl_load"
9647 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9648 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9649 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9650 $as_echo_n "(cached) " >&6
9652 ac_check_lib_save_LIBS=$LIBS
9654 cat >conftest.$ac_ext <<_ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
9659 /* end confdefs.h. */
9661 /* Override any GCC internal prototype to avoid an error.
9662 Use char because int might match the return type of a GCC
9663 builtin and then its argument prototype would still apply. */
9676 rm -f conftest.$ac_objext conftest$ac_exeext
9677 if { (ac_try="$ac_link"
9679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9680 *) ac_try_echo=$ac_try;;
9682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9683 $as_echo "$ac_try_echo") >&5
9684 (eval "$ac_link") 2>conftest.er1
9686 grep -v '^ *+' conftest.er1 >conftest.err
9688 cat conftest.err >&5
9689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); } && {
9691 test -z "$ac_c_werror_flag" ||
9692 test ! -s conftest.err
9693 } && test -s conftest$ac_exeext && {
9694 test "$cross_compiling" = yes ||
9695 $as_test_x conftest$ac_exeext
9697 ac_cv_lib_dld_shl_load=yes
9699 $as_echo "$as_me: failed program was:" >&5
9700 sed 's/^/| /' conftest.$ac_ext >&5
9702 ac_cv_lib_dld_shl_load=no
9705 rm -rf conftest.dSYM
9706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9707 conftest$ac_exeext conftest.$ac_ext
9708 LIBS=$ac_check_lib_save_LIBS
9710 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9711 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9712 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9713 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9715 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9716 $as_echo_n "checking for dlopen... " >&6; }
9717 if test "${ac_cv_func_dlopen+set}" = set; then
9718 $as_echo_n "(cached) " >&6
9720 cat >conftest.$ac_ext <<_ACEOF
9723 cat confdefs.h >>conftest.$ac_ext
9724 cat >>conftest.$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9726 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9728 #define dlopen innocuous_dlopen
9730 /* System header to define __stub macros and hopefully few prototypes,
9731 which can conflict with char dlopen (); below.
9732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9733 <limits.h> exists even on freestanding compilers. */
9736 # include <limits.h>
9738 # include <assert.h>
9743 /* Override any GCC internal prototype to avoid an error.
9744 Use char because int might match the return type of a GCC
9745 builtin and then its argument prototype would still apply. */
9750 /* The GNU C library defines this for functions which it implements
9751 to always fail with ENOSYS. Some functions are actually named
9752 something starting with __ and the normal name is an alias. */
9753 #if defined __stub_dlopen || defined __stub___dlopen
9765 rm -f conftest.$ac_objext conftest$ac_exeext
9766 if { (ac_try="$ac_link"
9768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9769 *) ac_try_echo=$ac_try;;
9771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9772 $as_echo "$ac_try_echo") >&5
9773 (eval "$ac_link") 2>conftest.er1
9775 grep -v '^ *+' conftest.er1 >conftest.err
9777 cat conftest.err >&5
9778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } && {
9780 test -z "$ac_c_werror_flag" ||
9781 test ! -s conftest.err
9782 } && test -s conftest$ac_exeext && {
9783 test "$cross_compiling" = yes ||
9784 $as_test_x conftest$ac_exeext
9786 ac_cv_func_dlopen=yes
9788 $as_echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9791 ac_cv_func_dlopen=no
9794 rm -rf conftest.dSYM
9795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9796 conftest$ac_exeext conftest.$ac_ext
9798 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9799 $as_echo "$ac_cv_func_dlopen" >&6; }
9800 if test "x$ac_cv_func_dlopen" = x""yes; then
9801 lt_cv_dlopen="dlopen"
9803 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9804 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9805 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9806 $as_echo_n "(cached) " >&6
9808 ac_check_lib_save_LIBS=$LIBS
9810 cat >conftest.$ac_ext <<_ACEOF
9813 cat confdefs.h >>conftest.$ac_ext
9814 cat >>conftest.$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9832 rm -f conftest.$ac_objext conftest$ac_exeext
9833 if { (ac_try="$ac_link"
9835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9836 *) ac_try_echo=$ac_try;;
9838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9839 $as_echo "$ac_try_echo") >&5
9840 (eval "$ac_link") 2>conftest.er1
9842 grep -v '^ *+' conftest.er1 >conftest.err
9844 cat conftest.err >&5
9845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } && {
9847 test -z "$ac_c_werror_flag" ||
9848 test ! -s conftest.err
9849 } && test -s conftest$ac_exeext && {
9850 test "$cross_compiling" = yes ||
9851 $as_test_x conftest$ac_exeext
9853 ac_cv_lib_dl_dlopen=yes
9855 $as_echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.$ac_ext >&5
9858 ac_cv_lib_dl_dlopen=no
9861 rm -rf conftest.dSYM
9862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_lib_save_LIBS
9866 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9868 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9869 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9871 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9872 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9873 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9874 $as_echo_n "(cached) " >&6
9876 ac_check_lib_save_LIBS=$LIBS
9878 cat >conftest.$ac_ext <<_ACEOF
9881 cat confdefs.h >>conftest.$ac_ext
9882 cat >>conftest.$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9900 rm -f conftest.$ac_objext conftest$ac_exeext
9901 if { (ac_try="$ac_link"
9903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9904 *) ac_try_echo=$ac_try;;
9906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9907 $as_echo "$ac_try_echo") >&5
9908 (eval "$ac_link") 2>conftest.er1
9910 grep -v '^ *+' conftest.er1 >conftest.err
9912 cat conftest.err >&5
9913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); } && {
9915 test -z "$ac_c_werror_flag" ||
9916 test ! -s conftest.err
9917 } && test -s conftest$ac_exeext && {
9918 test "$cross_compiling" = yes ||
9919 $as_test_x conftest$ac_exeext
9921 ac_cv_lib_svld_dlopen=yes
9923 $as_echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 ac_cv_lib_svld_dlopen=no
9929 rm -rf conftest.dSYM
9930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9931 conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_lib_save_LIBS
9934 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9935 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9936 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9937 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9939 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9940 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9941 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9942 $as_echo_n "(cached) " >&6
9944 ac_check_lib_save_LIBS=$LIBS
9946 cat >conftest.$ac_ext <<_ACEOF
9949 cat confdefs.h >>conftest.$ac_ext
9950 cat >>conftest.$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9953 /* Override any GCC internal prototype to avoid an error.
9954 Use char because int might match the return type of a GCC
9955 builtin and then its argument prototype would still apply. */
9968 rm -f conftest.$ac_objext conftest$ac_exeext
9969 if { (ac_try="$ac_link"
9971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9972 *) ac_try_echo=$ac_try;;
9974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9975 $as_echo "$ac_try_echo") >&5
9976 (eval "$ac_link") 2>conftest.er1
9978 grep -v '^ *+' conftest.er1 >conftest.err
9980 cat conftest.err >&5
9981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } && {
9983 test -z "$ac_c_werror_flag" ||
9984 test ! -s conftest.err
9985 } && test -s conftest$ac_exeext && {
9986 test "$cross_compiling" = yes ||
9987 $as_test_x conftest$ac_exeext
9989 ac_cv_lib_dld_dld_link=yes
9991 $as_echo "$as_me: failed program was:" >&5
9992 sed 's/^/| /' conftest.$ac_ext >&5
9994 ac_cv_lib_dld_dld_link=no
9997 rm -rf conftest.dSYM
9998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9999 conftest$ac_exeext conftest.$ac_ext
10000 LIBS=$ac_check_lib_save_LIBS
10002 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10003 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10004 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10005 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10026 if test "x$lt_cv_dlopen" != xno; then
10032 case $lt_cv_dlopen in
10034 save_CPPFLAGS="$CPPFLAGS"
10035 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10037 save_LDFLAGS="$LDFLAGS"
10038 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10041 LIBS="$lt_cv_dlopen_libs $LIBS"
10043 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10044 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10045 if test "${lt_cv_dlopen_self+set}" = set; then
10046 $as_echo_n "(cached) " >&6
10048 if test "$cross_compiling" = yes; then :
10049 lt_cv_dlopen_self=cross
10051 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10052 lt_status=$lt_dlunknown
10053 cat > conftest.$ac_ext <<_LT_EOF
10054 #line 10054 "configure"
10055 #include "confdefs.h"
10064 # define LT_DLGLOBAL RTLD_GLOBAL
10067 # define LT_DLGLOBAL DL_GLOBAL
10069 # define LT_DLGLOBAL 0
10073 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10074 find out it does not work in some platform. */
10075 #ifndef LT_DLLAZY_OR_NOW
10077 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10080 # define LT_DLLAZY_OR_NOW DL_LAZY
10083 # define LT_DLLAZY_OR_NOW RTLD_NOW
10086 # define LT_DLLAZY_OR_NOW DL_NOW
10088 # define LT_DLLAZY_OR_NOW 0
10095 void fnord() { int i=42;}
10098 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10099 int status = $lt_dlunknown;
10103 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10104 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10105 /* dlclose (self); */
10113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10114 (eval $ac_link) 2>&5
10116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10118 (./conftest; exit; ) >&5 2>/dev/null
10120 case x$lt_status in
10121 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10122 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10123 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10126 # compilation failed
10127 lt_cv_dlopen_self=no
10134 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10135 $as_echo "$lt_cv_dlopen_self" >&6; }
10137 if test "x$lt_cv_dlopen_self" = xyes; then
10138 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10139 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10140 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10141 if test "${lt_cv_dlopen_self_static+set}" = set; then
10142 $as_echo_n "(cached) " >&6
10144 if test "$cross_compiling" = yes; then :
10145 lt_cv_dlopen_self_static=cross
10147 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10148 lt_status=$lt_dlunknown
10149 cat > conftest.$ac_ext <<_LT_EOF
10150 #line 10150 "configure"
10151 #include "confdefs.h"
10160 # define LT_DLGLOBAL RTLD_GLOBAL
10163 # define LT_DLGLOBAL DL_GLOBAL
10165 # define LT_DLGLOBAL 0
10169 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10170 find out it does not work in some platform. */
10171 #ifndef LT_DLLAZY_OR_NOW
10173 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10176 # define LT_DLLAZY_OR_NOW DL_LAZY
10179 # define LT_DLLAZY_OR_NOW RTLD_NOW
10182 # define LT_DLLAZY_OR_NOW DL_NOW
10184 # define LT_DLLAZY_OR_NOW 0
10191 void fnord() { int i=42;}
10194 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10195 int status = $lt_dlunknown;
10199 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10200 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10201 /* dlclose (self); */
10209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10210 (eval $ac_link) 2>&5
10212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10214 (./conftest; exit; ) >&5 2>/dev/null
10216 case x$lt_status in
10217 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10218 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10219 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10222 # compilation failed
10223 lt_cv_dlopen_self_static=no
10230 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10231 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10234 CPPFLAGS="$save_CPPFLAGS"
10235 LDFLAGS="$save_LDFLAGS"
10240 case $lt_cv_dlopen_self in
10241 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10242 *) enable_dlopen_self=unknown ;;
10245 case $lt_cv_dlopen_self_static in
10246 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10247 *) enable_dlopen_self_static=unknown ;;
10269 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10270 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10271 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10272 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10273 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10274 { $as_echo "$as_me:$LINENO: result: yes" >&5
10275 $as_echo "yes" >&6; }
10277 # FIXME - insert some real tests, host_os isn't really good enough
10280 if test -n "$STRIP" ; then
10281 striplib="$STRIP -x"
10282 old_striplib="$STRIP -S"
10283 { $as_echo "$as_me:$LINENO: result: yes" >&5
10284 $as_echo "yes" >&6; }
10286 { $as_echo "$as_me:$LINENO: result: no" >&5
10287 $as_echo "no" >&6; }
10291 { $as_echo "$as_me:$LINENO: result: no" >&5
10292 $as_echo "no" >&6; }
10308 # Report which library types will actually be built
10309 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10310 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10311 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10312 $as_echo "$can_build_shared" >&6; }
10314 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10315 $as_echo_n "checking whether to build shared libraries... " >&6; }
10316 test "$can_build_shared" = "no" && enable_shared=no
10318 # On AIX, shared libraries and static libraries use the same namespace, and
10319 # are all built from PIC.
10322 test "$enable_shared" = yes && enable_static=no
10323 if test -n "$RANLIB"; then
10324 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10325 postinstall_cmds='$RANLIB $lib'
10330 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10331 test "$enable_shared" = yes && enable_static=no
10335 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10336 $as_echo "$enable_shared" >&6; }
10338 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10339 $as_echo_n "checking whether to build static libraries... " >&6; }
10340 # Make sure either enable_shared or enable_static is yes.
10341 test "$enable_shared" = yes || enable_static=yes
10342 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10343 $as_echo "$enable_static" >&6; }
10350 ac_cpp='$CPP $CPPFLAGS'
10351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10369 ac_config_commands="$ac_config_commands libtool"
10374 # Only expand once:
10378 # Check whether --enable-shared was given.
10379 if test "${enable_shared+set}" = set; then
10380 enableval=$enable_shared;
10387 # Check whether --enable-gettext was given.
10388 if test "${enable_gettext+set}" = set; then
10389 enableval=$enable_gettext;
10396 # Check whether --enable-lib64 was given.
10397 if test "${enable_lib64+set}" = set; then
10398 enableval=$enable_lib64;
10409 ac_cpp='$CPP $CPPFLAGS'
10410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10413 if test -n "$ac_tool_prefix"; then
10414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10417 $as_echo_n "checking for $ac_word... " >&6; }
10418 if test "${ac_cv_prog_CC+set}" = set; then
10419 $as_echo_n "(cached) " >&6
10421 if test -n "$CC"; then
10422 ac_cv_prog_CC="$CC" # Let the user override the test.
10424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10425 for as_dir in $PATH
10428 test -z "$as_dir" && as_dir=.
10429 for ac_exec_ext in '' $ac_executable_extensions; do
10430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10431 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10432 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10442 if test -n "$CC"; then
10443 { $as_echo "$as_me:$LINENO: result: $CC" >&5
10444 $as_echo "$CC" >&6; }
10446 { $as_echo "$as_me:$LINENO: result: no" >&5
10447 $as_echo "no" >&6; }
10452 if test -z "$ac_cv_prog_CC"; then
10454 # Extract the first word of "gcc", so it can be a program name with args.
10455 set dummy gcc; ac_word=$2
10456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10457 $as_echo_n "checking for $ac_word... " >&6; }
10458 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10459 $as_echo_n "(cached) " >&6
10461 if test -n "$ac_ct_CC"; then
10462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10465 for as_dir in $PATH
10468 test -z "$as_dir" && as_dir=.
10469 for ac_exec_ext in '' $ac_executable_extensions; do
10470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10471 ac_cv_prog_ac_ct_CC="gcc"
10472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10482 if test -n "$ac_ct_CC"; then
10483 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10484 $as_echo "$ac_ct_CC" >&6; }
10486 { $as_echo "$as_me:$LINENO: result: no" >&5
10487 $as_echo "no" >&6; }
10490 if test "x$ac_ct_CC" = x; then
10493 case $cross_compiling:$ac_tool_warned in
10495 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10497 ac_tool_warned=yes ;;
10502 CC="$ac_cv_prog_CC"
10505 if test -z "$CC"; then
10506 if test -n "$ac_tool_prefix"; then
10507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10508 set dummy ${ac_tool_prefix}cc; ac_word=$2
10509 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10510 $as_echo_n "checking for $ac_word... " >&6; }
10511 if test "${ac_cv_prog_CC+set}" = set; then
10512 $as_echo_n "(cached) " >&6
10514 if test -n "$CC"; then
10515 ac_cv_prog_CC="$CC" # Let the user override the test.
10517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10518 for as_dir in $PATH
10521 test -z "$as_dir" && as_dir=.
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10524 ac_cv_prog_CC="${ac_tool_prefix}cc"
10525 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10535 if test -n "$CC"; then
10536 { $as_echo "$as_me:$LINENO: result: $CC" >&5
10537 $as_echo "$CC" >&6; }
10539 { $as_echo "$as_me:$LINENO: result: no" >&5
10540 $as_echo "no" >&6; }
10546 if test -z "$CC"; then
10547 # Extract the first word of "cc", so it can be a program name with args.
10548 set dummy cc; ac_word=$2
10549 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10550 $as_echo_n "checking for $ac_word... " >&6; }
10551 if test "${ac_cv_prog_CC+set}" = set; then
10552 $as_echo_n "(cached) " >&6
10554 if test -n "$CC"; then
10555 ac_cv_prog_CC="$CC" # Let the user override the test.
10557 ac_prog_rejected=no
10558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10559 for as_dir in $PATH
10562 test -z "$as_dir" && as_dir=.
10563 for ac_exec_ext in '' $ac_executable_extensions; do
10564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10565 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10566 ac_prog_rejected=yes
10570 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10577 if test $ac_prog_rejected = yes; then
10578 # We found a bogon in the path, so make sure we never use it.
10579 set dummy $ac_cv_prog_CC
10581 if test $# != 0; then
10582 # We chose a different compiler from the bogus one.
10583 # However, it has the same basename, so the bogon will be chosen
10584 # first if we set CC to just the basename; use the full file name.
10586 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10592 if test -n "$CC"; then
10593 { $as_echo "$as_me:$LINENO: result: $CC" >&5
10594 $as_echo "$CC" >&6; }
10596 { $as_echo "$as_me:$LINENO: result: no" >&5
10597 $as_echo "no" >&6; }
10602 if test -z "$CC"; then
10603 if test -n "$ac_tool_prefix"; then
10604 for ac_prog in cl.exe
10606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10608 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10609 $as_echo_n "checking for $ac_word... " >&6; }
10610 if test "${ac_cv_prog_CC+set}" = set; then
10611 $as_echo_n "(cached) " >&6
10613 if test -n "$CC"; then
10614 ac_cv_prog_CC="$CC" # Let the user override the test.
10616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10617 for as_dir in $PATH
10620 test -z "$as_dir" && as_dir=.
10621 for ac_exec_ext in '' $ac_executable_extensions; do
10622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10624 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10634 if test -n "$CC"; then
10635 { $as_echo "$as_me:$LINENO: result: $CC" >&5
10636 $as_echo "$CC" >&6; }
10638 { $as_echo "$as_me:$LINENO: result: no" >&5
10639 $as_echo "no" >&6; }
10643 test -n "$CC" && break
10646 if test -z "$CC"; then
10648 for ac_prog in cl.exe
10650 # Extract the first word of "$ac_prog", so it can be a program name with args.
10651 set dummy $ac_prog; ac_word=$2
10652 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10653 $as_echo_n "checking for $ac_word... " >&6; }
10654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10655 $as_echo_n "(cached) " >&6
10657 if test -n "$ac_ct_CC"; then
10658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10661 for as_dir in $PATH
10664 test -z "$as_dir" && as_dir=.
10665 for ac_exec_ext in '' $ac_executable_extensions; do
10666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10667 ac_cv_prog_ac_ct_CC="$ac_prog"
10668 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10678 if test -n "$ac_ct_CC"; then
10679 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10680 $as_echo "$ac_ct_CC" >&6; }
10682 { $as_echo "$as_me:$LINENO: result: no" >&5
10683 $as_echo "no" >&6; }
10687 test -n "$ac_ct_CC" && break
10690 if test "x$ac_ct_CC" = x; then
10693 case $cross_compiling:$ac_tool_warned in
10695 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10697 ac_tool_warned=yes ;;
10706 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
10707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10708 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10709 See \`config.log' for more details." >&5
10710 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
10711 See \`config.log' for more details." >&2;}
10712 { (exit 1); exit 1; }; }; }
10714 # Provide some information about the compiler.
10715 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
10718 { (ac_try="$ac_compiler --version >&5"
10719 case "(($ac_try" in
10720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10724 $as_echo "$ac_try_echo") >&5
10725 (eval "$ac_compiler --version >&5") 2>&5
10727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }
10729 { (ac_try="$ac_compiler -v >&5"
10730 case "(($ac_try" in
10731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10732 *) ac_try_echo=$ac_try;;
10734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10735 $as_echo "$ac_try_echo") >&5
10736 (eval "$ac_compiler -v >&5") 2>&5
10738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739 (exit $ac_status); }
10740 { (ac_try="$ac_compiler -V >&5"
10741 case "(($ac_try" in
10742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10743 *) ac_try_echo=$ac_try;;
10745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10746 $as_echo "$ac_try_echo") >&5
10747 (eval "$ac_compiler -V >&5") 2>&5
10749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); }
10752 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10753 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10754 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10755 $as_echo_n "(cached) " >&6
10757 cat >conftest.$ac_ext <<_ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10775 rm -f conftest.$ac_objext
10776 if { (ac_try="$ac_compile"
10777 case "(($ac_try" in
10778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10779 *) ac_try_echo=$ac_try;;
10781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10782 $as_echo "$ac_try_echo") >&5
10783 (eval "$ac_compile") 2>conftest.er1
10785 grep -v '^ *+' conftest.er1 >conftest.err
10787 cat conftest.err >&5
10788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } && {
10790 test -z "$ac_c_werror_flag" ||
10791 test ! -s conftest.err
10792 } && test -s conftest.$ac_objext; then
10793 ac_compiler_gnu=yes
10795 $as_echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10802 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10805 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10806 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
10807 if test $ac_compiler_gnu = yes; then
10812 ac_test_CFLAGS=${CFLAGS+set}
10813 ac_save_CFLAGS=$CFLAGS
10814 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10815 $as_echo_n "checking whether $CC accepts -g... " >&6; }
10816 if test "${ac_cv_prog_cc_g+set}" = set; then
10817 $as_echo_n "(cached) " >&6
10819 ac_save_c_werror_flag=$ac_c_werror_flag
10820 ac_c_werror_flag=yes
10823 cat >conftest.$ac_ext <<_ACEOF
10826 cat confdefs.h >>conftest.$ac_ext
10827 cat >>conftest.$ac_ext <<_ACEOF
10828 /* end confdefs.h. */
10838 rm -f conftest.$ac_objext
10839 if { (ac_try="$ac_compile"
10840 case "(($ac_try" in
10841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10845 $as_echo "$ac_try_echo") >&5
10846 (eval "$ac_compile") 2>conftest.er1
10848 grep -v '^ *+' conftest.er1 >conftest.err
10850 cat conftest.err >&5
10851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } && {
10853 test -z "$ac_c_werror_flag" ||
10854 test ! -s conftest.err
10855 } && test -s conftest.$ac_objext; then
10856 ac_cv_prog_cc_g=yes
10858 $as_echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.$ac_ext >&5
10862 cat >conftest.$ac_ext <<_ACEOF
10865 cat confdefs.h >>conftest.$ac_ext
10866 cat >>conftest.$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10877 rm -f conftest.$ac_objext
10878 if { (ac_try="$ac_compile"
10879 case "(($ac_try" in
10880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10881 *) ac_try_echo=$ac_try;;
10883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10884 $as_echo "$ac_try_echo") >&5
10885 (eval "$ac_compile") 2>conftest.er1
10887 grep -v '^ *+' conftest.er1 >conftest.err
10889 cat conftest.err >&5
10890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } && {
10892 test -z "$ac_c_werror_flag" ||
10893 test ! -s conftest.err
10894 } && test -s conftest.$ac_objext; then
10897 $as_echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.$ac_ext >&5
10900 ac_c_werror_flag=$ac_save_c_werror_flag
10902 cat >conftest.$ac_ext <<_ACEOF
10905 cat confdefs.h >>conftest.$ac_ext
10906 cat >>conftest.$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10917 rm -f conftest.$ac_objext
10918 if { (ac_try="$ac_compile"
10919 case "(($ac_try" in
10920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10921 *) ac_try_echo=$ac_try;;
10923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10924 $as_echo "$ac_try_echo") >&5
10925 (eval "$ac_compile") 2>conftest.er1
10927 grep -v '^ *+' conftest.er1 >conftest.err
10929 cat conftest.err >&5
10930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && {
10932 test -z "$ac_c_werror_flag" ||
10933 test ! -s conftest.err
10934 } && test -s conftest.$ac_objext; then
10935 ac_cv_prog_cc_g=yes
10937 $as_echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.$ac_ext >&5
10943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10950 ac_c_werror_flag=$ac_save_c_werror_flag
10952 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10953 $as_echo "$ac_cv_prog_cc_g" >&6; }
10954 if test "$ac_test_CFLAGS" = set; then
10955 CFLAGS=$ac_save_CFLAGS
10956 elif test $ac_cv_prog_cc_g = yes; then
10957 if test "$GCC" = yes; then
10963 if test "$GCC" = yes; then
10969 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
10970 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
10971 if test "${ac_cv_prog_cc_c89+set}" = set; then
10972 $as_echo_n "(cached) " >&6
10974 ac_cv_prog_cc_c89=no
10976 cat >conftest.$ac_ext <<_ACEOF
10979 cat confdefs.h >>conftest.$ac_ext
10980 cat >>conftest.$ac_ext <<_ACEOF
10981 /* end confdefs.h. */
10982 #include <stdarg.h>
10984 #include <sys/types.h>
10985 #include <sys/stat.h>
10986 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10987 struct buf { int x; };
10988 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10989 static char *e (p, i)
10995 static char *f (char * (*g) (char **, int), char **p, ...)
11000 s = g (p, va_arg (v,int));
11005 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11006 function prototypes and stuff, but not '\xHH' hex character constants.
11007 These don't provoke an error unfortunately, instead are silently treated
11008 as 'x'. The following induces an error, until -std is added to get
11009 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11010 array size at least. It's necessary to write '\x00'==0 to get something
11011 that's true only with -std. */
11012 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11014 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11015 inside strings and character constants. */
11017 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11019 int test (int i, double x);
11020 struct s1 {int (*f) (int a);};
11021 struct s2 {int (*f) (double a);};
11022 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11028 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11033 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11034 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11036 CC="$ac_save_CC $ac_arg"
11037 rm -f conftest.$ac_objext
11038 if { (ac_try="$ac_compile"
11039 case "(($ac_try" in
11040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;;
11043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11044 $as_echo "$ac_try_echo") >&5
11045 (eval "$ac_compile") 2>conftest.er1
11047 grep -v '^ *+' conftest.er1 >conftest.err
11049 cat conftest.err >&5
11050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && {
11052 test -z "$ac_c_werror_flag" ||
11053 test ! -s conftest.err
11054 } && test -s conftest.$ac_objext; then
11055 ac_cv_prog_cc_c89=$ac_arg
11057 $as_echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.$ac_ext >&5
11063 rm -f core conftest.err conftest.$ac_objext
11064 test "x$ac_cv_prog_cc_c89" != "xno" && break
11066 rm -f conftest.$ac_ext
11071 case "x$ac_cv_prog_cc_c89" in
11073 { $as_echo "$as_me:$LINENO: result: none needed" >&5
11074 $as_echo "none needed" >&6; } ;;
11076 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
11077 $as_echo "unsupported" >&6; } ;;
11079 CC="$CC $ac_cv_prog_cc_c89"
11080 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11081 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11086 ac_cpp='$CPP $CPPFLAGS'
11087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11093 pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
11095 pkg_release=$PKG_BUILD
11096 test -z "$BUILD_VERSION" || pkg_release="$BUILD_VERSION"
11099 DEBUG=${DEBUG:-'-DDEBUG'} debug_build="$DEBUG"
11102 OPTIMIZER=${OPTIMIZER:-'-g -O2'}
11103 opt_build="$OPTIMIZER"
11106 MALLOCLIB=${MALLOCLIB:-''} malloc_lib="$MALLOCLIB"
11109 pkg_user=`id -u -n`
11110 test -z "$INSTALL_USER" || pkg_user="$INSTALL_USER"
11113 pkg_group=`id -g -n`
11114 test -z "$INSTALL_GROUP" || pkg_group="$INSTALL_GROUP"
11117 pkg_distribution=`uname -s`
11118 test -z "$DISTRIBUTION" || pkg_distribution="$DISTRIBUTION"
11121 pkg_platform=`uname -s | tr 'A-Z' 'a-z' | sed -e 's/irix64/irix/'`
11122 test -z "$PLATFORM" || pkg_platform="$PLATFORM"
11126 ac_cpp='$CPP $CPPFLAGS'
11127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11130 if test -n "$ac_tool_prefix"; then
11131 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11132 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11134 $as_echo_n "checking for $ac_word... " >&6; }
11135 if test "${ac_cv_prog_CC+set}" = set; then
11136 $as_echo_n "(cached) " >&6
11138 if test -n "$CC"; then
11139 ac_cv_prog_CC="$CC" # Let the user override the test.
11141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11142 for as_dir in $PATH
11145 test -z "$as_dir" && as_dir=.
11146 for ac_exec_ext in '' $ac_executable_extensions; do
11147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11148 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11159 if test -n "$CC"; then
11160 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11161 $as_echo "$CC" >&6; }
11163 { $as_echo "$as_me:$LINENO: result: no" >&5
11164 $as_echo "no" >&6; }
11169 if test -z "$ac_cv_prog_CC"; then
11171 # Extract the first word of "gcc", so it can be a program name with args.
11172 set dummy gcc; ac_word=$2
11173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11174 $as_echo_n "checking for $ac_word... " >&6; }
11175 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11176 $as_echo_n "(cached) " >&6
11178 if test -n "$ac_ct_CC"; then
11179 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11182 for as_dir in $PATH
11185 test -z "$as_dir" && as_dir=.
11186 for ac_exec_ext in '' $ac_executable_extensions; do
11187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11188 ac_cv_prog_ac_ct_CC="gcc"
11189 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11199 if test -n "$ac_ct_CC"; then
11200 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11201 $as_echo "$ac_ct_CC" >&6; }
11203 { $as_echo "$as_me:$LINENO: result: no" >&5
11204 $as_echo "no" >&6; }
11207 if test "x$ac_ct_CC" = x; then
11210 case $cross_compiling:$ac_tool_warned in
11212 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11214 ac_tool_warned=yes ;;
11219 CC="$ac_cv_prog_CC"
11222 if test -z "$CC"; then
11223 if test -n "$ac_tool_prefix"; then
11224 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11225 set dummy ${ac_tool_prefix}cc; ac_word=$2
11226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11227 $as_echo_n "checking for $ac_word... " >&6; }
11228 if test "${ac_cv_prog_CC+set}" = set; then
11229 $as_echo_n "(cached) " >&6
11231 if test -n "$CC"; then
11232 ac_cv_prog_CC="$CC" # Let the user override the test.
11234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11235 for as_dir in $PATH
11238 test -z "$as_dir" && as_dir=.
11239 for ac_exec_ext in '' $ac_executable_extensions; do
11240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11241 ac_cv_prog_CC="${ac_tool_prefix}cc"
11242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11252 if test -n "$CC"; then
11253 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11254 $as_echo "$CC" >&6; }
11256 { $as_echo "$as_me:$LINENO: result: no" >&5
11257 $as_echo "no" >&6; }
11263 if test -z "$CC"; then
11264 # Extract the first word of "cc", so it can be a program name with args.
11265 set dummy cc; ac_word=$2
11266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11267 $as_echo_n "checking for $ac_word... " >&6; }
11268 if test "${ac_cv_prog_CC+set}" = set; then
11269 $as_echo_n "(cached) " >&6
11271 if test -n "$CC"; then
11272 ac_cv_prog_CC="$CC" # Let the user override the test.
11274 ac_prog_rejected=no
11275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11276 for as_dir in $PATH
11279 test -z "$as_dir" && as_dir=.
11280 for ac_exec_ext in '' $ac_executable_extensions; do
11281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11282 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11283 ac_prog_rejected=yes
11287 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11294 if test $ac_prog_rejected = yes; then
11295 # We found a bogon in the path, so make sure we never use it.
11296 set dummy $ac_cv_prog_CC
11298 if test $# != 0; then
11299 # We chose a different compiler from the bogus one.
11300 # However, it has the same basename, so the bogon will be chosen
11301 # first if we set CC to just the basename; use the full file name.
11303 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11309 if test -n "$CC"; then
11310 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11311 $as_echo "$CC" >&6; }
11313 { $as_echo "$as_me:$LINENO: result: no" >&5
11314 $as_echo "no" >&6; }
11319 if test -z "$CC"; then
11320 if test -n "$ac_tool_prefix"; then
11321 for ac_prog in cl.exe
11323 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11324 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11326 $as_echo_n "checking for $ac_word... " >&6; }
11327 if test "${ac_cv_prog_CC+set}" = set; then
11328 $as_echo_n "(cached) " >&6
11330 if test -n "$CC"; then
11331 ac_cv_prog_CC="$CC" # Let the user override the test.
11333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11334 for as_dir in $PATH
11337 test -z "$as_dir" && as_dir=.
11338 for ac_exec_ext in '' $ac_executable_extensions; do
11339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11340 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11351 if test -n "$CC"; then
11352 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11353 $as_echo "$CC" >&6; }
11355 { $as_echo "$as_me:$LINENO: result: no" >&5
11356 $as_echo "no" >&6; }
11360 test -n "$CC" && break
11363 if test -z "$CC"; then
11365 for ac_prog in cl.exe
11367 # Extract the first word of "$ac_prog", so it can be a program name with args.
11368 set dummy $ac_prog; ac_word=$2
11369 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11370 $as_echo_n "checking for $ac_word... " >&6; }
11371 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11372 $as_echo_n "(cached) " >&6
11374 if test -n "$ac_ct_CC"; then
11375 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11378 for as_dir in $PATH
11381 test -z "$as_dir" && as_dir=.
11382 for ac_exec_ext in '' $ac_executable_extensions; do
11383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11384 ac_cv_prog_ac_ct_CC="$ac_prog"
11385 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11394 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11395 if test -n "$ac_ct_CC"; then
11396 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11397 $as_echo "$ac_ct_CC" >&6; }
11399 { $as_echo "$as_me:$LINENO: result: no" >&5
11400 $as_echo "no" >&6; }
11404 test -n "$ac_ct_CC" && break
11407 if test "x$ac_ct_CC" = x; then
11410 case $cross_compiling:$ac_tool_warned in
11412 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11414 ac_tool_warned=yes ;;
11423 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11425 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11426 See \`config.log' for more details." >&5
11427 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
11428 See \`config.log' for more details." >&2;}
11429 { (exit 1); exit 1; }; }; }
11431 # Provide some information about the compiler.
11432 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
11435 { (ac_try="$ac_compiler --version >&5"
11436 case "(($ac_try" in
11437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11438 *) ac_try_echo=$ac_try;;
11440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11441 $as_echo "$ac_try_echo") >&5
11442 (eval "$ac_compiler --version >&5") 2>&5
11444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }
11446 { (ac_try="$ac_compiler -v >&5"
11447 case "(($ac_try" in
11448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11449 *) ac_try_echo=$ac_try;;
11451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11452 $as_echo "$ac_try_echo") >&5
11453 (eval "$ac_compiler -v >&5") 2>&5
11455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }
11457 { (ac_try="$ac_compiler -V >&5"
11458 case "(($ac_try" in
11459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11460 *) ac_try_echo=$ac_try;;
11462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11463 $as_echo "$ac_try_echo") >&5
11464 (eval "$ac_compiler -V >&5") 2>&5
11466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }
11469 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11470 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11471 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11472 $as_echo_n "(cached) " >&6
11474 cat >conftest.$ac_ext <<_ACEOF
11477 cat confdefs.h >>conftest.$ac_ext
11478 cat >>conftest.$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11492 rm -f conftest.$ac_objext
11493 if { (ac_try="$ac_compile"
11494 case "(($ac_try" in
11495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11496 *) ac_try_echo=$ac_try;;
11498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11499 $as_echo "$ac_try_echo") >&5
11500 (eval "$ac_compile") 2>conftest.er1
11502 grep -v '^ *+' conftest.er1 >conftest.err
11504 cat conftest.err >&5
11505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); } && {
11507 test -z "$ac_c_werror_flag" ||
11508 test ! -s conftest.err
11509 } && test -s conftest.$ac_objext; then
11510 ac_compiler_gnu=yes
11512 $as_echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11519 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11522 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11523 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11524 if test $ac_compiler_gnu = yes; then
11529 ac_test_CFLAGS=${CFLAGS+set}
11530 ac_save_CFLAGS=$CFLAGS
11531 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11532 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11533 if test "${ac_cv_prog_cc_g+set}" = set; then
11534 $as_echo_n "(cached) " >&6
11536 ac_save_c_werror_flag=$ac_c_werror_flag
11537 ac_c_werror_flag=yes
11540 cat >conftest.$ac_ext <<_ACEOF
11543 cat confdefs.h >>conftest.$ac_ext
11544 cat >>conftest.$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11555 rm -f conftest.$ac_objext
11556 if { (ac_try="$ac_compile"
11557 case "(($ac_try" in
11558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11562 $as_echo "$ac_try_echo") >&5
11563 (eval "$ac_compile") 2>conftest.er1
11565 grep -v '^ *+' conftest.er1 >conftest.err
11567 cat conftest.err >&5
11568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } && {
11570 test -z "$ac_c_werror_flag" ||
11571 test ! -s conftest.err
11572 } && test -s conftest.$ac_objext; then
11573 ac_cv_prog_cc_g=yes
11575 $as_echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.$ac_ext >&5
11579 cat >conftest.$ac_ext <<_ACEOF
11582 cat confdefs.h >>conftest.$ac_ext
11583 cat >>conftest.$ac_ext <<_ACEOF
11584 /* end confdefs.h. */
11594 rm -f conftest.$ac_objext
11595 if { (ac_try="$ac_compile"
11596 case "(($ac_try" in
11597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11598 *) ac_try_echo=$ac_try;;
11600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11601 $as_echo "$ac_try_echo") >&5
11602 (eval "$ac_compile") 2>conftest.er1
11604 grep -v '^ *+' conftest.er1 >conftest.err
11606 cat conftest.err >&5
11607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } && {
11609 test -z "$ac_c_werror_flag" ||
11610 test ! -s conftest.err
11611 } && test -s conftest.$ac_objext; then
11614 $as_echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 ac_c_werror_flag=$ac_save_c_werror_flag
11619 cat >conftest.$ac_ext <<_ACEOF
11622 cat confdefs.h >>conftest.$ac_ext
11623 cat >>conftest.$ac_ext <<_ACEOF
11624 /* end confdefs.h. */
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11641 $as_echo "$ac_try_echo") >&5
11642 (eval "$ac_compile") 2>conftest.er1
11644 grep -v '^ *+' conftest.er1 >conftest.err
11646 cat conftest.err >&5
11647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } && {
11649 test -z "$ac_c_werror_flag" ||
11650 test ! -s conftest.err
11651 } && test -s conftest.$ac_objext; then
11652 ac_cv_prog_cc_g=yes
11654 $as_echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.$ac_ext >&5
11660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11667 ac_c_werror_flag=$ac_save_c_werror_flag
11669 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11670 $as_echo "$ac_cv_prog_cc_g" >&6; }
11671 if test "$ac_test_CFLAGS" = set; then
11672 CFLAGS=$ac_save_CFLAGS
11673 elif test $ac_cv_prog_cc_g = yes; then
11674 if test "$GCC" = yes; then
11680 if test "$GCC" = yes; then
11686 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11687 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11688 if test "${ac_cv_prog_cc_c89+set}" = set; then
11689 $as_echo_n "(cached) " >&6
11691 ac_cv_prog_cc_c89=no
11693 cat >conftest.$ac_ext <<_ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699 #include <stdarg.h>
11701 #include <sys/types.h>
11702 #include <sys/stat.h>
11703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11704 struct buf { int x; };
11705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11706 static char *e (p, i)
11712 static char *f (char * (*g) (char **, int), char **p, ...)
11717 s = g (p, va_arg (v,int));
11722 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11723 function prototypes and stuff, but not '\xHH' hex character constants.
11724 These don't provoke an error unfortunately, instead are silently treated
11725 as 'x'. The following induces an error, until -std is added to get
11726 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11727 array size at least. It's necessary to write '\x00'==0 to get something
11728 that's true only with -std. */
11729 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11732 inside strings and character constants. */
11734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11736 int test (int i, double x);
11737 struct s1 {int (*f) (int a);};
11738 struct s2 {int (*f) (double a);};
11739 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11745 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11751 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11753 CC="$ac_save_CC $ac_arg"
11754 rm -f conftest.$ac_objext
11755 if { (ac_try="$ac_compile"
11756 case "(($ac_try" in
11757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11758 *) ac_try_echo=$ac_try;;
11760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11761 $as_echo "$ac_try_echo") >&5
11762 (eval "$ac_compile") 2>conftest.er1
11764 grep -v '^ *+' conftest.er1 >conftest.err
11766 cat conftest.err >&5
11767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } && {
11769 test -z "$ac_c_werror_flag" ||
11770 test ! -s conftest.err
11771 } && test -s conftest.$ac_objext; then
11772 ac_cv_prog_cc_c89=$ac_arg
11774 $as_echo "$as_me: failed program was:" >&5
11775 sed 's/^/| /' conftest.$ac_ext >&5
11780 rm -f core conftest.err conftest.$ac_objext
11781 test "x$ac_cv_prog_cc_c89" != "xno" && break
11783 rm -f conftest.$ac_ext
11788 case "x$ac_cv_prog_cc_c89" in
11790 { $as_echo "$as_me:$LINENO: result: none needed" >&5
11791 $as_echo "none needed" >&6; } ;;
11793 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
11794 $as_echo "unsupported" >&6; } ;;
11796 CC="$CC $ac_cv_prog_cc_c89"
11797 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11803 ac_cpp='$CPP $CPPFLAGS'
11804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11810 if test -z ""$cc""; then
11812 echo FATAL ERROR: cc does not seem to be installed.
11813 echo acl cannot be built without a working C compiler installation.
11818 if test -z "$MAKE"; then
11819 # Extract the first word of "gmake", so it can be a program name with args.
11820 set dummy gmake; ac_word=$2
11821 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11822 $as_echo_n "checking for $ac_word... " >&6; }
11823 if test "${ac_cv_path_MAKE+set}" = set; then
11824 $as_echo_n "(cached) " >&6
11828 ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
11831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11832 as_dummy="/usr/bin:/usr/local/bin:/usr/freeware/bin"
11833 for as_dir in $as_dummy
11836 test -z "$as_dir" && as_dir=.
11837 for ac_exec_ext in '' $ac_executable_extensions; do
11838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11839 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
11840 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11850 MAKE=$ac_cv_path_MAKE
11851 if test -n "$MAKE"; then
11852 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
11853 $as_echo "$MAKE" >&6; }
11855 { $as_echo "$as_me:$LINENO: result: no" >&5
11856 $as_echo "no" >&6; }
11861 if test -z "$MAKE"; then
11862 # Extract the first word of "make", so it can be a program name with args.
11863 set dummy make; ac_word=$2
11864 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11865 $as_echo_n "checking for $ac_word... " >&6; }
11866 if test "${ac_cv_path_MAKE+set}" = set; then
11867 $as_echo_n "(cached) " >&6
11871 ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
11874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11875 for as_dir in /usr/bin
11878 test -z "$as_dir" && as_dir=.
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11881 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
11882 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11892 MAKE=$ac_cv_path_MAKE
11893 if test -n "$MAKE"; then
11894 { $as_echo "$as_me:$LINENO: result: $MAKE" >&5
11895 $as_echo "$MAKE" >&6; }
11897 { $as_echo "$as_me:$LINENO: result: no" >&5
11898 $as_echo "no" >&6; }
11905 if test -z ""$make""; then
11907 echo FATAL ERROR: make does not seem to be installed.
11908 echo acl cannot be built without a working GNU make installation.
11913 if test -z "$TAR"; then
11914 # Extract the first word of "tar", so it can be a program name with args.
11915 set dummy tar; ac_word=$2
11916 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11917 $as_echo_n "checking for $ac_word... " >&6; }
11918 if test "${ac_cv_path_TAR+set}" = set; then
11919 $as_echo_n "(cached) " >&6
11923 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
11926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11927 as_dummy="/usr/freeware/bin:/bin:/usr/local/bin:/usr/bin"
11928 for as_dir in $as_dummy
11931 test -z "$as_dir" && as_dir=.
11932 for ac_exec_ext in '' $ac_executable_extensions; do
11933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11934 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
11935 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 TAR=$ac_cv_path_TAR
11946 if test -n "$TAR"; then
11947 { $as_echo "$as_me:$LINENO: result: $TAR" >&5
11948 $as_echo "$TAR" >&6; }
11950 { $as_echo "$as_me:$LINENO: result: no" >&5
11951 $as_echo "no" >&6; }
11958 if test -z "$ZIP"; then
11959 # Extract the first word of "gzip", so it can be a program name with args.
11960 set dummy gzip; ac_word=$2
11961 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11962 $as_echo_n "checking for $ac_word... " >&6; }
11963 if test "${ac_cv_path_ZIP+set}" = set; then
11964 $as_echo_n "(cached) " >&6
11968 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
11971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11972 as_dummy="/bin:/usr/bin:/usr/local/bin:/usr/freeware/bin"
11973 for as_dir in $as_dummy
11976 test -z "$as_dir" && as_dir=.
11977 for ac_exec_ext in '' $ac_executable_extensions; do
11978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11979 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
11980 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11990 ZIP=$ac_cv_path_ZIP
11991 if test -n "$ZIP"; then
11992 { $as_echo "$as_me:$LINENO: result: $ZIP" >&5
11993 $as_echo "$ZIP" >&6; }
11995 { $as_echo "$as_me:$LINENO: result: no" >&5
11996 $as_echo "no" >&6; }
12005 if test -z "$MAKEDEPEND"; then
12006 # Extract the first word of "makedepend", so it can be a program name with args.
12007 set dummy makedepend; ac_word=$2
12008 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12009 $as_echo_n "checking for $ac_word... " >&6; }
12010 if test "${ac_cv_path_MAKEDEPEND+set}" = set; then
12011 $as_echo_n "(cached) " >&6
12013 case $MAKEDEPEND in
12015 ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path.
12018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12019 for as_dir in $PATH
12022 test -z "$as_dir" && as_dir=.
12023 for ac_exec_ext in '' $ac_executable_extensions; do
12024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12025 ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext"
12026 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 test -z "$ac_cv_path_MAKEDEPEND" && ac_cv_path_MAKEDEPEND="/bin/true"
12037 MAKEDEPEND=$ac_cv_path_MAKEDEPEND
12038 if test -n "$MAKEDEPEND"; then
12039 { $as_echo "$as_me:$LINENO: result: $MAKEDEPEND" >&5
12040 $as_echo "$MAKEDEPEND" >&6; }
12042 { $as_echo "$as_me:$LINENO: result: no" >&5
12043 $as_echo "no" >&6; }
12048 makedepend=$MAKEDEPEND
12051 if test -z "$AWK"; then
12052 # Extract the first word of "awk", so it can be a program name with args.
12053 set dummy awk; ac_word=$2
12054 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12055 $as_echo_n "checking for $ac_word... " >&6; }
12056 if test "${ac_cv_path_AWK+set}" = set; then
12057 $as_echo_n "(cached) " >&6
12061 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
12064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12065 as_dummy="/bin:/usr/bin"
12066 for as_dir in $as_dummy
12069 test -z "$as_dir" && as_dir=.
12070 for ac_exec_ext in '' $ac_executable_extensions; do
12071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12072 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
12073 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12083 AWK=$ac_cv_path_AWK
12084 if test -n "$AWK"; then
12085 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
12086 $as_echo "$AWK" >&6; }
12088 { $as_echo "$as_me:$LINENO: result: no" >&5
12089 $as_echo "no" >&6; }
12097 if test -z "$SED"; then
12098 # Extract the first word of "sed", so it can be a program name with args.
12099 set dummy sed; ac_word=$2
12100 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12101 $as_echo_n "checking for $ac_word... " >&6; }
12102 if test "${ac_cv_path_SED+set}" = set; then
12103 $as_echo_n "(cached) " >&6
12107 ac_cv_path_SED="$SED" # Let the user override the test with a path.
12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12111 as_dummy="/bin:/usr/bin"
12112 for as_dir in $as_dummy
12115 test -z "$as_dir" && as_dir=.
12116 for ac_exec_ext in '' $ac_executable_extensions; do
12117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12118 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
12119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 SED=$ac_cv_path_SED
12130 if test -n "$SED"; then
12131 { $as_echo "$as_me:$LINENO: result: $SED" >&5
12132 $as_echo "$SED" >&6; }
12134 { $as_echo "$as_me:$LINENO: result: no" >&5
12135 $as_echo "no" >&6; }
12143 if test -z "$ECHO"; then
12144 # Extract the first word of "echo", so it can be a program name with args.
12145 set dummy echo; ac_word=$2
12146 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12147 $as_echo_n "checking for $ac_word... " >&6; }
12148 if test "${ac_cv_path_ECHO+set}" = set; then
12149 $as_echo_n "(cached) " >&6
12153 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
12156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12157 as_dummy="/bin:/usr/bin"
12158 for as_dir in $as_dummy
12161 test -z "$as_dir" && as_dir=.
12162 for ac_exec_ext in '' $ac_executable_extensions; do
12163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12164 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
12165 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12175 ECHO=$ac_cv_path_ECHO
12176 if test -n "$ECHO"; then
12177 { $as_echo "$as_me:$LINENO: result: $ECHO" >&5
12178 $as_echo "$ECHO" >&6; }
12180 { $as_echo "$as_me:$LINENO: result: no" >&5
12181 $as_echo "no" >&6; }
12189 if test -z "$SORT"; then
12190 # Extract the first word of "sort", so it can be a program name with args.
12191 set dummy sort; ac_word=$2
12192 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 $as_echo_n "checking for $ac_word... " >&6; }
12194 if test "${ac_cv_path_SORT+set}" = set; then
12195 $as_echo_n "(cached) " >&6
12199 ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
12202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12203 as_dummy="/bin:/usr/bin"
12204 for as_dir in $as_dummy
12207 test -z "$as_dir" && as_dir=.
12208 for ac_exec_ext in '' $ac_executable_extensions; do
12209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12210 ac_cv_path_SORT="$as_dir/$ac_word$ac_exec_ext"
12211 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12221 SORT=$ac_cv_path_SORT
12222 if test -n "$SORT"; then
12223 { $as_echo "$as_me:$LINENO: result: $SORT" >&5
12224 $as_echo "$SORT" >&6; }
12226 { $as_echo "$as_me:$LINENO: result: no" >&5
12227 $as_echo "no" >&6; }
12235 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
12236 $as_echo_n "checking whether ln -s works... " >&6; }
12238 if test "$LN_S" = "ln -s"; then
12239 { $as_echo "$as_me:$LINENO: result: yes" >&5
12240 $as_echo "yes" >&6; }
12242 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12243 $as_echo "no, using $LN_S" >&6; }
12247 if test "$enable_gettext" = yes; then
12248 if test -z "$MSGFMT"; then
12249 # Extract the first word of "msgfmt", so it can be a program name with args.
12250 set dummy msgfmt; ac_word=$2
12251 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12252 $as_echo_n "checking for $ac_word... " >&6; }
12253 if test "${ac_cv_path_MSGFMT+set}" = set; then
12254 $as_echo_n "(cached) " >&6
12258 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12262 as_dummy="/usr/bin:/usr/local/bin:/usr/freeware/bin"
12263 for as_dir in $as_dummy
12266 test -z "$as_dir" && as_dir=.
12267 for ac_exec_ext in '' $ac_executable_extensions; do
12268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12269 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12280 MSGFMT=$ac_cv_path_MSGFMT
12281 if test -n "$MSGFMT"; then
12282 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
12283 $as_echo "$MSGFMT" >&6; }
12285 { $as_echo "$as_me:$LINENO: result: no" >&5
12286 $as_echo "no" >&6; }
12293 if test -z ""$msgfmt""; then
12295 echo FATAL ERROR: msgfmt does not seem to be installed.
12296 echo acl cannot be built without a working gettext installation.
12301 if test -z "$MSGMERGE"; then
12302 # Extract the first word of "msgmerge", so it can be a program name with args.
12303 set dummy msgmerge; ac_word=$2
12304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12305 $as_echo_n "checking for $ac_word... " >&6; }
12306 if test "${ac_cv_path_MSGMERGE+set}" = set; then
12307 $as_echo_n "(cached) " >&6
12311 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12315 as_dummy="/usr/bin:/usr/local/bin:/usr/freeware/bin"
12316 for as_dir in $as_dummy
12319 test -z "$as_dir" && as_dir=.
12320 for ac_exec_ext in '' $ac_executable_extensions; do
12321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12322 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12323 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12333 MSGMERGE=$ac_cv_path_MSGMERGE
12334 if test -n "$MSGMERGE"; then
12335 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12336 $as_echo "$MSGMERGE" >&6; }
12338 { $as_echo "$as_me:$LINENO: result: no" >&5
12339 $as_echo "no" >&6; }
12346 if test -z ""$msgmerge""; then
12348 echo FATAL ERROR: msgmerge does not seem to be installed.
12349 echo acl cannot be built without a working gettext installation.
12354 if test -z "$XGETTEXT"; then
12355 # Extract the first word of "xgettext", so it can be a program name with args.
12356 set dummy xgettext; ac_word=$2
12357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12358 $as_echo_n "checking for $ac_word... " >&6; }
12359 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12360 $as_echo_n "(cached) " >&6
12364 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12368 as_dummy="/usr/bin:/usr/local/bin:/usr/freeware/bin"
12369 for as_dir in $as_dummy
12372 test -z "$as_dir" && as_dir=.
12373 for ac_exec_ext in '' $ac_executable_extensions; do
12374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12375 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12376 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12386 XGETTEXT=$ac_cv_path_XGETTEXT
12387 if test -n "$XGETTEXT"; then
12388 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12389 $as_echo "$XGETTEXT" >&6; }
12391 { $as_echo "$as_me:$LINENO: result: no" >&5
12392 $as_echo "no" >&6; }
12399 if test -z ""$xgettext""; then
12401 echo FATAL ERROR: xgettext does not seem to be installed.
12402 echo acl cannot be built without a working gettext installation.
12408 cat >>confdefs.h <<\_ACEOF
12409 #define ENABLE_GETTEXT 1
12414 if test -z "$RPM"; then
12415 # Extract the first word of "rpm", so it can be a program name with args.
12416 set dummy rpm; ac_word=$2
12417 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12418 $as_echo_n "checking for $ac_word... " >&6; }
12419 if test "${ac_cv_path_RPM+set}" = set; then
12420 $as_echo_n "(cached) " >&6
12424 ac_cv_path_RPM="$RPM" # Let the user override the test with a path.
12427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12428 as_dummy="/bin:/usr/bin:/usr/freeware/bin"
12429 for as_dir in $as_dummy
12432 test -z "$as_dir" && as_dir=.
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12435 ac_cv_path_RPM="$as_dir/$ac_word$ac_exec_ext"
12436 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12446 RPM=$ac_cv_path_RPM
12447 if test -n "$RPM"; then
12448 { $as_echo "$as_me:$LINENO: result: $RPM" >&5
12449 $as_echo "$RPM" >&6; }
12451 { $as_echo "$as_me:$LINENO: result: no" >&5
12452 $as_echo "no" >&6; }
12461 test -n "$RPM" && test -x "$RPM" && rpm_version=`$RPM --version \
12462 | awk '{print $NF}' | awk -F. '{V=1; print $V}'`
12464 if test $rpm_version -ge 4; then
12465 # Extract the first word of "rpmbuild", so it can be a program name with args.
12466 set dummy rpmbuild; ac_word=$2
12467 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12468 $as_echo_n "checking for $ac_word... " >&6; }
12469 if test "${ac_cv_path_RPMBUILD+set}" = set; then
12470 $as_echo_n "(cached) " >&6
12474 ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path.
12477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12478 for as_dir in $PATH
12481 test -z "$as_dir" && as_dir=.
12482 for ac_exec_ext in '' $ac_executable_extensions; do
12483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12484 ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext"
12485 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12495 RPMBUILD=$ac_cv_path_RPMBUILD
12496 if test -n "$RPMBUILD"; then
12497 { $as_echo "$as_me:$LINENO: result: $RPMBUILD" >&5
12498 $as_echo "$RPMBUILD" >&6; }
12500 { $as_echo "$as_me:$LINENO: result: no" >&5
12501 $as_echo "no" >&6; }
12512 for ac_header in attr/xattr.h
12514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12516 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12517 $as_echo_n "checking for $ac_header... " >&6; }
12518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12519 $as_echo_n "(cached) " >&6
12521 ac_res=`eval 'as_val=${'$as_ac_Header'}
12522 $as_echo "$as_val"'`
12523 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12524 $as_echo "$ac_res" >&6; }
12526 # Is the header compilable?
12527 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12528 $as_echo_n "checking $ac_header usability... " >&6; }
12529 cat >conftest.$ac_ext <<_ACEOF
12532 cat confdefs.h >>conftest.$ac_ext
12533 cat >>conftest.$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12535 $ac_includes_default
12536 #include <$ac_header>
12538 rm -f conftest.$ac_objext
12539 if { (ac_try="$ac_compile"
12540 case "(($ac_try" in
12541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12542 *) ac_try_echo=$ac_try;;
12544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12545 $as_echo "$ac_try_echo") >&5
12546 (eval "$ac_compile") 2>conftest.er1
12548 grep -v '^ *+' conftest.er1 >conftest.err
12550 cat conftest.err >&5
12551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } && {
12553 test -z "$ac_c_werror_flag" ||
12554 test ! -s conftest.err
12555 } && test -s conftest.$ac_objext; then
12556 ac_header_compiler=yes
12558 $as_echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12561 ac_header_compiler=no
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12565 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12566 $as_echo "$ac_header_compiler" >&6; }
12568 # Is the header present?
12569 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12570 $as_echo_n "checking $ac_header presence... " >&6; }
12571 cat >conftest.$ac_ext <<_ACEOF
12574 cat confdefs.h >>conftest.$ac_ext
12575 cat >>conftest.$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12577 #include <$ac_header>
12579 if { (ac_try="$ac_cpp conftest.$ac_ext"
12580 case "(($ac_try" in
12581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12585 $as_echo "$ac_try_echo") >&5
12586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12588 grep -v '^ *+' conftest.er1 >conftest.err
12590 cat conftest.err >&5
12591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } >/dev/null && {
12593 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12594 test ! -s conftest.err
12596 ac_header_preproc=yes
12598 $as_echo "$as_me: failed program was:" >&5
12599 sed 's/^/| /' conftest.$ac_ext >&5
12601 ac_header_preproc=no
12604 rm -f conftest.err conftest.$ac_ext
12605 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12606 $as_echo "$ac_header_preproc" >&6; }
12608 # So? What about this header?
12609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12611 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12612 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12613 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12614 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12615 ac_header_preproc=yes
12618 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12619 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12620 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12621 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12622 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12623 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12624 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12625 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12626 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12627 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12628 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12629 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12633 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12634 $as_echo_n "checking for $ac_header... " >&6; }
12635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12636 $as_echo_n "(cached) " >&6
12638 eval "$as_ac_Header=\$ac_header_preproc"
12640 ac_res=`eval 'as_val=${'$as_ac_Header'}
12641 $as_echo "$as_val"'`
12642 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12643 $as_echo "$ac_res" >&6; }
12646 as_val=`eval 'as_val=${'$as_ac_Header'}
12647 $as_echo "$as_val"'`
12648 if test "x$as_val" = x""yes; then
12649 cat >>confdefs.h <<_ACEOF
12650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12657 if test "$ac_cv_header_attr_xattr_h" != "yes"; then
12659 echo 'FATAL ERROR: attr/xattr.h does not exist.'
12660 echo 'Install the extended attributes (attr) development package.'
12661 echo 'Alternatively, run "make install-dev" from the attr source.'
12666 for ac_header in attr/error_context.h
12668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12670 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12671 $as_echo_n "checking for $ac_header... " >&6; }
12672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12673 $as_echo_n "(cached) " >&6
12675 ac_res=`eval 'as_val=${'$as_ac_Header'}
12676 $as_echo "$as_val"'`
12677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12678 $as_echo "$ac_res" >&6; }
12680 # Is the header compilable?
12681 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12682 $as_echo_n "checking $ac_header usability... " >&6; }
12683 cat >conftest.$ac_ext <<_ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12689 $ac_includes_default
12690 #include <$ac_header>
12692 rm -f conftest.$ac_objext
12693 if { (ac_try="$ac_compile"
12694 case "(($ac_try" in
12695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12696 *) ac_try_echo=$ac_try;;
12698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12699 $as_echo "$ac_try_echo") >&5
12700 (eval "$ac_compile") 2>conftest.er1
12702 grep -v '^ *+' conftest.er1 >conftest.err
12704 cat conftest.err >&5
12705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } && {
12707 test -z "$ac_c_werror_flag" ||
12708 test ! -s conftest.err
12709 } && test -s conftest.$ac_objext; then
12710 ac_header_compiler=yes
12712 $as_echo "$as_me: failed program was:" >&5
12713 sed 's/^/| /' conftest.$ac_ext >&5
12715 ac_header_compiler=no
12718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12720 $as_echo "$ac_header_compiler" >&6; }
12722 # Is the header present?
12723 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12724 $as_echo_n "checking $ac_header presence... " >&6; }
12725 cat >conftest.$ac_ext <<_ACEOF
12728 cat confdefs.h >>conftest.$ac_ext
12729 cat >>conftest.$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12731 #include <$ac_header>
12733 if { (ac_try="$ac_cpp conftest.$ac_ext"
12734 case "(($ac_try" in
12735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12736 *) ac_try_echo=$ac_try;;
12738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12739 $as_echo "$ac_try_echo") >&5
12740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12742 grep -v '^ *+' conftest.er1 >conftest.err
12744 cat conftest.err >&5
12745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } >/dev/null && {
12747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12748 test ! -s conftest.err
12750 ac_header_preproc=yes
12752 $as_echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.$ac_ext >&5
12755 ac_header_preproc=no
12758 rm -f conftest.err conftest.$ac_ext
12759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12760 $as_echo "$ac_header_preproc" >&6; }
12762 # So? What about this header?
12763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12766 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12769 ac_header_preproc=yes
12772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12773 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12775 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12777 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12779 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12783 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12787 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12788 $as_echo_n "checking for $ac_header... " >&6; }
12789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12790 $as_echo_n "(cached) " >&6
12792 eval "$as_ac_Header=\$ac_header_preproc"
12794 ac_res=`eval 'as_val=${'$as_ac_Header'}
12795 $as_echo "$as_val"'`
12796 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12797 $as_echo "$ac_res" >&6; }
12800 as_val=`eval 'as_val=${'$as_ac_Header'}
12801 $as_echo "$as_val"'`
12802 if test "x$as_val" = x""yes; then
12803 cat >>confdefs.h <<_ACEOF
12804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12811 if test "$ac_cv_header_attr_error_context_h" != "yes"; then
12813 echo 'FATAL ERROR: attr/error_context.h does not exist.'
12814 echo 'Install the extended attributes (attr) development package.'
12815 echo 'Alternatively, run "make install-dev" from the attr source.'
12820 enable_lib64="$enable_lib64"
12822 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12823 if test "$enable_lib64" = "yes" -a -n "$searchpath"; then
12824 save_IFS="${IFS= }"; IFS=":"
12825 for searchdir in $searchpath; do
12826 if test -d "$searchdir"; then
12827 case "$searchdir" in
12828 */lib64/ | */lib64 ) libdirsuffix=64 ;;
12829 *) searchdir=`cd "$searchdir" && pwd`
12830 case "$searchdir" in
12831 */lib64 ) libdirsuffix=64 ;;
12841 { $as_echo "$as_me:$LINENO: checking for getxattr in -lattr" >&5
12842 $as_echo_n "checking for getxattr in -lattr... " >&6; }
12843 if test "${ac_cv_lib_attr_getxattr+set}" = set; then
12844 $as_echo_n "(cached) " >&6
12846 ac_check_lib_save_LIBS=$LIBS
12847 LIBS="-lattr $LIBS"
12848 cat >conftest.$ac_ext <<_ACEOF
12851 cat confdefs.h >>conftest.$ac_ext
12852 cat >>conftest.$ac_ext <<_ACEOF
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12865 return getxattr ();
12870 rm -f conftest.$ac_objext conftest$ac_exeext
12871 if { (ac_try="$ac_link"
12872 case "(($ac_try" in
12873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12874 *) ac_try_echo=$ac_try;;
12876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12877 $as_echo "$ac_try_echo") >&5
12878 (eval "$ac_link") 2>conftest.er1
12880 grep -v '^ *+' conftest.er1 >conftest.err
12882 cat conftest.err >&5
12883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } && {
12885 test -z "$ac_c_werror_flag" ||
12886 test ! -s conftest.err
12887 } && test -s conftest$ac_exeext && {
12888 test "$cross_compiling" = yes ||
12889 $as_test_x conftest$ac_exeext
12891 ac_cv_lib_attr_getxattr=yes
12893 $as_echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12896 ac_cv_lib_attr_getxattr=no
12899 rm -rf conftest.dSYM
12900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12901 conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_lib_save_LIBS
12904 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_attr_getxattr" >&5
12905 $as_echo "$ac_cv_lib_attr_getxattr" >&6; }
12906 if test "x$ac_cv_lib_attr_getxattr" = x""yes; then
12907 cat >>confdefs.h <<_ACEOF
12908 #define HAVE_LIBATTR 1
12911 LIBS="-lattr $LIBS"
12916 echo 'FATAL ERROR: could not find a valid Extended Attributes library.'
12917 echo 'Install the extended attributes (attr) development package.'
12918 echo 'Alternatively, run "make install-lib" from the attr source.'
12924 test -f `pwd`/../attr/libattr/libattr.la && \
12925 libattr="`pwd`/../attr/libattr/libattr.la"
12928 have_zipped_manpages=false
12929 for d in ${prefix}/share/man ${prefix}/man ; do
12930 if test -f $d/man1/man.1.gz
12932 have_zipped_manpages=true
12939 { $as_echo "$as_me:$LINENO: checking whether __attribute__((visibility())) is supported" >&5
12940 $as_echo_n "checking whether __attribute__((visibility())) is supported... " >&6; }
12941 if test "${libc_cv_visibility_attribute+set}" = set; then
12942 $as_echo_n "(cached) " >&6
12944 cat > conftest.c <<EOF
12945 int foo __attribute__ ((visibility ("hidden"))) = 1;
12946 int bar __attribute__ ((visibility ("protected"))) = 1;
12948 libc_cv_visibility_attribute=no
12949 if ${CC-cc} -Werror -S conftest.c -o conftest.s \
12950 >/dev/null 2>&1; then
12951 if grep '\.hidden.*foo' conftest.s >/dev/null; then
12952 if grep '\.protected.*bar' conftest.s >/dev/null; then
12953 libc_cv_visibility_attribute=yes
12960 { $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
12961 $as_echo "$libc_cv_visibility_attribute" >&6; }
12962 if test $libc_cv_visibility_attribute = yes; then
12964 cat >>confdefs.h <<\_ACEOF
12965 #define HAVE_VISIBILITY_ATTRIBUTE /**/
12971 ac_config_files="$ac_config_files include/builddefs"
12973 cat >confcache <<\_ACEOF
12974 # This file is a shell script that caches the results of configure
12975 # tests run on this system so they can be shared between configure
12976 # scripts and configure runs, see configure's option --config-cache.
12977 # It is not useful on other systems. If it contains results you don't
12978 # want to keep, you may remove or edit it.
12980 # config.status only pays attention to the cache file if you give it
12981 # the --recheck option to rerun configure.
12983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12985 # following values.
12989 # The following way of writing the cache mishandles newlines in values,
12990 # but we know of no workaround that is simple, portable, and efficient.
12991 # So, we kill variables containing newlines.
12992 # Ultrix sh set writes to stderr and can't be redirected directly,
12993 # and sets the high bit in the cache file unless we assign to the vars.
12995 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12996 eval ac_val=\$$ac_var
13000 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13004 _ | IFS | as_nl) ;; #(
13005 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13006 *) $as_unset $ac_var ;;
13012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13013 *${as_nl}ac_space=\ *)
13014 # `set' does not quote correctly, so add quotes (double-quote
13015 # substitution turns \\\\ into \\, and sed turns \\ into \).
13018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13021 # `set' quotes correctly as required by POSIX, so do not add quotes.
13022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13036 if test -w "$cache_file"; then
13037 test "x$cache_file" != "x/dev/null" &&
13038 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13039 $as_echo "$as_me: updating cache $cache_file" >&6;}
13040 cat confcache >$cache_file
13042 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13048 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13049 # Let make expand exec_prefix.
13050 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13052 DEFS=-DHAVE_CONFIG_H
13056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13057 # 1. Remove the extension, and $U if already installed.
13058 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13059 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13060 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13061 # will be set to the directory where LIBOBJS objects are built.
13062 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13063 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13065 LIBOBJS=$ac_libobjs
13067 LTLIBOBJS=$ac_ltlibobjs
13071 : ${CONFIG_STATUS=./config.status}
13073 ac_clean_files_save=$ac_clean_files
13074 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13075 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13076 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13077 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13079 # Generated by $as_me.
13080 # Run this file to recreate the current configuration.
13081 # Compiler output produced by configure, useful for debugging
13082 # configure, is in config.log if it exists.
13085 ac_cs_recheck=false
13087 SHELL=\${CONFIG_SHELL-$SHELL}
13090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13091 ## --------------------- ##
13092 ## M4sh Initialization. ##
13093 ## --------------------- ##
13095 # Be more Bourne compatible
13096 DUALCASE=1; export DUALCASE # for MKS sh
13097 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13100 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13101 # is contrary to our usage. Disable this feature.
13102 alias -g '${1+"$@"}'='"$@"'
13103 setopt NO_GLOB_SUBST
13105 case `(set -o) 2>/dev/null` in
13106 *posix*) set -o posix ;;
13115 # Avoid depending upon Character Ranges.
13116 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13117 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13118 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13119 as_cr_digits='0123456789'
13120 as_cr_alnum=$as_cr_Letters$as_cr_digits
13125 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13126 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13127 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13128 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13129 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13130 as_echo='printf %s\n'
13131 as_echo_n='printf %s'
13133 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13134 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13135 as_echo_n='/usr/ucb/echo -n'
13137 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13138 as_echo_n_body='eval
13142 expr "X$arg" : "X\\(.*\\)$as_nl";
13143 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13145 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13147 export as_echo_n_body
13148 as_echo_n='sh -c $as_echo_n_body as_echo'
13150 export as_echo_body
13151 as_echo='sh -c $as_echo_body as_echo'
13154 # The user is always right.
13155 if test "${PATH_SEPARATOR+set}" != set; then
13157 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13158 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13163 # Support unset when possible.
13164 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13172 # We need space, tab and new line, in precisely that order. Quoting is
13173 # there to prevent editors from complaining about space-tab.
13174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13175 # splitting by setting IFS to empty value.)
13178 # Find who we are. Look in the path if we contain no directory separator.
13180 *[\\/]* ) as_myself=$0 ;;
13181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13182 for as_dir in $PATH
13185 test -z "$as_dir" && as_dir=.
13186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13192 # We did not find ourselves, most probably we were run as `sh COMMAND'
13193 # in which case we are not to be found in the path.
13194 if test "x$as_myself" = x; then
13197 if test ! -f "$as_myself"; then
13198 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13199 { (exit 1); exit 1; }
13202 # Work around bugs in pre-3.0 UWIN ksh.
13203 for as_var in ENV MAIL MAILPATH
13204 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13216 # Required to use basename.
13217 if expr a : '\(a\)' >/dev/null 2>&1 &&
13218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13225 as_basename=basename
13231 # Name of the executable.
13232 as_me=`$as_basename -- "$0" ||
13233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13234 X"$0" : 'X\(//\)$' \| \
13235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13237 sed '/^.*\/\([^/][^/]*\)\/*$/{
13256 as_lineno_1=$LINENO
13257 as_lineno_2=$LINENO
13258 test "x$as_lineno_1" != "x$as_lineno_2" &&
13259 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13261 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13262 # uniformly replaced by the line number. The first 'sed' inserts a
13263 # line-number line after each line using $LINENO; the second 'sed'
13264 # does the real work. The second script uses 'N' to pair each
13265 # line-number line with the line containing $LINENO, and appends
13266 # trailing '-' during substitution so that $LINENO is not a special
13267 # case at line end.
13268 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13269 # scripts with optimization help from Paolo Bonzini. Blame Lee
13270 # E. McMahon (1931-1989) for sed's syntax. :-)
13282 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13285 ' >$as_me.lineno &&
13286 chmod +x "$as_me.lineno" ||
13287 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13288 { (exit 1); exit 1; }; }
13290 # Don't try to exec as it changes $[0], causing all sort of problems
13291 # (the dirname of $[0] is not the place where we might find the
13292 # original and so on. Autoconf is especially sensitive to this).
13293 . "./$as_me.lineno"
13294 # Exit status is that of the last command.
13299 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13305 ECHO_C= ECHO_N= ECHO_T=
13306 case `echo -n x` in
13308 case `echo 'x\c'` in
13309 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13315 if expr a : '\(a\)' >/dev/null 2>&1 &&
13316 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13322 rm -f conf$$ conf$$.exe conf$$.file
13323 if test -d conf$$.dir; then
13324 rm -f conf$$.dir/conf$$.file
13327 mkdir conf$$.dir 2>/dev/null
13329 if (echo >conf$$.file) 2>/dev/null; then
13330 if ln -s conf$$.file conf$$ 2>/dev/null; then
13332 # ... but there are two gotchas:
13333 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13334 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13335 # In both cases, we have to default to `cp -p'.
13336 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13338 elif ln conf$$.file conf$$ 2>/dev/null; then
13346 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13347 rmdir conf$$.dir 2>/dev/null
13349 if mkdir -p . 2>/dev/null; then
13352 test -d ./-p && rmdir ./-p
13356 if test -x / >/dev/null 2>&1; then
13357 as_test_x='test -x'
13359 if ls -dL / >/dev/null 2>&1; then
13366 if test -d "$1"; then
13372 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13373 ???[sx]*):;;*)false;;esac;fi
13377 as_executable_p=$as_test_x
13379 # Sed expression to map a string onto a valid CPP name.
13380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13382 # Sed expression to map a string onto a valid variable name.
13383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13388 # Save the log message, to keep $[0] and so on meaningful, and to
13389 # report actual input values of CONFIG_FILES etc. instead of their
13390 # values after options handling.
13392 This file was extended by $as_me, which was
13393 generated by GNU Autoconf 2.63. Invocation command line was
13395 CONFIG_FILES = $CONFIG_FILES
13396 CONFIG_HEADERS = $CONFIG_HEADERS
13397 CONFIG_LINKS = $CONFIG_LINKS
13398 CONFIG_COMMANDS = $CONFIG_COMMANDS
13401 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13406 case $ac_config_files in *"
13407 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13410 case $ac_config_headers in *"
13411 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13416 # Files that config.status was made for.
13417 config_files="$ac_config_files"
13418 config_headers="$ac_config_headers"
13419 config_commands="$ac_config_commands"
13423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13425 \`$as_me' instantiates files from templates according to the
13426 current configuration.
13428 Usage: $0 [OPTION]... [FILE]...
13430 -h, --help print this help, then exit
13431 -V, --version print version number and configuration settings, then exit
13432 -q, --quiet, --silent
13433 do not print progress messages
13434 -d, --debug don't remove temporary files
13435 --recheck update $as_me by reconfiguring in the same conditions
13436 --file=FILE[:TEMPLATE]
13437 instantiate the configuration file FILE
13438 --header=FILE[:TEMPLATE]
13439 instantiate the configuration header FILE
13441 Configuration files:
13444 Configuration headers:
13447 Configuration commands:
13450 Report bugs to <bug-autoconf@gnu.org>."
13453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13456 configured by $0, generated by GNU Autoconf 2.63,
13457 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13459 Copyright (C) 2008 Free Software Foundation, Inc.
13460 This config.status script is free software; the Free Software Foundation
13461 gives unlimited permission to copy, distribute and modify it."
13465 test -n "\$AWK" || AWK=awk
13468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13469 # The default lists apply if the user does not specify any file.
13475 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13476 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13487 # Handling of the options.
13488 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13490 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13491 $as_echo "$ac_cs_version"; exit ;;
13492 --debug | --debu | --deb | --de | --d | -d )
13494 --file | --fil | --fi | --f )
13497 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13499 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13500 ac_need_defaults=false;;
13501 --header | --heade | --head | --hea )
13504 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13506 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13507 ac_need_defaults=false;;
13509 # Conflict between --help and --header
13510 { $as_echo "$as_me: error: ambiguous option: $1
13511 Try \`$0 --help' for more information." >&2
13512 { (exit 1); exit 1; }; };;
13513 --help | --hel | -h )
13514 $as_echo "$ac_cs_usage"; exit ;;
13515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13516 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13519 # This is an error.
13520 -*) { $as_echo "$as_me: error: unrecognized option: $1
13521 Try \`$0 --help' for more information." >&2
13522 { (exit 1); exit 1; }; } ;;
13524 *) ac_config_targets="$ac_config_targets $1"
13525 ac_need_defaults=false ;;
13531 ac_configure_extra_args=
13533 if $ac_cs_silent; then
13535 ac_configure_extra_args="$ac_configure_extra_args --silent"
13539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13540 if \$ac_cs_recheck; then
13541 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13543 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13544 CONFIG_SHELL='$SHELL'
13545 export CONFIG_SHELL
13550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13554 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13555 ## Running $as_me. ##
13561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13567 # The HP-UX ksh and POSIX shell print the target directory to stdout
13568 # if CDPATH is set.
13569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13571 sed_quote_subst='$sed_quote_subst'
13572 double_quote_subst='$double_quote_subst'
13573 delay_variable_subst='$delay_variable_subst'
13574 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13575 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13576 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13577 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13578 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13579 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13580 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13581 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13582 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13583 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13584 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13585 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13586 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13587 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13588 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13589 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13590 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13591 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13592 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13593 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13594 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13595 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13596 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13597 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13598 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13599 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13600 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13601 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13602 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13603 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13604 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13605 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13606 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13607 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13608 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13609 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13610 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13611 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13612 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13613 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13614 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13615 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13616 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13617 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13618 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13619 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13620 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13621 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13622 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13623 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13624 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13625 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13626 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13627 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13628 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13629 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13630 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13631 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13632 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13633 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13634 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13635 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13636 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13637 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13638 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13639 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13640 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13641 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13642 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13643 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13644 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13645 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13646 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13647 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13648 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13649 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13650 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13651 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13652 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13653 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13654 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13655 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13656 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13657 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13658 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13659 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13660 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13661 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13662 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13663 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13664 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13665 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13666 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13667 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13668 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13669 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13670 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13671 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13672 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13673 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13674 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13675 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13676 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13677 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13678 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13679 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13680 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13681 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13682 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13683 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13684 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13685 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13686 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13687 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13688 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13689 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13690 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13691 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13694 LTCFLAGS='$LTCFLAGS'
13695 compiler='$compiler_DEFAULT'
13697 # Quote evaled strings.
13709 deplibs_check_method \
13718 lt_cv_sys_global_symbol_pipe \
13719 lt_cv_sys_global_symbol_to_cdecl \
13720 lt_cv_sys_global_symbol_to_c_name_address \
13721 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13724 lt_prog_compiler_no_builtin_flag \
13725 lt_prog_compiler_wl \
13726 lt_prog_compiler_pic \
13727 lt_prog_compiler_static \
13728 lt_cv_prog_compiler_c_o \
13736 export_dynamic_flag_spec \
13737 whole_archive_flag_spec \
13738 compiler_needs_object \
13740 allow_undefined_flag \
13741 no_undefined_flag \
13742 hardcode_libdir_flag_spec \
13743 hardcode_libdir_flag_spec_ld \
13744 hardcode_libdir_separator \
13749 variables_saved_for_relink \
13751 library_names_spec \
13756 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13757 *[\\\\\\\`\\"\\\$]*)
13758 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13761 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13766 # Double-quote double-evaled strings.
13767 for var in reload_cmds \
13768 old_postinstall_cmds \
13769 old_postuninstall_cmds \
13771 extract_expsyms_cmds \
13772 old_archive_from_new_cmds \
13773 old_archive_from_expsyms_cmds \
13775 archive_expsym_cmds \
13777 module_expsym_cmds \
13778 export_symbols_cmds \
13781 postuninstall_cmds \
13783 sys_lib_search_path_spec \
13784 sys_lib_dlsearch_path_spec; do
13785 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13786 *[\\\\\\\`\\"\\\$]*)
13787 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13790 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13795 # Fix-up fallback echo if it was mangled by the above quoting rules.
13797 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13801 ac_aux_dir='$ac_aux_dir'
13802 xsi_shell='$xsi_shell'
13803 lt_shell_append='$lt_shell_append'
13805 # See if we are running on zsh, and set the options which allow our
13806 # commands through without removal of \ escapes INIT.
13807 if test -n "\${ZSH_VERSION+set}" ; then
13808 setopt NO_GLOB_SUBST
13814 TIMESTAMP='$TIMESTAMP'
13823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13825 # Handling of arguments.
13826 for ac_config_target in $ac_config_targets
13828 case $ac_config_target in
13829 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13830 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13831 "include/builddefs") CONFIG_FILES="$CONFIG_FILES include/builddefs" ;;
13833 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13834 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13835 { (exit 1); exit 1; }; };;
13840 # If the user did not use the arguments to specify the items to instantiate,
13841 # then the envvar interface is used. Set only those that are not.
13842 # We use the long form for the default assignment because of an extremely
13843 # bizarre bug on SunOS 4.1.3.
13844 if $ac_need_defaults; then
13845 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13846 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13847 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13850 # Have a temporary directory for convenience. Make it in the build tree
13851 # simply because there is no reason against having it here, and in addition,
13852 # creating and moving files from /tmp can sometimes cause problems.
13853 # Hook for its removal unless debugging.
13854 # Note that there is a small window in which the directory will not be cleaned:
13855 # after its creation but before its name has been assigned to `$tmp'.
13859 trap 'exit_status=$?
13860 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13862 trap '{ (exit 1); exit 1; }' 1 2 13 15
13864 # Create a (secure) tmp directory for tmp files.
13867 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13868 test -n "$tmp" && test -d "$tmp"
13871 tmp=./conf$$-$RANDOM
13872 (umask 077 && mkdir "$tmp")
13875 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13876 { (exit 1); exit 1; }
13879 # Set up the scripts for CONFIG_FILES section.
13880 # No need to generate them if there are no CONFIG_FILES.
13881 # This happens for instance with `./config.status config.h'.
13882 if test -n "$CONFIG_FILES"; then
13886 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13887 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13890 ac_cs_awk_cr=$ac_cr
13893 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13898 echo "cat >conf$$subs.awk <<_ACEOF" &&
13899 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13901 } >conf$$subs.sh ||
13902 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13903 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13904 { (exit 1); exit 1; }; }
13905 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13907 for ac_last_try in false false false false false :; do
13908 . ./conf$$subs.sh ||
13909 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13910 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13911 { (exit 1); exit 1; }; }
13913 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13914 if test $ac_delim_n = $ac_delim_num; then
13916 elif $ac_last_try; then
13917 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13918 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13919 { (exit 1); exit 1; }; }
13921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13924 rm -f conf$$subs.sh
13926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13927 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13931 s/^/S["/; s/!.*/"]=/
13941 s/\(.\{148\}\).*/\1/
13943 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13948 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13955 s/\(.\{148\}\).*/\1/
13957 s/["\\]/\\&/g; s/^/"/; s/$/"/
13961 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13966 ' <conf$$subs.awk | sed '
13971 ' >>$CONFIG_STATUS || ac_write_fail=1
13972 rm -f conf$$subs.awk
13973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13975 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13976 for (key in S) S_is_set[key] = 1
13982 nfields = split(line, field, "@")
13984 len = length(field[1])
13985 for (i = 2; i < nfields; i++) {
13987 keylen = length(key)
13988 if (S_is_set[key]) {
13990 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13991 len += length(value) + length(field[++i])
14002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14003 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14004 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14007 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14008 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14009 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
14010 { (exit 1); exit 1; }; }
14013 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14014 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14015 # trailing colons and then remove the whole line if VPATH becomes empty
14016 # (actually we leave an empty line to preserve line numbers).
14017 if test "x$srcdir" = x.; then
14018 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14019 s/:*\$(srcdir):*/:/
14020 s/:*\${srcdir}:*/:/
14022 s/^\([^=]*=[ ]*\):*/\1/
14028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14029 fi # test -n "$CONFIG_FILES"
14031 # Set up the scripts for CONFIG_HEADERS section.
14032 # No need to generate them if there are no CONFIG_HEADERS.
14033 # This happens for instance with `./config.status Makefile'.
14034 if test -n "$CONFIG_HEADERS"; then
14035 cat >"$tmp/defines.awk" <<\_ACAWK ||
14039 # Transform confdefs.h into an awk script `defines.awk', embedded as
14040 # here-document in config.status, that substitutes the proper values into
14041 # config.h.in to produce config.h.
14043 # Create a delimiter string that does not exist in confdefs.h, to ease
14044 # handling of long lines.
14046 for ac_last_try in false false :; do
14047 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14048 if test -z "$ac_t"; then
14050 elif $ac_last_try; then
14051 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14052 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14053 { (exit 1); exit 1; }; }
14055 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14059 # For the awk script, D is an array of macro values keyed by name,
14060 # likewise P contains macro parameters if any. Preserve backslash
14061 # newline sequences.
14063 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14065 s/.\{148\}/&'"$ac_delim"'/g
14068 s/^[ ]*#[ ]*define[ ][ ]*/ /
14075 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14077 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14081 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14082 D["\1"]=" \3\\\\\\n"\\/p
14084 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14089 s/.\{148\}/&'"$ac_delim"'/g
14094 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14097 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14099 ' <confdefs.h | sed '
14100 s/'"$ac_delim"'/"\\\
14101 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14104 for (key in D) D_is_set[key] = 1
14107 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14109 split(line, arg, " ")
14110 if (arg[1] == "#") {
14114 defundef = substr(arg[1], 2)
14117 split(mac1, mac2, "(") #)
14119 prefix = substr(line, 1, index(line, defundef) - 1)
14120 if (D_is_set[macro]) {
14121 # Preserve the white space surrounding the "#".
14122 print prefix "define", macro P[macro] D[macro]
14125 # Replace #undef with comments. This is necessary, for example,
14126 # in the case of _POSIX_SOURCE, which is predefined and required
14127 # on some systems where configure will not decide to define it.
14128 if (defundef == "undef") {
14129 print "/*", prefix defundef, macro, "*/"
14137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14138 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14139 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14140 { (exit 1); exit 1; }; }
14141 fi # test -n "$CONFIG_HEADERS"
14144 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14149 :[FHLC]) ac_mode=$ac_tag; continue;;
14151 case $ac_mode$ac_tag in
14153 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14154 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14155 { (exit 1); exit 1; }; };;
14156 :[FH]-) ac_tag=-:-;;
14157 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14174 -) ac_f="$tmp/stdin";;
14175 *) # Look for the file first in the build tree, then in the source tree
14176 # (if the path is not absolute). The absolute path cannot be DOS-style,
14177 # because $ac_f cannot contain `:'.
14181 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14183 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14184 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14185 { (exit 1); exit 1; }; };;
14187 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14188 ac_file_inputs="$ac_file_inputs '$ac_f'"
14191 # Let's still pretend it is `configure' which instantiates (i.e., don't
14192 # use $as_me), people would be surprised to read:
14193 # /* config.h. Generated by config.status. */
14194 configure_input='Generated from '`
14195 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14197 if test x"$ac_file" != x-; then
14198 configure_input="$ac_file. $configure_input"
14199 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14200 $as_echo "$as_me: creating $ac_file" >&6;}
14202 # Neutralize special characters interpreted by sed in replacement strings.
14203 case $configure_input in #(
14204 *\&* | *\|* | *\\* )
14205 ac_sed_conf_input=`$as_echo "$configure_input" |
14206 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14207 *) ac_sed_conf_input=$configure_input;;
14211 *:-:* | *:-) cat >"$tmp/stdin" \
14212 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14213 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14214 { (exit 1); exit 1; }; } ;;
14219 ac_dir=`$as_dirname -- "$ac_file" ||
14220 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14221 X"$ac_file" : 'X\(//\)[^/]' \| \
14222 X"$ac_file" : 'X\(//\)$' \| \
14223 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14224 $as_echo X"$ac_file" |
14225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14229 /^X\(\/\/\)[^/].*/{
14244 -*) as_dir=./$as_dir;;
14246 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14250 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14251 *) as_qdir=$as_dir;;
14253 as_dirs="'$as_qdir' $as_dirs"
14254 as_dir=`$as_dirname -- "$as_dir" ||
14255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14256 X"$as_dir" : 'X\(//\)[^/]' \| \
14257 X"$as_dir" : 'X\(//\)$' \| \
14258 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14259 $as_echo X"$as_dir" |
14260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14264 /^X\(\/\/\)[^/].*/{
14277 test -d "$as_dir" && break
14279 test -z "$as_dirs" || eval "mkdir $as_dirs"
14280 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14281 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14282 { (exit 1); exit 1; }; }; }
14286 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14288 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14289 # A ".." for each directory in $ac_dir_suffix.
14290 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14291 case $ac_top_builddir_sub in
14292 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14293 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14296 ac_abs_top_builddir=$ac_pwd
14297 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14298 # for backward compatibility:
14299 ac_top_builddir=$ac_top_build_prefix
14302 .) # We are building in place.
14304 ac_top_srcdir=$ac_top_builddir_sub
14305 ac_abs_top_srcdir=$ac_pwd ;;
14306 [\\/]* | ?:[\\/]* ) # Absolute name.
14307 ac_srcdir=$srcdir$ac_dir_suffix;
14308 ac_top_srcdir=$srcdir
14309 ac_abs_top_srcdir=$srcdir ;;
14310 *) # Relative name.
14311 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14312 ac_top_srcdir=$ac_top_build_prefix$srcdir
14313 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14315 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14327 # If the template does not know about datarootdir, expand it.
14328 # FIXME: This hack should be removed a few years after 2.60.
14329 ac_datarootdir_hack=; ac_datarootdir_seen=
14342 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14343 *datarootdir*) ac_datarootdir_seen=yes;;
14344 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14345 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14346 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14349 ac_datarootdir_hack='
14350 s&@datadir@&$datadir&g
14351 s&@docdir@&$docdir&g
14352 s&@infodir@&$infodir&g
14353 s&@localedir@&$localedir&g
14354 s&@mandir@&$mandir&g
14355 s&\\\${datarootdir}&$datarootdir&g' ;;
14359 # Neutralize VPATH when `$srcdir' = `.'.
14360 # Shell code in configure.ac might set extrasub.
14361 # FIXME: do we really want to maintain this feature?
14362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14363 ac_sed_extra="$ac_vpsub
14366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14368 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14369 s|@configure_input@|$ac_sed_conf_input|;t t
14370 s&@top_builddir@&$ac_top_builddir_sub&;t t
14371 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14372 s&@srcdir@&$ac_srcdir&;t t
14373 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14374 s&@top_srcdir@&$ac_top_srcdir&;t t
14375 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14376 s&@builddir@&$ac_builddir&;t t
14377 s&@abs_builddir@&$ac_abs_builddir&;t t
14378 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14379 $ac_datarootdir_hack
14381 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14382 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14383 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14384 { (exit 1); exit 1; }; }
14386 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14387 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14388 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14389 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14390 which seems to be undefined. Please make sure it is defined." >&5
14391 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14392 which seems to be undefined. Please make sure it is defined." >&2;}
14396 -) cat "$tmp/out" && rm -f "$tmp/out";;
14397 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14399 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14400 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14401 { (exit 1); exit 1; }; }
14407 if test x"$ac_file" != x-; then
14409 $as_echo "/* $configure_input */" \
14410 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14411 } >"$tmp/config.h" \
14412 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14413 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14414 { (exit 1); exit 1; }; }
14415 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14416 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14417 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14420 mv "$tmp/config.h" "$ac_file" \
14421 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14422 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14423 { (exit 1); exit 1; }; }
14426 $as_echo "/* $configure_input */" \
14427 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14428 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14429 $as_echo "$as_me: error: could not create -" >&2;}
14430 { (exit 1); exit 1; }; }
14434 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14435 $as_echo "$as_me: executing $ac_file commands" >&6;}
14440 case $ac_file$ac_mode in
14443 # See if we are running on zsh, and set the options which allow our
14444 # commands through without removal of \ escapes.
14445 if test -n "${ZSH_VERSION+set}" ; then
14446 setopt NO_GLOB_SUBST
14449 cfgfile="${ofile}T"
14450 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14453 cat <<_LT_EOF >> "$cfgfile"
14456 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14457 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14458 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14459 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14461 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14462 # 2006, 2007, 2008 Free Software Foundation, Inc.
14463 # Written by Gordon Matzigkeit, 1996
14465 # This file is part of GNU Libtool.
14467 # GNU Libtool is free software; you can redistribute it and/or
14468 # modify it under the terms of the GNU General Public License as
14469 # published by the Free Software Foundation; either version 2 of
14470 # the License, or (at your option) any later version.
14472 # As a special exception to the GNU General Public License,
14473 # if you distribute this file as part of a program or library that
14474 # is built using GNU Libtool, you may include this file under the
14475 # same distribution terms that you use for the rest of that program.
14477 # GNU Libtool is distributed in the hope that it will be useful,
14478 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14479 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14480 # GNU General Public License for more details.
14482 # You should have received a copy of the GNU General Public License
14483 # along with GNU Libtool; see the file COPYING. If not, a copy
14484 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14485 # obtained by writing to the Free Software Foundation, Inc.,
14486 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14489 # The names of the tagged configurations supported by this script.
14492 # ### BEGIN LIBTOOL CONFIG
14494 # Which release of libtool.m4 was used?
14495 macro_version=$macro_version
14496 macro_revision=$macro_revision
14498 # Whether or not to build shared libraries.
14499 build_libtool_libs=$enable_shared
14501 # Whether or not to build static libraries.
14502 build_old_libs=$enable_static
14504 # What type of objects to build.
14507 # Whether or not to optimize for fast installation.
14508 fast_install=$enable_fast_install
14511 host_alias=$host_alias
14515 # The build system.
14516 build_alias=$build_alias
14520 # A sed program that does not truncate output.
14523 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14524 Xsed="\$SED -e 1s/^X//"
14526 # A grep program that handles long lines.
14532 # A literal string matcher.
14535 # A BSD- or MS-compatible name lister.
14538 # Whether we need soft or hard links.
14541 # What is the maximum length of a command?
14542 max_cmd_len=$max_cmd_len
14544 # Object file suffix (normally "o").
14547 # Executable file suffix (normally "").
14550 # whether the shell understands "unset".
14553 # turn spaces into newlines.
14556 # turn newlines into spaces.
14559 # How to create reloadable object files.
14560 reload_flag=$lt_reload_flag
14561 reload_cmds=$lt_reload_cmds
14563 # An object symbol dumper.
14564 OBJDUMP=$lt_OBJDUMP
14566 # Method to check whether dependent libraries are shared objects.
14567 deplibs_check_method=$lt_deplibs_check_method
14569 # Command to use when deplibs_check_method == "file_magic".
14570 file_magic_cmd=$lt_file_magic_cmd
14574 AR_FLAGS=$lt_AR_FLAGS
14576 # A symbol stripping program.
14579 # Commands used to install an old-style archive.
14581 old_postinstall_cmds=$lt_old_postinstall_cmds
14582 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14587 # LTCC compiler flags.
14588 LTCFLAGS=$lt_CFLAGS
14590 # Take the output of nm and produce a listing of raw symbols and C names.
14591 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14593 # Transform the output of nm in a proper C declaration.
14594 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14596 # Transform the output of nm in a C name address pair.
14597 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14599 # Transform the output of nm in a C name address pair when lib prefix is needed.
14600 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14602 # The name of the directory that contains temporary libtool files.
14605 # Shell to use when invoking shell scripts.
14608 # An echo program that does not interpret backslashes.
14611 # Used to examine libraries when file_magic_cmd begins with "file".
14612 MAGIC_CMD=$MAGIC_CMD
14614 # Must we lock files when doing compilation?
14615 need_locks=$lt_need_locks
14617 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14618 DSYMUTIL=$lt_DSYMUTIL
14620 # Tool to change global to local symbols on Mac OS X.
14623 # Tool to manipulate fat objects and archives on Mac OS X.
14626 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14629 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14630 OTOOL64=$lt_OTOOL64
14632 # Old archive suffix (normally "a").
14635 # Shared library suffix (normally ".so").
14636 shrext_cmds=$lt_shrext_cmds
14638 # The commands to extract the exported symbol list from a shared archive.
14639 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14641 # Variables whose values should be saved in libtool wrapper scripts and
14642 # restored at link time.
14643 variables_saved_for_relink=$lt_variables_saved_for_relink
14645 # Do we need the "lib" prefix for modules?
14646 need_lib_prefix=$need_lib_prefix
14648 # Do we need a version for libraries?
14649 need_version=$need_version
14651 # Library versioning type.
14652 version_type=$version_type
14654 # Shared library runtime path variable.
14655 runpath_var=$runpath_var
14657 # Shared library path variable.
14658 shlibpath_var=$shlibpath_var
14660 # Is shlibpath searched before the hard-coded library search path?
14661 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14663 # Format of library name prefix.
14664 libname_spec=$lt_libname_spec
14666 # List of archive names. First name is the real one, the rest are links.
14667 # The last name is the one that the linker finds with -lNAME
14668 library_names_spec=$lt_library_names_spec
14670 # The coded name of the library, if different from the real name.
14671 soname_spec=$lt_soname_spec
14673 # Command to use after installation of a shared archive.
14674 postinstall_cmds=$lt_postinstall_cmds
14676 # Command to use after uninstallation of a shared archive.
14677 postuninstall_cmds=$lt_postuninstall_cmds
14679 # Commands used to finish a libtool library installation in a directory.
14680 finish_cmds=$lt_finish_cmds
14682 # As "finish_cmds", except a single script fragment to be evaled but
14684 finish_eval=$lt_finish_eval
14686 # Whether we should hardcode library paths into libraries.
14687 hardcode_into_libs=$hardcode_into_libs
14689 # Compile-time system search path for libraries.
14690 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14692 # Run-time system search path for libraries.
14693 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14695 # Whether dlopen is supported.
14696 dlopen_support=$enable_dlopen
14698 # Whether dlopen of programs is supported.
14699 dlopen_self=$enable_dlopen_self
14701 # Whether dlopen of statically linked programs is supported.
14702 dlopen_self_static=$enable_dlopen_self_static
14704 # Commands to strip libraries.
14705 old_striplib=$lt_old_striplib
14706 striplib=$lt_striplib
14709 # The linker used to build libraries.
14712 # Commands used to build an old-style archive.
14713 old_archive_cmds=$lt_old_archive_cmds
14715 # A language specific compiler.
14718 # Is the compiler the GNU compiler?
14721 # Compiler flag to turn off builtin functions.
14722 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14724 # How to pass a linker flag through the compiler.
14725 wl=$lt_lt_prog_compiler_wl
14727 # Additional compiler flags for building library objects.
14728 pic_flag=$lt_lt_prog_compiler_pic
14730 # Compiler flag to prevent dynamic linking.
14731 link_static_flag=$lt_lt_prog_compiler_static
14733 # Does compiler simultaneously support -c and -o options?
14734 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14736 # Whether or not to add -lc for building shared libraries.
14737 build_libtool_need_lc=$archive_cmds_need_lc
14739 # Whether or not to disallow shared libs when runtime libs are static.
14740 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14742 # Compiler flag to allow reflexive dlopens.
14743 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14745 # Compiler flag to generate shared objects directly from archives.
14746 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14748 # Whether the compiler copes with passing no objects directly.
14749 compiler_needs_object=$lt_compiler_needs_object
14751 # Create an old-style archive from a shared archive.
14752 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14754 # Create a temporary old-style archive to link instead of a shared archive.
14755 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14757 # Commands used to build a shared archive.
14758 archive_cmds=$lt_archive_cmds
14759 archive_expsym_cmds=$lt_archive_expsym_cmds
14761 # Commands used to build a loadable module if different from building
14762 # a shared archive.
14763 module_cmds=$lt_module_cmds
14764 module_expsym_cmds=$lt_module_expsym_cmds
14766 # Whether we are building with GNU ld or not.
14767 with_gnu_ld=$lt_with_gnu_ld
14769 # Flag that allows shared libraries with undefined symbols to be built.
14770 allow_undefined_flag=$lt_allow_undefined_flag
14772 # Flag that enforces no undefined symbols.
14773 no_undefined_flag=$lt_no_undefined_flag
14775 # Flag to hardcode \$libdir into a binary during linking.
14776 # This must work even if \$libdir does not exist
14777 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14779 # If ld is used when linking, flag to hardcode \$libdir into a binary
14780 # during linking. This must work even if \$libdir does not exist.
14781 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14783 # Whether we need a single "-rpath" flag with a separated argument.
14784 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14786 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14787 # DIR into the resulting binary.
14788 hardcode_direct=$hardcode_direct
14790 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14791 # DIR into the resulting binary and the resulting library dependency is
14792 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14793 # library is relocated.
14794 hardcode_direct_absolute=$hardcode_direct_absolute
14796 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14797 # into the resulting binary.
14798 hardcode_minus_L=$hardcode_minus_L
14800 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14801 # into the resulting binary.
14802 hardcode_shlibpath_var=$hardcode_shlibpath_var
14804 # Set to "yes" if building a shared library automatically hardcodes DIR
14805 # into the library and all subsequent libraries and executables linked
14807 hardcode_automatic=$hardcode_automatic
14809 # Set to yes if linker adds runtime paths of dependent libraries
14810 # to runtime path list.
14811 inherit_rpath=$inherit_rpath
14813 # Whether libtool must link a program against all its dependency libraries.
14814 link_all_deplibs=$link_all_deplibs
14816 # Fix the shell variable \$srcfile for the compiler.
14817 fix_srcfile_path=$lt_fix_srcfile_path
14819 # Set to "yes" if exported symbols are required.
14820 always_export_symbols=$always_export_symbols
14822 # The commands to list exported symbols.
14823 export_symbols_cmds=$lt_export_symbols_cmds
14825 # Symbols that should not be listed in the preloaded symbols.
14826 exclude_expsyms=$lt_exclude_expsyms
14828 # Symbols that must always be exported.
14829 include_expsyms=$lt_include_expsyms
14831 # Commands necessary for linking programs (against libraries) with templates.
14832 prelink_cmds=$lt_prelink_cmds
14834 # Specify filename containing input files.
14835 file_list_spec=$lt_file_list_spec
14837 # How to hardcode a shared library path into an executable.
14838 hardcode_action=$hardcode_action
14840 # ### END LIBTOOL CONFIG
14846 cat <<\_LT_EOF >> "$cfgfile"
14847 # AIX sometimes has problems with the GCC collect2 program. For some
14848 # reason, if we set the COLLECT_NAMES environment variable, the problems
14849 # vanish in a puff of smoke.
14850 if test "X${COLLECT_NAMES+set}" != Xset; then
14852 export COLLECT_NAMES
14859 ltmain="$ac_aux_dir/ltmain.sh"
14862 # We use sed instead of cat because bash on DJGPP gets confused if
14863 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14864 # text mode, it properly converts lines to CR/LF. This bash problem
14865 # is reportedly fixed, but why not run on old versions too?
14866 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14867 || (rm -f "$cfgfile"; exit 1)
14871 cat << \_LT_EOF >> "$cfgfile"
14873 # func_dirname file append nondir_replacement
14874 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14875 # otherwise set result to NONDIR_REPLACEMENT.
14879 */*) func_dirname_result="${1%/*}${2}" ;;
14880 * ) func_dirname_result="${3}" ;;
14884 # func_basename file
14887 func_basename_result="${1##*/}"
14890 # func_dirname_and_basename file append nondir_replacement
14891 # perform func_basename and func_dirname in a single function
14893 # dirname: Compute the dirname of FILE. If nonempty,
14894 # add APPEND to the result, otherwise set result
14895 # to NONDIR_REPLACEMENT.
14896 # value returned in "$func_dirname_result"
14897 # basename: Compute filename of FILE.
14898 # value retuned in "$func_basename_result"
14899 # Implementation must be kept synchronized with func_dirname
14900 # and func_basename. For efficiency, we do not delegate to
14901 # those functions but instead duplicate the functionality here.
14902 func_dirname_and_basename ()
14905 */*) func_dirname_result="${1%/*}${2}" ;;
14906 * ) func_dirname_result="${3}" ;;
14908 func_basename_result="${1##*/}"
14911 # func_stripname prefix suffix name
14912 # strip PREFIX and SUFFIX off of NAME.
14913 # PREFIX and SUFFIX must not contain globbing or regex special
14914 # characters, hashes, percent signs, but SUFFIX may contain a leading
14915 # dot (in which case that matches only a dot).
14918 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14919 # positional parameters, so assign one to ordinary parameter first.
14920 func_stripname_result=${3}
14921 func_stripname_result=${func_stripname_result#"${1}"}
14922 func_stripname_result=${func_stripname_result%"${2}"}
14928 func_opt_split_opt=${1%%=*}
14929 func_opt_split_arg=${1#*=}
14936 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14937 *) func_lo2o_result=${1} ;;
14941 # func_xform libobj-or-source
14944 func_xform_result=${1%.*}.lo
14947 # func_arith arithmetic-term...
14950 func_arith_result=$(( $* ))
14954 # STRING may not start with a hyphen.
14957 func_len_result=${#1}
14962 *) # Bourne compatible functions.
14963 cat << \_LT_EOF >> "$cfgfile"
14965 # func_dirname file append nondir_replacement
14966 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14967 # otherwise set result to NONDIR_REPLACEMENT.
14970 # Extract subdirectory from the argument.
14971 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14972 if test "X$func_dirname_result" = "X${1}"; then
14973 func_dirname_result="${3}"
14975 func_dirname_result="$func_dirname_result${2}"
14979 # func_basename file
14982 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14986 # func_stripname prefix suffix name
14987 # strip PREFIX and SUFFIX off of NAME.
14988 # PREFIX and SUFFIX must not contain globbing or regex special
14989 # characters, hashes, percent signs, but SUFFIX may contain a leading
14990 # dot (in which case that matches only a dot).
14991 # func_strip_suffix prefix name
14995 .*) func_stripname_result=`$ECHO "X${3}" \
14996 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14997 *) func_stripname_result=`$ECHO "X${3}" \
14998 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15003 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15004 my_sed_long_arg='1s/^-[^=]*=//'
15009 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15010 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15016 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15019 # func_xform libobj-or-source
15022 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15025 # func_arith arithmetic-term...
15028 func_arith_result=`expr "$@"`
15032 # STRING may not start with a hyphen.
15035 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15041 case $lt_shell_append in
15043 cat << \_LT_EOF >> "$cfgfile"
15045 # func_append var value
15046 # Append VALUE to the end of shell variable VAR.
15054 cat << \_LT_EOF >> "$cfgfile"
15056 # func_append var value
15057 # Append VALUE to the end of shell variable VAR.
15068 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15069 || (rm -f "$cfgfile"; exit 1)
15071 mv -f "$cfgfile" "$ofile" ||
15072 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15081 { (exit 0); exit 0; }
15083 chmod +x $CONFIG_STATUS
15084 ac_clean_files=$ac_clean_files_save
15086 test $ac_write_fail = 0 ||
15087 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15088 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15089 { (exit 1); exit 1; }; }
15092 # configure is writing to config.log, and then calls config.status.
15093 # config.status does its own redirection, appending to config.log.
15094 # Unfortunately, on DOS this fails, as config.log is still kept open
15095 # by configure, so config.status won't be able to write to it; its
15096 # output is simply discarded. So we exec the FD to /dev/null,
15097 # effectively closing config.log, so it can be properly (re)opened and
15098 # appended to by config.status. When coming back to configure, we
15099 # need to make the FD available again.
15100 if test "$no_create" != yes; then
15102 ac_config_status_args=
15103 test "$silent" = yes &&
15104 ac_config_status_args="$ac_config_status_args --quiet"
15106 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15108 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15109 # would make configure fail if this is the last instruction.
15110 $ac_cs_success || { (exit 1); exit 1; }
15112 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15113 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15114 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}