2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for shibboleth-resolver 0.2.
5 # Report bugs to <MOONSHOT-COMMUNITY@JISCMAIL.AC.UK>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: MOONSHOT-COMMUNITY@JISCMAIL.AC.UK about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
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 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='shibboleth-resolver'
703 PACKAGE_TARNAME='shibboleth-resolver'
704 PACKAGE_VERSION='0.2'
705 PACKAGE_STRING='shibboleth-resolver 0.2'
706 PACKAGE_BUGREPORT='MOONSHOT-COMMUNITY@JISCMAIL.AC.UK'
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars='am__EXEEXT_FALSE
817 INSTALL_STRIP_PROGRAM
859 program_transform_name
872 enable_option_checking
877 enable_dependency_tracking
892 ac_precious_vars='build_alias
907 # Initialize some variables set by options.
909 ac_init_version=false
910 ac_unrecognized_opts=
912 # The variables have the same names as the options, with
913 # dashes changed to underlines.
921 program_transform_name=s,x,x,
929 # Installation directory options.
930 # These are left unexpanded so users can "make install exec_prefix=/foo"
931 # and all the variables that are supposed to be based on exec_prefix
932 # by default will actually change.
933 # Use braces instead of parens because sh, perl, etc. also accept them.
934 # (The list follows the same order as the GNU Coding Standards.)
935 bindir='${exec_prefix}/bin'
936 sbindir='${exec_prefix}/sbin'
937 libexecdir='${exec_prefix}/libexec'
938 datarootdir='${prefix}/share'
939 datadir='${datarootdir}'
940 sysconfdir='${prefix}/etc'
941 sharedstatedir='${prefix}/com'
942 localstatedir='${prefix}/var'
943 includedir='${prefix}/include'
944 oldincludedir='/usr/include'
945 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
946 infodir='${datarootdir}/info'
951 libdir='${exec_prefix}/lib'
952 localedir='${datarootdir}/locale'
953 mandir='${datarootdir}/man'
959 # If the previous option needs an argument, assign it.
960 if test -n "$ac_prev"; then
961 eval $ac_prev=\$ac_option
967 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
972 # Accept the important Cygnus configure options, so we can diagnose typos.
974 case $ac_dashdash$ac_option in
978 -bindir | --bindir | --bindi | --bind | --bin | --bi)
980 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
983 -build | --build | --buil | --bui | --bu)
984 ac_prev=build_alias ;;
985 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
986 build_alias=$ac_optarg ;;
988 -cache-file | --cache-file | --cache-fil | --cache-fi \
989 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
990 ac_prev=cache_file ;;
991 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
992 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
993 cache_file=$ac_optarg ;;
996 cache_file=config.cache ;;
998 -datadir | --datadir | --datadi | --datad)
1000 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1001 datadir=$ac_optarg ;;
1003 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1004 | --dataroo | --dataro | --datar)
1005 ac_prev=datarootdir ;;
1006 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1007 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1008 datarootdir=$ac_optarg ;;
1010 -disable-* | --disable-*)
1011 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1014 as_fn_error $? "invalid feature name: $ac_useropt"
1015 ac_useropt_orig=$ac_useropt
1016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1019 "enable_$ac_useropt"
1021 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1022 ac_unrecognized_sep=', ';;
1024 eval enable_$ac_useropt=no ;;
1026 -docdir | --docdir | --docdi | --doc | --do)
1028 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1029 docdir=$ac_optarg ;;
1031 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1033 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1034 dvidir=$ac_optarg ;;
1036 -enable-* | --enable-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error $? "invalid feature name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_$ac_useropt"
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1050 eval enable_$ac_useropt=\$ac_optarg ;;
1052 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1053 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1054 | --exec | --exe | --ex)
1055 ac_prev=exec_prefix ;;
1056 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1057 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1058 | --exec=* | --exe=* | --ex=*)
1059 exec_prefix=$ac_optarg ;;
1061 -gas | --gas | --ga | --g)
1062 # Obsolete; use --with-gas.
1065 -help | --help | --hel | --he | -h)
1066 ac_init_help=long ;;
1067 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1068 ac_init_help=recursive ;;
1069 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1070 ac_init_help=short ;;
1072 -host | --host | --hos | --ho)
1073 ac_prev=host_alias ;;
1074 -host=* | --host=* | --hos=* | --ho=*)
1075 host_alias=$ac_optarg ;;
1077 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1079 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1081 htmldir=$ac_optarg ;;
1083 -includedir | --includedir | --includedi | --included | --include \
1084 | --includ | --inclu | --incl | --inc)
1085 ac_prev=includedir ;;
1086 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1087 | --includ=* | --inclu=* | --incl=* | --inc=*)
1088 includedir=$ac_optarg ;;
1090 -infodir | --infodir | --infodi | --infod | --info | --inf)
1092 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1093 infodir=$ac_optarg ;;
1095 -libdir | --libdir | --libdi | --libd)
1097 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1098 libdir=$ac_optarg ;;
1100 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1101 | --libexe | --libex | --libe)
1102 ac_prev=libexecdir ;;
1103 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1104 | --libexe=* | --libex=* | --libe=*)
1105 libexecdir=$ac_optarg ;;
1107 -localedir | --localedir | --localedi | --localed | --locale)
1108 ac_prev=localedir ;;
1109 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1110 localedir=$ac_optarg ;;
1112 -localstatedir | --localstatedir | --localstatedi | --localstated \
1113 | --localstate | --localstat | --localsta | --localst | --locals)
1114 ac_prev=localstatedir ;;
1115 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1116 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1117 localstatedir=$ac_optarg ;;
1119 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1121 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1122 mandir=$ac_optarg ;;
1124 -nfp | --nfp | --nf)
1125 # Obsolete; use --without-fp.
1128 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1129 | --no-cr | --no-c | -n)
1132 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1133 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1136 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1137 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1138 | --oldin | --oldi | --old | --ol | --o)
1139 ac_prev=oldincludedir ;;
1140 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1141 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1142 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1143 oldincludedir=$ac_optarg ;;
1145 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1147 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1148 prefix=$ac_optarg ;;
1150 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1151 | --program-pre | --program-pr | --program-p)
1152 ac_prev=program_prefix ;;
1153 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1154 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1155 program_prefix=$ac_optarg ;;
1157 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1158 | --program-suf | --program-su | --program-s)
1159 ac_prev=program_suffix ;;
1160 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1161 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1162 program_suffix=$ac_optarg ;;
1164 -program-transform-name | --program-transform-name \
1165 | --program-transform-nam | --program-transform-na \
1166 | --program-transform-n | --program-transform- \
1167 | --program-transform | --program-transfor \
1168 | --program-transfo | --program-transf \
1169 | --program-trans | --program-tran \
1170 | --progr-tra | --program-tr | --program-t)
1171 ac_prev=program_transform_name ;;
1172 -program-transform-name=* | --program-transform-name=* \
1173 | --program-transform-nam=* | --program-transform-na=* \
1174 | --program-transform-n=* | --program-transform-=* \
1175 | --program-transform=* | --program-transfor=* \
1176 | --program-transfo=* | --program-transf=* \
1177 | --program-trans=* | --program-tran=* \
1178 | --progr-tra=* | --program-tr=* | --program-t=*)
1179 program_transform_name=$ac_optarg ;;
1181 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1183 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1184 pdfdir=$ac_optarg ;;
1186 -psdir | --psdir | --psdi | --psd | --ps)
1188 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1191 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1192 | -silent | --silent | --silen | --sile | --sil)
1195 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1197 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1199 sbindir=$ac_optarg ;;
1201 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1202 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1203 | --sharedst | --shareds | --shared | --share | --shar \
1205 ac_prev=sharedstatedir ;;
1206 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1207 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1208 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1210 sharedstatedir=$ac_optarg ;;
1212 -site | --site | --sit)
1214 -site=* | --site=* | --sit=*)
1217 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1219 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1220 srcdir=$ac_optarg ;;
1222 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1223 | --syscon | --sysco | --sysc | --sys | --sy)
1224 ac_prev=sysconfdir ;;
1225 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1226 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1227 sysconfdir=$ac_optarg ;;
1229 -target | --target | --targe | --targ | --tar | --ta | --t)
1230 ac_prev=target_alias ;;
1231 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1232 target_alias=$ac_optarg ;;
1234 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1237 -version | --version | --versio | --versi | --vers | -V)
1238 ac_init_version=: ;;
1241 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244 as_fn_error $? "invalid package name: $ac_useropt"
1245 ac_useropt_orig=$ac_useropt
1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1252 ac_unrecognized_sep=', ';;
1254 eval with_$ac_useropt=\$ac_optarg ;;
1256 -without-* | --without-*)
1257 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260 as_fn_error $? "invalid package name: $ac_useropt"
1261 ac_useropt_orig=$ac_useropt
1262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263 case $ac_user_opts in
1267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1268 ac_unrecognized_sep=', ';;
1270 eval with_$ac_useropt=no ;;
1273 # Obsolete; use --with-x.
1276 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1277 | --x-incl | --x-inc | --x-in | --x-i)
1278 ac_prev=x_includes ;;
1279 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1280 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1281 x_includes=$ac_optarg ;;
1283 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1284 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1285 ac_prev=x_libraries ;;
1286 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1287 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1288 x_libraries=$ac_optarg ;;
1290 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1291 Try \`$0 --help' for more information"
1295 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1296 # Reject names that are not valid shell variable names.
1297 case $ac_envvar in #(
1298 '' | [0-9]* | *[!_$as_cr_alnum]* )
1299 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1301 eval $ac_envvar=\$ac_optarg
1302 export $ac_envvar ;;
1305 # FIXME: should be removed in autoconf 3.0.
1306 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1307 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1308 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1309 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1315 if test -n "$ac_prev"; then
1316 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1317 as_fn_error $? "missing argument to $ac_option"
1320 if test -n "$ac_unrecognized_opts"; then
1321 case $enable_option_checking in
1323 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1324 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1328 # Check all directory arguments for consistency.
1329 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1330 datadir sysconfdir sharedstatedir localstatedir includedir \
1331 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1332 libdir localedir mandir
1334 eval ac_val=\$$ac_var
1335 # Remove trailing slashes.
1338 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1339 eval $ac_var=\$ac_val;;
1341 # Be sure to have absolute directory names.
1343 [\\/$]* | ?:[\\/]* ) continue;;
1344 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1346 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1349 # There might be people who depend on the old broken behavior: `$host'
1350 # used to hold the argument of --host etc.
1351 # FIXME: To remove some day.
1354 target=$target_alias
1356 # FIXME: To remove some day.
1357 if test "x$host_alias" != x; then
1358 if test "x$build_alias" = x; then
1359 cross_compiling=maybe
1360 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1361 If a cross compiler is detected then cross compile mode will be used" >&2
1362 elif test "x$build_alias" != "x$host_alias"; then
1368 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1370 test "$silent" = yes && exec 6>/dev/null
1373 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1374 ac_ls_di=`ls -di .` &&
1375 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1376 as_fn_error $? "working directory cannot be determined"
1377 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378 as_fn_error $? "pwd does not report name of working directory"
1381 # Find the source files, if location was not specified.
1382 if test -z "$srcdir"; then
1383 ac_srcdir_defaulted=yes
1384 # Try the directory containing this script, then the parent directory.
1385 ac_confdir=`$as_dirname -- "$as_myself" ||
1386 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1387 X"$as_myself" : 'X\(//\)[^/]' \| \
1388 X"$as_myself" : 'X\(//\)$' \| \
1389 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1390 $as_echo X"$as_myself" |
1391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1413 ac_srcdir_defaulted=no
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1417 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1419 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1421 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1423 # When building in place, set srcdir=.
1424 if test "$ac_abs_confdir" = "$ac_pwd"; then
1427 # Remove unnecessary trailing slashes from srcdir.
1428 # Double slashes in file names in object file debugging info
1429 # mess up M-x gdb in Emacs.
1431 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1433 for ac_var in $ac_precious_vars; do
1434 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1435 eval ac_env_${ac_var}_value=\$${ac_var}
1436 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1437 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1441 # Report the --help message.
1443 if test "$ac_init_help" = "long"; then
1444 # Omit some internal or obsolete options to make the list less imposing.
1445 # This message is too long to be a string in the A/UX 3.1 sh.
1447 \`configure' configures shibboleth-resolver 0.2 to adapt to many kinds of systems.
1449 Usage: $0 [OPTION]... [VAR=VALUE]...
1451 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1452 VAR=VALUE. See below for descriptions of some of the useful variables.
1454 Defaults for the options are specified in brackets.
1457 -h, --help display this help and exit
1458 --help=short display options specific to this package
1459 --help=recursive display the short help of all the included packages
1460 -V, --version display version information and exit
1461 -q, --quiet, --silent do not print \`checking ...' messages
1462 --cache-file=FILE cache test results in FILE [disabled]
1463 -C, --config-cache alias for \`--cache-file=config.cache'
1464 -n, --no-create do not create output files
1465 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1467 Installation directories:
1468 --prefix=PREFIX install architecture-independent files in PREFIX
1469 [$ac_default_prefix]
1470 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1473 By default, \`make install' will install all the files in
1474 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1475 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1476 for instance \`--prefix=\$HOME'.
1478 For better control, use the options below.
1480 Fine tuning of the installation directories:
1481 --bindir=DIR user executables [EPREFIX/bin]
1482 --sbindir=DIR system admin executables [EPREFIX/sbin]
1483 --libexecdir=DIR program executables [EPREFIX/libexec]
1484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1486 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1487 --libdir=DIR object code libraries [EPREFIX/lib]
1488 --includedir=DIR C header files [PREFIX/include]
1489 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1492 --infodir=DIR info documentation [DATAROOTDIR/info]
1493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1494 --mandir=DIR man documentation [DATAROOTDIR/man]
1495 --docdir=DIR documentation root
1496 [DATAROOTDIR/doc/shibboleth-resolver]
1497 --htmldir=DIR html documentation [DOCDIR]
1498 --dvidir=DIR dvi documentation [DOCDIR]
1499 --pdfdir=DIR pdf documentation [DOCDIR]
1500 --psdir=DIR ps documentation [DOCDIR]
1506 --program-prefix=PREFIX prepend PREFIX to installed program names
1507 --program-suffix=SUFFIX append SUFFIX to installed program names
1508 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1511 --build=BUILD configure for building on BUILD [guessed]
1512 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1516 if test -n "$ac_init_help"; then
1517 case $ac_init_help in
1518 short | recursive ) echo "Configuration of shibboleth-resolver 0.2:";;
1523 --disable-option-checking ignore unrecognized --enable/--with options
1524 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1525 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1526 --enable-static[=PKGS] build static libraries [default=no]
1527 --enable-shared[=PKGS] build shared libraries [default=yes]
1528 --enable-fast-install[=PKGS]
1529 optimize for fast installation [default=yes]
1530 --disable-dependency-tracking speeds up one-time build
1531 --enable-dependency-tracking do not reject slow dependency extractors
1532 --disable-libtool-lock avoid locking (might break parallel builds)
1533 --enable-debug Have GCC compile with symbols (Default = no)
1536 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1537 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1538 --with-pic try to use only PIC/non-PIC objects [default=use
1540 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1541 --with-log4shib=PATH where log4shib-config is installed
1542 --with-log4cpp=PATH where log4cpp-config is installed
1543 --with-xerces=PATH where xerces-c is installed
1544 --with-xmltooling=PATH where xmltooling-c is installed
1545 --with-xmlsec=PATH where xmlsec is installed
1546 --with-saml=PATH where saml is installed
1547 --with-shibsp=PATH where Shibboleth SP is installed
1548 --with-gssapi-includes=DIR
1549 Specify location of GSSAPI header
1550 --with-gssapi-libs=DIR Specify location of GSSAPI libs
1551 --with-gssapi=DIR Where to look for GSSAPI
1553 Some influential environment variables:
1554 CC C compiler command
1555 CFLAGS C compiler flags
1556 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1557 nonstandard directory <lib dir>
1558 LIBS libraries to pass to the linker, e.g. -l<library>
1559 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1560 you have headers in a nonstandard directory <include dir>
1562 CXX C++ compiler command
1563 CXXFLAGS C++ compiler flags
1564 CXXCPP C++ preprocessor
1566 Use these variables to override the choices made by `configure' or to help
1567 it to find libraries and programs with nonstandard names/locations.
1569 Report bugs to <MOONSHOT-COMMUNITY@JISCMAIL.AC.UK>.
1574 if test "$ac_init_help" = "recursive"; then
1575 # If there are subdirs, report their specific --help.
1576 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1577 test -d "$ac_dir" ||
1578 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1586 # A ".." for each directory in $ac_dir_suffix.
1587 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1588 case $ac_top_builddir_sub in
1589 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593 ac_abs_top_builddir=$ac_pwd
1594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595 # for backward compatibility:
1596 ac_top_builddir=$ac_top_build_prefix
1599 .) # We are building in place.
1601 ac_top_srcdir=$ac_top_builddir_sub
1602 ac_abs_top_srcdir=$ac_pwd ;;
1603 [\\/]* | ?:[\\/]* ) # Absolute name.
1604 ac_srcdir=$srcdir$ac_dir_suffix;
1605 ac_top_srcdir=$srcdir
1606 ac_abs_top_srcdir=$srcdir ;;
1608 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609 ac_top_srcdir=$ac_top_build_prefix$srcdir
1610 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614 cd "$ac_dir" || { ac_status=$?; continue; }
1615 # Check for guested configure.
1616 if test -f "$ac_srcdir/configure.gnu"; then
1618 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619 elif test -f "$ac_srcdir/configure"; then
1621 $SHELL "$ac_srcdir/configure" --help=recursive
1623 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625 cd "$ac_pwd" || { ac_status=$?; break; }
1629 test -n "$ac_init_help" && exit $ac_status
1630 if $ac_init_version; then
1632 shibboleth-resolver configure 0.2
1633 generated by GNU Autoconf 2.67
1635 Copyright (C) 2010 Free Software Foundation, Inc.
1636 This configure script is free software; the Free Software Foundation
1637 gives unlimited permission to copy, distribute and modify it.
1642 ## ------------------------ ##
1643 ## Autoconf initialization. ##
1644 ## ------------------------ ##
1646 # ac_fn_c_try_compile LINENO
1647 # --------------------------
1648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1649 ac_fn_c_try_compile ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 rm -f conftest.$ac_objext
1653 if { { ac_try="$ac_compile"
1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_compile") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest.$ac_objext; then :
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1680 as_fn_set_status $ac_retval
1682 } # ac_fn_c_try_compile
1684 # ac_fn_c_try_link LINENO
1685 # -----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext conftest$ac_exeext
1691 if { { ac_try="$ac_link"
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_link") 2>conftest.err
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest$ac_exeext && {
1710 test "$cross_compiling" = yes ||
1711 $as_test_x conftest$ac_exeext
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1720 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1721 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1722 # interfere with the next link command; also delete a directory that is
1723 # left behind by Apple's compiler. We do this before executing the actions.
1724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 as_fn_set_status $ac_retval
1728 } # ac_fn_c_try_link
1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1731 # -------------------------------------------------------
1732 # Tests whether HEADER exists and can be compiled using the include files in
1733 # INCLUDES, setting the cache variable VAR accordingly.
1734 ac_fn_c_check_header_compile ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval "test \"\${$3+set}\"" = set; then :
1740 $as_echo_n "(cached) " >&6
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1747 if ac_fn_c_try_compile "$LINENO"; then :
1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 } # ac_fn_c_check_header_compile
1761 # ac_fn_c_try_cpp LINENO
1762 # ----------------------
1763 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 if { { ac_try="$ac_cpp conftest.$ac_ext"
1769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } > conftest.i && {
1783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 as_fn_set_status $ac_retval
1798 # ac_fn_c_try_run LINENO
1799 # ----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801 # that executables *can* be run.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_link"
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>&5
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1816 { { case "(($ac_try" in
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_try") 2>&5
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; }; }; then :
1828 $as_echo "$as_me: program exited with status $ac_status" >&5
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=$ac_status
1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 as_fn_set_status $ac_retval
1840 # ac_fn_c_check_func LINENO FUNC VAR
1841 # ----------------------------------
1842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1843 ac_fn_c_check_func ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval "test \"\${$3+set}\"" = set; then :
1849 $as_echo_n "(cached) " >&6
1851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1855 #define $2 innocuous_$2
1857 /* System header to define __stub macros and hopefully few prototypes,
1858 which can conflict with char $2 (); below.
1859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1860 <limits.h> exists even on freestanding compilers. */
1863 # include <limits.h>
1865 # include <assert.h>
1870 /* Override any GCC internal prototype to avoid an error.
1871 Use char because int might match the return type of a GCC
1872 builtin and then its argument prototype would still apply. */
1877 /* The GNU C library defines this for functions which it implements
1878 to always fail with ENOSYS. Some functions are actually named
1879 something starting with __ and the normal name is an alias. */
1880 #if defined __stub_$2 || defined __stub___$2
1892 if ac_fn_c_try_link "$LINENO"; then :
1897 rm -f core conftest.err conftest.$ac_objext \
1898 conftest$ac_exeext conftest.$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905 } # ac_fn_c_check_func
1907 # ac_fn_cxx_try_compile LINENO
1908 # ----------------------------
1909 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1910 ac_fn_cxx_try_compile ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 rm -f conftest.$ac_objext
1914 if { { ac_try="$ac_compile"
1916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1917 *) ac_try_echo=$ac_try;;
1919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1920 $as_echo "$ac_try_echo"; } >&5
1921 (eval "$ac_compile") 2>conftest.err
1923 if test -s conftest.err; then
1924 grep -v '^ *+' conftest.err >conftest.er1
1925 cat conftest.er1 >&5
1926 mv -f conftest.er1 conftest.err
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; } && {
1930 test -z "$ac_cxx_werror_flag" ||
1931 test ! -s conftest.err
1932 } && test -s conftest.$ac_objext; then :
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1940 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 as_fn_set_status $ac_retval
1943 } # ac_fn_cxx_try_compile
1945 # ac_fn_cxx_try_cpp LINENO
1946 # ------------------------
1947 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1948 ac_fn_cxx_try_cpp ()
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 if { { ac_try="$ac_cpp conftest.$ac_ext"
1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } > conftest.i && {
1967 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1968 test ! -s conftest.err
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978 as_fn_set_status $ac_retval
1980 } # ac_fn_cxx_try_cpp
1982 # ac_fn_cxx_try_link LINENO
1983 # -------------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded.
1985 ac_fn_cxx_try_link ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 rm -f conftest.$ac_objext conftest$ac_exeext
1989 if { { ac_try="$ac_link"
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_link") 2>conftest.err
1998 if test -s conftest.err; then
1999 grep -v '^ *+' conftest.err >conftest.er1
2000 cat conftest.er1 >&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } && {
2005 test -z "$ac_cxx_werror_flag" ||
2006 test ! -s conftest.err
2007 } && test -s conftest$ac_exeext && {
2008 test "$cross_compiling" = yes ||
2009 $as_test_x conftest$ac_exeext
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2018 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2019 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2020 # interfere with the next link command; also delete a directory that is
2021 # left behind by Apple's compiler. We do this before executing the actions.
2022 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024 as_fn_set_status $ac_retval
2026 } # ac_fn_cxx_try_link
2028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2029 # -------------------------------------------
2030 # Tests whether TYPE exists after having included INCLUDES, setting cache
2031 # variable VAR accordingly.
2032 ac_fn_c_check_type ()
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval "test \"\${$3+set}\"" = set; then :
2038 $as_echo_n "(cached) " >&6
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2053 if ac_fn_c_try_compile "$LINENO"; then :
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2066 if ac_fn_c_try_compile "$LINENO"; then :
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2080 } # ac_fn_c_check_type
2082 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2083 # ---------------------------------------------------------
2084 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2085 # the include files in INCLUDES and setting the cache variable VAR
2087 ac_fn_cxx_check_header_mongrel ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 if eval "test \"\${$3+set}\"" = set; then :
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2092 $as_echo_n "checking for $2... " >&6; }
2093 if eval "test \"\${$3+set}\"" = set; then :
2094 $as_echo_n "(cached) " >&6
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2098 $as_echo "$ac_res" >&6; }
2100 # Is the header compilable?
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2102 $as_echo_n "checking $2 usability... " >&6; }
2103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2108 if ac_fn_cxx_try_compile "$LINENO"; then :
2109 ac_header_compiler=yes
2111 ac_header_compiler=no
2113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2115 $as_echo "$ac_header_compiler" >&6; }
2117 # Is the header present?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2119 $as_echo_n "checking $2 presence... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2124 if ac_fn_cxx_try_cpp "$LINENO"; then :
2125 ac_header_preproc=yes
2127 ac_header_preproc=no
2129 rm -f conftest.err conftest.i conftest.$ac_ext
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2131 $as_echo "$ac_header_preproc" >&6; }
2133 # So? What about this header?
2134 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2137 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2139 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2143 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2145 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2147 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2149 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2151 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2152 ( $as_echo "## ------------------------------------------------ ##
2153 ## Report this to MOONSHOT-COMMUNITY@JISCMAIL.AC.UK ##
2154 ## ------------------------------------------------ ##"
2155 ) | sed "s/^/$as_me: WARNING: /" >&2
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2159 $as_echo_n "checking for $2... " >&6; }
2160 if eval "test \"\${$3+set}\"" = set; then :
2161 $as_echo_n "(cached) " >&6
2163 eval "$3=\$ac_header_compiler"
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167 $as_echo "$ac_res" >&6; }
2169 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2171 } # ac_fn_cxx_check_header_mongrel
2173 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2174 # ---------------------------------------------------------
2175 # Tests whether HEADER exists and can be compiled using the include files in
2176 # INCLUDES, setting the cache variable VAR accordingly.
2177 ac_fn_cxx_check_header_compile ()
2179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181 $as_echo_n "checking for $2... " >&6; }
2182 if eval "test \"\${$3+set}\"" = set; then :
2183 $as_echo_n "(cached) " >&6
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2190 if ac_fn_cxx_try_compile "$LINENO"; then :
2195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2202 } # ac_fn_cxx_check_header_compile
2203 cat >config.log <<_ACEOF
2204 This file contains any messages produced by compilers while
2205 running configure, to aid debugging if configure makes a mistake.
2207 It was created by shibboleth-resolver $as_me 0.2, which was
2208 generated by GNU Autoconf 2.67. Invocation command line was
2220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2232 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir=.
2244 $as_echo "PATH: $as_dir"
2260 # Keep a trace of the command line.
2261 # Strip out --no-create and --no-recursion so they do not pile up.
2262 # Strip out --silent because we don't want to record it for future runs.
2263 # Also quote any args containing shell meta-characters.
2264 # Make two passes to allow for proper duplicate-argument suppression.
2268 ac_must_keep_next=false
2274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2276 | -silent | --silent | --silen | --sile | --sil)
2279 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2282 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2284 as_fn_append ac_configure_args1 " '$ac_arg'"
2285 if test $ac_must_keep_next = true; then
2286 ac_must_keep_next=false # Got value, back to normal.
2289 *=* | --config-cache | -C | -disable-* | --disable-* \
2290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2292 | -with-* | --with-* | -without-* | --without-* | --x)
2293 case "$ac_configure_args0 " in
2294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2297 -* ) ac_must_keep_next=true ;;
2300 as_fn_append ac_configure_args " '$ac_arg'"
2305 { ac_configure_args0=; unset ac_configure_args0;}
2306 { ac_configure_args1=; unset ac_configure_args1;}
2308 # When interrupted or exit'd, cleanup temporary files, and complete
2309 # config.log. We remove comments because anyway the quotes in there
2310 # would cause problems or look ugly.
2311 # WARNING: Use '\'' to represent an apostrophe within the trap.
2312 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2313 trap 'exit_status=$?
2314 # Save into config.log some information that might help in debugging.
2318 $as_echo "## ---------------- ##
2319 ## Cache variables. ##
2320 ## ---------------- ##"
2322 # The following way of writing the cache mishandles newlines in values,
2324 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2325 eval ac_val=\$$ac_var
2329 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2330 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2333 _ | IFS | as_nl) ;; #(
2334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2335 *) { eval $ac_var=; unset $ac_var;} ;;
2340 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2341 *${as_nl}ac_space=\ *)
2343 "s/'\''/'\''\\\\'\'''\''/g;
2344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2354 $as_echo "## ----------------- ##
2355 ## Output variables. ##
2356 ## ----------------- ##"
2358 for ac_var in $ac_subst_vars
2360 eval ac_val=\$$ac_var
2362 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2364 $as_echo "$ac_var='\''$ac_val'\''"
2368 if test -n "$ac_subst_files"; then
2369 $as_echo "## ------------------- ##
2370 ## File substitutions. ##
2371 ## ------------------- ##"
2373 for ac_var in $ac_subst_files
2375 eval ac_val=\$$ac_var
2377 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2379 $as_echo "$ac_var='\''$ac_val'\''"
2384 if test -s confdefs.h; then
2385 $as_echo "## ----------- ##
2392 test "$ac_signal" != 0 &&
2393 $as_echo "$as_me: caught signal $ac_signal"
2394 $as_echo "$as_me: exit $exit_status"
2396 rm -f core *.core core.conftest.* &&
2397 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2400 for ac_signal in 1 2 13 15; do
2401 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2405 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2406 rm -f -r conftest* confdefs.h
2408 $as_echo "/* confdefs.h */" > confdefs.h
2410 # Predefined preprocessor variables.
2412 cat >>confdefs.h <<_ACEOF
2413 #define PACKAGE_NAME "$PACKAGE_NAME"
2416 cat >>confdefs.h <<_ACEOF
2417 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2420 cat >>confdefs.h <<_ACEOF
2421 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2424 cat >>confdefs.h <<_ACEOF
2425 #define PACKAGE_STRING "$PACKAGE_STRING"
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_URL "$PACKAGE_URL"
2437 # Let the site file select an alternate cache file if it wants to.
2438 # Prefer an explicitly selected file to automatically selected ones.
2441 if test -n "$CONFIG_SITE"; then
2442 # We do not want a PATH search for config.site.
2443 case $CONFIG_SITE in #((
2444 -*) ac_site_file1=./$CONFIG_SITE;;
2445 */*) ac_site_file1=$CONFIG_SITE;;
2446 *) ac_site_file1=./$CONFIG_SITE;;
2448 elif test "x$prefix" != xNONE; then
2449 ac_site_file1=$prefix/share/config.site
2450 ac_site_file2=$prefix/etc/config.site
2452 ac_site_file1=$ac_default_prefix/share/config.site
2453 ac_site_file2=$ac_default_prefix/etc/config.site
2455 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2457 test "x$ac_site_file" = xNONE && continue
2458 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2460 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2461 sed 's/^/| /' "$ac_site_file" >&5
2463 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2465 as_fn_error $? "failed to load site script $ac_site_file
2466 See \`config.log' for more details" "$LINENO" 5 ; }
2470 if test -r "$cache_file"; then
2471 # Some versions of bash will fail to source /dev/null (special files
2472 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2473 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2475 $as_echo "$as_me: loading cache $cache_file" >&6;}
2477 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2478 *) . "./$cache_file";;
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2483 $as_echo "$as_me: creating cache $cache_file" >&6;}
2487 # Check that the precious variables saved in the cache have kept the same
2489 ac_cache_corrupted=false
2490 for ac_var in $ac_precious_vars; do
2491 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2492 eval ac_new_set=\$ac_env_${ac_var}_set
2493 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2494 eval ac_new_val=\$ac_env_${ac_var}_value
2495 case $ac_old_set,$ac_new_set in
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2498 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2499 ac_cache_corrupted=: ;;
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2502 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2503 ac_cache_corrupted=: ;;
2506 if test "x$ac_old_val" != "x$ac_new_val"; then
2507 # differences in whitespace do not lead to failure.
2508 ac_old_val_w=`echo x $ac_old_val`
2509 ac_new_val_w=`echo x $ac_new_val`
2510 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2512 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2513 ac_cache_corrupted=:
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2516 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2517 eval $ac_var=\$ac_old_val
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2520 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2522 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2525 # Pass precious variables to config.status.
2526 if test "$ac_new_set" = set; then
2528 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2529 *) ac_arg=$ac_var=$ac_new_val ;;
2531 case " $ac_configure_args " in
2532 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2533 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2537 if $ac_cache_corrupted; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2541 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2542 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2544 ## -------------------- ##
2545 ## Main body of script. ##
2546 ## -------------------- ##
2549 ac_cpp='$CPP $CPPFLAGS'
2550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2557 for ac_dir in build-aux "$srcdir"/build-aux; do
2558 if test -f "$ac_dir/install-sh"; then
2560 ac_install_sh="$ac_aux_dir/install-sh -c"
2562 elif test -f "$ac_dir/install.sh"; then
2564 ac_install_sh="$ac_aux_dir/install.sh -c"
2566 elif test -f "$ac_dir/shtool"; then
2568 ac_install_sh="$ac_aux_dir/shtool install -c"
2572 if test -z "$ac_aux_dir"; then
2573 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2576 # These three variables are undocumented and unsupported,
2577 # and are intended to be withdrawn in a future Autoconf release.
2578 # They can cause serious problems if a builder's source tree is in a directory
2579 # whose full name contains unusual characters.
2580 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2581 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2582 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2586 am__api_version='1.11'
2588 # Find a good install program. We prefer a C program (faster),
2589 # so one script is as good as another. But avoid the broken or
2590 # incompatible versions:
2591 # SysV /etc/install, /usr/sbin/install
2592 # SunOS /usr/etc/install
2593 # IRIX /sbin/install
2595 # AmigaOS /C/install, which installs bootblocks on floppy discs
2596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2599 # OS/2's system install, which has a completely different semantic
2600 # ./install, which can be erroneously created by make from ./install.sh.
2601 # Reject install programs that cannot install multiple files.
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2603 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2604 if test -z "$INSTALL"; then
2605 if test "${ac_cv_path_install+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir=.
2613 # Account for people who put trailing slashes in PATH elements.
2614 case $as_dir/ in #((
2615 ./ | .// | /[cC]/* | \
2616 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2617 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2620 # OSF1 and SCO ODT 3.0 have their own names for install.
2621 # Don't use installbsd from OSF since it installs stuff as root
2623 for ac_prog in ginstall scoinst install; do
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2626 if test $ac_prog = install &&
2627 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2628 # AIX install. It has an incompatible calling convention.
2630 elif test $ac_prog = install &&
2631 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2632 # program-specific install script used by HP pwplus--don't use.
2635 rm -rf conftest.one conftest.two conftest.dir
2636 echo one > conftest.one
2637 echo two > conftest.two
2639 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2640 test -s conftest.one && test -s conftest.two &&
2641 test -s conftest.dir/conftest.one &&
2642 test -s conftest.dir/conftest.two
2644 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2657 rm -rf conftest.one conftest.two conftest.dir
2660 if test "${ac_cv_path_install+set}" = set; then
2661 INSTALL=$ac_cv_path_install
2663 # As a last resort, use the slow shell script. Don't cache a
2664 # value for INSTALL within a source directory, because that will
2665 # break other packages using the cache if that directory is
2666 # removed, or if the value is a relative name.
2667 INSTALL=$ac_install_sh
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2671 $as_echo "$INSTALL" >&6; }
2673 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2674 # It thinks the first close brace ends the variable substitution.
2675 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2677 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2679 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2682 $as_echo_n "checking whether build environment is sane... " >&6; }
2685 echo timestamp > conftest.file
2686 # Reject unsafe characters in $srcdir or the absolute working directory
2687 # name. Accept space and tab only in the latter.
2691 *[\\\"\#\$\&\'\`$am_lf]*)
2692 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2695 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2696 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2699 # Do `set' in a subshell so we don't clobber the current shell's
2700 # arguments. Must try -L first in case configure is actually a
2701 # symlink; some systems play weird games with the mod time of symlinks
2702 # (eg FreeBSD returns the mod time of the symlink's containing
2705 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2706 if test "$*" = "X"; then
2708 set X `ls -t "$srcdir/configure" conftest.file`
2711 if test "$*" != "X $srcdir/configure conftest.file" \
2712 && test "$*" != "X conftest.file $srcdir/configure"; then
2714 # If neither matched, then we have a broken ls. This can happen
2715 # if, for instance, CONFIG_SHELL is bash and it inherits a
2716 # broken ls alias from the environment. This has actually
2717 # happened. Such a system could not be considered "sane".
2718 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2719 alias in your environment" "$LINENO" 5
2722 test "$2" = conftest.file
2728 as_fn_error $? "newly created file is older than distributed files!
2729 Check your system clock" "$LINENO" 5
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; }
2733 test "$program_prefix" != NONE &&
2734 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2735 # Use a double $ so make ignores it.
2736 test "$program_suffix" != NONE &&
2737 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2738 # Double any \ or $.
2739 # By default was `s,x,x', remove it if useless.
2740 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2741 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2743 # expand $ac_aux_dir to an absolute path
2744 am_aux_dir=`cd $ac_aux_dir && pwd`
2746 if test x"${MISSING+set}" != xset; then
2749 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2751 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2754 # Use eval to expand $SHELL
2755 if eval "$MISSING --run true"; then
2756 am_missing_run="$MISSING --run "
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2760 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2763 if test x"${install_sh}" != xset; then
2766 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2768 install_sh="\${SHELL} $am_aux_dir/install-sh"
2772 # Installed binaries are usually stripped using `strip' when the user
2773 # run `make install-strip'. However `strip' might not be the right
2774 # tool to use in cross-compilation environments, therefore Automake
2775 # will honor the `STRIP' environment variable to overrule this program.
2776 if test "$cross_compiling" != no; then
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2779 set dummy ${ac_tool_prefix}strip; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if test "${ac_cv_prog_STRIP+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$STRIP"; then
2786 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 STRIP=$ac_cv_prog_STRIP
2806 if test -n "$STRIP"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2808 $as_echo "$STRIP" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2816 if test -z "$ac_cv_prog_STRIP"; then
2818 # Extract the first word of "strip", so it can be a program name with args.
2819 set dummy strip; ac_word=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$ac_ct_STRIP"; then
2826 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir=.
2833 for ac_exec_ext in '' $ac_executable_extensions; do
2834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2835 ac_cv_prog_ac_ct_STRIP="strip"
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2846 if test -n "$ac_ct_STRIP"; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2848 $as_echo "$ac_ct_STRIP" >&6; }
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2851 $as_echo "no" >&6; }
2854 if test "x$ac_ct_STRIP" = x; then
2857 case $cross_compiling:$ac_tool_warned in
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2861 ac_tool_warned=yes ;;
2866 STRIP="$ac_cv_prog_STRIP"
2870 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2873 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2874 if test -z "$MKDIR_P"; then
2875 if test "${ac_cv_path_mkdir+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2882 test -z "$as_dir" && as_dir=.
2883 for ac_prog in mkdir gmkdir; do
2884 for ac_exec_ext in '' $ac_executable_extensions; do
2885 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2886 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2887 'mkdir (GNU coreutils) '* | \
2888 'mkdir (coreutils) '* | \
2889 'mkdir (fileutils) '4.1*)
2890 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2900 test -d ./--version && rmdir ./--version
2901 if test "${ac_cv_path_mkdir+set}" = set; then
2902 MKDIR_P="$ac_cv_path_mkdir -p"
2904 # As a last resort, use the slow shell script. Don't cache a
2905 # value for MKDIR_P within a source directory, because that will
2906 # break other packages using the cache if that directory is
2907 # removed, or if the value is a relative name.
2908 MKDIR_P="$ac_install_sh -d"
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2912 $as_echo "$MKDIR_P" >&6; }
2916 [\\/$]* | ?:[\\/]*) ;;
2917 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2920 for ac_prog in gawk mawk nawk awk
2922 # Extract the first word of "$ac_prog", so it can be a program name with args.
2923 set dummy $ac_prog; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if test "${ac_cv_prog_AWK+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$AWK"; then
2930 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_AWK="$ac_prog"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test -n "$AWK"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2952 $as_echo "$AWK" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2959 test -n "$AWK" && break
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2963 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2965 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2966 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2967 $as_echo_n "(cached) " >&6
2969 cat >conftest.make <<\_ACEOF
2972 @echo '@@@%%%=$(MAKE)=@@@%%%'
2974 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2975 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2977 eval ac_cv_prog_make_${ac_make}_set=yes;;
2979 eval ac_cv_prog_make_${ac_make}_set=no;;
2983 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2985 $as_echo "yes" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2990 SET_MAKE="MAKE=${MAKE-make}"
2993 rm -rf .tst 2>/dev/null
2994 mkdir .tst 2>/dev/null
2995 if test -d .tst; then
3000 rmdir .tst 2>/dev/null
3002 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3003 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3004 # is not polluted with repeated "-I."
3005 am__isrc=' -I$(srcdir)'
3006 # test to see if srcdir already configured
3007 if test -f $srcdir/config.status; then
3008 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3012 # test whether we have cygpath
3013 if test -z "$CYGPATH_W"; then
3014 if (cygpath --version) >/dev/null 2>/dev/null; then
3015 CYGPATH_W='cygpath -w'
3022 # Define the identity of the package.
3023 PACKAGE='shibboleth-resolver'
3027 cat >>confdefs.h <<_ACEOF
3028 #define PACKAGE "$PACKAGE"
3032 cat >>confdefs.h <<_ACEOF
3033 #define VERSION "$VERSION"
3036 # Some tools Automake needs.
3038 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3041 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3044 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3047 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3050 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3052 # We need awk for the "check" target. The system "awk" is bad on
3054 # Always define AMTAR for backward compatibility.
3056 AMTAR=${AMTAR-"${am_missing_run}tar"}
3058 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3064 # Check whether --enable-static was given.
3065 if test "${enable_static+set}" = set; then :
3066 enableval=$enable_static; p=${PACKAGE-default}
3068 yes) enable_static=yes ;;
3069 no) enable_static=no ;;
3072 # Look at the argument we got. We use all the common list separators.
3073 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3074 for pkg in $enableval; do
3076 if test "X$pkg" = "X$p"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3098 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3103 macro_version='2.2.6b'
3104 macro_revision='1.3017'
3118 ltmain="$ac_aux_dir/ltmain.sh"
3120 # Make sure we can run config.sub.
3121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3122 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3125 $as_echo_n "checking build system type... " >&6; }
3126 if test "${ac_cv_build+set}" = set; then :
3127 $as_echo_n "(cached) " >&6
3129 ac_build_alias=$build_alias
3130 test "x$ac_build_alias" = x &&
3131 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3132 test "x$ac_build_alias" = x &&
3133 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3135 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3139 $as_echo "$ac_cv_build" >&6; }
3140 case $ac_cv_build in
3142 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3145 ac_save_IFS=$IFS; IFS='-'
3151 # Remember, the first character of IFS is used to create $*,
3152 # except with old shells:
3155 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3159 $as_echo_n "checking host system type... " >&6; }
3160 if test "${ac_cv_host+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 if test "x$host_alias" = x; then
3164 ac_cv_host=$ac_cv_build
3166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3172 $as_echo "$ac_cv_host" >&6; }
3175 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3178 ac_save_IFS=$IFS; IFS='-'
3184 # Remember, the first character of IFS is used to create $*,
3185 # except with old shells:
3188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3191 DEPDIR="${am__leading_dot}deps"
3193 ac_config_commands="$ac_config_commands depfiles"
3196 am_make=${MAKE-make}
3197 cat > confinc << 'END'
3199 @echo this is the am__doit target
3202 # If we don't find an include directive, just comment out the code.
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3204 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3208 # First try GNU make style include.
3209 echo "include confinc" > confmf
3210 # Ignore all kinds of additional output from `make'.
3211 case `$am_make -s -f confmf 2> /dev/null` in #(
3212 *the\ am__doit\ target*)
3218 # Now try BSD make style include.
3219 if test "$am__include" = "#"; then
3220 echo '.include "confinc"' > confmf
3221 case `$am_make -s -f confmf 2> /dev/null` in #(
3222 *the\ am__doit\ target*)
3223 am__include=.include
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3232 $as_echo "$_am_result" >&6; }
3233 rm -f confinc confmf
3235 # Check whether --enable-dependency-tracking was given.
3236 if test "${enable_dependency_tracking+set}" = set; then :
3237 enableval=$enable_dependency_tracking;
3240 if test "x$enable_dependency_tracking" != xno; then
3241 am_depcomp="$ac_aux_dir/depcomp"
3244 if test "x$enable_dependency_tracking" != xno; then
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_CC+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3266 if test -n "$CC"; then
3267 ac_cv_prog_CC="$CC" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 if test -n "$CC"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3289 $as_echo "$CC" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3297 if test -z "$ac_cv_prog_CC"; then
3299 # Extract the first word of "gcc", so it can be a program name with args.
3300 set dummy gcc; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -n "$ac_ct_CC"; then
3307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_CC="gcc"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3327 if test -n "$ac_ct_CC"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3329 $as_echo "$ac_ct_CC" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3335 if test "x$ac_ct_CC" = x; then
3338 case $cross_compiling:$ac_tool_warned in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3350 if test -z "$CC"; then
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}cc; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_CC+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC="$CC" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_CC="${ac_tool_prefix}cc"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3391 if test -z "$CC"; then
3392 # Extract the first word of "cc", so it can be a program name with args.
3393 set dummy cc; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if test "${ac_cv_prog_CC+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$CC"; then
3400 ac_cv_prog_CC="$CC" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3411 ac_prog_rejected=yes
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 if test $ac_prog_rejected = yes; then
3423 # We found a bogon in the path, so make sure we never use it.
3424 set dummy $ac_cv_prog_CC
3426 if test $# != 0; then
3427 # We chose a different compiler from the bogus one.
3428 # However, it has the same basename, so the bogon will be chosen
3429 # first if we set CC to just the basename; use the full file name.
3431 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3437 if test -n "$CC"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 $as_echo "$CC" >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3447 if test -z "$CC"; then
3448 if test -n "$ac_tool_prefix"; then
3449 for ac_prog in cl.exe
3451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3452 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3454 $as_echo_n "checking for $ac_word... " >&6; }
3455 if test "${ac_cv_prog_CC+set}" = set; then :
3456 $as_echo_n "(cached) " >&6
3458 if test -n "$CC"; then
3459 ac_cv_prog_CC="$CC" # Let the user override the test.
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3468 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 if test -n "$CC"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3481 $as_echo "$CC" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3488 test -n "$CC" && break
3491 if test -z "$CC"; then
3493 for ac_prog in cl.exe
3495 # Extract the first word of "$ac_prog", so it can be a program name with args.
3496 set dummy $ac_prog; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$ac_ct_CC"; then
3503 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 ac_cv_prog_ac_ct_CC="$ac_prog"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3523 if test -n "$ac_ct_CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3525 $as_echo "$ac_ct_CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3532 test -n "$ac_ct_CC" && break
3535 if test "x$ac_ct_CC" = x; then
3538 case $cross_compiling:$ac_tool_warned in
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3542 ac_tool_warned=yes ;;
3551 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553 as_fn_error $? "no acceptable C compiler found in \$PATH
3554 See \`config.log' for more details" "$LINENO" 5 ; }
3556 # Provide some information about the compiler.
3557 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3560 for ac_option in --version -v -V -qversion; do
3561 { { ac_try="$ac_compiler $ac_option >&5"
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 $as_echo "$ac_try_echo"; } >&5
3568 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3570 if test -s conftest.err; then
3572 ... rest of stderr output deleted ...
3573 10q' conftest.err >conftest.er1
3574 cat conftest.er1 >&5
3576 rm -f conftest.er1 conftest.err
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 ac_clean_files_save=$ac_clean_files
3593 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3594 # Try to create an executable without -o first, disregard a.out.
3595 # It will help us diagnose broken compilers, and finding out an intuition
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3598 $as_echo_n "checking whether the C compiler works... " >&6; }
3599 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3601 # The possible output files:
3602 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3605 for ac_file in $ac_files
3608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3609 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3614 if { { ac_try="$ac_link_default"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_link_default") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }; then :
3625 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3626 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3627 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3628 # so that the user can short-circuit this test for compilers unknown to
3630 for ac_file in $ac_files ''
3632 test -f "$ac_file" || continue
3634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3637 # We found the default executable, but exeext='' is most
3641 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3643 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3645 # We set ac_cv_exeext here because the later test for it is not
3646 # safe: cross compilers may not add the suffix if given an `-o'
3647 # argument, so we may need to know it at that point already.
3648 # Even if this section looks crufty: it has the advantage of
3655 test "$ac_cv_exeext" = no && ac_cv_exeext=
3660 if test -z "$ac_file"; then :
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3663 $as_echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error 77 "C compiler cannot create executables
3669 See \`config.log' for more details" "$LINENO" 5 ; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3672 $as_echo "yes" >&6; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3675 $as_echo_n "checking for C compiler default output file name... " >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3677 $as_echo "$ac_file" >&6; }
3678 ac_exeext=$ac_cv_exeext
3680 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3681 ac_clean_files=$ac_clean_files_save
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3683 $as_echo_n "checking for suffix of executables... " >&6; }
3684 if { { ac_try="$ac_link"
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_link") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }; then :
3695 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3696 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3697 # work properly (i.e., refer to `conftest.exe'), while it won't with
3699 for ac_file in conftest.exe conftest conftest.*; do
3700 test -f "$ac_file" || continue
3702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3703 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3712 See \`config.log' for more details" "$LINENO" 5 ; }
3714 rm -f conftest conftest$ac_cv_exeext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3716 $as_echo "$ac_cv_exeext" >&6; }
3718 rm -f conftest.$ac_ext
3719 EXEEXT=$ac_cv_exeext
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3727 FILE *f = fopen ("conftest.out", "w");
3728 return ferror (f) || fclose (f) != 0;
3734 ac_clean_files="$ac_clean_files conftest.out"
3735 # Check that the compiler produces executables we can run. If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 if test "$cross_compiling" != yes; then
3740 { { ac_try="$ac_link"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3746 $as_echo "$ac_try_echo"; } >&5
3747 (eval "$ac_link") 2>&5
3749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750 test $ac_status = 0; }
3751 if { ac_try='./conftest$ac_cv_exeext'
3752 { { case "(($ac_try" in
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3757 $as_echo "$ac_try_echo"; } >&5
3758 (eval "$ac_try") 2>&5
3760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3761 test $ac_status = 0; }; }; then
3764 if test "$cross_compiling" = maybe; then
3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 as_fn_error $? "cannot run C compiled programs.
3770 If you meant to cross compile, use \`--host'.
3771 See \`config.log' for more details" "$LINENO" 5 ; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3776 $as_echo "$cross_compiling" >&6; }
3778 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3779 ac_clean_files=$ac_clean_files_save
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3781 $as_echo_n "checking for suffix of object files... " >&6; }
3782 if test "${ac_cv_objext+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3796 rm -f conftest.o conftest.obj
3797 if { { ac_try="$ac_compile"
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803 $as_echo "$ac_try_echo"; } >&5
3804 (eval "$ac_compile") 2>&5
3806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3807 test $ac_status = 0; }; then :
3808 for ac_file in conftest.o conftest.obj conftest.*; do
3809 test -f "$ac_file" || continue;
3811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3812 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3817 $as_echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 as_fn_error $? "cannot compute suffix of object files: cannot compile
3823 See \`config.log' for more details" "$LINENO" 5 ; }
3825 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3828 $as_echo "$ac_cv_objext" >&6; }
3829 OBJEXT=$ac_cv_objext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3832 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3833 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3850 if ac_fn_c_try_compile "$LINENO"; then :
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3860 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3861 if test $ac_compiler_gnu = yes; then
3866 ac_test_CFLAGS=${CFLAGS+set}
3867 ac_save_CFLAGS=$CFLAGS
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3869 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3870 if test "${ac_cv_prog_cc_g+set}" = set; then :
3871 $as_echo_n "(cached) " >&6
3873 ac_save_c_werror_flag=$ac_c_werror_flag
3874 ac_c_werror_flag=yes
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3888 if ac_fn_c_try_compile "$LINENO"; then :
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 if ac_fn_c_try_compile "$LINENO"; then :
3906 ac_c_werror_flag=$ac_save_c_werror_flag
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 if ac_fn_c_try_compile "$LINENO"; then :
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 ac_c_werror_flag=$ac_save_c_werror_flag
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3930 $as_echo "$ac_cv_prog_cc_g" >&6; }
3931 if test "$ac_test_CFLAGS" = set; then
3932 CFLAGS=$ac_save_CFLAGS
3933 elif test $ac_cv_prog_cc_g = yes; then
3934 if test "$GCC" = yes; then
3940 if test "$GCC" = yes; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3947 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3948 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_cv_prog_cc_c89=no
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3957 #include <sys/types.h>
3958 #include <sys/stat.h>
3959 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3960 struct buf { int x; };
3961 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3962 static char *e (p, i)
3968 static char *f (char * (*g) (char **, int), char **p, ...)
3973 s = g (p, va_arg (v,int));
3978 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3979 function prototypes and stuff, but not '\xHH' hex character constants.
3980 These don't provoke an error unfortunately, instead are silently treated
3981 as 'x'. The following induces an error, until -std is added to get
3982 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3983 array size at least. It's necessary to write '\x00'==0 to get something
3984 that's true only with -std. */
3985 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3987 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3988 inside strings and character constants. */
3990 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3992 int test (int i, double x);
3993 struct s1 {int (*f) (int a);};
3994 struct s2 {int (*f) (double a);};
3995 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4001 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4006 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4007 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4009 CC="$ac_save_CC $ac_arg"
4010 if ac_fn_c_try_compile "$LINENO"; then :
4011 ac_cv_prog_cc_c89=$ac_arg
4013 rm -f core conftest.err conftest.$ac_objext
4014 test "x$ac_cv_prog_cc_c89" != "xno" && break
4016 rm -f conftest.$ac_ext
4021 case "x$ac_cv_prog_cc_c89" in
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4024 $as_echo "none needed" >&6; } ;;
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4027 $as_echo "unsupported" >&6; } ;;
4029 CC="$CC $ac_cv_prog_cc_c89"
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4031 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4033 if test "x$ac_cv_prog_cc_c89" != xno; then :
4038 ac_cpp='$CPP $CPPFLAGS'
4039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 depcc="$CC" am_compiler_list=
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4046 $as_echo_n "checking dependency style of $depcc... " >&6; }
4047 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4048 $as_echo_n "(cached) " >&6
4050 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4051 # We make a subdir and do the tests there. Otherwise we can end up
4052 # making bogus files that we don't know about and never remove. For
4053 # instance it was reported that on HP-UX the gcc test will end up
4054 # making a dummy file named `D' -- because `-MD' means `put the output
4057 # Copy depcomp to subdir because otherwise we won't find it if we're
4058 # using a relative directory.
4059 cp "$am_depcomp" conftest.dir
4061 # We will build objects and dependencies in a subdirectory because
4062 # it helps to detect inapplicable dependency modes. For instance
4063 # both Tru64's cc and ICC support -MD to output dependencies as a
4064 # side effect of compilation, but ICC will put the dependencies in
4065 # the current directory while Tru64 will put them in the object
4069 am_cv_CC_dependencies_compiler_type=none
4070 if test "$am_compiler_list" = ""; then
4071 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4074 case " $depcc " in #(
4075 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4078 for depmode in $am_compiler_list; do
4079 # Setup a source with many dependencies, because some compilers
4080 # like to wrap large dependency lists on column 80 (with \), and
4081 # we should not choose a depcomp mode which is confused by this.
4083 # We need to recreate these files for each test, as the compiler may
4084 # overwrite some of them when testing with obscure command lines.
4085 # This happens at least with the AIX C compiler.
4087 for i in 1 2 3 4 5 6; do
4088 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4089 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4090 # Solaris 8's {/usr,}/bin/sh.
4091 touch sub/conftst$i.h
4093 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4095 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4096 # mode. It turns out that the SunPro C++ compiler does not properly
4097 # handle `-M -o', and we need to detect this. Also, some Intel
4098 # versions had trouble with output in subdirs
4099 am__obj=sub/conftest.${OBJEXT-o}
4100 am__minus_obj="-o $am__obj"
4103 # This depmode causes a compiler race in universal mode.
4104 test "$am__universal" = false || continue
4107 # after this tag, mechanisms are not by side-effect, so they'll
4108 # only be used when explicitly requested
4109 if test "x$enable_dependency_tracking" = xyes; then
4115 msvisualcpp | msvcmsys)
4116 # This compiler won't grok `-c -o', but also, the minuso test has
4117 # not run yet. These depmodes are late enough in the game, and
4118 # so weak that their functioning should not be impacted.
4119 am__obj=conftest.${OBJEXT-o}
4124 if depmode=$depmode \
4125 source=sub/conftest.c object=$am__obj \
4126 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4127 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4128 >/dev/null 2>conftest.err &&
4129 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4130 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4131 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4132 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4133 # icc doesn't choke on unknown options, it will just issue warnings
4134 # or remarks (even with -Werror). So we grep stderr for any message
4135 # that says an option was ignored or not supported.
4136 # When given -MP, icc 7.0 and 7.1 complain thusly:
4137 # icc: Command line warning: ignoring option '-M'; no argument required
4138 # The diagnosis changed in icc 8.0:
4139 # icc: Command line remark: option '-MP' not supported
4140 if (grep 'ignoring option' conftest.err ||
4141 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4142 am_cv_CC_dependencies_compiler_type=$depmode
4151 am_cv_CC_dependencies_compiler_type=none
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4156 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4157 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4160 test "x$enable_dependency_tracking" != xno \
4161 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4163 am__fastdepCC_FALSE='#'
4165 am__fastdepCC_TRUE='#'
4166 am__fastdepCC_FALSE=
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4171 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4172 if test "${ac_cv_path_SED+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4175 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4176 for ac_i in 1 2 3 4 5 6 7; do
4177 ac_script="$ac_script$as_nl$ac_script"
4179 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4180 { ac_script=; unset ac_script;}
4181 if test -z "$SED"; then
4182 ac_path_SED_found=false
4183 # Loop through the user's path and test for each of PROGNAME-LIST
4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir=.
4189 for ac_prog in sed gsed; do
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4192 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4193 # Check for GNU ac_path_SED and select it if it is found.
4194 # Check for GNU $ac_path_SED
4195 case `"$ac_path_SED" --version 2>&1` in
4197 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4200 $as_echo_n 0123456789 >"conftest.in"
4203 cat "conftest.in" "conftest.in" >"conftest.tmp"
4204 mv "conftest.tmp" "conftest.in"
4205 cp "conftest.in" "conftest.nl"
4206 $as_echo '' >> "conftest.nl"
4207 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4208 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4209 as_fn_arith $ac_count + 1 && ac_count=$as_val
4210 if test $ac_count -gt ${ac_path_SED_max-0}; then
4211 # Best one so far, save it but keep looking for a better one
4212 ac_cv_path_SED="$ac_path_SED"
4213 ac_path_SED_max=$ac_count
4215 # 10*(2^10) chars as input seems more than enough
4216 test $ac_count -gt 10 && break
4218 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4221 $ac_path_SED_found && break 3
4226 if test -z "$ac_cv_path_SED"; then
4227 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4235 $as_echo "$ac_cv_path_SED" >&6; }
4236 SED="$ac_cv_path_SED"
4239 test -z "$SED" && SED=sed
4240 Xsed="$SED -e 1s/^X//"
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4254 if test "${ac_cv_path_GREP+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4257 if test -z "$GREP"; then
4258 ac_path_GREP_found=false
4259 # Loop through the user's path and test for each of PROGNAME-LIST
4260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4264 test -z "$as_dir" && as_dir=.
4265 for ac_prog in grep ggrep; do
4266 for ac_exec_ext in '' $ac_executable_extensions; do
4267 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4268 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4269 # Check for GNU ac_path_GREP and select it if it is found.
4270 # Check for GNU $ac_path_GREP
4271 case `"$ac_path_GREP" --version 2>&1` in
4273 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4276 $as_echo_n 0123456789 >"conftest.in"
4279 cat "conftest.in" "conftest.in" >"conftest.tmp"
4280 mv "conftest.tmp" "conftest.in"
4281 cp "conftest.in" "conftest.nl"
4282 $as_echo 'GREP' >> "conftest.nl"
4283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4285 as_fn_arith $ac_count + 1 && ac_count=$as_val
4286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4287 # Best one so far, save it but keep looking for a better one
4288 ac_cv_path_GREP="$ac_path_GREP"
4289 ac_path_GREP_max=$ac_count
4291 # 10*(2^10) chars as input seems more than enough
4292 test $ac_count -gt 10 && break
4294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4297 $ac_path_GREP_found && break 3
4302 if test -z "$ac_cv_path_GREP"; then
4303 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4306 ac_cv_path_GREP=$GREP
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4311 $as_echo "$ac_cv_path_GREP" >&6; }
4312 GREP="$ac_cv_path_GREP"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4316 $as_echo_n "checking for egrep... " >&6; }
4317 if test "${ac_cv_path_EGREP+set}" = set; then :
4318 $as_echo_n "(cached) " >&6
4320 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4321 then ac_cv_path_EGREP="$GREP -E"
4323 if test -z "$EGREP"; then
4324 ac_path_EGREP_found=false
4325 # Loop through the user's path and test for each of PROGNAME-LIST
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4330 test -z "$as_dir" && as_dir=.
4331 for ac_prog in egrep; do
4332 for ac_exec_ext in '' $ac_executable_extensions; do
4333 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4334 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4335 # Check for GNU ac_path_EGREP and select it if it is found.
4336 # Check for GNU $ac_path_EGREP
4337 case `"$ac_path_EGREP" --version 2>&1` in
4339 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4342 $as_echo_n 0123456789 >"conftest.in"
4345 cat "conftest.in" "conftest.in" >"conftest.tmp"
4346 mv "conftest.tmp" "conftest.in"
4347 cp "conftest.in" "conftest.nl"
4348 $as_echo 'EGREP' >> "conftest.nl"
4349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4351 as_fn_arith $ac_count + 1 && ac_count=$as_val
4352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4353 # Best one so far, save it but keep looking for a better one
4354 ac_cv_path_EGREP="$ac_path_EGREP"
4355 ac_path_EGREP_max=$ac_count
4357 # 10*(2^10) chars as input seems more than enough
4358 test $ac_count -gt 10 && break
4360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4363 $ac_path_EGREP_found && break 3
4368 if test -z "$ac_cv_path_EGREP"; then
4369 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4372 ac_cv_path_EGREP=$EGREP
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4378 $as_echo "$ac_cv_path_EGREP" >&6; }
4379 EGREP="$ac_cv_path_EGREP"
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4383 $as_echo_n "checking for fgrep... " >&6; }
4384 if test "${ac_cv_path_FGREP+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4388 then ac_cv_path_FGREP="$GREP -F"
4390 if test -z "$FGREP"; then
4391 ac_path_FGREP_found=false
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4397 test -z "$as_dir" && as_dir=.
4398 for ac_prog in fgrep; do
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4401 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4402 # Check for GNU ac_path_FGREP and select it if it is found.
4403 # Check for GNU $ac_path_FGREP
4404 case `"$ac_path_FGREP" --version 2>&1` in
4406 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4409 $as_echo_n 0123456789 >"conftest.in"
4412 cat "conftest.in" "conftest.in" >"conftest.tmp"
4413 mv "conftest.tmp" "conftest.in"
4414 cp "conftest.in" "conftest.nl"
4415 $as_echo 'FGREP' >> "conftest.nl"
4416 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4418 as_fn_arith $ac_count + 1 && ac_count=$as_val
4419 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4420 # Best one so far, save it but keep looking for a better one
4421 ac_cv_path_FGREP="$ac_path_FGREP"
4422 ac_path_FGREP_max=$ac_count
4424 # 10*(2^10) chars as input seems more than enough
4425 test $ac_count -gt 10 && break
4427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4430 $ac_path_FGREP_found && break 3
4435 if test -z "$ac_cv_path_FGREP"; then
4436 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4439 ac_cv_path_FGREP=$FGREP
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4445 $as_echo "$ac_cv_path_FGREP" >&6; }
4446 FGREP="$ac_cv_path_FGREP"
4449 test -z "$GREP" && GREP=grep
4469 # Check whether --with-gnu-ld was given.
4470 if test "${with_gnu_ld+set}" = set; then :
4471 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4477 if test "$GCC" = yes; then
4478 # Check if gcc -print-prog-name=ld gives a path.
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4480 $as_echo_n "checking for ld used by $CC... " >&6; }
4483 # gcc leaves a trailing carriage return which upsets mingw
4484 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4486 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4489 # Accept absolute paths.
4491 re_direlt='/[^/][^/]*/\.\./'
4492 # Canonicalize the pathname of ld
4493 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4494 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4495 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4497 test -z "$LD" && LD="$ac_prog"
4500 # If it fails, then pretend we aren't using GCC.
4504 # If it is relative, then search for the first ld in PATH.
4508 elif test "$with_gnu_ld" = yes; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4510 $as_echo_n "checking for GNU ld... " >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4513 $as_echo_n "checking for non-GNU ld... " >&6; }
4515 if test "${lt_cv_path_LD+set}" = set; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -z "$LD"; then
4519 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4520 for ac_dir in $PATH; do
4522 test -z "$ac_dir" && ac_dir=.
4523 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4524 lt_cv_path_LD="$ac_dir/$ac_prog"
4525 # Check to see if the program is GNU ld. I'd rather use --version,
4526 # but apparently some variants of GNU ld only accept -v.
4527 # Break only if it was the GNU/non-GNU ld that we prefer.
4528 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4529 *GNU* | *'with BFD'*)
4530 test "$with_gnu_ld" != no && break
4533 test "$with_gnu_ld" != yes && break
4540 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4545 if test -n "$LD"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4547 $as_echo "$LD" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4552 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4554 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4555 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4556 $as_echo_n "(cached) " >&6
4558 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4559 case `$LD -v 2>&1 </dev/null` in
4560 *GNU* | *'with BFD'*)
4561 lt_cv_prog_gnu_ld=yes
4564 lt_cv_prog_gnu_ld=no
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4569 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4570 with_gnu_ld=$lt_cv_prog_gnu_ld
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4581 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4582 if test "${lt_cv_path_NM+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -n "$NM"; then
4586 # Let the user override the test.
4589 lt_nm_to_check="${ac_tool_prefix}nm"
4590 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4591 lt_nm_to_check="$lt_nm_to_check nm"
4593 for lt_tmp_nm in $lt_nm_to_check; do
4594 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4595 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4597 test -z "$ac_dir" && ac_dir=.
4598 tmp_nm="$ac_dir/$lt_tmp_nm"
4599 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4600 # Check to see if the nm accepts a BSD-compat flag.
4601 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4602 # nm: unknown option "B" ignored
4603 # Tru64's nm complains that /dev/null is an invalid object file
4604 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4605 */dev/null* | *'Invalid file or object type'*)
4606 lt_cv_path_NM="$tmp_nm -B"
4610 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4612 lt_cv_path_NM="$tmp_nm -p"
4616 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4617 continue # so that we can try to find one that supports BSD flags
4626 : ${lt_cv_path_NM=no}
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4630 $as_echo "$lt_cv_path_NM" >&6; }
4631 if test "$lt_cv_path_NM" != "no"; then
4634 # Didn't find any BSD compatible name lister, look for dumpbin.
4635 if test -n "$ac_tool_prefix"; then
4636 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$DUMPBIN"; then
4646 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 DUMPBIN=$ac_cv_prog_DUMPBIN
4666 if test -n "$DUMPBIN"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4668 $as_echo "$DUMPBIN" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4675 test -n "$DUMPBIN" && break
4678 if test -z "$DUMPBIN"; then
4679 ac_ct_DUMPBIN=$DUMPBIN
4680 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4682 # Extract the first word of "$ac_prog", so it can be a program name with args.
4683 set dummy $ac_prog; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 if test -n "$ac_ct_DUMPBIN"; then
4690 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4699 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4710 if test -n "$ac_ct_DUMPBIN"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4712 $as_echo "$ac_ct_DUMPBIN" >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4719 test -n "$ac_ct_DUMPBIN" && break
4722 if test "x$ac_ct_DUMPBIN" = x; then
4725 case $cross_compiling:$ac_tool_warned in
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4729 ac_tool_warned=yes ;;
4731 DUMPBIN=$ac_ct_DUMPBIN
4736 if test "$DUMPBIN" != ":"; then
4740 test -z "$NM" && NM=nm
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4748 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4749 if test "${lt_cv_nm_interface+set}" = set; then :
4750 $as_echo_n "(cached) " >&6
4752 lt_cv_nm_interface="BSD nm"
4753 echo "int some_variable = 0;" > conftest.$ac_ext
4754 (eval echo "\"\$as_me:4754: $ac_compile\"" >&5)
4755 (eval "$ac_compile" 2>conftest.err)
4756 cat conftest.err >&5
4757 (eval echo "\"\$as_me:4757: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4758 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4759 cat conftest.err >&5
4760 (eval echo "\"\$as_me:4760: output\"" >&5)
4761 cat conftest.out >&5
4762 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4763 lt_cv_nm_interface="MS dumpbin"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4768 $as_echo "$lt_cv_nm_interface" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4771 $as_echo_n "checking whether ln -s works... " >&6; }
4773 if test "$LN_S" = "ln -s"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4775 $as_echo "yes" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4778 $as_echo "no, using $LN_S" >&6; }
4781 # find the maximum length of command line arguments
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4783 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4784 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4785 $as_echo_n "(cached) " >&6
4792 # On DJGPP, this test can blow up pretty badly due to problems in libc
4793 # (any single argument exceeding 2000 bytes causes a buffer overrun
4794 # during glob expansion). Even if it were fixed, the result of this
4795 # check would be larger than it should be.
4796 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4800 # Under GNU Hurd, this test is not required because there is
4801 # no limit to the length of command line arguments.
4802 # Libtool will interpret -1 as no limit whatsoever
4803 lt_cv_sys_max_cmd_len=-1;
4806 cygwin* | mingw* | cegcc*)
4807 # On Win9x/ME, this test blows up -- it succeeds, but takes
4808 # about 5 minutes as the teststring grows exponentially.
4809 # Worse, since 9x/ME are not pre-emptively multitasking,
4810 # you end up with a "frozen" computer, even though with patience
4811 # the test eventually succeeds (with a max line length of 256k).
4812 # Instead, let's just punt: use the minimum linelength reported by
4813 # all of the supported platforms: 8192 (on NT/2K/XP).
4814 lt_cv_sys_max_cmd_len=8192;
4818 # On AmigaOS with pdksh, this test takes hours, literally.
4819 # So we just punt and use a minimum line length of 8192.
4820 lt_cv_sys_max_cmd_len=8192;
4823 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4824 # This has been around since 386BSD, at least. Likely further.
4825 if test -x /sbin/sysctl; then
4826 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4827 elif test -x /usr/sbin/sysctl; then
4828 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4830 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4832 # And add a safety zone
4833 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4834 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4838 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4839 lt_cv_sys_max_cmd_len=196608
4843 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4844 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4845 # nice to cause kernel panics so lets avoid the loop below.
4846 # First set a reasonable default.
4847 lt_cv_sys_max_cmd_len=16384
4849 if test -x /sbin/sysconfig; then
4850 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4851 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4856 lt_cv_sys_max_cmd_len=102400
4858 sysv5* | sco5v6* | sysv4.2uw2*)
4859 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4860 if test -n "$kargmax"; then
4861 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4863 lt_cv_sys_max_cmd_len=32768
4867 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4868 if test -n "$lt_cv_sys_max_cmd_len"; then
4869 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4870 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4872 # Make teststring a little bigger before we do anything with it.
4873 # a 1K string should be a reasonable start.
4874 for i in 1 2 3 4 5 6 7 8 ; do
4875 teststring=$teststring$teststring
4877 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4878 # If test is not a shell built-in, we'll probably end up computing a
4879 # maximum length that is only half of the actual maximum length, but
4881 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4882 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4883 test $i != 17 # 1/2 MB should be enough
4886 teststring=$teststring$teststring
4888 # Only check the string length outside the loop.
4889 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4891 # Add a significant safety factor because C++ compilers can tack on
4892 # massive amounts of additional arguments before passing them to the
4893 # linker. It appears as though 1/2 is a usable value.
4894 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4901 if test -n $lt_cv_sys_max_cmd_len ; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4903 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4906 $as_echo "none" >&6; }
4908 max_cmd_len=$lt_cv_sys_max_cmd_len
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4920 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4921 # Try some XSI features
4924 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4926 && eval 'test $(( 1 + 1 )) -eq 2 \
4927 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4930 $as_echo "$xsi_shell" >&6; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4934 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4936 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4938 && lt_shell_append=yes
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4940 $as_echo "$lt_shell_append" >&6; }
4943 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4953 # test EBCDIC or ASCII
4954 case `echo X|tr X '\101'` in
4955 A) # ASCII based system
4956 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4957 lt_SP2NL='tr \040 \012'
4958 lt_NL2SP='tr \015\012 \040\040'
4960 *) # EBCDIC based system
4961 lt_SP2NL='tr \100 \n'
4962 lt_NL2SP='tr \r\n \100\100'
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4975 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4976 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4977 $as_echo_n "(cached) " >&6
4979 lt_cv_ld_reload_flag='-r'
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4982 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4983 reload_flag=$lt_cv_ld_reload_flag
4984 case $reload_flag in
4986 *) reload_flag=" $reload_flag" ;;
4988 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4991 if test "$GCC" = yes; then
4992 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4994 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5007 if test -n "$ac_tool_prefix"; then
5008 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5009 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$OBJDUMP"; then
5016 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 OBJDUMP=$ac_cv_prog_OBJDUMP
5036 if test -n "$OBJDUMP"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5038 $as_echo "$OBJDUMP" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5046 if test -z "$ac_cv_prog_OBJDUMP"; then
5047 ac_ct_OBJDUMP=$OBJDUMP
5048 # Extract the first word of "objdump", so it can be a program name with args.
5049 set dummy objdump; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$ac_ct_OBJDUMP"; then
5056 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5076 if test -n "$ac_ct_OBJDUMP"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5078 $as_echo "$ac_ct_OBJDUMP" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5084 if test "x$ac_ct_OBJDUMP" = x; then
5087 case $cross_compiling:$ac_tool_warned in
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5091 ac_tool_warned=yes ;;
5093 OBJDUMP=$ac_ct_OBJDUMP
5096 OBJDUMP="$ac_cv_prog_OBJDUMP"
5099 test -z "$OBJDUMP" && OBJDUMP=objdump
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5110 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5111 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5112 $as_echo_n "(cached) " >&6
5114 lt_cv_file_magic_cmd='$MAGIC_CMD'
5115 lt_cv_file_magic_test_file=
5116 lt_cv_deplibs_check_method='unknown'
5117 # Need to set the preceding variable on all platforms that support
5118 # interlibrary dependencies.
5119 # 'none' -- dependencies not supported.
5120 # `unknown' -- same as none, but documents that we really don't know.
5121 # 'pass_all' -- all dependencies passed with no checks.
5122 # 'test_compile' -- check by making test program.
5123 # 'file_magic [[regex]]' -- check by looking for files in library path
5124 # which responds to the $file_magic_cmd with a given extended regex.
5125 # If you have `file' or equivalent on your system and you're not sure
5126 # whether `pass_all' will *always* work, you probably want this one.
5130 lt_cv_deplibs_check_method=pass_all
5134 lt_cv_deplibs_check_method=pass_all
5138 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5139 lt_cv_file_magic_cmd='/usr/bin/file -L'
5140 lt_cv_file_magic_test_file=/shlib/libc.so
5144 # func_win32_libid is a shell function defined in ltmain.sh
5145 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5146 lt_cv_file_magic_cmd='func_win32_libid'
5150 # Base MSYS/MinGW do not provide the 'file' command needed by
5151 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5152 # unless we find 'file', for example because we are cross-compiling.
5153 if ( file / ) >/dev/null 2>&1; then
5154 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5155 lt_cv_file_magic_cmd='func_win32_libid'
5157 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5158 lt_cv_file_magic_cmd='$OBJDUMP -f'
5163 # use the weaker test based on 'objdump'. See mingw*.
5164 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5165 lt_cv_file_magic_cmd='$OBJDUMP -f'
5168 darwin* | rhapsody*)
5169 lt_cv_deplibs_check_method=pass_all
5172 freebsd* | dragonfly*)
5173 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5176 # Not sure whether the presence of OpenBSD here was a mistake.
5177 # Let's accept both of them until this is cleared up.
5178 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5179 lt_cv_file_magic_cmd=/usr/bin/file
5180 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5184 lt_cv_deplibs_check_method=pass_all
5189 lt_cv_deplibs_check_method=pass_all
5192 hpux10.20* | hpux11*)
5193 lt_cv_file_magic_cmd=/usr/bin/file
5196 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5197 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5200 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]'
5201 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5204 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5205 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5211 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5212 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5215 irix5* | irix6* | nonstopux*)
5217 *-32|*"-32 ") libmagic=32-bit;;
5218 *-n32|*"-n32 ") libmagic=N32;;
5219 *-64|*"-64 ") libmagic=64-bit;;
5220 *) libmagic=never-match;;
5222 lt_cv_deplibs_check_method=pass_all
5225 # This must be Linux ELF.
5226 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5227 lt_cv_deplibs_check_method=pass_all
5230 netbsd* | netbsdelf*-gnu)
5231 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5232 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5234 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5239 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5240 lt_cv_file_magic_cmd=/usr/bin/file
5241 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5245 lt_cv_deplibs_check_method=pass_all
5249 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5250 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5252 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5256 osf3* | osf4* | osf5*)
5257 lt_cv_deplibs_check_method=pass_all
5261 lt_cv_deplibs_check_method=pass_all
5265 lt_cv_deplibs_check_method=pass_all
5268 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5269 lt_cv_deplibs_check_method=pass_all
5273 case $host_vendor in
5275 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]'
5276 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5279 lt_cv_deplibs_check_method=pass_all
5282 lt_cv_file_magic_cmd='/bin/file'
5283 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5286 lt_cv_file_magic_cmd='/bin/file'
5287 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5288 lt_cv_file_magic_test_file=/lib/libc.so
5291 lt_cv_deplibs_check_method=pass_all
5294 lt_cv_deplibs_check_method=pass_all
5300 lt_cv_deplibs_check_method=pass_all
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5306 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5307 file_magic_cmd=$lt_cv_file_magic_cmd
5308 deplibs_check_method=$lt_cv_deplibs_check_method
5309 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5322 if test -n "$ac_tool_prefix"; then
5323 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5324 set dummy ${ac_tool_prefix}ar; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if test "${ac_cv_prog_AR+set}" = set; then :
5328 $as_echo_n "(cached) " >&6
5330 if test -n "$AR"; then
5331 ac_cv_prog_AR="$AR" # Let the user override the test.
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5340 ac_cv_prog_AR="${ac_tool_prefix}ar"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 if test -n "$AR"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5353 $as_echo "$AR" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5361 if test -z "$ac_cv_prog_AR"; then
5363 # Extract the first word of "ar", so it can be a program name with args.
5364 set dummy ar; ac_word=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5368 $as_echo_n "(cached) " >&6
5370 if test -n "$ac_ct_AR"; then
5371 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5380 ac_cv_prog_ac_ct_AR="ar"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5391 if test -n "$ac_ct_AR"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5393 $as_echo "$ac_ct_AR" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5399 if test "x$ac_ct_AR" = x; then
5402 case $cross_compiling:$ac_tool_warned in
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5406 ac_tool_warned=yes ;;
5414 test -z "$AR" && AR=ar
5415 test -z "$AR_FLAGS" && AR_FLAGS=cru
5427 if test -n "$ac_tool_prefix"; then
5428 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5429 set dummy ${ac_tool_prefix}strip; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if test "${ac_cv_prog_STRIP+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -n "$STRIP"; then
5436 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 STRIP=$ac_cv_prog_STRIP
5456 if test -n "$STRIP"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5458 $as_echo "$STRIP" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5466 if test -z "$ac_cv_prog_STRIP"; then
5468 # Extract the first word of "strip", so it can be a program name with args.
5469 set dummy strip; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -n "$ac_ct_STRIP"; then
5476 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485 ac_cv_prog_ac_ct_STRIP="strip"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5496 if test -n "$ac_ct_STRIP"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5498 $as_echo "$ac_ct_STRIP" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5504 if test "x$ac_ct_STRIP" = x; then
5507 case $cross_compiling:$ac_tool_warned in
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5511 ac_tool_warned=yes ;;
5516 STRIP="$ac_cv_prog_STRIP"
5519 test -z "$STRIP" && STRIP=:
5526 if test -n "$ac_tool_prefix"; then
5527 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5528 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$RANLIB"; then
5535 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 RANLIB=$ac_cv_prog_RANLIB
5555 if test -n "$RANLIB"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5557 $as_echo "$RANLIB" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5565 if test -z "$ac_cv_prog_RANLIB"; then
5566 ac_ct_RANLIB=$RANLIB
5567 # Extract the first word of "ranlib", so it can be a program name with args.
5568 set dummy ranlib; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5572 $as_echo_n "(cached) " >&6
5574 if test -n "$ac_ct_RANLIB"; then
5575 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5584 ac_cv_prog_ac_ct_RANLIB="ranlib"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5595 if test -n "$ac_ct_RANLIB"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5597 $as_echo "$ac_ct_RANLIB" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5603 if test "x$ac_ct_RANLIB" = x; then
5606 case $cross_compiling:$ac_tool_warned in
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5610 ac_tool_warned=yes ;;
5612 RANLIB=$ac_ct_RANLIB
5615 RANLIB="$ac_cv_prog_RANLIB"
5618 test -z "$RANLIB" && RANLIB=:
5625 # Determine commands to create old-style static archives.
5626 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5627 old_postinstall_cmds='chmod 644 $oldlib'
5628 old_postuninstall_cmds=
5630 if test -n "$RANLIB"; then
5633 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5636 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5639 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5675 # If no C compiler was specified, use CC.
5678 # If no C compiler flags were specified, use CFLAGS.
5679 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5681 # Allow CC to be a program name with arguments.
5685 # Check for command to grab the raw symbol name followed by C symbol from nm.
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5687 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5688 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5689 $as_echo_n "(cached) " >&6
5692 # These are sane defaults that work on at least a few old systems.
5693 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5695 # Character class describing NM global symbol codes.
5696 symcode='[BCDEGRST]'
5698 # Regexp to match symbols that can be accessed directly from C.
5699 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5701 # Define system-specific variables.
5706 cygwin* | mingw* | pw32* | cegcc*)
5707 symcode='[ABCDGISTW]'
5710 if test "$host_cpu" = ia64; then
5711 symcode='[ABCDEGRST]'
5715 symcode='[BCDEGRST]'
5718 symcode='[BCDEGQRST]'
5729 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5737 # If we're using GNU nm, then use its standard symbol codes.
5738 case `$NM -V 2>&1` in
5739 *GNU* | *'with BFD'*)
5740 symcode='[ABCDGIRSTW]' ;;
5743 # Transform an extracted symbol line into a proper C declaration.
5744 # Some systems (esp. on ia64) link data and code symbols differently,
5745 # so use this general approach.
5746 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5748 # Transform an extracted symbol line into symbol name and symbol address
5749 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5750 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'"
5752 # Handle CRLF in mingw tool chain
5756 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5760 # Try without a prefix underscore, then with it.
5761 for ac_symprfx in "" "_"; do
5763 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5764 symxfrm="\\1 $ac_symprfx\\2 \\2"
5766 # Write the raw and C identifiers.
5767 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5768 # Fake it for dumpbin and say T for any non-static function
5769 # and D for any global variable.
5770 # Also find C++ and __fastcall symbols from MSVC++,
5771 # which start with @ or ?.
5772 lt_cv_sys_global_symbol_pipe="$AWK '"\
5773 " {last_section=section; section=\$ 3};"\
5774 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5775 " \$ 0!~/External *\|/{next};"\
5776 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5777 " {if(hide[section]) next};"\
5778 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5779 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5780 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5781 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5782 " ' prfx=^$ac_symprfx"
5784 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5787 # Check to see that the pipe works correctly.
5791 cat > conftest.$ac_ext <<_LT_EOF
5796 void nm_test_func(void);
5797 void nm_test_func(void){}
5801 int main(){nm_test_var='a';nm_test_func();return(0);}
5804 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5805 (eval $ac_compile) 2>&5
5807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5808 test $ac_status = 0; }; then
5809 # Now try to grab the symbols.
5811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5812 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5815 test $ac_status = 0; } && test -s "$nlist"; then
5816 # Try sorting and uniquifying the output.
5817 if sort "$nlist" | uniq > "$nlist"T; then
5818 mv -f "$nlist"T "$nlist"
5823 # Make sure that we snagged all the symbols we need.
5824 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5825 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5826 cat <<_LT_EOF > conftest.$ac_ext
5832 # Now generate the symbol file.
5833 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5835 cat <<_LT_EOF >> conftest.$ac_ext
5837 /* The mapping between symbol names and symbols. */
5842 lt__PROGRAM__LTX_preloaded_symbols[] =
5844 { "@PROGRAM@", (void *) 0 },
5846 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5847 cat <<\_LT_EOF >> conftest.$ac_ext
5851 /* This works around a problem in FreeBSD linker */
5852 #ifdef FREEBSD_WORKAROUND
5853 static const void *lt_preloaded_setup() {
5854 return lt__PROGRAM__LTX_preloaded_symbols;
5862 # Now try linking the two files.
5863 mv conftest.$ac_objext conftstm.$ac_objext
5864 lt_save_LIBS="$LIBS"
5865 lt_save_CFLAGS="$CFLAGS"
5866 LIBS="conftstm.$ac_objext"
5867 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5868 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5869 (eval $ac_link) 2>&5
5871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5872 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5875 LIBS="$lt_save_LIBS"
5876 CFLAGS="$lt_save_CFLAGS"
5878 echo "cannot find nm_test_func in $nlist" >&5
5881 echo "cannot find nm_test_var in $nlist" >&5
5884 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5887 echo "$progname: failed program was:" >&5
5888 cat conftest.$ac_ext >&5
5890 rm -rf conftest* conftst*
5892 # Do not use the global_symbol_pipe unless it works.
5893 if test "$pipe_works" = yes; then
5896 lt_cv_sys_global_symbol_pipe=
5902 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5903 lt_cv_sys_global_symbol_to_cdecl=
5905 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5907 $as_echo "failed" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5910 $as_echo "ok" >&6; }
5935 # Check whether --enable-libtool-lock was given.
5936 if test "${enable_libtool_lock+set}" = set; then :
5937 enableval=$enable_libtool_lock;
5940 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5942 # Some flags need to be propagated to the compiler or linker for good
5946 # Find out which ABI we are using.
5947 echo 'int i;' > conftest.$ac_ext
5948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5949 (eval $ac_compile) 2>&5
5951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5952 test $ac_status = 0; }; then
5953 case `/usr/bin/file conftest.$ac_objext` in
5965 # Find out which ABI we are using.
5966 echo '#line 5966 "configure"' > conftest.$ac_ext
5967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5968 (eval $ac_compile) 2>&5
5970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5971 test $ac_status = 0; }; then
5972 if test "$lt_cv_prog_gnu_ld" = yes; then
5973 case `/usr/bin/file conftest.$ac_objext` in
5975 LD="${LD-ld} -melf32bsmip"
5978 LD="${LD-ld} -melf32bmipn32"
5981 LD="${LD-ld} -melf64bmip"
5985 case `/usr/bin/file conftest.$ac_objext` in
6001 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6002 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6003 # Find out which ABI we are using.
6004 echo 'int i;' > conftest.$ac_ext
6005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6006 (eval $ac_compile) 2>&5
6008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009 test $ac_status = 0; }; then
6010 case `/usr/bin/file conftest.o` in
6013 x86_64-*kfreebsd*-gnu)
6014 LD="${LD-ld} -m elf_i386_fbsd"
6017 LD="${LD-ld} -m elf_i386"
6019 ppc64-*linux*|powerpc64-*linux*)
6020 LD="${LD-ld} -m elf32ppclinux"
6023 LD="${LD-ld} -m elf_s390"
6026 LD="${LD-ld} -m elf32_sparc"
6032 x86_64-*kfreebsd*-gnu)
6033 LD="${LD-ld} -m elf_x86_64_fbsd"
6036 LD="${LD-ld} -m elf_x86_64"
6038 ppc*-*linux*|powerpc*-*linux*)
6039 LD="${LD-ld} -m elf64ppc"
6041 s390*-*linux*|s390*-*tpf*)
6042 LD="${LD-ld} -m elf64_s390"
6045 LD="${LD-ld} -m elf64_sparc"
6055 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6056 SAVE_CFLAGS="$CFLAGS"
6057 CFLAGS="$CFLAGS -belf"
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6059 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6060 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6061 $as_echo_n "(cached) " >&6
6064 ac_cpp='$CPP $CPPFLAGS'
6065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6080 if ac_fn_c_try_link "$LINENO"; then :
6081 lt_cv_cc_needs_belf=yes
6083 lt_cv_cc_needs_belf=no
6085 rm -f core conftest.err conftest.$ac_objext \
6086 conftest$ac_exeext conftest.$ac_ext
6088 ac_cpp='$CPP $CPPFLAGS'
6089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6095 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6096 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6097 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6098 CFLAGS="$SAVE_CFLAGS"
6102 # Find out which ABI we are using.
6103 echo 'int i;' > conftest.$ac_ext
6104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6105 (eval $ac_compile) 2>&5
6107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6108 test $ac_status = 0; }; then
6109 case `/usr/bin/file conftest.o` in
6111 case $lt_cv_prog_gnu_ld in
6112 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6114 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6126 need_locks="$enable_libtool_lock"
6130 rhapsody* | darwin*)
6131 if test -n "$ac_tool_prefix"; then
6132 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6133 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6135 $as_echo_n "checking for $ac_word... " >&6; }
6136 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6137 $as_echo_n "(cached) " >&6
6139 if test -n "$DSYMUTIL"; then
6140 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6149 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6160 if test -n "$DSYMUTIL"; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6162 $as_echo "$DSYMUTIL" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6170 if test -z "$ac_cv_prog_DSYMUTIL"; then
6171 ac_ct_DSYMUTIL=$DSYMUTIL
6172 # Extract the first word of "dsymutil", so it can be a program name with args.
6173 set dummy dsymutil; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6177 $as_echo_n "(cached) " >&6
6179 if test -n "$ac_ct_DSYMUTIL"; then
6180 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6189 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6200 if test -n "$ac_ct_DSYMUTIL"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6202 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6208 if test "x$ac_ct_DSYMUTIL" = x; then
6211 case $cross_compiling:$ac_tool_warned in
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6215 ac_tool_warned=yes ;;
6217 DSYMUTIL=$ac_ct_DSYMUTIL
6220 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6223 if test -n "$ac_tool_prefix"; then
6224 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6225 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227 $as_echo_n "checking for $ac_word... " >&6; }
6228 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6229 $as_echo_n "(cached) " >&6
6231 if test -n "$NMEDIT"; then
6232 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 NMEDIT=$ac_cv_prog_NMEDIT
6252 if test -n "$NMEDIT"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6254 $as_echo "$NMEDIT" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6262 if test -z "$ac_cv_prog_NMEDIT"; then
6263 ac_ct_NMEDIT=$NMEDIT
6264 # Extract the first word of "nmedit", so it can be a program name with args.
6265 set dummy nmedit; ac_word=$2
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6267 $as_echo_n "checking for $ac_word... " >&6; }
6268 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6269 $as_echo_n "(cached) " >&6
6271 if test -n "$ac_ct_NMEDIT"; then
6272 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278 test -z "$as_dir" && as_dir=.
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6281 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6292 if test -n "$ac_ct_NMEDIT"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6294 $as_echo "$ac_ct_NMEDIT" >&6; }
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 $as_echo "no" >&6; }
6300 if test "x$ac_ct_NMEDIT" = x; then
6303 case $cross_compiling:$ac_tool_warned in
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6307 ac_tool_warned=yes ;;
6309 NMEDIT=$ac_ct_NMEDIT
6312 NMEDIT="$ac_cv_prog_NMEDIT"
6315 if test -n "$ac_tool_prefix"; then
6316 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6317 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319 $as_echo_n "checking for $ac_word... " >&6; }
6320 if test "${ac_cv_prog_LIPO+set}" = set; then :
6321 $as_echo_n "(cached) " >&6
6323 if test -n "$LIPO"; then
6324 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 LIPO=$ac_cv_prog_LIPO
6344 if test -n "$LIPO"; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6346 $as_echo "$LIPO" >&6; }
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349 $as_echo "no" >&6; }
6354 if test -z "$ac_cv_prog_LIPO"; then
6356 # Extract the first word of "lipo", so it can be a program name with args.
6357 set dummy lipo; ac_word=$2
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6359 $as_echo_n "checking for $ac_word... " >&6; }
6360 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6361 $as_echo_n "(cached) " >&6
6363 if test -n "$ac_ct_LIPO"; then
6364 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 test -z "$as_dir" && as_dir=.
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6373 ac_cv_prog_ac_ct_LIPO="lipo"
6374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6384 if test -n "$ac_ct_LIPO"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6386 $as_echo "$ac_ct_LIPO" >&6; }
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 $as_echo "no" >&6; }
6392 if test "x$ac_ct_LIPO" = x; then
6395 case $cross_compiling:$ac_tool_warned in
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6399 ac_tool_warned=yes ;;
6404 LIPO="$ac_cv_prog_LIPO"
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}otool; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6415 if test -n "$OTOOL"; then
6416 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 OTOOL=$ac_cv_prog_OTOOL
6436 if test -n "$OTOOL"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6438 $as_echo "$OTOOL" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6446 if test -z "$ac_cv_prog_OTOOL"; then
6448 # Extract the first word of "otool", so it can be a program name with args.
6449 set dummy otool; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6455 if test -n "$ac_ct_OTOOL"; then
6456 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_OTOOL="otool"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6475 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6476 if test -n "$ac_ct_OTOOL"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6478 $as_echo "$ac_ct_OTOOL" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6484 if test "x$ac_ct_OTOOL" = x; then
6487 case $cross_compiling:$ac_tool_warned in
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6496 OTOOL="$ac_cv_prog_OTOOL"
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6507 if test -n "$OTOOL64"; then
6508 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 OTOOL64=$ac_cv_prog_OTOOL64
6528 if test -n "$OTOOL64"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6530 $as_echo "$OTOOL64" >&6; }
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6538 if test -z "$ac_cv_prog_OTOOL64"; then
6539 ac_ct_OTOOL64=$OTOOL64
6540 # Extract the first word of "otool64", so it can be a program name with args.
6541 set dummy otool64; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6547 if test -n "$ac_ct_OTOOL64"; then
6548 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_OTOOL64="otool64"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6568 if test -n "$ac_ct_OTOOL64"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6570 $as_echo "$ac_ct_OTOOL64" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6576 if test "x$ac_ct_OTOOL64" = x; then
6579 case $cross_compiling:$ac_tool_warned in
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6585 OTOOL64=$ac_ct_OTOOL64
6588 OTOOL64="$ac_cv_prog_OTOOL64"
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6618 $as_echo_n "checking for -single_module linker flag... " >&6; }
6619 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6620 $as_echo_n "(cached) " >&6
6622 lt_cv_apple_cc_single_mod=no
6623 if test -z "${LT_MULTI_MODULE}"; then
6624 # By default we will add the -single_module flag. You can override
6625 # by either setting the environment variable LT_MULTI_MODULE
6626 # non-empty at configure time, or by adding -multi_module to the
6628 rm -rf libconftest.dylib*
6629 echo "int foo(void){return 1;}" > conftest.c
6630 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6631 -dynamiclib -Wl,-single_module conftest.c" >&5
6632 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6633 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6635 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6636 lt_cv_apple_cc_single_mod=yes
6638 cat conftest.err >&5
6640 rm -rf libconftest.dylib*
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6645 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6647 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6648 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6649 $as_echo_n "(cached) " >&6
6651 lt_cv_ld_exported_symbols_list=no
6652 save_LDFLAGS=$LDFLAGS
6653 echo "_main" > conftest.sym
6654 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6656 /* end confdefs.h. */
6666 if ac_fn_c_try_link "$LINENO"; then :
6667 lt_cv_ld_exported_symbols_list=yes
6669 lt_cv_ld_exported_symbols_list=no
6671 rm -f core conftest.err conftest.$ac_objext \
6672 conftest$ac_exeext conftest.$ac_ext
6673 LDFLAGS="$save_LDFLAGS"
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6677 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6679 rhapsody* | darwin1.[012])
6680 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6682 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6683 darwin*) # darwin 5.x on
6684 # if running on 10.5 or later, the deployment target defaults
6685 # to the OS version, if on x86, and 10.4, the deployment
6686 # target defaults to 10.4. Don't you love it?
6687 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6688 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6689 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6691 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6693 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6697 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6698 _lt_dar_single_mod='$single_module'
6700 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6701 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6703 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6705 if test "$DSYMUTIL" != ":"; then
6706 _lt_dsymutil='~$DSYMUTIL $lib || :'
6714 ac_cpp='$CPP $CPPFLAGS'
6715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6719 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6720 # On Suns, sometimes $CPP names a directory.
6721 if test -n "$CPP" && test -d "$CPP"; then
6724 if test -z "$CPP"; then
6725 if test "${ac_cv_prog_CPP+set}" = set; then :
6726 $as_echo_n "(cached) " >&6
6728 # Double quotes because CPP needs to be expanded
6729 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6732 for ac_c_preproc_warn_flag in '' yes
6734 # Use a header file that comes with gcc, so configuring glibc
6735 # with a fresh cross-compiler works.
6736 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6737 # <limits.h> exists even on freestanding compilers.
6738 # On the NeXT, cc -E runs the code through the compiler's parser,
6739 # not just through cpp. "Syntax error" is here to catch this case.
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6743 # include <limits.h>
6745 # include <assert.h>
6749 if ac_fn_c_try_cpp "$LINENO"; then :
6752 # Broken: fails on valid input.
6755 rm -f conftest.err conftest.i conftest.$ac_ext
6757 # OK, works on sane cases. Now check whether nonexistent headers
6758 # can be detected and how.
6759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6761 #include <ac_nonexistent.h>
6763 if ac_fn_c_try_cpp "$LINENO"; then :
6764 # Broken: success on invalid input.
6767 # Passes both tests.
6771 rm -f conftest.err conftest.i conftest.$ac_ext
6774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6775 rm -f conftest.i conftest.err conftest.$ac_ext
6776 if $ac_preproc_ok; then :
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6789 $as_echo "$CPP" >&6; }
6791 for ac_c_preproc_warn_flag in '' yes
6793 # Use a header file that comes with gcc, so configuring glibc
6794 # with a fresh cross-compiler works.
6795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6796 # <limits.h> exists even on freestanding compilers.
6797 # On the NeXT, cc -E runs the code through the compiler's parser,
6798 # not just through cpp. "Syntax error" is here to catch this case.
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6802 # include <limits.h>
6804 # include <assert.h>
6808 if ac_fn_c_try_cpp "$LINENO"; then :
6811 # Broken: fails on valid input.
6814 rm -f conftest.err conftest.i conftest.$ac_ext
6816 # OK, works on sane cases. Now check whether nonexistent headers
6817 # can be detected and how.
6818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6820 #include <ac_nonexistent.h>
6822 if ac_fn_c_try_cpp "$LINENO"; then :
6823 # Broken: success on invalid input.
6826 # Passes both tests.
6830 rm -f conftest.err conftest.i conftest.$ac_ext
6833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6834 rm -f conftest.i conftest.err conftest.$ac_ext
6835 if $ac_preproc_ok; then :
6838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6840 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6841 See \`config.log' for more details" "$LINENO" 5 ; }
6845 ac_cpp='$CPP $CPPFLAGS'
6846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6852 $as_echo_n "checking for ANSI C header files... " >&6; }
6853 if test "${ac_cv_header_stdc+set}" = set; then :
6854 $as_echo_n "(cached) " >&6
6856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6857 /* end confdefs.h. */
6871 if ac_fn_c_try_compile "$LINENO"; then :
6872 ac_cv_header_stdc=yes
6874 ac_cv_header_stdc=no
6876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6878 if test $ac_cv_header_stdc = yes; then
6879 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6881 /* end confdefs.h. */
6885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6886 $EGREP "memchr" >/dev/null 2>&1; then :
6889 ac_cv_header_stdc=no
6895 if test $ac_cv_header_stdc = yes; then
6896 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6903 $EGREP "free" >/dev/null 2>&1; then :
6906 ac_cv_header_stdc=no
6912 if test $ac_cv_header_stdc = yes; then
6913 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6914 if test "$cross_compiling" = yes; then :
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6921 #if ((' ' & 0x0FF) == 0x020)
6922 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6923 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6925 # define ISLOWER(c) \
6926 (('a' <= (c) && (c) <= 'i') \
6927 || ('j' <= (c) && (c) <= 'r') \
6928 || ('s' <= (c) && (c) <= 'z'))
6929 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6932 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6937 for (i = 0; i < 256; i++)
6938 if (XOR (islower (i), ISLOWER (i))
6939 || toupper (i) != TOUPPER (i))
6944 if ac_fn_c_try_run "$LINENO"; then :
6947 ac_cv_header_stdc=no
6949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6950 conftest.$ac_objext conftest.beam conftest.$ac_ext
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6956 $as_echo "$ac_cv_header_stdc" >&6; }
6957 if test $ac_cv_header_stdc = yes; then
6959 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6963 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6964 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6965 inttypes.h stdint.h unistd.h
6967 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6968 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6970 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6971 cat >>confdefs.h <<_ACEOF
6972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6980 for ac_header in dlfcn.h
6982 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6984 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6985 cat >>confdefs.h <<_ACEOF
6986 #define HAVE_DLFCN_H 1
7005 # Check whether --enable-shared was given.
7006 if test "${enable_shared+set}" = set; then :
7007 enableval=$enable_shared; p=${PACKAGE-default}
7009 yes) enable_shared=yes ;;
7010 no) enable_shared=no ;;
7013 # Look at the argument we got. We use all the common list separators.
7014 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7015 for pkg in $enableval; do
7017 if test "X$pkg" = "X$p"; then
7038 # Check whether --with-pic was given.
7039 if test "${with_pic+set}" = set; then :
7040 withval=$with_pic; pic_mode="$withval"
7046 test -z "$pic_mode" && pic_mode=default
7054 # Check whether --enable-fast-install was given.
7055 if test "${enable_fast_install+set}" = set; then :
7056 enableval=$enable_fast_install; p=${PACKAGE-default}
7058 yes) enable_fast_install=yes ;;
7059 no) enable_fast_install=no ;;
7061 enable_fast_install=no
7062 # Look at the argument we got. We use all the common list separators.
7063 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7064 for pkg in $enableval; do
7066 if test "X$pkg" = "X$p"; then
7067 enable_fast_install=yes
7074 enable_fast_install=yes
7087 # This can be used to rebuild libtool when needed
7088 LIBTOOL_DEPS="$ltmain"
7090 # Always use our own libtool.
7091 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7117 test -z "$LN_S" && LN_S="ln -s"
7132 if test -n "${ZSH_VERSION+set}" ; then
7133 setopt NO_GLOB_SUBST
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7137 $as_echo_n "checking for objdir... " >&6; }
7138 if test "${lt_cv_objdir+set}" = set; then :
7139 $as_echo_n "(cached) " >&6
7141 rm -f .libs 2>/dev/null
7142 mkdir .libs 2>/dev/null
7143 if test -d .libs; then
7146 # MS-DOS does not allow filenames that begin with a dot.
7149 rmdir .libs 2>/dev/null
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7152 $as_echo "$lt_cv_objdir" >&6; }
7153 objdir=$lt_cv_objdir
7159 cat >>confdefs.h <<_ACEOF
7160 #define LT_OBJDIR "$lt_cv_objdir/"
7181 # AIX sometimes has problems with the GCC collect2 program. For some
7182 # reason, if we set the COLLECT_NAMES environment variable, the problems
7183 # vanish in a puff of smoke.
7184 if test "X${COLLECT_NAMES+set}" != Xset; then
7186 export COLLECT_NAMES
7191 # Sed substitution that helps us do robust quoting. It backslashifies
7192 # metacharacters that are still active within double-quoted strings.
7193 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7195 # Same as above, but do not quote variable references.
7196 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7198 # Sed substitution to delay expansion of an escaped shell variable in a
7199 # double_quote_subst'ed string.
7200 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7202 # Sed substitution to delay expansion of an escaped single quote.
7203 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7205 # Sed substitution to avoid accidental globbing in evaled expressions
7206 no_glob_subst='s/\*/\\\*/g'
7210 can_build_shared=yes
7212 # All known linkers require a `.a' archive for static linking (except MSVC,
7213 # which needs '.lib').
7216 with_gnu_ld="$lt_cv_prog_gnu_ld"
7219 old_CFLAGS="$CFLAGS"
7221 # Set sane defaults for various variables
7222 test -z "$CC" && CC=cc
7223 test -z "$LTCC" && LTCC=$CC
7224 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7225 test -z "$LD" && LD=ld
7226 test -z "$ac_objext" && ac_objext=o
7228 for cc_temp in $compiler""; do
7230 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7231 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7236 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7239 # Only perform the check for file, if the check method requires it
7240 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7241 case $deplibs_check_method in
7243 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7245 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7246 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7247 $as_echo_n "(cached) " >&6
7251 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7254 lt_save_MAGIC_CMD="$MAGIC_CMD"
7255 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7256 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7257 for ac_dir in $ac_dummy; do
7259 test -z "$ac_dir" && ac_dir=.
7260 if test -f $ac_dir/${ac_tool_prefix}file; then
7261 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7262 if test -n "$file_magic_test_file"; then
7263 case $deplibs_check_method in
7265 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7266 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7267 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7268 $EGREP "$file_magic_regex" > /dev/null; then
7273 *** Warning: the command libtool uses to detect shared libraries,
7274 *** $file_magic_cmd, produces output that libtool cannot recognize.
7275 *** The result is that libtool may fail to recognize shared libraries
7276 *** as such. This will affect the creation of libtool libraries that
7277 *** depend on shared libraries, but programs linked with such libtool
7278 *** libraries will work regardless of this problem. Nevertheless, you
7279 *** may want to report the problem to your system manager and/or to
7280 *** bug-libtool@gnu.org
7290 MAGIC_CMD="$lt_save_MAGIC_CMD"
7295 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7296 if test -n "$MAGIC_CMD"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7298 $as_echo "$MAGIC_CMD" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7308 if test -z "$lt_cv_path_MAGIC_CMD"; then
7309 if test -n "$ac_tool_prefix"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7311 $as_echo_n "checking for file... " >&6; }
7312 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7317 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7320 lt_save_MAGIC_CMD="$MAGIC_CMD"
7321 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7322 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7323 for ac_dir in $ac_dummy; do
7325 test -z "$ac_dir" && ac_dir=.
7326 if test -f $ac_dir/file; then
7327 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7328 if test -n "$file_magic_test_file"; then
7329 case $deplibs_check_method in
7331 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7333 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7334 $EGREP "$file_magic_regex" > /dev/null; then
7339 *** Warning: the command libtool uses to detect shared libraries,
7340 *** $file_magic_cmd, produces output that libtool cannot recognize.
7341 *** The result is that libtool may fail to recognize shared libraries
7342 *** as such. This will affect the creation of libtool libraries that
7343 *** depend on shared libraries, but programs linked with such libtool
7344 *** libraries will work regardless of this problem. Nevertheless, you
7345 *** may want to report the problem to your system manager and/or to
7346 *** bug-libtool@gnu.org
7356 MAGIC_CMD="$lt_save_MAGIC_CMD"
7361 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7362 if test -n "$MAGIC_CMD"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7364 $as_echo "$MAGIC_CMD" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7380 # Use C for the default configuration in the libtool script
7384 ac_cpp='$CPP $CPPFLAGS'
7385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7390 # Source file extension for C test sources.
7393 # Object file extension for compiled C test sources.
7397 # Code to be used in simple compile tests
7398 lt_simple_compile_test_code="int some_variable = 0;"
7400 # Code to be used in simple link tests
7401 lt_simple_link_test_code='int main(){return(0);}'
7409 # If no C compiler was specified, use CC.
7412 # If no C compiler flags were specified, use CFLAGS.
7413 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7415 # Allow CC to be a program name with arguments.
7418 # Save the default compiler, since it gets overwritten when the other
7419 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7420 compiler_DEFAULT=$CC
7422 # save warnings/boilerplate of simple test code
7423 ac_outfile=conftest.$ac_objext
7424 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7425 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7426 _lt_compiler_boilerplate=`cat conftest.err`
7429 ac_outfile=conftest.$ac_objext
7430 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7431 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7432 _lt_linker_boilerplate=`cat conftest.err`
7437 ## There is no encapsulation within the following macros, do not change
7438 ## the running order or otherwise move them around unless you know exactly
7439 ## what you are doing...
7440 if test -n "$compiler"; then
7442 lt_prog_compiler_no_builtin_flag=
7444 if test "$GCC" = yes; then
7445 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7448 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7449 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7450 $as_echo_n "(cached) " >&6
7452 lt_cv_prog_compiler_rtti_exceptions=no
7453 ac_outfile=conftest.$ac_objext
7454 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7455 lt_compiler_flag="-fno-rtti -fno-exceptions"
7456 # Insert the option either (1) after the last *FLAGS variable, or
7457 # (2) before a word containing "conftest.", or (3) at the end.
7458 # Note that $ac_compile itself does not contain backslashes and begins
7459 # with a dollar sign (not a hyphen), so the echo should work correctly.
7460 # The option is referenced via a variable to avoid confusing sed.
7461 lt_compile=`echo "$ac_compile" | $SED \
7462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7464 -e 's:$: $lt_compiler_flag:'`
7465 (eval echo "\"\$as_me:7465: $lt_compile\"" >&5)
7466 (eval "$lt_compile" 2>conftest.err)
7468 cat conftest.err >&5
7469 echo "$as_me:7469: \$? = $ac_status" >&5
7470 if (exit $ac_status) && test -s "$ac_outfile"; then
7471 # The compiler can only warn and ignore the option if not recognized
7472 # So say no if there are warnings other than the usual output.
7473 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7474 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7475 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7476 lt_cv_prog_compiler_rtti_exceptions=yes
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7483 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7485 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7486 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7498 lt_prog_compiler_wl=
7499 lt_prog_compiler_pic=
7500 lt_prog_compiler_static=
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7505 if test "$GCC" = yes; then
7506 lt_prog_compiler_wl='-Wl,'
7507 lt_prog_compiler_static='-static'
7511 # All AIX code is PIC.
7512 if test "$host_cpu" = ia64; then
7513 # AIX 5 now supports IA64 processor
7514 lt_prog_compiler_static='-Bstatic'
7521 # see comment about AmigaOS4 .so support
7522 lt_prog_compiler_pic='-fPIC'
7525 # FIXME: we need at least 68020 code to build shared libraries, but
7526 # adding the `-m68020' flag to GCC prevents building anything better,
7528 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7533 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7534 # PIC is the default for these OSes.
7537 mingw* | cygwin* | pw32* | os2* | cegcc*)
7538 # This hack is so that the source file can tell whether it is being
7539 # built for inclusion in a dll (and should export symbols for example).
7540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7541 # (--disable-auto-import) libraries
7542 lt_prog_compiler_pic='-DDLL_EXPORT'
7545 darwin* | rhapsody*)
7546 # PIC is the default on this platform
7547 # Common symbols not allowed in MH_DYLIB files
7548 lt_prog_compiler_pic='-fno-common'
7552 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7553 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7554 # sets the default TLS model and affects inlining.
7560 lt_prog_compiler_pic='-fPIC'
7566 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7567 # Instead, we relocate shared libraries at runtime.
7571 # Just because we use GCC doesn't mean we suddenly get shared libraries
7572 # on systems that don't support them.
7573 lt_prog_compiler_can_build_shared=no
7578 # QNX uses GNU C++, but need to define -shared option too, otherwise
7580 lt_prog_compiler_pic='-fPIC -shared'
7584 if test -d /usr/nec; then
7585 lt_prog_compiler_pic=-Kconform_pic
7590 lt_prog_compiler_pic='-fPIC'
7594 # PORTME Check for flag to pass linker flags through the system compiler.
7597 lt_prog_compiler_wl='-Wl,'
7598 if test "$host_cpu" = ia64; then
7599 # AIX 5 now supports IA64 processor
7600 lt_prog_compiler_static='-Bstatic'
7602 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7606 mingw* | cygwin* | pw32* | os2* | cegcc*)
7607 # This hack is so that the source file can tell whether it is being
7608 # built for inclusion in a dll (and should export symbols for example).
7609 lt_prog_compiler_pic='-DDLL_EXPORT'
7612 hpux9* | hpux10* | hpux11*)
7613 lt_prog_compiler_wl='-Wl,'
7614 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7621 lt_prog_compiler_pic='+Z'
7624 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7625 lt_prog_compiler_static='${wl}-a ${wl}archive'
7628 irix5* | irix6* | nonstopux*)
7629 lt_prog_compiler_wl='-Wl,'
7630 # PIC (with -KPIC) is the default.
7631 lt_prog_compiler_static='-non_shared'
7634 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7635 case $cc_basename in
7636 # old Intel for x86_64 which still supported -KPIC.
7638 lt_prog_compiler_wl='-Wl,'
7639 lt_prog_compiler_pic='-KPIC'
7640 lt_prog_compiler_static='-static'
7642 # icc used to be incompatible with GCC.
7643 # ICC 10 doesn't accept -KPIC any more.
7645 lt_prog_compiler_wl='-Wl,'
7646 lt_prog_compiler_pic='-fPIC'
7647 lt_prog_compiler_static='-static'
7649 # Lahey Fortran 8.1.
7651 lt_prog_compiler_wl='-Wl,'
7652 lt_prog_compiler_pic='--shared'
7653 lt_prog_compiler_static='--static'
7655 pgcc* | pgf77* | pgf90* | pgf95*)
7656 # Portland Group compilers (*not* the Pentium gcc compiler,
7657 # which looks to be a dead project)
7658 lt_prog_compiler_wl='-Wl,'
7659 lt_prog_compiler_pic='-fpic'
7660 lt_prog_compiler_static='-Bstatic'
7663 lt_prog_compiler_wl='-Wl,'
7664 # All Alpha code is PIC.
7665 lt_prog_compiler_static='-non_shared'
7668 # IBM XL C 8.0/Fortran 10.1 on PPC
7669 lt_prog_compiler_wl='-Wl,'
7670 lt_prog_compiler_pic='-qpic'
7671 lt_prog_compiler_static='-qstaticlink'
7674 case `$CC -V 2>&1 | sed 5q` in
7677 lt_prog_compiler_pic='-KPIC'
7678 lt_prog_compiler_static='-Bstatic'
7679 lt_prog_compiler_wl='-Wl,'
7682 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7683 lt_prog_compiler_pic='-KPIC'
7684 lt_prog_compiler_static='-Bstatic'
7685 lt_prog_compiler_wl=''
7693 lt_prog_compiler_pic='-KPIC'
7694 lt_prog_compiler_static='-Bstatic'
7698 # QNX uses GNU C++, but need to define -shared option too, otherwise
7700 lt_prog_compiler_pic='-fPIC -shared'
7703 osf3* | osf4* | osf5*)
7704 lt_prog_compiler_wl='-Wl,'
7705 # All OSF/1 code is PIC.
7706 lt_prog_compiler_static='-non_shared'
7710 lt_prog_compiler_static='-non_shared'
7714 lt_prog_compiler_pic='-KPIC'
7715 lt_prog_compiler_static='-Bstatic'
7716 case $cc_basename in
7718 lt_prog_compiler_wl='-Qoption ld ';;
7720 lt_prog_compiler_wl='-Wl,';;
7725 lt_prog_compiler_wl='-Qoption ld '
7726 lt_prog_compiler_pic='-PIC'
7727 lt_prog_compiler_static='-Bstatic'
7730 sysv4 | sysv4.2uw2* | sysv4.3*)
7731 lt_prog_compiler_wl='-Wl,'
7732 lt_prog_compiler_pic='-KPIC'
7733 lt_prog_compiler_static='-Bstatic'
7737 if test -d /usr/nec ;then
7738 lt_prog_compiler_pic='-Kconform_pic'
7739 lt_prog_compiler_static='-Bstatic'
7743 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7744 lt_prog_compiler_wl='-Wl,'
7745 lt_prog_compiler_pic='-KPIC'
7746 lt_prog_compiler_static='-Bstatic'
7750 lt_prog_compiler_wl='-Wl,'
7751 lt_prog_compiler_can_build_shared=no
7755 lt_prog_compiler_pic='-pic'
7756 lt_prog_compiler_static='-Bstatic'
7760 lt_prog_compiler_can_build_shared=no
7766 # For platforms which do not support PIC, -DPIC is meaningless:
7768 lt_prog_compiler_pic=
7771 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7775 $as_echo "$lt_prog_compiler_pic" >&6; }
7783 # Check to make sure the PIC flag actually works.
7785 if test -n "$lt_prog_compiler_pic"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7787 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7788 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7789 $as_echo_n "(cached) " >&6
7791 lt_cv_prog_compiler_pic_works=no
7792 ac_outfile=conftest.$ac_objext
7793 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7794 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7795 # Insert the option either (1) after the last *FLAGS variable, or
7796 # (2) before a word containing "conftest.", or (3) at the end.
7797 # Note that $ac_compile itself does not contain backslashes and begins
7798 # with a dollar sign (not a hyphen), so the echo should work correctly.
7799 # The option is referenced via a variable to avoid confusing sed.
7800 lt_compile=`echo "$ac_compile" | $SED \
7801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7803 -e 's:$: $lt_compiler_flag:'`
7804 (eval echo "\"\$as_me:7804: $lt_compile\"" >&5)
7805 (eval "$lt_compile" 2>conftest.err)
7807 cat conftest.err >&5
7808 echo "$as_me:7808: \$? = $ac_status" >&5
7809 if (exit $ac_status) && test -s "$ac_outfile"; then
7810 # The compiler can only warn and ignore the option if not recognized
7811 # So say no if there are warnings other than the usual output.
7812 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7814 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7815 lt_cv_prog_compiler_pic_works=yes
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7822 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7824 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7825 case $lt_prog_compiler_pic in
7827 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7830 lt_prog_compiler_pic=
7831 lt_prog_compiler_can_build_shared=no
7842 # Check to make sure the static flag actually works.
7844 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7846 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7847 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7848 $as_echo_n "(cached) " >&6
7850 lt_cv_prog_compiler_static_works=no
7851 save_LDFLAGS="$LDFLAGS"
7852 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7853 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7854 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7855 # The linker can only warn and ignore the option if not recognized
7856 # So say no if there are warnings
7857 if test -s conftest.err; then
7858 # Append any errors to the config.log.
7859 cat conftest.err 1>&5
7860 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7861 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7862 if diff conftest.exp conftest.er2 >/dev/null; then
7863 lt_cv_prog_compiler_static_works=yes
7866 lt_cv_prog_compiler_static_works=yes
7870 LDFLAGS="$save_LDFLAGS"
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7874 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7876 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7879 lt_prog_compiler_static=
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7890 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7893 lt_cv_prog_compiler_c_o=no
7894 $RM -r conftest 2>/dev/null
7898 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7900 lt_compiler_flag="-o out/conftest2.$ac_objext"
7901 # Insert the option either (1) after the last *FLAGS variable, or
7902 # (2) before a word containing "conftest.", or (3) at the end.
7903 # Note that $ac_compile itself does not contain backslashes and begins
7904 # with a dollar sign (not a hyphen), so the echo should work correctly.
7905 lt_compile=`echo "$ac_compile" | $SED \
7906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7908 -e 's:$: $lt_compiler_flag:'`
7909 (eval echo "\"\$as_me:7909: $lt_compile\"" >&5)
7910 (eval "$lt_compile" 2>out/conftest.err)
7912 cat out/conftest.err >&5
7913 echo "$as_me:7913: \$? = $ac_status" >&5
7914 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7916 # The compiler can only warn and ignore the option if not recognized
7917 # So say no if there are warnings
7918 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7919 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7920 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7921 lt_cv_prog_compiler_c_o=yes
7926 # SGI C++ compiler will create directory out/ii_files/ for
7927 # template instantiation
7928 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7929 $RM out/* && rmdir out
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7944 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7945 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7946 $as_echo_n "(cached) " >&6
7948 lt_cv_prog_compiler_c_o=no
7949 $RM -r conftest 2>/dev/null
7953 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7955 lt_compiler_flag="-o out/conftest2.$ac_objext"
7956 # Insert the option either (1) after the last *FLAGS variable, or
7957 # (2) before a word containing "conftest.", or (3) at the end.
7958 # Note that $ac_compile itself does not contain backslashes and begins
7959 # with a dollar sign (not a hyphen), so the echo should work correctly.
7960 lt_compile=`echo "$ac_compile" | $SED \
7961 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7962 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7963 -e 's:$: $lt_compiler_flag:'`
7964 (eval echo "\"\$as_me:7964: $lt_compile\"" >&5)
7965 (eval "$lt_compile" 2>out/conftest.err)
7967 cat out/conftest.err >&5
7968 echo "$as_me:7968: \$? = $ac_status" >&5
7969 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7971 # The compiler can only warn and ignore the option if not recognized
7972 # So say no if there are warnings
7973 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7974 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7975 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7976 lt_cv_prog_compiler_c_o=yes
7981 # SGI C++ compiler will create directory out/ii_files/ for
7982 # template instantiation
7983 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7984 $RM out/* && rmdir out
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7991 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7996 hard_links="nottested"
7997 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7998 # do not overwrite the value of need_locks provided by the user
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8000 $as_echo_n "checking if we can lock with hard links... " >&6; }
8003 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8005 ln conftest.a conftest.b 2>&5 || hard_links=no
8006 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8008 $as_echo "$hard_links" >&6; }
8009 if test "$hard_links" = no; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8011 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8024 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8027 allow_undefined_flag=
8028 always_export_symbols=no
8030 archive_expsym_cmds=
8031 compiler_needs_object=no
8032 enable_shared_with_static_runtimes=no
8033 export_dynamic_flag_spec=
8034 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8035 hardcode_automatic=no
8037 hardcode_direct_absolute=no
8038 hardcode_libdir_flag_spec=
8039 hardcode_libdir_flag_spec_ld=
8040 hardcode_libdir_separator=
8042 hardcode_shlibpath_var=unsupported
8044 link_all_deplibs=unknown
8047 old_archive_from_new_cmds=
8048 old_archive_from_expsyms_cmds=
8049 thread_safe_flag_spec=
8050 whole_archive_flag_spec=
8051 # include_expsyms should be a list of space-separated symbols to be *always*
8052 # included in the symbol list
8054 # exclude_expsyms can be an extended regexp of symbols to exclude
8055 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8056 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8057 # as well as any symbol that contains `d'.
8058 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8059 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8060 # platforms (ab)use it in PIC code, but their linkers get confused if
8061 # the symbol is explicitly referenced. Since portable code cannot
8062 # rely on this symbol name, it's probably fine to never include it in
8063 # preloaded symbol tables.
8064 # Exclude shared library initialization/finalization symbols.
8065 extract_expsyms_cmds=
8068 cygwin* | mingw* | pw32* | cegcc*)
8069 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8070 # When not using gcc, we currently assume that we are using
8071 # Microsoft Visual C++.
8072 if test "$GCC" != yes; then
8077 # we just hope/assume this is gcc and not c89 (= MSVC++)
8083 linux* | k*bsd*-gnu)
8089 if test "$with_gnu_ld" = yes; then
8090 # If archive_cmds runs LD, not CC, wlarc should be empty
8093 # Set some defaults for GNU ld with shared library support. These
8094 # are reset later if shared libraries are not supported. Putting them
8095 # here allows them to be overridden if necessary.
8096 runpath_var=LD_RUN_PATH
8097 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8098 export_dynamic_flag_spec='${wl}--export-dynamic'
8099 # ancient GNU ld didn't support --whole-archive et. al.
8100 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8101 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8103 whole_archive_flag_spec=
8105 supports_anon_versioning=no
8106 case `$LD -v 2>&1` in
8107 *GNU\ gold*) supports_anon_versioning=yes ;;
8108 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8109 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8110 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8111 *\ 2.11.*) ;; # other 2.11 versions
8112 *) supports_anon_versioning=yes ;;
8115 # See if GNU ld supports shared libraries.
8118 # On AIX/PPC, the GNU linker is very broken
8119 if test "$host_cpu" != ia64; then
8123 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8124 *** to be unable to reliably create shared libraries on AIX.
8125 *** Therefore, libtool is disabling shared libraries support. If you
8126 *** really care for shared libraries, you may want to modify your PATH
8127 *** so that a non-GNU linker is found, and then restart.
8136 # see comment about AmigaOS4 .so support
8137 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8138 archive_expsym_cmds=''
8141 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)'
8142 hardcode_libdir_flag_spec='-L$libdir'
8143 hardcode_minus_L=yes
8149 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8150 allow_undefined_flag=unsupported
8151 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8152 # support --undefined. This deserves some investigation. FIXME
8153 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8159 cygwin* | mingw* | pw32* | cegcc*)
8160 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8161 # as there is no search path for DLLs.
8162 hardcode_libdir_flag_spec='-L$libdir'
8163 allow_undefined_flag=unsupported
8164 always_export_symbols=no
8165 enable_shared_with_static_runtimes=yes
8166 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8168 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8169 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8170 # If the export-symbols file already is a .def file (1st line
8171 # is EXPORTS), use it as is; otherwise, prepend...
8172 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8173 cp $export_symbols $output_objdir/$soname.def;
8175 echo EXPORTS > $output_objdir/$soname.def;
8176 cat $export_symbols >> $output_objdir/$soname.def;
8178 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8186 hardcode_shlibpath_var=no
8187 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8188 export_dynamic_flag_spec='${wl}-E'
8189 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8190 # Instead, shared libraries are loaded at an image base (0x10000000 by
8191 # default) and relocated if they conflict, which is a slow very memory
8192 # consuming and fragmenting process. To avoid this, we pick a random,
8193 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8194 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8195 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8196 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'
8199 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8201 if test "$host_os" = linux-dietlibc; then
8202 case $cc_basename in
8203 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8206 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8207 && test "$tmp_diet" = no
8210 tmp_sharedflag='-shared'
8211 case $cc_basename,$host_cpu in
8212 pgcc*) # Portland Group C compiler
8213 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'
8214 tmp_addflag=' $pic_flag'
8216 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8217 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'
8218 tmp_addflag=' $pic_flag -Mnomain' ;;
8219 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8220 tmp_addflag=' -i_dynamic' ;;
8221 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8222 tmp_addflag=' -i_dynamic -nofor_main' ;;
8223 ifc* | ifort*) # Intel Fortran compiler
8224 tmp_addflag=' -nofor_main' ;;
8225 lf95*) # Lahey Fortran 8.1
8226 whole_archive_flag_spec=
8227 tmp_sharedflag='--shared' ;;
8228 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8229 tmp_sharedflag='-qmkshrobj'
8232 case `$CC -V 2>&1 | sed 5q` in
8233 *Sun\ C*) # Sun C 5.9
8234 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'
8235 compiler_needs_object=yes
8236 tmp_sharedflag='-G' ;;
8237 *Sun\ F*) # Sun Fortran 8.3
8238 tmp_sharedflag='-G' ;;
8240 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8242 if test "x$supports_anon_versioning" = xyes; then
8243 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8244 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8245 echo "local: *; };" >> $output_objdir/$libname.ver~
8246 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8249 case $cc_basename in
8251 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8252 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8253 hardcode_libdir_flag_spec=
8254 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8255 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8256 if test "x$supports_anon_versioning" = xyes; then
8257 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8259 echo "local: *; };" >> $output_objdir/$libname.ver~
8260 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8269 netbsd* | netbsdelf*-gnu)
8270 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8271 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8274 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8275 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8280 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8284 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8285 *** create shared libraries on Solaris systems. Therefore, libtool
8286 *** is disabling shared libraries support. We urge you to upgrade GNU
8287 *** binutils to release 2.9.1 or newer. Another option is to modify
8288 *** your PATH or compiler configuration so that the native linker is
8289 *** used, and then restart.
8292 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8293 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8294 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8300 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8301 case `$LD -v 2>&1` in
8302 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8306 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8307 *** reliably create shared libraries on SCO systems. Therefore, libtool
8308 *** is disabling shared libraries support. We urge you to upgrade GNU
8309 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8310 *** your PATH or compiler configuration so that the native linker is
8311 *** used, and then restart.
8316 # For security reasons, it is highly recommended that you always
8317 # use absolute paths for naming shared libraries, and exclude the
8318 # DT_RUNPATH tag from executables and libraries. But doing so
8319 # requires that you compile everything twice, which is a pain.
8320 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8321 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8322 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8323 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8332 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8335 hardcode_shlibpath_var=no
8339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8341 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8348 if test "$ld_shlibs" = no; then
8350 hardcode_libdir_flag_spec=
8351 export_dynamic_flag_spec=
8352 whole_archive_flag_spec=
8355 # PORTME fill in a description of your system's linker (not GNU ld)
8358 allow_undefined_flag=unsupported
8359 always_export_symbols=yes
8360 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'
8361 # Note: this linker hardcodes the directories in LIBPATH if there
8362 # are no directories specified by -L.
8363 hardcode_minus_L=yes
8364 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8365 # Neither direct hardcoding nor static linking is supported with a
8367 hardcode_direct=unsupported
8372 if test "$host_cpu" = ia64; then
8373 # On IA64, the linker does run time linking by default, so we don't
8374 # have to do anything special.
8375 aix_use_runtimelinking=no
8376 exp_sym_flag='-Bexport'
8379 # If we're using GNU nm, then we don't want the "-C" option.
8380 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8381 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8382 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'
8384 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'
8386 aix_use_runtimelinking=no
8388 # Test if we are trying to use run time linking or normal
8389 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8390 # need to do runtime linking.
8391 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8392 for ld_flag in $LDFLAGS; do
8393 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8394 aix_use_runtimelinking=yes
8401 exp_sym_flag='-bexport'
8402 no_entry_flag='-bnoentry'
8405 # When large executables or shared objects are built, AIX ld can
8406 # have problems creating the table of contents. If linking a library
8407 # or program results in "error TOC overflow" add -mminimal-toc to
8408 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8409 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8413 hardcode_direct_absolute=yes
8414 hardcode_libdir_separator=':'
8415 link_all_deplibs=yes
8416 file_list_spec='${wl}-f,'
8418 if test "$GCC" = yes; then
8419 case $host_os in aix4.[012]|aix4.[012].*)
8420 # We only want to do this on AIX 4.2 and lower, the check
8421 # below for broken collect2 doesn't work under 4.3+
8422 collect2name=`${CC} -print-prog-name=collect2`
8423 if test -f "$collect2name" &&
8424 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8426 # We have reworked collect2
8429 # We have old collect2
8430 hardcode_direct=unsupported
8431 # It fails to find uninstalled libraries when the uninstalled
8432 # path is not listed in the libpath. Setting hardcode_minus_L
8433 # to unsupported forces relinking
8434 hardcode_minus_L=yes
8435 hardcode_libdir_flag_spec='-L$libdir'
8436 hardcode_libdir_separator=
8440 shared_flag='-shared'
8441 if test "$aix_use_runtimelinking" = yes; then
8442 shared_flag="$shared_flag "'${wl}-G'
8447 if test "$host_cpu" = ia64; then
8448 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8449 # chokes on -Wl,-G. The following line is correct:
8452 if test "$aix_use_runtimelinking" = yes; then
8453 shared_flag='${wl}-G'
8455 shared_flag='${wl}-bM:SRE'
8460 export_dynamic_flag_spec='${wl}-bexpall'
8461 # It seems that -bexpall does not export symbols beginning with
8462 # underscore (_), so it is better to generate a list of symbols to export.
8463 always_export_symbols=yes
8464 if test "$aix_use_runtimelinking" = yes; then
8465 # Warning - without using the other runtime loading flags (-brtl),
8466 # -berok will link without error, but may produce a broken library.
8467 allow_undefined_flag='-berok'
8468 # Determine the default libpath from the value encoded in an
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8481 if ac_fn_c_try_link "$LINENO"; then :
8483 lt_aix_libpath_sed='
8484 /Import File Strings/,/^$/ {
8490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8491 # Check for a 64-bit object if we didn't find anything.
8492 if test -z "$aix_libpath"; then
8493 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8500 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8501 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"
8503 if test "$host_cpu" = ia64; then
8504 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8505 allow_undefined_flag="-z nodefs"
8506 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"
8508 # Determine the default libpath from the value encoded in an
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8521 if ac_fn_c_try_link "$LINENO"; then :
8523 lt_aix_libpath_sed='
8524 /Import File Strings/,/^$/ {
8530 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8531 # Check for a 64-bit object if we didn't find anything.
8532 if test -z "$aix_libpath"; then
8533 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8536 rm -f core conftest.err conftest.$ac_objext \
8537 conftest$ac_exeext conftest.$ac_ext
8538 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8540 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8541 # Warning - without using the other run time loading flags,
8542 # -berok will link without error, but may produce a broken library.
8543 no_undefined_flag=' ${wl}-bernotok'
8544 allow_undefined_flag=' ${wl}-berok'
8545 # Exported symbols can be pulled into shared objects from archives
8546 whole_archive_flag_spec='$convenience'
8547 archive_cmds_need_lc=yes
8548 # This is similar to how AIX traditionally builds its shared libraries.
8549 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'
8557 # see comment about AmigaOS4 .so support
8558 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8559 archive_expsym_cmds=''
8562 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)'
8563 hardcode_libdir_flag_spec='-L$libdir'
8564 hardcode_minus_L=yes
8570 export_dynamic_flag_spec=-rdynamic
8573 cygwin* | mingw* | pw32* | cegcc*)
8574 # When not using gcc, we currently assume that we are using
8575 # Microsoft Visual C++.
8576 # hardcode_libdir_flag_spec is actually meaningless, as there is
8577 # no search path for DLLs.
8578 hardcode_libdir_flag_spec=' '
8579 allow_undefined_flag=unsupported
8580 # Tell ltmain to make .lib files, not .a files.
8582 # Tell ltmain to make .dll files, not .so files.
8584 # FIXME: Setting linknames here is a bad hack.
8585 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8586 # The linker will automatically build a .lib file if we build a DLL.
8587 old_archive_from_new_cmds='true'
8588 # FIXME: Should let the user specify the lib program.
8589 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8590 fix_srcfile_path='`cygpath -w "$srcfile"`'
8591 enable_shared_with_static_runtimes=yes
8594 darwin* | rhapsody*)
8597 archive_cmds_need_lc=no
8599 hardcode_automatic=yes
8600 hardcode_shlibpath_var=unsupported
8601 whole_archive_flag_spec=''
8602 link_all_deplibs=yes
8603 allow_undefined_flag="$_lt_dar_allow_undefined"
8604 case $cc_basename in
8605 ifort*) _lt_dar_can_shared=yes ;;
8606 *) _lt_dar_can_shared=$GCC ;;
8608 if test "$_lt_dar_can_shared" = "yes"; then
8609 output_verbose_link_cmd=echo
8610 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8611 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8612 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}"
8613 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}"
8622 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8623 hardcode_libdir_flag_spec='-L$libdir'
8624 hardcode_shlibpath_var=no
8631 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8632 # support. Future versions do this automatically, but an explicit c++rt0.o
8633 # does not break anything, and helps significantly (at the cost of a little
8636 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8637 hardcode_libdir_flag_spec='-R$libdir'
8639 hardcode_shlibpath_var=no
8642 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8644 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8646 hardcode_minus_L=yes
8647 hardcode_shlibpath_var=no
8650 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8651 freebsd* | dragonfly*)
8652 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8653 hardcode_libdir_flag_spec='-R$libdir'
8655 hardcode_shlibpath_var=no
8659 if test "$GCC" = yes; then
8660 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'
8662 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'
8664 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8665 hardcode_libdir_separator=:
8668 # hardcode_minus_L: Not really in the search PATH,
8669 # but as the default location of the library.
8670 hardcode_minus_L=yes
8671 export_dynamic_flag_spec='${wl}-E'
8675 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8676 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8678 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8680 if test "$with_gnu_ld" = no; then
8681 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8682 hardcode_libdir_flag_spec_ld='+b $libdir'
8683 hardcode_libdir_separator=:
8685 hardcode_direct_absolute=yes
8686 export_dynamic_flag_spec='${wl}-E'
8687 # hardcode_minus_L: Not really in the search PATH,
8688 # but as the default location of the library.
8689 hardcode_minus_L=yes
8694 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8697 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8700 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8703 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8712 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8715 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8719 if test "$with_gnu_ld" = no; then
8720 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8721 hardcode_libdir_separator=:
8726 hardcode_shlibpath_var=no
8730 hardcode_direct_absolute=yes
8731 export_dynamic_flag_spec='${wl}-E'
8733 # hardcode_minus_L: Not really in the search PATH,
8734 # but as the default location of the library.
8735 hardcode_minus_L=yes
8741 irix5* | irix6* | nonstopux*)
8742 if test "$GCC" = yes; then
8743 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'
8744 # Try to use the -exported_symbol ld option, if it does not
8745 # work, assume that -exports_file does not work either and
8746 # implicitly export all symbols.
8747 save_LDFLAGS="$LDFLAGS"
8748 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 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'
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 LDFLAGS="$save_LDFLAGS"
8761 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'
8762 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'
8764 archive_cmds_need_lc='no'
8765 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8766 hardcode_libdir_separator=:
8768 link_all_deplibs=yes
8771 netbsd* | netbsdelf*-gnu)
8772 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8773 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8775 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8777 hardcode_libdir_flag_spec='-R$libdir'
8779 hardcode_shlibpath_var=no
8783 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8785 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8786 hardcode_libdir_separator=:
8787 hardcode_shlibpath_var=no
8794 if test -f /usr/libexec/ld.so; then
8796 hardcode_shlibpath_var=no
8797 hardcode_direct_absolute=yes
8798 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8799 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8800 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8801 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8802 export_dynamic_flag_spec='${wl}-E'
8805 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8807 hardcode_libdir_flag_spec='-R$libdir'
8810 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8811 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8821 hardcode_libdir_flag_spec='-L$libdir'
8822 hardcode_minus_L=yes
8823 allow_undefined_flag=unsupported
8824 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'
8825 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8829 if test "$GCC" = yes; then
8830 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8831 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'
8833 allow_undefined_flag=' -expect_unresolved \*'
8834 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'
8836 archive_cmds_need_lc='no'
8837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838 hardcode_libdir_separator=:
8841 osf4* | osf5*) # as osf3* with the addition of -msym flag
8842 if test "$GCC" = yes; then
8843 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8844 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'
8845 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8847 allow_undefined_flag=' -expect_unresolved \*'
8848 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'
8849 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~
8850 $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'
8852 # Both c and cxx compiler support -rpath directly
8853 hardcode_libdir_flag_spec='-rpath $libdir'
8855 archive_cmds_need_lc='no'
8856 hardcode_libdir_separator=:
8860 no_undefined_flag=' -z defs'
8861 if test "$GCC" = yes; then
8863 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8865 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8867 case `$CC -V 2>&1` in
8870 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8871 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8872 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8876 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8877 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8878 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8882 hardcode_libdir_flag_spec='-R$libdir'
8883 hardcode_shlibpath_var=no
8885 solaris2.[0-5] | solaris2.[0-5].*) ;;
8887 # The compiler driver will combine and reorder linker options,
8888 # but understands `-z linker_flag'. GCC discards it without `$wl',
8889 # but is careful enough not to reorder.
8890 # Supported since Solaris 2.6 (maybe 2.5.1?)
8891 if test "$GCC" = yes; then
8892 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8894 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8898 link_all_deplibs=yes
8902 if test "x$host_vendor" = xsequent; then
8903 # Use $CC to link under sequent, because it throws in some extra .o
8904 # files that make .init and .fini sections work.
8905 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8907 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8909 hardcode_libdir_flag_spec='-L$libdir'
8911 hardcode_minus_L=yes
8912 hardcode_shlibpath_var=no
8916 case $host_vendor in
8918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8919 hardcode_direct=yes # is this really true???
8922 ## LD is ld it makes a PLAMLIB
8923 ## CC just makes a GrossModule.
8924 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8925 reload_cmds='$CC -r -o $output$reload_objs'
8929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8930 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8933 runpath_var='LD_RUN_PATH'
8934 hardcode_shlibpath_var=no
8938 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8939 hardcode_shlibpath_var=no
8940 export_dynamic_flag_spec='-Bexport'
8944 if test -d /usr/nec; then
8945 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8946 hardcode_shlibpath_var=no
8947 runpath_var=LD_RUN_PATH
8948 hardcode_runpath_var=yes
8953 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8954 no_undefined_flag='${wl}-z,text'
8955 archive_cmds_need_lc=no
8956 hardcode_shlibpath_var=no
8957 runpath_var='LD_RUN_PATH'
8959 if test "$GCC" = yes; then
8960 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8961 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8963 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8968 sysv5* | sco3.2v5* | sco5v6*)
8969 # Note: We can NOT use -z defs as we might desire, because we do not
8970 # link with -lc, and that would cause any symbols used from libc to
8971 # always be unresolved, which means just about no library would
8972 # ever link correctly. If we're not using GNU ld we use -z text
8973 # though, which does catch some bad symbols but isn't as heavy-handed
8975 no_undefined_flag='${wl}-z,text'
8976 allow_undefined_flag='${wl}-z,nodefs'
8977 archive_cmds_need_lc=no
8978 hardcode_shlibpath_var=no
8979 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8980 hardcode_libdir_separator=':'
8981 link_all_deplibs=yes
8982 export_dynamic_flag_spec='${wl}-Bexport'
8983 runpath_var='LD_RUN_PATH'
8985 if test "$GCC" = yes; then
8986 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8987 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8989 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8996 hardcode_libdir_flag_spec='-L$libdir'
8997 hardcode_shlibpath_var=no
9005 if test x$host_vendor = xsni; then
9007 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9008 export_dynamic_flag_spec='${wl}-Blargedynsym'
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9015 $as_echo "$ld_shlibs" >&6; }
9016 test "$ld_shlibs" = no && can_build_shared=no
9018 with_gnu_ld=$with_gnu_ld
9035 # Do we need to explicitly link libc?
9037 case "x$archive_cmds_need_lc" in
9039 # Assume -lc should be added
9040 archive_cmds_need_lc=yes
9042 if test "$enable_shared" = yes && test "$GCC" = yes; then
9043 case $archive_cmds in
9045 # FIXME: we may have to deal with multi-command sequences.
9048 # Test whether the compiler implicitly links with -lc since on some
9049 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9050 # to ld, don't add -lc before -lgcc.
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9052 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9057 (eval $ac_compile) 2>&5
9059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9060 test $ac_status = 0; } 2>conftest.err; then
9063 libobjs=conftest.$ac_objext
9065 wl=$lt_prog_compiler_wl
9066 pic_flag=$lt_prog_compiler_pic
9072 lt_save_allow_undefined_flag=$allow_undefined_flag
9073 allow_undefined_flag=
9074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9075 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9078 test $ac_status = 0; }
9080 archive_cmds_need_lc=no
9082 archive_cmds_need_lc=yes
9084 allow_undefined_flag=$lt_save_allow_undefined_flag
9086 cat conftest.err 1>&5
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9090 $as_echo "$archive_cmds_need_lc" >&6; }
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9254 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9256 if test "$GCC" = yes; then
9258 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9259 *) lt_awk_arg="/^libraries:/" ;;
9261 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9262 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9263 # if the path contains ";" then we assume it to be the separator
9264 # otherwise default to the standard path separator (i.e. ":") - it is
9265 # assumed that no part of a normal pathname contains ";" but that should
9266 # okay in the real world where ";" in dirpaths is itself problematic.
9267 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9269 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9271 # Ok, now we have the path, separated by spaces, we can step through it
9272 # and add multilib dir if necessary.
9273 lt_tmp_lt_search_path_spec=
9274 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9275 for lt_sys_path in $lt_search_path_spec; do
9276 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9277 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9279 test -d "$lt_sys_path" && \
9280 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9283 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9284 BEGIN {RS=" "; FS="/|\n";} {
9287 for (lt_i = NF; lt_i > 0; lt_i--) {
9288 if ($lt_i != "" && $lt_i != ".") {
9289 if ($lt_i == "..") {
9292 if (lt_count == 0) {
9293 lt_foo="/" $lt_i lt_foo;
9300 if (lt_foo != "") { lt_freq[lt_foo]++; }
9301 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9303 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9305 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9308 libname_spec='lib$name'
9316 shlibpath_overrides_runpath=unknown
9318 dynamic_linker="$host_os ld.so"
9319 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9320 need_lib_prefix=unknown
9321 hardcode_into_libs=no
9323 # when you set need_version to no, make sure it does not cause -set_version
9324 # flags to be left without arguments
9325 need_version=unknown
9330 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9331 shlibpath_var=LIBPATH
9333 # AIX 3 has no versioning support, so we append a major version to the name.
9334 soname_spec='${libname}${release}${shared_ext}$major'
9341 hardcode_into_libs=yes
9342 if test "$host_cpu" = ia64; then
9343 # AIX 5 supports IA64
9344 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9345 shlibpath_var=LD_LIBRARY_PATH
9347 # With GCC up to 2.95.x, collect2 would create an import file
9348 # for dependence libraries. The import file would start with
9349 # the line `#! .'. This would cause the generated library to
9350 # depend on `.', always an invalid library. This was fixed in
9351 # development snapshots of GCC prior to 3.0.
9353 aix4 | aix4.[01] | aix4.[01].*)
9354 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9356 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9363 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9364 # soname into executable. Probably we can add versioning support to
9365 # collect2, so additional links can be useful in future.
9366 if test "$aix_use_runtimelinking" = yes; then
9367 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9368 # instead of lib<name>.a to let people know that these are not
9369 # typical AIX shared libraries.
9370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9372 # We preserve .a as extension for shared libraries through AIX4.2
9373 # and later when we are not doing run time linking.
9374 library_names_spec='${libname}${release}.a $libname.a'
9375 soname_spec='${libname}${release}${shared_ext}$major'
9377 shlibpath_var=LIBPATH
9384 # Since July 2007 AmigaOS4 officially supports .so libraries.
9385 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9389 library_names_spec='$libname.ixlibrary $libname.a'
9390 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9391 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'
9397 library_names_spec='${libname}${shared_ext}'
9398 dynamic_linker="$host_os ld.so"
9399 shlibpath_var=LIBRARY_PATH
9405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9406 soname_spec='${libname}${release}${shared_ext}$major'
9407 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9408 shlibpath_var=LD_LIBRARY_PATH
9409 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9410 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9411 # the default ld.so.conf also contains /usr/contrib/lib and
9412 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9413 # libtool to hard-code these into programs
9416 cygwin* | mingw* | pw32* | cegcc*)
9417 version_type=windows
9422 case $GCC,$host_os in
9423 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9424 library_names_spec='$libname.dll.a'
9425 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9426 postinstall_cmds='base_file=`basename \${file}`~
9427 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9428 dldir=$destdir/`dirname \$dlpath`~
9429 test -d \$dldir || mkdir -p \$dldir~
9430 $install_prog $dir/$dlname \$dldir/$dlname~
9431 chmod a+x \$dldir/$dlname~
9432 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9433 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9435 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9436 dlpath=$dir/\$dldll~
9438 shlibpath_overrides_runpath=yes
9442 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9443 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9444 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9447 # MinGW DLLs use traditional 'lib' prefix
9448 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9449 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9450 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9451 # It is most probably a Windows format PATH printed by
9452 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9453 # path with ; separators, and with drive letters. We can handle the
9454 # drive letters (cygwin fileutils understands them), so leave them,
9455 # especially as we might pass files found there to a mingw objdump,
9456 # which wouldn't understand a cygwinified path. Ahh.
9457 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9459 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9463 # pw32 DLLs use 'pw' prefix rather than 'lib'
9464 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9470 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9473 dynamic_linker='Win32 ld.exe'
9474 # FIXME: first we should search . and the directory the executable is in
9478 darwin* | rhapsody*)
9479 dynamic_linker="$host_os dyld"
9483 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9484 soname_spec='${libname}${release}${major}$shared_ext'
9485 shlibpath_overrides_runpath=yes
9486 shlibpath_var=DYLD_LIBRARY_PATH
9487 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9489 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9490 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9498 soname_spec='${libname}${release}${shared_ext}$major'
9499 shlibpath_var=LD_LIBRARY_PATH
9506 freebsd* | dragonfly*)
9507 # DragonFly does not have aout. When/if they implement a new
9508 # versioning mechanism, adjust this.
9509 if test -x /usr/bin/objformat; then
9510 objformat=`/usr/bin/objformat`
9513 freebsd[123]*) objformat=aout ;;
9517 version_type=freebsd-$objformat
9518 case $version_type in
9520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9525 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9529 shlibpath_var=LD_LIBRARY_PATH
9532 shlibpath_overrides_runpath=yes
9534 freebsd3.[01]* | freebsdelf3.[01]*)
9535 shlibpath_overrides_runpath=yes
9536 hardcode_into_libs=yes
9538 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9539 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9540 shlibpath_overrides_runpath=no
9541 hardcode_into_libs=yes
9543 *) # from 4.6 on, and DragonFly
9544 shlibpath_overrides_runpath=yes
9545 hardcode_into_libs=yes
9554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9555 soname_spec='${libname}${release}${shared_ext}$major'
9556 shlibpath_var=LD_LIBRARY_PATH
9557 hardcode_into_libs=yes
9560 hpux9* | hpux10* | hpux11*)
9561 # Give a soname corresponding to the major version so that dld.sl refuses to
9562 # link against other versions.
9569 hardcode_into_libs=yes
9570 dynamic_linker="$host_os dld.so"
9571 shlibpath_var=LD_LIBRARY_PATH
9572 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9574 soname_spec='${libname}${release}${shared_ext}$major'
9575 if test "X$HPUX_IA64_MODE" = X32; then
9576 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9578 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9580 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9584 hardcode_into_libs=yes
9585 dynamic_linker="$host_os dld.sl"
9586 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9587 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9589 soname_spec='${libname}${release}${shared_ext}$major'
9590 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9591 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9595 dynamic_linker="$host_os dld.sl"
9596 shlibpath_var=SHLIB_PATH
9597 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9599 soname_spec='${libname}${release}${shared_ext}$major'
9602 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9603 postinstall_cmds='chmod 555 $lib'
9610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9611 soname_spec='${libname}${release}${shared_ext}$major'
9612 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9613 shlibpath_var=LD_LIBRARY_PATH
9614 shlibpath_overrides_runpath=no
9615 hardcode_into_libs=yes
9618 irix5* | irix6* | nonstopux*)
9620 nonstopux*) version_type=nonstopux ;;
9622 if test "$lt_cv_prog_gnu_ld" = yes; then
9630 soname_spec='${libname}${release}${shared_ext}$major'
9631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9633 irix5* | nonstopux*)
9637 case $LD in # libtool.m4 will add one of these switches to LD
9638 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9639 libsuff= shlibsuff= libmagic=32-bit;;
9640 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9641 libsuff=32 shlibsuff=N32 libmagic=N32;;
9642 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9643 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9644 *) libsuff= shlibsuff= libmagic=never-match;;
9648 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9649 shlibpath_overrides_runpath=no
9650 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9651 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9652 hardcode_into_libs=yes
9655 # No shared lib support for Linux oldld, aout, or coff.
9656 linux*oldld* | linux*aout* | linux*coff*)
9660 # This must be Linux ELF.
9661 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666 soname_spec='${libname}${release}${shared_ext}$major'
9667 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9668 shlibpath_var=LD_LIBRARY_PATH
9669 shlibpath_overrides_runpath=no
9670 # Some binutils ld are patched to set DT_RUNPATH
9671 save_LDFLAGS=$LDFLAGS
9673 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9674 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9686 if ac_fn_c_try_link "$LINENO"; then :
9687 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9688 shlibpath_overrides_runpath=yes
9691 rm -f core conftest.err conftest.$ac_objext \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LDFLAGS=$save_LDFLAGS
9696 # This implies no fast_install, which is unacceptable.
9697 # Some rework will be needed to allow for fast_install
9698 # before this can be enabled.
9699 hardcode_into_libs=yes
9701 # Append ld.so.conf contents to the search path
9702 if test -f /etc/ld.so.conf; then
9703 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' ' '`
9704 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9707 # We used to test for /lib/ld.so.1 and disable shared libraries on
9708 # powerpc, because MkLinux only supported shared libraries with the
9709 # GNU dynamic linker. Since this was broken with cross compilers,
9710 # most powerpc-linux boxes support dynamic linking these days and
9711 # people can always --disable-shared, the test was removed, and we
9712 # assume the GNU/Linux dynamic linker is in use.
9713 dynamic_linker='GNU/Linux ld.so'
9720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9721 soname_spec='${libname}${release}${shared_ext}$major'
9722 shlibpath_var=LD_LIBRARY_PATH
9723 shlibpath_overrides_runpath=no
9724 hardcode_into_libs=yes
9725 dynamic_linker='NetBSD ld.elf_so'
9732 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9734 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9735 dynamic_linker='NetBSD (a.out) ld.so'
9737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9738 soname_spec='${libname}${release}${shared_ext}$major'
9739 dynamic_linker='NetBSD ld.elf_so'
9741 shlibpath_var=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath=yes
9743 hardcode_into_libs=yes
9748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749 shlibpath_var=LD_LIBRARY_PATH
9750 shlibpath_overrides_runpath=yes
9757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9758 soname_spec='${libname}${release}${shared_ext}$major'
9759 shlibpath_var=LD_LIBRARY_PATH
9760 shlibpath_overrides_runpath=no
9761 hardcode_into_libs=yes
9762 dynamic_linker='ldqnx.so'
9767 sys_lib_dlsearch_path_spec="/usr/lib"
9769 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9771 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9772 *) need_version=no ;;
9774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9775 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9776 shlibpath_var=LD_LIBRARY_PATH
9777 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9779 openbsd2.[89] | openbsd2.[89].*)
9780 shlibpath_overrides_runpath=no
9783 shlibpath_overrides_runpath=yes
9787 shlibpath_overrides_runpath=yes
9792 libname_spec='$name'
9795 library_names_spec='$libname${shared_ext} $libname.a'
9796 dynamic_linker='OS/2 ld.exe'
9797 shlibpath_var=LIBPATH
9800 osf3* | osf4* | osf5*)
9804 soname_spec='${libname}${release}${shared_ext}$major'
9805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9806 shlibpath_var=LD_LIBRARY_PATH
9807 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9808 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820 soname_spec='${libname}${release}${shared_ext}$major'
9821 shlibpath_var=LD_LIBRARY_PATH
9822 shlibpath_overrides_runpath=yes
9823 hardcode_into_libs=yes
9824 # ldd complains unless libraries are executable
9825 postinstall_cmds='chmod +x $lib'
9830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9831 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9832 shlibpath_var=LD_LIBRARY_PATH
9833 shlibpath_overrides_runpath=yes
9834 if test "$with_gnu_ld" = yes; then
9842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9843 soname_spec='${libname}${release}${shared_ext}$major'
9844 shlibpath_var=LD_LIBRARY_PATH
9845 case $host_vendor in
9847 shlibpath_overrides_runpath=no
9849 runpath_var=LD_RUN_PATH
9857 shlibpath_overrides_runpath=no
9858 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9864 if test -d /usr/nec ;then
9866 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9867 soname_spec='$libname${shared_ext}.$major'
9868 shlibpath_var=LD_LIBRARY_PATH
9872 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9873 version_type=freebsd-elf
9876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9877 soname_spec='${libname}${release}${shared_ext}$major'
9878 shlibpath_var=LD_LIBRARY_PATH
9879 shlibpath_overrides_runpath=yes
9880 hardcode_into_libs=yes
9881 if test "$with_gnu_ld" = yes; then
9882 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9884 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9887 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9891 sys_lib_dlsearch_path_spec='/usr/lib'
9895 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900 shlibpath_var=LD_LIBRARY_PATH
9901 shlibpath_overrides_runpath=no
9902 hardcode_into_libs=yes
9907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9908 soname_spec='${libname}${release}${shared_ext}$major'
9909 shlibpath_var=LD_LIBRARY_PATH
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9917 $as_echo "$dynamic_linker" >&6; }
9918 test "$dynamic_linker" = no && can_build_shared=no
9920 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9921 if test "$GCC" = yes; then
9922 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9925 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9926 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9928 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9929 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10019 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10021 if test -n "$hardcode_libdir_flag_spec" ||
10022 test -n "$runpath_var" ||
10023 test "X$hardcode_automatic" = "Xyes" ; then
10025 # We can hardcode non-existent directories.
10026 if test "$hardcode_direct" != no &&
10027 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10028 # have to relink, otherwise we might link with an installed library
10029 # when we should be linking with a yet-to-be-installed one
10030 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10031 test "$hardcode_minus_L" != no; then
10032 # Linking always hardcodes the temporary library directory.
10033 hardcode_action=relink
10035 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10036 hardcode_action=immediate
10039 # We cannot hardcode anything, or else we can only hardcode existing
10041 hardcode_action=unsupported
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10044 $as_echo "$hardcode_action" >&6; }
10046 if test "$hardcode_action" = relink ||
10047 test "$inherit_rpath" = yes; then
10048 # Fast installation is not supported
10049 enable_fast_install=no
10050 elif test "$shlibpath_overrides_runpath" = yes ||
10051 test "$enable_shared" = no; then
10052 # Fast installation is not necessary
10053 enable_fast_install=needless
10061 if test "x$enable_dlopen" != xyes; then
10062 enable_dlopen=unknown
10063 enable_dlopen_self=unknown
10064 enable_dlopen_self_static=unknown
10071 lt_cv_dlopen="load_add_on"
10073 lt_cv_dlopen_self=yes
10076 mingw* | pw32* | cegcc*)
10077 lt_cv_dlopen="LoadLibrary"
10082 lt_cv_dlopen="dlopen"
10087 # if libdl is installed we need to link against it
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10089 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10090 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10091 $as_echo_n "(cached) " >&6
10093 ac_check_lib_save_LIBS=$LIBS
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10113 if ac_fn_c_try_link "$LINENO"; then :
10114 ac_cv_lib_dl_dlopen=yes
10116 ac_cv_lib_dl_dlopen=no
10118 rm -f core conftest.err conftest.$ac_objext \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_lib_save_LIBS
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10123 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10124 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10125 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10128 lt_cv_dlopen="dyld"
10130 lt_cv_dlopen_self=yes
10137 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10138 if test "x$ac_cv_func_shl_load" = x""yes; then :
10139 lt_cv_dlopen="shl_load"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10142 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10143 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10144 $as_echo_n "(cached) " >&6
10146 ac_check_lib_save_LIBS=$LIBS
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10161 return shl_load ();
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 ac_cv_lib_dld_shl_load=yes
10169 ac_cv_lib_dld_shl_load=no
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 LIBS=$ac_check_lib_save_LIBS
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10176 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10177 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10178 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10180 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10181 if test "x$ac_cv_func_dlopen" = x""yes; then :
10182 lt_cv_dlopen="dlopen"
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10185 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10186 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10187 $as_echo_n "(cached) " >&6
10189 ac_check_lib_save_LIBS=$LIBS
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 ac_cv_lib_dl_dlopen=yes
10212 ac_cv_lib_dl_dlopen=no
10214 rm -f core conftest.err conftest.$ac_objext \
10215 conftest$ac_exeext conftest.$ac_ext
10216 LIBS=$ac_check_lib_save_LIBS
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10219 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10220 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10221 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10224 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10225 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10226 $as_echo_n "(cached) " >&6
10228 ac_check_lib_save_LIBS=$LIBS
10229 LIBS="-lsvld $LIBS"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10233 /* Override any GCC internal prototype to avoid an error.
10234 Use char because int might match the return type of a GCC
10235 builtin and then its argument prototype would still apply. */
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 ac_cv_lib_svld_dlopen=yes
10251 ac_cv_lib_svld_dlopen=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 LIBS=$ac_check_lib_save_LIBS
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10258 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10259 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10260 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10263 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10264 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10265 $as_echo_n "(cached) " >&6
10267 ac_check_lib_save_LIBS=$LIBS
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10272 /* Override any GCC internal prototype to avoid an error.
10273 Use char because int might match the return type of a GCC
10274 builtin and then its argument prototype would still apply. */
10282 return dld_link ();
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_lib_dld_dld_link=yes
10290 ac_cv_lib_dld_dld_link=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10297 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10298 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10299 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10320 if test "x$lt_cv_dlopen" != xno; then
10326 case $lt_cv_dlopen in
10328 save_CPPFLAGS="$CPPFLAGS"
10329 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10331 save_LDFLAGS="$LDFLAGS"
10332 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10335 LIBS="$lt_cv_dlopen_libs $LIBS"
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10338 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10339 if test "${lt_cv_dlopen_self+set}" = set; then :
10340 $as_echo_n "(cached) " >&6
10342 if test "$cross_compiling" = yes; then :
10343 lt_cv_dlopen_self=cross
10345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10346 lt_status=$lt_dlunknown
10347 cat > conftest.$ac_ext <<_LT_EOF
10348 #line 10348 "configure"
10349 #include "confdefs.h"
10358 # define LT_DLGLOBAL RTLD_GLOBAL
10361 # define LT_DLGLOBAL DL_GLOBAL
10363 # define LT_DLGLOBAL 0
10367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10368 find out it does not work in some platform. */
10369 #ifndef LT_DLLAZY_OR_NOW
10371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10374 # define LT_DLLAZY_OR_NOW DL_LAZY
10377 # define LT_DLLAZY_OR_NOW RTLD_NOW
10380 # define LT_DLLAZY_OR_NOW DL_NOW
10382 # define LT_DLLAZY_OR_NOW 0
10389 void fnord() { int i=42;}
10392 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10393 int status = $lt_dlunknown;
10397 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10398 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10399 /* dlclose (self); */
10407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10408 (eval $ac_link) 2>&5
10410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10411 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10412 (./conftest; exit; ) >&5 2>/dev/null
10414 case x$lt_status in
10415 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10416 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10417 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10420 # compilation failed
10421 lt_cv_dlopen_self=no
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10429 $as_echo "$lt_cv_dlopen_self" >&6; }
10431 if test "x$lt_cv_dlopen_self" = xyes; then
10432 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10434 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10435 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10436 $as_echo_n "(cached) " >&6
10438 if test "$cross_compiling" = yes; then :
10439 lt_cv_dlopen_self_static=cross
10441 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10442 lt_status=$lt_dlunknown
10443 cat > conftest.$ac_ext <<_LT_EOF
10444 #line 10444 "configure"
10445 #include "confdefs.h"
10454 # define LT_DLGLOBAL RTLD_GLOBAL
10457 # define LT_DLGLOBAL DL_GLOBAL
10459 # define LT_DLGLOBAL 0
10463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10464 find out it does not work in some platform. */
10465 #ifndef LT_DLLAZY_OR_NOW
10467 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10470 # define LT_DLLAZY_OR_NOW DL_LAZY
10473 # define LT_DLLAZY_OR_NOW RTLD_NOW
10476 # define LT_DLLAZY_OR_NOW DL_NOW
10478 # define LT_DLLAZY_OR_NOW 0
10485 void fnord() { int i=42;}
10488 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10489 int status = $lt_dlunknown;
10493 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10494 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10495 /* dlclose (self); */
10503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10504 (eval $ac_link) 2>&5
10506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10507 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10508 (./conftest; exit; ) >&5 2>/dev/null
10510 case x$lt_status in
10511 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10512 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10513 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10516 # compilation failed
10517 lt_cv_dlopen_self_static=no
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10525 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10528 CPPFLAGS="$save_CPPFLAGS"
10529 LDFLAGS="$save_LDFLAGS"
10534 case $lt_cv_dlopen_self in
10535 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10536 *) enable_dlopen_self=unknown ;;
10539 case $lt_cv_dlopen_self_static in
10540 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10541 *) enable_dlopen_self_static=unknown ;;
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10564 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10565 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10566 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10567 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10569 $as_echo "yes" >&6; }
10571 # FIXME - insert some real tests, host_os isn't really good enough
10574 if test -n "$STRIP" ; then
10575 striplib="$STRIP -x"
10576 old_striplib="$STRIP -S"
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10578 $as_echo "yes" >&6; }
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10581 $as_echo "no" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586 $as_echo "no" >&6; }
10602 # Report which library types will actually be built
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10604 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10606 $as_echo "$can_build_shared" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10609 $as_echo_n "checking whether to build shared libraries... " >&6; }
10610 test "$can_build_shared" = "no" && enable_shared=no
10612 # On AIX, shared libraries and static libraries use the same namespace, and
10613 # are all built from PIC.
10616 test "$enable_shared" = yes && enable_static=no
10617 if test -n "$RANLIB"; then
10618 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10619 postinstall_cmds='$RANLIB $lib'
10624 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10625 test "$enable_shared" = yes && enable_static=no
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10630 $as_echo "$enable_shared" >&6; }
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10633 $as_echo_n "checking whether to build static libraries... " >&6; }
10634 # Make sure either enable_shared or enable_static is yes.
10635 test "$enable_shared" = yes || enable_static=yes
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10637 $as_echo "$enable_static" >&6; }
10644 ac_cpp='$CPP $CPPFLAGS'
10645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10663 ac_config_commands="$ac_config_commands libtool"
10668 # Only expand once:
10672 # Check whether --enable-debug was given.
10673 if test "${enable_debug+set}" = set; then :
10674 enableval=$enable_debug; enable_debug=$enableval
10680 if test "$enable_debug" = "yes" ; then
10681 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
10682 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
10684 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
10685 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
10688 ac_config_headers="$ac_config_headers config.h src/shibresolver/config_pub.h"
10690 ac_config_files="$ac_config_files resolver.spec Portfile"
10692 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
10696 ac_cpp='$CPP $CPPFLAGS'
10697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10700 if test -n "$ac_tool_prefix"; then
10701 for ac_prog in gcc gcc3 cc
10703 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10704 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10706 $as_echo_n "checking for $ac_word... " >&6; }
10707 if test "${ac_cv_prog_CC+set}" = set; then :
10708 $as_echo_n "(cached) " >&6
10710 if test -n "$CC"; then
10711 ac_cv_prog_CC="$CC" # Let the user override the test.
10713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10714 for as_dir in $PATH
10717 test -z "$as_dir" && as_dir=.
10718 for ac_exec_ext in '' $ac_executable_extensions; do
10719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10720 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10731 if test -n "$CC"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10733 $as_echo "$CC" >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10736 $as_echo "no" >&6; }
10740 test -n "$CC" && break
10743 if test -z "$CC"; then
10745 for ac_prog in gcc gcc3 cc
10747 # Extract the first word of "$ac_prog", so it can be a program name with args.
10748 set dummy $ac_prog; ac_word=$2
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10750 $as_echo_n "checking for $ac_word... " >&6; }
10751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10752 $as_echo_n "(cached) " >&6
10754 if test -n "$ac_ct_CC"; then
10755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10758 for as_dir in $PATH
10761 test -z "$as_dir" && as_dir=.
10762 for ac_exec_ext in '' $ac_executable_extensions; do
10763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10764 ac_cv_prog_ac_ct_CC="$ac_prog"
10765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10775 if test -n "$ac_ct_CC"; then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10777 $as_echo "$ac_ct_CC" >&6; }
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10780 $as_echo "no" >&6; }
10784 test -n "$ac_ct_CC" && break
10787 if test "x$ac_ct_CC" = x; then
10790 case $cross_compiling:$ac_tool_warned in
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10794 ac_tool_warned=yes ;;
10801 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10803 as_fn_error $? "no acceptable C compiler found in \$PATH
10804 See \`config.log' for more details" "$LINENO" 5 ; }
10806 # Provide some information about the compiler.
10807 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10810 for ac_option in --version -v -V -qversion; do
10811 { { ac_try="$ac_compiler $ac_option >&5"
10812 case "(($ac_try" in
10813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10817 $as_echo "$ac_try_echo"; } >&5
10818 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10820 if test -s conftest.err; then
10822 ... rest of stderr output deleted ...
10823 10q' conftest.err >conftest.er1
10824 cat conftest.er1 >&5
10826 rm -f conftest.er1 conftest.err
10827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10828 test $ac_status = 0; }
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10832 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10833 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10850 if ac_fn_c_try_compile "$LINENO"; then :
10851 ac_compiler_gnu=yes
10855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
10860 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
10861 if test $ac_compiler_gnu = yes; then
10866 ac_test_CFLAGS=${CFLAGS+set}
10867 ac_save_CFLAGS=$CFLAGS
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10869 $as_echo_n "checking whether $CC accepts -g... " >&6; }
10870 if test "${ac_cv_prog_cc_g+set}" = set; then :
10871 $as_echo_n "(cached) " >&6
10873 ac_save_c_werror_flag=$ac_c_werror_flag
10874 ac_c_werror_flag=yes
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10888 if ac_fn_c_try_compile "$LINENO"; then :
10889 ac_cv_prog_cc_g=yes
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10903 if ac_fn_c_try_compile "$LINENO"; then :
10906 ac_c_werror_flag=$ac_save_c_werror_flag
10908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10909 /* end confdefs.h. */
10919 if ac_fn_c_try_compile "$LINENO"; then :
10920 ac_cv_prog_cc_g=yes
10922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10927 ac_c_werror_flag=$ac_save_c_werror_flag
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
10930 $as_echo "$ac_cv_prog_cc_g" >&6; }
10931 if test "$ac_test_CFLAGS" = set; then
10932 CFLAGS=$ac_save_CFLAGS
10933 elif test $ac_cv_prog_cc_g = yes; then
10934 if test "$GCC" = yes; then
10940 if test "$GCC" = yes; then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
10947 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
10948 if test "${ac_cv_prog_cc_c89+set}" = set; then :
10949 $as_echo_n "(cached) " >&6
10951 ac_cv_prog_cc_c89=no
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10955 #include <stdarg.h>
10957 #include <sys/types.h>
10958 #include <sys/stat.h>
10959 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10960 struct buf { int x; };
10961 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10962 static char *e (p, i)
10968 static char *f (char * (*g) (char **, int), char **p, ...)
10973 s = g (p, va_arg (v,int));
10978 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10979 function prototypes and stuff, but not '\xHH' hex character constants.
10980 These don't provoke an error unfortunately, instead are silently treated
10981 as 'x'. The following induces an error, until -std is added to get
10982 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10983 array size at least. It's necessary to write '\x00'==0 to get something
10984 that's true only with -std. */
10985 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10987 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10988 inside strings and character constants. */
10990 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10992 int test (int i, double x);
10993 struct s1 {int (*f) (int a);};
10994 struct s2 {int (*f) (double a);};
10995 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11001 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11006 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11007 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11009 CC="$ac_save_CC $ac_arg"
11010 if ac_fn_c_try_compile "$LINENO"; then :
11011 ac_cv_prog_cc_c89=$ac_arg
11013 rm -f core conftest.err conftest.$ac_objext
11014 test "x$ac_cv_prog_cc_c89" != "xno" && break
11016 rm -f conftest.$ac_ext
11021 case "x$ac_cv_prog_cc_c89" in
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11024 $as_echo "none needed" >&6; } ;;
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11027 $as_echo "unsupported" >&6; } ;;
11029 CC="$CC $ac_cv_prog_cc_c89"
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11031 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11033 if test "x$ac_cv_prog_cc_c89" != xno; then :
11038 ac_cpp='$CPP $CPPFLAGS'
11039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11043 depcc="$CC" am_compiler_list=
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11046 $as_echo_n "checking dependency style of $depcc... " >&6; }
11047 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11048 $as_echo_n "(cached) " >&6
11050 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11051 # We make a subdir and do the tests there. Otherwise we can end up
11052 # making bogus files that we don't know about and never remove. For
11053 # instance it was reported that on HP-UX the gcc test will end up
11054 # making a dummy file named `D' -- because `-MD' means `put the output
11057 # Copy depcomp to subdir because otherwise we won't find it if we're
11058 # using a relative directory.
11059 cp "$am_depcomp" conftest.dir
11061 # We will build objects and dependencies in a subdirectory because
11062 # it helps to detect inapplicable dependency modes. For instance
11063 # both Tru64's cc and ICC support -MD to output dependencies as a
11064 # side effect of compilation, but ICC will put the dependencies in
11065 # the current directory while Tru64 will put them in the object
11069 am_cv_CC_dependencies_compiler_type=none
11070 if test "$am_compiler_list" = ""; then
11071 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11073 am__universal=false
11074 case " $depcc " in #(
11075 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11078 for depmode in $am_compiler_list; do
11079 # Setup a source with many dependencies, because some compilers
11080 # like to wrap large dependency lists on column 80 (with \), and
11081 # we should not choose a depcomp mode which is confused by this.
11083 # We need to recreate these files for each test, as the compiler may
11084 # overwrite some of them when testing with obscure command lines.
11085 # This happens at least with the AIX C compiler.
11087 for i in 1 2 3 4 5 6; do
11088 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11089 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11090 # Solaris 8's {/usr,}/bin/sh.
11091 touch sub/conftst$i.h
11093 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11095 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11096 # mode. It turns out that the SunPro C++ compiler does not properly
11097 # handle `-M -o', and we need to detect this. Also, some Intel
11098 # versions had trouble with output in subdirs
11099 am__obj=sub/conftest.${OBJEXT-o}
11100 am__minus_obj="-o $am__obj"
11103 # This depmode causes a compiler race in universal mode.
11104 test "$am__universal" = false || continue
11107 # after this tag, mechanisms are not by side-effect, so they'll
11108 # only be used when explicitly requested
11109 if test "x$enable_dependency_tracking" = xyes; then
11115 msvisualcpp | msvcmsys)
11116 # This compiler won't grok `-c -o', but also, the minuso test has
11117 # not run yet. These depmodes are late enough in the game, and
11118 # so weak that their functioning should not be impacted.
11119 am__obj=conftest.${OBJEXT-o}
11124 if depmode=$depmode \
11125 source=sub/conftest.c object=$am__obj \
11126 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11127 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11128 >/dev/null 2>conftest.err &&
11129 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11130 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11131 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11132 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11133 # icc doesn't choke on unknown options, it will just issue warnings
11134 # or remarks (even with -Werror). So we grep stderr for any message
11135 # that says an option was ignored or not supported.
11136 # When given -MP, icc 7.0 and 7.1 complain thusly:
11137 # icc: Command line warning: ignoring option '-M'; no argument required
11138 # The diagnosis changed in icc 8.0:
11139 # icc: Command line remark: option '-MP' not supported
11140 if (grep 'ignoring option' conftest.err ||
11141 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11142 am_cv_CC_dependencies_compiler_type=$depmode
11149 rm -rf conftest.dir
11151 am_cv_CC_dependencies_compiler_type=none
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11156 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11157 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11160 test "x$enable_dependency_tracking" != xno \
11161 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11162 am__fastdepCC_TRUE=
11163 am__fastdepCC_FALSE='#'
11165 am__fastdepCC_TRUE='#'
11166 am__fastdepCC_FALSE=
11171 ac_cpp='$CXXCPP $CPPFLAGS'
11172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11175 if test -z "$CXX"; then
11176 if test -n "$CCC"; then
11179 if test -n "$ac_tool_prefix"; then
11180 for ac_prog in g++ g++3 c++ CC
11182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11185 $as_echo_n "checking for $ac_word... " >&6; }
11186 if test "${ac_cv_prog_CXX+set}" = set; then :
11187 $as_echo_n "(cached) " >&6
11189 if test -n "$CXX"; then
11190 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11193 for as_dir in $PATH
11196 test -z "$as_dir" && as_dir=.
11197 for ac_exec_ext in '' $ac_executable_extensions; do
11198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11199 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11209 CXX=$ac_cv_prog_CXX
11210 if test -n "$CXX"; then
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11212 $as_echo "$CXX" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11215 $as_echo "no" >&6; }
11219 test -n "$CXX" && break
11222 if test -z "$CXX"; then
11224 for ac_prog in g++ g++3 c++ CC
11226 # Extract the first word of "$ac_prog", so it can be a program name with args.
11227 set dummy $ac_prog; ac_word=$2
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11229 $as_echo_n "checking for $ac_word... " >&6; }
11230 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11231 $as_echo_n "(cached) " >&6
11233 if test -n "$ac_ct_CXX"; then
11234 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11237 for as_dir in $PATH
11240 test -z "$as_dir" && as_dir=.
11241 for ac_exec_ext in '' $ac_executable_extensions; do
11242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11243 ac_cv_prog_ac_ct_CXX="$ac_prog"
11244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11253 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11254 if test -n "$ac_ct_CXX"; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11256 $as_echo "$ac_ct_CXX" >&6; }
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11259 $as_echo "no" >&6; }
11263 test -n "$ac_ct_CXX" && break
11266 if test "x$ac_ct_CXX" = x; then
11269 case $cross_compiling:$ac_tool_warned in
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11273 ac_tool_warned=yes ;;
11281 # Provide some information about the compiler.
11282 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11285 for ac_option in --version -v -V -qversion; do
11286 { { ac_try="$ac_compiler $ac_option >&5"
11287 case "(($ac_try" in
11288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11292 $as_echo "$ac_try_echo"; } >&5
11293 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11295 if test -s conftest.err; then
11297 ... rest of stderr output deleted ...
11298 10q' conftest.err >conftest.er1
11299 cat conftest.er1 >&5
11301 rm -f conftest.er1 conftest.err
11302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11303 test $ac_status = 0; }
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11307 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11308 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11309 $as_echo_n "(cached) " >&6
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11325 if ac_fn_cxx_try_compile "$LINENO"; then :
11326 ac_compiler_gnu=yes
11330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11331 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11335 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11336 if test $ac_compiler_gnu = yes; then
11341 ac_test_CXXFLAGS=${CXXFLAGS+set}
11342 ac_save_CXXFLAGS=$CXXFLAGS
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11344 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11345 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11348 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11349 ac_cxx_werror_flag=yes
11350 ac_cv_prog_cxx_g=no
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11363 if ac_fn_cxx_try_compile "$LINENO"; then :
11364 ac_cv_prog_cxx_g=yes
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11378 if ac_fn_cxx_try_compile "$LINENO"; then :
11381 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11394 if ac_fn_cxx_try_compile "$LINENO"; then :
11395 ac_cv_prog_cxx_g=yes
11397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11402 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11405 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11406 if test "$ac_test_CXXFLAGS" = set; then
11407 CXXFLAGS=$ac_save_CXXFLAGS
11408 elif test $ac_cv_prog_cxx_g = yes; then
11409 if test "$GXX" = yes; then
11415 if test "$GXX" = yes; then
11422 ac_cpp='$CPP $CPPFLAGS'
11423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11427 depcc="$CXX" am_compiler_list=
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11430 $as_echo_n "checking dependency style of $depcc... " >&6; }
11431 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11432 $as_echo_n "(cached) " >&6
11434 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11435 # We make a subdir and do the tests there. Otherwise we can end up
11436 # making bogus files that we don't know about and never remove. For
11437 # instance it was reported that on HP-UX the gcc test will end up
11438 # making a dummy file named `D' -- because `-MD' means `put the output
11441 # Copy depcomp to subdir because otherwise we won't find it if we're
11442 # using a relative directory.
11443 cp "$am_depcomp" conftest.dir
11445 # We will build objects and dependencies in a subdirectory because
11446 # it helps to detect inapplicable dependency modes. For instance
11447 # both Tru64's cc and ICC support -MD to output dependencies as a
11448 # side effect of compilation, but ICC will put the dependencies in
11449 # the current directory while Tru64 will put them in the object
11453 am_cv_CXX_dependencies_compiler_type=none
11454 if test "$am_compiler_list" = ""; then
11455 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11457 am__universal=false
11458 case " $depcc " in #(
11459 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11462 for depmode in $am_compiler_list; do
11463 # Setup a source with many dependencies, because some compilers
11464 # like to wrap large dependency lists on column 80 (with \), and
11465 # we should not choose a depcomp mode which is confused by this.
11467 # We need to recreate these files for each test, as the compiler may
11468 # overwrite some of them when testing with obscure command lines.
11469 # This happens at least with the AIX C compiler.
11471 for i in 1 2 3 4 5 6; do
11472 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11473 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11474 # Solaris 8's {/usr,}/bin/sh.
11475 touch sub/conftst$i.h
11477 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11479 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11480 # mode. It turns out that the SunPro C++ compiler does not properly
11481 # handle `-M -o', and we need to detect this. Also, some Intel
11482 # versions had trouble with output in subdirs
11483 am__obj=sub/conftest.${OBJEXT-o}
11484 am__minus_obj="-o $am__obj"
11487 # This depmode causes a compiler race in universal mode.
11488 test "$am__universal" = false || continue
11491 # after this tag, mechanisms are not by side-effect, so they'll
11492 # only be used when explicitly requested
11493 if test "x$enable_dependency_tracking" = xyes; then
11499 msvisualcpp | msvcmsys)
11500 # This compiler won't grok `-c -o', but also, the minuso test has
11501 # not run yet. These depmodes are late enough in the game, and
11502 # so weak that their functioning should not be impacted.
11503 am__obj=conftest.${OBJEXT-o}
11508 if depmode=$depmode \
11509 source=sub/conftest.c object=$am__obj \
11510 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11511 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11512 >/dev/null 2>conftest.err &&
11513 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11514 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11515 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11516 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11517 # icc doesn't choke on unknown options, it will just issue warnings
11518 # or remarks (even with -Werror). So we grep stderr for any message
11519 # that says an option was ignored or not supported.
11520 # When given -MP, icc 7.0 and 7.1 complain thusly:
11521 # icc: Command line warning: ignoring option '-M'; no argument required
11522 # The diagnosis changed in icc 8.0:
11523 # icc: Command line remark: option '-MP' not supported
11524 if (grep 'ignoring option' conftest.err ||
11525 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11526 am_cv_CXX_dependencies_compiler_type=$depmode
11533 rm -rf conftest.dir
11535 am_cv_CXX_dependencies_compiler_type=none
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11540 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11541 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11544 test "x$enable_dependency_tracking" != xno \
11545 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11546 am__fastdepCXX_TRUE=
11547 am__fastdepCXX_FALSE='#'
11549 am__fastdepCXX_TRUE='#'
11550 am__fastdepCXX_FALSE=
11556 ac_cpp='$CXXCPP $CPPFLAGS'
11557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11560 if test -z "$CXX"; then
11561 if test -n "$CCC"; then
11564 if test -n "$ac_tool_prefix"; then
11565 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11568 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11570 $as_echo_n "checking for $ac_word... " >&6; }
11571 if test "${ac_cv_prog_CXX+set}" = set; then :
11572 $as_echo_n "(cached) " >&6
11574 if test -n "$CXX"; then
11575 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11578 for as_dir in $PATH
11581 test -z "$as_dir" && as_dir=.
11582 for ac_exec_ext in '' $ac_executable_extensions; do
11583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11584 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11594 CXX=$ac_cv_prog_CXX
11595 if test -n "$CXX"; then
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11597 $as_echo "$CXX" >&6; }
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11600 $as_echo "no" >&6; }
11604 test -n "$CXX" && break
11607 if test -z "$CXX"; then
11609 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11611 # Extract the first word of "$ac_prog", so it can be a program name with args.
11612 set dummy $ac_prog; ac_word=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11614 $as_echo_n "checking for $ac_word... " >&6; }
11615 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11616 $as_echo_n "(cached) " >&6
11618 if test -n "$ac_ct_CXX"; then
11619 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11622 for as_dir in $PATH
11625 test -z "$as_dir" && as_dir=.
11626 for ac_exec_ext in '' $ac_executable_extensions; do
11627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11628 ac_cv_prog_ac_ct_CXX="$ac_prog"
11629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11638 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11639 if test -n "$ac_ct_CXX"; then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11641 $as_echo "$ac_ct_CXX" >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11644 $as_echo "no" >&6; }
11648 test -n "$ac_ct_CXX" && break
11651 if test "x$ac_ct_CXX" = x; then
11654 case $cross_compiling:$ac_tool_warned in
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11658 ac_tool_warned=yes ;;
11666 # Provide some information about the compiler.
11667 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11670 for ac_option in --version -v -V -qversion; do
11671 { { ac_try="$ac_compiler $ac_option >&5"
11672 case "(($ac_try" in
11673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11674 *) ac_try_echo=$ac_try;;
11676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11677 $as_echo "$ac_try_echo"; } >&5
11678 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11680 if test -s conftest.err; then
11682 ... rest of stderr output deleted ...
11683 10q' conftest.err >conftest.er1
11684 cat conftest.er1 >&5
11686 rm -f conftest.er1 conftest.err
11687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11688 test $ac_status = 0; }
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11692 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11693 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11694 $as_echo_n "(cached) " >&6
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11710 if ac_fn_cxx_try_compile "$LINENO"; then :
11711 ac_compiler_gnu=yes
11715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11716 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11720 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11721 if test $ac_compiler_gnu = yes; then
11726 ac_test_CXXFLAGS=${CXXFLAGS+set}
11727 ac_save_CXXFLAGS=$CXXFLAGS
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11729 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11730 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11731 $as_echo_n "(cached) " >&6
11733 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11734 ac_cxx_werror_flag=yes
11735 ac_cv_prog_cxx_g=no
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11748 if ac_fn_cxx_try_compile "$LINENO"; then :
11749 ac_cv_prog_cxx_g=yes
11752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11753 /* end confdefs.h. */
11763 if ac_fn_cxx_try_compile "$LINENO"; then :
11766 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11779 if ac_fn_cxx_try_compile "$LINENO"; then :
11780 ac_cv_prog_cxx_g=yes
11782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11787 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11790 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11791 if test "$ac_test_CXXFLAGS" = set; then
11792 CXXFLAGS=$ac_save_CXXFLAGS
11793 elif test $ac_cv_prog_cxx_g = yes; then
11794 if test "$GXX" = yes; then
11800 if test "$GXX" = yes; then
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812 depcc="$CXX" am_compiler_list=
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11815 $as_echo_n "checking dependency style of $depcc... " >&6; }
11816 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11817 $as_echo_n "(cached) " >&6
11819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11820 # We make a subdir and do the tests there. Otherwise we can end up
11821 # making bogus files that we don't know about and never remove. For
11822 # instance it was reported that on HP-UX the gcc test will end up
11823 # making a dummy file named `D' -- because `-MD' means `put the output
11826 # Copy depcomp to subdir because otherwise we won't find it if we're
11827 # using a relative directory.
11828 cp "$am_depcomp" conftest.dir
11830 # We will build objects and dependencies in a subdirectory because
11831 # it helps to detect inapplicable dependency modes. For instance
11832 # both Tru64's cc and ICC support -MD to output dependencies as a
11833 # side effect of compilation, but ICC will put the dependencies in
11834 # the current directory while Tru64 will put them in the object
11838 am_cv_CXX_dependencies_compiler_type=none
11839 if test "$am_compiler_list" = ""; then
11840 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11842 am__universal=false
11843 case " $depcc " in #(
11844 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11847 for depmode in $am_compiler_list; do
11848 # Setup a source with many dependencies, because some compilers
11849 # like to wrap large dependency lists on column 80 (with \), and
11850 # we should not choose a depcomp mode which is confused by this.
11852 # We need to recreate these files for each test, as the compiler may
11853 # overwrite some of them when testing with obscure command lines.
11854 # This happens at least with the AIX C compiler.
11856 for i in 1 2 3 4 5 6; do
11857 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11858 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11859 # Solaris 8's {/usr,}/bin/sh.
11860 touch sub/conftst$i.h
11862 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11864 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11865 # mode. It turns out that the SunPro C++ compiler does not properly
11866 # handle `-M -o', and we need to detect this. Also, some Intel
11867 # versions had trouble with output in subdirs
11868 am__obj=sub/conftest.${OBJEXT-o}
11869 am__minus_obj="-o $am__obj"
11872 # This depmode causes a compiler race in universal mode.
11873 test "$am__universal" = false || continue
11876 # after this tag, mechanisms are not by side-effect, so they'll
11877 # only be used when explicitly requested
11878 if test "x$enable_dependency_tracking" = xyes; then
11884 msvisualcpp | msvcmsys)
11885 # This compiler won't grok `-c -o', but also, the minuso test has
11886 # not run yet. These depmodes are late enough in the game, and
11887 # so weak that their functioning should not be impacted.
11888 am__obj=conftest.${OBJEXT-o}
11893 if depmode=$depmode \
11894 source=sub/conftest.c object=$am__obj \
11895 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11896 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11897 >/dev/null 2>conftest.err &&
11898 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11899 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11900 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11901 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11902 # icc doesn't choke on unknown options, it will just issue warnings
11903 # or remarks (even with -Werror). So we grep stderr for any message
11904 # that says an option was ignored or not supported.
11905 # When given -MP, icc 7.0 and 7.1 complain thusly:
11906 # icc: Command line warning: ignoring option '-M'; no argument required
11907 # The diagnosis changed in icc 8.0:
11908 # icc: Command line remark: option '-MP' not supported
11909 if (grep 'ignoring option' conftest.err ||
11910 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11911 am_cv_CXX_dependencies_compiler_type=$depmode
11918 rm -rf conftest.dir
11920 am_cv_CXX_dependencies_compiler_type=none
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11925 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11926 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11929 test "x$enable_dependency_tracking" != xno \
11930 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11931 am__fastdepCXX_TRUE=
11932 am__fastdepCXX_FALSE='#'
11934 am__fastdepCXX_TRUE='#'
11935 am__fastdepCXX_FALSE=
11939 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11940 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11941 (test "X$CXX" != "Xg++"))) ; then
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11948 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11949 if test -z "$CXXCPP"; then
11950 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11951 $as_echo_n "(cached) " >&6
11953 # Double quotes because CXXCPP needs to be expanded
11954 for CXXCPP in "$CXX -E" "/lib/cpp"
11956 ac_preproc_ok=false
11957 for ac_cxx_preproc_warn_flag in '' yes
11959 # Use a header file that comes with gcc, so configuring glibc
11960 # with a fresh cross-compiler works.
11961 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11962 # <limits.h> exists even on freestanding compilers.
11963 # On the NeXT, cc -E runs the code through the compiler's parser,
11964 # not just through cpp. "Syntax error" is here to catch this case.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 # include <limits.h>
11970 # include <assert.h>
11974 if ac_fn_cxx_try_cpp "$LINENO"; then :
11977 # Broken: fails on valid input.
11980 rm -f conftest.err conftest.i conftest.$ac_ext
11982 # OK, works on sane cases. Now check whether nonexistent headers
11983 # can be detected and how.
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 #include <ac_nonexistent.h>
11988 if ac_fn_cxx_try_cpp "$LINENO"; then :
11989 # Broken: success on invalid input.
11992 # Passes both tests.
11996 rm -f conftest.err conftest.i conftest.$ac_ext
11999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12000 rm -f conftest.i conftest.err conftest.$ac_ext
12001 if $ac_preproc_ok; then :
12006 ac_cv_prog_CXXCPP=$CXXCPP
12009 CXXCPP=$ac_cv_prog_CXXCPP
12011 ac_cv_prog_CXXCPP=$CXXCPP
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12014 $as_echo "$CXXCPP" >&6; }
12015 ac_preproc_ok=false
12016 for ac_cxx_preproc_warn_flag in '' yes
12018 # Use a header file that comes with gcc, so configuring glibc
12019 # with a fresh cross-compiler works.
12020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12021 # <limits.h> exists even on freestanding compilers.
12022 # On the NeXT, cc -E runs the code through the compiler's parser,
12023 # not just through cpp. "Syntax error" is here to catch this case.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 # include <limits.h>
12029 # include <assert.h>
12033 if ac_fn_cxx_try_cpp "$LINENO"; then :
12036 # Broken: fails on valid input.
12039 rm -f conftest.err conftest.i conftest.$ac_ext
12041 # OK, works on sane cases. Now check whether nonexistent headers
12042 # can be detected and how.
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12045 #include <ac_nonexistent.h>
12047 if ac_fn_cxx_try_cpp "$LINENO"; then :
12048 # Broken: success on invalid input.
12051 # Passes both tests.
12055 rm -f conftest.err conftest.i conftest.$ac_ext
12058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12059 rm -f conftest.i conftest.err conftest.$ac_ext
12060 if $ac_preproc_ok; then :
12063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12065 _lt_caught_CXX_error=yes; }
12069 ac_cpp='$CPP $CPPFLAGS'
12070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075 _lt_caught_CXX_error=yes
12082 ac_cpp='$CXXCPP $CPPFLAGS'
12083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12087 archive_cmds_need_lc_CXX=no
12088 allow_undefined_flag_CXX=
12089 always_export_symbols_CXX=no
12090 archive_expsym_cmds_CXX=
12091 compiler_needs_object_CXX=no
12092 export_dynamic_flag_spec_CXX=
12093 hardcode_direct_CXX=no
12094 hardcode_direct_absolute_CXX=no
12095 hardcode_libdir_flag_spec_CXX=
12096 hardcode_libdir_flag_spec_ld_CXX=
12097 hardcode_libdir_separator_CXX=
12098 hardcode_minus_L_CXX=no
12099 hardcode_shlibpath_var_CXX=unsupported
12100 hardcode_automatic_CXX=no
12101 inherit_rpath_CXX=no
12103 module_expsym_cmds_CXX=
12104 link_all_deplibs_CXX=unknown
12105 old_archive_cmds_CXX=$old_archive_cmds
12106 no_undefined_flag_CXX=
12107 whole_archive_flag_spec_CXX=
12108 enable_shared_with_static_runtimes_CXX=no
12110 # Source file extension for C++ test sources.
12113 # Object file extension for compiled C++ test sources.
12117 # No sense in running all these tests if we already determined that
12118 # the CXX compiler isn't working. Some variables (like enable_shared)
12119 # are currently assumed to apply to all compilers on this platform,
12120 # and will be corrupted by setting them based on a non-working compiler.
12121 if test "$_lt_caught_CXX_error" != yes; then
12122 # Code to be used in simple compile tests
12123 lt_simple_compile_test_code="int some_variable = 0;"
12125 # Code to be used in simple link tests
12126 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12128 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12135 # If no C compiler was specified, use CC.
12138 # If no C compiler flags were specified, use CFLAGS.
12139 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12141 # Allow CC to be a program name with arguments.
12145 # save warnings/boilerplate of simple test code
12146 ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12148 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_compiler_boilerplate=`cat conftest.err`
12152 ac_outfile=conftest.$ac_objext
12153 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12154 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12155 _lt_linker_boilerplate=`cat conftest.err`
12159 # Allow CC to be a program name with arguments.
12164 lt_save_with_gnu_ld=$with_gnu_ld
12165 lt_save_path_LD=$lt_cv_path_LD
12166 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12167 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12169 $as_unset lt_cv_prog_gnu_ld
12171 if test -n "${lt_cv_path_LDCXX+set}"; then
12172 lt_cv_path_LD=$lt_cv_path_LDCXX
12174 $as_unset lt_cv_path_LD
12176 test -z "${LDCXX+set}" || LD=$LDCXX
12180 for cc_temp in $compiler""; do
12182 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12183 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12188 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12191 if test -n "$compiler"; then
12192 # We don't want -fno-exception when compiling C++ code, so set the
12193 # no_builtin_flag separately
12194 if test "$GXX" = yes; then
12195 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12197 lt_prog_compiler_no_builtin_flag_CXX=
12200 if test "$GXX" = yes; then
12201 # Set up default GNU C++ configuration
12205 # Check whether --with-gnu-ld was given.
12206 if test "${with_gnu_ld+set}" = set; then :
12207 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12213 if test "$GCC" = yes; then
12214 # Check if gcc -print-prog-name=ld gives a path.
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12216 $as_echo_n "checking for ld used by $CC... " >&6; }
12219 # gcc leaves a trailing carriage return which upsets mingw
12220 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12222 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12225 # Accept absolute paths.
12227 re_direlt='/[^/][^/]*/\.\./'
12228 # Canonicalize the pathname of ld
12229 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12230 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12231 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12233 test -z "$LD" && LD="$ac_prog"
12236 # If it fails, then pretend we aren't using GCC.
12240 # If it is relative, then search for the first ld in PATH.
12241 with_gnu_ld=unknown
12244 elif test "$with_gnu_ld" = yes; then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12246 $as_echo_n "checking for GNU ld... " >&6; }
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12249 $as_echo_n "checking for non-GNU ld... " >&6; }
12251 if test "${lt_cv_path_LD+set}" = set; then :
12252 $as_echo_n "(cached) " >&6
12254 if test -z "$LD"; then
12255 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12256 for ac_dir in $PATH; do
12258 test -z "$ac_dir" && ac_dir=.
12259 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12260 lt_cv_path_LD="$ac_dir/$ac_prog"
12261 # Check to see if the program is GNU ld. I'd rather use --version,
12262 # but apparently some variants of GNU ld only accept -v.
12263 # Break only if it was the GNU/non-GNU ld that we prefer.
12264 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12265 *GNU* | *'with BFD'*)
12266 test "$with_gnu_ld" != no && break
12269 test "$with_gnu_ld" != yes && break
12276 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12280 LD="$lt_cv_path_LD"
12281 if test -n "$LD"; then
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12283 $as_echo "$LD" >&6; }
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286 $as_echo "no" >&6; }
12288 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12290 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12291 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12292 $as_echo_n "(cached) " >&6
12294 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12295 case `$LD -v 2>&1 </dev/null` in
12296 *GNU* | *'with BFD'*)
12297 lt_cv_prog_gnu_ld=yes
12300 lt_cv_prog_gnu_ld=no
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12305 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12306 with_gnu_ld=$lt_cv_prog_gnu_ld
12314 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12315 # archiving commands below assume that GNU ld is being used.
12316 if test "$with_gnu_ld" = yes; then
12317 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12318 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12320 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12321 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12323 # If archive_cmds runs LD, not CC, wlarc should be empty
12324 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12325 # investigate it a little bit more. (MM)
12328 # ancient GNU ld didn't support --whole-archive et. al.
12329 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12330 $GREP 'no-whole-archive' > /dev/null; then
12331 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12333 whole_archive_flag_spec_CXX=
12339 # A generic and very simple default shared library creation
12340 # command for GNU C++ for the case where it uses the native
12341 # linker, instead of GNU ld. If possible, this setting should
12342 # overridden to take advantage of the native linker features on
12343 # the platform it is being used on.
12344 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12347 # Commands to make compiler produce verbose output that lists
12348 # what "hidden" libraries, object files and flags are used when
12349 # linking a shared library.
12350 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12358 # PORTME: fill in a description of your system's C++ link characteristics
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12360 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12364 # FIXME: insert proper C++ library support
12368 if test "$host_cpu" = ia64; then
12369 # On IA64, the linker does run time linking by default, so we don't
12370 # have to do anything special.
12371 aix_use_runtimelinking=no
12372 exp_sym_flag='-Bexport'
12375 aix_use_runtimelinking=no
12377 # Test if we are trying to use run time linking or normal
12378 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12379 # need to do runtime linking.
12380 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12381 for ld_flag in $LDFLAGS; do
12384 aix_use_runtimelinking=yes
12392 exp_sym_flag='-bexport'
12393 no_entry_flag='-bnoentry'
12396 # When large executables or shared objects are built, AIX ld can
12397 # have problems creating the table of contents. If linking a library
12398 # or program results in "error TOC overflow" add -mminimal-toc to
12399 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12400 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12402 archive_cmds_CXX=''
12403 hardcode_direct_CXX=yes
12404 hardcode_direct_absolute_CXX=yes
12405 hardcode_libdir_separator_CXX=':'
12406 link_all_deplibs_CXX=yes
12407 file_list_spec_CXX='${wl}-f,'
12409 if test "$GXX" = yes; then
12410 case $host_os in aix4.[012]|aix4.[012].*)
12411 # We only want to do this on AIX 4.2 and lower, the check
12412 # below for broken collect2 doesn't work under 4.3+
12413 collect2name=`${CC} -print-prog-name=collect2`
12414 if test -f "$collect2name" &&
12415 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12417 # We have reworked collect2
12420 # We have old collect2
12421 hardcode_direct_CXX=unsupported
12422 # It fails to find uninstalled libraries when the uninstalled
12423 # path is not listed in the libpath. Setting hardcode_minus_L
12424 # to unsupported forces relinking
12425 hardcode_minus_L_CXX=yes
12426 hardcode_libdir_flag_spec_CXX='-L$libdir'
12427 hardcode_libdir_separator_CXX=
12430 shared_flag='-shared'
12431 if test "$aix_use_runtimelinking" = yes; then
12432 shared_flag="$shared_flag "'${wl}-G'
12436 if test "$host_cpu" = ia64; then
12437 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12438 # chokes on -Wl,-G. The following line is correct:
12441 if test "$aix_use_runtimelinking" = yes; then
12442 shared_flag='${wl}-G'
12444 shared_flag='${wl}-bM:SRE'
12449 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12450 # It seems that -bexpall does not export symbols beginning with
12451 # underscore (_), so it is better to generate a list of symbols to
12453 always_export_symbols_CXX=yes
12454 if test "$aix_use_runtimelinking" = yes; then
12455 # Warning - without using the other runtime loading flags (-brtl),
12456 # -berok will link without error, but may produce a broken library.
12457 allow_undefined_flag_CXX='-berok'
12458 # Determine the default libpath from the value encoded in an empty
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12471 if ac_fn_cxx_try_link "$LINENO"; then :
12473 lt_aix_libpath_sed='
12474 /Import File Strings/,/^$/ {
12480 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12481 # Check for a 64-bit object if we didn't find anything.
12482 if test -z "$aix_libpath"; then
12483 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12490 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12492 archive_expsym_cmds_CXX='$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"
12494 if test "$host_cpu" = ia64; then
12495 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12496 allow_undefined_flag_CXX="-z nodefs"
12497 archive_expsym_cmds_CXX="\$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"
12499 # Determine the default libpath from the value encoded in an
12500 # empty executable.
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12512 if ac_fn_cxx_try_link "$LINENO"; then :
12514 lt_aix_libpath_sed='
12515 /Import File Strings/,/^$/ {
12521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 # Check for a 64-bit object if we didn't find anything.
12523 if test -z "$aix_libpath"; then
12524 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12532 # Warning - without using the other run time loading flags,
12533 # -berok will link without error, but may produce a broken library.
12534 no_undefined_flag_CXX=' ${wl}-bernotok'
12535 allow_undefined_flag_CXX=' ${wl}-berok'
12536 # Exported symbols can be pulled into shared objects from archives
12537 whole_archive_flag_spec_CXX='$convenience'
12538 archive_cmds_need_lc_CXX=yes
12539 # This is similar to how AIX traditionally builds its shared
12541 archive_expsym_cmds_CXX="\$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'
12547 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12548 allow_undefined_flag_CXX=unsupported
12549 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12550 # support --undefined. This deserves some investigation. FIXME
12551 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12558 case $cc_basename in
12560 # FIXME: insert proper C++ library support
12566 cygwin* | mingw* | pw32* | cegcc*)
12567 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12568 # as there is no search path for DLLs.
12569 hardcode_libdir_flag_spec_CXX='-L$libdir'
12570 allow_undefined_flag_CXX=unsupported
12571 always_export_symbols_CXX=no
12572 enable_shared_with_static_runtimes_CXX=yes
12574 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12575 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12576 # If the export-symbols file already is a .def file (1st line
12577 # is EXPORTS), use it as is; otherwise, prepend...
12578 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12579 cp $export_symbols $output_objdir/$soname.def;
12581 echo EXPORTS > $output_objdir/$soname.def;
12582 cat $export_symbols >> $output_objdir/$soname.def;
12584 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12589 darwin* | rhapsody*)
12592 archive_cmds_need_lc_CXX=no
12593 hardcode_direct_CXX=no
12594 hardcode_automatic_CXX=yes
12595 hardcode_shlibpath_var_CXX=unsupported
12596 whole_archive_flag_spec_CXX=''
12597 link_all_deplibs_CXX=yes
12598 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12599 case $cc_basename in
12600 ifort*) _lt_dar_can_shared=yes ;;
12601 *) _lt_dar_can_shared=$GCC ;;
12603 if test "$_lt_dar_can_shared" = "yes"; then
12604 output_verbose_link_cmd=echo
12605 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12606 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12607 archive_expsym_cmds_CXX="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}"
12608 module_expsym_cmds_CXX="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}"
12609 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12610 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12611 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12621 case $cc_basename in
12623 # FIXME: insert proper C++ library support
12627 # Green Hills C++ Compiler
12628 # FIXME: insert proper C++ library support
12632 # FIXME: insert proper C++ library support
12639 # C++ shared libraries reported to be fairly broken before
12645 archive_cmds_need_lc_CXX=no
12648 freebsd* | dragonfly*)
12649 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12658 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12659 hardcode_libdir_separator_CXX=:
12660 export_dynamic_flag_spec_CXX='${wl}-E'
12661 hardcode_direct_CXX=yes
12662 hardcode_minus_L_CXX=yes # Not in the search PATH,
12663 # but as the default
12664 # location of the library.
12666 case $cc_basename in
12668 # FIXME: insert proper C++ library support
12672 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12673 # Commands to make compiler produce verbose output that lists
12674 # what "hidden" libraries, object files and flags are used when
12675 # linking a shared library.
12677 # There doesn't appear to be a way to prevent this compiler from
12678 # explicitly linking system object files so we need to strip them
12679 # from the output so that they don't get included in the library
12681 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12684 if test "$GXX" = yes; then
12685 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12687 # FIXME: insert proper C++ library support
12695 if test $with_gnu_ld = no; then
12696 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12697 hardcode_libdir_separator_CXX=:
12703 export_dynamic_flag_spec_CXX='${wl}-E'
12709 hardcode_direct_CXX=no
12710 hardcode_shlibpath_var_CXX=no
12713 hardcode_direct_CXX=yes
12714 hardcode_direct_absolute_CXX=yes
12715 hardcode_minus_L_CXX=yes # Not in the search PATH,
12716 # but as the default
12717 # location of the library.
12721 case $cc_basename in
12723 # FIXME: insert proper C++ library support
12729 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 # Commands to make compiler produce verbose output that lists
12739 # what "hidden" libraries, object files and flags are used when
12740 # linking a shared library.
12742 # There doesn't appear to be a way to prevent this compiler from
12743 # explicitly linking system object files so we need to strip them
12744 # from the output so that they don't get included in the library
12746 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12749 if test "$GXX" = yes; then
12750 if test $with_gnu_ld = no; then
12753 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12764 # FIXME: insert proper C++ library support
12772 hardcode_direct_CXX=no
12773 hardcode_shlibpath_var_CXX=no
12774 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12775 export_dynamic_flag_spec_CXX='${wl}-E'
12776 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12777 # Instead, shared libraries are loaded at an image base (0x10000000 by
12778 # default) and relocated if they conflict, which is a slow very memory
12779 # consuming and fragmenting process. To avoid this, we pick a random,
12780 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12781 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12782 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12783 archive_expsym_cmds_CXX='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'
12786 case $cc_basename in
12789 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12791 # Archives containing C++ object files must be created using
12792 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12793 # necessary to make sure instantiated templates are included
12795 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12798 if test "$GXX" = yes; then
12799 if test "$with_gnu_ld" = no; then
12800 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12802 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12805 link_all_deplibs_CXX=yes
12808 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12809 hardcode_libdir_separator_CXX=:
12810 inherit_rpath_CXX=yes
12813 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12814 case $cc_basename in
12816 # Kuck and Associates, Inc. (KAI) C++ Compiler
12818 # KCC will only create a shared library if the output file
12819 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12820 # to its proper name (with version) after linking.
12821 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12822 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12823 # Commands to make compiler produce verbose output that lists
12824 # what "hidden" libraries, object files and flags are used when
12825 # linking a shared library.
12827 # There doesn't appear to be a way to prevent this compiler from
12828 # explicitly linking system object files so we need to strip them
12829 # from the output so that they don't get included in the library
12831 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12833 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12834 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12836 # Archives containing C++ object files must be created using
12837 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12838 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12843 # version 8.0 and above of icpc choke on multiply defined symbols
12844 # if we add $predep_objects and $postdep_objects, however 7.1 and
12845 # earlier do not add the objects themselves.
12846 case `$CC -V 2>&1` in
12848 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12849 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12851 *) # Version 8.0 or newer
12854 ia64*) tmp_idyn=' -i_dynamic';;
12856 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12857 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12860 archive_cmds_need_lc_CXX=no
12861 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12862 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12863 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12866 # Portland Group C++ compiler
12868 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12869 prelink_cmds_CXX='tpldir=Template.dir~
12871 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12872 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12873 old_archive_cmds_CXX='tpldir=Template.dir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12876 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12878 archive_cmds_CXX='tpldir=Template.dir~
12880 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12881 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12882 archive_expsym_cmds_CXX='tpldir=Template.dir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12887 *) # Version 6 will use weak symbols
12888 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12889 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12893 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12894 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12895 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12899 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12900 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12902 runpath_var=LD_RUN_PATH
12903 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12904 hardcode_libdir_separator_CXX=:
12906 # Commands to make compiler produce verbose output that lists
12907 # what "hidden" libraries, object files and flags are used when
12908 # linking a shared library.
12910 # There doesn't appear to be a way to prevent this compiler from
12911 # explicitly linking system object files so we need to strip them
12912 # from the output so that they don't get included in the library
12914 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12917 # IBM XL 8.0 on PPC, with GNU ld
12918 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12919 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12920 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12921 if test "x$supports_anon_versioning" = xyes; then
12922 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12923 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12924 echo "local: *; };" >> $output_objdir/$libname.ver~
12925 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12929 case `$CC -V 2>&1 | sed 5q` in
12932 no_undefined_flag_CXX=' -zdefs'
12933 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12934 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12935 hardcode_libdir_flag_spec_CXX='-R$libdir'
12936 whole_archive_flag_spec_CXX='${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'
12937 compiler_needs_object_CXX=yes
12939 # Not sure whether something based on
12940 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12942 output_verbose_link_cmd='echo'
12944 # Archives containing C++ object files must be created using
12945 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12946 # necessary to make sure instantiated templates are included
12948 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12956 # FIXME: insert proper C++ library support
12961 # FIXME: insert proper C++ library support
12966 case $cc_basename in
12968 # FIXME: insert proper C++ library support
12972 # FIXME: insert proper C++ library support
12979 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12980 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12982 hardcode_libdir_flag_spec_CXX='-R$libdir'
12983 hardcode_direct_CXX=yes
12984 hardcode_shlibpath_var_CXX=no
12986 # Workaround some broken pre-1.5 toolchains
12987 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12995 # C++ shared libraries are fairly broken
13000 if test -f /usr/libexec/ld.so; then
13001 hardcode_direct_CXX=yes
13002 hardcode_shlibpath_var_CXX=no
13003 hardcode_direct_absolute_CXX=yes
13004 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13006 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13007 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13008 export_dynamic_flag_spec_CXX='${wl}-E'
13009 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13011 output_verbose_link_cmd=echo
13017 osf3* | osf4* | osf5*)
13018 case $cc_basename in
13020 # Kuck and Associates, Inc. (KAI) C++ Compiler
13022 # KCC will only create a shared library if the output file
13023 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13024 # to its proper name (with version) after linking.
13025 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13027 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13028 hardcode_libdir_separator_CXX=:
13030 # Archives containing C++ object files must be created using
13031 # the KAI C++ compiler.
13033 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13034 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13038 # Rational C++ 2.4.1
13039 # FIXME: insert proper C++ library support
13045 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13046 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13047 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13050 allow_undefined_flag_CXX=' -expect_unresolved \*'
13051 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13052 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13053 echo "-hidden">> $lib.exp~
13054 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13056 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13060 hardcode_libdir_separator_CXX=:
13062 # Commands to make compiler produce verbose output that lists
13063 # what "hidden" libraries, object files and flags are used when
13064 # linking a shared library.
13066 # There doesn't appear to be a way to prevent this compiler from
13067 # explicitly linking system object files so we need to strip them
13068 # from the output so that they don't get included in the library
13070 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13073 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13074 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13080 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13084 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13085 hardcode_libdir_separator_CXX=:
13087 # Commands to make compiler produce verbose output that lists
13088 # what "hidden" libraries, object files and flags are used when
13089 # linking a shared library.
13090 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13093 # FIXME: insert proper C++ library support
13101 # FIXME: insert proper C++ library support
13106 case $cc_basename in
13109 # FIXME: insert proper C++ library support
13114 # FIXME: insert proper C++ library support
13118 # FIXME: insert proper C++ library support
13125 case $cc_basename in
13127 # Sun C++ 4.2, 5.x and Centerline C++
13128 archive_cmds_need_lc_CXX=yes
13129 no_undefined_flag_CXX=' -zdefs'
13130 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13131 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13132 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13134 hardcode_libdir_flag_spec_CXX='-R$libdir'
13135 hardcode_shlibpath_var_CXX=no
13137 solaris2.[0-5] | solaris2.[0-5].*) ;;
13139 # The compiler driver will combine and reorder linker options,
13140 # but understands `-z linker_flag'.
13141 # Supported since Solaris 2.6 (maybe 2.5.1?)
13142 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13145 link_all_deplibs_CXX=yes
13147 output_verbose_link_cmd='echo'
13149 # Archives containing C++ object files must be created using
13150 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13151 # necessary to make sure instantiated templates are included
13153 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13156 # Green Hills C++ Compiler
13157 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13159 # The C++ compiler must be used to create the archive.
13160 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13163 # GNU C++ compiler with Solaris linker
13164 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13165 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13166 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13167 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13168 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13169 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13171 # Commands to make compiler produce verbose output that lists
13172 # what "hidden" libraries, object files and flags are used when
13173 # linking a shared library.
13174 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13176 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13178 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13179 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13180 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13182 # Commands to make compiler produce verbose output that lists
13183 # what "hidden" libraries, object files and flags are used when
13184 # linking a shared library.
13185 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13188 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13190 solaris2.[0-5] | solaris2.[0-5].*) ;;
13192 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13200 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13201 no_undefined_flag_CXX='${wl}-z,text'
13202 archive_cmds_need_lc_CXX=no
13203 hardcode_shlibpath_var_CXX=no
13204 runpath_var='LD_RUN_PATH'
13206 case $cc_basename in
13208 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13209 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13212 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 sysv5* | sco3.2v5* | sco5v6*)
13219 # Note: We can NOT use -z defs as we might desire, because we do not
13220 # link with -lc, and that would cause any symbols used from libc to
13221 # always be unresolved, which means just about no library would
13222 # ever link correctly. If we're not using GNU ld we use -z text
13223 # though, which does catch some bad symbols but isn't as heavy-handed
13225 no_undefined_flag_CXX='${wl}-z,text'
13226 allow_undefined_flag_CXX='${wl}-z,nodefs'
13227 archive_cmds_need_lc_CXX=no
13228 hardcode_shlibpath_var_CXX=no
13229 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13230 hardcode_libdir_separator_CXX=':'
13231 link_all_deplibs_CXX=yes
13232 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13233 runpath_var='LD_RUN_PATH'
13235 case $cc_basename in
13237 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13238 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 case $cc_basename in
13250 # NonStop-UX NCC 3.20
13251 # FIXME: insert proper C++ library support
13255 # FIXME: insert proper C++ library support
13262 # FIXME: insert proper C++ library support
13267 # FIXME: insert proper C++ library support
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13273 $as_echo "$ld_shlibs_CXX" >&6; }
13274 test "$ld_shlibs_CXX" = no && can_build_shared=no
13280 ## There is no encapsulation within the following macros, do not change
13281 ## the running order or otherwise move them around unless you know exactly
13282 ## what you are doing...
13283 # Dependencies to place before and after the object being linked:
13284 predep_objects_CXX=
13285 postdep_objects_CXX=
13288 compiler_lib_search_path_CXX=
13290 cat > conftest.$ac_ext <<_LT_EOF
13294 Foo (void) { a = 0; }
13300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13301 (eval $ac_compile) 2>&5
13303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13304 test $ac_status = 0; }; then
13305 # Parse the compiler output and extract the necessary
13306 # objects, libraries and library flags.
13308 # Sentinel used to keep track of whether or not we are before
13309 # the conftest object file.
13310 pre_test_object_deps_done=no
13312 for p in `eval "$output_verbose_link_cmd"`; do
13316 # Some compilers place space between "-{L,R}" and the path.
13317 # Remove the space.
13318 if test $p = "-L" ||
13319 test $p = "-R"; then
13326 if test "$pre_test_object_deps_done" = no; then
13329 # Internal compiler library paths should come after those
13330 # provided the user. The postdeps already come after the
13331 # user supplied libs so there is no need to process them.
13332 if test -z "$compiler_lib_search_path_CXX"; then
13333 compiler_lib_search_path_CXX="${prev}${p}"
13335 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13338 # The "-l" case would never come before the object being
13339 # linked, so don't bother handling this case.
13342 if test -z "$postdeps_CXX"; then
13343 postdeps_CXX="${prev}${p}"
13345 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13351 # This assumes that the test object file only shows up
13352 # once in the compiler output.
13353 if test "$p" = "conftest.$objext"; then
13354 pre_test_object_deps_done=yes
13358 if test "$pre_test_object_deps_done" = no; then
13359 if test -z "$predep_objects_CXX"; then
13360 predep_objects_CXX="$p"
13362 predep_objects_CXX="$predep_objects_CXX $p"
13365 if test -z "$postdep_objects_CXX"; then
13366 postdep_objects_CXX="$p"
13368 postdep_objects_CXX="$postdep_objects_CXX $p"
13373 *) ;; # Ignore the rest.
13381 echo "libtool.m4: error: problem compiling CXX test program"
13384 $RM -f confest.$objext
13386 # PORTME: override above test on systems where it is broken
13389 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13390 # hack all around it, let's just trust "g++" to DTRT.
13391 predep_objects_CXX=
13392 postdep_objects_CXX=
13397 case `$CC -V 2>&1 | sed 5q` in
13401 # The more standards-conforming stlport4 library is
13402 # incompatible with the Cstd library. Avoid specifying
13403 # it if it's in CXXFLAGS. Ignore libCrun as
13404 # -library=stlport4 depends on it.
13405 case " $CXX $CXXFLAGS " in
13406 *" -library=stlport4 "*)
13407 solaris_use_stlport4=yes
13411 if test "$solaris_use_stlport4" != yes; then
13412 postdeps_CXX='-library=Cstd -library=Crun'
13419 case $cc_basename in
13421 # The more standards-conforming stlport4 library is
13422 # incompatible with the Cstd library. Avoid specifying
13423 # it if it's in CXXFLAGS. Ignore libCrun as
13424 # -library=stlport4 depends on it.
13425 case " $CXX $CXXFLAGS " in
13426 *" -library=stlport4 "*)
13427 solaris_use_stlport4=yes
13431 # Adding this requires a known-good setup of shared libraries for
13432 # Sun compiler versions before 5.6, else PIC objects from an old
13433 # archive will be linked into the output, leading to subtle bugs.
13434 if test "$solaris_use_stlport4" != yes; then
13435 postdeps_CXX='-library=Cstd -library=Crun'
13443 case " $postdeps_CXX " in
13444 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13446 compiler_lib_search_dirs_CXX=
13447 if test -n "${compiler_lib_search_path_CXX}"; then
13448 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13481 lt_prog_compiler_wl_CXX=
13482 lt_prog_compiler_pic_CXX=
13483 lt_prog_compiler_static_CXX=
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13486 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13488 # C++ specific cases for pic, static, wl, etc.
13489 if test "$GXX" = yes; then
13490 lt_prog_compiler_wl_CXX='-Wl,'
13491 lt_prog_compiler_static_CXX='-static'
13495 # All AIX code is PIC.
13496 if test "$host_cpu" = ia64; then
13497 # AIX 5 now supports IA64 processor
13498 lt_prog_compiler_static_CXX='-Bstatic'
13505 # see comment about AmigaOS4 .so support
13506 lt_prog_compiler_pic_CXX='-fPIC'
13509 # FIXME: we need at least 68020 code to build shared libraries, but
13510 # adding the `-m68020' flag to GCC prevents building anything better,
13512 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13517 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13518 # PIC is the default for these OSes.
13520 mingw* | cygwin* | os2* | pw32* | cegcc*)
13521 # This hack is so that the source file can tell whether it is being
13522 # built for inclusion in a dll (and should export symbols for example).
13523 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13524 # (--disable-auto-import) libraries
13525 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13527 darwin* | rhapsody*)
13528 # PIC is the default on this platform
13529 # Common symbols not allowed in MH_DYLIB files
13530 lt_prog_compiler_pic_CXX='-fno-common'
13533 # DJGPP does not support shared libraries at all
13534 lt_prog_compiler_pic_CXX=
13537 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13538 # Instead, we relocate shared libraries at runtime.
13541 if test -d /usr/nec; then
13542 lt_prog_compiler_pic_CXX=-Kconform_pic
13546 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13547 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13548 # sets the default TLS model and affects inlining.
13553 lt_prog_compiler_pic_CXX='-fPIC'
13558 # QNX uses GNU C++, but need to define -shared option too, otherwise
13559 # it will coredump.
13560 lt_prog_compiler_pic_CXX='-fPIC -shared'
13563 lt_prog_compiler_pic_CXX='-fPIC'
13569 # All AIX code is PIC.
13570 if test "$host_cpu" = ia64; then
13571 # AIX 5 now supports IA64 processor
13572 lt_prog_compiler_static_CXX='-Bstatic'
13574 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13578 case $cc_basename in
13580 # Green Hills C++ Compiler
13581 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13586 case $cc_basename in
13588 lt_prog_compiler_pic_CXX='-KPIC'
13591 # Green Hills C++ Compiler
13592 lt_prog_compiler_pic_CXX='-pic'
13598 freebsd* | dragonfly*)
13599 # FreeBSD uses GNU C++
13601 hpux9* | hpux10* | hpux11*)
13602 case $cc_basename in
13604 lt_prog_compiler_wl_CXX='-Wl,'
13605 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13606 if test "$host_cpu" != ia64; then
13607 lt_prog_compiler_pic_CXX='+Z'
13611 lt_prog_compiler_wl_CXX='-Wl,'
13612 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 lt_prog_compiler_pic_CXX='+Z'
13627 # This is c89, which is MS Visual C++ (no shared libs)
13628 # Anyone wants to do a port?
13630 irix5* | irix6* | nonstopux*)
13631 case $cc_basename in
13633 lt_prog_compiler_wl_CXX='-Wl,'
13634 lt_prog_compiler_static_CXX='-non_shared'
13635 # CC pic flag -KPIC is the default.
13641 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13642 case $cc_basename in
13645 lt_prog_compiler_wl_CXX='--backend -Wl,'
13646 lt_prog_compiler_pic_CXX='-fPIC'
13649 # old Intel C++ for x86_64 which still supported -KPIC.
13650 lt_prog_compiler_wl_CXX='-Wl,'
13651 lt_prog_compiler_pic_CXX='-KPIC'
13652 lt_prog_compiler_static_CXX='-static'
13655 # Intel C++, used to be incompatible with GCC.
13656 # ICC 10 doesn't accept -KPIC any more.
13657 lt_prog_compiler_wl_CXX='-Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13659 lt_prog_compiler_static_CXX='-static'
13662 # Portland Group C++ compiler
13663 lt_prog_compiler_wl_CXX='-Wl,'
13664 lt_prog_compiler_pic_CXX='-fpic'
13665 lt_prog_compiler_static_CXX='-Bstatic'
13669 # Make sure the PIC flag is empty. It appears that all Alpha
13670 # Linux and Compaq Tru64 Unix objects are PIC.
13671 lt_prog_compiler_pic_CXX=
13672 lt_prog_compiler_static_CXX='-non_shared'
13675 # IBM XL 8.0 on PPC
13676 lt_prog_compiler_wl_CXX='-Wl,'
13677 lt_prog_compiler_pic_CXX='-qpic'
13678 lt_prog_compiler_static_CXX='-qstaticlink'
13681 case `$CC -V 2>&1 | sed 5q` in
13684 lt_prog_compiler_pic_CXX='-KPIC'
13685 lt_prog_compiler_static_CXX='-Bstatic'
13686 lt_prog_compiler_wl_CXX='-Qoption ld '
13697 case $cc_basename in
13699 lt_prog_compiler_pic_CXX='-W c,exportall'
13705 netbsd* | netbsdelf*-gnu)
13708 # QNX uses GNU C++, but need to define -shared option too, otherwise
13709 # it will coredump.
13710 lt_prog_compiler_pic_CXX='-fPIC -shared'
13712 osf3* | osf4* | osf5*)
13713 case $cc_basename in
13715 lt_prog_compiler_wl_CXX='--backend -Wl,'
13718 # Rational C++ 2.4.1
13719 lt_prog_compiler_pic_CXX='-pic'
13722 # Digital/Compaq C++
13723 lt_prog_compiler_wl_CXX='-Wl,'
13724 # Make sure the PIC flag is empty. It appears that all Alpha
13725 # Linux and Compaq Tru64 Unix objects are PIC.
13726 lt_prog_compiler_pic_CXX=
13727 lt_prog_compiler_static_CXX='-non_shared'
13736 case $cc_basename in
13738 # Sun C++ 4.2, 5.x and Centerline C++
13739 lt_prog_compiler_pic_CXX='-KPIC'
13740 lt_prog_compiler_static_CXX='-Bstatic'
13741 lt_prog_compiler_wl_CXX='-Qoption ld '
13744 # Green Hills C++ Compiler
13745 lt_prog_compiler_pic_CXX='-PIC'
13752 case $cc_basename in
13755 lt_prog_compiler_pic_CXX='-pic'
13756 lt_prog_compiler_static_CXX='-Bstatic'
13760 lt_prog_compiler_pic_CXX='-pic'
13766 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13767 case $cc_basename in
13769 lt_prog_compiler_wl_CXX='-Wl,'
13770 lt_prog_compiler_pic_CXX='-KPIC'
13771 lt_prog_compiler_static_CXX='-Bstatic'
13776 case $cc_basename in
13778 # NonStop-UX NCC 3.20
13779 lt_prog_compiler_pic_CXX='-KPIC'
13788 lt_prog_compiler_can_build_shared_CXX=no
13794 # For platforms which do not support PIC, -DPIC is meaningless:
13796 lt_prog_compiler_pic_CXX=
13799 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13803 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13808 # Check to make sure the PIC flag actually works.
13810 if test -n "$lt_prog_compiler_pic_CXX"; then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13812 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13813 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13816 lt_cv_prog_compiler_pic_works_CXX=no
13817 ac_outfile=conftest.$ac_objext
13818 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13819 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13820 # Insert the option either (1) after the last *FLAGS variable, or
13821 # (2) before a word containing "conftest.", or (3) at the end.
13822 # Note that $ac_compile itself does not contain backslashes and begins
13823 # with a dollar sign (not a hyphen), so the echo should work correctly.
13824 # The option is referenced via a variable to avoid confusing sed.
13825 lt_compile=`echo "$ac_compile" | $SED \
13826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13828 -e 's:$: $lt_compiler_flag:'`
13829 (eval echo "\"\$as_me:13829: $lt_compile\"" >&5)
13830 (eval "$lt_compile" 2>conftest.err)
13832 cat conftest.err >&5
13833 echo "$as_me:13833: \$? = $ac_status" >&5
13834 if (exit $ac_status) && test -s "$ac_outfile"; then
13835 # The compiler can only warn and ignore the option if not recognized
13836 # So say no if there are warnings other than the usual output.
13837 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13839 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13840 lt_cv_prog_compiler_pic_works_CXX=yes
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13847 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13849 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13850 case $lt_prog_compiler_pic_CXX in
13852 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13855 lt_prog_compiler_pic_CXX=
13856 lt_prog_compiler_can_build_shared_CXX=no
13864 # Check to make sure the static flag actually works.
13866 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13868 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13869 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13870 $as_echo_n "(cached) " >&6
13872 lt_cv_prog_compiler_static_works_CXX=no
13873 save_LDFLAGS="$LDFLAGS"
13874 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13875 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13876 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13877 # The linker can only warn and ignore the option if not recognized
13878 # So say no if there are warnings
13879 if test -s conftest.err; then
13880 # Append any errors to the config.log.
13881 cat conftest.err 1>&5
13882 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13883 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13884 if diff conftest.exp conftest.er2 >/dev/null; then
13885 lt_cv_prog_compiler_static_works_CXX=yes
13888 lt_cv_prog_compiler_static_works_CXX=yes
13892 LDFLAGS="$save_LDFLAGS"
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13896 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13898 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13901 lt_prog_compiler_static_CXX=
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13908 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13909 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13910 $as_echo_n "(cached) " >&6
13912 lt_cv_prog_compiler_c_o_CXX=no
13913 $RM -r conftest 2>/dev/null
13917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13919 lt_compiler_flag="-o out/conftest2.$ac_objext"
13920 # Insert the option either (1) after the last *FLAGS variable, or
13921 # (2) before a word containing "conftest.", or (3) at the end.
13922 # Note that $ac_compile itself does not contain backslashes and begins
13923 # with a dollar sign (not a hyphen), so the echo should work correctly.
13924 lt_compile=`echo "$ac_compile" | $SED \
13925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13927 -e 's:$: $lt_compiler_flag:'`
13928 (eval echo "\"\$as_me:13928: $lt_compile\"" >&5)
13929 (eval "$lt_compile" 2>out/conftest.err)
13931 cat out/conftest.err >&5
13932 echo "$as_me:13932: \$? = $ac_status" >&5
13933 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13935 # The compiler can only warn and ignore the option if not recognized
13936 # So say no if there are warnings
13937 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13938 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13939 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13940 lt_cv_prog_compiler_c_o_CXX=yes
13945 # SGI C++ compiler will create directory out/ii_files/ for
13946 # template instantiation
13947 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13948 $RM out/* && rmdir out
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13955 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13961 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13962 $as_echo_n "(cached) " >&6
13964 lt_cv_prog_compiler_c_o_CXX=no
13965 $RM -r conftest 2>/dev/null
13969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13971 lt_compiler_flag="-o out/conftest2.$ac_objext"
13972 # Insert the option either (1) after the last *FLAGS variable, or
13973 # (2) before a word containing "conftest.", or (3) at the end.
13974 # Note that $ac_compile itself does not contain backslashes and begins
13975 # with a dollar sign (not a hyphen), so the echo should work correctly.
13976 lt_compile=`echo "$ac_compile" | $SED \
13977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13979 -e 's:$: $lt_compiler_flag:'`
13980 (eval echo "\"\$as_me:13980: $lt_compile\"" >&5)
13981 (eval "$lt_compile" 2>out/conftest.err)
13983 cat out/conftest.err >&5
13984 echo "$as_me:13984: \$? = $ac_status" >&5
13985 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13987 # The compiler can only warn and ignore the option if not recognized
13988 # So say no if there are warnings
13989 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13990 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13991 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13992 lt_cv_prog_compiler_c_o_CXX=yes
13997 # SGI C++ compiler will create directory out/ii_files/ for
13998 # template instantiation
13999 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14000 $RM out/* && rmdir out
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14007 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14012 hard_links="nottested"
14013 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14014 # do not overwrite the value of need_locks provided by the user
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14016 $as_echo_n "checking if we can lock with hard links... " >&6; }
14019 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14021 ln conftest.a conftest.b 2>&5 || hard_links=no
14022 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14024 $as_echo "$hard_links" >&6; }
14025 if test "$hard_links" = no; then
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14027 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14037 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14039 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14042 # If we're using GNU nm, then we don't want the "-C" option.
14043 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14044 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14045 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14047 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14051 export_symbols_cmds_CXX="$ltdll_cmds"
14053 cygwin* | mingw* | cegcc*)
14054 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14056 linux* | k*bsd*-gnu)
14057 link_all_deplibs_CXX=no
14060 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14063 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14066 $as_echo "$ld_shlibs_CXX" >&6; }
14067 test "$ld_shlibs_CXX" = no && can_build_shared=no
14069 with_gnu_ld_CXX=$with_gnu_ld
14077 # Do we need to explicitly link libc?
14079 case "x$archive_cmds_need_lc_CXX" in
14081 # Assume -lc should be added
14082 archive_cmds_need_lc_CXX=yes
14084 if test "$enable_shared" = yes && test "$GCC" = yes; then
14085 case $archive_cmds_CXX in
14087 # FIXME: we may have to deal with multi-command sequences.
14090 # Test whether the compiler implicitly links with -lc since on some
14091 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14092 # to ld, don't add -lc before -lgcc.
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14094 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14096 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14099 (eval $ac_compile) 2>&5
14101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14102 test $ac_status = 0; } 2>conftest.err; then
14105 libobjs=conftest.$ac_objext
14107 wl=$lt_prog_compiler_wl_CXX
14108 pic_flag=$lt_prog_compiler_pic_CXX
14114 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14115 allow_undefined_flag_CXX=
14116 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14117 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14120 test $ac_status = 0; }
14122 archive_cmds_need_lc_CXX=no
14124 archive_cmds_need_lc_CXX=yes
14126 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14128 cat conftest.err 1>&5
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14132 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14203 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14205 library_names_spec=
14206 libname_spec='lib$name'
14210 postuninstall_cmds=
14214 shlibpath_overrides_runpath=unknown
14216 dynamic_linker="$host_os ld.so"
14217 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14218 need_lib_prefix=unknown
14219 hardcode_into_libs=no
14221 # when you set need_version to no, make sure it does not cause -set_version
14222 # flags to be left without arguments
14223 need_version=unknown
14228 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14229 shlibpath_var=LIBPATH
14231 # AIX 3 has no versioning support, so we append a major version to the name.
14232 soname_spec='${libname}${release}${shared_ext}$major'
14239 hardcode_into_libs=yes
14240 if test "$host_cpu" = ia64; then
14241 # AIX 5 supports IA64
14242 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14243 shlibpath_var=LD_LIBRARY_PATH
14245 # With GCC up to 2.95.x, collect2 would create an import file
14246 # for dependence libraries. The import file would start with
14247 # the line `#! .'. This would cause the generated library to
14248 # depend on `.', always an invalid library. This was fixed in
14249 # development snapshots of GCC prior to 3.0.
14251 aix4 | aix4.[01] | aix4.[01].*)
14252 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14254 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14257 can_build_shared=no
14261 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14262 # soname into executable. Probably we can add versioning support to
14263 # collect2, so additional links can be useful in future.
14264 if test "$aix_use_runtimelinking" = yes; then
14265 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14266 # instead of lib<name>.a to let people know that these are not
14267 # typical AIX shared libraries.
14268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14270 # We preserve .a as extension for shared libraries through AIX4.2
14271 # and later when we are not doing run time linking.
14272 library_names_spec='${libname}${release}.a $libname.a'
14273 soname_spec='${libname}${release}${shared_ext}$major'
14275 shlibpath_var=LIBPATH
14282 # Since July 2007 AmigaOS4 officially supports .so libraries.
14283 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14287 library_names_spec='$libname.ixlibrary $libname.a'
14288 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14289 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'
14295 library_names_spec='${libname}${shared_ext}'
14296 dynamic_linker="$host_os ld.so"
14297 shlibpath_var=LIBRARY_PATH
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14304 soname_spec='${libname}${release}${shared_ext}$major'
14305 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14306 shlibpath_var=LD_LIBRARY_PATH
14307 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14308 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14309 # the default ld.so.conf also contains /usr/contrib/lib and
14310 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14311 # libtool to hard-code these into programs
14314 cygwin* | mingw* | pw32* | cegcc*)
14315 version_type=windows
14320 case $GCC,$host_os in
14321 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14322 library_names_spec='$libname.dll.a'
14323 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14324 postinstall_cmds='base_file=`basename \${file}`~
14325 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14326 dldir=$destdir/`dirname \$dlpath`~
14327 test -d \$dldir || mkdir -p \$dldir~
14328 $install_prog $dir/$dlname \$dldir/$dlname~
14329 chmod a+x \$dldir/$dlname~
14330 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14331 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14333 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14334 dlpath=$dir/\$dldll~
14336 shlibpath_overrides_runpath=yes
14340 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14341 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14342 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14345 # MinGW DLLs use traditional 'lib' prefix
14346 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14347 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14348 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14349 # It is most probably a Windows format PATH printed by
14350 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14351 # path with ; separators, and with drive letters. We can handle the
14352 # drive letters (cygwin fileutils understands them), so leave them,
14353 # especially as we might pass files found there to a mingw objdump,
14354 # which wouldn't understand a cygwinified path. Ahh.
14355 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14357 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14361 # pw32 DLLs use 'pw' prefix rather than 'lib'
14362 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14371 dynamic_linker='Win32 ld.exe'
14372 # FIXME: first we should search . and the directory the executable is in
14376 darwin* | rhapsody*)
14377 dynamic_linker="$host_os dyld"
14378 version_type=darwin
14381 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14382 soname_spec='${libname}${release}${major}$shared_ext'
14383 shlibpath_overrides_runpath=yes
14384 shlibpath_var=DYLD_LIBRARY_PATH
14385 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14387 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14395 soname_spec='${libname}${release}${shared_ext}$major'
14396 shlibpath_var=LD_LIBRARY_PATH
14403 freebsd* | dragonfly*)
14404 # DragonFly does not have aout. When/if they implement a new
14405 # versioning mechanism, adjust this.
14406 if test -x /usr/bin/objformat; then
14407 objformat=`/usr/bin/objformat`
14410 freebsd[123]*) objformat=aout ;;
14411 *) objformat=elf ;;
14414 version_type=freebsd-$objformat
14415 case $version_type in
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14422 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14426 shlibpath_var=LD_LIBRARY_PATH
14429 shlibpath_overrides_runpath=yes
14431 freebsd3.[01]* | freebsdelf3.[01]*)
14432 shlibpath_overrides_runpath=yes
14433 hardcode_into_libs=yes
14435 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14436 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14437 shlibpath_overrides_runpath=no
14438 hardcode_into_libs=yes
14440 *) # from 4.6 on, and DragonFly
14441 shlibpath_overrides_runpath=yes
14442 hardcode_into_libs=yes
14451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14452 soname_spec='${libname}${release}${shared_ext}$major'
14453 shlibpath_var=LD_LIBRARY_PATH
14454 hardcode_into_libs=yes
14457 hpux9* | hpux10* | hpux11*)
14458 # Give a soname corresponding to the major version so that dld.sl refuses to
14459 # link against other versions.
14466 hardcode_into_libs=yes
14467 dynamic_linker="$host_os dld.so"
14468 shlibpath_var=LD_LIBRARY_PATH
14469 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14471 soname_spec='${libname}${release}${shared_ext}$major'
14472 if test "X$HPUX_IA64_MODE" = X32; then
14473 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14475 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14477 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14481 hardcode_into_libs=yes
14482 dynamic_linker="$host_os dld.sl"
14483 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14484 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14486 soname_spec='${libname}${release}${shared_ext}$major'
14487 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14488 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14492 dynamic_linker="$host_os dld.sl"
14493 shlibpath_var=SHLIB_PATH
14494 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14496 soname_spec='${libname}${release}${shared_ext}$major'
14499 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14500 postinstall_cmds='chmod 555 $lib'
14507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14508 soname_spec='${libname}${release}${shared_ext}$major'
14509 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14510 shlibpath_var=LD_LIBRARY_PATH
14511 shlibpath_overrides_runpath=no
14512 hardcode_into_libs=yes
14515 irix5* | irix6* | nonstopux*)
14517 nonstopux*) version_type=nonstopux ;;
14519 if test "$lt_cv_prog_gnu_ld" = yes; then
14527 soname_spec='${libname}${release}${shared_ext}$major'
14528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14530 irix5* | nonstopux*)
14531 libsuff= shlibsuff=
14534 case $LD in # libtool.m4 will add one of these switches to LD
14535 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14536 libsuff= shlibsuff= libmagic=32-bit;;
14537 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14538 libsuff=32 shlibsuff=N32 libmagic=N32;;
14539 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14540 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14541 *) libsuff= shlibsuff= libmagic=never-match;;
14545 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14546 shlibpath_overrides_runpath=no
14547 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14548 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14549 hardcode_into_libs=yes
14552 # No shared lib support for Linux oldld, aout, or coff.
14553 linux*oldld* | linux*aout* | linux*coff*)
14557 # This must be Linux ELF.
14558 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14563 soname_spec='${libname}${release}${shared_ext}$major'
14564 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14565 shlibpath_var=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath=no
14567 # Some binutils ld are patched to set DT_RUNPATH
14568 save_LDFLAGS=$LDFLAGS
14569 save_libdir=$libdir
14570 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14571 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14583 if ac_fn_cxx_try_link "$LINENO"; then :
14584 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14585 shlibpath_overrides_runpath=yes
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LDFLAGS=$save_LDFLAGS
14591 libdir=$save_libdir
14593 # This implies no fast_install, which is unacceptable.
14594 # Some rework will be needed to allow for fast_install
14595 # before this can be enabled.
14596 hardcode_into_libs=yes
14598 # Append ld.so.conf contents to the search path
14599 if test -f /etc/ld.so.conf; then
14600 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' ' '`
14601 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14604 # We used to test for /lib/ld.so.1 and disable shared libraries on
14605 # powerpc, because MkLinux only supported shared libraries with the
14606 # GNU dynamic linker. Since this was broken with cross compilers,
14607 # most powerpc-linux boxes support dynamic linking these days and
14608 # people can always --disable-shared, the test was removed, and we
14609 # assume the GNU/Linux dynamic linker is in use.
14610 dynamic_linker='GNU/Linux ld.so'
14617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14618 soname_spec='${libname}${release}${shared_ext}$major'
14619 shlibpath_var=LD_LIBRARY_PATH
14620 shlibpath_overrides_runpath=no
14621 hardcode_into_libs=yes
14622 dynamic_linker='NetBSD ld.elf_so'
14629 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14632 dynamic_linker='NetBSD (a.out) ld.so'
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 dynamic_linker='NetBSD ld.elf_so'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 hardcode_into_libs=yes
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646 shlibpath_var=LD_LIBRARY_PATH
14647 shlibpath_overrides_runpath=yes
14654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14655 soname_spec='${libname}${release}${shared_ext}$major'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 shlibpath_overrides_runpath=no
14658 hardcode_into_libs=yes
14659 dynamic_linker='ldqnx.so'
14664 sys_lib_dlsearch_path_spec="/usr/lib"
14666 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14668 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14669 *) need_version=no ;;
14671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14673 shlibpath_var=LD_LIBRARY_PATH
14674 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14676 openbsd2.[89] | openbsd2.[89].*)
14677 shlibpath_overrides_runpath=no
14680 shlibpath_overrides_runpath=yes
14684 shlibpath_overrides_runpath=yes
14689 libname_spec='$name'
14692 library_names_spec='$libname${shared_ext} $libname.a'
14693 dynamic_linker='OS/2 ld.exe'
14694 shlibpath_var=LIBPATH
14697 osf3* | osf4* | osf5*)
14701 soname_spec='${libname}${release}${shared_ext}$major'
14702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14703 shlibpath_var=LD_LIBRARY_PATH
14704 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14705 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 shlibpath_var=LD_LIBRARY_PATH
14719 shlibpath_overrides_runpath=yes
14720 hardcode_into_libs=yes
14721 # ldd complains unless libraries are executable
14722 postinstall_cmds='chmod +x $lib'
14727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14728 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14729 shlibpath_var=LD_LIBRARY_PATH
14730 shlibpath_overrides_runpath=yes
14731 if test "$with_gnu_ld" = yes; then
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 case $host_vendor in
14744 shlibpath_overrides_runpath=no
14746 runpath_var=LD_RUN_PATH
14754 shlibpath_overrides_runpath=no
14755 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14761 if test -d /usr/nec ;then
14763 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14764 soname_spec='$libname${shared_ext}.$major'
14765 shlibpath_var=LD_LIBRARY_PATH
14769 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14770 version_type=freebsd-elf
14773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14774 soname_spec='${libname}${release}${shared_ext}$major'
14775 shlibpath_var=LD_LIBRARY_PATH
14776 shlibpath_overrides_runpath=yes
14777 hardcode_into_libs=yes
14778 if test "$with_gnu_ld" = yes; then
14779 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14781 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14784 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14788 sys_lib_dlsearch_path_spec='/usr/lib'
14792 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14797 shlibpath_var=LD_LIBRARY_PATH
14798 shlibpath_overrides_runpath=no
14799 hardcode_into_libs=yes
14804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14805 soname_spec='${libname}${release}${shared_ext}$major'
14806 shlibpath_var=LD_LIBRARY_PATH
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14814 $as_echo "$dynamic_linker" >&6; }
14815 test "$dynamic_linker" = no && can_build_shared=no
14817 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14818 if test "$GCC" = yes; then
14819 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14822 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14823 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14825 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14826 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14865 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14866 hardcode_action_CXX=
14867 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14868 test -n "$runpath_var_CXX" ||
14869 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14871 # We can hardcode non-existent directories.
14872 if test "$hardcode_direct_CXX" != no &&
14873 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14874 # have to relink, otherwise we might link with an installed library
14875 # when we should be linking with a yet-to-be-installed one
14876 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14877 test "$hardcode_minus_L_CXX" != no; then
14878 # Linking always hardcodes the temporary library directory.
14879 hardcode_action_CXX=relink
14881 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14882 hardcode_action_CXX=immediate
14885 # We cannot hardcode anything, or else we can only hardcode existing
14887 hardcode_action_CXX=unsupported
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14890 $as_echo "$hardcode_action_CXX" >&6; }
14892 if test "$hardcode_action_CXX" = relink ||
14893 test "$inherit_rpath_CXX" = yes; then
14894 # Fast installation is not supported
14895 enable_fast_install=no
14896 elif test "$shlibpath_overrides_runpath" = yes ||
14897 test "$enable_shared" = no; then
14898 # Fast installation is not necessary
14899 enable_fast_install=needless
14908 fi # test -n "$compiler"
14914 with_gnu_ld=$lt_save_with_gnu_ld
14915 lt_cv_path_LDCXX=$lt_cv_path_LD
14916 lt_cv_path_LD=$lt_save_path_LD
14917 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14918 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14919 fi # test "$_lt_caught_CXX_error" != yes
14922 ac_cpp='$CPP $CPPFLAGS'
14923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14930 if test "$GCC" = "yes" ; then
14931 # AC_HAVE_GCC_VERSION(4,0,0,0,
14933 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
14934 # [Define to enable class visibility control in gcc.])
14935 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
14936 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
14938 CFLAGS="-Wall $GCC_CFLAGS"
14939 CXXFLAGS="-Wall $GCC_CXXFLAGS"
14941 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
14942 case "${host_cpu}-${host_os}" in
14944 if test "$CXX" = "CC" ; then
14945 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
14949 CXXFLAGS="$CXXFLAGS -D_POSIX_PII_SOCKET"
14955 ac_cpp='$CPP $CPPFLAGS'
14956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14961 # Checks for typedefs, structures, and compiler characteristics.
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14963 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14964 if test "${ac_cv_c_const+set}" = set; then :
14965 $as_echo_n "(cached) " >&6
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14973 /* FIXME: Include the comments suggested by Paul. */
14974 #ifndef __cplusplus
14975 /* Ultrix mips cc rejects this. */
14976 typedef int charset[2];
14978 /* SunOS 4.1.1 cc rejects this. */
14979 char const *const *pcpcc;
14981 /* NEC SVR4.0.2 mips cc rejects this. */
14982 struct point {int x, y;};
14983 static struct point const zero = {0,0};
14984 /* AIX XL C 1.02.0.0 rejects this.
14985 It does not let you subtract one const X* pointer from another in
14986 an arm of an if-expression whose if-part is not a constant
14988 const char *g = "string";
14989 pcpcc = &g + (g ? g-g : 0);
14990 /* HPUX 7.0 cc rejects these. */
14992 ppc = (char**) pcpcc;
14993 pcpcc = (char const *const *) ppc;
14994 { /* SCO 3.2v4 cc rejects this. */
14996 char const *s = 0 ? (char *) 0 : (char const *) 0;
15001 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15002 int x[] = {25, 17};
15003 const int *foo = &x[0];
15006 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15007 typedef const int *iptr;
15011 { /* AIX XL C 1.02.0.0 rejects this saying
15012 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15013 struct s { int j; const int *ap[3]; };
15014 struct s *b; b->j = 5;
15016 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15017 const int foo = 10;
15018 if (!foo) return 0;
15020 return !cs[0] && !zero.x;
15027 if ac_fn_c_try_compile "$LINENO"; then :
15032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15035 $as_echo "$ac_cv_c_const" >&6; }
15036 if test $ac_cv_c_const = no; then
15038 $as_echo "#define const /**/" >>confdefs.h
15042 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15043 if test "x$ac_cv_type_size_t" = x""yes; then :
15047 cat >>confdefs.h <<_ACEOF
15048 #define size_t unsigned int
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
15054 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
15055 if test "${ac_cv_struct_tm+set}" = set; then :
15056 $as_echo_n "(cached) " >&6
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 #include <sys/types.h>
15067 int *p = &tm.tm_sec;
15073 if ac_fn_c_try_compile "$LINENO"; then :
15074 ac_cv_struct_tm=time.h
15076 ac_cv_struct_tm=sys/time.h
15078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
15081 $as_echo "$ac_cv_struct_tm" >&6; }
15082 if test $ac_cv_struct_tm = sys/time.h; then
15084 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
15089 # Checks for library functions.
15090 for ac_func in strcasecmp
15092 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
15093 if test "x$ac_cv_func_strcasecmp" = x""yes; then :
15094 cat >>confdefs.h <<_ACEOF
15095 #define HAVE_STRCASECMP 1
15102 # checks for pthreads
15106 ac_cpp='$CPP $CPPFLAGS'
15107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15113 # We used to check for pthread.h first, but this fails if pthread.h
15114 # requires special compiler flags (e.g. on True64 or Sequent).
15115 # It gets checked for in the link test anyway.
15117 # First of all, check if the user has set any of the PTHREAD_LIBS,
15118 # etcetera environment variables, and if threads linking works using
15120 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
15121 save_CFLAGS="$CFLAGS"
15122 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15124 LIBS="$PTHREAD_LIBS $LIBS"
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
15126 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15130 /* Override any GCC internal prototype to avoid an error.
15131 Use char because int might match the return type of a GCC
15132 builtin and then its argument prototype would still apply. */
15136 char pthread_join ();
15140 return pthread_join ();
15145 if ac_fn_c_try_link "$LINENO"; then :
15148 rm -f core conftest.err conftest.$ac_objext \
15149 conftest$ac_exeext conftest.$ac_ext
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
15151 $as_echo "$acx_pthread_ok" >&6; }
15152 if test x"$acx_pthread_ok" = xno; then
15157 CFLAGS="$save_CFLAGS"
15160 # We must check for the threads library under a number of different
15161 # names; the ordering is very important because some systems
15162 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
15163 # libraries is broken (non-POSIX).
15165 # Create a list of thread flags to try. Items starting with a "-" are
15166 # C compiler flags, and other items are library names, except for "none"
15167 # which indicates that we try without any flags at all, and "pthread-config"
15168 # which is a program returning the flags for the Pth emulation library.
15170 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
15172 # The ordering *is* (sometimes) important. Some notes on the
15173 # individual items follow:
15175 # pthreads: AIX (must check this before -lpthread)
15176 # none: in case threads are in libc; should be tried before -Kthread and
15177 # other compiler flags to prevent continual compiler warnings
15178 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
15179 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
15180 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
15181 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
15182 # -pthreads: Solaris/gcc
15183 # -mthreads: Mingw32/gcc, Lynx/gcc
15184 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
15185 # doesn't hurt to check since this sometimes defines pthreads too;
15186 # also defines -D_REENTRANT)
15187 # ... -mt is also the pthreads flag for HP/aCC
15188 # pthread: Linux, etcetera
15189 # --thread-safe: KAI C++
15190 # pthread-config: use pthread-config program (for GNU Pth library)
15192 case "${host_cpu}-${host_os}" in
15195 # On Solaris (at least, for some versions), libc contains stubbed
15196 # (non-functional) versions of the pthreads routines, so link-based
15197 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
15198 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
15199 # a function called by this macro, so we could check for that, but
15200 # who knows whether they'll stub that too in a future libc.) So,
15201 # we'll just look for -pthreads and -lpthread first:
15203 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
15207 if test x"$acx_pthread_ok" = xno; then
15208 for flag in $acx_pthread_flags; do
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
15213 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
15218 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
15219 PTHREAD_CFLAGS="$flag"
15223 # Extract the first word of "pthread-config", so it can be a program name with args.
15224 set dummy pthread-config; ac_word=$2
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15226 $as_echo_n "checking for $ac_word... " >&6; }
15227 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
15228 $as_echo_n "(cached) " >&6
15230 if test -n "$acx_pthread_config"; then
15231 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
15233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15234 for as_dir in $PATH
15237 test -z "$as_dir" && as_dir=.
15238 for ac_exec_ext in '' $ac_executable_extensions; do
15239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15240 ac_cv_prog_acx_pthread_config="yes"
15241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15248 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
15251 acx_pthread_config=$ac_cv_prog_acx_pthread_config
15252 if test -n "$acx_pthread_config"; then
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
15254 $as_echo "$acx_pthread_config" >&6; }
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15257 $as_echo "no" >&6; }
15261 if test x"$acx_pthread_config" = xno; then continue; fi
15262 PTHREAD_CFLAGS="`pthread-config --cflags`"
15263 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
15268 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
15269 PTHREAD_LIBS="-l$flag"
15274 save_CFLAGS="$CFLAGS"
15275 LIBS="$PTHREAD_LIBS $LIBS"
15276 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15278 # Check for various functions. We must include pthread.h,
15279 # since some functions may be macros. (On the Sequent, we
15280 # need a special flag -Kthread to make this header compile.)
15281 # We check for pthread_join because it is in -lpthread on IRIX
15282 # while pthread_create is in libc. We check for pthread_attr_init
15283 # due to DEC craziness with -lpthreads. We check for
15284 # pthread_cleanup_push because it is one of the few pthread
15285 # functions on Solaris that doesn't have a non-functional libc stub.
15286 # We try pthread_create on general principles.
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 #include <pthread.h>
15293 pthread_t th; pthread_join(th, 0);
15294 pthread_attr_init(0); pthread_cleanup_push(0, 0);
15295 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
15300 if ac_fn_c_try_link "$LINENO"; then :
15303 rm -f core conftest.err conftest.$ac_objext \
15304 conftest$ac_exeext conftest.$ac_ext
15307 CFLAGS="$save_CFLAGS"
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
15310 $as_echo "$acx_pthread_ok" >&6; }
15311 if test "x$acx_pthread_ok" = xyes; then
15320 # Various other checks:
15321 if test "x$acx_pthread_ok" = xyes; then
15323 LIBS="$PTHREAD_LIBS $LIBS"
15324 save_CFLAGS="$CFLAGS"
15325 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
15327 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
15329 $as_echo_n "checking for joinable pthread attribute... " >&6; }
15331 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15334 #include <pthread.h>
15338 int attr=$attr; return attr;
15343 if ac_fn_c_try_link "$LINENO"; then :
15344 attr_name=$attr; break
15346 rm -f core conftest.err conftest.$ac_objext \
15347 conftest$ac_exeext conftest.$ac_ext
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
15350 $as_echo "$attr_name" >&6; }
15351 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
15353 cat >>confdefs.h <<_ACEOF
15354 #define PTHREAD_CREATE_JOINABLE $attr_name
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
15360 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
15362 case "${host_cpu}-${host_os}" in
15363 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
15364 *-osf* | *-hpux*) flag="-D_REENTRANT";;
15366 if test "$GCC" = "yes"; then
15367 flag="-D_REENTRANT"
15369 flag="-mt -D_REENTRANT"
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
15374 $as_echo "${flag}" >&6; }
15375 if test "x$flag" != xno; then
15376 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
15380 CFLAGS="$save_CFLAGS"
15382 # More AIX lossage: must compile with xlc_r or cc_r
15383 if test x"$GCC" != xyes; then
15384 for ac_prog in xlc_r cc_r
15386 # Extract the first word of "$ac_prog", so it can be a program name with args.
15387 set dummy $ac_prog; ac_word=$2
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15389 $as_echo_n "checking for $ac_word... " >&6; }
15390 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
15391 $as_echo_n "(cached) " >&6
15393 if test -n "$PTHREAD_CC"; then
15394 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
15396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15397 for as_dir in $PATH
15400 test -z "$as_dir" && as_dir=.
15401 for ac_exec_ext in '' $ac_executable_extensions; do
15402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15403 ac_cv_prog_PTHREAD_CC="$ac_prog"
15404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15413 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
15414 if test -n "$PTHREAD_CC"; then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
15416 $as_echo "$PTHREAD_CC" >&6; }
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15419 $as_echo "no" >&6; }
15423 test -n "$PTHREAD_CC" && break
15425 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
15438 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15439 if test x"$acx_pthread_ok" = xyes; then
15440 enable_threads="pthread"
15444 enable_threads="no"
15447 ac_cpp='$CPP $CPPFLAGS'
15448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15453 if test $enable_threads != "pthread"; then
15454 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
15457 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
15459 LIBS="$PTHREAD_LIBS $LIBS"
15460 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
15461 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
15465 ac_cpp='$CXXCPP $CPPFLAGS'
15466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
15473 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
15474 if test "${ac_cv_cxx_namespaces+set}" = set; then :
15475 $as_echo_n "(cached) " >&6
15479 ac_cpp='$CXXCPP $CPPFLAGS'
15480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15485 /* end confdefs.h. */
15486 namespace Outer { namespace Inner { int i = 0; }}
15490 using namespace Outer::Inner; return i;
15495 if ac_fn_cxx_try_compile "$LINENO"; then :
15496 ac_cv_cxx_namespaces=yes
15498 ac_cv_cxx_namespaces=no
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15502 ac_cpp='$CXXCPP $CPPFLAGS'
15503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
15510 $as_echo "$ac_cv_cxx_namespaces" >&6; }
15511 if test "$ac_cv_cxx_namespaces" = yes; then
15513 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
15518 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
15519 if test "${ac_cv_cxx_have_stl+set}" = set; then :
15520 $as_echo_n "(cached) " >&6
15525 ac_cpp='$CXXCPP $CPPFLAGS'
15526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15534 #ifdef HAVE_NAMESPACES
15535 using namespace std;
15540 list<int> x; x.push_back(5);
15541 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
15546 if ac_fn_cxx_try_compile "$LINENO"; then :
15547 ac_cv_cxx_have_stl=yes
15549 ac_cv_cxx_have_stl=no
15551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15553 ac_cpp='$CXXCPP $CPPFLAGS'
15554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
15561 $as_echo "$ac_cv_cxx_have_stl" >&6; }
15562 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
15563 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
15567 # are covariant methods allowed?
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15575 class base { public: virtual base *GetPtr( void ) { return this; } };
15576 class derived: virtual public base { public: virtual derived *GetPtr( void ) { return this; } };
15582 if ac_fn_cxx_try_link "$LINENO"; then :
15584 $as_echo "#define HAVE_COVARIANT_RETURNS 1" >>confdefs.h
15587 rm -f core conftest.err conftest.$ac_objext \
15588 conftest$ac_exeext conftest.$ac_ext
15590 # is nullptr supported?
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15597 const char* ptr = nullptr;
15602 if ac_fn_cxx_try_compile "$LINENO"; then :
15604 $as_echo "#define HAVE_NULLPTR 1" >>confdefs.h
15607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15609 # log4shib settings (favor this version over the log4cpp code)
15610 # Extract the first word of "log4shib-config", so it can be a program name with args.
15611 set dummy log4shib-config; ac_word=$2
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15613 $as_echo_n "checking for $ac_word... " >&6; }
15614 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
15615 $as_echo_n "(cached) " >&6
15617 case $LOG4SHIB_CONFIG in
15619 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
15622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15623 for as_dir in $PATH
15626 test -z "$as_dir" && as_dir=.
15627 for ac_exec_ext in '' $ac_executable_extensions; do
15628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15629 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15640 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
15641 if test -n "$LOG4SHIB_CONFIG"; then
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
15643 $as_echo "$LOG4SHIB_CONFIG" >&6; }
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15646 $as_echo "no" >&6; }
15651 # Check whether --with-log4shib was given.
15652 if test "${with_log4shib+set}" = set; then :
15653 withval=$with_log4shib;
15654 LOG4SHIB_CONFIG="${with_log4shib}"
15655 if ! test -f "${LOG4SHIB_CONFIG}" ; then
15656 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
15661 if test -f "${LOG4SHIB_CONFIG}"; then
15662 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
15663 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
15665 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
15666 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
15669 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15675 #include <log4shib/Category.hh>
15676 #include <log4shib/CategoryStream.hh>
15680 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
15685 if ac_fn_cxx_try_link "$LINENO"; then :
15687 $as_echo "#define SHIBRESOLVER_LOG4SHIB 1" >>confdefs.h
15690 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
15692 rm -f core conftest.err conftest.$ac_objext \
15693 conftest$ac_exeext conftest.$ac_ext
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
15696 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
15698 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
15701 # Extract the first word of "log4cpp-config", so it can be a program name with args.
15702 set dummy log4cpp-config; ac_word=$2
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15704 $as_echo_n "checking for $ac_word... " >&6; }
15705 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
15706 $as_echo_n "(cached) " >&6
15708 case $LOG4CPP_CONFIG in
15710 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
15713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15714 for as_dir in $PATH
15717 test -z "$as_dir" && as_dir=.
15718 for ac_exec_ext in '' $ac_executable_extensions; do
15719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15720 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15731 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
15732 if test -n "$LOG4CPP_CONFIG"; then
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
15734 $as_echo "$LOG4CPP_CONFIG" >&6; }
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15737 $as_echo "no" >&6; }
15742 # Check whether --with-log4cpp was given.
15743 if test "${with_log4cpp+set}" = set; then :
15744 withval=$with_log4cpp;
15745 LOG4CPP_CONFIG="${with_log4cpp}"
15746 if ! test -f "${LOG4CPP_CONFIG}" ; then
15747 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
15752 if test -f "${LOG4CPP_CONFIG}"; then
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5
15754 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
15755 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
15756 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
15757 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
15758 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
15761 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15767 #include <log4cpp/Category.hh>
15768 #include <log4cpp/CategoryStream.hh>
15772 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
15777 if ac_fn_cxx_try_link "$LINENO"; then :
15779 $as_echo "#define SHIBRESOLVER_LOG4CPP 1" >>confdefs.h
15782 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
15784 rm -f core conftest.err conftest.$ac_objext \
15785 conftest$ac_exeext conftest.$ac_ext
15787 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
15794 # Check whether --with-xerces was given.
15795 if test "${with_xerces+set}" = set; then :
15796 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
15797 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
15798 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
15802 LIBS="-lxerces-c $LIBS"
15803 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
15804 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
15807 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
15812 $as_echo_n "checking Xerces version... " >&6; }
15813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15815 #include <xercesc/util/XercesVersion.hpp>
15819 #if _XERCES_VERSION != 20600
15822 #error cannot use version 2.6.0
15828 if ac_fn_cxx_try_cpp "$LINENO"; then :
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
15830 $as_echo "OK" >&6; }
15832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15834 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
15835 See \`config.log' for more details" "$LINENO" 5 ; }
15837 rm -f conftest.err conftest.i conftest.$ac_ext
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15840 #include <xercesc/util/PlatformUtils.hpp>
15844 xercesc::XMLPlatformUtils::Initialize()
15849 if ac_fn_cxx_try_link "$LINENO"; then :
15852 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
15854 rm -f core conftest.err conftest.$ac_objext \
15855 conftest$ac_exeext conftest.$ac_ext
15858 #XML-Tooling settings
15860 # Check whether --with-xmltooling was given.
15861 if test "${with_xmltooling+set}" = set; then :
15862 withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
15863 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
15864 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
15868 LITE_LIBS="-lxmltooling-lite"
15869 XMLSEC_LIBS="-lxmltooling"
15870 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/base.h" "ac_cv_header_xmltooling_base_h" "$ac_includes_default"
15871 if test "x$ac_cv_header_xmltooling_base_h" = x""yes; then :
15874 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
15879 # XML-Security settings
15881 # Check whether --with-xmlsec was given.
15882 if test "${with_xmlsec+set}" = set; then :
15883 withval=$with_xmlsec;
15889 if test x_$with_xmlsec != x_/usr; then
15890 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
15891 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
15893 XMLSEC_LIBS="-lxml-security-c $XMLSEC_LIBS"
15895 # save and append master libs
15897 LIBS="$XMLSEC_LIBS $LIBS"
15899 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
15900 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
15903 as_fn_error $? "unable to find XML-Security header files" "$LINENO" 5
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
15908 $as_echo_n "checking XML-Security version... " >&6; }
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #include <xsec/utils/XSECPlatformUtils.hpp>
15915 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
15918 #error need version 1.4.0 or later
15924 if ac_fn_cxx_try_cpp "$LINENO"; then :
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
15926 $as_echo "OK" >&6; }
15928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15930 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
15931 See \`config.log' for more details" "$LINENO" 5 ; }
15933 rm -f conftest.err conftest.i conftest.$ac_ext
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15936 #include <xsec/utils/XSECPlatformUtils.hpp>
15940 XSECPlatformUtils::Initialise()
15945 if ac_fn_cxx_try_link "$LINENO"; then :
15948 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
15950 rm -f core conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15953 # restore master libs
15956 # OpenSAML settings
15958 # Check whether --with-saml was given.
15959 if test "${with_saml+set}" = set; then :
15960 withval=$with_saml; if test x_$with_saml != x_/usr; then
15961 LDFLAGS="-L${with_saml}/lib $LDFLAGS"
15962 CPPFLAGS="-I${with_saml}/include $CPPFLAGS"
15966 XMLSEC_LIBS="-lsaml $XMLSEC_LIBS"
15968 # save and append master libs
15970 LIBS="$XMLSEC_LIBS $LIBS"
15972 ac_fn_cxx_check_header_mongrel "$LINENO" "saml/saml2/metadata/Metadata.h" "ac_cv_header_saml_saml2_metadata_Metadata_h" "$ac_includes_default"
15973 if test "x$ac_cv_header_saml_saml2_metadata_Metadata_h" = x""yes; then :
15976 as_fn_error $? "unable to find OpenSAML header files" "$LINENO" 5
15980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15981 /* end confdefs.h. */
15982 #include <saml/SAMLConfig.h>
15986 opensaml::SAMLConfig::getConfig()
15991 if ac_fn_cxx_try_link "$LINENO"; then :
15994 as_fn_error $? "unable to link with OpenSAML" "$LINENO" 5
15996 rm -f core conftest.err conftest.$ac_objext \
15997 conftest$ac_exeext conftest.$ac_ext
15999 # restore master libs
16002 # Shibboleth SP settings
16004 # Check whether --with-shibsp was given.
16005 if test "${with_shibsp+set}" = set; then :
16006 withval=$with_shibsp; if test x_$with_shibsp != x_/usr; then
16007 LDFLAGS="-L${with_shibsp}/lib $LDFLAGS"
16008 CPPFLAGS="-I${with_shibsp}/include $CPPFLAGS"
16012 LITE_LIBS="-lshibsp-lite $LITE_LIBS"
16013 XMLSEC_LIBS="-lshibsp $XMLSEC_LIBS"
16015 # save and append master libs
16017 LIBS="$XMLSEC_LIBS $LIBS"
16019 ac_fn_cxx_check_header_mongrel "$LINENO" "shibsp/SPConfig.h" "ac_cv_header_shibsp_SPConfig_h" "$ac_includes_default"
16020 if test "x$ac_cv_header_shibsp_SPConfig_h" = x""yes; then :
16023 as_fn_error $? "unable to find Shibboleth SP header files" "$LINENO" 5
16027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16029 #include <shibsp/SPConfig.h>
16033 shibsp::SPConfig::getConfig()
16038 if ac_fn_cxx_try_link "$LINENO"; then :
16041 as_fn_error $? "unable to link with Shibboleth SP" "$LINENO" 5
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SP library supports non-plugin remoting" >&5
16047 $as_echo_n "checking whether SP library supports non-plugin remoting... " >&6; }
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16052 #include <shibsp/ServiceProvider.h>
16057 shibsp::ServiceProvider* sp; sp->regListener(NULL,NULL);
16062 if ac_fn_cxx_try_compile "$LINENO"; then :
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16064 $as_echo "yes" >&6; }
16065 $as_echo "#define SHIBRESOLVER_SHIBSP_HAS_REMOTING 1" >>confdefs.h
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16069 $as_echo "no" >&6; }
16071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16073 # restore master libs
16080 # Check whether --with-gssapi-includes was given.
16081 if test "${with_gssapi_includes+set}" = set; then :
16082 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
16089 # Check whether --with-gssapi-libs was given.
16090 if test "${with_gssapi_libs+set}" = set; then :
16091 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
16098 # Check whether --with-gssapi was given.
16099 if test "${with_gssapi+set}" = set; then :
16100 withval=$with_gssapi; GSSAPI_ROOT="$withval"
16101 if test x"$GSSAPI_ROOT" != xno; then
16103 if test x"$GSSAPI_ROOT" = xyes; then
16111 save_CPPFLAGS="$CPPFLAGS"
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSSAPI support is requested" >&5
16113 $as_echo_n "checking if GSSAPI support is requested... " >&6; }
16114 if test x"$want_gss" = xyes; then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16116 $as_echo "yes" >&6; }
16118 if test -z "$GSSAPI_INCS"; then
16119 if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
16120 GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
16121 elif test "$GSSAPI_ROOT" != "yes"; then
16122 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
16126 CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
16128 ac_fn_cxx_check_header_mongrel "$LINENO" "gss.h" "ac_cv_header_gss_h" "$ac_includes_default"
16129 if test "x$ac_cv_header_gss_h" = x""yes; then :
16132 $as_echo "#define SHIBRESOLVER_HAVE_GSSGNU 1" >>confdefs.h
16138 for ac_header in gssapi/gssapi.h
16140 ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
16141 if test "x$ac_cv_header_gssapi_gssapi_h" = x""yes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_GSSAPI_GSSAPI_H 1
16152 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
16154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16155 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
16156 $ac_includes_default
16157 #ifdef HAVE_GSSAPI_GSSAPI_H
16158 #include <gssapi/gssapi.h>
16162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16173 if test "x$not_mit" = "x1"; then
16174 ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
16175 if test "x$ac_cv_header_gssapi_h" = x""yes; then :
16178 $as_echo "#define SHIBRESOLVER_HAVE_GSSHEIMDAL 1" >>confdefs.h
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSSAPI since no header files was found" >&5
16185 $as_echo "$as_me: WARNING: disabling GSSAPI since no header files was found" >&2;}
16193 $as_echo "#define SHIBRESOLVER_HAVE_GSSMIT 1" >>confdefs.h
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5
16196 $as_echo_n "checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16201 #include <gssapi/gssapi.h>
16202 #include <gssapi/gssapi_generic.h>
16203 #include <gssapi/gssapi_krb5.h>
16212 GSS_C_NT_HOSTBASED_SERVICE,
16220 if ac_fn_cxx_try_compile "$LINENO"; then :
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16223 $as_echo "yes" >&6; }
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16228 $as_echo "no" >&6; }
16230 $as_echo "#define HAVE_OLD_GSSMIT 1" >>confdefs.h
16234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16243 $as_echo "no" >&6; }
16245 if test x"$want_gss" = xyes; then
16247 $as_echo "#define SHIBRESOLVER_HAVE_GSSAPI 1" >>confdefs.h
16250 if test -n "$gnu_gss"; then
16251 LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
16254 if test -z "$GSSAPI_LIB_DIR"; then
16255 GSSAPI_LIB_DIR="$GSSAPI_ROOT/lib$libsuff"
16257 if test "$GSSAPI_ROOT" != "yes"; then
16258 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
16260 if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
16261 gss_libs=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
16263 if test "x$not_mit" = "x1"; then
16264 gss_libs="-lgssapi"
16266 gss_libs="-lgssapi_krb5"
16269 LIBS="$LIBS $gss_libs"
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GSS-API naming extensions are available" >&5
16273 $as_echo_n "checking whether GSS-API naming extensions are available... " >&6; }
16274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h. */
16276 #include <gssapi/gssapi_ext.h>
16280 gss_get_name_attribute(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
16285 if ac_fn_cxx_try_compile "$LINENO"; then :
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16287 $as_echo "yes" >&6; }
16288 $as_echo "#define SHIBRESOLVER_HAVE_GSSAPI_NAMINGEXTS 1" >>confdefs.h
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16292 $as_echo "no" >&6; }
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16297 CPPFLAGS="$save_CPPFLAGS"
16304 LIBTOOL="$LIBTOOL --silent"
16306 cat >confcache <<\_ACEOF
16307 # This file is a shell script that caches the results of configure
16308 # tests run on this system so they can be shared between configure
16309 # scripts and configure runs, see configure's option --config-cache.
16310 # It is not useful on other systems. If it contains results you don't
16311 # want to keep, you may remove or edit it.
16313 # config.status only pays attention to the cache file if you give it
16314 # the --recheck option to rerun configure.
16316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16318 # following values.
16322 # The following way of writing the cache mishandles newlines in values,
16323 # but we know of no workaround that is simple, portable, and efficient.
16324 # So, we kill variables containing newlines.
16325 # Ultrix sh set writes to stderr and can't be redirected directly,
16326 # and sets the high bit in the cache file unless we assign to the vars.
16328 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16329 eval ac_val=\$$ac_var
16333 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16334 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16337 _ | IFS | as_nl) ;; #(
16338 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16339 *) { eval $ac_var=; unset $ac_var;} ;;
16345 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16346 *${as_nl}ac_space=\ *)
16347 # `set' does not quote correctly, so add quotes: double-quote
16348 # substitution turns \\\\ into \\, and sed turns \\ into \.
16351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16354 # `set' quotes correctly as required by POSIX, so do not add quotes.
16355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16364 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16366 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16368 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16369 if test -w "$cache_file"; then
16370 test "x$cache_file" != "x/dev/null" &&
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16372 $as_echo "$as_me: updating cache $cache_file" >&6;}
16373 cat confcache >$cache_file
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16376 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16381 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16382 # Let make expand exec_prefix.
16383 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16385 DEFS=-DHAVE_CONFIG_H
16390 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16391 # 1. Remove the extension, and $U if already installed.
16392 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16393 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16394 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16395 # will be set to the directory where LIBOBJS objects are built.
16396 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16397 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16399 LIBOBJS=$ac_libobjs
16401 LTLIBOBJS=$ac_ltlibobjs
16404 if test -n "$EXEEXT"; then
16406 am__EXEEXT_FALSE='#'
16408 am__EXEEXT_TRUE='#'
16412 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16413 as_fn_error $? "conditional \"AMDEP\" was never defined.
16414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16416 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16417 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16420 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16421 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16424 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16425 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16428 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16429 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16433 : ${CONFIG_STATUS=./config.status}
16435 ac_clean_files_save=$ac_clean_files
16436 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16438 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16440 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16442 # Generated by $as_me.
16443 # Run this file to recreate the current configuration.
16444 # Compiler output produced by configure, useful for debugging
16445 # configure, is in config.log if it exists.
16448 ac_cs_recheck=false
16451 SHELL=\${CONFIG_SHELL-$SHELL}
16454 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16455 ## -------------------- ##
16456 ## M4sh Initialization. ##
16457 ## -------------------- ##
16459 # Be more Bourne compatible
16460 DUALCASE=1; export DUALCASE # for MKS sh
16461 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16464 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16465 # is contrary to our usage. Disable this feature.
16466 alias -g '${1+"$@"}'='"$@"'
16467 setopt NO_GLOB_SUBST
16469 case `(set -o) 2>/dev/null` in #(
16481 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16482 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16485 # Prefer a ksh shell builtin over an external printf program on Solaris,
16486 # but without wasting forks for bash or zsh.
16487 if test -z "$BASH_VERSION$ZSH_VERSION" \
16488 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16489 as_echo='print -r --'
16490 as_echo_n='print -rn --'
16491 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16492 as_echo='printf %s\n'
16493 as_echo_n='printf %s'
16495 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16496 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16497 as_echo_n='/usr/ucb/echo -n'
16499 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16500 as_echo_n_body='eval
16504 expr "X$arg" : "X\\(.*\\)$as_nl";
16505 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16507 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16509 export as_echo_n_body
16510 as_echo_n='sh -c $as_echo_n_body as_echo'
16512 export as_echo_body
16513 as_echo='sh -c $as_echo_body as_echo'
16516 # The user is always right.
16517 if test "${PATH_SEPARATOR+set}" != set; then
16519 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16520 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16527 # We need space, tab and new line, in precisely that order. Quoting is
16528 # there to prevent editors from complaining about space-tab.
16529 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16530 # splitting by setting IFS to empty value.)
16533 # Find who we are. Look in the path if we contain no directory separator.
16535 *[\\/]* ) as_myself=$0 ;;
16536 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16537 for as_dir in $PATH
16540 test -z "$as_dir" && as_dir=.
16541 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16547 # We did not find ourselves, most probably we were run as `sh COMMAND'
16548 # in which case we are not to be found in the path.
16549 if test "x$as_myself" = x; then
16552 if test ! -f "$as_myself"; then
16553 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16557 # Unset variables that we do not need and which cause bugs (e.g. in
16558 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16559 # suppresses any "Segmentation fault" message there. '((' could
16560 # trigger a bug in pdksh 5.2.14.
16561 for as_var in BASH_ENV ENV MAIL MAILPATH
16562 do eval test x\${$as_var+set} = xset \
16563 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16580 # ----------------------------------------
16581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16583 # script with STATUS, using 1 if that was 0.
16586 as_status=$1; test $as_status -eq 0 && as_status=1
16588 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16589 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16591 $as_echo "$as_me: error: $2" >&2
16592 as_fn_exit $as_status
16596 # as_fn_set_status STATUS
16597 # -----------------------
16598 # Set $? to STATUS, without forking.
16599 as_fn_set_status ()
16602 } # as_fn_set_status
16604 # as_fn_exit STATUS
16605 # -----------------
16606 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16610 as_fn_set_status $1
16616 # Portably unset VAR.
16619 { eval $1=; unset $1;}
16621 as_unset=as_fn_unset
16622 # as_fn_append VAR VALUE
16623 # ----------------------
16624 # Append the text in VALUE to the end of the definition contained in VAR. Take
16625 # advantage of any shell optimizations that allow amortized linear growth over
16626 # repeated appends, instead of the typical quadratic growth present in naive
16628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16629 eval 'as_fn_append ()
16640 # as_fn_arith ARG...
16641 # ------------------
16642 # Perform arithmetic evaluation on the ARGs, and store the result in the
16643 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16644 # must be portable across $(()) and expr.
16645 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16646 eval 'as_fn_arith ()
16653 as_val=`expr "$@" || test $? -eq 1`
16658 if expr a : '\(a\)' >/dev/null 2>&1 &&
16659 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16665 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16666 as_basename=basename
16671 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16677 as_me=`$as_basename -- "$0" ||
16678 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16679 X"$0" : 'X\(//\)$' \| \
16680 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16682 sed '/^.*\/\([^/][^/]*\)\/*$/{
16696 # Avoid depending upon Character Ranges.
16697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16700 as_cr_digits='0123456789'
16701 as_cr_alnum=$as_cr_Letters$as_cr_digits
16703 ECHO_C= ECHO_N= ECHO_T=
16704 case `echo -n x` in #(((((
16706 case `echo 'xy\c'` in
16707 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16709 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16716 rm -f conf$$ conf$$.exe conf$$.file
16717 if test -d conf$$.dir; then
16718 rm -f conf$$.dir/conf$$.file
16721 mkdir conf$$.dir 2>/dev/null
16723 if (echo >conf$$.file) 2>/dev/null; then
16724 if ln -s conf$$.file conf$$ 2>/dev/null; then
16726 # ... but there are two gotchas:
16727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16729 # In both cases, we have to default to `cp -p'.
16730 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16732 elif ln conf$$.file conf$$ 2>/dev/null; then
16740 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16741 rmdir conf$$.dir 2>/dev/null
16746 # Create "$as_dir" as a directory, including parents if necessary.
16751 -*) as_dir=./$as_dir;;
16753 test -d "$as_dir" || eval $as_mkdir_p || {
16757 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16758 *) as_qdir=$as_dir;;
16760 as_dirs="'$as_qdir' $as_dirs"
16761 as_dir=`$as_dirname -- "$as_dir" ||
16762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16763 X"$as_dir" : 'X\(//\)[^/]' \| \
16764 X"$as_dir" : 'X\(//\)$' \| \
16765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16766 $as_echo X"$as_dir" |
16767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16771 /^X\(\/\/\)[^/].*/{
16784 test -d "$as_dir" && break
16786 test -z "$as_dirs" || eval "mkdir $as_dirs"
16787 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16791 if mkdir -p . 2>/dev/null; then
16792 as_mkdir_p='mkdir -p "$as_dir"'
16794 test -d ./-p && rmdir ./-p
16798 if test -x / >/dev/null 2>&1; then
16799 as_test_x='test -x'
16801 if ls -dL / >/dev/null 2>&1; then
16808 if test -d "$1"; then
16814 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16815 ???[sx]*):;;*)false;;esac;fi
16819 as_executable_p=$as_test_x
16821 # Sed expression to map a string onto a valid CPP name.
16822 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16824 # Sed expression to map a string onto a valid variable name.
16825 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16829 ## ----------------------------------- ##
16830 ## Main body of $CONFIG_STATUS script. ##
16831 ## ----------------------------------- ##
16833 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16836 # Save the log message, to keep $0 and so on meaningful, and to
16837 # report actual input values of CONFIG_FILES etc. instead of their
16838 # values after options handling.
16840 This file was extended by shibboleth-resolver $as_me 0.2, which was
16841 generated by GNU Autoconf 2.67. Invocation command line was
16843 CONFIG_FILES = $CONFIG_FILES
16844 CONFIG_HEADERS = $CONFIG_HEADERS
16845 CONFIG_LINKS = $CONFIG_LINKS
16846 CONFIG_COMMANDS = $CONFIG_COMMANDS
16849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16854 case $ac_config_files in *"
16855 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16858 case $ac_config_headers in *"
16859 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864 # Files that config.status was made for.
16865 config_files="$ac_config_files"
16866 config_headers="$ac_config_headers"
16867 config_commands="$ac_config_commands"
16871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16873 \`$as_me' instantiates files and other configuration actions
16874 from templates according to the current configuration. Unless the files
16875 and actions are specified as TAGs, all are instantiated by default.
16877 Usage: $0 [OPTION]... [TAG]...
16879 -h, --help print this help, then exit
16880 -V, --version print version number and configuration settings, then exit
16881 --config print configuration, then exit
16882 -q, --quiet, --silent
16883 do not print progress messages
16884 -d, --debug don't remove temporary files
16885 --recheck update $as_me by reconfiguring in the same conditions
16886 --file=FILE[:TEMPLATE]
16887 instantiate the configuration file FILE
16888 --header=FILE[:TEMPLATE]
16889 instantiate the configuration header FILE
16891 Configuration files:
16894 Configuration headers:
16897 Configuration commands:
16900 Report bugs to <MOONSHOT-COMMUNITY@JISCMAIL.AC.UK>."
16903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16906 shibboleth-resolver config.status 0.2
16907 configured by $0, generated by GNU Autoconf 2.67,
16908 with options \\"\$ac_cs_config\\"
16910 Copyright (C) 2010 Free Software Foundation, Inc.
16911 This config.status script is free software; the Free Software Foundation
16912 gives unlimited permission to copy, distribute and modify it."
16919 test -n "\$AWK" || AWK=awk
16922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16923 # The default lists apply if the user does not specify any file.
16929 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16930 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16934 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16946 # Handling of the options.
16947 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16949 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16950 $as_echo "$ac_cs_version"; exit ;;
16951 --config | --confi | --conf | --con | --co | --c )
16952 $as_echo "$ac_cs_config"; exit ;;
16953 --debug | --debu | --deb | --de | --d | -d )
16955 --file | --fil | --fi | --f )
16958 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16959 '') as_fn_error $? "missing file argument" ;;
16961 as_fn_append CONFIG_FILES " '$ac_optarg'"
16962 ac_need_defaults=false;;
16963 --header | --heade | --head | --hea )
16966 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16968 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16969 ac_need_defaults=false;;
16971 # Conflict between --help and --header
16972 as_fn_error $? "ambiguous option: \`$1'
16973 Try \`$0 --help' for more information.";;
16974 --help | --hel | -h )
16975 $as_echo "$ac_cs_usage"; exit ;;
16976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16977 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16980 # This is an error.
16981 -*) as_fn_error $? "unrecognized option: \`$1'
16982 Try \`$0 --help' for more information." ;;
16984 *) as_fn_append ac_config_targets " $1"
16985 ac_need_defaults=false ;;
16991 ac_configure_extra_args=
16993 if $ac_cs_silent; then
16995 ac_configure_extra_args="$ac_configure_extra_args --silent"
16999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17000 if \$ac_cs_recheck; then
17001 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17003 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17004 CONFIG_SHELL='$SHELL'
17005 export CONFIG_SHELL
17010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17014 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17015 ## Running $as_me. ##
17021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17025 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17028 # The HP-UX ksh and POSIX shell print the target directory to stdout
17029 # if CDPATH is set.
17030 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17032 sed_quote_subst='$sed_quote_subst'
17033 double_quote_subst='$double_quote_subst'
17034 delay_variable_subst='$delay_variable_subst'
17035 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17036 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17037 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17038 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17039 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17040 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17041 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17042 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17043 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17044 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17045 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17046 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17047 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17048 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17049 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17050 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17051 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17052 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17053 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17054 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17055 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17056 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17057 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17058 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17059 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17060 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17061 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17062 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17063 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17064 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17065 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17066 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17067 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17068 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17069 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17070 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17071 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17072 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17073 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17074 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17075 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17076 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17077 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17078 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17079 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"`'
17080 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"`'
17081 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17082 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17083 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17084 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17085 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17086 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17087 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17088 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17089 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17090 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17091 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17092 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17093 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17094 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17095 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17096 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17097 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17098 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17099 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17100 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17101 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17102 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17103 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17104 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17105 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17106 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17107 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17108 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17109 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17110 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17111 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17112 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17113 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17114 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17115 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17116 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17117 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17118 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17119 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17120 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17121 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17122 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17123 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17124 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17125 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17126 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17127 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17128 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17129 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17130 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17131 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17132 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17133 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17134 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17135 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17136 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17137 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17138 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17139 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17140 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17141 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17142 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17143 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17144 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17145 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17146 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17147 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17148 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17149 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17150 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17151 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17152 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17153 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17154 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17155 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17156 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17157 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17158 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17159 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17160 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17161 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17162 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17163 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17164 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17165 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17166 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17167 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17168 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17169 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17170 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17171 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17172 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17173 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17174 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17175 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17176 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17177 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17178 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17179 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17180 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17181 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17182 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17183 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17184 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17185 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17186 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17187 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17188 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17189 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17190 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17191 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17192 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17193 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17194 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17195 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17196 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17197 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17198 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17199 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17200 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17201 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17202 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17203 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17204 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17205 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17208 LTCFLAGS='$LTCFLAGS'
17209 compiler='$compiler_DEFAULT'
17211 # Quote evaled strings.
17223 deplibs_check_method \
17232 lt_cv_sys_global_symbol_pipe \
17233 lt_cv_sys_global_symbol_to_cdecl \
17234 lt_cv_sys_global_symbol_to_c_name_address \
17235 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17238 lt_prog_compiler_no_builtin_flag \
17239 lt_prog_compiler_wl \
17240 lt_prog_compiler_pic \
17241 lt_prog_compiler_static \
17242 lt_cv_prog_compiler_c_o \
17250 export_dynamic_flag_spec \
17251 whole_archive_flag_spec \
17252 compiler_needs_object \
17254 allow_undefined_flag \
17255 no_undefined_flag \
17256 hardcode_libdir_flag_spec \
17257 hardcode_libdir_flag_spec_ld \
17258 hardcode_libdir_separator \
17263 variables_saved_for_relink \
17265 library_names_spec \
17270 compiler_lib_search_dirs \
17275 compiler_lib_search_path \
17278 lt_prog_compiler_no_builtin_flag_CXX \
17279 lt_prog_compiler_wl_CXX \
17280 lt_prog_compiler_pic_CXX \
17281 lt_prog_compiler_static_CXX \
17282 lt_cv_prog_compiler_c_o_CXX \
17283 export_dynamic_flag_spec_CXX \
17284 whole_archive_flag_spec_CXX \
17285 compiler_needs_object_CXX \
17287 allow_undefined_flag_CXX \
17288 no_undefined_flag_CXX \
17289 hardcode_libdir_flag_spec_CXX \
17290 hardcode_libdir_flag_spec_ld_CXX \
17291 hardcode_libdir_separator_CXX \
17292 fix_srcfile_path_CXX \
17293 exclude_expsyms_CXX \
17294 include_expsyms_CXX \
17295 file_list_spec_CXX \
17296 compiler_lib_search_dirs_CXX \
17297 predep_objects_CXX \
17298 postdep_objects_CXX \
17301 compiler_lib_search_path_CXX; do
17302 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17303 *[\\\\\\\`\\"\\\$]*)
17304 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17307 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17312 # Double-quote double-evaled strings.
17313 for var in reload_cmds \
17314 old_postinstall_cmds \
17315 old_postuninstall_cmds \
17317 extract_expsyms_cmds \
17318 old_archive_from_new_cmds \
17319 old_archive_from_expsyms_cmds \
17321 archive_expsym_cmds \
17323 module_expsym_cmds \
17324 export_symbols_cmds \
17327 postuninstall_cmds \
17329 sys_lib_search_path_spec \
17330 sys_lib_dlsearch_path_spec \
17331 old_archive_cmds_CXX \
17332 old_archive_from_new_cmds_CXX \
17333 old_archive_from_expsyms_cmds_CXX \
17335 archive_expsym_cmds_CXX \
17337 module_expsym_cmds_CXX \
17338 export_symbols_cmds_CXX \
17339 prelink_cmds_CXX; do
17340 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17341 *[\\\\\\\`\\"\\\$]*)
17342 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17345 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17350 # Fix-up fallback echo if it was mangled by the above quoting rules.
17352 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17356 ac_aux_dir='$ac_aux_dir'
17357 xsi_shell='$xsi_shell'
17358 lt_shell_append='$lt_shell_append'
17360 # See if we are running on zsh, and set the options which allow our
17361 # commands through without removal of \ escapes INIT.
17362 if test -n "\${ZSH_VERSION+set}" ; then
17363 setopt NO_GLOB_SUBST
17369 TIMESTAMP='$TIMESTAMP'
17380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17382 # Handling of arguments.
17383 for ac_config_target in $ac_config_targets
17385 case $ac_config_target in
17386 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17387 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17388 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17389 "src/shibresolver/config_pub.h") CONFIG_HEADERS="$CONFIG_HEADERS src/shibresolver/config_pub.h" ;;
17390 "resolver.spec") CONFIG_FILES="$CONFIG_FILES resolver.spec" ;;
17391 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
17392 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17393 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17394 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17396 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17401 # If the user did not use the arguments to specify the items to instantiate,
17402 # then the envvar interface is used. Set only those that are not.
17403 # We use the long form for the default assignment because of an extremely
17404 # bizarre bug on SunOS 4.1.3.
17405 if $ac_need_defaults; then
17406 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17407 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17408 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17411 # Have a temporary directory for convenience. Make it in the build tree
17412 # simply because there is no reason against having it here, and in addition,
17413 # creating and moving files from /tmp can sometimes cause problems.
17414 # Hook for its removal unless debugging.
17415 # Note that there is a small window in which the directory will not be cleaned:
17416 # after its creation but before its name has been assigned to `$tmp'.
17420 trap 'exit_status=$?
17421 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17423 trap 'as_fn_exit 1' 1 2 13 15
17425 # Create a (secure) tmp directory for tmp files.
17428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17429 test -n "$tmp" && test -d "$tmp"
17432 tmp=./conf$$-$RANDOM
17433 (umask 077 && mkdir "$tmp")
17434 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17436 # Set up the scripts for CONFIG_FILES section.
17437 # No need to generate them if there are no CONFIG_FILES.
17438 # This happens for instance with `./config.status config.h'.
17439 if test -n "$CONFIG_FILES"; then
17442 ac_cr=`echo X | tr X '\015'`
17443 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17444 # But we know of no other shell where ac_cr would be empty at this
17445 # point, so we can use a bashism as a fallback.
17446 if test "x$ac_cr" = x; then
17447 eval ac_cr=\$\'\\r\'
17449 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17450 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17453 ac_cs_awk_cr=$ac_cr
17456 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17461 echo "cat >conf$$subs.awk <<_ACEOF" &&
17462 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17464 } >conf$$subs.sh ||
17465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17466 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17468 for ac_last_try in false false false false false :; do
17469 . ./conf$$subs.sh ||
17470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17472 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17473 if test $ac_delim_n = $ac_delim_num; then
17475 elif $ac_last_try; then
17476 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17481 rm -f conf$$subs.sh
17483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17484 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17488 s/^/S["/; s/!.*/"]=/
17498 s/\(.\{148\}\)..*/\1/
17500 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17505 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17512 s/\(.\{148\}\)..*/\1/
17514 s/["\\]/\\&/g; s/^/"/; s/$/"/
17518 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17523 ' <conf$$subs.awk | sed '
17528 ' >>$CONFIG_STATUS || ac_write_fail=1
17529 rm -f conf$$subs.awk
17530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17532 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17533 for (key in S) S_is_set[key] = 1
17539 nfields = split(line, field, "@")
17541 len = length(field[1])
17542 for (i = 2; i < nfields; i++) {
17544 keylen = length(key)
17545 if (S_is_set[key]) {
17547 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17548 len += length(value) + length(field[++i])
17559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17560 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17561 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17564 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17568 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17569 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17570 # trailing colons and then remove the whole line if VPATH becomes empty
17571 # (actually we leave an empty line to preserve line numbers).
17572 if test "x$srcdir" = x.; then
17573 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17592 fi # test -n "$CONFIG_FILES"
17594 # Set up the scripts for CONFIG_HEADERS section.
17595 # No need to generate them if there are no CONFIG_HEADERS.
17596 # This happens for instance with `./config.status Makefile'.
17597 if test -n "$CONFIG_HEADERS"; then
17598 cat >"$tmp/defines.awk" <<\_ACAWK ||
17602 # Transform confdefs.h into an awk script `defines.awk', embedded as
17603 # here-document in config.status, that substitutes the proper values into
17604 # config.h.in to produce config.h.
17606 # Create a delimiter string that does not exist in confdefs.h, to ease
17607 # handling of long lines.
17609 for ac_last_try in false false :; do
17610 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17611 if test -z "$ac_t"; then
17613 elif $ac_last_try; then
17614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17620 # For the awk script, D is an array of macro values keyed by name,
17621 # likewise P contains macro parameters if any. Preserve backslash
17622 # newline sequences.
17624 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17626 s/.\{148\}/&'"$ac_delim"'/g
17629 s/^[ ]*#[ ]*define[ ][ ]*/ /
17636 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17638 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17642 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17643 D["\1"]=" \3\\\\\\n"\\/p
17645 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17650 s/.\{148\}/&'"$ac_delim"'/g
17655 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17658 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17660 ' <confdefs.h | sed '
17661 s/'"$ac_delim"'/"\\\
17662 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17665 for (key in D) D_is_set[key] = 1
17668 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17670 split(line, arg, " ")
17671 if (arg[1] == "#") {
17675 defundef = substr(arg[1], 2)
17678 split(mac1, mac2, "(") #)
17680 prefix = substr(line, 1, index(line, defundef) - 1)
17681 if (D_is_set[macro]) {
17682 # Preserve the white space surrounding the "#".
17683 print prefix "define", macro P[macro] D[macro]
17686 # Replace #undef with comments. This is necessary, for example,
17687 # in the case of _POSIX_SOURCE, which is predefined and required
17688 # on some systems where configure will not decide to define it.
17689 if (defundef == "undef") {
17690 print "/*", prefix defundef, macro, "*/"
17698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17699 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17700 fi # test -n "$CONFIG_HEADERS"
17703 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17708 :[FHLC]) ac_mode=$ac_tag; continue;;
17710 case $ac_mode$ac_tag in
17712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17713 :[FH]-) ac_tag=-:-;;
17714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17731 -) ac_f="$tmp/stdin";;
17732 *) # Look for the file first in the build tree, then in the source tree
17733 # (if the path is not absolute). The absolute path cannot be DOS-style,
17734 # because $ac_f cannot contain `:'.
17738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17740 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17742 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17743 as_fn_append ac_file_inputs " '$ac_f'"
17746 # Let's still pretend it is `configure' which instantiates (i.e., don't
17747 # use $as_me), people would be surprised to read:
17748 # /* config.h. Generated by config.status. */
17749 configure_input='Generated from '`
17750 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17752 if test x"$ac_file" != x-; then
17753 configure_input="$ac_file. $configure_input"
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17755 $as_echo "$as_me: creating $ac_file" >&6;}
17757 # Neutralize special characters interpreted by sed in replacement strings.
17758 case $configure_input in #(
17759 *\&* | *\|* | *\\* )
17760 ac_sed_conf_input=`$as_echo "$configure_input" |
17761 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17762 *) ac_sed_conf_input=$configure_input;;
17766 *:-:* | *:-) cat >"$tmp/stdin" \
17767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17772 ac_dir=`$as_dirname -- "$ac_file" ||
17773 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17774 X"$ac_file" : 'X\(//\)[^/]' \| \
17775 X"$ac_file" : 'X\(//\)$' \| \
17776 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17777 $as_echo X"$ac_file" |
17778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17782 /^X\(\/\/\)[^/].*/{
17795 as_dir="$ac_dir"; as_fn_mkdir_p
17799 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17801 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17802 # A ".." for each directory in $ac_dir_suffix.
17803 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17804 case $ac_top_builddir_sub in
17805 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17806 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17809 ac_abs_top_builddir=$ac_pwd
17810 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17811 # for backward compatibility:
17812 ac_top_builddir=$ac_top_build_prefix
17815 .) # We are building in place.
17817 ac_top_srcdir=$ac_top_builddir_sub
17818 ac_abs_top_srcdir=$ac_pwd ;;
17819 [\\/]* | ?:[\\/]* ) # Absolute name.
17820 ac_srcdir=$srcdir$ac_dir_suffix;
17821 ac_top_srcdir=$srcdir
17822 ac_abs_top_srcdir=$srcdir ;;
17823 *) # Relative name.
17824 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17825 ac_top_srcdir=$ac_top_build_prefix$srcdir
17826 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17828 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17838 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17839 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17841 ac_MKDIR_P=$MKDIR_P
17843 [\\/$]* | ?:[\\/]* ) ;;
17844 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17849 # If the template does not know about datarootdir, expand it.
17850 # FIXME: This hack should be removed a few years after 2.60.
17851 ac_datarootdir_hack=; ac_datarootdir_seen=
17862 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17863 *datarootdir*) ac_datarootdir_seen=yes;;
17864 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17866 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17869 ac_datarootdir_hack='
17870 s&@datadir@&$datadir&g
17871 s&@docdir@&$docdir&g
17872 s&@infodir@&$infodir&g
17873 s&@localedir@&$localedir&g
17874 s&@mandir@&$mandir&g
17875 s&\\\${datarootdir}&$datarootdir&g' ;;
17879 # Neutralize VPATH when `$srcdir' = `.'.
17880 # Shell code in configure.ac might set extrasub.
17881 # FIXME: do we really want to maintain this feature?
17882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17883 ac_sed_extra="$ac_vpsub
17886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17888 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17889 s|@configure_input@|$ac_sed_conf_input|;t t
17890 s&@top_builddir@&$ac_top_builddir_sub&;t t
17891 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17892 s&@srcdir@&$ac_srcdir&;t t
17893 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17894 s&@top_srcdir@&$ac_top_srcdir&;t t
17895 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17896 s&@builddir@&$ac_builddir&;t t
17897 s&@abs_builddir@&$ac_abs_builddir&;t t
17898 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17899 s&@INSTALL@&$ac_INSTALL&;t t
17900 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17901 $ac_datarootdir_hack
17903 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17906 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17907 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17910 which seems to be undefined. Please make sure it is defined" >&5
17911 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17912 which seems to be undefined. Please make sure it is defined" >&2;}
17916 -) cat "$tmp/out" && rm -f "$tmp/out";;
17917 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17925 if test x"$ac_file" != x-; then
17927 $as_echo "/* $configure_input */" \
17928 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17929 } >"$tmp/config.h" \
17930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17931 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17933 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17936 mv "$tmp/config.h" "$ac_file" \
17937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17940 $as_echo "/* $configure_input */" \
17941 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17942 || as_fn_error $? "could not create -" "$LINENO" 5
17944 # Compute "$ac_file"'s index in $config_headers.
17947 for _am_header in $config_headers :; do
17948 case $_am_header in
17949 $_am_arg | $_am_arg:* )
17952 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17955 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17956 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17957 X"$_am_arg" : 'X\(//\)[^/]' \| \
17958 X"$_am_arg" : 'X\(//\)$' \| \
17959 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17960 $as_echo X"$_am_arg" |
17961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17965 /^X\(\/\/\)[^/].*/{
17977 s/.*/./; q'`/stamp-h$_am_stamp_count
17980 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17981 $as_echo "$as_me: executing $ac_file commands" >&6;}
17986 case $ac_file$ac_mode in
17987 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17988 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17989 # are listed without --file. Let's play safe and only enable the eval
17990 # if we detect the quoting.
17991 case $CONFIG_FILES in
17992 *\'*) eval set x "$CONFIG_FILES" ;;
17993 *) set x $CONFIG_FILES ;;
17998 # Strip MF so we end up with the name of the file.
17999 mf=`echo "$mf" | sed -e 's/:.*$//'`
18000 # Check whether this is an Automake generated Makefile or not.
18001 # We used to match only the files named `Makefile.in', but
18002 # some people rename them; so instead we look at the file content.
18003 # Grep'ing the first line is not enough: some people post-process
18004 # each Makefile.in and add a new line on top of each file to say so.
18005 # Grep'ing the whole file is not good either: AIX grep has a line
18006 # limit of 2048, but all sed's we know have understand at least 4000.
18007 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18008 dirpart=`$as_dirname -- "$mf" ||
18009 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18010 X"$mf" : 'X\(//\)[^/]' \| \
18011 X"$mf" : 'X\(//\)$' \| \
18012 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18018 /^X\(\/\/\)[^/].*/{
18034 # Extract the definition of DEPDIR, am__include, and am__quote
18035 # from the Makefile without running `make'.
18036 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18037 test -z "$DEPDIR" && continue
18038 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18039 test -z "am__include" && continue
18040 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18041 # When using ansi2knr, U may be empty or an underscore; expand it
18042 U=`sed -n 's/^U = //p' < "$mf"`
18043 # Find all dependency output files, they are included files with
18044 # $(DEPDIR) in their names. We invoke sed twice because it is the
18045 # simplest approach to changing $(DEPDIR) to its actual value in the
18047 for file in `sed -n "
18048 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18049 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18050 # Make sure the directory exists.
18051 test -f "$dirpart/$file" && continue
18052 fdir=`$as_dirname -- "$file" ||
18053 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18054 X"$file" : 'X\(//\)[^/]' \| \
18055 X"$file" : 'X\(//\)$' \| \
18056 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18057 $as_echo X"$file" |
18058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18062 /^X\(\/\/\)[^/].*/{
18075 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18076 # echo "creating $dirpart/$file"
18077 echo '# dummy' > "$dirpart/$file"
18084 # See if we are running on zsh, and set the options which allow our
18085 # commands through without removal of \ escapes.
18086 if test -n "${ZSH_VERSION+set}" ; then
18087 setopt NO_GLOB_SUBST
18090 cfgfile="${ofile}T"
18091 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18094 cat <<_LT_EOF >> "$cfgfile"
18097 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18098 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18099 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18100 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18102 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18103 # 2006, 2007, 2008 Free Software Foundation, Inc.
18104 # Written by Gordon Matzigkeit, 1996
18106 # This file is part of GNU Libtool.
18108 # GNU Libtool is free software; you can redistribute it and/or
18109 # modify it under the terms of the GNU General Public License as
18110 # published by the Free Software Foundation; either version 2 of
18111 # the License, or (at your option) any later version.
18113 # As a special exception to the GNU General Public License,
18114 # if you distribute this file as part of a program or library that
18115 # is built using GNU Libtool, you may include this file under the
18116 # same distribution terms that you use for the rest of that program.
18118 # GNU Libtool is distributed in the hope that it will be useful,
18119 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18120 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18121 # GNU General Public License for more details.
18123 # You should have received a copy of the GNU General Public License
18124 # along with GNU Libtool; see the file COPYING. If not, a copy
18125 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18126 # obtained by writing to the Free Software Foundation, Inc.,
18127 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18130 # The names of the tagged configurations supported by this script.
18131 available_tags="CXX "
18133 # ### BEGIN LIBTOOL CONFIG
18135 # Whether or not to build static libraries.
18136 build_old_libs=$enable_static
18138 # Which release of libtool.m4 was used?
18139 macro_version=$macro_version
18140 macro_revision=$macro_revision
18142 # Whether or not to build shared libraries.
18143 build_libtool_libs=$enable_shared
18145 # What type of objects to build.
18148 # Whether or not to optimize for fast installation.
18149 fast_install=$enable_fast_install
18152 host_alias=$host_alias
18156 # The build system.
18157 build_alias=$build_alias
18161 # A sed program that does not truncate output.
18164 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18165 Xsed="\$SED -e 1s/^X//"
18167 # A grep program that handles long lines.
18173 # A literal string matcher.
18176 # A BSD- or MS-compatible name lister.
18179 # Whether we need soft or hard links.
18182 # What is the maximum length of a command?
18183 max_cmd_len=$max_cmd_len
18185 # Object file suffix (normally "o").
18188 # Executable file suffix (normally "").
18191 # whether the shell understands "unset".
18194 # turn spaces into newlines.
18197 # turn newlines into spaces.
18200 # How to create reloadable object files.
18201 reload_flag=$lt_reload_flag
18202 reload_cmds=$lt_reload_cmds
18204 # An object symbol dumper.
18205 OBJDUMP=$lt_OBJDUMP
18207 # Method to check whether dependent libraries are shared objects.
18208 deplibs_check_method=$lt_deplibs_check_method
18210 # Command to use when deplibs_check_method == "file_magic".
18211 file_magic_cmd=$lt_file_magic_cmd
18215 AR_FLAGS=$lt_AR_FLAGS
18217 # A symbol stripping program.
18220 # Commands used to install an old-style archive.
18222 old_postinstall_cmds=$lt_old_postinstall_cmds
18223 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18228 # LTCC compiler flags.
18229 LTCFLAGS=$lt_CFLAGS
18231 # Take the output of nm and produce a listing of raw symbols and C names.
18232 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18234 # Transform the output of nm in a proper C declaration.
18235 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18237 # Transform the output of nm in a C name address pair.
18238 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18240 # Transform the output of nm in a C name address pair when lib prefix is needed.
18241 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18243 # The name of the directory that contains temporary libtool files.
18246 # Shell to use when invoking shell scripts.
18249 # An echo program that does not interpret backslashes.
18252 # Used to examine libraries when file_magic_cmd begins with "file".
18253 MAGIC_CMD=$MAGIC_CMD
18255 # Must we lock files when doing compilation?
18256 need_locks=$lt_need_locks
18258 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18259 DSYMUTIL=$lt_DSYMUTIL
18261 # Tool to change global to local symbols on Mac OS X.
18264 # Tool to manipulate fat objects and archives on Mac OS X.
18267 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18270 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18271 OTOOL64=$lt_OTOOL64
18273 # Old archive suffix (normally "a").
18276 # Shared library suffix (normally ".so").
18277 shrext_cmds=$lt_shrext_cmds
18279 # The commands to extract the exported symbol list from a shared archive.
18280 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18282 # Variables whose values should be saved in libtool wrapper scripts and
18283 # restored at link time.
18284 variables_saved_for_relink=$lt_variables_saved_for_relink
18286 # Do we need the "lib" prefix for modules?
18287 need_lib_prefix=$need_lib_prefix
18289 # Do we need a version for libraries?
18290 need_version=$need_version
18292 # Library versioning type.
18293 version_type=$version_type
18295 # Shared library runtime path variable.
18296 runpath_var=$runpath_var
18298 # Shared library path variable.
18299 shlibpath_var=$shlibpath_var
18301 # Is shlibpath searched before the hard-coded library search path?
18302 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18304 # Format of library name prefix.
18305 libname_spec=$lt_libname_spec
18307 # List of archive names. First name is the real one, the rest are links.
18308 # The last name is the one that the linker finds with -lNAME
18309 library_names_spec=$lt_library_names_spec
18311 # The coded name of the library, if different from the real name.
18312 soname_spec=$lt_soname_spec
18314 # Command to use after installation of a shared archive.
18315 postinstall_cmds=$lt_postinstall_cmds
18317 # Command to use after uninstallation of a shared archive.
18318 postuninstall_cmds=$lt_postuninstall_cmds
18320 # Commands used to finish a libtool library installation in a directory.
18321 finish_cmds=$lt_finish_cmds
18323 # As "finish_cmds", except a single script fragment to be evaled but
18325 finish_eval=$lt_finish_eval
18327 # Whether we should hardcode library paths into libraries.
18328 hardcode_into_libs=$hardcode_into_libs
18330 # Compile-time system search path for libraries.
18331 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18333 # Run-time system search path for libraries.
18334 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18336 # Whether dlopen is supported.
18337 dlopen_support=$enable_dlopen
18339 # Whether dlopen of programs is supported.
18340 dlopen_self=$enable_dlopen_self
18342 # Whether dlopen of statically linked programs is supported.
18343 dlopen_self_static=$enable_dlopen_self_static
18345 # Commands to strip libraries.
18346 old_striplib=$lt_old_striplib
18347 striplib=$lt_striplib
18350 # The linker used to build libraries.
18353 # Commands used to build an old-style archive.
18354 old_archive_cmds=$lt_old_archive_cmds
18356 # A language specific compiler.
18359 # Is the compiler the GNU compiler?
18362 # Compiler flag to turn off builtin functions.
18363 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18365 # How to pass a linker flag through the compiler.
18366 wl=$lt_lt_prog_compiler_wl
18368 # Additional compiler flags for building library objects.
18369 pic_flag=$lt_lt_prog_compiler_pic
18371 # Compiler flag to prevent dynamic linking.
18372 link_static_flag=$lt_lt_prog_compiler_static
18374 # Does compiler simultaneously support -c and -o options?
18375 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18377 # Whether or not to add -lc for building shared libraries.
18378 build_libtool_need_lc=$archive_cmds_need_lc
18380 # Whether or not to disallow shared libs when runtime libs are static.
18381 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18383 # Compiler flag to allow reflexive dlopens.
18384 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18386 # Compiler flag to generate shared objects directly from archives.
18387 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18389 # Whether the compiler copes with passing no objects directly.
18390 compiler_needs_object=$lt_compiler_needs_object
18392 # Create an old-style archive from a shared archive.
18393 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18395 # Create a temporary old-style archive to link instead of a shared archive.
18396 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18398 # Commands used to build a shared archive.
18399 archive_cmds=$lt_archive_cmds
18400 archive_expsym_cmds=$lt_archive_expsym_cmds
18402 # Commands used to build a loadable module if different from building
18403 # a shared archive.
18404 module_cmds=$lt_module_cmds
18405 module_expsym_cmds=$lt_module_expsym_cmds
18407 # Whether we are building with GNU ld or not.
18408 with_gnu_ld=$lt_with_gnu_ld
18410 # Flag that allows shared libraries with undefined symbols to be built.
18411 allow_undefined_flag=$lt_allow_undefined_flag
18413 # Flag that enforces no undefined symbols.
18414 no_undefined_flag=$lt_no_undefined_flag
18416 # Flag to hardcode \$libdir into a binary during linking.
18417 # This must work even if \$libdir does not exist
18418 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18420 # If ld is used when linking, flag to hardcode \$libdir into a binary
18421 # during linking. This must work even if \$libdir does not exist.
18422 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18424 # Whether we need a single "-rpath" flag with a separated argument.
18425 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18427 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18428 # DIR into the resulting binary.
18429 hardcode_direct=$hardcode_direct
18431 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18432 # DIR into the resulting binary and the resulting library dependency is
18433 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18434 # library is relocated.
18435 hardcode_direct_absolute=$hardcode_direct_absolute
18437 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18438 # into the resulting binary.
18439 hardcode_minus_L=$hardcode_minus_L
18441 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18442 # into the resulting binary.
18443 hardcode_shlibpath_var=$hardcode_shlibpath_var
18445 # Set to "yes" if building a shared library automatically hardcodes DIR
18446 # into the library and all subsequent libraries and executables linked
18448 hardcode_automatic=$hardcode_automatic
18450 # Set to yes if linker adds runtime paths of dependent libraries
18451 # to runtime path list.
18452 inherit_rpath=$inherit_rpath
18454 # Whether libtool must link a program against all its dependency libraries.
18455 link_all_deplibs=$link_all_deplibs
18457 # Fix the shell variable \$srcfile for the compiler.
18458 fix_srcfile_path=$lt_fix_srcfile_path
18460 # Set to "yes" if exported symbols are required.
18461 always_export_symbols=$always_export_symbols
18463 # The commands to list exported symbols.
18464 export_symbols_cmds=$lt_export_symbols_cmds
18466 # Symbols that should not be listed in the preloaded symbols.
18467 exclude_expsyms=$lt_exclude_expsyms
18469 # Symbols that must always be exported.
18470 include_expsyms=$lt_include_expsyms
18472 # Commands necessary for linking programs (against libraries) with templates.
18473 prelink_cmds=$lt_prelink_cmds
18475 # Specify filename containing input files.
18476 file_list_spec=$lt_file_list_spec
18478 # How to hardcode a shared library path into an executable.
18479 hardcode_action=$hardcode_action
18481 # The directories searched by this compiler when creating a shared library.
18482 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18484 # Dependencies to place before and after the objects being linked to
18485 # create a shared library.
18486 predep_objects=$lt_predep_objects
18487 postdep_objects=$lt_postdep_objects
18488 predeps=$lt_predeps
18489 postdeps=$lt_postdeps
18491 # The library search path used internally by the compiler when linking
18492 # a shared library.
18493 compiler_lib_search_path=$lt_compiler_lib_search_path
18495 # ### END LIBTOOL CONFIG
18501 cat <<\_LT_EOF >> "$cfgfile"
18502 # AIX sometimes has problems with the GCC collect2 program. For some
18503 # reason, if we set the COLLECT_NAMES environment variable, the problems
18504 # vanish in a puff of smoke.
18505 if test "X${COLLECT_NAMES+set}" != Xset; then
18507 export COLLECT_NAMES
18514 ltmain="$ac_aux_dir/ltmain.sh"
18517 # We use sed instead of cat because bash on DJGPP gets confused if
18518 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18519 # text mode, it properly converts lines to CR/LF. This bash problem
18520 # is reportedly fixed, but why not run on old versions too?
18521 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18522 || (rm -f "$cfgfile"; exit 1)
18526 cat << \_LT_EOF >> "$cfgfile"
18528 # func_dirname file append nondir_replacement
18529 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18530 # otherwise set result to NONDIR_REPLACEMENT.
18534 */*) func_dirname_result="${1%/*}${2}" ;;
18535 * ) func_dirname_result="${3}" ;;
18539 # func_basename file
18542 func_basename_result="${1##*/}"
18545 # func_dirname_and_basename file append nondir_replacement
18546 # perform func_basename and func_dirname in a single function
18548 # dirname: Compute the dirname of FILE. If nonempty,
18549 # add APPEND to the result, otherwise set result
18550 # to NONDIR_REPLACEMENT.
18551 # value returned in "$func_dirname_result"
18552 # basename: Compute filename of FILE.
18553 # value retuned in "$func_basename_result"
18554 # Implementation must be kept synchronized with func_dirname
18555 # and func_basename. For efficiency, we do not delegate to
18556 # those functions but instead duplicate the functionality here.
18557 func_dirname_and_basename ()
18560 */*) func_dirname_result="${1%/*}${2}" ;;
18561 * ) func_dirname_result="${3}" ;;
18563 func_basename_result="${1##*/}"
18566 # func_stripname prefix suffix name
18567 # strip PREFIX and SUFFIX off of NAME.
18568 # PREFIX and SUFFIX must not contain globbing or regex special
18569 # characters, hashes, percent signs, but SUFFIX may contain a leading
18570 # dot (in which case that matches only a dot).
18573 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18574 # positional parameters, so assign one to ordinary parameter first.
18575 func_stripname_result=${3}
18576 func_stripname_result=${func_stripname_result#"${1}"}
18577 func_stripname_result=${func_stripname_result%"${2}"}
18583 func_opt_split_opt=${1%%=*}
18584 func_opt_split_arg=${1#*=}
18591 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18592 *) func_lo2o_result=${1} ;;
18596 # func_xform libobj-or-source
18599 func_xform_result=${1%.*}.lo
18602 # func_arith arithmetic-term...
18605 func_arith_result=$(( $* ))
18609 # STRING may not start with a hyphen.
18612 func_len_result=${#1}
18617 *) # Bourne compatible functions.
18618 cat << \_LT_EOF >> "$cfgfile"
18620 # func_dirname file append nondir_replacement
18621 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18622 # otherwise set result to NONDIR_REPLACEMENT.
18625 # Extract subdirectory from the argument.
18626 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18627 if test "X$func_dirname_result" = "X${1}"; then
18628 func_dirname_result="${3}"
18630 func_dirname_result="$func_dirname_result${2}"
18634 # func_basename file
18637 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18641 # func_stripname prefix suffix name
18642 # strip PREFIX and SUFFIX off of NAME.
18643 # PREFIX and SUFFIX must not contain globbing or regex special
18644 # characters, hashes, percent signs, but SUFFIX may contain a leading
18645 # dot (in which case that matches only a dot).
18646 # func_strip_suffix prefix name
18650 .*) func_stripname_result=`$ECHO "X${3}" \
18651 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18652 *) func_stripname_result=`$ECHO "X${3}" \
18653 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18658 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18659 my_sed_long_arg='1s/^-[^=]*=//'
18664 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18665 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18671 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18674 # func_xform libobj-or-source
18677 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18680 # func_arith arithmetic-term...
18683 func_arith_result=`expr "$@"`
18687 # STRING may not start with a hyphen.
18690 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18696 case $lt_shell_append in
18698 cat << \_LT_EOF >> "$cfgfile"
18700 # func_append var value
18701 # Append VALUE to the end of shell variable VAR.
18709 cat << \_LT_EOF >> "$cfgfile"
18711 # func_append var value
18712 # Append VALUE to the end of shell variable VAR.
18723 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18724 || (rm -f "$cfgfile"; exit 1)
18726 mv -f "$cfgfile" "$ofile" ||
18727 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18731 cat <<_LT_EOF >> "$ofile"
18733 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18735 # The linker used to build libraries.
18738 # Commands used to build an old-style archive.
18739 old_archive_cmds=$lt_old_archive_cmds_CXX
18741 # A language specific compiler.
18742 CC=$lt_compiler_CXX
18744 # Is the compiler the GNU compiler?
18747 # Compiler flag to turn off builtin functions.
18748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18750 # How to pass a linker flag through the compiler.
18751 wl=$lt_lt_prog_compiler_wl_CXX
18753 # Additional compiler flags for building library objects.
18754 pic_flag=$lt_lt_prog_compiler_pic_CXX
18756 # Compiler flag to prevent dynamic linking.
18757 link_static_flag=$lt_lt_prog_compiler_static_CXX
18759 # Does compiler simultaneously support -c and -o options?
18760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18762 # Whether or not to add -lc for building shared libraries.
18763 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18765 # Whether or not to disallow shared libs when runtime libs are static.
18766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18768 # Compiler flag to allow reflexive dlopens.
18769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18771 # Compiler flag to generate shared objects directly from archives.
18772 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18774 # Whether the compiler copes with passing no objects directly.
18775 compiler_needs_object=$lt_compiler_needs_object_CXX
18777 # Create an old-style archive from a shared archive.
18778 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18780 # Create a temporary old-style archive to link instead of a shared archive.
18781 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18783 # Commands used to build a shared archive.
18784 archive_cmds=$lt_archive_cmds_CXX
18785 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18787 # Commands used to build a loadable module if different from building
18788 # a shared archive.
18789 module_cmds=$lt_module_cmds_CXX
18790 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18792 # Whether we are building with GNU ld or not.
18793 with_gnu_ld=$lt_with_gnu_ld_CXX
18795 # Flag that allows shared libraries with undefined symbols to be built.
18796 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18798 # Flag that enforces no undefined symbols.
18799 no_undefined_flag=$lt_no_undefined_flag_CXX
18801 # Flag to hardcode \$libdir into a binary during linking.
18802 # This must work even if \$libdir does not exist
18803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18805 # If ld is used when linking, flag to hardcode \$libdir into a binary
18806 # during linking. This must work even if \$libdir does not exist.
18807 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18809 # Whether we need a single "-rpath" flag with a separated argument.
18810 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18812 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18813 # DIR into the resulting binary.
18814 hardcode_direct=$hardcode_direct_CXX
18816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18817 # DIR into the resulting binary and the resulting library dependency is
18818 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18819 # library is relocated.
18820 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18822 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18823 # into the resulting binary.
18824 hardcode_minus_L=$hardcode_minus_L_CXX
18826 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18827 # into the resulting binary.
18828 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18830 # Set to "yes" if building a shared library automatically hardcodes DIR
18831 # into the library and all subsequent libraries and executables linked
18833 hardcode_automatic=$hardcode_automatic_CXX
18835 # Set to yes if linker adds runtime paths of dependent libraries
18836 # to runtime path list.
18837 inherit_rpath=$inherit_rpath_CXX
18839 # Whether libtool must link a program against all its dependency libraries.
18840 link_all_deplibs=$link_all_deplibs_CXX
18842 # Fix the shell variable \$srcfile for the compiler.
18843 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18845 # Set to "yes" if exported symbols are required.
18846 always_export_symbols=$always_export_symbols_CXX
18848 # The commands to list exported symbols.
18849 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18851 # Symbols that should not be listed in the preloaded symbols.
18852 exclude_expsyms=$lt_exclude_expsyms_CXX
18854 # Symbols that must always be exported.
18855 include_expsyms=$lt_include_expsyms_CXX
18857 # Commands necessary for linking programs (against libraries) with templates.
18858 prelink_cmds=$lt_prelink_cmds_CXX
18860 # Specify filename containing input files.
18861 file_list_spec=$lt_file_list_spec_CXX
18863 # How to hardcode a shared library path into an executable.
18864 hardcode_action=$hardcode_action_CXX
18866 # The directories searched by this compiler when creating a shared library.
18867 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18869 # Dependencies to place before and after the objects being linked to
18870 # create a shared library.
18871 predep_objects=$lt_predep_objects_CXX
18872 postdep_objects=$lt_postdep_objects_CXX
18873 predeps=$lt_predeps_CXX
18874 postdeps=$lt_postdeps_CXX
18876 # The library search path used internally by the compiler when linking
18877 # a shared library.
18878 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18880 # ### END LIBTOOL TAG CONFIG: CXX
18891 ac_clean_files=$ac_clean_files_save
18893 test $ac_write_fail = 0 ||
18894 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18897 # configure is writing to config.log, and then calls config.status.
18898 # config.status does its own redirection, appending to config.log.
18899 # Unfortunately, on DOS this fails, as config.log is still kept open
18900 # by configure, so config.status won't be able to write to it; its
18901 # output is simply discarded. So we exec the FD to /dev/null,
18902 # effectively closing config.log, so it can be properly (re)opened and
18903 # appended to by config.status. When coming back to configure, we
18904 # need to make the FD available again.
18905 if test "$no_create" != yes; then
18907 ac_config_status_args=
18908 test "$silent" = yes &&
18909 ac_config_status_args="$ac_config_status_args --quiet"
18911 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18913 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18914 # would make configure fail if this is the last instruction.
18915 $ac_cs_success || as_fn_exit 1
18917 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18919 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}