2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for shibboleth 2.4.
5 # Report bugs to <shibboleth-users@internet2.edu>.
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: shibboleth-users@internet2.edu 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'
703 PACKAGE_TARNAME='shibboleth'
704 PACKAGE_VERSION='2.4'
705 PACKAGE_STRING='shibboleth 2.4'
706 PACKAGE_BUGREPORT='shibboleth-users@internet2.edu'
709 # Factoring default headers for most tests.
710 ac_includes_default="\
712 #ifdef HAVE_SYS_TYPES_H
713 # include <sys/types.h>
715 #ifdef HAVE_SYS_STAT_H
716 # include <sys/stat.h>
722 # ifdef HAVE_STDLIB_H
727 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
732 #ifdef HAVE_STRINGS_H
733 # include <strings.h>
735 #ifdef HAVE_INTTYPES_H
736 # include <inttypes.h>
745 ac_subst_vars='am__EXEEXT_FALSE
773 BUILD_MEMCACHED_FALSE
902 INSTALL_STRIP_PROGRAM
944 program_transform_name
957 enable_option_checking
969 enable_dependency_tracking
1000 ac_precious_vars='build_alias
1016 # Initialize some variables set by options.
1018 ac_init_version=false
1019 ac_unrecognized_opts=
1020 ac_unrecognized_sep=
1021 # The variables have the same names as the options, with
1022 # dashes changed to underlines.
1023 cache_file=/dev/null
1030 program_transform_name=s,x,x,
1038 # Installation directory options.
1039 # These are left unexpanded so users can "make install exec_prefix=/foo"
1040 # and all the variables that are supposed to be based on exec_prefix
1041 # by default will actually change.
1042 # Use braces instead of parens because sh, perl, etc. also accept them.
1043 # (The list follows the same order as the GNU Coding Standards.)
1044 bindir='${exec_prefix}/bin'
1045 sbindir='${exec_prefix}/sbin'
1046 libexecdir='${exec_prefix}/libexec'
1047 datarootdir='${prefix}/share'
1048 datadir='${datarootdir}'
1049 sysconfdir='${prefix}/etc'
1050 sharedstatedir='${prefix}/com'
1051 localstatedir='${prefix}/var'
1052 includedir='${prefix}/include'
1053 oldincludedir='/usr/include'
1054 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1055 infodir='${datarootdir}/info'
1060 libdir='${exec_prefix}/lib'
1061 localedir='${datarootdir}/locale'
1062 mandir='${datarootdir}/man'
1068 # If the previous option needs an argument, assign it.
1069 if test -n "$ac_prev"; then
1070 eval $ac_prev=\$ac_option
1076 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1081 # Accept the important Cygnus configure options, so we can diagnose typos.
1083 case $ac_dashdash$ac_option in
1087 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1089 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1090 bindir=$ac_optarg ;;
1092 -build | --build | --buil | --bui | --bu)
1093 ac_prev=build_alias ;;
1094 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1095 build_alias=$ac_optarg ;;
1097 -cache-file | --cache-file | --cache-fil | --cache-fi \
1098 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1099 ac_prev=cache_file ;;
1100 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1101 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1102 cache_file=$ac_optarg ;;
1104 --config-cache | -C)
1105 cache_file=config.cache ;;
1107 -datadir | --datadir | --datadi | --datad)
1109 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1110 datadir=$ac_optarg ;;
1112 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1113 | --dataroo | --dataro | --datar)
1114 ac_prev=datarootdir ;;
1115 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1116 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1117 datarootdir=$ac_optarg ;;
1119 -disable-* | --disable-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error $? "invalid feature name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1128 "enable_$ac_useropt"
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1133 eval enable_$ac_useropt=no ;;
1135 -docdir | --docdir | --docdi | --doc | --do)
1137 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1138 docdir=$ac_optarg ;;
1140 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1142 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1143 dvidir=$ac_optarg ;;
1145 -enable-* | --enable-*)
1146 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149 as_fn_error $? "invalid feature name: $ac_useropt"
1150 ac_useropt_orig=$ac_useropt
1151 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152 case $ac_user_opts in
1154 "enable_$ac_useropt"
1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1157 ac_unrecognized_sep=', ';;
1159 eval enable_$ac_useropt=\$ac_optarg ;;
1161 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1162 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1163 | --exec | --exe | --ex)
1164 ac_prev=exec_prefix ;;
1165 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1166 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1167 | --exec=* | --exe=* | --ex=*)
1168 exec_prefix=$ac_optarg ;;
1170 -gas | --gas | --ga | --g)
1171 # Obsolete; use --with-gas.
1174 -help | --help | --hel | --he | -h)
1175 ac_init_help=long ;;
1176 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1177 ac_init_help=recursive ;;
1178 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1179 ac_init_help=short ;;
1181 -host | --host | --hos | --ho)
1182 ac_prev=host_alias ;;
1183 -host=* | --host=* | --hos=* | --ho=*)
1184 host_alias=$ac_optarg ;;
1186 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1188 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1190 htmldir=$ac_optarg ;;
1192 -includedir | --includedir | --includedi | --included | --include \
1193 | --includ | --inclu | --incl | --inc)
1194 ac_prev=includedir ;;
1195 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1196 | --includ=* | --inclu=* | --incl=* | --inc=*)
1197 includedir=$ac_optarg ;;
1199 -infodir | --infodir | --infodi | --infod | --info | --inf)
1201 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1202 infodir=$ac_optarg ;;
1204 -libdir | --libdir | --libdi | --libd)
1206 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1207 libdir=$ac_optarg ;;
1209 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1210 | --libexe | --libex | --libe)
1211 ac_prev=libexecdir ;;
1212 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1213 | --libexe=* | --libex=* | --libe=*)
1214 libexecdir=$ac_optarg ;;
1216 -localedir | --localedir | --localedi | --localed | --locale)
1217 ac_prev=localedir ;;
1218 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1219 localedir=$ac_optarg ;;
1221 -localstatedir | --localstatedir | --localstatedi | --localstated \
1222 | --localstate | --localstat | --localsta | --localst | --locals)
1223 ac_prev=localstatedir ;;
1224 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1225 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1226 localstatedir=$ac_optarg ;;
1228 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1230 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1231 mandir=$ac_optarg ;;
1233 -nfp | --nfp | --nf)
1234 # Obsolete; use --without-fp.
1237 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1238 | --no-cr | --no-c | -n)
1241 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1242 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1245 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1246 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1247 | --oldin | --oldi | --old | --ol | --o)
1248 ac_prev=oldincludedir ;;
1249 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1250 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1251 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1252 oldincludedir=$ac_optarg ;;
1254 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1256 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1257 prefix=$ac_optarg ;;
1259 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1260 | --program-pre | --program-pr | --program-p)
1261 ac_prev=program_prefix ;;
1262 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1263 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1264 program_prefix=$ac_optarg ;;
1266 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1267 | --program-suf | --program-su | --program-s)
1268 ac_prev=program_suffix ;;
1269 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1270 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1271 program_suffix=$ac_optarg ;;
1273 -program-transform-name | --program-transform-name \
1274 | --program-transform-nam | --program-transform-na \
1275 | --program-transform-n | --program-transform- \
1276 | --program-transform | --program-transfor \
1277 | --program-transfo | --program-transf \
1278 | --program-trans | --program-tran \
1279 | --progr-tra | --program-tr | --program-t)
1280 ac_prev=program_transform_name ;;
1281 -program-transform-name=* | --program-transform-name=* \
1282 | --program-transform-nam=* | --program-transform-na=* \
1283 | --program-transform-n=* | --program-transform-=* \
1284 | --program-transform=* | --program-transfor=* \
1285 | --program-transfo=* | --program-transf=* \
1286 | --program-trans=* | --program-tran=* \
1287 | --progr-tra=* | --program-tr=* | --program-t=*)
1288 program_transform_name=$ac_optarg ;;
1290 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1292 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1293 pdfdir=$ac_optarg ;;
1295 -psdir | --psdir | --psdi | --psd | --ps)
1297 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1300 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1301 | -silent | --silent | --silen | --sile | --sil)
1304 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1306 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1308 sbindir=$ac_optarg ;;
1310 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1311 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1312 | --sharedst | --shareds | --shared | --share | --shar \
1314 ac_prev=sharedstatedir ;;
1315 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1316 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1317 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1319 sharedstatedir=$ac_optarg ;;
1321 -site | --site | --sit)
1323 -site=* | --site=* | --sit=*)
1326 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1328 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1329 srcdir=$ac_optarg ;;
1331 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1332 | --syscon | --sysco | --sysc | --sys | --sy)
1333 ac_prev=sysconfdir ;;
1334 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1335 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1336 sysconfdir=$ac_optarg ;;
1338 -target | --target | --targe | --targ | --tar | --ta | --t)
1339 ac_prev=target_alias ;;
1340 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1341 target_alias=$ac_optarg ;;
1343 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1346 -version | --version | --versio | --versi | --vers | -V)
1347 ac_init_version=: ;;
1350 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1351 # Reject names that are not valid shell variable names.
1352 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1353 as_fn_error $? "invalid package name: $ac_useropt"
1354 ac_useropt_orig=$ac_useropt
1355 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1356 case $ac_user_opts in
1360 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1361 ac_unrecognized_sep=', ';;
1363 eval with_$ac_useropt=\$ac_optarg ;;
1365 -without-* | --without-*)
1366 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1367 # Reject names that are not valid shell variable names.
1368 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1369 as_fn_error $? "invalid package name: $ac_useropt"
1370 ac_useropt_orig=$ac_useropt
1371 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1372 case $ac_user_opts in
1376 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1377 ac_unrecognized_sep=', ';;
1379 eval with_$ac_useropt=no ;;
1382 # Obsolete; use --with-x.
1385 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1386 | --x-incl | --x-inc | --x-in | --x-i)
1387 ac_prev=x_includes ;;
1388 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1389 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1390 x_includes=$ac_optarg ;;
1392 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1393 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1394 ac_prev=x_libraries ;;
1395 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1396 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1397 x_libraries=$ac_optarg ;;
1399 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1400 Try \`$0 --help' for more information"
1404 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1405 # Reject names that are not valid shell variable names.
1406 case $ac_envvar in #(
1407 '' | [0-9]* | *[!_$as_cr_alnum]* )
1408 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1410 eval $ac_envvar=\$ac_optarg
1411 export $ac_envvar ;;
1414 # FIXME: should be removed in autoconf 3.0.
1415 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1416 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1417 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1418 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1424 if test -n "$ac_prev"; then
1425 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1426 as_fn_error $? "missing argument to $ac_option"
1429 if test -n "$ac_unrecognized_opts"; then
1430 case $enable_option_checking in
1432 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1433 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1437 # Check all directory arguments for consistency.
1438 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1443 eval ac_val=\$$ac_var
1444 # Remove trailing slashes.
1447 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1448 eval $ac_var=\$ac_val;;
1450 # Be sure to have absolute directory names.
1452 [\\/$]* | ?:[\\/]* ) continue;;
1453 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1455 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1458 # There might be people who depend on the old broken behavior: `$host'
1459 # used to hold the argument of --host etc.
1460 # FIXME: To remove some day.
1463 target=$target_alias
1465 # FIXME: To remove some day.
1466 if test "x$host_alias" != x; then
1467 if test "x$build_alias" = x; then
1468 cross_compiling=maybe
1469 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1470 If a cross compiler is detected then cross compile mode will be used" >&2
1471 elif test "x$build_alias" != "x$host_alias"; then
1477 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1479 test "$silent" = yes && exec 6>/dev/null
1482 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1483 ac_ls_di=`ls -di .` &&
1484 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1485 as_fn_error $? "working directory cannot be determined"
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 as_fn_error $? "pwd does not report name of working directory"
1490 # Find the source files, if location was not specified.
1491 if test -z "$srcdir"; then
1492 ac_srcdir_defaulted=yes
1493 # Try the directory containing this script, then the parent directory.
1494 ac_confdir=`$as_dirname -- "$as_myself" ||
1495 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1496 X"$as_myself" : 'X\(//\)[^/]' \| \
1497 X"$as_myself" : 'X\(//\)$' \| \
1498 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1499 $as_echo X"$as_myself" |
1500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1518 if test ! -r "$srcdir/$ac_unique_file"; then
1522 ac_srcdir_defaulted=no
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1525 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1526 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1528 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1530 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1532 # When building in place, set srcdir=.
1533 if test "$ac_abs_confdir" = "$ac_pwd"; then
1536 # Remove unnecessary trailing slashes from srcdir.
1537 # Double slashes in file names in object file debugging info
1538 # mess up M-x gdb in Emacs.
1540 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1542 for ac_var in $ac_precious_vars; do
1543 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1544 eval ac_env_${ac_var}_value=\$${ac_var}
1545 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1546 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 # Report the --help message.
1552 if test "$ac_init_help" = "long"; then
1553 # Omit some internal or obsolete options to make the list less imposing.
1554 # This message is too long to be a string in the A/UX 3.1 sh.
1556 \`configure' configures shibboleth 2.4 to adapt to many kinds of systems.
1558 Usage: $0 [OPTION]... [VAR=VALUE]...
1560 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1561 VAR=VALUE. See below for descriptions of some of the useful variables.
1563 Defaults for the options are specified in brackets.
1566 -h, --help display this help and exit
1567 --help=short display options specific to this package
1568 --help=recursive display the short help of all the included packages
1569 -V, --version display version information and exit
1570 -q, --quiet, --silent do not print \`checking ...' messages
1571 --cache-file=FILE cache test results in FILE [disabled]
1572 -C, --config-cache alias for \`--cache-file=config.cache'
1573 -n, --no-create do not create output files
1574 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1576 Installation directories:
1577 --prefix=PREFIX install architecture-independent files in PREFIX
1578 [$ac_default_prefix]
1579 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1582 By default, \`make install' will install all the files in
1583 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1584 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1585 for instance \`--prefix=\$HOME'.
1587 For better control, use the options below.
1589 Fine tuning of the installation directories:
1590 --bindir=DIR user executables [EPREFIX/bin]
1591 --sbindir=DIR system admin executables [EPREFIX/sbin]
1592 --libexecdir=DIR program executables [EPREFIX/libexec]
1593 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1594 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1595 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1596 --libdir=DIR object code libraries [EPREFIX/lib]
1597 --includedir=DIR C header files [PREFIX/include]
1598 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1599 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1600 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1601 --infodir=DIR info documentation [DATAROOTDIR/info]
1602 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1603 --mandir=DIR man documentation [DATAROOTDIR/man]
1604 --docdir=DIR documentation root [DATAROOTDIR/doc/shibboleth]
1605 --htmldir=DIR html documentation [DOCDIR]
1606 --dvidir=DIR dvi documentation [DOCDIR]
1607 --pdfdir=DIR pdf documentation [DOCDIR]
1608 --psdir=DIR ps documentation [DOCDIR]
1614 --program-prefix=PREFIX prepend PREFIX to installed program names
1615 --program-suffix=SUFFIX append SUFFIX to installed program names
1616 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1619 --build=BUILD configure for building on BUILD [guessed]
1620 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1624 if test -n "$ac_init_help"; then
1625 case $ac_init_help in
1626 short | recursive ) echo "Configuration of shibboleth 2.4:";;
1631 --disable-option-checking ignore unrecognized --enable/--with options
1632 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1633 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1634 --disable-doxygen-doc don't generate any doxygen documentation
1635 --disable-doxygen-dot don't generate graphics for doxygen documentation
1636 --enable-doxygen-man generate doxygen manual pages
1637 --enable-doxygen-rtf generate doxygen RTF documentation
1638 --enable-doxygen-xml generate doxygen XML documentation
1639 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1640 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1642 --disable-doxygen-html don't generate doxygen plain HTML documentation
1643 --enable-doxygen-ps generate doxygen PostScript documentation
1644 --enable-doxygen-pdf generate doxygen PDF documentation
1645 --enable-debug Have GCC compile with symbols (Default = no)
1646 --disable-dependency-tracking speeds up one-time build
1647 --enable-dependency-tracking do not reject slow dependency extractors
1648 --enable-static[=PKGS] build static libraries [default=no]
1649 --enable-shared[=PKGS] build shared libraries [default=yes]
1650 --enable-fast-install[=PKGS]
1651 optimize for fast installation [default=yes]
1652 --disable-libtool-lock avoid locking (might break parallel builds)
1653 --disable-adfs don't build the ADFS module
1654 --enable-apache-13 enable the Apache 1.3 module
1655 --enable-apache-20 enable the Apache 2.0 module
1656 --enable-apache-22 enable the Apache 2.2 module
1657 --disable-odbc disable the ODBC Storage Service
1660 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1661 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1662 --with-pic try to use only PIC/non-PIC objects [default=use
1664 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1665 --with-openssl=PATH where openssl is installed
1666 --with-log4shib=PATH where log4shib-config is installed
1667 --with-log4cpp=PATH where log4cpp-config is installed
1668 --with-xerces=PATH where xerces-c is installed
1669 --with-xmltooling=PATH where xmltooling-c is installed
1670 --with-xmlsec=PATH where xmlsec is installed
1671 --with-saml=PATH where saml is installed
1672 --with-nsapi=DIR Build NSAPI module for Netscape/iPlanet/SunONE
1673 --with-fastcgi=DIR Build FastCGI support
1674 --with-memcached=DIR Build Memcached support
1675 --with-apxs=FILE Specifies where to find the Apache 1.3 apxs script.
1676 --with-apxs2=FILE Specifies where to find the Apache 2.0 apxs script.
1677 --with-apr=PATH where apr-config is installed
1678 --with-apu=PATH where apu-config is installed
1679 --with-apxs22=FILE Specifies where to find the Apache 2.2 apxs script.
1680 --with-apr1=PATH where apr-1-config is installed
1681 --with-apu1=PATH where apu-1-config is installed
1682 --with-odbc=PATH directory where odbc is installed
1684 Some influential environment variables:
1686 a4wide (default), a4, letter, legal or executive
1687 CC C compiler command
1688 CFLAGS C compiler flags
1689 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1690 nonstandard directory <lib dir>
1691 LIBS libraries to pass to the linker, e.g. -l<library>
1692 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1693 you have headers in a nonstandard directory <include dir>
1694 CXX C++ compiler command
1695 CXXFLAGS C++ compiler flags
1697 CXXCPP C++ preprocessor
1699 Use these variables to override the choices made by `configure' or to help
1700 it to find libraries and programs with nonstandard names/locations.
1702 Report bugs to <shibboleth-users@internet2.edu>.
1707 if test "$ac_init_help" = "recursive"; then
1708 # If there are subdirs, report their specific --help.
1709 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1710 test -d "$ac_dir" ||
1711 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1716 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1718 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1719 # A ".." for each directory in $ac_dir_suffix.
1720 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1721 case $ac_top_builddir_sub in
1722 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1723 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1726 ac_abs_top_builddir=$ac_pwd
1727 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1728 # for backward compatibility:
1729 ac_top_builddir=$ac_top_build_prefix
1732 .) # We are building in place.
1734 ac_top_srcdir=$ac_top_builddir_sub
1735 ac_abs_top_srcdir=$ac_pwd ;;
1736 [\\/]* | ?:[\\/]* ) # Absolute name.
1737 ac_srcdir=$srcdir$ac_dir_suffix;
1738 ac_top_srcdir=$srcdir
1739 ac_abs_top_srcdir=$srcdir ;;
1741 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1742 ac_top_srcdir=$ac_top_build_prefix$srcdir
1743 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1745 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1747 cd "$ac_dir" || { ac_status=$?; continue; }
1748 # Check for guested configure.
1749 if test -f "$ac_srcdir/configure.gnu"; then
1751 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1752 elif test -f "$ac_srcdir/configure"; then
1754 $SHELL "$ac_srcdir/configure" --help=recursive
1756 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1758 cd "$ac_pwd" || { ac_status=$?; break; }
1762 test -n "$ac_init_help" && exit $ac_status
1763 if $ac_init_version; then
1765 shibboleth configure 2.4
1766 generated by GNU Autoconf 2.67
1768 Copyright (C) 2010 Free Software Foundation, Inc.
1769 This configure script is free software; the Free Software Foundation
1770 gives unlimited permission to copy, distribute and modify it.
1775 ## ------------------------ ##
1776 ## Autoconf initialization. ##
1777 ## ------------------------ ##
1779 # ac_fn_c_try_compile LINENO
1780 # --------------------------
1781 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_compile ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 rm -f conftest.$ac_objext
1786 if { { ac_try="$ac_compile"
1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_compile") 2>conftest.err
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest.$ac_objext; then :
1807 $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813 as_fn_set_status $ac_retval
1815 } # ac_fn_c_try_compile
1817 # ac_fn_cxx_try_compile LINENO
1818 # ----------------------------
1819 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1820 ac_fn_cxx_try_compile ()
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 rm -f conftest.$ac_objext
1824 if { { ac_try="$ac_compile"
1826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1827 *) ac_try_echo=$ac_try;;
1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_compile") 2>conftest.err
1833 if test -s conftest.err; then
1834 grep -v '^ *+' conftest.err >conftest.er1
1835 cat conftest.er1 >&5
1836 mv -f conftest.er1 conftest.err
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && {
1840 test -z "$ac_cxx_werror_flag" ||
1841 test ! -s conftest.err
1842 } && test -s conftest.$ac_objext; then :
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 as_fn_set_status $ac_retval
1853 } # ac_fn_cxx_try_compile
1855 # ac_fn_c_try_link LINENO
1856 # -----------------------
1857 # Try to link conftest.$ac_ext, and return whether this succeeded.
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 rm -f conftest.$ac_objext conftest$ac_exeext
1862 if { { ac_try="$ac_link"
1864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_link") 2>conftest.err
1871 if test -s conftest.err; then
1872 grep -v '^ *+' conftest.err >conftest.er1
1873 cat conftest.er1 >&5
1874 mv -f conftest.er1 conftest.err
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && {
1878 test -z "$ac_c_werror_flag" ||
1879 test ! -s conftest.err
1880 } && test -s conftest$ac_exeext && {
1881 test "$cross_compiling" = yes ||
1882 $as_test_x conftest$ac_exeext
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1891 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1892 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1893 # interfere with the next link command; also delete a directory that is
1894 # left behind by Apple's compiler. We do this before executing the actions.
1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1897 as_fn_set_status $ac_retval
1899 } # ac_fn_c_try_link
1901 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902 # -------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_c_check_header_compile ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval "test \"\${$3+set}\"" = set; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile "$LINENO"; then :
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 } # ac_fn_c_check_header_compile
1932 # ac_fn_c_try_cpp LINENO
1933 # ----------------------
1934 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 if { { ac_try="$ac_cpp conftest.$ac_ext"
1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1941 *) ac_try_echo=$ac_try;;
1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1947 if test -s conftest.err; then
1948 grep -v '^ *+' conftest.err >conftest.er1
1949 cat conftest.er1 >&5
1950 mv -f conftest.er1 conftest.err
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; } > conftest.i && {
1954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1955 test ! -s conftest.err
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1964 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1965 as_fn_set_status $ac_retval
1969 # ac_fn_c_try_run LINENO
1970 # ----------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1972 # that executables *can* be run.
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 if { { ac_try="$ac_link"
1978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_link") 2>&5
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1987 { { case "(($ac_try" in
1988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989 *) ac_try_echo=$ac_try;;
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_try") 2>&5
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; }; }; then :
1999 $as_echo "$as_me: program exited with status $ac_status" >&5
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2003 ac_retval=$ac_status
2005 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2007 as_fn_set_status $ac_retval
2011 # ac_fn_c_check_func LINENO FUNC VAR
2012 # ----------------------------------
2013 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2014 ac_fn_c_check_func ()
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018 $as_echo_n "checking for $2... " >&6; }
2019 if eval "test \"\${$3+set}\"" = set; then :
2020 $as_echo_n "(cached) " >&6
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2024 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2026 #define $2 innocuous_$2
2028 /* System header to define __stub macros and hopefully few prototypes,
2029 which can conflict with char $2 (); below.
2030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2031 <limits.h> exists even on freestanding compilers. */
2034 # include <limits.h>
2036 # include <assert.h>
2041 /* Override any GCC internal prototype to avoid an error.
2042 Use char because int might match the return type of a GCC
2043 builtin and then its argument prototype would still apply. */
2048 /* The GNU C library defines this for functions which it implements
2049 to always fail with ENOSYS. Some functions are actually named
2050 something starting with __ and the normal name is an alias. */
2051 #if defined __stub_$2 || defined __stub___$2
2063 if ac_fn_c_try_link "$LINENO"; then :
2068 rm -f core conftest.err conftest.$ac_objext \
2069 conftest$ac_exeext conftest.$ac_ext
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076 } # ac_fn_c_check_func
2078 # ac_fn_cxx_try_cpp LINENO
2079 # ------------------------
2080 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2081 ac_fn_cxx_try_cpp ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { { ac_try="$ac_cpp conftest.$ac_ext"
2086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2087 *) ac_try_echo=$ac_try;;
2089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2090 $as_echo "$ac_try_echo"; } >&5
2091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2093 if test -s conftest.err; then
2094 grep -v '^ *+' conftest.err >conftest.er1
2095 cat conftest.er1 >&5
2096 mv -f conftest.er1 conftest.err
2098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099 test $ac_status = 0; } > conftest.i && {
2100 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2101 test ! -s conftest.err
2105 $as_echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2110 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2111 as_fn_set_status $ac_retval
2113 } # ac_fn_cxx_try_cpp
2115 # ac_fn_cxx_try_link LINENO
2116 # -------------------------
2117 # Try to link conftest.$ac_ext, and return whether this succeeded.
2118 ac_fn_cxx_try_link ()
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 rm -f conftest.$ac_objext conftest$ac_exeext
2122 if { { ac_try="$ac_link"
2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125 *) ac_try_echo=$ac_try;;
2127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2128 $as_echo "$ac_try_echo"; } >&5
2129 (eval "$ac_link") 2>conftest.err
2131 if test -s conftest.err; then
2132 grep -v '^ *+' conftest.err >conftest.er1
2133 cat conftest.er1 >&5
2134 mv -f conftest.er1 conftest.err
2136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2137 test $ac_status = 0; } && {
2138 test -z "$ac_cxx_werror_flag" ||
2139 test ! -s conftest.err
2140 } && test -s conftest$ac_exeext && {
2141 test "$cross_compiling" = yes ||
2142 $as_test_x conftest$ac_exeext
2146 $as_echo "$as_me: failed program was:" >&5
2147 sed 's/^/| /' conftest.$ac_ext >&5
2151 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2152 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2153 # interfere with the next link command; also delete a directory that is
2154 # left behind by Apple's compiler. We do this before executing the actions.
2155 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2156 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2157 as_fn_set_status $ac_retval
2159 } # ac_fn_cxx_try_link
2161 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2162 # -------------------------------------------
2163 # Tests whether TYPE exists after having included INCLUDES, setting cache
2164 # variable VAR accordingly.
2165 ac_fn_c_check_type ()
2167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if eval "test \"\${$3+set}\"" = set; then :
2171 $as_echo_n "(cached) " >&6
2174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175 /* end confdefs.h. */
2186 if ac_fn_c_try_compile "$LINENO"; then :
2187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188 /* end confdefs.h. */
2199 if ac_fn_c_try_compile "$LINENO"; then :
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210 $as_echo "$ac_res" >&6; }
2211 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2213 } # ac_fn_c_check_type
2215 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2216 # ---------------------------------------------
2217 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2219 ac_fn_c_check_decl ()
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 as_decl_name=`echo $2|sed 's/ *(.*//'`
2223 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2225 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2226 if eval "test \"\${$3+set}\"" = set; then :
2227 $as_echo_n "(cached) " >&6
2229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2235 #ifndef $as_decl_name
2237 (void) $as_decl_use;
2239 (void) $as_decl_name;
2247 if ac_fn_c_try_compile "$LINENO"; then :
2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2259 } # ac_fn_c_check_decl
2261 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2262 # -------------------------------------------------------
2263 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2264 # the include files in INCLUDES and setting the cache variable VAR
2266 ac_fn_c_check_header_mongrel ()
2268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2269 if eval "test \"\${$3+set}\"" = set; then :
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2271 $as_echo_n "checking for $2... " >&6; }
2272 if eval "test \"\${$3+set}\"" = set; then :
2273 $as_echo_n "(cached) " >&6
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2277 $as_echo "$ac_res" >&6; }
2279 # Is the header compilable?
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2281 $as_echo_n "checking $2 usability... " >&6; }
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2287 if ac_fn_c_try_compile "$LINENO"; then :
2288 ac_header_compiler=yes
2290 ac_header_compiler=no
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2294 $as_echo "$ac_header_compiler" >&6; }
2296 # Is the header present?
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2298 $as_echo_n "checking $2 presence... " >&6; }
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2303 if ac_fn_c_try_cpp "$LINENO"; then :
2304 ac_header_preproc=yes
2306 ac_header_preproc=no
2308 rm -f conftest.err conftest.i conftest.$ac_ext
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2310 $as_echo "$ac_header_preproc" >&6; }
2312 # So? What about this header?
2313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2316 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2318 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2322 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2324 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2326 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2328 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2330 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2331 ( $as_echo "## --------------------------------------------- ##
2332 ## Report this to shibboleth-users@internet2.edu ##
2333 ## --------------------------------------------- ##"
2334 ) | sed "s/^/$as_me: WARNING: /" >&2
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2338 $as_echo_n "checking for $2... " >&6; }
2339 if eval "test \"\${$3+set}\"" = set; then :
2340 $as_echo_n "(cached) " >&6
2342 eval "$3=\$ac_header_compiler"
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2346 $as_echo "$ac_res" >&6; }
2348 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2350 } # ac_fn_c_check_header_mongrel
2352 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2353 # ---------------------------------------------------------
2354 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2355 # the include files in INCLUDES and setting the cache variable VAR
2357 ac_fn_cxx_check_header_mongrel ()
2359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360 if eval "test \"\${$3+set}\"" = set; then :
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2362 $as_echo_n "checking for $2... " >&6; }
2363 if eval "test \"\${$3+set}\"" = set; then :
2364 $as_echo_n "(cached) " >&6
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368 $as_echo "$ac_res" >&6; }
2370 # Is the header compilable?
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2372 $as_echo_n "checking $2 usability... " >&6; }
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2378 if ac_fn_cxx_try_compile "$LINENO"; then :
2379 ac_header_compiler=yes
2381 ac_header_compiler=no
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2385 $as_echo "$ac_header_compiler" >&6; }
2387 # Is the header present?
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2389 $as_echo_n "checking $2 presence... " >&6; }
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2394 if ac_fn_cxx_try_cpp "$LINENO"; then :
2395 ac_header_preproc=yes
2397 ac_header_preproc=no
2399 rm -f conftest.err conftest.i conftest.$ac_ext
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2401 $as_echo "$ac_header_preproc" >&6; }
2403 # So? What about this header?
2404 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2407 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2409 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2413 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2415 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2417 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2419 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2421 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2422 ( $as_echo "## --------------------------------------------- ##
2423 ## Report this to shibboleth-users@internet2.edu ##
2424 ## --------------------------------------------- ##"
2425 ) | sed "s/^/$as_me: WARNING: /" >&2
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429 $as_echo_n "checking for $2... " >&6; }
2430 if eval "test \"\${$3+set}\"" = set; then :
2431 $as_echo_n "(cached) " >&6
2433 eval "$3=\$ac_header_compiler"
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2439 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2441 } # ac_fn_cxx_check_header_mongrel
2443 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2444 # ---------------------------------------------------------
2445 # Tests whether HEADER exists and can be compiled using the include files in
2446 # INCLUDES, setting the cache variable VAR accordingly.
2447 ac_fn_cxx_check_header_compile ()
2449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2451 $as_echo_n "checking for $2... " >&6; }
2452 if eval "test \"\${$3+set}\"" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2460 if ac_fn_cxx_try_compile "$LINENO"; then :
2465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2469 $as_echo "$ac_res" >&6; }
2470 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2472 } # ac_fn_cxx_check_header_compile
2473 cat >config.log <<_ACEOF
2474 This file contains any messages produced by compilers while
2475 running configure, to aid debugging if configure makes a mistake.
2477 It was created by shibboleth $as_me 2.4, which was
2478 generated by GNU Autoconf 2.67. Invocation command line was
2490 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2491 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2492 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2493 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2494 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2496 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2497 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2499 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2500 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2501 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2502 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2503 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2504 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2505 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir=.
2514 $as_echo "PATH: $as_dir"
2530 # Keep a trace of the command line.
2531 # Strip out --no-create and --no-recursion so they do not pile up.
2532 # Strip out --silent because we don't want to record it for future runs.
2533 # Also quote any args containing shell meta-characters.
2534 # Make two passes to allow for proper duplicate-argument suppression.
2538 ac_must_keep_next=false
2544 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2546 | -silent | --silent | --silen | --sile | --sil)
2549 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2552 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2554 as_fn_append ac_configure_args1 " '$ac_arg'"
2555 if test $ac_must_keep_next = true; then
2556 ac_must_keep_next=false # Got value, back to normal.
2559 *=* | --config-cache | -C | -disable-* | --disable-* \
2560 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2561 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2562 | -with-* | --with-* | -without-* | --without-* | --x)
2563 case "$ac_configure_args0 " in
2564 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2567 -* ) ac_must_keep_next=true ;;
2570 as_fn_append ac_configure_args " '$ac_arg'"
2575 { ac_configure_args0=; unset ac_configure_args0;}
2576 { ac_configure_args1=; unset ac_configure_args1;}
2578 # When interrupted or exit'd, cleanup temporary files, and complete
2579 # config.log. We remove comments because anyway the quotes in there
2580 # would cause problems or look ugly.
2581 # WARNING: Use '\'' to represent an apostrophe within the trap.
2582 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2583 trap 'exit_status=$?
2584 # Save into config.log some information that might help in debugging.
2588 $as_echo "## ---------------- ##
2589 ## Cache variables. ##
2590 ## ---------------- ##"
2592 # The following way of writing the cache mishandles newlines in values,
2594 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2595 eval ac_val=\$$ac_var
2599 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2600 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2603 _ | IFS | as_nl) ;; #(
2604 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2605 *) { eval $ac_var=; unset $ac_var;} ;;
2610 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2611 *${as_nl}ac_space=\ *)
2613 "s/'\''/'\''\\\\'\'''\''/g;
2614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2624 $as_echo "## ----------------- ##
2625 ## Output variables. ##
2626 ## ----------------- ##"
2628 for ac_var in $ac_subst_vars
2630 eval ac_val=\$$ac_var
2632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2634 $as_echo "$ac_var='\''$ac_val'\''"
2638 if test -n "$ac_subst_files"; then
2639 $as_echo "## ------------------- ##
2640 ## File substitutions. ##
2641 ## ------------------- ##"
2643 for ac_var in $ac_subst_files
2645 eval ac_val=\$$ac_var
2647 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2649 $as_echo "$ac_var='\''$ac_val'\''"
2654 if test -s confdefs.h; then
2655 $as_echo "## ----------- ##
2662 test "$ac_signal" != 0 &&
2663 $as_echo "$as_me: caught signal $ac_signal"
2664 $as_echo "$as_me: exit $exit_status"
2666 rm -f core *.core core.conftest.* &&
2667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2670 for ac_signal in 1 2 13 15; do
2671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2676 rm -f -r conftest* confdefs.h
2678 $as_echo "/* confdefs.h */" > confdefs.h
2680 # Predefined preprocessor variables.
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_NAME "$PACKAGE_NAME"
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_STRING "$PACKAGE_STRING"
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_URL "$PACKAGE_URL"
2707 # Let the site file select an alternate cache file if it wants to.
2708 # Prefer an explicitly selected file to automatically selected ones.
2711 if test -n "$CONFIG_SITE"; then
2712 # We do not want a PATH search for config.site.
2713 case $CONFIG_SITE in #((
2714 -*) ac_site_file1=./$CONFIG_SITE;;
2715 */*) ac_site_file1=$CONFIG_SITE;;
2716 *) ac_site_file1=./$CONFIG_SITE;;
2718 elif test "x$prefix" != xNONE; then
2719 ac_site_file1=$prefix/share/config.site
2720 ac_site_file2=$prefix/etc/config.site
2722 ac_site_file1=$ac_default_prefix/share/config.site
2723 ac_site_file2=$ac_default_prefix/etc/config.site
2725 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2727 test "x$ac_site_file" = xNONE && continue
2728 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2730 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2731 sed 's/^/| /' "$ac_site_file" >&5
2733 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2735 as_fn_error $? "failed to load site script $ac_site_file
2736 See \`config.log' for more details" "$LINENO" 5 ; }
2740 if test -r "$cache_file"; then
2741 # Some versions of bash will fail to source /dev/null (special files
2742 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2743 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2745 $as_echo "$as_me: loading cache $cache_file" >&6;}
2747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2748 *) . "./$cache_file";;
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2753 $as_echo "$as_me: creating cache $cache_file" >&6;}
2757 # Check that the precious variables saved in the cache have kept the same
2759 ac_cache_corrupted=false
2760 for ac_var in $ac_precious_vars; do
2761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2762 eval ac_new_set=\$ac_env_${ac_var}_set
2763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2764 eval ac_new_val=\$ac_env_${ac_var}_value
2765 case $ac_old_set,$ac_new_set in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2769 ac_cache_corrupted=: ;;
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2773 ac_cache_corrupted=: ;;
2776 if test "x$ac_old_val" != "x$ac_new_val"; then
2777 # differences in whitespace do not lead to failure.
2778 ac_old_val_w=`echo x $ac_old_val`
2779 ac_new_val_w=`echo x $ac_new_val`
2780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2783 ac_cache_corrupted=:
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2787 eval $ac_var=\$ac_old_val
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2795 # Pass precious variables to config.status.
2796 if test "$ac_new_set" = set; then
2798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2799 *) ac_arg=$ac_var=$ac_new_val ;;
2801 case " $ac_configure_args " in
2802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2807 if $ac_cache_corrupted; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2812 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2814 ## -------------------- ##
2815 ## Main body of script. ##
2816 ## -------------------- ##
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2825 ac_config_headers="$ac_config_headers config.h"
2827 am__api_version='1.11'
2830 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2831 if test -f "$ac_dir/install-sh"; then
2833 ac_install_sh="$ac_aux_dir/install-sh -c"
2835 elif test -f "$ac_dir/install.sh"; then
2837 ac_install_sh="$ac_aux_dir/install.sh -c"
2839 elif test -f "$ac_dir/shtool"; then
2841 ac_install_sh="$ac_aux_dir/shtool install -c"
2845 if test -z "$ac_aux_dir"; then
2846 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2849 # These three variables are undocumented and unsupported,
2850 # and are intended to be withdrawn in a future Autoconf release.
2851 # They can cause serious problems if a builder's source tree is in a directory
2852 # whose full name contains unusual characters.
2853 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2854 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2855 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2858 # Find a good install program. We prefer a C program (faster),
2859 # so one script is as good as another. But avoid the broken or
2860 # incompatible versions:
2861 # SysV /etc/install, /usr/sbin/install
2862 # SunOS /usr/etc/install
2863 # IRIX /sbin/install
2865 # AmigaOS /C/install, which installs bootblocks on floppy discs
2866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2869 # OS/2's system install, which has a completely different semantic
2870 # ./install, which can be erroneously created by make from ./install.sh.
2871 # Reject install programs that cannot install multiple files.
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2873 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2874 if test -z "$INSTALL"; then
2875 if test "${ac_cv_path_install+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir=.
2883 # Account for people who put trailing slashes in PATH elements.
2884 case $as_dir/ in #((
2885 ./ | .// | /[cC]/* | \
2886 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2887 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2890 # OSF1 and SCO ODT 3.0 have their own names for install.
2891 # Don't use installbsd from OSF since it installs stuff as root
2893 for ac_prog in ginstall scoinst install; do
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2896 if test $ac_prog = install &&
2897 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898 # AIX install. It has an incompatible calling convention.
2900 elif test $ac_prog = install &&
2901 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2902 # program-specific install script used by HP pwplus--don't use.
2905 rm -rf conftest.one conftest.two conftest.dir
2906 echo one > conftest.one
2907 echo two > conftest.two
2909 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2910 test -s conftest.one && test -s conftest.two &&
2911 test -s conftest.dir/conftest.one &&
2912 test -s conftest.dir/conftest.two
2914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2927 rm -rf conftest.one conftest.two conftest.dir
2930 if test "${ac_cv_path_install+set}" = set; then
2931 INSTALL=$ac_cv_path_install
2933 # As a last resort, use the slow shell script. Don't cache a
2934 # value for INSTALL within a source directory, because that will
2935 # break other packages using the cache if that directory is
2936 # removed, or if the value is a relative name.
2937 INSTALL=$ac_install_sh
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2941 $as_echo "$INSTALL" >&6; }
2943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2944 # It thinks the first close brace ends the variable substitution.
2945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2952 $as_echo_n "checking whether build environment is sane... " >&6; }
2955 echo timestamp > conftest.file
2956 # Reject unsafe characters in $srcdir or the absolute working directory
2957 # name. Accept space and tab only in the latter.
2961 *[\\\"\#\$\&\'\`$am_lf]*)
2962 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2965 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2966 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2969 # Do `set' in a subshell so we don't clobber the current shell's
2970 # arguments. Must try -L first in case configure is actually a
2971 # symlink; some systems play weird games with the mod time of symlinks
2972 # (eg FreeBSD returns the mod time of the symlink's containing
2975 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2976 if test "$*" = "X"; then
2978 set X `ls -t "$srcdir/configure" conftest.file`
2981 if test "$*" != "X $srcdir/configure conftest.file" \
2982 && test "$*" != "X conftest.file $srcdir/configure"; then
2984 # If neither matched, then we have a broken ls. This can happen
2985 # if, for instance, CONFIG_SHELL is bash and it inherits a
2986 # broken ls alias from the environment. This has actually
2987 # happened. Such a system could not be considered "sane".
2988 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2989 alias in your environment" "$LINENO" 5
2992 test "$2" = conftest.file
2998 as_fn_error $? "newly created file is older than distributed files!
2999 Check your system clock" "$LINENO" 5
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3002 $as_echo "yes" >&6; }
3003 test "$program_prefix" != NONE &&
3004 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3005 # Use a double $ so make ignores it.
3006 test "$program_suffix" != NONE &&
3007 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3008 # Double any \ or $.
3009 # By default was `s,x,x', remove it if useless.
3010 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3011 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3013 # expand $ac_aux_dir to an absolute path
3014 am_aux_dir=`cd $ac_aux_dir && pwd`
3016 if test x"${MISSING+set}" != xset; then
3019 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3021 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3024 # Use eval to expand $SHELL
3025 if eval "$MISSING --run true"; then
3026 am_missing_run="$MISSING --run "
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3030 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3033 if test x"${install_sh}" != xset; then
3036 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3038 install_sh="\${SHELL} $am_aux_dir/install-sh"
3042 # Installed binaries are usually stripped using `strip' when the user
3043 # run `make install-strip'. However `strip' might not be the right
3044 # tool to use in cross-compilation environments, therefore Automake
3045 # will honor the `STRIP' environment variable to overrule this program.
3046 if test "$cross_compiling" != no; then
3047 if test -n "$ac_tool_prefix"; then
3048 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3049 set dummy ${ac_tool_prefix}strip; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if test "${ac_cv_prog_STRIP+set}" = set; then :
3053 $as_echo_n "(cached) " >&6
3055 if test -n "$STRIP"; then
3056 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 test -z "$as_dir" && as_dir=.
3063 for ac_exec_ext in '' $ac_executable_extensions; do
3064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 STRIP=$ac_cv_prog_STRIP
3076 if test -n "$STRIP"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3078 $as_echo "$STRIP" >&6; }
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3086 if test -z "$ac_cv_prog_STRIP"; then
3088 # Extract the first word of "strip", so it can be a program name with args.
3089 set dummy strip; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$ac_ct_STRIP"; then
3096 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_ac_ct_STRIP="strip"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3116 if test -n "$ac_ct_STRIP"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3118 $as_echo "$ac_ct_STRIP" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3124 if test "x$ac_ct_STRIP" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned=yes ;;
3136 STRIP="$ac_cv_prog_STRIP"
3140 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3143 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3144 if test -z "$MKDIR_P"; then
3145 if test "${ac_cv_path_mkdir+set}" = set; then :
3146 $as_echo_n "(cached) " >&6
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3152 test -z "$as_dir" && as_dir=.
3153 for ac_prog in mkdir gmkdir; do
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3156 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3157 'mkdir (GNU coreutils) '* | \
3158 'mkdir (coreutils) '* | \
3159 'mkdir (fileutils) '4.1*)
3160 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3170 test -d ./--version && rmdir ./--version
3171 if test "${ac_cv_path_mkdir+set}" = set; then
3172 MKDIR_P="$ac_cv_path_mkdir -p"
3174 # As a last resort, use the slow shell script. Don't cache a
3175 # value for MKDIR_P within a source directory, because that will
3176 # break other packages using the cache if that directory is
3177 # removed, or if the value is a relative name.
3178 MKDIR_P="$ac_install_sh -d"
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3182 $as_echo "$MKDIR_P" >&6; }
3186 [\\/$]* | ?:[\\/]*) ;;
3187 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3190 for ac_prog in gawk mawk nawk awk
3192 # Extract the first word of "$ac_prog", so it can be a program name with args.
3193 set dummy $ac_prog; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if test "${ac_cv_prog_AWK+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$AWK"; then
3200 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_prog_AWK="$ac_prog"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test -n "$AWK"; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3222 $as_echo "$AWK" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3229 test -n "$AWK" && break
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3233 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3235 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3236 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3237 $as_echo_n "(cached) " >&6
3239 cat >conftest.make <<\_ACEOF
3242 @echo '@@@%%%=$(MAKE)=@@@%%%'
3244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3247 eval ac_cv_prog_make_${ac_make}_set=yes;;
3249 eval ac_cv_prog_make_${ac_make}_set=no;;
3253 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3255 $as_echo "yes" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 SET_MAKE="MAKE=${MAKE-make}"
3263 rm -rf .tst 2>/dev/null
3264 mkdir .tst 2>/dev/null
3265 if test -d .tst; then
3270 rmdir .tst 2>/dev/null
3272 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3273 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3274 # is not polluted with repeated "-I."
3275 am__isrc=' -I$(srcdir)'
3276 # test to see if srcdir already configured
3277 if test -f $srcdir/config.status; then
3278 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3282 # test whether we have cygpath
3283 if test -z "$CYGPATH_W"; then
3284 if (cygpath --version) >/dev/null 2>/dev/null; then
3285 CYGPATH_W='cygpath -w'
3292 # Define the identity of the package.
3297 cat >>confdefs.h <<_ACEOF
3298 #define PACKAGE "$PACKAGE"
3302 cat >>confdefs.h <<_ACEOF
3303 #define VERSION "$VERSION"
3306 # Some tools Automake needs.
3308 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3311 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3314 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3317 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3320 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3322 # We need awk for the "check" target. The system "awk" is bad on
3324 # Always define AMTAR for backward compatibility.
3326 AMTAR=${AMTAR-"${am_missing_run}tar"}
3328 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3335 # This file is part of Autoconf. -*- Autoconf -*-
3337 # Copyright (C) 2004 Oren Ben-Kiki
3338 # This file is distributed under the same terms as the Autoconf macro files.
3340 # Generate automatic documentation using Doxygen. Works in concert with the
3341 # aminclude.m4 file and a compatible doxygen configuration file. Defines the
3342 # following public macros:
3344 # DX_???_FEATURE(ON|OFF) - control the default setting fo a Doxygen feature.
3345 # Supported features are 'DOXYGEN' itself, 'DOT' for generating graphics,
3346 # 'HTML' for plain HTML, 'CHM' for compressed HTML help (for MS users), 'CHI'
3347 # for generating a seperate .chi file by the .chm file, and 'MAN', 'RTF',
3348 # 'XML', 'PDF' and 'PS' for the appropriate output formats. The environment
3349 # variable DOXYGEN_PAPER_SIZE may be specified to override the default 'a4wide'
3352 # By default, HTML, PDF and PS documentation is generated as this seems to be
3353 # the most popular and portable combination. MAN pages created by Doxygen are
3354 # usually problematic, though by picking an appropriate subset and doing some
3355 # massaging they might be better than nothing. CHM and RTF are specific for MS
3356 # (note that you can't generate both HTML and CHM at the same time). The XML is
3357 # rather useless unless you apply specialized post-processing to it.
3359 # The macro mainly controls the default state of the feature. The use can
3360 # override the default by specifying --enable or --disable. The macros ensure
3361 # that contradictory flags are not given (e.g., --enable-doxygen-html and
3362 # --enable-doxygen-chm, --enable-doxygen-anything with --disable-doxygen, etc.)
3363 # Finally, each feature will be automatically disabled (with a warning) if the
3364 # required programs are missing.
3366 # Once all the feature defaults have been specified, call DX_INIT_DOXYGEN with
3367 # the following parameters: a one-word name for the project for use as a
3368 # filename base etc., an optional configuration file name (the default is
3369 # 'Doxyfile', the same as Doxygen's default), and an optional output directory
3370 # name (the default is 'doxygen-doc').
3388 # Compatibility with older autoconf versions.
3391 ## --------------- ##
3392 ## Private macros. ##
3393 ## --------------- ##
3395 # DX_ENV_APPEND(VARIABLE, VALUE)
3396 # ------------------------------
3397 # Append VARIABLE="VALUE" to DX_ENV for invoking doxygen.
3402 # Expand into a shell expression prints the directory part of a path.
3405 # DX_IF_FEATURE(FEATURE, IF-ON, IF-OFF)
3406 # -------------------------------------
3407 # Expands according to the M4 (static) status of the feature.
3410 # DX_REQUIRE_PROG(VARIABLE, PROGRAM)
3411 # ----------------------------------
3412 # Require the specified program to be found for the DX_CURRENT_FEATURE to work.
3415 # DX_TEST_FEATURE(FEATURE)
3416 # ------------------------
3417 # Expand to a shell expression testing whether the feature is active.
3420 # DX_CHECK_DEPEND(REQUIRED_FEATURE, REQUIRED_STATE)
3421 # -------------------------------------------------
3422 # Verify that a required features has the right state before trying to turn on
3423 # the DX_CURRENT_FEATURE.
3426 # DX_CLEAR_DEPEND(FEATURE, REQUIRED_FEATURE, REQUIRED_STATE)
3427 # ----------------------------------------------------------
3428 # Turn off the DX_CURRENT_FEATURE if the required feature is off.
3431 # DX_FEATURE_ARG(FEATURE, DESCRIPTION,
3432 # CHECK_DEPEND, CLEAR_DEPEND,
3433 # REQUIRE, DO-IF-ON, DO-IF-OFF)
3434 # --------------------------------------------
3435 # Parse the command-line option controlling a feature. CHECK_DEPEND is called
3436 # if the user explicitly turns the feature on (and invokes DX_CHECK_DEPEND),
3437 # otherwise CLEAR_DEPEND is called to turn off the default state if a required
3438 # feature is disabled (using DX_CLEAR_DEPEND). REQUIRE performs additional
3439 # requirement tests (DX_REQUIRE_PROG). Finally, an automake flag is set and
3440 # DO-IF-ON or DO-IF-OFF are called according to the final state of the feature.
3443 ## -------------- ##
3444 ## Public macros. ##
3445 ## -------------- ##
3447 # DX_XXX_FEATURE(DEFAULT_STATE)
3448 # -----------------------------
3460 # DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR])
3461 # ---------------------------------------------------------
3462 # PROJECT also serves as the base name for the documentation files.
3463 # The default CONFIG-FILE is "Doxyfile" and OUTPUT-DOC-DIR is "doxygen-doc".
3466 ##### http://autoconf-archive.cryp.to/acx_pthread.html
3470 # ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
3474 # This macro figures out how to build C programs using POSIX threads.
3475 # It sets the PTHREAD_LIBS output variable to the threads library and
3476 # linker flags, and the PTHREAD_CFLAGS output variable to any special
3477 # C compiler flags that are needed. (The user can also force certain
3478 # compiler flags/libs to be tested by setting these environment
3481 # Also sets PTHREAD_CC to any special C compiler that is needed for
3482 # multi-threaded programs (defaults to the value of CC otherwise).
3483 # (This is necessary on AIX to use the special cc_r compiler alias.)
3485 # NOTE: You are assumed to not only compile your program with these
3486 # flags, but also link it with them as well. e.g. you should link
3487 # with $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS
3490 # If you are only building threads programs, you may wish to use
3491 # these variables in your default LIBS, CFLAGS, and CC:
3493 # LIBS="$PTHREAD_LIBS $LIBS"
3494 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
3497 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute
3498 # constant has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to
3499 # that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
3501 # ACTION-IF-FOUND is a list of shell commands to run if a threads
3502 # library is found, and ACTION-IF-NOT-FOUND is a list of commands to
3503 # run it if it is not found. If ACTION-IF-FOUND is not specified, the
3504 # default action will define HAVE_PTHREAD.
3506 # Please let the authors know if this macro fails on any platform, or
3507 # if you have any other suggestions or comments. This macro was based
3508 # on work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/)
3509 # (with help from M. Frigo), as well as ac_pthread and hb_pthread
3510 # macros posted by Alejandro Forero Cuervo to the autoconf macro
3511 # repository. We are also grateful for the helpful feedback of
3520 # Copyright (c) 2006 Steven G. Johnson <stevenj@alum.mit.edu>
3522 # This program is free software; you can redistribute it and/or
3523 # modify it under the terms of the GNU General Public License as
3524 # published by the Free Software Foundation; either version 2 of the
3525 # License, or (at your option) any later version.
3527 # This program is distributed in the hope that it will be useful, but
3528 # WITHOUT ANY WARRANTY; without even the implied warranty of
3529 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3530 # General Public License for more details.
3532 # You should have received a copy of the GNU General Public License
3533 # along with this program; if not, write to the Free Software
3534 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3537 # As a special exception, the respective Autoconf Macro's copyright
3538 # owner gives unlimited permission to copy, distribute and modify the
3539 # configure scripts that are the output of Autoconf when processing
3540 # the Macro. You need not follow the terms of the GNU General Public
3541 # License when using or distributing such scripts, even though
3542 # portions of the text of the Macro appear in them. The GNU General
3543 # Public License (GPL) does govern all other use of the material that
3544 # constitutes the Autoconf Macro.
3546 # This special exception to the GPL applies to versions of the
3547 # Autoconf Macro released by the Autoconf Macro Archive. When you
3548 # make and distribute a modified version of the Autoconf Macro, you
3549 # may extend this special exception to the GPL to apply to your
3550 # modified version as well.
3566 DX_PROJECT=shibboleth
3568 DX_CONFIG=doxygen.cfg
3573 # Environment variables used inside doxygen.cfg:
3574 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
3576 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
3578 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
3580 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
3587 # Check whether --enable-doxygen-doc was given.
3588 if test "${enable_doxygen_doc+set}" = set; then :
3589 enableval=$enable_doxygen_doc;
3590 case "$enableval" in
3602 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
3614 if test "$DX_FLAG_doc" = 1; then
3616 if test -n "$ac_tool_prefix"; then
3617 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
3618 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3626 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir=.
3634 for ac_exec_ext in '' $ac_executable_extensions; do
3635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3636 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
3648 if test -n "$DX_DOXYGEN"; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
3650 $as_echo "$DX_DOXYGEN" >&6; }
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3658 if test -z "$ac_cv_path_DX_DOXYGEN"; then
3659 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
3660 # Extract the first word of "doxygen", so it can be a program name with args.
3661 set dummy doxygen; ac_word=$2
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3663 $as_echo_n "checking for $ac_word... " >&6; }
3664 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
3665 $as_echo_n "(cached) " >&6
3667 case $ac_pt_DX_DOXYGEN in
3669 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676 test -z "$as_dir" && as_dir=.
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
3691 if test -n "$ac_pt_DX_DOXYGEN"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
3693 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3699 if test "x$ac_pt_DX_DOXYGEN" = x; then
3702 case $cross_compiling:$ac_tool_warned in
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3706 ac_tool_warned=yes ;;
3708 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
3711 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
3714 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
3716 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
3724 set dummy ${ac_tool_prefix}perl; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if test "${ac_cv_path_DX_PERL+set}" = set; then :
3728 $as_echo_n "(cached) " >&6
3732 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 DX_PERL=$ac_cv_path_DX_PERL
3754 if test -n "$DX_PERL"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
3756 $as_echo "$DX_PERL" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3764 if test -z "$ac_cv_path_DX_PERL"; then
3765 ac_pt_DX_PERL=$DX_PERL
3766 # Extract the first word of "perl", so it can be a program name with args.
3767 set dummy perl; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
3771 $as_echo_n "(cached) " >&6
3773 case $ac_pt_DX_PERL in
3775 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
3797 if test -n "$ac_pt_DX_PERL"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
3799 $as_echo "$ac_pt_DX_PERL" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3805 if test "x$ac_pt_DX_PERL" = x; then
3808 case $cross_compiling:$ac_tool_warned in
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3812 ac_tool_warned=yes ;;
3814 DX_PERL=$ac_pt_DX_PERL
3817 DX_PERL="$ac_cv_path_DX_PERL"
3820 if test "$DX_FLAG_doc$DX_PERL" = 1; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
3822 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
3829 if test "$DX_FLAG_doc" = 1; then
3832 DX_COND_doc_FALSE='#'
3834 DX_COND_doc_TRUE='#'
3838 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
3844 DX_COND_doc_FALSE='#'
3846 DX_COND_doc_TRUE='#'
3859 # Check whether --enable-doxygen-dot was given.
3860 if test "${enable_doxygen_dot+set}" = set; then :
3861 enableval=$enable_doxygen_dot;
3862 case "$enableval" in
3868 test "$DX_FLAG_doc" = "1" \
3869 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
3877 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
3886 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
3892 if test "$DX_FLAG_dot" = 1; then
3894 if test -n "$ac_tool_prefix"; then
3895 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
3896 set dummy ${ac_tool_prefix}dot; ac_word=$2
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3898 $as_echo_n "checking for $ac_word... " >&6; }
3899 if test "${ac_cv_path_DX_DOT+set}" = set; then :
3900 $as_echo_n "(cached) " >&6
3904 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 test -z "$as_dir" && as_dir=.
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3914 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 DX_DOT=$ac_cv_path_DX_DOT
3926 if test -n "$DX_DOT"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
3928 $as_echo "$DX_DOT" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3936 if test -z "$ac_cv_path_DX_DOT"; then
3937 ac_pt_DX_DOT=$DX_DOT
3938 # Extract the first word of "dot", so it can be a program name with args.
3939 set dummy dot; ac_word=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
3943 $as_echo_n "(cached) " >&6
3945 case $ac_pt_DX_DOT in
3947 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
3969 if test -n "$ac_pt_DX_DOT"; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
3971 $as_echo "$ac_pt_DX_DOT" >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3977 if test "x$ac_pt_DX_DOT" = x; then
3980 case $cross_compiling:$ac_tool_warned in
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3984 ac_tool_warned=yes ;;
3986 DX_DOT=$ac_pt_DX_DOT
3989 DX_DOT="$ac_cv_path_DX_DOT"
3992 if test "$DX_FLAG_dot$DX_DOT" = 1; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
3994 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
4001 if test "$DX_FLAG_dot" = 1; then
4004 DX_COND_dot_FALSE='#'
4006 DX_COND_dot_TRUE='#'
4010 DX_ENV="$DX_ENV HAVE_DOT='YES'"
4012 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
4018 DX_COND_dot_FALSE='#'
4020 DX_COND_dot_TRUE='#'
4024 DX_ENV="$DX_ENV HAVE_DOT='NO'"
4030 # Man pages generation:
4034 # Check whether --enable-doxygen-man was given.
4035 if test "${enable_doxygen_man+set}" = set; then :
4036 enableval=$enable_doxygen_man;
4037 case "$enableval" in
4043 test "$DX_FLAG_doc" = "1" \
4044 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
4052 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
4061 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
4067 if test "$DX_FLAG_man" = 1; then
4071 if test "$DX_FLAG_man" = 1; then
4074 DX_COND_man_FALSE='#'
4076 DX_COND_man_TRUE='#'
4080 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
4086 DX_COND_man_FALSE='#'
4088 DX_COND_man_TRUE='#'
4092 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
4098 # RTF file generation:
4102 # Check whether --enable-doxygen-rtf was given.
4103 if test "${enable_doxygen_rtf+set}" = set; then :
4104 enableval=$enable_doxygen_rtf;
4105 case "$enableval" in
4111 test "$DX_FLAG_doc" = "1" \
4112 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
4120 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
4129 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
4135 if test "$DX_FLAG_rtf" = 1; then
4139 if test "$DX_FLAG_rtf" = 1; then
4142 DX_COND_rtf_FALSE='#'
4144 DX_COND_rtf_TRUE='#'
4148 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
4154 DX_COND_rtf_FALSE='#'
4156 DX_COND_rtf_TRUE='#'
4160 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
4166 # XML file generation:
4170 # Check whether --enable-doxygen-xml was given.
4171 if test "${enable_doxygen_xml+set}" = set; then :
4172 enableval=$enable_doxygen_xml;
4173 case "$enableval" in
4179 test "$DX_FLAG_doc" = "1" \
4180 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
4188 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
4197 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
4203 if test "$DX_FLAG_xml" = 1; then
4207 if test "$DX_FLAG_xml" = 1; then
4210 DX_COND_xml_FALSE='#'
4212 DX_COND_xml_TRUE='#'
4216 DX_ENV="$DX_ENV GENERATE_XML='YES'"
4222 DX_COND_xml_FALSE='#'
4224 DX_COND_xml_TRUE='#'
4228 DX_ENV="$DX_ENV GENERATE_XML='NO'"
4234 # (Compressed) HTML help generation:
4238 # Check whether --enable-doxygen-chm was given.
4239 if test "${enable_doxygen_chm+set}" = set; then :
4240 enableval=$enable_doxygen_chm;
4241 case "$enableval" in
4247 test "$DX_FLAG_doc" = "1" \
4248 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
4256 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
4265 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
4271 if test "$DX_FLAG_chm" = 1; then
4273 if test -n "$ac_tool_prefix"; then
4274 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
4275 set dummy ${ac_tool_prefix}hhc; ac_word=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if test "${ac_cv_path_DX_HHC+set}" = set; then :
4279 $as_echo_n "(cached) " >&6
4283 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir=.
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 DX_HHC=$ac_cv_path_DX_HHC
4305 if test -n "$DX_HHC"; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
4307 $as_echo "$DX_HHC" >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310 $as_echo "no" >&6; }
4315 if test -z "$ac_cv_path_DX_HHC"; then
4316 ac_pt_DX_HHC=$DX_HHC
4317 # Extract the first word of "hhc", so it can be a program name with args.
4318 set dummy hhc; ac_word=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4324 case $ac_pt_DX_HHC in
4326 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
4329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir=.
4334 for ac_exec_ext in '' $ac_executable_extensions; do
4335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4336 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
4348 if test -n "$ac_pt_DX_HHC"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
4350 $as_echo "$ac_pt_DX_HHC" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4356 if test "x$ac_pt_DX_HHC" = x; then
4359 case $cross_compiling:$ac_tool_warned in
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4363 ac_tool_warned=yes ;;
4365 DX_HHC=$ac_pt_DX_HHC
4368 DX_HHC="$ac_cv_path_DX_HHC"
4371 if test "$DX_FLAG_chm$DX_HHC" = 1; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
4373 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
4380 if test "$DX_FLAG_chm" = 1; then
4383 DX_COND_chm_FALSE='#'
4385 DX_COND_chm_TRUE='#'
4389 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
4391 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4393 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
4399 DX_COND_chm_FALSE='#'
4401 DX_COND_chm_TRUE='#'
4405 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
4411 # Seperate CHI file generation.
4415 # Check whether --enable-doxygen-chi was given.
4416 if test "${enable_doxygen_chi+set}" = set; then :
4417 enableval=$enable_doxygen_chi;
4418 case "$enableval" in
4424 test "$DX_FLAG_chm" = "1" \
4425 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
4433 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
4442 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
4448 if test "$DX_FLAG_chi" = 1; then
4452 if test "$DX_FLAG_chi" = 1; then
4455 DX_COND_chi_FALSE='#'
4457 DX_COND_chi_TRUE='#'
4461 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
4467 DX_COND_chi_FALSE='#'
4469 DX_COND_chi_TRUE='#'
4473 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
4479 # Plain HTML pages generation:
4483 # Check whether --enable-doxygen-html was given.
4484 if test "${enable_doxygen_html+set}" = set; then :
4485 enableval=$enable_doxygen_html;
4486 case "$enableval" in
4492 test "$DX_FLAG_doc" = "1" \
4493 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
4495 test "$DX_FLAG_chm" = "0" \
4496 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
4504 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
4513 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
4516 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
4522 if test "$DX_FLAG_html" = 1; then
4526 if test "$DX_FLAG_html" = 1; then
4529 DX_COND_html_FALSE='#'
4531 DX_COND_html_TRUE='#'
4535 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4541 DX_COND_html_FALSE='#'
4543 DX_COND_html_TRUE='#'
4547 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
4553 # PostScript file generation:
4557 # Check whether --enable-doxygen-ps was given.
4558 if test "${enable_doxygen_ps+set}" = set; then :
4559 enableval=$enable_doxygen_ps;
4560 case "$enableval" in
4566 test "$DX_FLAG_doc" = "1" \
4567 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
4575 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
4584 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
4590 if test "$DX_FLAG_ps" = 1; then
4592 if test -n "$ac_tool_prefix"; then
4593 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
4594 set dummy ${ac_tool_prefix}latex; ac_word=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4602 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
4605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir=.
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4612 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 DX_LATEX=$ac_cv_path_DX_LATEX
4624 if test -n "$DX_LATEX"; then
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
4626 $as_echo "$DX_LATEX" >&6; }
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4634 if test -z "$ac_cv_path_DX_LATEX"; then
4635 ac_pt_DX_LATEX=$DX_LATEX
4636 # Extract the first word of "latex", so it can be a program name with args.
4637 set dummy latex; ac_word=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
4641 $as_echo_n "(cached) " >&6
4643 case $ac_pt_DX_LATEX in
4645 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
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_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
4667 if test -n "$ac_pt_DX_LATEX"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
4669 $as_echo "$ac_pt_DX_LATEX" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4675 if test "x$ac_pt_DX_LATEX" = x; then
4678 case $cross_compiling:$ac_tool_warned in
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4682 ac_tool_warned=yes ;;
4684 DX_LATEX=$ac_pt_DX_LATEX
4687 DX_LATEX="$ac_cv_path_DX_LATEX"
4690 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
4692 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
4698 if test -n "$ac_tool_prefix"; then
4699 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
4700 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 case $DX_MAKEINDEX in
4708 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir=.
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4718 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
4730 if test -n "$DX_MAKEINDEX"; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
4732 $as_echo "$DX_MAKEINDEX" >&6; }
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4740 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
4741 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
4742 # Extract the first word of "makeindex", so it can be a program name with args.
4743 set dummy makeindex; ac_word=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
4747 $as_echo_n "(cached) " >&6
4749 case $ac_pt_DX_MAKEINDEX in
4751 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 test -z "$as_dir" && as_dir=.
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4761 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
4773 if test -n "$ac_pt_DX_MAKEINDEX"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
4775 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4781 if test "x$ac_pt_DX_MAKEINDEX" = x; then
4784 case $cross_compiling:$ac_tool_warned in
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4788 ac_tool_warned=yes ;;
4790 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
4793 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
4796 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
4798 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
4804 if test -n "$ac_tool_prefix"; then
4805 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
4806 set dummy ${ac_tool_prefix}dvips; ac_word=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4814 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821 test -z "$as_dir" && as_dir=.
4822 for ac_exec_ext in '' $ac_executable_extensions; do
4823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4824 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 DX_DVIPS=$ac_cv_path_DX_DVIPS
4836 if test -n "$DX_DVIPS"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
4838 $as_echo "$DX_DVIPS" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4846 if test -z "$ac_cv_path_DX_DVIPS"; then
4847 ac_pt_DX_DVIPS=$DX_DVIPS
4848 # Extract the first word of "dvips", so it can be a program name with args.
4849 set dummy dvips; ac_word=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
4853 $as_echo_n "(cached) " >&6
4855 case $ac_pt_DX_DVIPS in
4857 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4867 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
4879 if test -n "$ac_pt_DX_DVIPS"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
4881 $as_echo "$ac_pt_DX_DVIPS" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4887 if test "x$ac_pt_DX_DVIPS" = x; then
4890 case $cross_compiling:$ac_tool_warned in
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4894 ac_tool_warned=yes ;;
4896 DX_DVIPS=$ac_pt_DX_DVIPS
4899 DX_DVIPS="$ac_cv_path_DX_DVIPS"
4902 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
4904 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
4910 if test -n "$ac_tool_prefix"; then
4911 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
4912 set dummy ${ac_tool_prefix}egrep; ac_word=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
4916 $as_echo_n "(cached) " >&6
4920 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 DX_EGREP=$ac_cv_path_DX_EGREP
4942 if test -n "$DX_EGREP"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
4944 $as_echo "$DX_EGREP" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4952 if test -z "$ac_cv_path_DX_EGREP"; then
4953 ac_pt_DX_EGREP=$DX_EGREP
4954 # Extract the first word of "egrep", so it can be a program name with args.
4955 set dummy egrep; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4961 case $ac_pt_DX_EGREP in
4963 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
4985 if test -n "$ac_pt_DX_EGREP"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
4987 $as_echo "$ac_pt_DX_EGREP" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4993 if test "x$ac_pt_DX_EGREP" = x; then
4996 case $cross_compiling:$ac_tool_warned in
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000 ac_tool_warned=yes ;;
5002 DX_EGREP=$ac_pt_DX_EGREP
5005 DX_EGREP="$ac_cv_path_DX_EGREP"
5008 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
5010 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
5017 if test "$DX_FLAG_ps" = 1; then
5020 DX_COND_ps_FALSE='#'
5031 DX_COND_ps_FALSE='#'
5042 # PDF file generation:
5046 # Check whether --enable-doxygen-pdf was given.
5047 if test "${enable_doxygen_pdf+set}" = set; then :
5048 enableval=$enable_doxygen_pdf;
5049 case "$enableval" in
5055 test "$DX_FLAG_doc" = "1" \
5056 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
5064 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
5073 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
5079 if test "$DX_FLAG_pdf" = 1; then
5081 if test -n "$ac_tool_prefix"; then
5082 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
5083 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5086 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
5087 $as_echo_n "(cached) " >&6
5089 case $DX_PDFLATEX in
5091 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir=.
5099 for ac_exec_ext in '' $ac_executable_extensions; do
5100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5101 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
5113 if test -n "$DX_PDFLATEX"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
5115 $as_echo "$DX_PDFLATEX" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5123 if test -z "$ac_cv_path_DX_PDFLATEX"; then
5124 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
5125 # Extract the first word of "pdflatex", so it can be a program name with args.
5126 set dummy pdflatex; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
5130 $as_echo_n "(cached) " >&6
5132 case $ac_pt_DX_PDFLATEX in
5134 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
5156 if test -n "$ac_pt_DX_PDFLATEX"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
5158 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5164 if test "x$ac_pt_DX_PDFLATEX" = x; then
5167 case $cross_compiling:$ac_tool_warned in
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171 ac_tool_warned=yes ;;
5173 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
5176 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
5179 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
5181 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
5187 if test -n "$ac_tool_prefix"; then
5188 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
5189 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
5193 $as_echo_n "(cached) " >&6
5195 case $DX_MAKEINDEX in
5197 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 test -z "$as_dir" && as_dir=.
5205 for ac_exec_ext in '' $ac_executable_extensions; do
5206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5207 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
5219 if test -n "$DX_MAKEINDEX"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
5221 $as_echo "$DX_MAKEINDEX" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5229 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
5230 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
5231 # Extract the first word of "makeindex", so it can be a program name with args.
5232 set dummy makeindex; ac_word=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
5236 $as_echo_n "(cached) " >&6
5238 case $ac_pt_DX_MAKEINDEX in
5240 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5262 if test -n "$ac_pt_DX_MAKEINDEX"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5264 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5270 if test "x$ac_pt_DX_MAKEINDEX" = x; then
5273 case $cross_compiling:$ac_tool_warned in
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5277 ac_tool_warned=yes ;;
5279 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5282 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5285 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
5287 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
5293 if test -n "$ac_tool_prefix"; then
5294 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5295 set dummy ${ac_tool_prefix}egrep; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
5299 $as_echo_n "(cached) " >&6
5303 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 DX_EGREP=$ac_cv_path_DX_EGREP
5325 if test -n "$DX_EGREP"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5327 $as_echo "$DX_EGREP" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5335 if test -z "$ac_cv_path_DX_EGREP"; then
5336 ac_pt_DX_EGREP=$DX_EGREP
5337 # Extract the first word of "egrep", so it can be a program name with args.
5338 set dummy egrep; ac_word=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
5342 $as_echo_n "(cached) " >&6
5344 case $ac_pt_DX_EGREP in
5346 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5368 if test -n "$ac_pt_DX_EGREP"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5370 $as_echo "$ac_pt_DX_EGREP" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5376 if test "x$ac_pt_DX_EGREP" = x; then
5379 case $cross_compiling:$ac_tool_warned in
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5383 ac_tool_warned=yes ;;
5385 DX_EGREP=$ac_pt_DX_EGREP
5388 DX_EGREP="$ac_cv_path_DX_EGREP"
5391 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
5393 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
5400 if test "$DX_FLAG_pdf" = 1; then
5403 DX_COND_pdf_FALSE='#'
5405 DX_COND_pdf_TRUE='#'
5414 DX_COND_pdf_FALSE='#'
5416 DX_COND_pdf_TRUE='#'
5425 # LaTeX generation for PS and/or PDF:
5426 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
5429 DX_COND_latex_FALSE='#'
5431 DX_COND_latex_TRUE='#'
5432 DX_COND_latex_FALSE=
5435 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
5440 DX_COND_latex_FALSE='#'
5442 DX_COND_latex_TRUE='#'
5443 DX_COND_latex_FALSE=
5446 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
5450 # Paper size for PS and/or PDF:
5452 case "$DOXYGEN_PAPER_SIZE" in
5455 DOXYGEN_PAPER_SIZE=""
5458 a4wide|a4|letter|legal|executive)
5459 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
5463 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
5468 #echo DX_FLAG_doc=$DX_FLAG_doc
5469 #echo DX_FLAG_dot=$DX_FLAG_dot
5470 #echo DX_FLAG_man=$DX_FLAG_man
5471 #echo DX_FLAG_html=$DX_FLAG_html
5472 #echo DX_FLAG_chm=$DX_FLAG_chm
5473 #echo DX_FLAG_chi=$DX_FLAG_chi
5474 #echo DX_FLAG_rtf=$DX_FLAG_rtf
5475 #echo DX_FLAG_xml=$DX_FLAG_xml
5476 #echo DX_FLAG_pdf=$DX_FLAG_pdf
5477 #echo DX_FLAG_ps=$DX_FLAG_ps
5478 #echo DX_ENV=$DX_ENV
5482 # Check whether --enable-debug was given.
5483 if test "${enable_debug+set}" = set; then :
5484 enableval=$enable_debug; enable_debug=$enableval
5490 if test "$enable_debug" = "yes" ; then
5491 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
5492 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
5494 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
5495 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
5499 ac_cpp='$CPP $CPPFLAGS'
5500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5503 if test -n "$ac_tool_prefix"; then
5504 for ac_prog in gcc gcc3 cc
5506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if test "${ac_cv_prog_CC+set}" = set; then :
5511 $as_echo_n "(cached) " >&6
5513 if test -n "$CC"; then
5514 ac_cv_prog_CC="$CC" # Let the user override the test.
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 if test -n "$CC"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5536 $as_echo "$CC" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5543 test -n "$CC" && break
5546 if test -z "$CC"; then
5548 for ac_prog in gcc gcc3 cc
5550 # Extract the first word of "$ac_prog", so it can be a program name with args.
5551 set dummy $ac_prog; ac_word=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5555 $as_echo_n "(cached) " >&6
5557 if test -n "$ac_ct_CC"; then
5558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_prog_ac_ct_CC="$ac_prog"
5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5578 if test -n "$ac_ct_CC"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5580 $as_echo "$ac_ct_CC" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5587 test -n "$ac_ct_CC" && break
5590 if test "x$ac_ct_CC" = x; then
5593 case $cross_compiling:$ac_tool_warned in
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned=yes ;;
5604 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5606 as_fn_error $? "no acceptable C compiler found in \$PATH
5607 See \`config.log' for more details" "$LINENO" 5 ; }
5609 # Provide some information about the compiler.
5610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5613 for ac_option in --version -v -V -qversion; do
5614 { { ac_try="$ac_compiler $ac_option >&5"
5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617 *) ac_try_echo=$ac_try;;
5619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5620 $as_echo "$ac_try_echo"; } >&5
5621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5623 if test -s conftest.err; then
5625 ... rest of stderr output deleted ...
5626 10q' conftest.err >conftest.er1
5627 cat conftest.er1 >&5
5629 rm -f conftest.er1 conftest.err
5630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5631 test $ac_status = 0; }
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5645 ac_clean_files_save=$ac_clean_files
5646 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5647 # Try to create an executable without -o first, disregard a.out.
5648 # It will help us diagnose broken compilers, and finding out an intuition
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5651 $as_echo_n "checking whether the C compiler works... " >&6; }
5652 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5654 # The possible output files:
5655 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5658 for ac_file in $ac_files
5661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5667 if { { ac_try="$ac_link_default"
5669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670 *) ac_try_echo=$ac_try;;
5672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5673 $as_echo "$ac_try_echo"; } >&5
5674 (eval "$ac_link_default") 2>&5
5676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5677 test $ac_status = 0; }; then :
5678 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5679 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5680 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5681 # so that the user can short-circuit this test for compilers unknown to
5683 for ac_file in $ac_files ''
5685 test -f "$ac_file" || continue
5687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5690 # We found the default executable, but exeext='' is most
5694 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5696 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5698 # We set ac_cv_exeext here because the later test for it is not
5699 # safe: cross compilers may not add the suffix if given an `-o'
5700 # argument, so we may need to know it at that point already.
5701 # Even if this section looks crufty: it has the advantage of
5708 test "$ac_cv_exeext" = no && ac_cv_exeext=
5713 if test -z "$ac_file"; then :
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 $as_echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5721 as_fn_error 77 "C compiler cannot create executables
5722 See \`config.log' for more details" "$LINENO" 5 ; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5725 $as_echo "yes" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5728 $as_echo_n "checking for C compiler default output file name... " >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5730 $as_echo "$ac_file" >&6; }
5731 ac_exeext=$ac_cv_exeext
5733 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5734 ac_clean_files=$ac_clean_files_save
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5736 $as_echo_n "checking for suffix of executables... " >&6; }
5737 if { { ac_try="$ac_link"
5739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5740 *) ac_try_echo=$ac_try;;
5742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5743 $as_echo "$ac_try_echo"; } >&5
5744 (eval "$ac_link") 2>&5
5746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5747 test $ac_status = 0; }; then :
5748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5750 # work properly (i.e., refer to `conftest.exe'), while it won't with
5752 for ac_file in conftest.exe conftest conftest.*; do
5753 test -f "$ac_file" || continue
5755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5764 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5765 See \`config.log' for more details" "$LINENO" 5 ; }
5767 rm -f conftest conftest$ac_cv_exeext
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5769 $as_echo "$ac_cv_exeext" >&6; }
5771 rm -f conftest.$ac_ext
5772 EXEEXT=$ac_cv_exeext
5774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775 /* end confdefs.h. */
5780 FILE *f = fopen ("conftest.out", "w");
5781 return ferror (f) || fclose (f) != 0;
5787 ac_clean_files="$ac_clean_files conftest.out"
5788 # Check that the compiler produces executables we can run. If not, either
5789 # the compiler is broken, or we cross compile.
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5791 $as_echo_n "checking whether we are cross compiling... " >&6; }
5792 if test "$cross_compiling" != yes; then
5793 { { ac_try="$ac_link"
5795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5796 *) ac_try_echo=$ac_try;;
5798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5799 $as_echo "$ac_try_echo"; } >&5
5800 (eval "$ac_link") 2>&5
5802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5803 test $ac_status = 0; }
5804 if { ac_try='./conftest$ac_cv_exeext'
5805 { { case "(($ac_try" in
5806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5807 *) ac_try_echo=$ac_try;;
5809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5810 $as_echo "$ac_try_echo"; } >&5
5811 (eval "$ac_try") 2>&5
5813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5814 test $ac_status = 0; }; }; then
5817 if test "$cross_compiling" = maybe; then
5820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5822 as_fn_error $? "cannot run C compiled programs.
5823 If you meant to cross compile, use \`--host'.
5824 See \`config.log' for more details" "$LINENO" 5 ; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5829 $as_echo "$cross_compiling" >&6; }
5831 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5832 ac_clean_files=$ac_clean_files_save
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5834 $as_echo_n "checking for suffix of object files... " >&6; }
5835 if test "${ac_cv_objext+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5849 rm -f conftest.o conftest.obj
5850 if { { ac_try="$ac_compile"
5852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5853 *) ac_try_echo=$ac_try;;
5855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5856 $as_echo "$ac_try_echo"; } >&5
5857 (eval "$ac_compile") 2>&5
5859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5860 test $ac_status = 0; }; then :
5861 for ac_file in conftest.o conftest.obj conftest.*; do
5862 test -f "$ac_file" || continue;
5864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5870 $as_echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5875 as_fn_error $? "cannot compute suffix of object files: cannot compile
5876 See \`config.log' for more details" "$LINENO" 5 ; }
5878 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5881 $as_echo "$ac_cv_objext" >&6; }
5882 OBJEXT=$ac_cv_objext
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5885 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5886 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5887 $as_echo_n "(cached) " >&6
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5903 if ac_fn_c_try_compile "$LINENO"; then :
5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5913 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5914 if test $ac_compiler_gnu = yes; then
5919 ac_test_CFLAGS=${CFLAGS+set}
5920 ac_save_CFLAGS=$CFLAGS
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5922 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5923 if test "${ac_cv_prog_cc_g+set}" = set; then :
5924 $as_echo_n "(cached) " >&6
5926 ac_save_c_werror_flag=$ac_c_werror_flag
5927 ac_c_werror_flag=yes
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5941 if ac_fn_c_try_compile "$LINENO"; then :
5945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5946 /* end confdefs.h. */
5956 if ac_fn_c_try_compile "$LINENO"; then :
5959 ac_c_werror_flag=$ac_save_c_werror_flag
5961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5972 if ac_fn_c_try_compile "$LINENO"; then :
5975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5980 ac_c_werror_flag=$ac_save_c_werror_flag
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5983 $as_echo "$ac_cv_prog_cc_g" >&6; }
5984 if test "$ac_test_CFLAGS" = set; then
5985 CFLAGS=$ac_save_CFLAGS
5986 elif test $ac_cv_prog_cc_g = yes; then
5987 if test "$GCC" = yes; then
5993 if test "$GCC" = yes; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6001 if test "${ac_cv_prog_cc_c89+set}" = set; then :
6002 $as_echo_n "(cached) " >&6
6004 ac_cv_prog_cc_c89=no
6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6010 #include <sys/types.h>
6011 #include <sys/stat.h>
6012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6013 struct buf { int x; };
6014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6015 static char *e (p, i)
6021 static char *f (char * (*g) (char **, int), char **p, ...)
6026 s = g (p, va_arg (v,int));
6031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6032 function prototypes and stuff, but not '\xHH' hex character constants.
6033 These don't provoke an error unfortunately, instead are silently treated
6034 as 'x'. The following induces an error, until -std is added to get
6035 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6036 array size at least. It's necessary to write '\x00'==0 to get something
6037 that's true only with -std. */
6038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6041 inside strings and character constants. */
6043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6045 int test (int i, double x);
6046 struct s1 {int (*f) (int a);};
6047 struct s2 {int (*f) (double a);};
6048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6054 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6060 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6062 CC="$ac_save_CC $ac_arg"
6063 if ac_fn_c_try_compile "$LINENO"; then :
6064 ac_cv_prog_cc_c89=$ac_arg
6066 rm -f core conftest.err conftest.$ac_objext
6067 test "x$ac_cv_prog_cc_c89" != "xno" && break
6069 rm -f conftest.$ac_ext
6074 case "x$ac_cv_prog_cc_c89" in
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6077 $as_echo "none needed" >&6; } ;;
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6080 $as_echo "unsupported" >&6; } ;;
6082 CC="$CC $ac_cv_prog_cc_c89"
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6084 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6086 if test "x$ac_cv_prog_cc_c89" != xno; then :
6091 ac_cpp='$CPP $CPPFLAGS'
6092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6095 DEPDIR="${am__leading_dot}deps"
6097 ac_config_commands="$ac_config_commands depfiles"
6100 am_make=${MAKE-make}
6101 cat > confinc << 'END'
6103 @echo this is the am__doit target
6106 # If we don't find an include directive, just comment out the code.
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
6108 $as_echo_n "checking for style of include used by $am_make... " >&6; }
6112 # First try GNU make style include.
6113 echo "include confinc" > confmf
6114 # Ignore all kinds of additional output from `make'.
6115 case `$am_make -s -f confmf 2> /dev/null` in #(
6116 *the\ am__doit\ target*)
6122 # Now try BSD make style include.
6123 if test "$am__include" = "#"; then
6124 echo '.include "confinc"' > confmf
6125 case `$am_make -s -f confmf 2> /dev/null` in #(
6126 *the\ am__doit\ target*)
6127 am__include=.include
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
6136 $as_echo "$_am_result" >&6; }
6137 rm -f confinc confmf
6139 # Check whether --enable-dependency-tracking was given.
6140 if test "${enable_dependency_tracking+set}" = set; then :
6141 enableval=$enable_dependency_tracking;
6144 if test "x$enable_dependency_tracking" != xno; then
6145 am_depcomp="$ac_aux_dir/depcomp"
6148 if test "x$enable_dependency_tracking" != xno; then
6158 depcc="$CC" am_compiler_list=
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6161 $as_echo_n "checking dependency style of $depcc... " >&6; }
6162 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6163 $as_echo_n "(cached) " >&6
6165 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6166 # We make a subdir and do the tests there. Otherwise we can end up
6167 # making bogus files that we don't know about and never remove. For
6168 # instance it was reported that on HP-UX the gcc test will end up
6169 # making a dummy file named `D' -- because `-MD' means `put the output
6172 # Copy depcomp to subdir because otherwise we won't find it if we're
6173 # using a relative directory.
6174 cp "$am_depcomp" conftest.dir
6176 # We will build objects and dependencies in a subdirectory because
6177 # it helps to detect inapplicable dependency modes. For instance
6178 # both Tru64's cc and ICC support -MD to output dependencies as a
6179 # side effect of compilation, but ICC will put the dependencies in
6180 # the current directory while Tru64 will put them in the object
6184 am_cv_CC_dependencies_compiler_type=none
6185 if test "$am_compiler_list" = ""; then
6186 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6189 case " $depcc " in #(
6190 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6193 for depmode in $am_compiler_list; do
6194 # Setup a source with many dependencies, because some compilers
6195 # like to wrap large dependency lists on column 80 (with \), and
6196 # we should not choose a depcomp mode which is confused by this.
6198 # We need to recreate these files for each test, as the compiler may
6199 # overwrite some of them when testing with obscure command lines.
6200 # This happens at least with the AIX C compiler.
6202 for i in 1 2 3 4 5 6; do
6203 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6204 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6205 # Solaris 8's {/usr,}/bin/sh.
6206 touch sub/conftst$i.h
6208 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6210 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6211 # mode. It turns out that the SunPro C++ compiler does not properly
6212 # handle `-M -o', and we need to detect this. Also, some Intel
6213 # versions had trouble with output in subdirs
6214 am__obj=sub/conftest.${OBJEXT-o}
6215 am__minus_obj="-o $am__obj"
6218 # This depmode causes a compiler race in universal mode.
6219 test "$am__universal" = false || continue
6222 # after this tag, mechanisms are not by side-effect, so they'll
6223 # only be used when explicitly requested
6224 if test "x$enable_dependency_tracking" = xyes; then
6230 msvisualcpp | msvcmsys)
6231 # This compiler won't grok `-c -o', but also, the minuso test has
6232 # not run yet. These depmodes are late enough in the game, and
6233 # so weak that their functioning should not be impacted.
6234 am__obj=conftest.${OBJEXT-o}
6239 if depmode=$depmode \
6240 source=sub/conftest.c object=$am__obj \
6241 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6242 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6243 >/dev/null 2>conftest.err &&
6244 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6245 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6246 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6247 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6248 # icc doesn't choke on unknown options, it will just issue warnings
6249 # or remarks (even with -Werror). So we grep stderr for any message
6250 # that says an option was ignored or not supported.
6251 # When given -MP, icc 7.0 and 7.1 complain thusly:
6252 # icc: Command line warning: ignoring option '-M'; no argument required
6253 # The diagnosis changed in icc 8.0:
6254 # icc: Command line remark: option '-MP' not supported
6255 if (grep 'ignoring option' conftest.err ||
6256 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6257 am_cv_CC_dependencies_compiler_type=$depmode
6266 am_cv_CC_dependencies_compiler_type=none
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6271 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6272 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6275 test "x$enable_dependency_tracking" != xno \
6276 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6278 am__fastdepCC_FALSE='#'
6280 am__fastdepCC_TRUE='#'
6281 am__fastdepCC_FALSE=
6286 ac_cpp='$CXXCPP $CPPFLAGS'
6287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6290 if test -z "$CXX"; then
6291 if test -n "$CCC"; then
6294 if test -n "$ac_tool_prefix"; then
6295 for ac_prog in g++ g++3 c++ CC
6297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6298 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if test "${ac_cv_prog_CXX+set}" = set; then :
6302 $as_echo_n "(cached) " >&6
6304 if test -n "$CXX"; then
6305 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6314 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 if test -n "$CXX"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6327 $as_echo "$CXX" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6334 test -n "$CXX" && break
6337 if test -z "$CXX"; then
6339 for ac_prog in g++ g++3 c++ CC
6341 # Extract the first word of "$ac_prog", so it can be a program name with args.
6342 set dummy $ac_prog; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
6346 $as_echo_n "(cached) " >&6
6348 if test -n "$ac_ct_CXX"; then
6349 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 test -z "$as_dir" && as_dir=.
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6358 ac_cv_prog_ac_ct_CXX="$ac_prog"
6359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6369 if test -n "$ac_ct_CXX"; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6371 $as_echo "$ac_ct_CXX" >&6; }
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6378 test -n "$ac_ct_CXX" && break
6381 if test "x$ac_ct_CXX" = x; then
6384 case $cross_compiling:$ac_tool_warned in
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6388 ac_tool_warned=yes ;;
6396 # Provide some information about the compiler.
6397 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6400 for ac_option in --version -v -V -qversion; do
6401 { { ac_try="$ac_compiler $ac_option >&5"
6403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6404 *) ac_try_echo=$ac_try;;
6406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6407 $as_echo "$ac_try_echo"; } >&5
6408 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6410 if test -s conftest.err; then
6412 ... rest of stderr output deleted ...
6413 10q' conftest.err >conftest.er1
6414 cat conftest.er1 >&5
6416 rm -f conftest.er1 conftest.err
6417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418 test $ac_status = 0; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6422 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6423 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
6424 $as_echo_n "(cached) " >&6
6426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6440 if ac_fn_cxx_try_compile "$LINENO"; then :
6445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6446 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6450 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6451 if test $ac_compiler_gnu = yes; then
6456 ac_test_CXXFLAGS=${CXXFLAGS+set}
6457 ac_save_CXXFLAGS=$CXXFLAGS
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6459 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6460 if test "${ac_cv_prog_cxx_g+set}" = set; then :
6461 $as_echo_n "(cached) " >&6
6463 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6464 ac_cxx_werror_flag=yes
6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6478 if ac_fn_cxx_try_compile "$LINENO"; then :
6479 ac_cv_prog_cxx_g=yes
6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6483 /* end confdefs.h. */
6493 if ac_fn_cxx_try_compile "$LINENO"; then :
6496 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6509 if ac_fn_cxx_try_compile "$LINENO"; then :
6510 ac_cv_prog_cxx_g=yes
6512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6517 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6520 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6521 if test "$ac_test_CXXFLAGS" = set; then
6522 CXXFLAGS=$ac_save_CXXFLAGS
6523 elif test $ac_cv_prog_cxx_g = yes; then
6524 if test "$GXX" = yes; then
6530 if test "$GXX" = yes; then
6537 ac_cpp='$CPP $CPPFLAGS'
6538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542 depcc="$CXX" am_compiler_list=
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6545 $as_echo_n "checking dependency style of $depcc... " >&6; }
6546 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6549 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6550 # We make a subdir and do the tests there. Otherwise we can end up
6551 # making bogus files that we don't know about and never remove. For
6552 # instance it was reported that on HP-UX the gcc test will end up
6553 # making a dummy file named `D' -- because `-MD' means `put the output
6556 # Copy depcomp to subdir because otherwise we won't find it if we're
6557 # using a relative directory.
6558 cp "$am_depcomp" conftest.dir
6560 # We will build objects and dependencies in a subdirectory because
6561 # it helps to detect inapplicable dependency modes. For instance
6562 # both Tru64's cc and ICC support -MD to output dependencies as a
6563 # side effect of compilation, but ICC will put the dependencies in
6564 # the current directory while Tru64 will put them in the object
6568 am_cv_CXX_dependencies_compiler_type=none
6569 if test "$am_compiler_list" = ""; then
6570 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6573 case " $depcc " in #(
6574 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6577 for depmode in $am_compiler_list; do
6578 # Setup a source with many dependencies, because some compilers
6579 # like to wrap large dependency lists on column 80 (with \), and
6580 # we should not choose a depcomp mode which is confused by this.
6582 # We need to recreate these files for each test, as the compiler may
6583 # overwrite some of them when testing with obscure command lines.
6584 # This happens at least with the AIX C compiler.
6586 for i in 1 2 3 4 5 6; do
6587 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6588 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6589 # Solaris 8's {/usr,}/bin/sh.
6590 touch sub/conftst$i.h
6592 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6594 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6595 # mode. It turns out that the SunPro C++ compiler does not properly
6596 # handle `-M -o', and we need to detect this. Also, some Intel
6597 # versions had trouble with output in subdirs
6598 am__obj=sub/conftest.${OBJEXT-o}
6599 am__minus_obj="-o $am__obj"
6602 # This depmode causes a compiler race in universal mode.
6603 test "$am__universal" = false || continue
6606 # after this tag, mechanisms are not by side-effect, so they'll
6607 # only be used when explicitly requested
6608 if test "x$enable_dependency_tracking" = xyes; then
6614 msvisualcpp | msvcmsys)
6615 # This compiler won't grok `-c -o', but also, the minuso test has
6616 # not run yet. These depmodes are late enough in the game, and
6617 # so weak that their functioning should not be impacted.
6618 am__obj=conftest.${OBJEXT-o}
6623 if depmode=$depmode \
6624 source=sub/conftest.c object=$am__obj \
6625 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6626 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6627 >/dev/null 2>conftest.err &&
6628 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6629 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6630 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6631 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6632 # icc doesn't choke on unknown options, it will just issue warnings
6633 # or remarks (even with -Werror). So we grep stderr for any message
6634 # that says an option was ignored or not supported.
6635 # When given -MP, icc 7.0 and 7.1 complain thusly:
6636 # icc: Command line warning: ignoring option '-M'; no argument required
6637 # The diagnosis changed in icc 8.0:
6638 # icc: Command line remark: option '-MP' not supported
6639 if (grep 'ignoring option' conftest.err ||
6640 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6641 am_cv_CXX_dependencies_compiler_type=$depmode
6650 am_cv_CXX_dependencies_compiler_type=none
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6655 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6656 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6659 test "x$enable_dependency_tracking" != xno \
6660 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6661 am__fastdepCXX_TRUE=
6662 am__fastdepCXX_FALSE='#'
6664 am__fastdepCXX_TRUE='#'
6665 am__fastdepCXX_FALSE=
6669 # Make sure we can run config.sub.
6670 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6671 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6674 $as_echo_n "checking build system type... " >&6; }
6675 if test "${ac_cv_build+set}" = set; then :
6676 $as_echo_n "(cached) " >&6
6678 ac_build_alias=$build_alias
6679 test "x$ac_build_alias" = x &&
6680 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6681 test "x$ac_build_alias" = x &&
6682 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6683 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6684 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6688 $as_echo "$ac_cv_build" >&6; }
6689 case $ac_cv_build in
6691 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
6694 ac_save_IFS=$IFS; IFS='-'
6700 # Remember, the first character of IFS is used to create $*,
6701 # except with old shells:
6704 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6708 $as_echo_n "checking host system type... " >&6; }
6709 if test "${ac_cv_host+set}" = set; then :
6710 $as_echo_n "(cached) " >&6
6712 if test "x$host_alias" = x; then
6713 ac_cv_host=$ac_cv_build
6715 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6716 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6721 $as_echo "$ac_cv_host" >&6; }
6724 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
6727 ac_save_IFS=$IFS; IFS='-'
6733 # Remember, the first character of IFS is used to create $*,
6734 # except with old shells:
6737 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6741 if test "$GCC" = "yes" ; then
6742 # AC_HAVE_GCC_VERSION(4,0,0,0,
6744 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
6745 # [Define to enable class visibility control in gcc.])
6746 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
6747 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
6749 CFLAGS="-Wall $GCC_CFLAGS"
6750 CXXFLAGS="-Wall $GCC_CXXFLAGS"
6752 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
6753 case "${host_cpu}-${host_os}" in
6755 if test "$CXX" = "CC" ; then
6756 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
6760 CXXFLAGS="$CXXFLAGS -D_POSIX_PII_SOCKET"
6765 # Check whether --enable-static was given.
6766 if test "${enable_static+set}" = set; then :
6767 enableval=$enable_static; p=${PACKAGE-default}
6769 yes) enable_static=yes ;;
6770 no) enable_static=no ;;
6773 # Look at the argument we got. We use all the common list separators.
6774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6775 for pkg in $enableval; do
6777 if test "X$pkg" = "X$p"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6799 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6804 macro_version='2.2.6b'
6805 macro_revision='1.3017'
6819 ltmain="$ac_aux_dir/ltmain.sh"
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6822 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6823 if test "${ac_cv_path_SED+set}" = set; then :
6824 $as_echo_n "(cached) " >&6
6826 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6827 for ac_i in 1 2 3 4 5 6 7; do
6828 ac_script="$ac_script$as_nl$ac_script"
6830 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6831 { ac_script=; unset ac_script;}
6832 if test -z "$SED"; then
6833 ac_path_SED_found=false
6834 # Loop through the user's path and test for each of PROGNAME-LIST
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 test -z "$as_dir" && as_dir=.
6840 for ac_prog in sed gsed; do
6841 for ac_exec_ext in '' $ac_executable_extensions; do
6842 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6843 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6844 # Check for GNU ac_path_SED and select it if it is found.
6845 # Check for GNU $ac_path_SED
6846 case `"$ac_path_SED" --version 2>&1` in
6848 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6851 $as_echo_n 0123456789 >"conftest.in"
6854 cat "conftest.in" "conftest.in" >"conftest.tmp"
6855 mv "conftest.tmp" "conftest.in"
6856 cp "conftest.in" "conftest.nl"
6857 $as_echo '' >> "conftest.nl"
6858 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6859 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6860 as_fn_arith $ac_count + 1 && ac_count=$as_val
6861 if test $ac_count -gt ${ac_path_SED_max-0}; then
6862 # Best one so far, save it but keep looking for a better one
6863 ac_cv_path_SED="$ac_path_SED"
6864 ac_path_SED_max=$ac_count
6866 # 10*(2^10) chars as input seems more than enough
6867 test $ac_count -gt 10 && break
6869 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6872 $ac_path_SED_found && break 3
6877 if test -z "$ac_cv_path_SED"; then
6878 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6886 $as_echo "$ac_cv_path_SED" >&6; }
6887 SED="$ac_cv_path_SED"
6890 test -z "$SED" && SED=sed
6891 Xsed="$SED -e 1s/^X//"
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6904 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6905 if test "${ac_cv_path_GREP+set}" = set; then :
6906 $as_echo_n "(cached) " >&6
6908 if test -z "$GREP"; then
6909 ac_path_GREP_found=false
6910 # Loop through the user's path and test for each of PROGNAME-LIST
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6915 test -z "$as_dir" && as_dir=.
6916 for ac_prog in grep ggrep; do
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6919 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6920 # Check for GNU ac_path_GREP and select it if it is found.
6921 # Check for GNU $ac_path_GREP
6922 case `"$ac_path_GREP" --version 2>&1` in
6924 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6927 $as_echo_n 0123456789 >"conftest.in"
6930 cat "conftest.in" "conftest.in" >"conftest.tmp"
6931 mv "conftest.tmp" "conftest.in"
6932 cp "conftest.in" "conftest.nl"
6933 $as_echo 'GREP' >> "conftest.nl"
6934 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6935 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6936 as_fn_arith $ac_count + 1 && ac_count=$as_val
6937 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6938 # Best one so far, save it but keep looking for a better one
6939 ac_cv_path_GREP="$ac_path_GREP"
6940 ac_path_GREP_max=$ac_count
6942 # 10*(2^10) chars as input seems more than enough
6943 test $ac_count -gt 10 && break
6945 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6948 $ac_path_GREP_found && break 3
6953 if test -z "$ac_cv_path_GREP"; then
6954 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6957 ac_cv_path_GREP=$GREP
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6962 $as_echo "$ac_cv_path_GREP" >&6; }
6963 GREP="$ac_cv_path_GREP"
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6967 $as_echo_n "checking for egrep... " >&6; }
6968 if test "${ac_cv_path_EGREP+set}" = set; then :
6969 $as_echo_n "(cached) " >&6
6971 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6972 then ac_cv_path_EGREP="$GREP -E"
6974 if test -z "$EGREP"; then
6975 ac_path_EGREP_found=false
6976 # Loop through the user's path and test for each of PROGNAME-LIST
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6981 test -z "$as_dir" && as_dir=.
6982 for ac_prog in egrep; do
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6985 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6986 # Check for GNU ac_path_EGREP and select it if it is found.
6987 # Check for GNU $ac_path_EGREP
6988 case `"$ac_path_EGREP" --version 2>&1` in
6990 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6993 $as_echo_n 0123456789 >"conftest.in"
6996 cat "conftest.in" "conftest.in" >"conftest.tmp"
6997 mv "conftest.tmp" "conftest.in"
6998 cp "conftest.in" "conftest.nl"
6999 $as_echo 'EGREP' >> "conftest.nl"
7000 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7001 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7002 as_fn_arith $ac_count + 1 && ac_count=$as_val
7003 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7004 # Best one so far, save it but keep looking for a better one
7005 ac_cv_path_EGREP="$ac_path_EGREP"
7006 ac_path_EGREP_max=$ac_count
7008 # 10*(2^10) chars as input seems more than enough
7009 test $ac_count -gt 10 && break
7011 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7014 $ac_path_EGREP_found && break 3
7019 if test -z "$ac_cv_path_EGREP"; then
7020 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7023 ac_cv_path_EGREP=$EGREP
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7029 $as_echo "$ac_cv_path_EGREP" >&6; }
7030 EGREP="$ac_cv_path_EGREP"
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7034 $as_echo_n "checking for fgrep... " >&6; }
7035 if test "${ac_cv_path_FGREP+set}" = set; then :
7036 $as_echo_n "(cached) " >&6
7038 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7039 then ac_cv_path_FGREP="$GREP -F"
7041 if test -z "$FGREP"; then
7042 ac_path_FGREP_found=false
7043 # Loop through the user's path and test for each of PROGNAME-LIST
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7048 test -z "$as_dir" && as_dir=.
7049 for ac_prog in fgrep; do
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7051 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7052 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7053 # Check for GNU ac_path_FGREP and select it if it is found.
7054 # Check for GNU $ac_path_FGREP
7055 case `"$ac_path_FGREP" --version 2>&1` in
7057 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7060 $as_echo_n 0123456789 >"conftest.in"
7063 cat "conftest.in" "conftest.in" >"conftest.tmp"
7064 mv "conftest.tmp" "conftest.in"
7065 cp "conftest.in" "conftest.nl"
7066 $as_echo 'FGREP' >> "conftest.nl"
7067 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7069 as_fn_arith $ac_count + 1 && ac_count=$as_val
7070 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7071 # Best one so far, save it but keep looking for a better one
7072 ac_cv_path_FGREP="$ac_path_FGREP"
7073 ac_path_FGREP_max=$ac_count
7075 # 10*(2^10) chars as input seems more than enough
7076 test $ac_count -gt 10 && break
7078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7081 $ac_path_FGREP_found && break 3
7086 if test -z "$ac_cv_path_FGREP"; then
7087 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7090 ac_cv_path_FGREP=$FGREP
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7096 $as_echo "$ac_cv_path_FGREP" >&6; }
7097 FGREP="$ac_cv_path_FGREP"
7100 test -z "$GREP" && GREP=grep
7120 # Check whether --with-gnu-ld was given.
7121 if test "${with_gnu_ld+set}" = set; then :
7122 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7128 if test "$GCC" = yes; then
7129 # Check if gcc -print-prog-name=ld gives a path.
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7131 $as_echo_n "checking for ld used by $CC... " >&6; }
7134 # gcc leaves a trailing carriage return which upsets mingw
7135 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7137 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7140 # Accept absolute paths.
7142 re_direlt='/[^/][^/]*/\.\./'
7143 # Canonicalize the pathname of ld
7144 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7145 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7146 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7148 test -z "$LD" && LD="$ac_prog"
7151 # If it fails, then pretend we aren't using GCC.
7155 # If it is relative, then search for the first ld in PATH.
7159 elif test "$with_gnu_ld" = yes; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7161 $as_echo_n "checking for GNU ld... " >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7164 $as_echo_n "checking for non-GNU ld... " >&6; }
7166 if test "${lt_cv_path_LD+set}" = set; then :
7167 $as_echo_n "(cached) " >&6
7169 if test -z "$LD"; then
7170 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7171 for ac_dir in $PATH; do
7173 test -z "$ac_dir" && ac_dir=.
7174 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7175 lt_cv_path_LD="$ac_dir/$ac_prog"
7176 # Check to see if the program is GNU ld. I'd rather use --version,
7177 # but apparently some variants of GNU ld only accept -v.
7178 # Break only if it was the GNU/non-GNU ld that we prefer.
7179 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7180 *GNU* | *'with BFD'*)
7181 test "$with_gnu_ld" != no && break
7184 test "$with_gnu_ld" != yes && break
7191 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7196 if test -n "$LD"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7198 $as_echo "$LD" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7203 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7205 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7206 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7207 $as_echo_n "(cached) " >&6
7209 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7210 case `$LD -v 2>&1 </dev/null` in
7211 *GNU* | *'with BFD'*)
7212 lt_cv_prog_gnu_ld=yes
7215 lt_cv_prog_gnu_ld=no
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7220 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7221 with_gnu_ld=$lt_cv_prog_gnu_ld
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7232 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7233 if test "${lt_cv_path_NM+set}" = set; then :
7234 $as_echo_n "(cached) " >&6
7236 if test -n "$NM"; then
7237 # Let the user override the test.
7240 lt_nm_to_check="${ac_tool_prefix}nm"
7241 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7242 lt_nm_to_check="$lt_nm_to_check nm"
7244 for lt_tmp_nm in $lt_nm_to_check; do
7245 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7246 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7248 test -z "$ac_dir" && ac_dir=.
7249 tmp_nm="$ac_dir/$lt_tmp_nm"
7250 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7251 # Check to see if the nm accepts a BSD-compat flag.
7252 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7253 # nm: unknown option "B" ignored
7254 # Tru64's nm complains that /dev/null is an invalid object file
7255 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7256 */dev/null* | *'Invalid file or object type'*)
7257 lt_cv_path_NM="$tmp_nm -B"
7261 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7263 lt_cv_path_NM="$tmp_nm -p"
7267 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7268 continue # so that we can try to find one that supports BSD flags
7277 : ${lt_cv_path_NM=no}
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7281 $as_echo "$lt_cv_path_NM" >&6; }
7282 if test "$lt_cv_path_NM" != "no"; then
7285 # Didn't find any BSD compatible name lister, look for dumpbin.
7286 if test -n "$ac_tool_prefix"; then
7287 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7289 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7290 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 $as_echo_n "checking for $ac_word... " >&6; }
7293 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7294 $as_echo_n "(cached) " >&6
7296 if test -n "$DUMPBIN"; then
7297 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 test -z "$as_dir" && as_dir=.
7304 for ac_exec_ext in '' $ac_executable_extensions; do
7305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7306 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 DUMPBIN=$ac_cv_prog_DUMPBIN
7317 if test -n "$DUMPBIN"; then
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7319 $as_echo "$DUMPBIN" >&6; }
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 $as_echo "no" >&6; }
7326 test -n "$DUMPBIN" && break
7329 if test -z "$DUMPBIN"; then
7330 ac_ct_DUMPBIN=$DUMPBIN
7331 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7333 # Extract the first word of "$ac_prog", so it can be a program name with args.
7334 set dummy $ac_prog; ac_word=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7338 $as_echo_n "(cached) " >&6
7340 if test -n "$ac_ct_DUMPBIN"; then
7341 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7350 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7361 if test -n "$ac_ct_DUMPBIN"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7363 $as_echo "$ac_ct_DUMPBIN" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 $as_echo "no" >&6; }
7370 test -n "$ac_ct_DUMPBIN" && break
7373 if test "x$ac_ct_DUMPBIN" = x; then
7376 case $cross_compiling:$ac_tool_warned in
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380 ac_tool_warned=yes ;;
7382 DUMPBIN=$ac_ct_DUMPBIN
7387 if test "$DUMPBIN" != ":"; then
7391 test -z "$NM" && NM=nm
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7399 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7400 if test "${lt_cv_nm_interface+set}" = set; then :
7401 $as_echo_n "(cached) " >&6
7403 lt_cv_nm_interface="BSD nm"
7404 echo "int some_variable = 0;" > conftest.$ac_ext
7405 (eval echo "\"\$as_me:7405: $ac_compile\"" >&5)
7406 (eval "$ac_compile" 2>conftest.err)
7407 cat conftest.err >&5
7408 (eval echo "\"\$as_me:7408: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7409 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7410 cat conftest.err >&5
7411 (eval echo "\"\$as_me:7411: output\"" >&5)
7412 cat conftest.out >&5
7413 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7414 lt_cv_nm_interface="MS dumpbin"
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7419 $as_echo "$lt_cv_nm_interface" >&6; }
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7422 $as_echo_n "checking whether ln -s works... " >&6; }
7424 if test "$LN_S" = "ln -s"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7426 $as_echo "yes" >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7429 $as_echo "no, using $LN_S" >&6; }
7432 # find the maximum length of command line arguments
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7434 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7435 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7443 # On DJGPP, this test can blow up pretty badly due to problems in libc
7444 # (any single argument exceeding 2000 bytes causes a buffer overrun
7445 # during glob expansion). Even if it were fixed, the result of this
7446 # check would be larger than it should be.
7447 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7451 # Under GNU Hurd, this test is not required because there is
7452 # no limit to the length of command line arguments.
7453 # Libtool will interpret -1 as no limit whatsoever
7454 lt_cv_sys_max_cmd_len=-1;
7457 cygwin* | mingw* | cegcc*)
7458 # On Win9x/ME, this test blows up -- it succeeds, but takes
7459 # about 5 minutes as the teststring grows exponentially.
7460 # Worse, since 9x/ME are not pre-emptively multitasking,
7461 # you end up with a "frozen" computer, even though with patience
7462 # the test eventually succeeds (with a max line length of 256k).
7463 # Instead, let's just punt: use the minimum linelength reported by
7464 # all of the supported platforms: 8192 (on NT/2K/XP).
7465 lt_cv_sys_max_cmd_len=8192;
7469 # On AmigaOS with pdksh, this test takes hours, literally.
7470 # So we just punt and use a minimum line length of 8192.
7471 lt_cv_sys_max_cmd_len=8192;
7474 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7475 # This has been around since 386BSD, at least. Likely further.
7476 if test -x /sbin/sysctl; then
7477 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7478 elif test -x /usr/sbin/sysctl; then
7479 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7481 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7483 # And add a safety zone
7484 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7485 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7489 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7490 lt_cv_sys_max_cmd_len=196608
7494 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7495 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7496 # nice to cause kernel panics so lets avoid the loop below.
7497 # First set a reasonable default.
7498 lt_cv_sys_max_cmd_len=16384
7500 if test -x /sbin/sysconfig; then
7501 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7502 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7507 lt_cv_sys_max_cmd_len=102400
7509 sysv5* | sco5v6* | sysv4.2uw2*)
7510 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7511 if test -n "$kargmax"; then
7512 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7514 lt_cv_sys_max_cmd_len=32768
7518 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7519 if test -n "$lt_cv_sys_max_cmd_len"; then
7520 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7521 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7523 # Make teststring a little bigger before we do anything with it.
7524 # a 1K string should be a reasonable start.
7525 for i in 1 2 3 4 5 6 7 8 ; do
7526 teststring=$teststring$teststring
7528 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7529 # If test is not a shell built-in, we'll probably end up computing a
7530 # maximum length that is only half of the actual maximum length, but
7532 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7533 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7534 test $i != 17 # 1/2 MB should be enough
7537 teststring=$teststring$teststring
7539 # Only check the string length outside the loop.
7540 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7542 # Add a significant safety factor because C++ compilers can tack on
7543 # massive amounts of additional arguments before passing them to the
7544 # linker. It appears as though 1/2 is a usable value.
7545 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7552 if test -n $lt_cv_sys_max_cmd_len ; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7554 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7557 $as_echo "none" >&6; }
7559 max_cmd_len=$lt_cv_sys_max_cmd_len
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7571 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7572 # Try some XSI features
7575 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7577 && eval 'test $(( 1 + 1 )) -eq 2 \
7578 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7581 $as_echo "$xsi_shell" >&6; }
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7585 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7587 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7589 && lt_shell_append=yes
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7591 $as_echo "$lt_shell_append" >&6; }
7594 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7604 # test EBCDIC or ASCII
7605 case `echo X|tr X '\101'` in
7606 A) # ASCII based system
7607 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7608 lt_SP2NL='tr \040 \012'
7609 lt_NL2SP='tr \015\012 \040\040'
7611 *) # EBCDIC based system
7612 lt_SP2NL='tr \100 \n'
7613 lt_NL2SP='tr \r\n \100\100'
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7626 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7627 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7630 lt_cv_ld_reload_flag='-r'
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7633 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7634 reload_flag=$lt_cv_ld_reload_flag
7635 case $reload_flag in
7637 *) reload_flag=" $reload_flag" ;;
7639 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7642 if test "$GCC" = yes; then
7643 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7645 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7658 if test -n "$ac_tool_prefix"; then
7659 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7660 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7662 $as_echo_n "checking for $ac_word... " >&6; }
7663 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7664 $as_echo_n "(cached) " >&6
7666 if test -n "$OBJDUMP"; then
7667 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 test -z "$as_dir" && as_dir=.
7674 for ac_exec_ext in '' $ac_executable_extensions; do
7675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7676 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7686 OBJDUMP=$ac_cv_prog_OBJDUMP
7687 if test -n "$OBJDUMP"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7689 $as_echo "$OBJDUMP" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692 $as_echo "no" >&6; }
7697 if test -z "$ac_cv_prog_OBJDUMP"; then
7698 ac_ct_OBJDUMP=$OBJDUMP
7699 # Extract the first word of "objdump", so it can be a program name with args.
7700 set dummy objdump; ac_word=$2
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7702 $as_echo_n "checking for $ac_word... " >&6; }
7703 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7704 $as_echo_n "(cached) " >&6
7706 if test -n "$ac_ct_OBJDUMP"; then
7707 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7713 test -z "$as_dir" && as_dir=.
7714 for ac_exec_ext in '' $ac_executable_extensions; do
7715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7716 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7727 if test -n "$ac_ct_OBJDUMP"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7729 $as_echo "$ac_ct_OBJDUMP" >&6; }
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732 $as_echo "no" >&6; }
7735 if test "x$ac_ct_OBJDUMP" = x; then
7738 case $cross_compiling:$ac_tool_warned in
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7742 ac_tool_warned=yes ;;
7744 OBJDUMP=$ac_ct_OBJDUMP
7747 OBJDUMP="$ac_cv_prog_OBJDUMP"
7750 test -z "$OBJDUMP" && OBJDUMP=objdump
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7761 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7762 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7763 $as_echo_n "(cached) " >&6
7765 lt_cv_file_magic_cmd='$MAGIC_CMD'
7766 lt_cv_file_magic_test_file=
7767 lt_cv_deplibs_check_method='unknown'
7768 # Need to set the preceding variable on all platforms that support
7769 # interlibrary dependencies.
7770 # 'none' -- dependencies not supported.
7771 # `unknown' -- same as none, but documents that we really don't know.
7772 # 'pass_all' -- all dependencies passed with no checks.
7773 # 'test_compile' -- check by making test program.
7774 # 'file_magic [[regex]]' -- check by looking for files in library path
7775 # which responds to the $file_magic_cmd with a given extended regex.
7776 # If you have `file' or equivalent on your system and you're not sure
7777 # whether `pass_all' will *always* work, you probably want this one.
7781 lt_cv_deplibs_check_method=pass_all
7785 lt_cv_deplibs_check_method=pass_all
7789 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7790 lt_cv_file_magic_cmd='/usr/bin/file -L'
7791 lt_cv_file_magic_test_file=/shlib/libc.so
7795 # func_win32_libid is a shell function defined in ltmain.sh
7796 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7797 lt_cv_file_magic_cmd='func_win32_libid'
7801 # Base MSYS/MinGW do not provide the 'file' command needed by
7802 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7803 # unless we find 'file', for example because we are cross-compiling.
7804 if ( file / ) >/dev/null 2>&1; then
7805 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7806 lt_cv_file_magic_cmd='func_win32_libid'
7808 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7809 lt_cv_file_magic_cmd='$OBJDUMP -f'
7814 # use the weaker test based on 'objdump'. See mingw*.
7815 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7816 lt_cv_file_magic_cmd='$OBJDUMP -f'
7819 darwin* | rhapsody*)
7820 lt_cv_deplibs_check_method=pass_all
7823 freebsd* | dragonfly*)
7824 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7827 # Not sure whether the presence of OpenBSD here was a mistake.
7828 # Let's accept both of them until this is cleared up.
7829 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7830 lt_cv_file_magic_cmd=/usr/bin/file
7831 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7835 lt_cv_deplibs_check_method=pass_all
7840 lt_cv_deplibs_check_method=pass_all
7843 hpux10.20* | hpux11*)
7844 lt_cv_file_magic_cmd=/usr/bin/file
7847 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7848 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7851 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]'
7852 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7855 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7856 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7862 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7863 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7866 irix5* | irix6* | nonstopux*)
7868 *-32|*"-32 ") libmagic=32-bit;;
7869 *-n32|*"-n32 ") libmagic=N32;;
7870 *-64|*"-64 ") libmagic=64-bit;;
7871 *) libmagic=never-match;;
7873 lt_cv_deplibs_check_method=pass_all
7876 # This must be Linux ELF.
7877 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7878 lt_cv_deplibs_check_method=pass_all
7881 netbsd* | netbsdelf*-gnu)
7882 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7883 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7885 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7890 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7891 lt_cv_file_magic_cmd=/usr/bin/file
7892 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7896 lt_cv_deplibs_check_method=pass_all
7900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7901 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7903 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7907 osf3* | osf4* | osf5*)
7908 lt_cv_deplibs_check_method=pass_all
7912 lt_cv_deplibs_check_method=pass_all
7916 lt_cv_deplibs_check_method=pass_all
7919 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7920 lt_cv_deplibs_check_method=pass_all
7924 case $host_vendor in
7926 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]'
7927 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7930 lt_cv_deplibs_check_method=pass_all
7933 lt_cv_file_magic_cmd='/bin/file'
7934 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7937 lt_cv_file_magic_cmd='/bin/file'
7938 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7939 lt_cv_file_magic_test_file=/lib/libc.so
7942 lt_cv_deplibs_check_method=pass_all
7945 lt_cv_deplibs_check_method=pass_all
7951 lt_cv_deplibs_check_method=pass_all
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7957 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7958 file_magic_cmd=$lt_cv_file_magic_cmd
7959 deplibs_check_method=$lt_cv_deplibs_check_method
7960 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7973 if test -n "$ac_tool_prefix"; then
7974 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7975 set dummy ${ac_tool_prefix}ar; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if test "${ac_cv_prog_AR+set}" = set; then :
7979 $as_echo_n "(cached) " >&6
7981 if test -n "$AR"; then
7982 ac_cv_prog_AR="$AR" # Let the user override the test.
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7991 ac_cv_prog_AR="${ac_tool_prefix}ar"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 if test -n "$AR"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8004 $as_echo "$AR" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8012 if test -z "$ac_cv_prog_AR"; then
8014 # Extract the first word of "ar", so it can be a program name with args.
8015 set dummy ar; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8019 $as_echo_n "(cached) " >&6
8021 if test -n "$ac_ct_AR"; then
8022 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8031 ac_cv_prog_ac_ct_AR="ar"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8042 if test -n "$ac_ct_AR"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8044 $as_echo "$ac_ct_AR" >&6; }
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8050 if test "x$ac_ct_AR" = x; then
8053 case $cross_compiling:$ac_tool_warned in
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8057 ac_tool_warned=yes ;;
8065 test -z "$AR" && AR=ar
8066 test -z "$AR_FLAGS" && AR_FLAGS=cru
8078 if test -n "$ac_tool_prefix"; then
8079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8080 set dummy ${ac_tool_prefix}strip; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8082 $as_echo_n "checking for $ac_word... " >&6; }
8083 if test "${ac_cv_prog_STRIP+set}" = set; then :
8084 $as_echo_n "(cached) " >&6
8086 if test -n "$STRIP"; then
8087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 STRIP=$ac_cv_prog_STRIP
8107 if test -n "$STRIP"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8109 $as_echo "$STRIP" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8117 if test -z "$ac_cv_prog_STRIP"; then
8119 # Extract the first word of "strip", so it can be a program name with args.
8120 set dummy strip; ac_word=$2
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8122 $as_echo_n "checking for $ac_word... " >&6; }
8123 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8124 $as_echo_n "(cached) " >&6
8126 if test -n "$ac_ct_STRIP"; then
8127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 test -z "$as_dir" && as_dir=.
8134 for ac_exec_ext in '' $ac_executable_extensions; do
8135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8136 ac_cv_prog_ac_ct_STRIP="strip"
8137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8147 if test -n "$ac_ct_STRIP"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8149 $as_echo "$ac_ct_STRIP" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8155 if test "x$ac_ct_STRIP" = x; then
8158 case $cross_compiling:$ac_tool_warned in
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8162 ac_tool_warned=yes ;;
8167 STRIP="$ac_cv_prog_STRIP"
8170 test -z "$STRIP" && STRIP=:
8177 if test -n "$ac_tool_prefix"; then
8178 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8179 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8181 $as_echo_n "checking for $ac_word... " >&6; }
8182 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8183 $as_echo_n "(cached) " >&6
8185 if test -n "$RANLIB"; then
8186 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8192 test -z "$as_dir" && as_dir=.
8193 for ac_exec_ext in '' $ac_executable_extensions; do
8194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8195 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8205 RANLIB=$ac_cv_prog_RANLIB
8206 if test -n "$RANLIB"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8208 $as_echo "$RANLIB" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211 $as_echo "no" >&6; }
8216 if test -z "$ac_cv_prog_RANLIB"; then
8217 ac_ct_RANLIB=$RANLIB
8218 # Extract the first word of "ranlib", so it can be a program name with args.
8219 set dummy ranlib; ac_word=$2
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8221 $as_echo_n "checking for $ac_word... " >&6; }
8222 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8223 $as_echo_n "(cached) " >&6
8225 if test -n "$ac_ct_RANLIB"; then
8226 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 test -z "$as_dir" && as_dir=.
8233 for ac_exec_ext in '' $ac_executable_extensions; do
8234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8235 ac_cv_prog_ac_ct_RANLIB="ranlib"
8236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8246 if test -n "$ac_ct_RANLIB"; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8248 $as_echo "$ac_ct_RANLIB" >&6; }
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8251 $as_echo "no" >&6; }
8254 if test "x$ac_ct_RANLIB" = x; then
8257 case $cross_compiling:$ac_tool_warned in
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8261 ac_tool_warned=yes ;;
8263 RANLIB=$ac_ct_RANLIB
8266 RANLIB="$ac_cv_prog_RANLIB"
8269 test -z "$RANLIB" && RANLIB=:
8276 # Determine commands to create old-style static archives.
8277 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8278 old_postinstall_cmds='chmod 644 $oldlib'
8279 old_postuninstall_cmds=
8281 if test -n "$RANLIB"; then
8284 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8287 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8290 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8326 # If no C compiler was specified, use CC.
8329 # If no C compiler flags were specified, use CFLAGS.
8330 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8332 # Allow CC to be a program name with arguments.
8336 # Check for command to grab the raw symbol name followed by C symbol from nm.
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8338 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8339 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8340 $as_echo_n "(cached) " >&6
8343 # These are sane defaults that work on at least a few old systems.
8344 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8346 # Character class describing NM global symbol codes.
8347 symcode='[BCDEGRST]'
8349 # Regexp to match symbols that can be accessed directly from C.
8350 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8352 # Define system-specific variables.
8357 cygwin* | mingw* | pw32* | cegcc*)
8358 symcode='[ABCDGISTW]'
8361 if test "$host_cpu" = ia64; then
8362 symcode='[ABCDEGRST]'
8366 symcode='[BCDEGRST]'
8369 symcode='[BCDEGQRST]'
8380 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8388 # If we're using GNU nm, then use its standard symbol codes.
8389 case `$NM -V 2>&1` in
8390 *GNU* | *'with BFD'*)
8391 symcode='[ABCDGIRSTW]' ;;
8394 # Transform an extracted symbol line into a proper C declaration.
8395 # Some systems (esp. on ia64) link data and code symbols differently,
8396 # so use this general approach.
8397 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8399 # Transform an extracted symbol line into symbol name and symbol address
8400 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8401 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'"
8403 # Handle CRLF in mingw tool chain
8407 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8411 # Try without a prefix underscore, then with it.
8412 for ac_symprfx in "" "_"; do
8414 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8415 symxfrm="\\1 $ac_symprfx\\2 \\2"
8417 # Write the raw and C identifiers.
8418 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8419 # Fake it for dumpbin and say T for any non-static function
8420 # and D for any global variable.
8421 # Also find C++ and __fastcall symbols from MSVC++,
8422 # which start with @ or ?.
8423 lt_cv_sys_global_symbol_pipe="$AWK '"\
8424 " {last_section=section; section=\$ 3};"\
8425 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8426 " \$ 0!~/External *\|/{next};"\
8427 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8428 " {if(hide[section]) next};"\
8429 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8430 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8431 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8432 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8433 " ' prfx=^$ac_symprfx"
8435 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8438 # Check to see that the pipe works correctly.
8442 cat > conftest.$ac_ext <<_LT_EOF
8447 void nm_test_func(void);
8448 void nm_test_func(void){}
8452 int main(){nm_test_var='a';nm_test_func();return(0);}
8455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8456 (eval $ac_compile) 2>&5
8458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8459 test $ac_status = 0; }; then
8460 # Now try to grab the symbols.
8462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8463 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8466 test $ac_status = 0; } && test -s "$nlist"; then
8467 # Try sorting and uniquifying the output.
8468 if sort "$nlist" | uniq > "$nlist"T; then
8469 mv -f "$nlist"T "$nlist"
8474 # Make sure that we snagged all the symbols we need.
8475 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8476 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8477 cat <<_LT_EOF > conftest.$ac_ext
8483 # Now generate the symbol file.
8484 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8486 cat <<_LT_EOF >> conftest.$ac_ext
8488 /* The mapping between symbol names and symbols. */
8493 lt__PROGRAM__LTX_preloaded_symbols[] =
8495 { "@PROGRAM@", (void *) 0 },
8497 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8498 cat <<\_LT_EOF >> conftest.$ac_ext
8502 /* This works around a problem in FreeBSD linker */
8503 #ifdef FREEBSD_WORKAROUND
8504 static const void *lt_preloaded_setup() {
8505 return lt__PROGRAM__LTX_preloaded_symbols;
8513 # Now try linking the two files.
8514 mv conftest.$ac_objext conftstm.$ac_objext
8515 lt_save_LIBS="$LIBS"
8516 lt_save_CFLAGS="$CFLAGS"
8517 LIBS="conftstm.$ac_objext"
8518 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8520 (eval $ac_link) 2>&5
8522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8523 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8526 LIBS="$lt_save_LIBS"
8527 CFLAGS="$lt_save_CFLAGS"
8529 echo "cannot find nm_test_func in $nlist" >&5
8532 echo "cannot find nm_test_var in $nlist" >&5
8535 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8538 echo "$progname: failed program was:" >&5
8539 cat conftest.$ac_ext >&5
8541 rm -rf conftest* conftst*
8543 # Do not use the global_symbol_pipe unless it works.
8544 if test "$pipe_works" = yes; then
8547 lt_cv_sys_global_symbol_pipe=
8553 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8554 lt_cv_sys_global_symbol_to_cdecl=
8556 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8558 $as_echo "failed" >&6; }
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8561 $as_echo "ok" >&6; }
8586 # Check whether --enable-libtool-lock was given.
8587 if test "${enable_libtool_lock+set}" = set; then :
8588 enableval=$enable_libtool_lock;
8591 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8593 # Some flags need to be propagated to the compiler or linker for good
8597 # Find out which ABI we are using.
8598 echo 'int i;' > conftest.$ac_ext
8599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8600 (eval $ac_compile) 2>&5
8602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8603 test $ac_status = 0; }; then
8604 case `/usr/bin/file conftest.$ac_objext` in
8616 # Find out which ABI we are using.
8617 echo '#line 8617 "configure"' > conftest.$ac_ext
8618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8619 (eval $ac_compile) 2>&5
8621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8622 test $ac_status = 0; }; then
8623 if test "$lt_cv_prog_gnu_ld" = yes; then
8624 case `/usr/bin/file conftest.$ac_objext` in
8626 LD="${LD-ld} -melf32bsmip"
8629 LD="${LD-ld} -melf32bmipn32"
8632 LD="${LD-ld} -melf64bmip"
8636 case `/usr/bin/file conftest.$ac_objext` in
8652 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8653 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8654 # Find out which ABI we are using.
8655 echo 'int i;' > conftest.$ac_ext
8656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8657 (eval $ac_compile) 2>&5
8659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8660 test $ac_status = 0; }; then
8661 case `/usr/bin/file conftest.o` in
8664 x86_64-*kfreebsd*-gnu)
8665 LD="${LD-ld} -m elf_i386_fbsd"
8668 LD="${LD-ld} -m elf_i386"
8670 ppc64-*linux*|powerpc64-*linux*)
8671 LD="${LD-ld} -m elf32ppclinux"
8674 LD="${LD-ld} -m elf_s390"
8677 LD="${LD-ld} -m elf32_sparc"
8683 x86_64-*kfreebsd*-gnu)
8684 LD="${LD-ld} -m elf_x86_64_fbsd"
8687 LD="${LD-ld} -m elf_x86_64"
8689 ppc*-*linux*|powerpc*-*linux*)
8690 LD="${LD-ld} -m elf64ppc"
8692 s390*-*linux*|s390*-*tpf*)
8693 LD="${LD-ld} -m elf64_s390"
8696 LD="${LD-ld} -m elf64_sparc"
8706 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8707 SAVE_CFLAGS="$CFLAGS"
8708 CFLAGS="$CFLAGS -belf"
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8710 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8711 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8712 $as_echo_n "(cached) " >&6
8715 ac_cpp='$CPP $CPPFLAGS'
8716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 lt_cv_cc_needs_belf=yes
8734 lt_cv_cc_needs_belf=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8739 ac_cpp='$CPP $CPPFLAGS'
8740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8746 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8747 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8748 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8749 CFLAGS="$SAVE_CFLAGS"
8753 # Find out which ABI we are using.
8754 echo 'int i;' > conftest.$ac_ext
8755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8756 (eval $ac_compile) 2>&5
8758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8759 test $ac_status = 0; }; then
8760 case `/usr/bin/file conftest.o` in
8762 case $lt_cv_prog_gnu_ld in
8763 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8765 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8777 need_locks="$enable_libtool_lock"
8781 rhapsody* | darwin*)
8782 if test -n "$ac_tool_prefix"; then
8783 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8784 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8786 $as_echo_n "checking for $ac_word... " >&6; }
8787 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8788 $as_echo_n "(cached) " >&6
8790 if test -n "$DSYMUTIL"; then
8791 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8797 test -z "$as_dir" && as_dir=.
8798 for ac_exec_ext in '' $ac_executable_extensions; do
8799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8800 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8810 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8811 if test -n "$DSYMUTIL"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8813 $as_echo "$DSYMUTIL" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8816 $as_echo "no" >&6; }
8821 if test -z "$ac_cv_prog_DSYMUTIL"; then
8822 ac_ct_DSYMUTIL=$DSYMUTIL
8823 # Extract the first word of "dsymutil", so it can be a program name with args.
8824 set dummy dsymutil; ac_word=$2
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8826 $as_echo_n "checking for $ac_word... " >&6; }
8827 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8828 $as_echo_n "(cached) " >&6
8830 if test -n "$ac_ct_DSYMUTIL"; then
8831 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8837 test -z "$as_dir" && as_dir=.
8838 for ac_exec_ext in '' $ac_executable_extensions; do
8839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8840 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8850 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8851 if test -n "$ac_ct_DSYMUTIL"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8853 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8856 $as_echo "no" >&6; }
8859 if test "x$ac_ct_DSYMUTIL" = x; then
8862 case $cross_compiling:$ac_tool_warned in
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8866 ac_tool_warned=yes ;;
8868 DSYMUTIL=$ac_ct_DSYMUTIL
8871 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8874 if test -n "$ac_tool_prefix"; then
8875 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8876 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8878 $as_echo_n "checking for $ac_word... " >&6; }
8879 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8880 $as_echo_n "(cached) " >&6
8882 if test -n "$NMEDIT"; then
8883 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8889 test -z "$as_dir" && as_dir=.
8890 for ac_exec_ext in '' $ac_executable_extensions; do
8891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8892 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8902 NMEDIT=$ac_cv_prog_NMEDIT
8903 if test -n "$NMEDIT"; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8905 $as_echo "$NMEDIT" >&6; }
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8908 $as_echo "no" >&6; }
8913 if test -z "$ac_cv_prog_NMEDIT"; then
8914 ac_ct_NMEDIT=$NMEDIT
8915 # Extract the first word of "nmedit", so it can be a program name with args.
8916 set dummy nmedit; ac_word=$2
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8918 $as_echo_n "checking for $ac_word... " >&6; }
8919 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8920 $as_echo_n "(cached) " >&6
8922 if test -n "$ac_ct_NMEDIT"; then
8923 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929 test -z "$as_dir" && as_dir=.
8930 for ac_exec_ext in '' $ac_executable_extensions; do
8931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8932 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8942 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8943 if test -n "$ac_ct_NMEDIT"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8945 $as_echo "$ac_ct_NMEDIT" >&6; }
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8948 $as_echo "no" >&6; }
8951 if test "x$ac_ct_NMEDIT" = x; then
8954 case $cross_compiling:$ac_tool_warned in
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8958 ac_tool_warned=yes ;;
8960 NMEDIT=$ac_ct_NMEDIT
8963 NMEDIT="$ac_cv_prog_NMEDIT"
8966 if test -n "$ac_tool_prefix"; then
8967 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8968 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8970 $as_echo_n "checking for $ac_word... " >&6; }
8971 if test "${ac_cv_prog_LIPO+set}" = set; then :
8972 $as_echo_n "(cached) " >&6
8974 if test -n "$LIPO"; then
8975 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8981 test -z "$as_dir" && as_dir=.
8982 for ac_exec_ext in '' $ac_executable_extensions; do
8983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8984 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8994 LIPO=$ac_cv_prog_LIPO
8995 if test -n "$LIPO"; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8997 $as_echo "$LIPO" >&6; }
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9000 $as_echo "no" >&6; }
9005 if test -z "$ac_cv_prog_LIPO"; then
9007 # Extract the first word of "lipo", so it can be a program name with args.
9008 set dummy lipo; ac_word=$2
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9010 $as_echo_n "checking for $ac_word... " >&6; }
9011 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9014 if test -n "$ac_ct_LIPO"; then
9015 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 test -z "$as_dir" && as_dir=.
9022 for ac_exec_ext in '' $ac_executable_extensions; do
9023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9024 ac_cv_prog_ac_ct_LIPO="lipo"
9025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9034 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9035 if test -n "$ac_ct_LIPO"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9037 $as_echo "$ac_ct_LIPO" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9043 if test "x$ac_ct_LIPO" = x; then
9046 case $cross_compiling:$ac_tool_warned in
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9050 ac_tool_warned=yes ;;
9055 LIPO="$ac_cv_prog_LIPO"
9058 if test -n "$ac_tool_prefix"; then
9059 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9060 set dummy ${ac_tool_prefix}otool; ac_word=$2
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9062 $as_echo_n "checking for $ac_word... " >&6; }
9063 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9064 $as_echo_n "(cached) " >&6
9066 if test -n "$OTOOL"; then
9067 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9073 test -z "$as_dir" && as_dir=.
9074 for ac_exec_ext in '' $ac_executable_extensions; do
9075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9076 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9086 OTOOL=$ac_cv_prog_OTOOL
9087 if test -n "$OTOOL"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9089 $as_echo "$OTOOL" >&6; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9097 if test -z "$ac_cv_prog_OTOOL"; then
9099 # Extract the first word of "otool", so it can be a program name with args.
9100 set dummy otool; ac_word=$2
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9102 $as_echo_n "checking for $ac_word... " >&6; }
9103 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9104 $as_echo_n "(cached) " >&6
9106 if test -n "$ac_ct_OTOOL"; then
9107 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9113 test -z "$as_dir" && as_dir=.
9114 for ac_exec_ext in '' $ac_executable_extensions; do
9115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9116 ac_cv_prog_ac_ct_OTOOL="otool"
9117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9126 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9127 if test -n "$ac_ct_OTOOL"; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9129 $as_echo "$ac_ct_OTOOL" >&6; }
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9132 $as_echo "no" >&6; }
9135 if test "x$ac_ct_OTOOL" = x; then
9138 case $cross_compiling:$ac_tool_warned in
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9142 ac_tool_warned=yes ;;
9147 OTOOL="$ac_cv_prog_OTOOL"
9150 if test -n "$ac_tool_prefix"; then
9151 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9152 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9154 $as_echo_n "checking for $ac_word... " >&6; }
9155 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9156 $as_echo_n "(cached) " >&6
9158 if test -n "$OTOOL64"; then
9159 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9165 test -z "$as_dir" && as_dir=.
9166 for ac_exec_ext in '' $ac_executable_extensions; do
9167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9168 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9178 OTOOL64=$ac_cv_prog_OTOOL64
9179 if test -n "$OTOOL64"; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9181 $as_echo "$OTOOL64" >&6; }
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9184 $as_echo "no" >&6; }
9189 if test -z "$ac_cv_prog_OTOOL64"; then
9190 ac_ct_OTOOL64=$OTOOL64
9191 # Extract the first word of "otool64", so it can be a program name with args.
9192 set dummy otool64; ac_word=$2
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9194 $as_echo_n "checking for $ac_word... " >&6; }
9195 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9196 $as_echo_n "(cached) " >&6
9198 if test -n "$ac_ct_OTOOL64"; then
9199 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 test -z "$as_dir" && as_dir=.
9206 for ac_exec_ext in '' $ac_executable_extensions; do
9207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9208 ac_cv_prog_ac_ct_OTOOL64="otool64"
9209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9218 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9219 if test -n "$ac_ct_OTOOL64"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9221 $as_echo "$ac_ct_OTOOL64" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 $as_echo "no" >&6; }
9227 if test "x$ac_ct_OTOOL64" = x; then
9230 case $cross_compiling:$ac_tool_warned in
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9234 ac_tool_warned=yes ;;
9236 OTOOL64=$ac_ct_OTOOL64
9239 OTOOL64="$ac_cv_prog_OTOOL64"
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9269 $as_echo_n "checking for -single_module linker flag... " >&6; }
9270 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9271 $as_echo_n "(cached) " >&6
9273 lt_cv_apple_cc_single_mod=no
9274 if test -z "${LT_MULTI_MODULE}"; then
9275 # By default we will add the -single_module flag. You can override
9276 # by either setting the environment variable LT_MULTI_MODULE
9277 # non-empty at configure time, or by adding -multi_module to the
9279 rm -rf libconftest.dylib*
9280 echo "int foo(void){return 1;}" > conftest.c
9281 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9282 -dynamiclib -Wl,-single_module conftest.c" >&5
9283 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9284 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9286 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9287 lt_cv_apple_cc_single_mod=yes
9289 cat conftest.err >&5
9291 rm -rf libconftest.dylib*
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9296 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9298 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9299 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9300 $as_echo_n "(cached) " >&6
9302 lt_cv_ld_exported_symbols_list=no
9303 save_LDFLAGS=$LDFLAGS
9304 echo "_main" > conftest.sym
9305 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9317 if ac_fn_c_try_link "$LINENO"; then :
9318 lt_cv_ld_exported_symbols_list=yes
9320 lt_cv_ld_exported_symbols_list=no
9322 rm -f core conftest.err conftest.$ac_objext \
9323 conftest$ac_exeext conftest.$ac_ext
9324 LDFLAGS="$save_LDFLAGS"
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9328 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9330 rhapsody* | darwin1.[012])
9331 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9333 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9334 darwin*) # darwin 5.x on
9335 # if running on 10.5 or later, the deployment target defaults
9336 # to the OS version, if on x86, and 10.4, the deployment
9337 # target defaults to 10.4. Don't you love it?
9338 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9339 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9340 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9342 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9344 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9348 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9349 _lt_dar_single_mod='$single_module'
9351 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9352 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9354 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9356 if test "$DSYMUTIL" != ":"; then
9357 _lt_dsymutil='~$DSYMUTIL $lib || :'
9365 ac_cpp='$CPP $CPPFLAGS'
9366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9370 $as_echo_n "checking how to run the C preprocessor... " >&6; }
9371 # On Suns, sometimes $CPP names a directory.
9372 if test -n "$CPP" && test -d "$CPP"; then
9375 if test -z "$CPP"; then
9376 if test "${ac_cv_prog_CPP+set}" = set; then :
9377 $as_echo_n "(cached) " >&6
9379 # Double quotes because CPP needs to be expanded
9380 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9383 for ac_c_preproc_warn_flag in '' yes
9385 # Use a header file that comes with gcc, so configuring glibc
9386 # with a fresh cross-compiler works.
9387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9388 # <limits.h> exists even on freestanding compilers.
9389 # On the NeXT, cc -E runs the code through the compiler's parser,
9390 # not just through cpp. "Syntax error" is here to catch this case.
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 # include <limits.h>
9396 # include <assert.h>
9400 if ac_fn_c_try_cpp "$LINENO"; then :
9403 # Broken: fails on valid input.
9406 rm -f conftest.err conftest.i conftest.$ac_ext
9408 # OK, works on sane cases. Now check whether nonexistent headers
9409 # can be detected and how.
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9412 #include <ac_nonexistent.h>
9414 if ac_fn_c_try_cpp "$LINENO"; then :
9415 # Broken: success on invalid input.
9418 # Passes both tests.
9422 rm -f conftest.err conftest.i conftest.$ac_ext
9425 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9426 rm -f conftest.i conftest.err conftest.$ac_ext
9427 if $ac_preproc_ok; then :
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9440 $as_echo "$CPP" >&6; }
9442 for ac_c_preproc_warn_flag in '' yes
9444 # Use a header file that comes with gcc, so configuring glibc
9445 # with a fresh cross-compiler works.
9446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9447 # <limits.h> exists even on freestanding compilers.
9448 # On the NeXT, cc -E runs the code through the compiler's parser,
9449 # not just through cpp. "Syntax error" is here to catch this case.
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9453 # include <limits.h>
9455 # include <assert.h>
9459 if ac_fn_c_try_cpp "$LINENO"; then :
9462 # Broken: fails on valid input.
9465 rm -f conftest.err conftest.i conftest.$ac_ext
9467 # OK, works on sane cases. Now check whether nonexistent headers
9468 # can be detected and how.
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 #include <ac_nonexistent.h>
9473 if ac_fn_c_try_cpp "$LINENO"; then :
9474 # Broken: success on invalid input.
9477 # Passes both tests.
9481 rm -f conftest.err conftest.i conftest.$ac_ext
9484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9485 rm -f conftest.i conftest.err conftest.$ac_ext
9486 if $ac_preproc_ok; then :
9489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9491 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9492 See \`config.log' for more details" "$LINENO" 5 ; }
9496 ac_cpp='$CPP $CPPFLAGS'
9497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9503 $as_echo_n "checking for ANSI C header files... " >&6; }
9504 if test "${ac_cv_header_stdc+set}" = set; then :
9505 $as_echo_n "(cached) " >&6
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9522 if ac_fn_c_try_compile "$LINENO"; then :
9523 ac_cv_header_stdc=yes
9525 ac_cv_header_stdc=no
9527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9529 if test $ac_cv_header_stdc = yes; then
9530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9537 $EGREP "memchr" >/dev/null 2>&1; then :
9540 ac_cv_header_stdc=no
9546 if test $ac_cv_header_stdc = yes; then
9547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9554 $EGREP "free" >/dev/null 2>&1; then :
9557 ac_cv_header_stdc=no
9563 if test $ac_cv_header_stdc = yes; then
9564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9565 if test "$cross_compiling" = yes; then :
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9572 #if ((' ' & 0x0FF) == 0x020)
9573 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9574 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9576 # define ISLOWER(c) \
9577 (('a' <= (c) && (c) <= 'i') \
9578 || ('j' <= (c) && (c) <= 'r') \
9579 || ('s' <= (c) && (c) <= 'z'))
9580 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9583 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9588 for (i = 0; i < 256; i++)
9589 if (XOR (islower (i), ISLOWER (i))
9590 || toupper (i) != TOUPPER (i))
9595 if ac_fn_c_try_run "$LINENO"; then :
9598 ac_cv_header_stdc=no
9600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9601 conftest.$ac_objext conftest.beam conftest.$ac_ext
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9607 $as_echo "$ac_cv_header_stdc" >&6; }
9608 if test $ac_cv_header_stdc = yes; then
9610 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9614 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9615 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9616 inttypes.h stdint.h unistd.h
9618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9621 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9622 cat >>confdefs.h <<_ACEOF
9623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9631 for ac_header in dlfcn.h
9633 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9635 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9636 cat >>confdefs.h <<_ACEOF
9637 #define HAVE_DLFCN_H 1
9647 ac_cpp='$CXXCPP $CPPFLAGS'
9648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9651 if test -z "$CXX"; then
9652 if test -n "$CCC"; then
9655 if test -n "$ac_tool_prefix"; then
9656 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9661 $as_echo_n "checking for $ac_word... " >&6; }
9662 if test "${ac_cv_prog_CXX+set}" = set; then :
9663 $as_echo_n "(cached) " >&6
9665 if test -n "$CXX"; then
9666 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 test -z "$as_dir" && as_dir=.
9673 for ac_exec_ext in '' $ac_executable_extensions; do
9674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9675 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 if test -n "$CXX"; then
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
9688 $as_echo "$CXX" >&6; }
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9691 $as_echo "no" >&6; }
9695 test -n "$CXX" && break
9698 if test -z "$CXX"; then
9700 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9702 # Extract the first word of "$ac_prog", so it can be a program name with args.
9703 set dummy $ac_prog; ac_word=$2
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9705 $as_echo_n "checking for $ac_word... " >&6; }
9706 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
9707 $as_echo_n "(cached) " >&6
9709 if test -n "$ac_ct_CXX"; then
9710 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9716 test -z "$as_dir" && as_dir=.
9717 for ac_exec_ext in '' $ac_executable_extensions; do
9718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9719 ac_cv_prog_ac_ct_CXX="$ac_prog"
9720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9729 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9730 if test -n "$ac_ct_CXX"; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9732 $as_echo "$ac_ct_CXX" >&6; }
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9735 $as_echo "no" >&6; }
9739 test -n "$ac_ct_CXX" && break
9742 if test "x$ac_ct_CXX" = x; then
9745 case $cross_compiling:$ac_tool_warned in
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9749 ac_tool_warned=yes ;;
9757 # Provide some information about the compiler.
9758 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9761 for ac_option in --version -v -V -qversion; do
9762 { { ac_try="$ac_compiler $ac_option >&5"
9764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9765 *) ac_try_echo=$ac_try;;
9767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9768 $as_echo "$ac_try_echo"; } >&5
9769 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9771 if test -s conftest.err; then
9773 ... rest of stderr output deleted ...
9774 10q' conftest.err >conftest.er1
9775 cat conftest.er1 >&5
9777 rm -f conftest.er1 conftest.err
9778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9779 test $ac_status = 0; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
9783 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9784 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
9785 $as_echo_n "(cached) " >&6
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9801 if ac_fn_cxx_try_compile "$LINENO"; then :
9806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9807 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9811 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9812 if test $ac_compiler_gnu = yes; then
9817 ac_test_CXXFLAGS=${CXXFLAGS+set}
9818 ac_save_CXXFLAGS=$CXXFLAGS
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
9820 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
9821 if test "${ac_cv_prog_cxx_g+set}" = set; then :
9822 $as_echo_n "(cached) " >&6
9824 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9825 ac_cxx_werror_flag=yes
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9839 if ac_fn_cxx_try_compile "$LINENO"; then :
9840 ac_cv_prog_cxx_g=yes
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9854 if ac_fn_cxx_try_compile "$LINENO"; then :
9857 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9870 if ac_fn_cxx_try_compile "$LINENO"; then :
9871 ac_cv_prog_cxx_g=yes
9873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
9881 $as_echo "$ac_cv_prog_cxx_g" >&6; }
9882 if test "$ac_test_CXXFLAGS" = set; then
9883 CXXFLAGS=$ac_save_CXXFLAGS
9884 elif test $ac_cv_prog_cxx_g = yes; then
9885 if test "$GXX" = yes; then
9891 if test "$GXX" = yes; then
9898 ac_cpp='$CPP $CPPFLAGS'
9899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9903 depcc="$CXX" am_compiler_list=
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9906 $as_echo_n "checking dependency style of $depcc... " >&6; }
9907 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
9908 $as_echo_n "(cached) " >&6
9910 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9911 # We make a subdir and do the tests there. Otherwise we can end up
9912 # making bogus files that we don't know about and never remove. For
9913 # instance it was reported that on HP-UX the gcc test will end up
9914 # making a dummy file named `D' -- because `-MD' means `put the output
9917 # Copy depcomp to subdir because otherwise we won't find it if we're
9918 # using a relative directory.
9919 cp "$am_depcomp" conftest.dir
9921 # We will build objects and dependencies in a subdirectory because
9922 # it helps to detect inapplicable dependency modes. For instance
9923 # both Tru64's cc and ICC support -MD to output dependencies as a
9924 # side effect of compilation, but ICC will put the dependencies in
9925 # the current directory while Tru64 will put them in the object
9929 am_cv_CXX_dependencies_compiler_type=none
9930 if test "$am_compiler_list" = ""; then
9931 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9934 case " $depcc " in #(
9935 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9938 for depmode in $am_compiler_list; do
9939 # Setup a source with many dependencies, because some compilers
9940 # like to wrap large dependency lists on column 80 (with \), and
9941 # we should not choose a depcomp mode which is confused by this.
9943 # We need to recreate these files for each test, as the compiler may
9944 # overwrite some of them when testing with obscure command lines.
9945 # This happens at least with the AIX C compiler.
9947 for i in 1 2 3 4 5 6; do
9948 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9949 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9950 # Solaris 8's {/usr,}/bin/sh.
9951 touch sub/conftst$i.h
9953 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9955 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9956 # mode. It turns out that the SunPro C++ compiler does not properly
9957 # handle `-M -o', and we need to detect this. Also, some Intel
9958 # versions had trouble with output in subdirs
9959 am__obj=sub/conftest.${OBJEXT-o}
9960 am__minus_obj="-o $am__obj"
9963 # This depmode causes a compiler race in universal mode.
9964 test "$am__universal" = false || continue
9967 # after this tag, mechanisms are not by side-effect, so they'll
9968 # only be used when explicitly requested
9969 if test "x$enable_dependency_tracking" = xyes; then
9975 msvisualcpp | msvcmsys)
9976 # This compiler won't grok `-c -o', but also, the minuso test has
9977 # not run yet. These depmodes are late enough in the game, and
9978 # so weak that their functioning should not be impacted.
9979 am__obj=conftest.${OBJEXT-o}
9984 if depmode=$depmode \
9985 source=sub/conftest.c object=$am__obj \
9986 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9987 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9988 >/dev/null 2>conftest.err &&
9989 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9990 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9991 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9992 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9993 # icc doesn't choke on unknown options, it will just issue warnings
9994 # or remarks (even with -Werror). So we grep stderr for any message
9995 # that says an option was ignored or not supported.
9996 # When given -MP, icc 7.0 and 7.1 complain thusly:
9997 # icc: Command line warning: ignoring option '-M'; no argument required
9998 # The diagnosis changed in icc 8.0:
9999 # icc: Command line remark: option '-MP' not supported
10000 if (grep 'ignoring option' conftest.err ||
10001 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10002 am_cv_CXX_dependencies_compiler_type=$depmode
10009 rm -rf conftest.dir
10011 am_cv_CXX_dependencies_compiler_type=none
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
10016 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
10017 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10020 test "x$enable_dependency_tracking" != xno \
10021 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10022 am__fastdepCXX_TRUE=
10023 am__fastdepCXX_FALSE='#'
10025 am__fastdepCXX_TRUE='#'
10026 am__fastdepCXX_FALSE=
10030 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10031 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10032 (test "X$CXX" != "Xg++"))) ; then
10034 ac_cpp='$CXXCPP $CPPFLAGS'
10035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10039 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10040 if test -z "$CXXCPP"; then
10041 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10042 $as_echo_n "(cached) " >&6
10044 # Double quotes because CXXCPP needs to be expanded
10045 for CXXCPP in "$CXX -E" "/lib/cpp"
10047 ac_preproc_ok=false
10048 for ac_cxx_preproc_warn_flag in '' yes
10050 # Use a header file that comes with gcc, so configuring glibc
10051 # with a fresh cross-compiler works.
10052 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10053 # <limits.h> exists even on freestanding compilers.
10054 # On the NeXT, cc -E runs the code through the compiler's parser,
10055 # not just through cpp. "Syntax error" is here to catch this case.
10056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10059 # include <limits.h>
10061 # include <assert.h>
10065 if ac_fn_cxx_try_cpp "$LINENO"; then :
10068 # Broken: fails on valid input.
10071 rm -f conftest.err conftest.i conftest.$ac_ext
10073 # OK, works on sane cases. Now check whether nonexistent headers
10074 # can be detected and how.
10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10077 #include <ac_nonexistent.h>
10079 if ac_fn_cxx_try_cpp "$LINENO"; then :
10080 # Broken: success on invalid input.
10083 # Passes both tests.
10087 rm -f conftest.err conftest.i conftest.$ac_ext
10090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10091 rm -f conftest.i conftest.err conftest.$ac_ext
10092 if $ac_preproc_ok; then :
10097 ac_cv_prog_CXXCPP=$CXXCPP
10100 CXXCPP=$ac_cv_prog_CXXCPP
10102 ac_cv_prog_CXXCPP=$CXXCPP
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10105 $as_echo "$CXXCPP" >&6; }
10106 ac_preproc_ok=false
10107 for ac_cxx_preproc_warn_flag in '' yes
10109 # Use a header file that comes with gcc, so configuring glibc
10110 # with a fresh cross-compiler works.
10111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10112 # <limits.h> exists even on freestanding compilers.
10113 # On the NeXT, cc -E runs the code through the compiler's parser,
10114 # not just through cpp. "Syntax error" is here to catch this case.
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 # include <limits.h>
10120 # include <assert.h>
10124 if ac_fn_cxx_try_cpp "$LINENO"; then :
10127 # Broken: fails on valid input.
10130 rm -f conftest.err conftest.i conftest.$ac_ext
10132 # OK, works on sane cases. Now check whether nonexistent headers
10133 # can be detected and how.
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 #include <ac_nonexistent.h>
10138 if ac_fn_cxx_try_cpp "$LINENO"; then :
10139 # Broken: success on invalid input.
10142 # Passes both tests.
10146 rm -f conftest.err conftest.i conftest.$ac_ext
10149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10150 rm -f conftest.i conftest.err conftest.$ac_ext
10151 if $ac_preproc_ok; then :
10154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10156 _lt_caught_CXX_error=yes; }
10160 ac_cpp='$CPP $CPPFLAGS'
10161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10166 _lt_caught_CXX_error=yes
10180 enable_win32_dll=no
10183 # Check whether --enable-shared was given.
10184 if test "${enable_shared+set}" = set; then :
10185 enableval=$enable_shared; p=${PACKAGE-default}
10187 yes) enable_shared=yes ;;
10188 no) enable_shared=no ;;
10191 # Look at the argument we got. We use all the common list separators.
10192 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10193 for pkg in $enableval; do
10195 if test "X$pkg" = "X$p"; then
10216 # Check whether --with-pic was given.
10217 if test "${with_pic+set}" = set; then :
10218 withval=$with_pic; pic_mode="$withval"
10224 test -z "$pic_mode" && pic_mode=default
10232 # Check whether --enable-fast-install was given.
10233 if test "${enable_fast_install+set}" = set; then :
10234 enableval=$enable_fast_install; p=${PACKAGE-default}
10236 yes) enable_fast_install=yes ;;
10237 no) enable_fast_install=no ;;
10239 enable_fast_install=no
10240 # Look at the argument we got. We use all the common list separators.
10241 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10242 for pkg in $enableval; do
10244 if test "X$pkg" = "X$p"; then
10245 enable_fast_install=yes
10252 enable_fast_install=yes
10265 # This can be used to rebuild libtool when needed
10266 LIBTOOL_DEPS="$ltmain"
10268 # Always use our own libtool.
10269 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10295 test -z "$LN_S" && LN_S="ln -s"
10310 if test -n "${ZSH_VERSION+set}" ; then
10311 setopt NO_GLOB_SUBST
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10315 $as_echo_n "checking for objdir... " >&6; }
10316 if test "${lt_cv_objdir+set}" = set; then :
10317 $as_echo_n "(cached) " >&6
10319 rm -f .libs 2>/dev/null
10320 mkdir .libs 2>/dev/null
10321 if test -d .libs; then
10324 # MS-DOS does not allow filenames that begin with a dot.
10327 rmdir .libs 2>/dev/null
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10330 $as_echo "$lt_cv_objdir" >&6; }
10331 objdir=$lt_cv_objdir
10337 cat >>confdefs.h <<_ACEOF
10338 #define LT_OBJDIR "$lt_cv_objdir/"
10359 # AIX sometimes has problems with the GCC collect2 program. For some
10360 # reason, if we set the COLLECT_NAMES environment variable, the problems
10361 # vanish in a puff of smoke.
10362 if test "X${COLLECT_NAMES+set}" != Xset; then
10364 export COLLECT_NAMES
10369 # Sed substitution that helps us do robust quoting. It backslashifies
10370 # metacharacters that are still active within double-quoted strings.
10371 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10373 # Same as above, but do not quote variable references.
10374 double_quote_subst='s/\(["`\\]\)/\\\1/g'
10376 # Sed substitution to delay expansion of an escaped shell variable in a
10377 # double_quote_subst'ed string.
10378 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10380 # Sed substitution to delay expansion of an escaped single quote.
10381 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10383 # Sed substitution to avoid accidental globbing in evaled expressions
10384 no_glob_subst='s/\*/\\\*/g'
10386 # Global variables:
10388 can_build_shared=yes
10390 # All known linkers require a `.a' archive for static linking (except MSVC,
10391 # which needs '.lib').
10394 with_gnu_ld="$lt_cv_prog_gnu_ld"
10397 old_CFLAGS="$CFLAGS"
10399 # Set sane defaults for various variables
10400 test -z "$CC" && CC=cc
10401 test -z "$LTCC" && LTCC=$CC
10402 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10403 test -z "$LD" && LD=ld
10404 test -z "$ac_objext" && ac_objext=o
10406 for cc_temp in $compiler""; do
10408 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10409 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10414 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10417 # Only perform the check for file, if the check method requires it
10418 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10419 case $deplibs_check_method in
10421 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10423 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10424 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10425 $as_echo_n "(cached) " >&6
10429 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10432 lt_save_MAGIC_CMD="$MAGIC_CMD"
10433 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10434 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10435 for ac_dir in $ac_dummy; do
10437 test -z "$ac_dir" && ac_dir=.
10438 if test -f $ac_dir/${ac_tool_prefix}file; then
10439 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10440 if test -n "$file_magic_test_file"; then
10441 case $deplibs_check_method in
10443 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10444 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10445 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10446 $EGREP "$file_magic_regex" > /dev/null; then
10451 *** Warning: the command libtool uses to detect shared libraries,
10452 *** $file_magic_cmd, produces output that libtool cannot recognize.
10453 *** The result is that libtool may fail to recognize shared libraries
10454 *** as such. This will affect the creation of libtool libraries that
10455 *** depend on shared libraries, but programs linked with such libtool
10456 *** libraries will work regardless of this problem. Nevertheless, you
10457 *** may want to report the problem to your system manager and/or to
10458 *** bug-libtool@gnu.org
10468 MAGIC_CMD="$lt_save_MAGIC_CMD"
10473 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10474 if test -n "$MAGIC_CMD"; then
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10476 $as_echo "$MAGIC_CMD" >&6; }
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10479 $as_echo "no" >&6; }
10486 if test -z "$lt_cv_path_MAGIC_CMD"; then
10487 if test -n "$ac_tool_prefix"; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10489 $as_echo_n "checking for file... " >&6; }
10490 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10491 $as_echo_n "(cached) " >&6
10495 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10498 lt_save_MAGIC_CMD="$MAGIC_CMD"
10499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10500 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10501 for ac_dir in $ac_dummy; do
10503 test -z "$ac_dir" && ac_dir=.
10504 if test -f $ac_dir/file; then
10505 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10506 if test -n "$file_magic_test_file"; then
10507 case $deplibs_check_method in
10509 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10510 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10511 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10512 $EGREP "$file_magic_regex" > /dev/null; then
10517 *** Warning: the command libtool uses to detect shared libraries,
10518 *** $file_magic_cmd, produces output that libtool cannot recognize.
10519 *** The result is that libtool may fail to recognize shared libraries
10520 *** as such. This will affect the creation of libtool libraries that
10521 *** depend on shared libraries, but programs linked with such libtool
10522 *** libraries will work regardless of this problem. Nevertheless, you
10523 *** may want to report the problem to your system manager and/or to
10524 *** bug-libtool@gnu.org
10534 MAGIC_CMD="$lt_save_MAGIC_CMD"
10539 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10540 if test -n "$MAGIC_CMD"; then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10542 $as_echo "$MAGIC_CMD" >&6; }
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 $as_echo "no" >&6; }
10558 # Use C for the default configuration in the libtool script
10562 ac_cpp='$CPP $CPPFLAGS'
10563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10568 # Source file extension for C test sources.
10571 # Object file extension for compiled C test sources.
10575 # Code to be used in simple compile tests
10576 lt_simple_compile_test_code="int some_variable = 0;"
10578 # Code to be used in simple link tests
10579 lt_simple_link_test_code='int main(){return(0);}'
10587 # If no C compiler was specified, use CC.
10590 # If no C compiler flags were specified, use CFLAGS.
10591 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10593 # Allow CC to be a program name with arguments.
10596 # Save the default compiler, since it gets overwritten when the other
10597 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10598 compiler_DEFAULT=$CC
10600 # save warnings/boilerplate of simple test code
10601 ac_outfile=conftest.$ac_objext
10602 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10603 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10604 _lt_compiler_boilerplate=`cat conftest.err`
10607 ac_outfile=conftest.$ac_objext
10608 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10609 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10610 _lt_linker_boilerplate=`cat conftest.err`
10615 ## There is no encapsulation within the following macros, do not change
10616 ## the running order or otherwise move them around unless you know exactly
10617 ## what you are doing...
10618 if test -n "$compiler"; then
10620 lt_prog_compiler_no_builtin_flag=
10622 if test "$GCC" = yes; then
10623 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10626 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10627 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10628 $as_echo_n "(cached) " >&6
10630 lt_cv_prog_compiler_rtti_exceptions=no
10631 ac_outfile=conftest.$ac_objext
10632 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10633 lt_compiler_flag="-fno-rtti -fno-exceptions"
10634 # Insert the option either (1) after the last *FLAGS variable, or
10635 # (2) before a word containing "conftest.", or (3) at the end.
10636 # Note that $ac_compile itself does not contain backslashes and begins
10637 # with a dollar sign (not a hyphen), so the echo should work correctly.
10638 # The option is referenced via a variable to avoid confusing sed.
10639 lt_compile=`echo "$ac_compile" | $SED \
10640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10642 -e 's:$: $lt_compiler_flag:'`
10643 (eval echo "\"\$as_me:10643: $lt_compile\"" >&5)
10644 (eval "$lt_compile" 2>conftest.err)
10646 cat conftest.err >&5
10647 echo "$as_me:10647: \$? = $ac_status" >&5
10648 if (exit $ac_status) && test -s "$ac_outfile"; then
10649 # The compiler can only warn and ignore the option if not recognized
10650 # So say no if there are warnings other than the usual output.
10651 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10652 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10653 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10654 lt_cv_prog_compiler_rtti_exceptions=yes
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10661 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10663 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10664 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10676 lt_prog_compiler_wl=
10677 lt_prog_compiler_pic=
10678 lt_prog_compiler_static=
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10681 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10683 if test "$GCC" = yes; then
10684 lt_prog_compiler_wl='-Wl,'
10685 lt_prog_compiler_static='-static'
10689 # All AIX code is PIC.
10690 if test "$host_cpu" = ia64; then
10691 # AIX 5 now supports IA64 processor
10692 lt_prog_compiler_static='-Bstatic'
10699 # see comment about AmigaOS4 .so support
10700 lt_prog_compiler_pic='-fPIC'
10703 # FIXME: we need at least 68020 code to build shared libraries, but
10704 # adding the `-m68020' flag to GCC prevents building anything better,
10706 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10711 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10712 # PIC is the default for these OSes.
10715 mingw* | cygwin* | pw32* | os2* | cegcc*)
10716 # This hack is so that the source file can tell whether it is being
10717 # built for inclusion in a dll (and should export symbols for example).
10718 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10719 # (--disable-auto-import) libraries
10720 lt_prog_compiler_pic='-DDLL_EXPORT'
10723 darwin* | rhapsody*)
10724 # PIC is the default on this platform
10725 # Common symbols not allowed in MH_DYLIB files
10726 lt_prog_compiler_pic='-fno-common'
10730 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10731 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10732 # sets the default TLS model and affects inlining.
10738 lt_prog_compiler_pic='-fPIC'
10744 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10745 # Instead, we relocate shared libraries at runtime.
10749 # Just because we use GCC doesn't mean we suddenly get shared libraries
10750 # on systems that don't support them.
10751 lt_prog_compiler_can_build_shared=no
10756 # QNX uses GNU C++, but need to define -shared option too, otherwise
10757 # it will coredump.
10758 lt_prog_compiler_pic='-fPIC -shared'
10762 if test -d /usr/nec; then
10763 lt_prog_compiler_pic=-Kconform_pic
10768 lt_prog_compiler_pic='-fPIC'
10772 # PORTME Check for flag to pass linker flags through the system compiler.
10775 lt_prog_compiler_wl='-Wl,'
10776 if test "$host_cpu" = ia64; then
10777 # AIX 5 now supports IA64 processor
10778 lt_prog_compiler_static='-Bstatic'
10780 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10784 mingw* | cygwin* | pw32* | os2* | cegcc*)
10785 # This hack is so that the source file can tell whether it is being
10786 # built for inclusion in a dll (and should export symbols for example).
10787 lt_prog_compiler_pic='-DDLL_EXPORT'
10790 hpux9* | hpux10* | hpux11*)
10791 lt_prog_compiler_wl='-Wl,'
10792 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10793 # not for PA HP-UX.
10799 lt_prog_compiler_pic='+Z'
10802 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10803 lt_prog_compiler_static='${wl}-a ${wl}archive'
10806 irix5* | irix6* | nonstopux*)
10807 lt_prog_compiler_wl='-Wl,'
10808 # PIC (with -KPIC) is the default.
10809 lt_prog_compiler_static='-non_shared'
10812 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10813 case $cc_basename in
10814 # old Intel for x86_64 which still supported -KPIC.
10816 lt_prog_compiler_wl='-Wl,'
10817 lt_prog_compiler_pic='-KPIC'
10818 lt_prog_compiler_static='-static'
10820 # icc used to be incompatible with GCC.
10821 # ICC 10 doesn't accept -KPIC any more.
10823 lt_prog_compiler_wl='-Wl,'
10824 lt_prog_compiler_pic='-fPIC'
10825 lt_prog_compiler_static='-static'
10827 # Lahey Fortran 8.1.
10829 lt_prog_compiler_wl='-Wl,'
10830 lt_prog_compiler_pic='--shared'
10831 lt_prog_compiler_static='--static'
10833 pgcc* | pgf77* | pgf90* | pgf95*)
10834 # Portland Group compilers (*not* the Pentium gcc compiler,
10835 # which looks to be a dead project)
10836 lt_prog_compiler_wl='-Wl,'
10837 lt_prog_compiler_pic='-fpic'
10838 lt_prog_compiler_static='-Bstatic'
10841 lt_prog_compiler_wl='-Wl,'
10842 # All Alpha code is PIC.
10843 lt_prog_compiler_static='-non_shared'
10846 # IBM XL C 8.0/Fortran 10.1 on PPC
10847 lt_prog_compiler_wl='-Wl,'
10848 lt_prog_compiler_pic='-qpic'
10849 lt_prog_compiler_static='-qstaticlink'
10852 case `$CC -V 2>&1 | sed 5q` in
10855 lt_prog_compiler_pic='-KPIC'
10856 lt_prog_compiler_static='-Bstatic'
10857 lt_prog_compiler_wl='-Wl,'
10860 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10861 lt_prog_compiler_pic='-KPIC'
10862 lt_prog_compiler_static='-Bstatic'
10863 lt_prog_compiler_wl=''
10871 lt_prog_compiler_pic='-KPIC'
10872 lt_prog_compiler_static='-Bstatic'
10876 # QNX uses GNU C++, but need to define -shared option too, otherwise
10877 # it will coredump.
10878 lt_prog_compiler_pic='-fPIC -shared'
10881 osf3* | osf4* | osf5*)
10882 lt_prog_compiler_wl='-Wl,'
10883 # All OSF/1 code is PIC.
10884 lt_prog_compiler_static='-non_shared'
10888 lt_prog_compiler_static='-non_shared'
10892 lt_prog_compiler_pic='-KPIC'
10893 lt_prog_compiler_static='-Bstatic'
10894 case $cc_basename in
10895 f77* | f90* | f95*)
10896 lt_prog_compiler_wl='-Qoption ld ';;
10898 lt_prog_compiler_wl='-Wl,';;
10903 lt_prog_compiler_wl='-Qoption ld '
10904 lt_prog_compiler_pic='-PIC'
10905 lt_prog_compiler_static='-Bstatic'
10908 sysv4 | sysv4.2uw2* | sysv4.3*)
10909 lt_prog_compiler_wl='-Wl,'
10910 lt_prog_compiler_pic='-KPIC'
10911 lt_prog_compiler_static='-Bstatic'
10915 if test -d /usr/nec ;then
10916 lt_prog_compiler_pic='-Kconform_pic'
10917 lt_prog_compiler_static='-Bstatic'
10921 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10922 lt_prog_compiler_wl='-Wl,'
10923 lt_prog_compiler_pic='-KPIC'
10924 lt_prog_compiler_static='-Bstatic'
10928 lt_prog_compiler_wl='-Wl,'
10929 lt_prog_compiler_can_build_shared=no
10933 lt_prog_compiler_pic='-pic'
10934 lt_prog_compiler_static='-Bstatic'
10938 lt_prog_compiler_can_build_shared=no
10944 # For platforms which do not support PIC, -DPIC is meaningless:
10946 lt_prog_compiler_pic=
10949 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10953 $as_echo "$lt_prog_compiler_pic" >&6; }
10961 # Check to make sure the PIC flag actually works.
10963 if test -n "$lt_prog_compiler_pic"; then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10965 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10966 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10967 $as_echo_n "(cached) " >&6
10969 lt_cv_prog_compiler_pic_works=no
10970 ac_outfile=conftest.$ac_objext
10971 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10972 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10973 # Insert the option either (1) after the last *FLAGS variable, or
10974 # (2) before a word containing "conftest.", or (3) at the end.
10975 # Note that $ac_compile itself does not contain backslashes and begins
10976 # with a dollar sign (not a hyphen), so the echo should work correctly.
10977 # The option is referenced via a variable to avoid confusing sed.
10978 lt_compile=`echo "$ac_compile" | $SED \
10979 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10981 -e 's:$: $lt_compiler_flag:'`
10982 (eval echo "\"\$as_me:10982: $lt_compile\"" >&5)
10983 (eval "$lt_compile" 2>conftest.err)
10985 cat conftest.err >&5
10986 echo "$as_me:10986: \$? = $ac_status" >&5
10987 if (exit $ac_status) && test -s "$ac_outfile"; then
10988 # The compiler can only warn and ignore the option if not recognized
10989 # So say no if there are warnings other than the usual output.
10990 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10991 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10992 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10993 lt_cv_prog_compiler_pic_works=yes
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11000 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11002 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11003 case $lt_prog_compiler_pic in
11005 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11008 lt_prog_compiler_pic=
11009 lt_prog_compiler_can_build_shared=no
11020 # Check to make sure the static flag actually works.
11022 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11024 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11025 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
11026 $as_echo_n "(cached) " >&6
11028 lt_cv_prog_compiler_static_works=no
11029 save_LDFLAGS="$LDFLAGS"
11030 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11031 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11032 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11033 # The linker can only warn and ignore the option if not recognized
11034 # So say no if there are warnings
11035 if test -s conftest.err; then
11036 # Append any errors to the config.log.
11037 cat conftest.err 1>&5
11038 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11039 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11040 if diff conftest.exp conftest.er2 >/dev/null; then
11041 lt_cv_prog_compiler_static_works=yes
11044 lt_cv_prog_compiler_static_works=yes
11048 LDFLAGS="$save_LDFLAGS"
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11052 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11054 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11057 lt_prog_compiler_static=
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11069 $as_echo_n "(cached) " >&6
11071 lt_cv_prog_compiler_c_o=no
11072 $RM -r conftest 2>/dev/null
11076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11078 lt_compiler_flag="-o out/conftest2.$ac_objext"
11079 # Insert the option either (1) after the last *FLAGS variable, or
11080 # (2) before a word containing "conftest.", or (3) at the end.
11081 # Note that $ac_compile itself does not contain backslashes and begins
11082 # with a dollar sign (not a hyphen), so the echo should work correctly.
11083 lt_compile=`echo "$ac_compile" | $SED \
11084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11086 -e 's:$: $lt_compiler_flag:'`
11087 (eval echo "\"\$as_me:11087: $lt_compile\"" >&5)
11088 (eval "$lt_compile" 2>out/conftest.err)
11090 cat out/conftest.err >&5
11091 echo "$as_me:11091: \$? = $ac_status" >&5
11092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11094 # The compiler can only warn and ignore the option if not recognized
11095 # So say no if there are warnings
11096 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11099 lt_cv_prog_compiler_c_o=yes
11104 # SGI C++ compiler will create directory out/ii_files/ for
11105 # template instantiation
11106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11107 $RM out/* && rmdir out
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11122 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11123 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11124 $as_echo_n "(cached) " >&6
11126 lt_cv_prog_compiler_c_o=no
11127 $RM -r conftest 2>/dev/null
11131 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11133 lt_compiler_flag="-o out/conftest2.$ac_objext"
11134 # Insert the option either (1) after the last *FLAGS variable, or
11135 # (2) before a word containing "conftest.", or (3) at the end.
11136 # Note that $ac_compile itself does not contain backslashes and begins
11137 # with a dollar sign (not a hyphen), so the echo should work correctly.
11138 lt_compile=`echo "$ac_compile" | $SED \
11139 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11140 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11141 -e 's:$: $lt_compiler_flag:'`
11142 (eval echo "\"\$as_me:11142: $lt_compile\"" >&5)
11143 (eval "$lt_compile" 2>out/conftest.err)
11145 cat out/conftest.err >&5
11146 echo "$as_me:11146: \$? = $ac_status" >&5
11147 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11149 # The compiler can only warn and ignore the option if not recognized
11150 # So say no if there are warnings
11151 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11152 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11153 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11154 lt_cv_prog_compiler_c_o=yes
11159 # SGI C++ compiler will create directory out/ii_files/ for
11160 # template instantiation
11161 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11162 $RM out/* && rmdir out
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11169 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11174 hard_links="nottested"
11175 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11176 # do not overwrite the value of need_locks provided by the user
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11178 $as_echo_n "checking if we can lock with hard links... " >&6; }
11181 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11183 ln conftest.a conftest.b 2>&5 || hard_links=no
11184 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11186 $as_echo "$hard_links" >&6; }
11187 if test "$hard_links" = no; then
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11189 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11202 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11205 allow_undefined_flag=
11206 always_export_symbols=no
11208 archive_expsym_cmds=
11209 compiler_needs_object=no
11210 enable_shared_with_static_runtimes=no
11211 export_dynamic_flag_spec=
11212 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11213 hardcode_automatic=no
11215 hardcode_direct_absolute=no
11216 hardcode_libdir_flag_spec=
11217 hardcode_libdir_flag_spec_ld=
11218 hardcode_libdir_separator=
11219 hardcode_minus_L=no
11220 hardcode_shlibpath_var=unsupported
11222 link_all_deplibs=unknown
11224 module_expsym_cmds=
11225 old_archive_from_new_cmds=
11226 old_archive_from_expsyms_cmds=
11227 thread_safe_flag_spec=
11228 whole_archive_flag_spec=
11229 # include_expsyms should be a list of space-separated symbols to be *always*
11230 # included in the symbol list
11232 # exclude_expsyms can be an extended regexp of symbols to exclude
11233 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11234 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11235 # as well as any symbol that contains `d'.
11236 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11237 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11238 # platforms (ab)use it in PIC code, but their linkers get confused if
11239 # the symbol is explicitly referenced. Since portable code cannot
11240 # rely on this symbol name, it's probably fine to never include it in
11241 # preloaded symbol tables.
11242 # Exclude shared library initialization/finalization symbols.
11243 extract_expsyms_cmds=
11246 cygwin* | mingw* | pw32* | cegcc*)
11247 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11248 # When not using gcc, we currently assume that we are using
11249 # Microsoft Visual C++.
11250 if test "$GCC" != yes; then
11255 # we just hope/assume this is gcc and not c89 (= MSVC++)
11261 linux* | k*bsd*-gnu)
11262 link_all_deplibs=no
11267 if test "$with_gnu_ld" = yes; then
11268 # If archive_cmds runs LD, not CC, wlarc should be empty
11271 # Set some defaults for GNU ld with shared library support. These
11272 # are reset later if shared libraries are not supported. Putting them
11273 # here allows them to be overridden if necessary.
11274 runpath_var=LD_RUN_PATH
11275 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11276 export_dynamic_flag_spec='${wl}--export-dynamic'
11277 # ancient GNU ld didn't support --whole-archive et. al.
11278 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11279 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11281 whole_archive_flag_spec=
11283 supports_anon_versioning=no
11284 case `$LD -v 2>&1` in
11285 *GNU\ gold*) supports_anon_versioning=yes ;;
11286 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11287 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11288 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11289 *\ 2.11.*) ;; # other 2.11 versions
11290 *) supports_anon_versioning=yes ;;
11293 # See if GNU ld supports shared libraries.
11296 # On AIX/PPC, the GNU linker is very broken
11297 if test "$host_cpu" != ia64; then
11301 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11302 *** to be unable to reliably create shared libraries on AIX.
11303 *** Therefore, libtool is disabling shared libraries support. If you
11304 *** really care for shared libraries, you may want to modify your PATH
11305 *** so that a non-GNU linker is found, and then restart.
11314 # see comment about AmigaOS4 .so support
11315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11316 archive_expsym_cmds=''
11319 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)'
11320 hardcode_libdir_flag_spec='-L$libdir'
11321 hardcode_minus_L=yes
11327 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11328 allow_undefined_flag=unsupported
11329 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11330 # support --undefined. This deserves some investigation. FIXME
11331 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11337 cygwin* | mingw* | pw32* | cegcc*)
11338 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11339 # as there is no search path for DLLs.
11340 hardcode_libdir_flag_spec='-L$libdir'
11341 allow_undefined_flag=unsupported
11342 always_export_symbols=no
11343 enable_shared_with_static_runtimes=yes
11344 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11346 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11347 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11348 # If the export-symbols file already is a .def file (1st line
11349 # is EXPORTS), use it as is; otherwise, prepend...
11350 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11351 cp $export_symbols $output_objdir/$soname.def;
11353 echo EXPORTS > $output_objdir/$soname.def;
11354 cat $export_symbols >> $output_objdir/$soname.def;
11356 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11364 hardcode_shlibpath_var=no
11365 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11366 export_dynamic_flag_spec='${wl}-E'
11367 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11368 # Instead, shared libraries are loaded at an image base (0x10000000 by
11369 # default) and relocated if they conflict, which is a slow very memory
11370 # consuming and fragmenting process. To avoid this, we pick a random,
11371 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11372 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11373 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11374 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'
11377 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11379 if test "$host_os" = linux-dietlibc; then
11380 case $cc_basename in
11381 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11384 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11385 && test "$tmp_diet" = no
11388 tmp_sharedflag='-shared'
11389 case $cc_basename,$host_cpu in
11390 pgcc*) # Portland Group C compiler
11391 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'
11392 tmp_addflag=' $pic_flag'
11394 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11395 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'
11396 tmp_addflag=' $pic_flag -Mnomain' ;;
11397 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11398 tmp_addflag=' -i_dynamic' ;;
11399 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11400 tmp_addflag=' -i_dynamic -nofor_main' ;;
11401 ifc* | ifort*) # Intel Fortran compiler
11402 tmp_addflag=' -nofor_main' ;;
11403 lf95*) # Lahey Fortran 8.1
11404 whole_archive_flag_spec=
11405 tmp_sharedflag='--shared' ;;
11406 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11407 tmp_sharedflag='-qmkshrobj'
11410 case `$CC -V 2>&1 | sed 5q` in
11411 *Sun\ C*) # Sun C 5.9
11412 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'
11413 compiler_needs_object=yes
11414 tmp_sharedflag='-G' ;;
11415 *Sun\ F*) # Sun Fortran 8.3
11416 tmp_sharedflag='-G' ;;
11418 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11420 if test "x$supports_anon_versioning" = xyes; then
11421 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11422 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11423 echo "local: *; };" >> $output_objdir/$libname.ver~
11424 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11427 case $cc_basename in
11429 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11430 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11431 hardcode_libdir_flag_spec=
11432 hardcode_libdir_flag_spec_ld='-rpath $libdir'
11433 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11434 if test "x$supports_anon_versioning" = xyes; then
11435 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11436 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11437 echo "local: *; };" >> $output_objdir/$libname.ver~
11438 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11447 netbsd* | netbsdelf*-gnu)
11448 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11449 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11453 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11458 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11462 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11463 *** create shared libraries on Solaris systems. Therefore, libtool
11464 *** is disabling shared libraries support. We urge you to upgrade GNU
11465 *** binutils to release 2.9.1 or newer. Another option is to modify
11466 *** your PATH or compiler configuration so that the native linker is
11467 *** used, and then restart.
11470 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11471 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11472 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11478 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11479 case `$LD -v 2>&1` in
11480 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11484 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11485 *** reliably create shared libraries on SCO systems. Therefore, libtool
11486 *** is disabling shared libraries support. We urge you to upgrade GNU
11487 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11488 *** your PATH or compiler configuration so that the native linker is
11489 *** used, and then restart.
11494 # For security reasons, it is highly recommended that you always
11495 # use absolute paths for naming shared libraries, and exclude the
11496 # DT_RUNPATH tag from executables and libraries. But doing so
11497 # requires that you compile everything twice, which is a pain.
11498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11499 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11500 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11501 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11510 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11512 hardcode_direct=yes
11513 hardcode_shlibpath_var=no
11517 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11519 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11526 if test "$ld_shlibs" = no; then
11528 hardcode_libdir_flag_spec=
11529 export_dynamic_flag_spec=
11530 whole_archive_flag_spec=
11533 # PORTME fill in a description of your system's linker (not GNU ld)
11536 allow_undefined_flag=unsupported
11537 always_export_symbols=yes
11538 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'
11539 # Note: this linker hardcodes the directories in LIBPATH if there
11540 # are no directories specified by -L.
11541 hardcode_minus_L=yes
11542 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11543 # Neither direct hardcoding nor static linking is supported with a
11545 hardcode_direct=unsupported
11550 if test "$host_cpu" = ia64; then
11551 # On IA64, the linker does run time linking by default, so we don't
11552 # have to do anything special.
11553 aix_use_runtimelinking=no
11554 exp_sym_flag='-Bexport'
11557 # If we're using GNU nm, then we don't want the "-C" option.
11558 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11559 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11560 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'
11562 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'
11564 aix_use_runtimelinking=no
11566 # Test if we are trying to use run time linking or normal
11567 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11568 # need to do runtime linking.
11569 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11570 for ld_flag in $LDFLAGS; do
11571 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11572 aix_use_runtimelinking=yes
11579 exp_sym_flag='-bexport'
11580 no_entry_flag='-bnoentry'
11583 # When large executables or shared objects are built, AIX ld can
11584 # have problems creating the table of contents. If linking a library
11585 # or program results in "error TOC overflow" add -mminimal-toc to
11586 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11587 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11590 hardcode_direct=yes
11591 hardcode_direct_absolute=yes
11592 hardcode_libdir_separator=':'
11593 link_all_deplibs=yes
11594 file_list_spec='${wl}-f,'
11596 if test "$GCC" = yes; then
11597 case $host_os in aix4.[012]|aix4.[012].*)
11598 # We only want to do this on AIX 4.2 and lower, the check
11599 # below for broken collect2 doesn't work under 4.3+
11600 collect2name=`${CC} -print-prog-name=collect2`
11601 if test -f "$collect2name" &&
11602 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11604 # We have reworked collect2
11607 # We have old collect2
11608 hardcode_direct=unsupported
11609 # It fails to find uninstalled libraries when the uninstalled
11610 # path is not listed in the libpath. Setting hardcode_minus_L
11611 # to unsupported forces relinking
11612 hardcode_minus_L=yes
11613 hardcode_libdir_flag_spec='-L$libdir'
11614 hardcode_libdir_separator=
11618 shared_flag='-shared'
11619 if test "$aix_use_runtimelinking" = yes; then
11620 shared_flag="$shared_flag "'${wl}-G'
11622 link_all_deplibs=no
11625 if test "$host_cpu" = ia64; then
11626 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11627 # chokes on -Wl,-G. The following line is correct:
11630 if test "$aix_use_runtimelinking" = yes; then
11631 shared_flag='${wl}-G'
11633 shared_flag='${wl}-bM:SRE'
11638 export_dynamic_flag_spec='${wl}-bexpall'
11639 # It seems that -bexpall does not export symbols beginning with
11640 # underscore (_), so it is better to generate a list of symbols to export.
11641 always_export_symbols=yes
11642 if test "$aix_use_runtimelinking" = yes; then
11643 # Warning - without using the other runtime loading flags (-brtl),
11644 # -berok will link without error, but may produce a broken library.
11645 allow_undefined_flag='-berok'
11646 # Determine the default libpath from the value encoded in an
11647 # empty executable.
11648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649 /* end confdefs.h. */
11659 if ac_fn_c_try_link "$LINENO"; then :
11661 lt_aix_libpath_sed='
11662 /Import File Strings/,/^$/ {
11668 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11669 # Check for a 64-bit object if we didn't find anything.
11670 if test -z "$aix_libpath"; then
11671 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11674 rm -f core conftest.err conftest.$ac_objext \
11675 conftest$ac_exeext conftest.$ac_ext
11676 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11678 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11679 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"
11681 if test "$host_cpu" = ia64; then
11682 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11683 allow_undefined_flag="-z nodefs"
11684 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"
11686 # Determine the default libpath from the value encoded in an
11687 # empty executable.
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11699 if ac_fn_c_try_link "$LINENO"; then :
11701 lt_aix_libpath_sed='
11702 /Import File Strings/,/^$/ {
11708 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11709 # Check for a 64-bit object if we didn't find anything.
11710 if test -z "$aix_libpath"; then
11711 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11714 rm -f core conftest.err conftest.$ac_objext \
11715 conftest$ac_exeext conftest.$ac_ext
11716 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11718 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11719 # Warning - without using the other run time loading flags,
11720 # -berok will link without error, but may produce a broken library.
11721 no_undefined_flag=' ${wl}-bernotok'
11722 allow_undefined_flag=' ${wl}-berok'
11723 # Exported symbols can be pulled into shared objects from archives
11724 whole_archive_flag_spec='$convenience'
11725 archive_cmds_need_lc=yes
11726 # This is similar to how AIX traditionally builds its shared libraries.
11727 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'
11735 # see comment about AmigaOS4 .so support
11736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11737 archive_expsym_cmds=''
11740 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)'
11741 hardcode_libdir_flag_spec='-L$libdir'
11742 hardcode_minus_L=yes
11748 export_dynamic_flag_spec=-rdynamic
11751 cygwin* | mingw* | pw32* | cegcc*)
11752 # When not using gcc, we currently assume that we are using
11753 # Microsoft Visual C++.
11754 # hardcode_libdir_flag_spec is actually meaningless, as there is
11755 # no search path for DLLs.
11756 hardcode_libdir_flag_spec=' '
11757 allow_undefined_flag=unsupported
11758 # Tell ltmain to make .lib files, not .a files.
11760 # Tell ltmain to make .dll files, not .so files.
11762 # FIXME: Setting linknames here is a bad hack.
11763 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11764 # The linker will automatically build a .lib file if we build a DLL.
11765 old_archive_from_new_cmds='true'
11766 # FIXME: Should let the user specify the lib program.
11767 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11768 fix_srcfile_path='`cygpath -w "$srcfile"`'
11769 enable_shared_with_static_runtimes=yes
11772 darwin* | rhapsody*)
11775 archive_cmds_need_lc=no
11777 hardcode_automatic=yes
11778 hardcode_shlibpath_var=unsupported
11779 whole_archive_flag_spec=''
11780 link_all_deplibs=yes
11781 allow_undefined_flag="$_lt_dar_allow_undefined"
11782 case $cc_basename in
11783 ifort*) _lt_dar_can_shared=yes ;;
11784 *) _lt_dar_can_shared=$GCC ;;
11786 if test "$_lt_dar_can_shared" = "yes"; then
11787 output_verbose_link_cmd=echo
11788 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11789 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11790 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}"
11791 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}"
11800 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11801 hardcode_libdir_flag_spec='-L$libdir'
11802 hardcode_shlibpath_var=no
11809 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11810 # support. Future versions do this automatically, but an explicit c++rt0.o
11811 # does not break anything, and helps significantly (at the cost of a little
11814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11815 hardcode_libdir_flag_spec='-R$libdir'
11816 hardcode_direct=yes
11817 hardcode_shlibpath_var=no
11820 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11822 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11823 hardcode_direct=yes
11824 hardcode_minus_L=yes
11825 hardcode_shlibpath_var=no
11828 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11829 freebsd* | dragonfly*)
11830 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11831 hardcode_libdir_flag_spec='-R$libdir'
11832 hardcode_direct=yes
11833 hardcode_shlibpath_var=no
11837 if test "$GCC" = yes; then
11838 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'
11840 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'
11842 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11843 hardcode_libdir_separator=:
11844 hardcode_direct=yes
11846 # hardcode_minus_L: Not really in the search PATH,
11847 # but as the default location of the library.
11848 hardcode_minus_L=yes
11849 export_dynamic_flag_spec='${wl}-E'
11853 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11854 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11856 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11858 if test "$with_gnu_ld" = no; then
11859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11860 hardcode_libdir_flag_spec_ld='+b $libdir'
11861 hardcode_libdir_separator=:
11862 hardcode_direct=yes
11863 hardcode_direct_absolute=yes
11864 export_dynamic_flag_spec='${wl}-E'
11865 # hardcode_minus_L: Not really in the search PATH,
11866 # but as the default location of the library.
11867 hardcode_minus_L=yes
11872 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11875 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11878 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11881 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11887 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11890 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11893 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11897 if test "$with_gnu_ld" = no; then
11898 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11899 hardcode_libdir_separator=:
11904 hardcode_shlibpath_var=no
11907 hardcode_direct=yes
11908 hardcode_direct_absolute=yes
11909 export_dynamic_flag_spec='${wl}-E'
11911 # hardcode_minus_L: Not really in the search PATH,
11912 # but as the default location of the library.
11913 hardcode_minus_L=yes
11919 irix5* | irix6* | nonstopux*)
11920 if test "$GCC" = yes; then
11921 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'
11922 # Try to use the -exported_symbol ld option, if it does not
11923 # work, assume that -exports_file does not work either and
11924 # implicitly export all symbols.
11925 save_LDFLAGS="$LDFLAGS"
11926 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11931 if ac_fn_c_try_link "$LINENO"; then :
11932 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'
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LDFLAGS="$save_LDFLAGS"
11939 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'
11940 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'
11942 archive_cmds_need_lc='no'
11943 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11944 hardcode_libdir_separator=:
11946 link_all_deplibs=yes
11949 netbsd* | netbsdelf*-gnu)
11950 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11951 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11953 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11955 hardcode_libdir_flag_spec='-R$libdir'
11956 hardcode_direct=yes
11957 hardcode_shlibpath_var=no
11961 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11962 hardcode_direct=yes
11963 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11964 hardcode_libdir_separator=:
11965 hardcode_shlibpath_var=no
11972 if test -f /usr/libexec/ld.so; then
11973 hardcode_direct=yes
11974 hardcode_shlibpath_var=no
11975 hardcode_direct_absolute=yes
11976 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11977 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11978 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11979 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11980 export_dynamic_flag_spec='${wl}-E'
11983 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11984 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11985 hardcode_libdir_flag_spec='-R$libdir'
11988 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11989 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11999 hardcode_libdir_flag_spec='-L$libdir'
12000 hardcode_minus_L=yes
12001 allow_undefined_flag=unsupported
12002 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'
12003 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12007 if test "$GCC" = yes; then
12008 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12009 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'
12011 allow_undefined_flag=' -expect_unresolved \*'
12012 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'
12014 archive_cmds_need_lc='no'
12015 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12016 hardcode_libdir_separator=:
12019 osf4* | osf5*) # as osf3* with the addition of -msym flag
12020 if test "$GCC" = yes; then
12021 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12022 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'
12023 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12025 allow_undefined_flag=' -expect_unresolved \*'
12026 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'
12027 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~
12028 $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'
12030 # Both c and cxx compiler support -rpath directly
12031 hardcode_libdir_flag_spec='-rpath $libdir'
12033 archive_cmds_need_lc='no'
12034 hardcode_libdir_separator=:
12038 no_undefined_flag=' -z defs'
12039 if test "$GCC" = yes; then
12041 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12042 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12043 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12045 case `$CC -V 2>&1` in
12048 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12049 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12050 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12054 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12056 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12060 hardcode_libdir_flag_spec='-R$libdir'
12061 hardcode_shlibpath_var=no
12063 solaris2.[0-5] | solaris2.[0-5].*) ;;
12065 # The compiler driver will combine and reorder linker options,
12066 # but understands `-z linker_flag'. GCC discards it without `$wl',
12067 # but is careful enough not to reorder.
12068 # Supported since Solaris 2.6 (maybe 2.5.1?)
12069 if test "$GCC" = yes; then
12070 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12072 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12076 link_all_deplibs=yes
12080 if test "x$host_vendor" = xsequent; then
12081 # Use $CC to link under sequent, because it throws in some extra .o
12082 # files that make .init and .fini sections work.
12083 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12085 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12087 hardcode_libdir_flag_spec='-L$libdir'
12088 hardcode_direct=yes
12089 hardcode_minus_L=yes
12090 hardcode_shlibpath_var=no
12094 case $host_vendor in
12096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12097 hardcode_direct=yes # is this really true???
12100 ## LD is ld it makes a PLAMLIB
12101 ## CC just makes a GrossModule.
12102 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12103 reload_cmds='$CC -r -o $output$reload_objs'
12107 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12108 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12111 runpath_var='LD_RUN_PATH'
12112 hardcode_shlibpath_var=no
12116 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12117 hardcode_shlibpath_var=no
12118 export_dynamic_flag_spec='-Bexport'
12122 if test -d /usr/nec; then
12123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12124 hardcode_shlibpath_var=no
12125 runpath_var=LD_RUN_PATH
12126 hardcode_runpath_var=yes
12131 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12132 no_undefined_flag='${wl}-z,text'
12133 archive_cmds_need_lc=no
12134 hardcode_shlibpath_var=no
12135 runpath_var='LD_RUN_PATH'
12137 if test "$GCC" = yes; then
12138 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12139 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12141 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12142 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12146 sysv5* | sco3.2v5* | sco5v6*)
12147 # Note: We can NOT use -z defs as we might desire, because we do not
12148 # link with -lc, and that would cause any symbols used from libc to
12149 # always be unresolved, which means just about no library would
12150 # ever link correctly. If we're not using GNU ld we use -z text
12151 # though, which does catch some bad symbols but isn't as heavy-handed
12153 no_undefined_flag='${wl}-z,text'
12154 allow_undefined_flag='${wl}-z,nodefs'
12155 archive_cmds_need_lc=no
12156 hardcode_shlibpath_var=no
12157 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12158 hardcode_libdir_separator=':'
12159 link_all_deplibs=yes
12160 export_dynamic_flag_spec='${wl}-Bexport'
12161 runpath_var='LD_RUN_PATH'
12163 if test "$GCC" = yes; then
12164 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12165 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12167 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12168 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12174 hardcode_libdir_flag_spec='-L$libdir'
12175 hardcode_shlibpath_var=no
12183 if test x$host_vendor = xsni; then
12185 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12186 export_dynamic_flag_spec='${wl}-Blargedynsym'
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12193 $as_echo "$ld_shlibs" >&6; }
12194 test "$ld_shlibs" = no && can_build_shared=no
12196 with_gnu_ld=$with_gnu_ld
12213 # Do we need to explicitly link libc?
12215 case "x$archive_cmds_need_lc" in
12217 # Assume -lc should be added
12218 archive_cmds_need_lc=yes
12220 if test "$enable_shared" = yes && test "$GCC" = yes; then
12221 case $archive_cmds in
12223 # FIXME: we may have to deal with multi-command sequences.
12226 # Test whether the compiler implicitly links with -lc since on some
12227 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12228 # to ld, don't add -lc before -lgcc.
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12230 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12232 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12235 (eval $ac_compile) 2>&5
12237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12238 test $ac_status = 0; } 2>conftest.err; then
12241 libobjs=conftest.$ac_objext
12243 wl=$lt_prog_compiler_wl
12244 pic_flag=$lt_prog_compiler_pic
12250 lt_save_allow_undefined_flag=$allow_undefined_flag
12251 allow_undefined_flag=
12252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12253 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12256 test $ac_status = 0; }
12258 archive_cmds_need_lc=no
12260 archive_cmds_need_lc=yes
12262 allow_undefined_flag=$lt_save_allow_undefined_flag
12264 cat conftest.err 1>&5
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
12268 $as_echo "$archive_cmds_need_lc" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12432 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12434 if test "$GCC" = yes; then
12436 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12437 *) lt_awk_arg="/^libraries:/" ;;
12439 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12440 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
12441 # if the path contains ";" then we assume it to be the separator
12442 # otherwise default to the standard path separator (i.e. ":") - it is
12443 # assumed that no part of a normal pathname contains ";" but that should
12444 # okay in the real world where ";" in dirpaths is itself problematic.
12445 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12447 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12449 # Ok, now we have the path, separated by spaces, we can step through it
12450 # and add multilib dir if necessary.
12451 lt_tmp_lt_search_path_spec=
12452 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12453 for lt_sys_path in $lt_search_path_spec; do
12454 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12455 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12457 test -d "$lt_sys_path" && \
12458 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12461 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12462 BEGIN {RS=" "; FS="/|\n";} {
12465 for (lt_i = NF; lt_i > 0; lt_i--) {
12466 if ($lt_i != "" && $lt_i != ".") {
12467 if ($lt_i == "..") {
12470 if (lt_count == 0) {
12471 lt_foo="/" $lt_i lt_foo;
12478 if (lt_foo != "") { lt_freq[lt_foo]++; }
12479 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12481 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12483 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12485 library_names_spec=
12486 libname_spec='lib$name'
12490 postuninstall_cmds=
12494 shlibpath_overrides_runpath=unknown
12496 dynamic_linker="$host_os ld.so"
12497 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12498 need_lib_prefix=unknown
12499 hardcode_into_libs=no
12501 # when you set need_version to no, make sure it does not cause -set_version
12502 # flags to be left without arguments
12503 need_version=unknown
12508 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12509 shlibpath_var=LIBPATH
12511 # AIX 3 has no versioning support, so we append a major version to the name.
12512 soname_spec='${libname}${release}${shared_ext}$major'
12519 hardcode_into_libs=yes
12520 if test "$host_cpu" = ia64; then
12521 # AIX 5 supports IA64
12522 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12523 shlibpath_var=LD_LIBRARY_PATH
12525 # With GCC up to 2.95.x, collect2 would create an import file
12526 # for dependence libraries. The import file would start with
12527 # the line `#! .'. This would cause the generated library to
12528 # depend on `.', always an invalid library. This was fixed in
12529 # development snapshots of GCC prior to 3.0.
12531 aix4 | aix4.[01] | aix4.[01].*)
12532 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12534 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12537 can_build_shared=no
12541 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12542 # soname into executable. Probably we can add versioning support to
12543 # collect2, so additional links can be useful in future.
12544 if test "$aix_use_runtimelinking" = yes; then
12545 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12546 # instead of lib<name>.a to let people know that these are not
12547 # typical AIX shared libraries.
12548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12550 # We preserve .a as extension for shared libraries through AIX4.2
12551 # and later when we are not doing run time linking.
12552 library_names_spec='${libname}${release}.a $libname.a'
12553 soname_spec='${libname}${release}${shared_ext}$major'
12555 shlibpath_var=LIBPATH
12562 # Since July 2007 AmigaOS4 officially supports .so libraries.
12563 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12567 library_names_spec='$libname.ixlibrary $libname.a'
12568 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12569 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'
12575 library_names_spec='${libname}${shared_ext}'
12576 dynamic_linker="$host_os ld.so"
12577 shlibpath_var=LIBRARY_PATH
12583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12584 soname_spec='${libname}${release}${shared_ext}$major'
12585 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12586 shlibpath_var=LD_LIBRARY_PATH
12587 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12588 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12589 # the default ld.so.conf also contains /usr/contrib/lib and
12590 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12591 # libtool to hard-code these into programs
12594 cygwin* | mingw* | pw32* | cegcc*)
12595 version_type=windows
12600 case $GCC,$host_os in
12601 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12602 library_names_spec='$libname.dll.a'
12603 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12604 postinstall_cmds='base_file=`basename \${file}`~
12605 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12606 dldir=$destdir/`dirname \$dlpath`~
12607 test -d \$dldir || mkdir -p \$dldir~
12608 $install_prog $dir/$dlname \$dldir/$dlname~
12609 chmod a+x \$dldir/$dlname~
12610 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12611 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12613 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12614 dlpath=$dir/\$dldll~
12616 shlibpath_overrides_runpath=yes
12620 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12621 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12622 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12625 # MinGW DLLs use traditional 'lib' prefix
12626 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12627 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12628 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12629 # It is most probably a Windows format PATH printed by
12630 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12631 # path with ; separators, and with drive letters. We can handle the
12632 # drive letters (cygwin fileutils understands them), so leave them,
12633 # especially as we might pass files found there to a mingw objdump,
12634 # which wouldn't understand a cygwinified path. Ahh.
12635 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12637 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12641 # pw32 DLLs use 'pw' prefix rather than 'lib'
12642 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12648 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12651 dynamic_linker='Win32 ld.exe'
12652 # FIXME: first we should search . and the directory the executable is in
12656 darwin* | rhapsody*)
12657 dynamic_linker="$host_os dyld"
12658 version_type=darwin
12661 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12662 soname_spec='${libname}${release}${major}$shared_ext'
12663 shlibpath_overrides_runpath=yes
12664 shlibpath_var=DYLD_LIBRARY_PATH
12665 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12667 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12668 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12676 soname_spec='${libname}${release}${shared_ext}$major'
12677 shlibpath_var=LD_LIBRARY_PATH
12684 freebsd* | dragonfly*)
12685 # DragonFly does not have aout. When/if they implement a new
12686 # versioning mechanism, adjust this.
12687 if test -x /usr/bin/objformat; then
12688 objformat=`/usr/bin/objformat`
12691 freebsd[123]*) objformat=aout ;;
12692 *) objformat=elf ;;
12695 version_type=freebsd-$objformat
12696 case $version_type in
12698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12703 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12707 shlibpath_var=LD_LIBRARY_PATH
12710 shlibpath_overrides_runpath=yes
12712 freebsd3.[01]* | freebsdelf3.[01]*)
12713 shlibpath_overrides_runpath=yes
12714 hardcode_into_libs=yes
12716 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12717 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12718 shlibpath_overrides_runpath=no
12719 hardcode_into_libs=yes
12721 *) # from 4.6 on, and DragonFly
12722 shlibpath_overrides_runpath=yes
12723 hardcode_into_libs=yes
12732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12733 soname_spec='${libname}${release}${shared_ext}$major'
12734 shlibpath_var=LD_LIBRARY_PATH
12735 hardcode_into_libs=yes
12738 hpux9* | hpux10* | hpux11*)
12739 # Give a soname corresponding to the major version so that dld.sl refuses to
12740 # link against other versions.
12747 hardcode_into_libs=yes
12748 dynamic_linker="$host_os dld.so"
12749 shlibpath_var=LD_LIBRARY_PATH
12750 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12752 soname_spec='${libname}${release}${shared_ext}$major'
12753 if test "X$HPUX_IA64_MODE" = X32; then
12754 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12756 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12758 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12762 hardcode_into_libs=yes
12763 dynamic_linker="$host_os dld.sl"
12764 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12765 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12767 soname_spec='${libname}${release}${shared_ext}$major'
12768 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12769 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12773 dynamic_linker="$host_os dld.sl"
12774 shlibpath_var=SHLIB_PATH
12775 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12777 soname_spec='${libname}${release}${shared_ext}$major'
12780 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12781 postinstall_cmds='chmod 555 $lib'
12788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12789 soname_spec='${libname}${release}${shared_ext}$major'
12790 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12791 shlibpath_var=LD_LIBRARY_PATH
12792 shlibpath_overrides_runpath=no
12793 hardcode_into_libs=yes
12796 irix5* | irix6* | nonstopux*)
12798 nonstopux*) version_type=nonstopux ;;
12800 if test "$lt_cv_prog_gnu_ld" = yes; then
12808 soname_spec='${libname}${release}${shared_ext}$major'
12809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12811 irix5* | nonstopux*)
12812 libsuff= shlibsuff=
12815 case $LD in # libtool.m4 will add one of these switches to LD
12816 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12817 libsuff= shlibsuff= libmagic=32-bit;;
12818 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12819 libsuff=32 shlibsuff=N32 libmagic=N32;;
12820 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12821 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12822 *) libsuff= shlibsuff= libmagic=never-match;;
12826 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12827 shlibpath_overrides_runpath=no
12828 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12829 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12830 hardcode_into_libs=yes
12833 # No shared lib support for Linux oldld, aout, or coff.
12834 linux*oldld* | linux*aout* | linux*coff*)
12838 # This must be Linux ELF.
12839 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12844 soname_spec='${libname}${release}${shared_ext}$major'
12845 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12846 shlibpath_var=LD_LIBRARY_PATH
12847 shlibpath_overrides_runpath=no
12848 # Some binutils ld are patched to set DT_RUNPATH
12849 save_LDFLAGS=$LDFLAGS
12850 save_libdir=$libdir
12851 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12852 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12864 if ac_fn_c_try_link "$LINENO"; then :
12865 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12866 shlibpath_overrides_runpath=yes
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12871 LDFLAGS=$save_LDFLAGS
12872 libdir=$save_libdir
12874 # This implies no fast_install, which is unacceptable.
12875 # Some rework will be needed to allow for fast_install
12876 # before this can be enabled.
12877 hardcode_into_libs=yes
12879 # Append ld.so.conf contents to the search path
12880 if test -f /etc/ld.so.conf; then
12881 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' ' '`
12882 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12885 # We used to test for /lib/ld.so.1 and disable shared libraries on
12886 # powerpc, because MkLinux only supported shared libraries with the
12887 # GNU dynamic linker. Since this was broken with cross compilers,
12888 # most powerpc-linux boxes support dynamic linking these days and
12889 # people can always --disable-shared, the test was removed, and we
12890 # assume the GNU/Linux dynamic linker is in use.
12891 dynamic_linker='GNU/Linux ld.so'
12898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12899 soname_spec='${libname}${release}${shared_ext}$major'
12900 shlibpath_var=LD_LIBRARY_PATH
12901 shlibpath_overrides_runpath=no
12902 hardcode_into_libs=yes
12903 dynamic_linker='NetBSD ld.elf_so'
12910 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12912 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12913 dynamic_linker='NetBSD (a.out) ld.so'
12915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12916 soname_spec='${libname}${release}${shared_ext}$major'
12917 dynamic_linker='NetBSD ld.elf_so'
12919 shlibpath_var=LD_LIBRARY_PATH
12920 shlibpath_overrides_runpath=yes
12921 hardcode_into_libs=yes
12926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12927 shlibpath_var=LD_LIBRARY_PATH
12928 shlibpath_overrides_runpath=yes
12935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12936 soname_spec='${libname}${release}${shared_ext}$major'
12937 shlibpath_var=LD_LIBRARY_PATH
12938 shlibpath_overrides_runpath=no
12939 hardcode_into_libs=yes
12940 dynamic_linker='ldqnx.so'
12945 sys_lib_dlsearch_path_spec="/usr/lib"
12947 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12949 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12950 *) need_version=no ;;
12952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12953 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12954 shlibpath_var=LD_LIBRARY_PATH
12955 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12957 openbsd2.[89] | openbsd2.[89].*)
12958 shlibpath_overrides_runpath=no
12961 shlibpath_overrides_runpath=yes
12965 shlibpath_overrides_runpath=yes
12970 libname_spec='$name'
12973 library_names_spec='$libname${shared_ext} $libname.a'
12974 dynamic_linker='OS/2 ld.exe'
12975 shlibpath_var=LIBPATH
12978 osf3* | osf4* | osf5*)
12982 soname_spec='${libname}${release}${shared_ext}$major'
12983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12984 shlibpath_var=LD_LIBRARY_PATH
12985 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12986 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12998 soname_spec='${libname}${release}${shared_ext}$major'
12999 shlibpath_var=LD_LIBRARY_PATH
13000 shlibpath_overrides_runpath=yes
13001 hardcode_into_libs=yes
13002 # ldd complains unless libraries are executable
13003 postinstall_cmds='chmod +x $lib'
13008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13009 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13010 shlibpath_var=LD_LIBRARY_PATH
13011 shlibpath_overrides_runpath=yes
13012 if test "$with_gnu_ld" = yes; then
13020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13021 soname_spec='${libname}${release}${shared_ext}$major'
13022 shlibpath_var=LD_LIBRARY_PATH
13023 case $host_vendor in
13025 shlibpath_overrides_runpath=no
13027 runpath_var=LD_RUN_PATH
13035 shlibpath_overrides_runpath=no
13036 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13042 if test -d /usr/nec ;then
13044 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13045 soname_spec='$libname${shared_ext}.$major'
13046 shlibpath_var=LD_LIBRARY_PATH
13050 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13051 version_type=freebsd-elf
13054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13055 soname_spec='${libname}${release}${shared_ext}$major'
13056 shlibpath_var=LD_LIBRARY_PATH
13057 shlibpath_overrides_runpath=yes
13058 hardcode_into_libs=yes
13059 if test "$with_gnu_ld" = yes; then
13060 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13062 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13065 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13069 sys_lib_dlsearch_path_spec='/usr/lib'
13073 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13078 shlibpath_var=LD_LIBRARY_PATH
13079 shlibpath_overrides_runpath=no
13080 hardcode_into_libs=yes
13085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13086 soname_spec='${libname}${release}${shared_ext}$major'
13087 shlibpath_var=LD_LIBRARY_PATH
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13095 $as_echo "$dynamic_linker" >&6; }
13096 test "$dynamic_linker" = no && can_build_shared=no
13098 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13099 if test "$GCC" = yes; then
13100 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13103 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13104 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13106 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13107 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13197 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13199 if test -n "$hardcode_libdir_flag_spec" ||
13200 test -n "$runpath_var" ||
13201 test "X$hardcode_automatic" = "Xyes" ; then
13203 # We can hardcode non-existent directories.
13204 if test "$hardcode_direct" != no &&
13205 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13206 # have to relink, otherwise we might link with an installed library
13207 # when we should be linking with a yet-to-be-installed one
13208 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13209 test "$hardcode_minus_L" != no; then
13210 # Linking always hardcodes the temporary library directory.
13211 hardcode_action=relink
13213 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13214 hardcode_action=immediate
13217 # We cannot hardcode anything, or else we can only hardcode existing
13219 hardcode_action=unsupported
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13222 $as_echo "$hardcode_action" >&6; }
13224 if test "$hardcode_action" = relink ||
13225 test "$inherit_rpath" = yes; then
13226 # Fast installation is not supported
13227 enable_fast_install=no
13228 elif test "$shlibpath_overrides_runpath" = yes ||
13229 test "$enable_shared" = no; then
13230 # Fast installation is not necessary
13231 enable_fast_install=needless
13239 if test "x$enable_dlopen" != xyes; then
13240 enable_dlopen=unknown
13241 enable_dlopen_self=unknown
13242 enable_dlopen_self_static=unknown
13249 lt_cv_dlopen="load_add_on"
13251 lt_cv_dlopen_self=yes
13254 mingw* | pw32* | cegcc*)
13255 lt_cv_dlopen="LoadLibrary"
13260 lt_cv_dlopen="dlopen"
13265 # if libdl is installed we need to link against it
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13267 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13268 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13269 $as_echo_n "(cached) " >&6
13271 ac_check_lib_save_LIBS=$LIBS
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13291 if ac_fn_c_try_link "$LINENO"; then :
13292 ac_cv_lib_dl_dlopen=yes
13294 ac_cv_lib_dl_dlopen=no
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13298 LIBS=$ac_check_lib_save_LIBS
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13301 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13302 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13303 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13306 lt_cv_dlopen="dyld"
13308 lt_cv_dlopen_self=yes
13315 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13316 if test "x$ac_cv_func_shl_load" = x""yes; then :
13317 lt_cv_dlopen="shl_load"
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13320 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13321 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13322 $as_echo_n "(cached) " >&6
13324 ac_check_lib_save_LIBS=$LIBS
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13339 return shl_load ();
13344 if ac_fn_c_try_link "$LINENO"; then :
13345 ac_cv_lib_dld_shl_load=yes
13347 ac_cv_lib_dld_shl_load=no
13349 rm -f core conftest.err conftest.$ac_objext \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13354 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13355 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
13356 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13358 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13359 if test "x$ac_cv_func_dlopen" = x""yes; then :
13360 lt_cv_dlopen="dlopen"
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13363 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13364 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13365 $as_echo_n "(cached) " >&6
13367 ac_check_lib_save_LIBS=$LIBS
13369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h. */
13372 /* Override any GCC internal prototype to avoid an error.
13373 Use char because int might match the return type of a GCC
13374 builtin and then its argument prototype would still apply. */
13387 if ac_fn_c_try_link "$LINENO"; then :
13388 ac_cv_lib_dl_dlopen=yes
13390 ac_cv_lib_dl_dlopen=no
13392 rm -f core conftest.err conftest.$ac_objext \
13393 conftest$ac_exeext conftest.$ac_ext
13394 LIBS=$ac_check_lib_save_LIBS
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13397 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13398 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13399 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13402 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13403 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13404 $as_echo_n "(cached) " >&6
13406 ac_check_lib_save_LIBS=$LIBS
13407 LIBS="-lsvld $LIBS"
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13411 /* Override any GCC internal prototype to avoid an error.
13412 Use char because int might match the return type of a GCC
13413 builtin and then its argument prototype would still apply. */
13426 if ac_fn_c_try_link "$LINENO"; then :
13427 ac_cv_lib_svld_dlopen=yes
13429 ac_cv_lib_svld_dlopen=no
13431 rm -f core conftest.err conftest.$ac_objext \
13432 conftest$ac_exeext conftest.$ac_ext
13433 LIBS=$ac_check_lib_save_LIBS
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
13438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13443 $as_echo_n "(cached) " >&6
13445 ac_check_lib_save_LIBS=$LIBS
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13460 return dld_link ();
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 ac_cv_lib_dld_dld_link=yes
13468 ac_cv_lib_dld_dld_link=no
13470 rm -f core conftest.err conftest.$ac_objext \
13471 conftest$ac_exeext conftest.$ac_ext
13472 LIBS=$ac_check_lib_save_LIBS
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13475 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13476 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
13477 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13498 if test "x$lt_cv_dlopen" != xno; then
13504 case $lt_cv_dlopen in
13506 save_CPPFLAGS="$CPPFLAGS"
13507 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13509 save_LDFLAGS="$LDFLAGS"
13510 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13513 LIBS="$lt_cv_dlopen_libs $LIBS"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13516 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13517 if test "${lt_cv_dlopen_self+set}" = set; then :
13518 $as_echo_n "(cached) " >&6
13520 if test "$cross_compiling" = yes; then :
13521 lt_cv_dlopen_self=cross
13523 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13524 lt_status=$lt_dlunknown
13525 cat > conftest.$ac_ext <<_LT_EOF
13526 #line 13526 "configure"
13527 #include "confdefs.h"
13536 # define LT_DLGLOBAL RTLD_GLOBAL
13539 # define LT_DLGLOBAL DL_GLOBAL
13541 # define LT_DLGLOBAL 0
13545 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13546 find out it does not work in some platform. */
13547 #ifndef LT_DLLAZY_OR_NOW
13549 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13552 # define LT_DLLAZY_OR_NOW DL_LAZY
13555 # define LT_DLLAZY_OR_NOW RTLD_NOW
13558 # define LT_DLLAZY_OR_NOW DL_NOW
13560 # define LT_DLLAZY_OR_NOW 0
13567 void fnord() { int i=42;}
13570 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13571 int status = $lt_dlunknown;
13575 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13576 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13577 /* dlclose (self); */
13585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13586 (eval $ac_link) 2>&5
13588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13590 (./conftest; exit; ) >&5 2>/dev/null
13592 case x$lt_status in
13593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13598 # compilation failed
13599 lt_cv_dlopen_self=no
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13607 $as_echo "$lt_cv_dlopen_self" >&6; }
13609 if test "x$lt_cv_dlopen_self" = xyes; then
13610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13614 $as_echo_n "(cached) " >&6
13616 if test "$cross_compiling" = yes; then :
13617 lt_cv_dlopen_self_static=cross
13619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13620 lt_status=$lt_dlunknown
13621 cat > conftest.$ac_ext <<_LT_EOF
13622 #line 13622 "configure"
13623 #include "confdefs.h"
13632 # define LT_DLGLOBAL RTLD_GLOBAL
13635 # define LT_DLGLOBAL DL_GLOBAL
13637 # define LT_DLGLOBAL 0
13641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13642 find out it does not work in some platform. */
13643 #ifndef LT_DLLAZY_OR_NOW
13645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13648 # define LT_DLLAZY_OR_NOW DL_LAZY
13651 # define LT_DLLAZY_OR_NOW RTLD_NOW
13654 # define LT_DLLAZY_OR_NOW DL_NOW
13656 # define LT_DLLAZY_OR_NOW 0
13663 void fnord() { int i=42;}
13666 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13667 int status = $lt_dlunknown;
13671 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13672 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13673 /* dlclose (self); */
13681 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13682 (eval $ac_link) 2>&5
13684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13685 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13686 (./conftest; exit; ) >&5 2>/dev/null
13688 case x$lt_status in
13689 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13690 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13691 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13694 # compilation failed
13695 lt_cv_dlopen_self_static=no
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13703 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13706 CPPFLAGS="$save_CPPFLAGS"
13707 LDFLAGS="$save_LDFLAGS"
13712 case $lt_cv_dlopen_self in
13713 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13714 *) enable_dlopen_self=unknown ;;
13717 case $lt_cv_dlopen_self_static in
13718 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13719 *) enable_dlopen_self_static=unknown ;;
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13742 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13743 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13744 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13745 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13747 $as_echo "yes" >&6; }
13749 # FIXME - insert some real tests, host_os isn't really good enough
13752 if test -n "$STRIP" ; then
13753 striplib="$STRIP -x"
13754 old_striplib="$STRIP -S"
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13756 $as_echo "yes" >&6; }
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13759 $as_echo "no" >&6; }
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13764 $as_echo "no" >&6; }
13780 # Report which library types will actually be built
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13782 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13784 $as_echo "$can_build_shared" >&6; }
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13787 $as_echo_n "checking whether to build shared libraries... " >&6; }
13788 test "$can_build_shared" = "no" && enable_shared=no
13790 # On AIX, shared libraries and static libraries use the same namespace, and
13791 # are all built from PIC.
13794 test "$enable_shared" = yes && enable_static=no
13795 if test -n "$RANLIB"; then
13796 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13797 postinstall_cmds='$RANLIB $lib'
13802 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13803 test "$enable_shared" = yes && enable_static=no
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13808 $as_echo "$enable_shared" >&6; }
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13811 $as_echo_n "checking whether to build static libraries... " >&6; }
13812 # Make sure either enable_shared or enable_static is yes.
13813 test "$enable_shared" = yes || enable_static=yes
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13815 $as_echo "$enable_static" >&6; }
13822 ac_cpp='$CPP $CPPFLAGS'
13823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13831 ac_cpp='$CXXCPP $CPPFLAGS'
13832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13836 archive_cmds_need_lc_CXX=no
13837 allow_undefined_flag_CXX=
13838 always_export_symbols_CXX=no
13839 archive_expsym_cmds_CXX=
13840 compiler_needs_object_CXX=no
13841 export_dynamic_flag_spec_CXX=
13842 hardcode_direct_CXX=no
13843 hardcode_direct_absolute_CXX=no
13844 hardcode_libdir_flag_spec_CXX=
13845 hardcode_libdir_flag_spec_ld_CXX=
13846 hardcode_libdir_separator_CXX=
13847 hardcode_minus_L_CXX=no
13848 hardcode_shlibpath_var_CXX=unsupported
13849 hardcode_automatic_CXX=no
13850 inherit_rpath_CXX=no
13852 module_expsym_cmds_CXX=
13853 link_all_deplibs_CXX=unknown
13854 old_archive_cmds_CXX=$old_archive_cmds
13855 no_undefined_flag_CXX=
13856 whole_archive_flag_spec_CXX=
13857 enable_shared_with_static_runtimes_CXX=no
13859 # Source file extension for C++ test sources.
13862 # Object file extension for compiled C++ test sources.
13866 # No sense in running all these tests if we already determined that
13867 # the CXX compiler isn't working. Some variables (like enable_shared)
13868 # are currently assumed to apply to all compilers on this platform,
13869 # and will be corrupted by setting them based on a non-working compiler.
13870 if test "$_lt_caught_CXX_error" != yes; then
13871 # Code to be used in simple compile tests
13872 lt_simple_compile_test_code="int some_variable = 0;"
13874 # Code to be used in simple link tests
13875 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13877 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13884 # If no C compiler was specified, use CC.
13887 # If no C compiler flags were specified, use CFLAGS.
13888 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13890 # Allow CC to be a program name with arguments.
13894 # save warnings/boilerplate of simple test code
13895 ac_outfile=conftest.$ac_objext
13896 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13897 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13898 _lt_compiler_boilerplate=`cat conftest.err`
13901 ac_outfile=conftest.$ac_objext
13902 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13903 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13904 _lt_linker_boilerplate=`cat conftest.err`
13908 # Allow CC to be a program name with arguments.
13913 lt_save_with_gnu_ld=$with_gnu_ld
13914 lt_save_path_LD=$lt_cv_path_LD
13915 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13916 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13918 $as_unset lt_cv_prog_gnu_ld
13920 if test -n "${lt_cv_path_LDCXX+set}"; then
13921 lt_cv_path_LD=$lt_cv_path_LDCXX
13923 $as_unset lt_cv_path_LD
13925 test -z "${LDCXX+set}" || LD=$LDCXX
13929 for cc_temp in $compiler""; do
13931 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13932 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13937 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13940 if test -n "$compiler"; then
13941 # We don't want -fno-exception when compiling C++ code, so set the
13942 # no_builtin_flag separately
13943 if test "$GXX" = yes; then
13944 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13946 lt_prog_compiler_no_builtin_flag_CXX=
13949 if test "$GXX" = yes; then
13950 # Set up default GNU C++ configuration
13954 # Check whether --with-gnu-ld was given.
13955 if test "${with_gnu_ld+set}" = set; then :
13956 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13962 if test "$GCC" = yes; then
13963 # Check if gcc -print-prog-name=ld gives a path.
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13965 $as_echo_n "checking for ld used by $CC... " >&6; }
13968 # gcc leaves a trailing carriage return which upsets mingw
13969 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13971 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13974 # Accept absolute paths.
13976 re_direlt='/[^/][^/]*/\.\./'
13977 # Canonicalize the pathname of ld
13978 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13979 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13980 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13982 test -z "$LD" && LD="$ac_prog"
13985 # If it fails, then pretend we aren't using GCC.
13989 # If it is relative, then search for the first ld in PATH.
13990 with_gnu_ld=unknown
13993 elif test "$with_gnu_ld" = yes; then
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13995 $as_echo_n "checking for GNU ld... " >&6; }
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13998 $as_echo_n "checking for non-GNU ld... " >&6; }
14000 if test "${lt_cv_path_LD+set}" = set; then :
14001 $as_echo_n "(cached) " >&6
14003 if test -z "$LD"; then
14004 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14005 for ac_dir in $PATH; do
14007 test -z "$ac_dir" && ac_dir=.
14008 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14009 lt_cv_path_LD="$ac_dir/$ac_prog"
14010 # Check to see if the program is GNU ld. I'd rather use --version,
14011 # but apparently some variants of GNU ld only accept -v.
14012 # Break only if it was the GNU/non-GNU ld that we prefer.
14013 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14014 *GNU* | *'with BFD'*)
14015 test "$with_gnu_ld" != no && break
14018 test "$with_gnu_ld" != yes && break
14025 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14029 LD="$lt_cv_path_LD"
14030 if test -n "$LD"; then
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14032 $as_echo "$LD" >&6; }
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035 $as_echo "no" >&6; }
14037 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14039 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14040 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14041 $as_echo_n "(cached) " >&6
14043 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14044 case `$LD -v 2>&1 </dev/null` in
14045 *GNU* | *'with BFD'*)
14046 lt_cv_prog_gnu_ld=yes
14049 lt_cv_prog_gnu_ld=no
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14054 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14055 with_gnu_ld=$lt_cv_prog_gnu_ld
14063 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14064 # archiving commands below assume that GNU ld is being used.
14065 if test "$with_gnu_ld" = yes; then
14066 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14067 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'
14069 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14070 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14072 # If archive_cmds runs LD, not CC, wlarc should be empty
14073 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14074 # investigate it a little bit more. (MM)
14077 # ancient GNU ld didn't support --whole-archive et. al.
14078 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14079 $GREP 'no-whole-archive' > /dev/null; then
14080 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14082 whole_archive_flag_spec_CXX=
14088 # A generic and very simple default shared library creation
14089 # command for GNU C++ for the case where it uses the native
14090 # linker, instead of GNU ld. If possible, this setting should
14091 # overridden to take advantage of the native linker features on
14092 # the platform it is being used on.
14093 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14096 # Commands to make compiler produce verbose output that lists
14097 # what "hidden" libraries, object files and flags are used when
14098 # linking a shared library.
14099 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14107 # PORTME: fill in a description of your system's C++ link characteristics
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14109 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14113 # FIXME: insert proper C++ library support
14117 if test "$host_cpu" = ia64; then
14118 # On IA64, the linker does run time linking by default, so we don't
14119 # have to do anything special.
14120 aix_use_runtimelinking=no
14121 exp_sym_flag='-Bexport'
14124 aix_use_runtimelinking=no
14126 # Test if we are trying to use run time linking or normal
14127 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14128 # need to do runtime linking.
14129 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14130 for ld_flag in $LDFLAGS; do
14133 aix_use_runtimelinking=yes
14141 exp_sym_flag='-bexport'
14142 no_entry_flag='-bnoentry'
14145 # When large executables or shared objects are built, AIX ld can
14146 # have problems creating the table of contents. If linking a library
14147 # or program results in "error TOC overflow" add -mminimal-toc to
14148 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14149 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14151 archive_cmds_CXX=''
14152 hardcode_direct_CXX=yes
14153 hardcode_direct_absolute_CXX=yes
14154 hardcode_libdir_separator_CXX=':'
14155 link_all_deplibs_CXX=yes
14156 file_list_spec_CXX='${wl}-f,'
14158 if test "$GXX" = yes; then
14159 case $host_os in aix4.[012]|aix4.[012].*)
14160 # We only want to do this on AIX 4.2 and lower, the check
14161 # below for broken collect2 doesn't work under 4.3+
14162 collect2name=`${CC} -print-prog-name=collect2`
14163 if test -f "$collect2name" &&
14164 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14166 # We have reworked collect2
14169 # We have old collect2
14170 hardcode_direct_CXX=unsupported
14171 # It fails to find uninstalled libraries when the uninstalled
14172 # path is not listed in the libpath. Setting hardcode_minus_L
14173 # to unsupported forces relinking
14174 hardcode_minus_L_CXX=yes
14175 hardcode_libdir_flag_spec_CXX='-L$libdir'
14176 hardcode_libdir_separator_CXX=
14179 shared_flag='-shared'
14180 if test "$aix_use_runtimelinking" = yes; then
14181 shared_flag="$shared_flag "'${wl}-G'
14185 if test "$host_cpu" = ia64; then
14186 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14187 # chokes on -Wl,-G. The following line is correct:
14190 if test "$aix_use_runtimelinking" = yes; then
14191 shared_flag='${wl}-G'
14193 shared_flag='${wl}-bM:SRE'
14198 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14199 # It seems that -bexpall does not export symbols beginning with
14200 # underscore (_), so it is better to generate a list of symbols to
14202 always_export_symbols_CXX=yes
14203 if test "$aix_use_runtimelinking" = yes; then
14204 # Warning - without using the other runtime loading flags (-brtl),
14205 # -berok will link without error, but may produce a broken library.
14206 allow_undefined_flag_CXX='-berok'
14207 # Determine the default libpath from the value encoded in an empty
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14220 if ac_fn_cxx_try_link "$LINENO"; then :
14222 lt_aix_libpath_sed='
14223 /Import File Strings/,/^$/ {
14229 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14230 # Check for a 64-bit object if we didn't find anything.
14231 if test -z "$aix_libpath"; then
14232 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14235 rm -f core conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14237 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14239 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14241 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"
14243 if test "$host_cpu" = ia64; then
14244 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14245 allow_undefined_flag_CXX="-z nodefs"
14246 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"
14248 # Determine the default libpath from the value encoded in an
14249 # empty executable.
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14261 if ac_fn_cxx_try_link "$LINENO"; then :
14263 lt_aix_libpath_sed='
14264 /Import File Strings/,/^$/ {
14270 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14271 # Check for a 64-bit object if we didn't find anything.
14272 if test -z "$aix_libpath"; then
14273 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14276 rm -f core conftest.err conftest.$ac_objext \
14277 conftest$ac_exeext conftest.$ac_ext
14278 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14280 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14281 # Warning - without using the other run time loading flags,
14282 # -berok will link without error, but may produce a broken library.
14283 no_undefined_flag_CXX=' ${wl}-bernotok'
14284 allow_undefined_flag_CXX=' ${wl}-berok'
14285 # Exported symbols can be pulled into shared objects from archives
14286 whole_archive_flag_spec_CXX='$convenience'
14287 archive_cmds_need_lc_CXX=yes
14288 # This is similar to how AIX traditionally builds its shared
14290 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'
14296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14297 allow_undefined_flag_CXX=unsupported
14298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14299 # support --undefined. This deserves some investigation. FIXME
14300 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14307 case $cc_basename in
14309 # FIXME: insert proper C++ library support
14315 cygwin* | mingw* | pw32* | cegcc*)
14316 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14317 # as there is no search path for DLLs.
14318 hardcode_libdir_flag_spec_CXX='-L$libdir'
14319 allow_undefined_flag_CXX=unsupported
14320 always_export_symbols_CXX=no
14321 enable_shared_with_static_runtimes_CXX=yes
14323 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14324 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'
14325 # If the export-symbols file already is a .def file (1st line
14326 # is EXPORTS), use it as is; otherwise, prepend...
14327 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14328 cp $export_symbols $output_objdir/$soname.def;
14330 echo EXPORTS > $output_objdir/$soname.def;
14331 cat $export_symbols >> $output_objdir/$soname.def;
14333 $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'
14338 darwin* | rhapsody*)
14341 archive_cmds_need_lc_CXX=no
14342 hardcode_direct_CXX=no
14343 hardcode_automatic_CXX=yes
14344 hardcode_shlibpath_var_CXX=unsupported
14345 whole_archive_flag_spec_CXX=''
14346 link_all_deplibs_CXX=yes
14347 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14348 case $cc_basename in
14349 ifort*) _lt_dar_can_shared=yes ;;
14350 *) _lt_dar_can_shared=$GCC ;;
14352 if test "$_lt_dar_can_shared" = "yes"; then
14353 output_verbose_link_cmd=echo
14354 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}"
14355 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14356 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}"
14357 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}"
14358 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14359 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}"
14360 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}"
14370 case $cc_basename in
14372 # FIXME: insert proper C++ library support
14376 # Green Hills C++ Compiler
14377 # FIXME: insert proper C++ library support
14381 # FIXME: insert proper C++ library support
14388 # C++ shared libraries reported to be fairly broken before
14394 archive_cmds_need_lc_CXX=no
14397 freebsd* | dragonfly*)
14398 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14407 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14408 hardcode_libdir_separator_CXX=:
14409 export_dynamic_flag_spec_CXX='${wl}-E'
14410 hardcode_direct_CXX=yes
14411 hardcode_minus_L_CXX=yes # Not in the search PATH,
14412 # but as the default
14413 # location of the library.
14415 case $cc_basename in
14417 # FIXME: insert proper C++ library support
14421 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'
14422 # Commands to make compiler produce verbose output that lists
14423 # what "hidden" libraries, object files and flags are used when
14424 # linking a shared library.
14426 # There doesn't appear to be a way to prevent this compiler from
14427 # explicitly linking system object files so we need to strip them
14428 # from the output so that they don't get included in the library
14430 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'
14433 if test "$GXX" = yes; then
14434 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'
14436 # FIXME: insert proper C++ library support
14444 if test $with_gnu_ld = no; then
14445 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14446 hardcode_libdir_separator_CXX=:
14452 export_dynamic_flag_spec_CXX='${wl}-E'
14458 hardcode_direct_CXX=no
14459 hardcode_shlibpath_var_CXX=no
14462 hardcode_direct_CXX=yes
14463 hardcode_direct_absolute_CXX=yes
14464 hardcode_minus_L_CXX=yes # Not in the search PATH,
14465 # but as the default
14466 # location of the library.
14470 case $cc_basename in
14472 # FIXME: insert proper C++ library support
14478 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14481 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14484 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14487 # Commands to make compiler produce verbose output that lists
14488 # what "hidden" libraries, object files and flags are used when
14489 # linking a shared library.
14491 # There doesn't appear to be a way to prevent this compiler from
14492 # explicitly linking system object files so we need to strip them
14493 # from the output so that they don't get included in the library
14495 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'
14498 if test "$GXX" = yes; then
14499 if test $with_gnu_ld = no; then
14502 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14505 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14508 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'
14513 # FIXME: insert proper C++ library support
14521 hardcode_direct_CXX=no
14522 hardcode_shlibpath_var_CXX=no
14523 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14524 export_dynamic_flag_spec_CXX='${wl}-E'
14525 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14526 # Instead, shared libraries are loaded at an image base (0x10000000 by
14527 # default) and relocated if they conflict, which is a slow very memory
14528 # consuming and fragmenting process. To avoid this, we pick a random,
14529 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14530 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14531 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'
14532 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'
14535 case $cc_basename in
14538 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'
14540 # Archives containing C++ object files must be created using
14541 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14542 # necessary to make sure instantiated templates are included
14544 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14547 if test "$GXX" = yes; then
14548 if test "$with_gnu_ld" = no; then
14549 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'
14551 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'
14554 link_all_deplibs_CXX=yes
14557 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14558 hardcode_libdir_separator_CXX=:
14559 inherit_rpath_CXX=yes
14562 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14563 case $cc_basename in
14565 # Kuck and Associates, Inc. (KAI) C++ Compiler
14567 # KCC will only create a shared library if the output file
14568 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14569 # to its proper name (with version) after linking.
14570 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'
14571 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'
14572 # Commands to make compiler produce verbose output that lists
14573 # what "hidden" libraries, object files and flags are used when
14574 # linking a shared library.
14576 # There doesn't appear to be a way to prevent this compiler from
14577 # explicitly linking system object files so we need to strip them
14578 # from the output so that they don't get included in the library
14580 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'
14582 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14583 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14585 # Archives containing C++ object files must be created using
14586 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14587 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14592 # version 8.0 and above of icpc choke on multiply defined symbols
14593 # if we add $predep_objects and $postdep_objects, however 7.1 and
14594 # earlier do not add the objects themselves.
14595 case `$CC -V 2>&1` in
14597 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14598 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'
14600 *) # Version 8.0 or newer
14603 ia64*) tmp_idyn=' -i_dynamic';;
14605 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14606 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'
14609 archive_cmds_need_lc_CXX=no
14610 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14611 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14612 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14615 # Portland Group C++ compiler
14617 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14618 prelink_cmds_CXX='tpldir=Template.dir~
14620 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14621 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14622 old_archive_cmds_CXX='tpldir=Template.dir~
14624 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14625 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14627 archive_cmds_CXX='tpldir=Template.dir~
14629 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14630 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14631 archive_expsym_cmds_CXX='tpldir=Template.dir~
14633 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14634 $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'
14636 *) # Version 6 will use weak symbols
14637 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14638 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'
14642 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14643 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14644 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'
14648 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14649 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'
14651 runpath_var=LD_RUN_PATH
14652 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14653 hardcode_libdir_separator_CXX=:
14655 # Commands to make compiler produce verbose output that lists
14656 # what "hidden" libraries, object files and flags are used when
14657 # linking a shared library.
14659 # There doesn't appear to be a way to prevent this compiler from
14660 # explicitly linking system object files so we need to strip them
14661 # from the output so that they don't get included in the library
14663 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'
14666 # IBM XL 8.0 on PPC, with GNU ld
14667 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14668 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14669 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14670 if test "x$supports_anon_versioning" = xyes; then
14671 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14672 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14673 echo "local: *; };" >> $output_objdir/$libname.ver~
14674 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14678 case `$CC -V 2>&1 | sed 5q` in
14681 no_undefined_flag_CXX=' -zdefs'
14682 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14683 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'
14684 hardcode_libdir_flag_spec_CXX='-R$libdir'
14685 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'
14686 compiler_needs_object_CXX=yes
14688 # Not sure whether something based on
14689 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14691 output_verbose_link_cmd='echo'
14693 # Archives containing C++ object files must be created using
14694 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14695 # necessary to make sure instantiated templates are included
14697 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14705 # FIXME: insert proper C++ library support
14710 # FIXME: insert proper C++ library support
14715 case $cc_basename in
14717 # FIXME: insert proper C++ library support
14721 # FIXME: insert proper C++ library support
14728 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14729 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14731 hardcode_libdir_flag_spec_CXX='-R$libdir'
14732 hardcode_direct_CXX=yes
14733 hardcode_shlibpath_var_CXX=no
14735 # Workaround some broken pre-1.5 toolchains
14736 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14744 # C++ shared libraries are fairly broken
14749 if test -f /usr/libexec/ld.so; then
14750 hardcode_direct_CXX=yes
14751 hardcode_shlibpath_var_CXX=no
14752 hardcode_direct_absolute_CXX=yes
14753 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14755 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14756 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14757 export_dynamic_flag_spec_CXX='${wl}-E'
14758 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14760 output_verbose_link_cmd=echo
14766 osf3* | osf4* | osf5*)
14767 case $cc_basename in
14769 # Kuck and Associates, Inc. (KAI) C++ Compiler
14771 # KCC will only create a shared library if the output file
14772 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14773 # to its proper name (with version) after linking.
14774 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'
14776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14777 hardcode_libdir_separator_CXX=:
14779 # Archives containing C++ object files must be created using
14780 # the KAI C++ compiler.
14782 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14783 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14787 # Rational C++ 2.4.1
14788 # FIXME: insert proper C++ library support
14794 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14795 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'
14796 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14799 allow_undefined_flag_CXX=' -expect_unresolved \*'
14800 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'
14801 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14802 echo "-hidden">> $lib.exp~
14803 $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~
14805 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14809 hardcode_libdir_separator_CXX=:
14811 # Commands to make compiler produce verbose output that lists
14812 # what "hidden" libraries, object files and flags are used when
14813 # linking a shared library.
14815 # There doesn't appear to be a way to prevent this compiler from
14816 # explicitly linking system object files so we need to strip them
14817 # from the output so that they don't get included in the library
14819 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'
14822 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14823 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14826 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'
14829 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'
14833 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14834 hardcode_libdir_separator_CXX=:
14836 # Commands to make compiler produce verbose output that lists
14837 # what "hidden" libraries, object files and flags are used when
14838 # linking a shared library.
14839 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14842 # FIXME: insert proper C++ library support
14850 # FIXME: insert proper C++ library support
14855 case $cc_basename in
14858 # FIXME: insert proper C++ library support
14863 # FIXME: insert proper C++ library support
14867 # FIXME: insert proper C++ library support
14874 case $cc_basename in
14876 # Sun C++ 4.2, 5.x and Centerline C++
14877 archive_cmds_need_lc_CXX=yes
14878 no_undefined_flag_CXX=' -zdefs'
14879 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14880 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14881 $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'
14883 hardcode_libdir_flag_spec_CXX='-R$libdir'
14884 hardcode_shlibpath_var_CXX=no
14886 solaris2.[0-5] | solaris2.[0-5].*) ;;
14888 # The compiler driver will combine and reorder linker options,
14889 # but understands `-z linker_flag'.
14890 # Supported since Solaris 2.6 (maybe 2.5.1?)
14891 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14894 link_all_deplibs_CXX=yes
14896 output_verbose_link_cmd='echo'
14898 # Archives containing C++ object files must be created using
14899 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14900 # necessary to make sure instantiated templates are included
14902 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14905 # Green Hills C++ Compiler
14906 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14908 # The C++ compiler must be used to create the archive.
14909 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14912 # GNU C++ compiler with Solaris linker
14913 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14914 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14915 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14916 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14917 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14918 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14920 # Commands to make compiler produce verbose output that lists
14921 # what "hidden" libraries, object files and flags are used when
14922 # linking a shared library.
14923 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14925 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14927 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14928 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14929 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14931 # Commands to make compiler produce verbose output that lists
14932 # what "hidden" libraries, object files and flags are used when
14933 # linking a shared library.
14934 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14937 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14939 solaris2.[0-5] | solaris2.[0-5].*) ;;
14941 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14949 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14950 no_undefined_flag_CXX='${wl}-z,text'
14951 archive_cmds_need_lc_CXX=no
14952 hardcode_shlibpath_var_CXX=no
14953 runpath_var='LD_RUN_PATH'
14955 case $cc_basename in
14957 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14958 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14961 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14962 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14967 sysv5* | sco3.2v5* | sco5v6*)
14968 # Note: We can NOT use -z defs as we might desire, because we do not
14969 # link with -lc, and that would cause any symbols used from libc to
14970 # always be unresolved, which means just about no library would
14971 # ever link correctly. If we're not using GNU ld we use -z text
14972 # though, which does catch some bad symbols but isn't as heavy-handed
14974 no_undefined_flag_CXX='${wl}-z,text'
14975 allow_undefined_flag_CXX='${wl}-z,nodefs'
14976 archive_cmds_need_lc_CXX=no
14977 hardcode_shlibpath_var_CXX=no
14978 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14979 hardcode_libdir_separator_CXX=':'
14980 link_all_deplibs_CXX=yes
14981 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14982 runpath_var='LD_RUN_PATH'
14984 case $cc_basename in
14986 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14987 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14990 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14991 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14997 case $cc_basename in
14999 # NonStop-UX NCC 3.20
15000 # FIXME: insert proper C++ library support
15004 # FIXME: insert proper C++ library support
15011 # FIXME: insert proper C++ library support
15016 # FIXME: insert proper C++ library support
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15022 $as_echo "$ld_shlibs_CXX" >&6; }
15023 test "$ld_shlibs_CXX" = no && can_build_shared=no
15029 ## There is no encapsulation within the following macros, do not change
15030 ## the running order or otherwise move them around unless you know exactly
15031 ## what you are doing...
15032 # Dependencies to place before and after the object being linked:
15033 predep_objects_CXX=
15034 postdep_objects_CXX=
15037 compiler_lib_search_path_CXX=
15039 cat > conftest.$ac_ext <<_LT_EOF
15043 Foo (void) { a = 0; }
15049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15050 (eval $ac_compile) 2>&5
15052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15053 test $ac_status = 0; }; then
15054 # Parse the compiler output and extract the necessary
15055 # objects, libraries and library flags.
15057 # Sentinel used to keep track of whether or not we are before
15058 # the conftest object file.
15059 pre_test_object_deps_done=no
15061 for p in `eval "$output_verbose_link_cmd"`; do
15065 # Some compilers place space between "-{L,R}" and the path.
15066 # Remove the space.
15067 if test $p = "-L" ||
15068 test $p = "-R"; then
15075 if test "$pre_test_object_deps_done" = no; then
15078 # Internal compiler library paths should come after those
15079 # provided the user. The postdeps already come after the
15080 # user supplied libs so there is no need to process them.
15081 if test -z "$compiler_lib_search_path_CXX"; then
15082 compiler_lib_search_path_CXX="${prev}${p}"
15084 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15087 # The "-l" case would never come before the object being
15088 # linked, so don't bother handling this case.
15091 if test -z "$postdeps_CXX"; then
15092 postdeps_CXX="${prev}${p}"
15094 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15100 # This assumes that the test object file only shows up
15101 # once in the compiler output.
15102 if test "$p" = "conftest.$objext"; then
15103 pre_test_object_deps_done=yes
15107 if test "$pre_test_object_deps_done" = no; then
15108 if test -z "$predep_objects_CXX"; then
15109 predep_objects_CXX="$p"
15111 predep_objects_CXX="$predep_objects_CXX $p"
15114 if test -z "$postdep_objects_CXX"; then
15115 postdep_objects_CXX="$p"
15117 postdep_objects_CXX="$postdep_objects_CXX $p"
15122 *) ;; # Ignore the rest.
15130 echo "libtool.m4: error: problem compiling CXX test program"
15133 $RM -f confest.$objext
15135 # PORTME: override above test on systems where it is broken
15138 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15139 # hack all around it, let's just trust "g++" to DTRT.
15140 predep_objects_CXX=
15141 postdep_objects_CXX=
15146 case `$CC -V 2>&1 | sed 5q` in
15150 # The more standards-conforming stlport4 library is
15151 # incompatible with the Cstd library. Avoid specifying
15152 # it if it's in CXXFLAGS. Ignore libCrun as
15153 # -library=stlport4 depends on it.
15154 case " $CXX $CXXFLAGS " in
15155 *" -library=stlport4 "*)
15156 solaris_use_stlport4=yes
15160 if test "$solaris_use_stlport4" != yes; then
15161 postdeps_CXX='-library=Cstd -library=Crun'
15168 case $cc_basename in
15170 # The more standards-conforming stlport4 library is
15171 # incompatible with the Cstd library. Avoid specifying
15172 # it if it's in CXXFLAGS. Ignore libCrun as
15173 # -library=stlport4 depends on it.
15174 case " $CXX $CXXFLAGS " in
15175 *" -library=stlport4 "*)
15176 solaris_use_stlport4=yes
15180 # Adding this requires a known-good setup of shared libraries for
15181 # Sun compiler versions before 5.6, else PIC objects from an old
15182 # archive will be linked into the output, leading to subtle bugs.
15183 if test "$solaris_use_stlport4" != yes; then
15184 postdeps_CXX='-library=Cstd -library=Crun'
15192 case " $postdeps_CXX " in
15193 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15195 compiler_lib_search_dirs_CXX=
15196 if test -n "${compiler_lib_search_path_CXX}"; then
15197 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15230 lt_prog_compiler_wl_CXX=
15231 lt_prog_compiler_pic_CXX=
15232 lt_prog_compiler_static_CXX=
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15235 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15237 # C++ specific cases for pic, static, wl, etc.
15238 if test "$GXX" = yes; then
15239 lt_prog_compiler_wl_CXX='-Wl,'
15240 lt_prog_compiler_static_CXX='-static'
15244 # All AIX code is PIC.
15245 if test "$host_cpu" = ia64; then
15246 # AIX 5 now supports IA64 processor
15247 lt_prog_compiler_static_CXX='-Bstatic'
15254 # see comment about AmigaOS4 .so support
15255 lt_prog_compiler_pic_CXX='-fPIC'
15258 # FIXME: we need at least 68020 code to build shared libraries, but
15259 # adding the `-m68020' flag to GCC prevents building anything better,
15261 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15266 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15267 # PIC is the default for these OSes.
15269 mingw* | cygwin* | os2* | pw32* | cegcc*)
15270 # This hack is so that the source file can tell whether it is being
15271 # built for inclusion in a dll (and should export symbols for example).
15272 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15273 # (--disable-auto-import) libraries
15274 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15276 darwin* | rhapsody*)
15277 # PIC is the default on this platform
15278 # Common symbols not allowed in MH_DYLIB files
15279 lt_prog_compiler_pic_CXX='-fno-common'
15282 # DJGPP does not support shared libraries at all
15283 lt_prog_compiler_pic_CXX=
15286 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15287 # Instead, we relocate shared libraries at runtime.
15290 if test -d /usr/nec; then
15291 lt_prog_compiler_pic_CXX=-Kconform_pic
15295 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15296 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15297 # sets the default TLS model and affects inlining.
15302 lt_prog_compiler_pic_CXX='-fPIC'
15307 # QNX uses GNU C++, but need to define -shared option too, otherwise
15308 # it will coredump.
15309 lt_prog_compiler_pic_CXX='-fPIC -shared'
15312 lt_prog_compiler_pic_CXX='-fPIC'
15318 # All AIX code is PIC.
15319 if test "$host_cpu" = ia64; then
15320 # AIX 5 now supports IA64 processor
15321 lt_prog_compiler_static_CXX='-Bstatic'
15323 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15327 case $cc_basename in
15329 # Green Hills C++ Compiler
15330 # _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"
15335 case $cc_basename in
15337 lt_prog_compiler_pic_CXX='-KPIC'
15340 # Green Hills C++ Compiler
15341 lt_prog_compiler_pic_CXX='-pic'
15347 freebsd* | dragonfly*)
15348 # FreeBSD uses GNU C++
15350 hpux9* | hpux10* | hpux11*)
15351 case $cc_basename in
15353 lt_prog_compiler_wl_CXX='-Wl,'
15354 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15355 if test "$host_cpu" != ia64; then
15356 lt_prog_compiler_pic_CXX='+Z'
15360 lt_prog_compiler_wl_CXX='-Wl,'
15361 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15367 lt_prog_compiler_pic_CXX='+Z'
15376 # This is c89, which is MS Visual C++ (no shared libs)
15377 # Anyone wants to do a port?
15379 irix5* | irix6* | nonstopux*)
15380 case $cc_basename in
15382 lt_prog_compiler_wl_CXX='-Wl,'
15383 lt_prog_compiler_static_CXX='-non_shared'
15384 # CC pic flag -KPIC is the default.
15390 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15391 case $cc_basename in
15394 lt_prog_compiler_wl_CXX='--backend -Wl,'
15395 lt_prog_compiler_pic_CXX='-fPIC'
15398 # old Intel C++ for x86_64 which still supported -KPIC.
15399 lt_prog_compiler_wl_CXX='-Wl,'
15400 lt_prog_compiler_pic_CXX='-KPIC'
15401 lt_prog_compiler_static_CXX='-static'
15404 # Intel C++, used to be incompatible with GCC.
15405 # ICC 10 doesn't accept -KPIC any more.
15406 lt_prog_compiler_wl_CXX='-Wl,'
15407 lt_prog_compiler_pic_CXX='-fPIC'
15408 lt_prog_compiler_static_CXX='-static'
15411 # Portland Group C++ compiler
15412 lt_prog_compiler_wl_CXX='-Wl,'
15413 lt_prog_compiler_pic_CXX='-fpic'
15414 lt_prog_compiler_static_CXX='-Bstatic'
15418 # Make sure the PIC flag is empty. It appears that all Alpha
15419 # Linux and Compaq Tru64 Unix objects are PIC.
15420 lt_prog_compiler_pic_CXX=
15421 lt_prog_compiler_static_CXX='-non_shared'
15424 # IBM XL 8.0 on PPC
15425 lt_prog_compiler_wl_CXX='-Wl,'
15426 lt_prog_compiler_pic_CXX='-qpic'
15427 lt_prog_compiler_static_CXX='-qstaticlink'
15430 case `$CC -V 2>&1 | sed 5q` in
15433 lt_prog_compiler_pic_CXX='-KPIC'
15434 lt_prog_compiler_static_CXX='-Bstatic'
15435 lt_prog_compiler_wl_CXX='-Qoption ld '
15446 case $cc_basename in
15448 lt_prog_compiler_pic_CXX='-W c,exportall'
15454 netbsd* | netbsdelf*-gnu)
15457 # QNX uses GNU C++, but need to define -shared option too, otherwise
15458 # it will coredump.
15459 lt_prog_compiler_pic_CXX='-fPIC -shared'
15461 osf3* | osf4* | osf5*)
15462 case $cc_basename in
15464 lt_prog_compiler_wl_CXX='--backend -Wl,'
15467 # Rational C++ 2.4.1
15468 lt_prog_compiler_pic_CXX='-pic'
15471 # Digital/Compaq C++
15472 lt_prog_compiler_wl_CXX='-Wl,'
15473 # Make sure the PIC flag is empty. It appears that all Alpha
15474 # Linux and Compaq Tru64 Unix objects are PIC.
15475 lt_prog_compiler_pic_CXX=
15476 lt_prog_compiler_static_CXX='-non_shared'
15485 case $cc_basename in
15487 # Sun C++ 4.2, 5.x and Centerline C++
15488 lt_prog_compiler_pic_CXX='-KPIC'
15489 lt_prog_compiler_static_CXX='-Bstatic'
15490 lt_prog_compiler_wl_CXX='-Qoption ld '
15493 # Green Hills C++ Compiler
15494 lt_prog_compiler_pic_CXX='-PIC'
15501 case $cc_basename in
15504 lt_prog_compiler_pic_CXX='-pic'
15505 lt_prog_compiler_static_CXX='-Bstatic'
15509 lt_prog_compiler_pic_CXX='-pic'
15515 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15516 case $cc_basename in
15518 lt_prog_compiler_wl_CXX='-Wl,'
15519 lt_prog_compiler_pic_CXX='-KPIC'
15520 lt_prog_compiler_static_CXX='-Bstatic'
15525 case $cc_basename in
15527 # NonStop-UX NCC 3.20
15528 lt_prog_compiler_pic_CXX='-KPIC'
15537 lt_prog_compiler_can_build_shared_CXX=no
15543 # For platforms which do not support PIC, -DPIC is meaningless:
15545 lt_prog_compiler_pic_CXX=
15548 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15552 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15557 # Check to make sure the PIC flag actually works.
15559 if test -n "$lt_prog_compiler_pic_CXX"; then
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15561 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15562 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15563 $as_echo_n "(cached) " >&6
15565 lt_cv_prog_compiler_pic_works_CXX=no
15566 ac_outfile=conftest.$ac_objext
15567 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15568 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15569 # Insert the option either (1) after the last *FLAGS variable, or
15570 # (2) before a word containing "conftest.", or (3) at the end.
15571 # Note that $ac_compile itself does not contain backslashes and begins
15572 # with a dollar sign (not a hyphen), so the echo should work correctly.
15573 # The option is referenced via a variable to avoid confusing sed.
15574 lt_compile=`echo "$ac_compile" | $SED \
15575 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15577 -e 's:$: $lt_compiler_flag:'`
15578 (eval echo "\"\$as_me:15578: $lt_compile\"" >&5)
15579 (eval "$lt_compile" 2>conftest.err)
15581 cat conftest.err >&5
15582 echo "$as_me:15582: \$? = $ac_status" >&5
15583 if (exit $ac_status) && test -s "$ac_outfile"; then
15584 # The compiler can only warn and ignore the option if not recognized
15585 # So say no if there are warnings other than the usual output.
15586 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15587 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15588 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15589 lt_cv_prog_compiler_pic_works_CXX=yes
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15596 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15598 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15599 case $lt_prog_compiler_pic_CXX in
15601 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15604 lt_prog_compiler_pic_CXX=
15605 lt_prog_compiler_can_build_shared_CXX=no
15613 # Check to make sure the static flag actually works.
15615 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15617 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15618 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15619 $as_echo_n "(cached) " >&6
15621 lt_cv_prog_compiler_static_works_CXX=no
15622 save_LDFLAGS="$LDFLAGS"
15623 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15624 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15625 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15626 # The linker can only warn and ignore the option if not recognized
15627 # So say no if there are warnings
15628 if test -s conftest.err; then
15629 # Append any errors to the config.log.
15630 cat conftest.err 1>&5
15631 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15632 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15633 if diff conftest.exp conftest.er2 >/dev/null; then
15634 lt_cv_prog_compiler_static_works_CXX=yes
15637 lt_cv_prog_compiler_static_works_CXX=yes
15641 LDFLAGS="$save_LDFLAGS"
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15645 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15647 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15650 lt_prog_compiler_static_CXX=
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15658 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15659 $as_echo_n "(cached) " >&6
15661 lt_cv_prog_compiler_c_o_CXX=no
15662 $RM -r conftest 2>/dev/null
15666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15668 lt_compiler_flag="-o out/conftest2.$ac_objext"
15669 # Insert the option either (1) after the last *FLAGS variable, or
15670 # (2) before a word containing "conftest.", or (3) at the end.
15671 # Note that $ac_compile itself does not contain backslashes and begins
15672 # with a dollar sign (not a hyphen), so the echo should work correctly.
15673 lt_compile=`echo "$ac_compile" | $SED \
15674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15676 -e 's:$: $lt_compiler_flag:'`
15677 (eval echo "\"\$as_me:15677: $lt_compile\"" >&5)
15678 (eval "$lt_compile" 2>out/conftest.err)
15680 cat out/conftest.err >&5
15681 echo "$as_me:15681: \$? = $ac_status" >&5
15682 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15684 # The compiler can only warn and ignore the option if not recognized
15685 # So say no if there are warnings
15686 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15687 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15688 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15689 lt_cv_prog_compiler_c_o_CXX=yes
15694 # SGI C++ compiler will create directory out/ii_files/ for
15695 # template instantiation
15696 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15697 $RM out/* && rmdir out
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15704 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15709 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15710 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15711 $as_echo_n "(cached) " >&6
15713 lt_cv_prog_compiler_c_o_CXX=no
15714 $RM -r conftest 2>/dev/null
15718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15720 lt_compiler_flag="-o out/conftest2.$ac_objext"
15721 # Insert the option either (1) after the last *FLAGS variable, or
15722 # (2) before a word containing "conftest.", or (3) at the end.
15723 # Note that $ac_compile itself does not contain backslashes and begins
15724 # with a dollar sign (not a hyphen), so the echo should work correctly.
15725 lt_compile=`echo "$ac_compile" | $SED \
15726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15728 -e 's:$: $lt_compiler_flag:'`
15729 (eval echo "\"\$as_me:15729: $lt_compile\"" >&5)
15730 (eval "$lt_compile" 2>out/conftest.err)
15732 cat out/conftest.err >&5
15733 echo "$as_me:15733: \$? = $ac_status" >&5
15734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15736 # The compiler can only warn and ignore the option if not recognized
15737 # So say no if there are warnings
15738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15741 lt_cv_prog_compiler_c_o_CXX=yes
15746 # SGI C++ compiler will create directory out/ii_files/ for
15747 # template instantiation
15748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15749 $RM out/* && rmdir out
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15756 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15761 hard_links="nottested"
15762 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15763 # do not overwrite the value of need_locks provided by the user
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15765 $as_echo_n "checking if we can lock with hard links... " >&6; }
15768 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15770 ln conftest.a conftest.b 2>&5 || hard_links=no
15771 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15773 $as_echo "$hard_links" >&6; }
15774 if test "$hard_links" = no; then
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15776 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15786 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15788 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15791 # If we're using GNU nm, then we don't want the "-C" option.
15792 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15793 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15794 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'
15796 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'
15800 export_symbols_cmds_CXX="$ltdll_cmds"
15802 cygwin* | mingw* | cegcc*)
15803 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'
15805 linux* | k*bsd*-gnu)
15806 link_all_deplibs_CXX=no
15809 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15812 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15815 $as_echo "$ld_shlibs_CXX" >&6; }
15816 test "$ld_shlibs_CXX" = no && can_build_shared=no
15818 with_gnu_ld_CXX=$with_gnu_ld
15826 # Do we need to explicitly link libc?
15828 case "x$archive_cmds_need_lc_CXX" in
15830 # Assume -lc should be added
15831 archive_cmds_need_lc_CXX=yes
15833 if test "$enable_shared" = yes && test "$GCC" = yes; then
15834 case $archive_cmds_CXX in
15836 # FIXME: we may have to deal with multi-command sequences.
15839 # Test whether the compiler implicitly links with -lc since on some
15840 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15841 # to ld, don't add -lc before -lgcc.
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15843 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15845 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15847 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15848 (eval $ac_compile) 2>&5
15850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15851 test $ac_status = 0; } 2>conftest.err; then
15854 libobjs=conftest.$ac_objext
15856 wl=$lt_prog_compiler_wl_CXX
15857 pic_flag=$lt_prog_compiler_pic_CXX
15863 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15864 allow_undefined_flag_CXX=
15865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15866 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15869 test $ac_status = 0; }
15871 archive_cmds_need_lc_CXX=no
15873 archive_cmds_need_lc_CXX=yes
15875 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15877 cat conftest.err 1>&5
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
15881 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15952 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15954 library_names_spec=
15955 libname_spec='lib$name'
15959 postuninstall_cmds=
15963 shlibpath_overrides_runpath=unknown
15965 dynamic_linker="$host_os ld.so"
15966 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15967 need_lib_prefix=unknown
15968 hardcode_into_libs=no
15970 # when you set need_version to no, make sure it does not cause -set_version
15971 # flags to be left without arguments
15972 need_version=unknown
15977 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15978 shlibpath_var=LIBPATH
15980 # AIX 3 has no versioning support, so we append a major version to the name.
15981 soname_spec='${libname}${release}${shared_ext}$major'
15988 hardcode_into_libs=yes
15989 if test "$host_cpu" = ia64; then
15990 # AIX 5 supports IA64
15991 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15992 shlibpath_var=LD_LIBRARY_PATH
15994 # With GCC up to 2.95.x, collect2 would create an import file
15995 # for dependence libraries. The import file would start with
15996 # the line `#! .'. This would cause the generated library to
15997 # depend on `.', always an invalid library. This was fixed in
15998 # development snapshots of GCC prior to 3.0.
16000 aix4 | aix4.[01] | aix4.[01].*)
16001 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16003 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16006 can_build_shared=no
16010 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16011 # soname into executable. Probably we can add versioning support to
16012 # collect2, so additional links can be useful in future.
16013 if test "$aix_use_runtimelinking" = yes; then
16014 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16015 # instead of lib<name>.a to let people know that these are not
16016 # typical AIX shared libraries.
16017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16019 # We preserve .a as extension for shared libraries through AIX4.2
16020 # and later when we are not doing run time linking.
16021 library_names_spec='${libname}${release}.a $libname.a'
16022 soname_spec='${libname}${release}${shared_ext}$major'
16024 shlibpath_var=LIBPATH
16031 # Since July 2007 AmigaOS4 officially supports .so libraries.
16032 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16036 library_names_spec='$libname.ixlibrary $libname.a'
16037 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16038 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'
16044 library_names_spec='${libname}${shared_ext}'
16045 dynamic_linker="$host_os ld.so"
16046 shlibpath_var=LIBRARY_PATH
16052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16053 soname_spec='${libname}${release}${shared_ext}$major'
16054 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16055 shlibpath_var=LD_LIBRARY_PATH
16056 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16057 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16058 # the default ld.so.conf also contains /usr/contrib/lib and
16059 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16060 # libtool to hard-code these into programs
16063 cygwin* | mingw* | pw32* | cegcc*)
16064 version_type=windows
16069 case $GCC,$host_os in
16070 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16071 library_names_spec='$libname.dll.a'
16072 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16073 postinstall_cmds='base_file=`basename \${file}`~
16074 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16075 dldir=$destdir/`dirname \$dlpath`~
16076 test -d \$dldir || mkdir -p \$dldir~
16077 $install_prog $dir/$dlname \$dldir/$dlname~
16078 chmod a+x \$dldir/$dlname~
16079 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16080 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16082 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16083 dlpath=$dir/\$dldll~
16085 shlibpath_overrides_runpath=yes
16089 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16090 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16091 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16094 # MinGW DLLs use traditional 'lib' prefix
16095 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16096 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16097 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16098 # It is most probably a Windows format PATH printed by
16099 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16100 # path with ; separators, and with drive letters. We can handle the
16101 # drive letters (cygwin fileutils understands them), so leave them,
16102 # especially as we might pass files found there to a mingw objdump,
16103 # which wouldn't understand a cygwinified path. Ahh.
16104 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16106 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16110 # pw32 DLLs use 'pw' prefix rather than 'lib'
16111 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16117 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16120 dynamic_linker='Win32 ld.exe'
16121 # FIXME: first we should search . and the directory the executable is in
16125 darwin* | rhapsody*)
16126 dynamic_linker="$host_os dyld"
16127 version_type=darwin
16130 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16131 soname_spec='${libname}${release}${major}$shared_ext'
16132 shlibpath_overrides_runpath=yes
16133 shlibpath_var=DYLD_LIBRARY_PATH
16134 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16136 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16144 soname_spec='${libname}${release}${shared_ext}$major'
16145 shlibpath_var=LD_LIBRARY_PATH
16152 freebsd* | dragonfly*)
16153 # DragonFly does not have aout. When/if they implement a new
16154 # versioning mechanism, adjust this.
16155 if test -x /usr/bin/objformat; then
16156 objformat=`/usr/bin/objformat`
16159 freebsd[123]*) objformat=aout ;;
16160 *) objformat=elf ;;
16163 version_type=freebsd-$objformat
16164 case $version_type in
16166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16171 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16175 shlibpath_var=LD_LIBRARY_PATH
16178 shlibpath_overrides_runpath=yes
16180 freebsd3.[01]* | freebsdelf3.[01]*)
16181 shlibpath_overrides_runpath=yes
16182 hardcode_into_libs=yes
16184 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16185 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16186 shlibpath_overrides_runpath=no
16187 hardcode_into_libs=yes
16189 *) # from 4.6 on, and DragonFly
16190 shlibpath_overrides_runpath=yes
16191 hardcode_into_libs=yes
16200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16201 soname_spec='${libname}${release}${shared_ext}$major'
16202 shlibpath_var=LD_LIBRARY_PATH
16203 hardcode_into_libs=yes
16206 hpux9* | hpux10* | hpux11*)
16207 # Give a soname corresponding to the major version so that dld.sl refuses to
16208 # link against other versions.
16215 hardcode_into_libs=yes
16216 dynamic_linker="$host_os dld.so"
16217 shlibpath_var=LD_LIBRARY_PATH
16218 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16220 soname_spec='${libname}${release}${shared_ext}$major'
16221 if test "X$HPUX_IA64_MODE" = X32; then
16222 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16224 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16226 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16230 hardcode_into_libs=yes
16231 dynamic_linker="$host_os dld.sl"
16232 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16233 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16235 soname_spec='${libname}${release}${shared_ext}$major'
16236 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16237 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16241 dynamic_linker="$host_os dld.sl"
16242 shlibpath_var=SHLIB_PATH
16243 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16245 soname_spec='${libname}${release}${shared_ext}$major'
16248 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16249 postinstall_cmds='chmod 555 $lib'
16256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16257 soname_spec='${libname}${release}${shared_ext}$major'
16258 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16259 shlibpath_var=LD_LIBRARY_PATH
16260 shlibpath_overrides_runpath=no
16261 hardcode_into_libs=yes
16264 irix5* | irix6* | nonstopux*)
16266 nonstopux*) version_type=nonstopux ;;
16268 if test "$lt_cv_prog_gnu_ld" = yes; then
16276 soname_spec='${libname}${release}${shared_ext}$major'
16277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16279 irix5* | nonstopux*)
16280 libsuff= shlibsuff=
16283 case $LD in # libtool.m4 will add one of these switches to LD
16284 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16285 libsuff= shlibsuff= libmagic=32-bit;;
16286 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16287 libsuff=32 shlibsuff=N32 libmagic=N32;;
16288 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16289 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16290 *) libsuff= shlibsuff= libmagic=never-match;;
16294 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16295 shlibpath_overrides_runpath=no
16296 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16297 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16298 hardcode_into_libs=yes
16301 # No shared lib support for Linux oldld, aout, or coff.
16302 linux*oldld* | linux*aout* | linux*coff*)
16306 # This must be Linux ELF.
16307 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16312 soname_spec='${libname}${release}${shared_ext}$major'
16313 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16314 shlibpath_var=LD_LIBRARY_PATH
16315 shlibpath_overrides_runpath=no
16316 # Some binutils ld are patched to set DT_RUNPATH
16317 save_LDFLAGS=$LDFLAGS
16318 save_libdir=$libdir
16319 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16320 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h. */
16332 if ac_fn_cxx_try_link "$LINENO"; then :
16333 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16334 shlibpath_overrides_runpath=yes
16337 rm -f core conftest.err conftest.$ac_objext \
16338 conftest$ac_exeext conftest.$ac_ext
16339 LDFLAGS=$save_LDFLAGS
16340 libdir=$save_libdir
16342 # This implies no fast_install, which is unacceptable.
16343 # Some rework will be needed to allow for fast_install
16344 # before this can be enabled.
16345 hardcode_into_libs=yes
16347 # Append ld.so.conf contents to the search path
16348 if test -f /etc/ld.so.conf; then
16349 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' ' '`
16350 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16353 # We used to test for /lib/ld.so.1 and disable shared libraries on
16354 # powerpc, because MkLinux only supported shared libraries with the
16355 # GNU dynamic linker. Since this was broken with cross compilers,
16356 # most powerpc-linux boxes support dynamic linking these days and
16357 # people can always --disable-shared, the test was removed, and we
16358 # assume the GNU/Linux dynamic linker is in use.
16359 dynamic_linker='GNU/Linux ld.so'
16366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16367 soname_spec='${libname}${release}${shared_ext}$major'
16368 shlibpath_var=LD_LIBRARY_PATH
16369 shlibpath_overrides_runpath=no
16370 hardcode_into_libs=yes
16371 dynamic_linker='NetBSD ld.elf_so'
16378 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16380 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16381 dynamic_linker='NetBSD (a.out) ld.so'
16383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16384 soname_spec='${libname}${release}${shared_ext}$major'
16385 dynamic_linker='NetBSD ld.elf_so'
16387 shlibpath_var=LD_LIBRARY_PATH
16388 shlibpath_overrides_runpath=yes
16389 hardcode_into_libs=yes
16394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16395 shlibpath_var=LD_LIBRARY_PATH
16396 shlibpath_overrides_runpath=yes
16403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16404 soname_spec='${libname}${release}${shared_ext}$major'
16405 shlibpath_var=LD_LIBRARY_PATH
16406 shlibpath_overrides_runpath=no
16407 hardcode_into_libs=yes
16408 dynamic_linker='ldqnx.so'
16413 sys_lib_dlsearch_path_spec="/usr/lib"
16415 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16417 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16418 *) need_version=no ;;
16420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16421 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16422 shlibpath_var=LD_LIBRARY_PATH
16423 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16425 openbsd2.[89] | openbsd2.[89].*)
16426 shlibpath_overrides_runpath=no
16429 shlibpath_overrides_runpath=yes
16433 shlibpath_overrides_runpath=yes
16438 libname_spec='$name'
16441 library_names_spec='$libname${shared_ext} $libname.a'
16442 dynamic_linker='OS/2 ld.exe'
16443 shlibpath_var=LIBPATH
16446 osf3* | osf4* | osf5*)
16450 soname_spec='${libname}${release}${shared_ext}$major'
16451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16452 shlibpath_var=LD_LIBRARY_PATH
16453 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16454 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16466 soname_spec='${libname}${release}${shared_ext}$major'
16467 shlibpath_var=LD_LIBRARY_PATH
16468 shlibpath_overrides_runpath=yes
16469 hardcode_into_libs=yes
16470 # ldd complains unless libraries are executable
16471 postinstall_cmds='chmod +x $lib'
16476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16477 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16478 shlibpath_var=LD_LIBRARY_PATH
16479 shlibpath_overrides_runpath=yes
16480 if test "$with_gnu_ld" = yes; then
16488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16489 soname_spec='${libname}${release}${shared_ext}$major'
16490 shlibpath_var=LD_LIBRARY_PATH
16491 case $host_vendor in
16493 shlibpath_overrides_runpath=no
16495 runpath_var=LD_RUN_PATH
16503 shlibpath_overrides_runpath=no
16504 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16510 if test -d /usr/nec ;then
16512 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16513 soname_spec='$libname${shared_ext}.$major'
16514 shlibpath_var=LD_LIBRARY_PATH
16518 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16519 version_type=freebsd-elf
16522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16523 soname_spec='${libname}${release}${shared_ext}$major'
16524 shlibpath_var=LD_LIBRARY_PATH
16525 shlibpath_overrides_runpath=yes
16526 hardcode_into_libs=yes
16527 if test "$with_gnu_ld" = yes; then
16528 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16530 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16533 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16537 sys_lib_dlsearch_path_spec='/usr/lib'
16541 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16546 shlibpath_var=LD_LIBRARY_PATH
16547 shlibpath_overrides_runpath=no
16548 hardcode_into_libs=yes
16553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16554 soname_spec='${libname}${release}${shared_ext}$major'
16555 shlibpath_var=LD_LIBRARY_PATH
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16563 $as_echo "$dynamic_linker" >&6; }
16564 test "$dynamic_linker" = no && can_build_shared=no
16566 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16567 if test "$GCC" = yes; then
16568 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16571 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16572 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16574 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16575 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16614 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16615 hardcode_action_CXX=
16616 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16617 test -n "$runpath_var_CXX" ||
16618 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16620 # We can hardcode non-existent directories.
16621 if test "$hardcode_direct_CXX" != no &&
16622 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16623 # have to relink, otherwise we might link with an installed library
16624 # when we should be linking with a yet-to-be-installed one
16625 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16626 test "$hardcode_minus_L_CXX" != no; then
16627 # Linking always hardcodes the temporary library directory.
16628 hardcode_action_CXX=relink
16630 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16631 hardcode_action_CXX=immediate
16634 # We cannot hardcode anything, or else we can only hardcode existing
16636 hardcode_action_CXX=unsupported
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16639 $as_echo "$hardcode_action_CXX" >&6; }
16641 if test "$hardcode_action_CXX" = relink ||
16642 test "$inherit_rpath_CXX" = yes; then
16643 # Fast installation is not supported
16644 enable_fast_install=no
16645 elif test "$shlibpath_overrides_runpath" = yes ||
16646 test "$enable_shared" = no; then
16647 # Fast installation is not necessary
16648 enable_fast_install=needless
16657 fi # test -n "$compiler"
16663 with_gnu_ld=$lt_save_with_gnu_ld
16664 lt_cv_path_LDCXX=$lt_cv_path_LD
16665 lt_cv_path_LD=$lt_save_path_LD
16666 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16667 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16668 fi # test "$_lt_caught_CXX_error" != yes
16671 ac_cpp='$CPP $CPPFLAGS'
16672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16688 ac_config_commands="$ac_config_commands libtool"
16693 # Only expand once:
16698 ac_cpp='$CPP $CPPFLAGS'
16699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16704 # Checks for typedefs, structures, and compiler characteristics.
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16706 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16707 if test "${ac_cv_c_const+set}" = set; then :
16708 $as_echo_n "(cached) " >&6
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h. */
16716 /* FIXME: Include the comments suggested by Paul. */
16717 #ifndef __cplusplus
16718 /* Ultrix mips cc rejects this. */
16719 typedef int charset[2];
16721 /* SunOS 4.1.1 cc rejects this. */
16722 char const *const *pcpcc;
16724 /* NEC SVR4.0.2 mips cc rejects this. */
16725 struct point {int x, y;};
16726 static struct point const zero = {0,0};
16727 /* AIX XL C 1.02.0.0 rejects this.
16728 It does not let you subtract one const X* pointer from another in
16729 an arm of an if-expression whose if-part is not a constant
16731 const char *g = "string";
16732 pcpcc = &g + (g ? g-g : 0);
16733 /* HPUX 7.0 cc rejects these. */
16735 ppc = (char**) pcpcc;
16736 pcpcc = (char const *const *) ppc;
16737 { /* SCO 3.2v4 cc rejects this. */
16739 char const *s = 0 ? (char *) 0 : (char const *) 0;
16744 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16745 int x[] = {25, 17};
16746 const int *foo = &x[0];
16749 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16750 typedef const int *iptr;
16754 { /* AIX XL C 1.02.0.0 rejects this saying
16755 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16756 struct s { int j; const int *ap[3]; };
16757 struct s *b; b->j = 5;
16759 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16760 const int foo = 10;
16761 if (!foo) return 0;
16763 return !cs[0] && !zero.x;
16770 if ac_fn_c_try_compile "$LINENO"; then :
16775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16778 $as_echo "$ac_cv_c_const" >&6; }
16779 if test $ac_cv_c_const = no; then
16781 $as_echo "#define const /**/" >>confdefs.h
16785 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16786 if test "x$ac_cv_type_size_t" = x""yes; then :
16790 cat >>confdefs.h <<_ACEOF
16791 #define size_t unsigned int
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
16797 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
16798 if test "${ac_cv_struct_tm+set}" = set; then :
16799 $as_echo_n "(cached) " >&6
16801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16803 #include <sys/types.h>
16810 int *p = &tm.tm_sec;
16816 if ac_fn_c_try_compile "$LINENO"; then :
16817 ac_cv_struct_tm=time.h
16819 ac_cv_struct_tm=sys/time.h
16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
16824 $as_echo "$ac_cv_struct_tm" >&6; }
16825 if test $ac_cv_struct_tm = sys/time.h; then
16827 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
16832 # Checks for library functions.
16833 for ac_func in strftime
16835 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
16836 if test "x$ac_cv_func_strftime" = x""yes; then :
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_STRFTIME 1
16842 # strftime is in -lintl on SCO UNIX.
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
16844 $as_echo_n "checking for strftime in -lintl... " >&6; }
16845 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
16846 $as_echo_n "(cached) " >&6
16848 ac_check_lib_save_LIBS=$LIBS
16849 LIBS="-lintl $LIBS"
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16853 /* Override any GCC internal prototype to avoid an error.
16854 Use char because int might match the return type of a GCC
16855 builtin and then its argument prototype would still apply. */
16863 return strftime ();
16868 if ac_fn_c_try_link "$LINENO"; then :
16869 ac_cv_lib_intl_strftime=yes
16871 ac_cv_lib_intl_strftime=no
16873 rm -f core conftest.err conftest.$ac_objext \
16874 conftest$ac_exeext conftest.$ac_ext
16875 LIBS=$ac_check_lib_save_LIBS
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
16878 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
16879 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
16880 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
16882 LIBS="-lintl $LIBS"
16888 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
16889 if test "x$ac_cv_have_decl_strerror_r" = x""yes; then :
16895 cat >>confdefs.h <<_ACEOF
16896 #define HAVE_DECL_STRERROR_R $ac_have_decl
16899 for ac_func in strerror_r
16901 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
16902 if test "x$ac_cv_func_strerror_r" = x""yes; then :
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_STRERROR_R 1
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
16911 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
16912 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
16913 $as_echo_n "(cached) " >&6
16916 ac_cv_func_strerror_r_char_p=no
16917 if test $ac_cv_have_decl_strerror_r = yes; then
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16920 $ac_includes_default
16926 char x = *strerror_r (0, buf, sizeof buf);
16927 char *p = strerror_r (0, buf, sizeof buf);
16934 if ac_fn_c_try_compile "$LINENO"; then :
16935 ac_cv_func_strerror_r_char_p=yes
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 # strerror_r is not declared. Choose between
16940 # systems that have relatively inaccessible declarations for the
16941 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
16942 # former has a strerror_r that returns char*, while the latter
16943 # has a strerror_r that returns `int'.
16944 # This test should segfault on the DEC system.
16945 if test "$cross_compiling" = yes; then :
16948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16950 $ac_includes_default
16951 extern char *strerror_r ();
16956 char x = *strerror_r (0, buf, sizeof buf);
16957 return ! isalpha (x);
16962 if ac_fn_c_try_run "$LINENO"; then :
16963 ac_cv_func_strerror_r_char_p=yes
16965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16966 conftest.$ac_objext conftest.beam conftest.$ac_ext
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
16973 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
16974 if test $ac_cv_func_strerror_r_char_p = yes; then
16976 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
16980 for ac_func in strchr strdup strstr timegm gmtime_r strtok_r strcasecmp
16982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16984 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16985 cat >>confdefs.h <<_ACEOF
16986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16993 # checks for pthreads
16998 ac_cpp='$CPP $CPPFLAGS'
16999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17005 # We used to check for pthread.h first, but this fails if pthread.h
17006 # requires special compiler flags (e.g. on True64 or Sequent).
17007 # It gets checked for in the link test anyway.
17009 # First of all, check if the user has set any of the PTHREAD_LIBS,
17010 # etcetera environment variables, and if threads linking works using
17012 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17013 save_CFLAGS="$CFLAGS"
17014 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17016 LIBS="$PTHREAD_LIBS $LIBS"
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17018 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17022 /* Override any GCC internal prototype to avoid an error.
17023 Use char because int might match the return type of a GCC
17024 builtin and then its argument prototype would still apply. */
17028 char pthread_join ();
17032 return pthread_join ();
17037 if ac_fn_c_try_link "$LINENO"; then :
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17043 $as_echo "$acx_pthread_ok" >&6; }
17044 if test x"$acx_pthread_ok" = xno; then
17049 CFLAGS="$save_CFLAGS"
17052 # We must check for the threads library under a number of different
17053 # names; the ordering is very important because some systems
17054 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17055 # libraries is broken (non-POSIX).
17057 # Create a list of thread flags to try. Items starting with a "-" are
17058 # C compiler flags, and other items are library names, except for "none"
17059 # which indicates that we try without any flags at all, and "pthread-config"
17060 # which is a program returning the flags for the Pth emulation library.
17062 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17064 # The ordering *is* (sometimes) important. Some notes on the
17065 # individual items follow:
17067 # pthreads: AIX (must check this before -lpthread)
17068 # none: in case threads are in libc; should be tried before -Kthread and
17069 # other compiler flags to prevent continual compiler warnings
17070 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17071 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17072 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17073 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17074 # -pthreads: Solaris/gcc
17075 # -mthreads: Mingw32/gcc, Lynx/gcc
17076 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17077 # doesn't hurt to check since this sometimes defines pthreads too;
17078 # also defines -D_REENTRANT)
17079 # ... -mt is also the pthreads flag for HP/aCC
17080 # pthread: Linux, etcetera
17081 # --thread-safe: KAI C++
17082 # pthread-config: use pthread-config program (for GNU Pth library)
17084 case "${host_cpu}-${host_os}" in
17087 # On Solaris (at least, for some versions), libc contains stubbed
17088 # (non-functional) versions of the pthreads routines, so link-based
17089 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17090 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17091 # a function called by this macro, so we could check for that, but
17092 # who knows whether they'll stub that too in a future libc.) So,
17093 # we'll just look for -pthreads and -lpthread first:
17095 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17099 if test x"$acx_pthread_ok" = xno; then
17100 for flag in $acx_pthread_flags; do
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17105 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17110 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17111 PTHREAD_CFLAGS="$flag"
17115 # Extract the first word of "pthread-config", so it can be a program name with args.
17116 set dummy pthread-config; ac_word=$2
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17118 $as_echo_n "checking for $ac_word... " >&6; }
17119 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
17120 $as_echo_n "(cached) " >&6
17122 if test -n "$acx_pthread_config"; then
17123 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17126 for as_dir in $PATH
17129 test -z "$as_dir" && as_dir=.
17130 for ac_exec_ext in '' $ac_executable_extensions; do
17131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17132 ac_cv_prog_acx_pthread_config="yes"
17133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17140 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17143 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17144 if test -n "$acx_pthread_config"; then
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17146 $as_echo "$acx_pthread_config" >&6; }
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17149 $as_echo "no" >&6; }
17153 if test x"$acx_pthread_config" = xno; then continue; fi
17154 PTHREAD_CFLAGS="`pthread-config --cflags`"
17155 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17160 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17161 PTHREAD_LIBS="-l$flag"
17166 save_CFLAGS="$CFLAGS"
17167 LIBS="$PTHREAD_LIBS $LIBS"
17168 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17170 # Check for various functions. We must include pthread.h,
17171 # since some functions may be macros. (On the Sequent, we
17172 # need a special flag -Kthread to make this header compile.)
17173 # We check for pthread_join because it is in -lpthread on IRIX
17174 # while pthread_create is in libc. We check for pthread_attr_init
17175 # due to DEC craziness with -lpthreads. We check for
17176 # pthread_cleanup_push because it is one of the few pthread
17177 # functions on Solaris that doesn't have a non-functional libc stub.
17178 # We try pthread_create on general principles.
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 #include <pthread.h>
17185 pthread_t th; pthread_join(th, 0);
17186 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17187 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17192 if ac_fn_c_try_link "$LINENO"; then :
17195 rm -f core conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17199 CFLAGS="$save_CFLAGS"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17202 $as_echo "$acx_pthread_ok" >&6; }
17203 if test "x$acx_pthread_ok" = xyes; then
17212 # Various other checks:
17213 if test "x$acx_pthread_ok" = xyes; then
17215 LIBS="$PTHREAD_LIBS $LIBS"
17216 save_CFLAGS="$CFLAGS"
17217 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17219 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17221 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17223 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #include <pthread.h>
17230 int attr=$attr; return attr;
17235 if ac_fn_c_try_link "$LINENO"; then :
17236 attr_name=$attr; break
17238 rm -f core conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17242 $as_echo "$attr_name" >&6; }
17243 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17245 cat >>confdefs.h <<_ACEOF
17246 #define PTHREAD_CREATE_JOINABLE $attr_name
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17252 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17254 case "${host_cpu}-${host_os}" in
17255 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
17256 *-osf* | *-hpux*) flag="-D_REENTRANT";;
17258 if test "$GCC" = "yes"; then
17259 flag="-D_REENTRANT"
17261 flag="-mt -D_REENTRANT"
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17266 $as_echo "${flag}" >&6; }
17267 if test "x$flag" != xno; then
17268 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17272 CFLAGS="$save_CFLAGS"
17274 # More AIX lossage: must compile with xlc_r or cc_r
17275 if test x"$GCC" != xyes; then
17276 for ac_prog in xlc_r cc_r
17278 # Extract the first word of "$ac_prog", so it can be a program name with args.
17279 set dummy $ac_prog; ac_word=$2
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17281 $as_echo_n "checking for $ac_word... " >&6; }
17282 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
17283 $as_echo_n "(cached) " >&6
17285 if test -n "$PTHREAD_CC"; then
17286 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17289 for as_dir in $PATH
17292 test -z "$as_dir" && as_dir=.
17293 for ac_exec_ext in '' $ac_executable_extensions; do
17294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17295 ac_cv_prog_PTHREAD_CC="$ac_prog"
17296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17305 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17306 if test -n "$PTHREAD_CC"; then
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17308 $as_echo "$PTHREAD_CC" >&6; }
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17311 $as_echo "no" >&6; }
17315 test -n "$PTHREAD_CC" && break
17317 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17330 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17331 if test x"$acx_pthread_ok" = xyes; then
17332 enable_threads="pthread"
17336 enable_threads="no"
17339 ac_cpp='$CPP $CPPFLAGS'
17340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345 if test $enable_threads != "pthread"; then
17346 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
17349 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17351 LIBS="$PTHREAD_LIBS $LIBS"
17352 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
17353 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
17358 # Check whether --with-openssl was given.
17359 if test "${with_openssl+set}" = set; then :
17360 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
17361 SSLFLAGS="-I${with_openssl}/include"
17366 if test "x$SSLFLAGS" = "x" ; then
17367 # Extract the first word of "pkg-config", so it can be a program name with args.
17368 set dummy pkg-config; ac_word=$2
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17370 $as_echo_n "checking for $ac_word... " >&6; }
17371 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17372 $as_echo_n "(cached) " >&6
17374 case $PKG_CONFIG in
17376 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17380 for as_dir in $PATH
17383 test -z "$as_dir" && as_dir=.
17384 for ac_exec_ext in '' $ac_executable_extensions; do
17385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17386 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17397 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17398 if test -n "$PKG_CONFIG"; then
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17400 $as_echo "$PKG_CONFIG" >&6; }
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17403 $as_echo "no" >&6; }
17407 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
17408 if pkg-config openssl ; then
17409 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
17412 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
17418 $as_echo_n "checking for OpenSSL cflags... " >&6; }
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
17420 $as_echo "$SSLFLAGS" >&6; }
17421 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
17423 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
17424 if test "x$ac_cv_header_openssl_x509_h" = x""yes; then :
17427 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
17433 ac_cpp='$CXXCPP $CPPFLAGS'
17434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17441 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
17442 if test "${ac_cv_cxx_namespaces+set}" = set; then :
17443 $as_echo_n "(cached) " >&6
17447 ac_cpp='$CXXCPP $CPPFLAGS'
17448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 namespace Outer { namespace Inner { int i = 0; }}
17458 using namespace Outer::Inner; return i;
17463 if ac_fn_cxx_try_compile "$LINENO"; then :
17464 ac_cv_cxx_namespaces=yes
17466 ac_cv_cxx_namespaces=no
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 ac_cpp='$CXXCPP $CPPFLAGS'
17471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
17478 $as_echo "$ac_cv_cxx_namespaces" >&6; }
17479 if test "$ac_cv_cxx_namespaces" = yes; then
17481 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
17486 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
17487 if test "${ac_cv_cxx_have_stl+set}" = set; then :
17488 $as_echo_n "(cached) " >&6
17493 ac_cpp='$CXXCPP $CPPFLAGS'
17494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17502 #ifdef HAVE_NAMESPACES
17503 using namespace std;
17508 list<int> x; x.push_back(5);
17509 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
17514 if ac_fn_cxx_try_compile "$LINENO"; then :
17515 ac_cv_cxx_have_stl=yes
17517 ac_cv_cxx_have_stl=no
17519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521 ac_cpp='$CXXCPP $CPPFLAGS'
17522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
17529 $as_echo "$ac_cv_cxx_have_stl" >&6; }
17530 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
17531 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17535 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
17536 if test "${ac_cv_cxx_namespaces+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17541 ac_cpp='$CXXCPP $CPPFLAGS'
17542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17548 namespace Outer { namespace Inner { int i = 0; }}
17552 using namespace Outer::Inner; return i;
17557 if ac_fn_cxx_try_compile "$LINENO"; then :
17558 ac_cv_cxx_namespaces=yes
17560 ac_cv_cxx_namespaces=no
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17564 ac_cpp='$CXXCPP $CPPFLAGS'
17565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
17572 $as_echo "$ac_cv_cxx_namespaces" >&6; }
17573 if test "$ac_cv_cxx_namespaces" = yes; then
17575 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
17580 # Thank you Solaris, really.
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime_r" >&5
17582 $as_echo_n "checking for ctime_r... " >&6; }
17583 if test -z "$ac_cv_ctime_args"; then
17584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17593 ctime_r(&clock, buf);
17599 if ac_fn_cxx_try_compile "$LINENO"; then :
17602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17613 ctime_r(&clock, buf, 26);
17619 if ac_fn_cxx_try_compile "$LINENO"; then :
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624 if test -z "$ac_cv_ctime_args"; then
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17626 $as_echo "no" >&6; }
17628 if test "$ac_cv_ctime_args" = 2; then
17630 $as_echo "#define HAVE_CTIME_R_2 1" >>confdefs.h
17632 elif test "$ac_cv_ctime_args" = 3; then
17634 $as_echo "#define HAVE_CTIME_R_3 1" >>confdefs.h
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, and it takes $ac_cv_ctime_args arguments" >&5
17638 $as_echo "yes, and it takes $ac_cv_ctime_args arguments" >&6; }
17641 # log4shib settings (favor this version over the log4cpp code)
17642 # Extract the first word of "log4shib-config", so it can be a program name with args.
17643 set dummy log4shib-config; ac_word=$2
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17645 $as_echo_n "checking for $ac_word... " >&6; }
17646 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
17647 $as_echo_n "(cached) " >&6
17649 case $LOG4SHIB_CONFIG in
17651 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
17654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17655 for as_dir in $PATH
17658 test -z "$as_dir" && as_dir=.
17659 for ac_exec_ext in '' $ac_executable_extensions; do
17660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17661 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17672 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
17673 if test -n "$LOG4SHIB_CONFIG"; then
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
17675 $as_echo "$LOG4SHIB_CONFIG" >&6; }
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17678 $as_echo "no" >&6; }
17683 # Check whether --with-log4shib was given.
17684 if test "${with_log4shib+set}" = set; then :
17685 withval=$with_log4shib;
17686 LOG4SHIB_CONFIG="${with_log4shib}"
17687 if ! test -f "${LOG4SHIB_CONFIG}" ; then
17688 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
17693 if test -f "${LOG4SHIB_CONFIG}"; then
17694 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
17695 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
17697 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
17698 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
17701 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <log4shib/Category.hh>
17708 #include <log4shib/CategoryStream.hh>
17712 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
17717 if ac_fn_cxx_try_link "$LINENO"; then :
17719 $as_echo "#define SHIBSP_LOG4SHIB 1" >>confdefs.h
17722 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
17724 rm -f core conftest.err conftest.$ac_objext \
17725 conftest$ac_exeext conftest.$ac_ext
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
17728 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
17730 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
17733 # Extract the first word of "log4cpp-config", so it can be a program name with args.
17734 set dummy log4cpp-config; ac_word=$2
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17736 $as_echo_n "checking for $ac_word... " >&6; }
17737 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
17738 $as_echo_n "(cached) " >&6
17740 case $LOG4CPP_CONFIG in
17742 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
17745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17746 for as_dir in $PATH
17749 test -z "$as_dir" && as_dir=.
17750 for ac_exec_ext in '' $ac_executable_extensions; do
17751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17752 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17763 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
17764 if test -n "$LOG4CPP_CONFIG"; then
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
17766 $as_echo "$LOG4CPP_CONFIG" >&6; }
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17769 $as_echo "no" >&6; }
17774 # Check whether --with-log4cpp was given.
17775 if test "${with_log4cpp+set}" = set; then :
17776 withval=$with_log4cpp;
17777 LOG4CPP_CONFIG="${with_log4cpp}"
17778 if ! test -f "${LOG4CPP_CONFIG}" ; then
17779 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
17784 if test -f "${LOG4CPP_CONFIG}"; then
17785 { $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
17786 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
17787 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
17788 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
17789 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
17790 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
17793 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799 #include <log4cpp/Category.hh>
17800 #include <log4cpp/CategoryStream.hh>
17804 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
17809 if ac_fn_cxx_try_link "$LINENO"; then :
17811 $as_echo "#define SHIBSP_LOG4CPP 1" >>confdefs.h
17814 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
17816 rm -f core conftest.err conftest.$ac_objext \
17817 conftest$ac_exeext conftest.$ac_ext
17819 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
17825 # Check whether --with-xerces was given.
17826 if test "${with_xerces+set}" = set; then :
17827 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
17828 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
17829 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
17833 LIBS="-lxerces-c $LIBS"
17834 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
17835 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
17838 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
17843 $as_echo_n "checking Xerces version... " >&6; }
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <xercesc/util/XercesVersion.hpp>
17850 #if _XERCES_VERSION != 20600
17853 #error cannot use version 2.6.0
17859 if ac_fn_cxx_try_cpp "$LINENO"; then :
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
17861 $as_echo "OK" >&6; }
17863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17865 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
17866 See \`config.log' for more details" "$LINENO" 5 ; }
17868 rm -f conftest.err conftest.i conftest.$ac_ext
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #include <xercesc/util/PlatformUtils.hpp>
17875 xercesc::XMLPlatformUtils::Initialize()
17880 if ac_fn_cxx_try_link "$LINENO"; then :
17882 $as_echo "#define HAVE_LIBXERCESC 1" >>confdefs.h
17885 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
17887 rm -f core conftest.err conftest.$ac_objext \
17888 conftest$ac_exeext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
17891 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 #include <xercesc/util/XMLString.hpp>
17898 using namespace XERCES_CPP_NAMESPACE;
17900 XMLString::release(&buf);
17906 if ac_fn_cxx_try_compile "$LINENO"; then :
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17908 $as_echo "yes" >&6; }
17910 $as_echo "#define SHIBSP_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17914 $as_echo "no" >&6; }
17916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMNodeFilter API returns a short" >&5
17919 $as_echo_n "checking whether Xerces DOMNodeFilter API returns a short... " >&6; }
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17922 #include <xercesc/dom/DOM.hpp>
17926 using namespace XERCES_CPP_NAMESPACE;
17927 class Blocker : public DOMNodeFilter {
17929 short acceptNode(const DOMNode* node) const {
17930 return FILTER_REJECT;
17933 static Blocker g_Blocker;
17939 if ac_fn_cxx_try_compile "$LINENO"; then :
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17941 $as_echo "yes" >&6; }
17943 $as_echo "#define SHIBSP_XERCESC_SHORT_ACCEPTNODE 1" >>confdefs.h
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17947 $as_echo "no" >&6; }
17949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17951 #XML-Tooling settings
17953 # Check whether --with-xmltooling was given.
17954 if test "${with_xmltooling+set}" = set; then :
17955 withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
17956 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
17957 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
17961 LITE_LIBS="-lxmltooling-lite"
17962 XMLSEC_LIBS="-lxmltooling"
17963 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/base.h" "ac_cv_header_xmltooling_base_h" "$ac_includes_default"
17964 if test "x$ac_cv_header_xmltooling_base_h" = x""yes; then :
17967 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
17973 # save and append master libs
17975 LIBS="$XMLSEC_LIBS $LIBS"
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17980 #include <xmltooling/XMLToolingConfig.h>
17981 #include <xmltooling/version.h>
17987 #if _XMLTOOLING_VERSION >= 10400
17988 xmltooling::XMLToolingConfig::getConfig();
17990 #error Need XMLTooling version 1.4 or higher
17997 if ac_fn_cxx_try_link "$LINENO"; then :
17999 $as_echo "#define HAVE_XMLTOOLING 1" >>confdefs.h
18002 as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
18005 rm -f core conftest.err conftest.$ac_objext \
18006 conftest$ac_exeext conftest.$ac_ext
18008 # restore master libs
18011 # Establish location of xmltooling catalog.
18012 XMLTOOLINGXMLDIR=""
18013 if test "x$with_xmltooling" = "x" ; then
18014 with_xmltooling="/usr"
18016 if test -f $with_xmltooling/share/xml/xmltooling/catalog.xml ; then
18017 XMLTOOLINGXMLDIR="$with_xmltooling"
18018 elif test -f $with_xerces/share/xml/xmltooling/catalog.xml ; then
18019 XMLTOOLINGXMLDIR="$with_xerces"
18020 elif test -f $with_log4shib/share/xml/xmltooling/catalog.xml ; then
18021 XMLTOOLINGXMLDIR="$with_log4shib"
18023 if test "x$XMLTOOLINGXMLDIR" = "x" ; then
18024 as_fn_error $? "xmltooling XML catalog not found, may need to use --with-xmltooling option" "$LINENO" 5
18026 XMLTOOLINGXMLDIR="$XMLTOOLINGXMLDIR/share/xml/xmltooling"
18029 # XML-Security settings
18031 # Check whether --with-xmlsec was given.
18032 if test "${with_xmlsec+set}" = set; then :
18033 withval=$with_xmlsec;
18039 if test x_$with_xmlsec != x_/usr; then
18040 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18041 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18043 XMLSEC_LIBS="-lxml-security-c $XMLSEC_LIBS"
18045 # save and append master libs
18047 LIBS="$XMLSEC_LIBS $LIBS"
18049 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18050 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18053 as_fn_error $? "unable to find XML-Security-C header files" "$LINENO" 5
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security-C version" >&5
18058 $as_echo_n "checking XML-Security-C version... " >&6; }
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18061 #include <xsec/utils/XSECPlatformUtils.hpp>
18065 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18068 #error need version 1.4.0 or later
18074 if ac_fn_cxx_try_cpp "$LINENO"; then :
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18076 $as_echo "OK" >&6; }
18078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18080 as_fn_error $? "XML-Security-C version 1.4.0 or greater is required.
18081 See \`config.log' for more details" "$LINENO" 5 ; }
18083 rm -f conftest.err conftest.i conftest.$ac_ext
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18086 #include <xsec/utils/XSECPlatformUtils.hpp>
18090 XSECPlatformUtils::Initialise()
18095 if ac_fn_cxx_try_link "$LINENO"; then :
18098 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18100 rm -f core conftest.err conftest.$ac_objext \
18101 conftest$ac_exeext conftest.$ac_ext
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C supports white/blacklisting of algorithms" >&5
18105 $as_echo_n "checking whether XML-Security-C supports white/blacklisting of algorithms... " >&6; }
18106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h. */
18108 #include <xsec/framework/XSECAlgorithmMapper.hpp>
18112 XSECAlgorithmMapper* mapper; mapper->whitelistAlgorithm(NULL);
18117 if ac_fn_cxx_try_compile "$LINENO"; then :
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18119 $as_echo "yes" >&6; }
18121 $as_echo "#define SHIBSP_XMLSEC_WHITELISTING 1" >>confdefs.h
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18125 $as_echo "no" >&6; }
18127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18130 # restore master libs
18133 # OpenSAML settings
18135 # Check whether --with-saml was given.
18136 if test "${with_saml+set}" = set; then :
18137 withval=$with_saml; if test x_$with_saml != x_/usr; then
18138 LDFLAGS="-L${with_saml}/lib $LDFLAGS"
18139 CPPFLAGS="-I${with_saml}/include $CPPFLAGS"
18143 XMLSEC_LIBS="-lsaml $XMLSEC_LIBS"
18145 # save and append master libs
18147 LIBS="$XMLSEC_LIBS $LIBS"
18149 ac_fn_cxx_check_header_mongrel "$LINENO" "saml/saml2/metadata/Metadata.h" "ac_cv_header_saml_saml2_metadata_Metadata_h" "$ac_includes_default"
18150 if test "x$ac_cv_header_saml_saml2_metadata_Metadata_h" = x""yes; then :
18153 as_fn_error $? "unable to find OpenSAML header files" "$LINENO" 5
18157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h. */
18160 #include <saml/SAMLConfig.h>
18161 #include <saml/version.h>
18167 #if _OPENSAML_VERSION >= 20400
18168 opensaml::SAMLConfig::getConfig();
18170 #error Need OpenSAML version 2.4 or higher
18177 if ac_fn_cxx_try_link "$LINENO"; then :
18179 $as_echo "#define HAVE_SAML 1" >>confdefs.h
18182 as_fn_error $? "unable to link with OpenSAML, or version was too old" "$LINENO" 5
18185 rm -f core conftest.err conftest.$ac_objext \
18186 conftest$ac_exeext conftest.$ac_ext
18188 # restore master libs
18191 # Establish location of opensaml catalogs.
18193 if test "x$with_saml" = "x" ; then
18196 if test -f $with_saml/share/xml/opensaml/saml20-catalog.xml ; then
18197 OPENSAMLXMLDIR="$with_saml"
18198 elif test -f $with_xmltooling/share/xml/opensaml/saml20-catalog.xml ; then
18199 OPENSAMLXMLDIR="$with_xmltooling"
18200 elif test -f $with_xerces/share/xml/opensaml/saml20-catalog.xml ; then
18201 OPENSAMLXMLDIR="$with_xerces"
18202 elif test -f $with_log4shib/share/xml/opensaml/saml20-catalog.xml ; then
18203 OPENSAMLXMLDIR="$with_log4shib"
18205 if test "x$OPENSAMLXMLDIR" = "x" ; then
18206 as_fn_error $? "opensaml XML catalogs not found, may need to use --with-saml option" "$LINENO" 5
18208 OPENSAMLXMLDIR="$OPENSAMLXMLDIR/share/xml/opensaml"
18214 ac_config_files="$ac_config_files shibboleth.spec pkginfo Portfile"
18217 # output the underlying makefiles
18218 WANT_SUBDIRS="doc schemas configs shibsp shibd util"
18219 ac_config_files="$ac_config_files Makefile doc/Makefile schemas/Makefile configs/Makefile shibsp/Makefile shibd/Makefile util/Makefile selinux/Makefile"
18223 ac_config_files="$ac_config_files adfs/Makefile"
18225 # Check whether --enable-adfs was given.
18226 if test "${enable_adfs+set}" = set; then :
18227 enableval=$enable_adfs; adfs_enabled=$enableval
18232 if test "x$adfs_enabled" = "x" ; then
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ADFS module" >&5
18236 $as_echo_n "checking whether to build the ADFS module... " >&6; }
18237 if test "$adfs_enabled" = "no" ; then
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18239 $as_echo "no" >&6; }
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18242 $as_echo "yes" >&6; }
18243 WANT_SUBDIRS="$WANT_SUBDIRS adfs"
18248 # Build NSAPI module?
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI module option" >&5
18251 $as_echo_n "checking for NSAPI module option... " >&6; }
18253 # Check whether --with-nsapi was given.
18254 if test "${with_nsapi+set}" = set; then :
18255 withval=$with_nsapi; WANT_NSAPI=$withval
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_NSAPI" >&5
18261 $as_echo "$WANT_NSAPI" >&6; }
18263 if test "$WANT_NSAPI" != "no"; then
18264 if test ! -d $WANT_NSAPI/bin ; then
18265 as_fn_error $? "Please specify the path to the root of your Netscape/iPlanet/SunONE server using --with-nsapi=DIR" "$LINENO" 5
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI include files" >&5
18268 $as_echo_n "checking for NSAPI include files... " >&6; }
18269 if test -d $WANT_NSAPI/include ; then
18270 NSAPI_INCLUDE=$WANT_NSAPI/include
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Netscape-Enterprise 3.x style" >&5
18272 $as_echo "Netscape-Enterprise 3.x style" >&6; }
18273 for ac_header in $NSAPI_INCLUDE/nsapi.h
18275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18276 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
18278 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18279 cat >>confdefs.h <<_ACEOF
18280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18287 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
18289 if test -d $WANT_NSAPI/plugins/include ; then
18290 test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE"
18291 NSAPI_INCLUDE="$WANT_NSAPI/plugins/include"
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: iPlanet 4.x / SunONE 6.x style" >&5
18293 $as_echo "iPlanet 4.x / SunONE 6.x style" >&6; }
18294 for ac_header in $NSAPI_INCLUDE/nsapi.h
18296 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18297 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
18299 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18300 cat >>confdefs.h <<_ACEOF
18301 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18308 NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
18310 if test "$NSAPI_INCLUDE" = ""; then
18311 as_fn_error $? "Please check you have nsapi.h in either $WANT_NSAPI/include or $WANT_NSAPI/plugins/include" "$LINENO" 5
18317 # always output the Makefile, even if you don't use it
18318 ac_config_files="$ac_config_files nsapi_shib/Makefile"
18320 if test ! "$WANT_NSAPI" = "no"; then
18322 BUILD_NSAPI_FALSE='#'
18324 BUILD_NSAPI_TRUE='#'
18329 # add the NSAPI module to the list of wanted subdirs..
18330 if test ! "$WANT_NSAPI" = "no" ; then
18331 WANT_SUBDIRS="$WANT_SUBDIRS nsapi_shib"
18336 # Build FastCGI support?
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FastCGI support" >&5
18339 $as_echo_n "checking for FastCGI support... " >&6; }
18341 # Check whether --with-fastcgi was given.
18342 if test "${with_fastcgi+set}" = set; then :
18343 withval=$with_fastcgi; WANT_FASTCGI=$withval
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_FASTCGI" >&5
18349 $as_echo "$WANT_FASTCGI" >&6; }
18351 if test "$WANT_FASTCGI" != "no"; then
18352 if test "$WANT_FASTCGI" != "yes"; then
18353 if test x_$WANT_FASTCGI != x_/usr; then
18354 FASTCGI_INCLUDE="-I$WANT_FASTCGI/include"
18355 FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
18358 ac_fn_cxx_check_header_mongrel "$LINENO" "fcgio.h" "ac_cv_header_fcgio_h" "$ac_includes_default"
18359 if test "x$ac_cv_header_fcgio_h" = x""yes; then :
18362 as_fn_error $? "unable to find FastCGI header files" "$LINENO" 5
18366 FASTCGI_LIBS="-lfcgi -lfcgi++"
18373 # always output the Makefile, even if you don't use it
18374 ac_config_files="$ac_config_files fastcgi/Makefile"
18376 if test ! "$WANT_FASTCGI" = "no"; then
18377 BUILD_FASTCGI_TRUE=
18378 BUILD_FASTCGI_FALSE='#'
18380 BUILD_FASTCGI_TRUE='#'
18381 BUILD_FASTCGI_FALSE=
18385 if test ! "$WANT_FASTCGI" = "no" ; then
18386 WANT_SUBDIRS="$WANT_SUBDIRS fastcgi"
18390 # Build Memcached support?
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Memcached support" >&5
18393 $as_echo_n "checking for Memcached support... " >&6; }
18395 # Check whether --with-memcached was given.
18396 if test "${with_memcached+set}" = set; then :
18397 withval=$with_memcached; WANT_MEMCACHED=$withval
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_MEMCACHED" >&5
18403 $as_echo "$WANT_MEMCACHED" >&6; }
18405 if test "$WANT_MEMCACHED" != "no"; then
18406 if test "$WANT_MEMCACHED" != "yes"; then
18407 if test x_$WANT_MEMCACHED != x_/usr; then
18408 MEMCACHED_INCLUDE="-I$WANT_MEMCACHED/include"
18409 MEMCACHED_LDFLAGS="-L$WANT_MEMCACHED/lib"
18412 ac_fn_cxx_check_header_mongrel "$LINENO" "libmemcached/memcached.h" "ac_cv_header_libmemcached_memcached_h" "$ac_includes_default"
18413 if test "x$ac_cv_header_libmemcached_memcached_h" = x""yes; then :
18416 as_fn_error $? "unable to find Memcached header files" "$LINENO" 5
18420 MEMCACHED_LIBS="-lmemcached"
18427 # always output the Makefile, even if you don't use it
18428 ac_config_files="$ac_config_files memcache-store/Makefile"
18430 if test ! "$WANT_MEMCACHED" = "no"; then
18431 BUILD_MEMCACHED_TRUE=
18432 BUILD_MEMCACHED_FALSE='#'
18434 BUILD_MEMCACHED_TRUE='#'
18435 BUILD_MEMCACHED_FALSE=
18439 if test ! "$WANT_MEMCACHED" = "no" ; then
18440 WANT_SUBDIRS="$WANT_SUBDIRS memcache-store"
18445 # If no --enable-apache-xx specified
18446 # find a default and fake the specific parameters
18449 # simple macro to peek at an enable or a with
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if default apache needed" >&5
18453 $as_echo_n "checking if default apache needed... " >&6; }
18455 if test "${enable_apache_13+set}" = set; then
18456 peekval="${enable_apache_13}"
18459 if test "${enable_apache_20+set}" = set; then
18460 peekval="${enable_apache_20}"
18463 if test "${enable_apache_22+set}" = set; then
18464 peekval="${enable_apache_22}"
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_default" >&5
18468 $as_echo "$need_default" >&6; }
18470 if test "$need_default" = "yes"; then
18471 # find an apxs, then the httpd
18473 if test "${with_apxs+set}" = set; then
18474 peekval="${with_apxs}"
18477 if test "${with_apxs2+set}" = set; then
18478 peekval="${with_apxs2}"
18481 if test "${with_apxs22+set}" = set; then
18482 peekval="${with_apxs22}"
18485 if test "x$xs" = "x"; then
18486 for ac_prog in apxs2 apxs
18488 # Extract the first word of "$ac_prog", so it can be a program name with args.
18489 set dummy $ac_prog; ac_word=$2
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18491 $as_echo_n "checking for $ac_word... " >&6; }
18492 if test "${ac_cv_path_xs+set}" = set; then :
18493 $as_echo_n "(cached) " >&6
18497 ac_cv_path_xs="$xs" # Let the user override the test with a path.
18500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18501 as_dummy="/usr/local/apache2/bin:/usr/local/apache/bin:/usr/sbin:$PATH"
18502 for as_dir in $as_dummy
18505 test -z "$as_dir" && as_dir=.
18506 for ac_exec_ext in '' $ac_executable_extensions; do
18507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18508 ac_cv_path_xs="$as_dir/$ac_word$ac_exec_ext"
18509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18520 if test -n "$xs"; then
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xs" >&5
18522 $as_echo "$xs" >&6; }
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18525 $as_echo "no" >&6; }
18529 test -n "$xs" && break
18531 test -n "$xs" || xs="as_fn_error no apache found. Try --with-apxs "No apxs" "$LINENO" 5 "
18534 # ask the daemon for the version and set parameters
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default apache version" >&5
18536 $as_echo_n "checking default apache version... " >&6; }
18537 httpd="`$xs -q SBINDIR`/`$xs -q TARGET`"
18538 if test "x$httpd" != "x" && test -f $httpd ; then
18539 v=`$httpd -v|$SED -n -e 's/.*Apache\/\.*//p'`
18541 1.3*) enable_apache_13=yes
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 1.3" >&5
18544 $as_echo "1.3" >&6; }
18546 2.0*) enable_apache_20=yes
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.0" >&5
18549 $as_echo "2.0" >&6; }
18551 2.2*) enable_apache_22=yes
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.2" >&5
18554 $as_echo "2.2" >&6; }
18556 *) as_fn_error $? "unusable apache versions: $v. Try setting --with-apxs" "$LINENO" 5
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot determine version. Try setting --with-apxs" >&5
18560 $as_echo "cannot determine version. Try setting --with-apxs" >&6; }
18564 # Apache 1.3 (mod_shib_13)
18565 # --enable-apache-13
18566 # --with-apxs (DSO build, the normal way, uses apxs to derive build flags)
18568 # Check whether --enable-apache-13 was given.
18569 if test "${enable_apache_13+set}" = set; then :
18570 enableval=$enable_apache_13; if test "x$enableval" = "x" ; then
18573 WANT_APACHE_13="$enableval"
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 1.3 module" >&5
18581 $as_echo_n "checking whether to build Apache 1.3 module... " >&6; }
18582 if test "$WANT_APACHE_13" != yes && test "$WANT_APACHE_13" != no ; then
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_13" >&5
18586 $as_echo "$WANT_APACHE_13" >&6; }
18588 if test "$WANT_APACHE_13" = "yes" ; then
18590 # Check whether --with-apxs was given.
18591 if test "${with_apxs+set}" = set; then :
18592 withval=$with_apxs;
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apxs name/location" >&5
18594 $as_echo_n "checking for user-specified apxs name/location... " >&6; }
18595 if test "$withval" != "no" ; then
18596 if test "$withval" != "yes"; then
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
18599 $as_echo "\"$withval\"" >&6; }
18605 # Extract the first word of "apxs", so it can be a program name with args.
18606 set dummy apxs; ac_word=$2
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18608 $as_echo_n "checking for $ac_word... " >&6; }
18609 if test "${ac_cv_path_APXS+set}" = set; then :
18610 $as_echo_n "(cached) " >&6
18614 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
18617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18618 for as_dir in $PATH
18621 test -z "$as_dir" && as_dir=.
18622 for ac_exec_ext in '' $ac_executable_extensions; do
18623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18624 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
18625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18632 test -z "$ac_cv_path_APXS" && ac_cv_path_APXS="no"
18636 APXS=$ac_cv_path_APXS
18637 if test -n "$APXS"; then
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
18639 $as_echo "$APXS" >&6; }
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18642 $as_echo "no" >&6; }
18646 if test "$APXS" = "no" ; then
18647 for i in /usr/sbin /usr/local/apache/bin ; do
18648 if test "$APXS" = "no" && test -f "$i/apxs"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if apxs was located" >&5
18658 $as_echo_n "checking to see if apxs was located... " >&6; }
18659 if test ! -f "$APXS" ; then
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18661 $as_echo "no" >&6; }
18662 as_fn_error $? "Unable to locate apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs option." "$LINENO" 5
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
18665 $as_echo "$APXS" >&6; }
18668 # extract settings we need from APXS -q
18669 APXS_CC="`$APXS -q CC`"
18670 APXS_CFLAGS="`$APXS -q CFLAGS` `$APXS -q CFLAGS_SHLIB`"
18671 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
18678 # Apache 2.0 (mod_shib_20)
18679 # --enable-apache-20
18680 # --with-apxs2 (DSO build, the normal way, uses apxs to derive build flags)
18681 # --with-apr (DSO build, APR development package installed separately)
18682 # --with-apu (DSO build, APR-UTIL development package installed separately)
18684 # Check whether --enable-apache-20 was given.
18685 if test "${enable_apache_20+set}" = set; then :
18686 enableval=$enable_apache_20; if test "x$enableval" = "x" ; then
18689 WANT_APACHE_20="$enableval"
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.0 module" >&5
18697 $as_echo_n "checking whether to build Apache 2.0 module... " >&6; }
18698 if test "$WANT_APACHE_20" != yes && test "$WANT_APACHE_20" != no ; then
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_20" >&5
18702 $as_echo "$WANT_APACHE_20" >&6; }
18704 if test "$WANT_APACHE_20" = "yes" ; then
18706 # Check whether --with-apxs2 was given.
18707 if test "${with_apxs2+set}" = set; then :
18708 withval=$with_apxs2;
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2 apxs name/location" >&5
18710 $as_echo_n "checking for user-specified Apache2 apxs name/location... " >&6; }
18711 if test "$withval" != "no" ; then
18712 if test "$withval" != "yes"; then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
18715 $as_echo "\"$withval\"" >&6; }
18721 # Extract the first word of "apxs2", so it can be a program name with args.
18722 set dummy apxs2; ac_word=$2
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18724 $as_echo_n "checking for $ac_word... " >&6; }
18725 if test "${ac_cv_path_APXS2+set}" = set; then :
18726 $as_echo_n "(cached) " >&6
18730 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
18733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18734 for as_dir in $PATH
18737 test -z "$as_dir" && as_dir=.
18738 for ac_exec_ext in '' $ac_executable_extensions; do
18739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18740 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
18741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18748 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
18752 APXS2=$ac_cv_path_APXS2
18753 if test -n "$APXS2"; then
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
18755 $as_echo "$APXS2" >&6; }
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18758 $as_echo "no" >&6; }
18762 if test "$APXS2" = "no" ; then
18763 # Extract the first word of "apxs", so it can be a program name with args.
18764 set dummy apxs; ac_word=$2
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18766 $as_echo_n "checking for $ac_word... " >&6; }
18767 if test "${ac_cv_path_APXS2+set}" = set; then :
18768 $as_echo_n "(cached) " >&6
18772 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
18775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18776 for as_dir in $PATH
18779 test -z "$as_dir" && as_dir=.
18780 for ac_exec_ext in '' $ac_executable_extensions; do
18781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18782 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
18783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18790 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
18794 APXS2=$ac_cv_path_APXS2
18795 if test -n "$APXS2"; then
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
18797 $as_echo "$APXS2" >&6; }
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18800 $as_echo "no" >&6; }
18805 if test "$APXS2" = "no" ; then
18806 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
18807 if test "$APXS2" = "no" && test -f "$i/apxs2" ; then
18811 if test "$APXS2" = "no" ; then
18812 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
18813 if test "$APXS2" = "no" && test -f "$i/apxs" ; then
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2 apxs was located" >&5
18824 $as_echo_n "checking to see if Apache2 apxs was located... " >&6; }
18825 if test ! -f "$APXS2" ; then
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18827 $as_echo "no" >&6; }
18828 as_fn_error $? "Unable to locate Apache2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs2 option." "$LINENO" 5
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
18831 $as_echo "$APXS2" >&6; }
18836 # Check whether --with-apr was given.
18837 if test "${with_apr+set}" = set; then :
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-config name/location" >&5
18840 $as_echo_n "checking for user-specified apr-config name/location... " >&6; }
18841 if test "$withval" != "no" ; then
18842 if test "$withval" != "yes"; then
18843 APR_CONFIG=$withval
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
18845 $as_echo "\"$withval\"" >&6; }
18851 # Extract the first word of "apr-config", so it can be a program name with args.
18852 set dummy apr-config; ac_word=$2
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18854 $as_echo_n "checking for $ac_word... " >&6; }
18855 if test "${ac_cv_path_APR_CONFIG+set}" = set; then :
18856 $as_echo_n "(cached) " >&6
18858 case $APR_CONFIG in
18860 ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
18863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18864 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
18865 for as_dir in $as_dummy
18868 test -z "$as_dir" && as_dir=.
18869 for ac_exec_ext in '' $ac_executable_extensions; do
18870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18871 ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18882 APR_CONFIG=$ac_cv_path_APR_CONFIG
18883 if test -n "$APR_CONFIG"; then
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_CONFIG" >&5
18885 $as_echo "$APR_CONFIG" >&6; }
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18888 $as_echo "no" >&6; }
18895 if test -f "${APR_CONFIG}"; then
18896 APR_CFLAGS="`${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags` `${APR_CONFIG} --includes`"
18898 as_fn_error $? "Unable to locate apr-config, may need --with-apr option." "$LINENO" 5
18903 # Check whether --with-apu was given.
18904 if test "${with_apu+set}" = set; then :
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-config name/location" >&5
18907 $as_echo_n "checking for user-specified apu-config name/location... " >&6; }
18908 if test "$withval" != "no" ; then
18909 if test "$withval" != "yes"; then
18910 APR_CONFIG=$withval
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
18912 $as_echo "\"$withval\"" >&6; }
18918 # Extract the first word of "apu-config", so it can be a program name with args.
18919 set dummy apu-config; ac_word=$2
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18921 $as_echo_n "checking for $ac_word... " >&6; }
18922 if test "${ac_cv_path_APU_CONFIG+set}" = set; then :
18923 $as_echo_n "(cached) " >&6
18925 case $APU_CONFIG in
18927 ac_cv_path_APU_CONFIG="$APU_CONFIG" # Let the user override the test with a path.
18930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18931 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
18932 for as_dir in $as_dummy
18935 test -z "$as_dir" && as_dir=.
18936 for ac_exec_ext in '' $ac_executable_extensions; do
18937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18938 ac_cv_path_APU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18949 APU_CONFIG=$ac_cv_path_APU_CONFIG
18950 if test -n "$APU_CONFIG"; then
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_CONFIG" >&5
18952 $as_echo "$APU_CONFIG" >&6; }
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18955 $as_echo "no" >&6; }
18962 if test -f "${APU_CONFIG}"; then
18963 APU_CFLAGS="`${APU_CONFIG} --includes`"
18965 as_fn_error $? "Unable to locate apu-config, may need --with-apu option." "$LINENO" 5
18968 # extract settings we need from APXS2 -q
18969 APXS2_CC="`$APXS2 -q CC`"
18970 APXS2_CFLAGS="`$APXS2 -q CPPFLAGS` `$APXS2 -q CFLAGS` $APR_CFLAGS $APU_CFLAGS"
18971 APXS2_INCLUDE="`$APXS2 -q INCLUDEDIR`"
18978 # Apache 2.2 (mod_shib_22)
18979 # --enable-apache-22
18980 # --with-apxs22 (DSO build, the normal way, uses apxs to derive build flags)
18981 # --with-apr1 (DSO build, APR development package installed separately)
18982 # --with-apu1 (DSO build, APR-UTIL development package installed separately)
18984 # Check whether --enable-apache-22 was given.
18985 if test "${enable_apache_22+set}" = set; then :
18986 enableval=$enable_apache_22; if test "x$enableval" = "x" ; then
18989 WANT_APACHE_22="$enableval"
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.2 module" >&5
18997 $as_echo_n "checking whether to build Apache 2.2 module... " >&6; }
18998 if test "$WANT_APACHE_22" != yes && test "$WANT_APACHE_22" != no ; then
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_22" >&5
19002 $as_echo "$WANT_APACHE_22" >&6; }
19004 if test "$WANT_APACHE_22" = "yes" ; then
19006 # Check whether --with-apxs22 was given.
19007 if test "${with_apxs22+set}" = set; then :
19008 withval=$with_apxs22;
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2.2 apxs name/location" >&5
19010 $as_echo_n "checking for user-specified Apache2.2 apxs name/location... " >&6; }
19011 if test "$withval" != "no" ; then
19012 if test "$withval" != "yes"; then
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19015 $as_echo "\"$withval\"" >&6; }
19021 # Extract the first word of "apxs2", so it can be a program name with args.
19022 set dummy apxs2; ac_word=$2
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19024 $as_echo_n "checking for $ac_word... " >&6; }
19025 if test "${ac_cv_path_APXS22+set}" = set; then :
19026 $as_echo_n "(cached) " >&6
19030 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
19033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19034 for as_dir in $PATH
19037 test -z "$as_dir" && as_dir=.
19038 for ac_exec_ext in '' $ac_executable_extensions; do
19039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19040 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
19041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19048 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
19052 APXS22=$ac_cv_path_APXS22
19053 if test -n "$APXS22"; then
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
19055 $as_echo "$APXS22" >&6; }
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19058 $as_echo "no" >&6; }
19062 if test "$APXS22" = "no" ; then
19063 # Extract the first word of "apxs", so it can be a program name with args.
19064 set dummy apxs; ac_word=$2
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19066 $as_echo_n "checking for $ac_word... " >&6; }
19067 if test "${ac_cv_path_APXS22+set}" = set; then :
19068 $as_echo_n "(cached) " >&6
19072 ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
19075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19076 for as_dir in $PATH
19079 test -z "$as_dir" && as_dir=.
19080 for ac_exec_ext in '' $ac_executable_extensions; do
19081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19082 ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
19083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19090 test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
19094 APXS22=$ac_cv_path_APXS22
19095 if test -n "$APXS22"; then
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
19097 $as_echo "$APXS22" >&6; }
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19100 $as_echo "no" >&6; }
19105 if test "$APXS22" = "no" ; then
19106 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19107 if test "$APXS22" = "no" && test -f "$i/apxs2" ; then
19111 if test "$APXS22" = "no" ; then
19112 for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19113 if test "$APXS22" = "no" && test -f "$i/apxs" ; then
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2.2 apxs was located" >&5
19124 $as_echo_n "checking to see if Apache2.2 apxs was located... " >&6; }
19125 if test ! -f "$APXS22" ; then
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19127 $as_echo "no" >&6; }
19128 as_fn_error $? "Unable to locate Apache2.2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs22 option." "$LINENO" 5
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
19131 $as_echo "$APXS22" >&6; }
19136 # Check whether --with-apr1 was given.
19137 if test "${with_apr1+set}" = set; then :
19138 withval=$with_apr1;
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-1-config name/location" >&5
19140 $as_echo_n "checking for user-specified apr-1-config name/location... " >&6; }
19141 if test "$withval" != "no" ; then
19142 if test "$withval" != "yes"; then
19143 APR1_CONFIG=$withval
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19145 $as_echo "\"$withval\"" >&6; }
19151 # Extract the first word of "apr-1-config", so it can be a program name with args.
19152 set dummy apr-1-config; ac_word=$2
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19154 $as_echo_n "checking for $ac_word... " >&6; }
19155 if test "${ac_cv_path_APR1_CONFIG+set}" = set; then :
19156 $as_echo_n "(cached) " >&6
19158 case $APR1_CONFIG in
19160 ac_cv_path_APR1_CONFIG="$APR1_CONFIG" # Let the user override the test with a path.
19163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19164 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
19165 for as_dir in $as_dummy
19168 test -z "$as_dir" && as_dir=.
19169 for ac_exec_ext in '' $ac_executable_extensions; do
19170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19171 ac_cv_path_APR1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19182 APR1_CONFIG=$ac_cv_path_APR1_CONFIG
19183 if test -n "$APR1_CONFIG"; then
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR1_CONFIG" >&5
19185 $as_echo "$APR1_CONFIG" >&6; }
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19188 $as_echo "no" >&6; }
19195 if test -f "${APR1_CONFIG}"; then
19196 APR1_CFLAGS="`${APR1_CONFIG} --cflags` `${APR1_CONFIG} --cppflags` `${APR1_CONFIG} --includes`"
19198 as_fn_error $? "Unable to locate apr-1-config, may need --with-apr1 option." "$LINENO" 5
19203 # Check whether --with-apu1 was given.
19204 if test "${with_apu1+set}" = set; then :
19205 withval=$with_apu1;
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-1-config name/location" >&5
19207 $as_echo_n "checking for user-specified apu-1-config name/location... " >&6; }
19208 if test "$withval" != "no" ; then
19209 if test "$withval" != "yes"; then
19210 APR1_CONFIG=$withval
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19212 $as_echo "\"$withval\"" >&6; }
19218 # Extract the first word of "apu-1-config", so it can be a program name with args.
19219 set dummy apu-1-config; ac_word=$2
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19221 $as_echo_n "checking for $ac_word... " >&6; }
19222 if test "${ac_cv_path_APU1_CONFIG+set}" = set; then :
19223 $as_echo_n "(cached) " >&6
19225 case $APU1_CONFIG in
19227 ac_cv_path_APU1_CONFIG="$APU1_CONFIG" # Let the user override the test with a path.
19230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19231 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
19232 for as_dir in $as_dummy
19235 test -z "$as_dir" && as_dir=.
19236 for ac_exec_ext in '' $ac_executable_extensions; do
19237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19238 ac_cv_path_APU1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19249 APU1_CONFIG=$ac_cv_path_APU1_CONFIG
19250 if test -n "$APU1_CONFIG"; then
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU1_CONFIG" >&5
19252 $as_echo "$APU1_CONFIG" >&6; }
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19255 $as_echo "no" >&6; }
19262 if test -f "${APU1_CONFIG}"; then
19263 APU1_CFLAGS="`${APU1_CONFIG} --includes`"
19265 as_fn_error $? "Unable to locate apu-1-config, may need --with-apu1 option." "$LINENO" 5
19268 # extract settings we need from APXS22 -q
19269 APXS22_CC="`$APXS22 -q CC`"
19270 APXS22_CFLAGS="`$APXS22 -q CPPFLAGS` `$APXS22 -q CFLAGS` $APR1_CFLAGS $APU1_CFLAGS"
19271 APXS22_INCLUDE="`$APXS22 -q INCLUDEDIR`"
19277 # always output the Makefile, even if you don't use it
19278 ac_config_files="$ac_config_files apache/Makefile"
19280 if test "$WANT_APACHE_13" = "yes"; then
19282 BUILD_AP13_FALSE='#'
19284 BUILD_AP13_TRUE='#'
19288 if test "$WANT_APACHE_20" = "yes"; then
19290 BUILD_AP20_FALSE='#'
19292 BUILD_AP20_TRUE='#'
19296 if test "$WANT_APACHE_22" = "yes"; then
19298 BUILD_AP22_FALSE='#'
19300 BUILD_AP22_TRUE='#'
19305 # add the apache module to the list of wanted subdirs..
19306 if test "$WANT_APACHE_13" = "yes" || test "$WANT_APACHE_20" = "yes" || test "$WANT_APACHE_22" = "yes" ; then
19307 WANT_SUBDIRS="$WANT_SUBDIRS apache"
19312 # Implement the checks of the ODBC Storage Service
19314 # 1) Assume the user wants ODBC; if it's not found then just continue without
19315 # 2) If the user specifically requested odbc, look for it and ERROR if not found
19316 # 3) If the user specifically requested no odbc, don't build it.
19319 ac_config_files="$ac_config_files odbc-store/Makefile"
19322 # determine whether we should enable the odbc ccache
19323 # Check whether --enable-odbc was given.
19324 if test "${enable_odbc+set}" = set; then :
19325 enableval=$enable_odbc; odbc_enabled=$enableval
19327 odbc_enabled=default
19331 if test "x$odbc_enabled" = "x" ; then
19335 # Are we trying to build ODBC?
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ODBC storage service" >&5
19337 $as_echo_n "checking whether to build the ODBC storage service... " >&6; }
19338 if test "$odbc_enabled" = "yes" ; then
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19341 $as_echo "yes" >&6; }
19342 elif test "$odbc_enabled" = "default" ; then
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, if it can be found" >&5
19345 $as_echo "yes, if it can be found" >&6; }
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19349 $as_echo "no" >&6; }
19352 # If we're trying to build ODBC, try to find the odbc_config program.
19353 if test "$build_odbc" = "yes" ; then
19356 # Check whether --with-odbc was given.
19357 if test "${with_odbc+set}" = set; then :
19358 withval=$with_odbc; if test "$with_odbc" = no ; then
19359 as_fn_error $? "Try running --disable-odbc instead." "$LINENO" 5
19360 elif test "$with_odbc" != yes ; then
19361 odbc_dir="$with_odbc/bin"
19362 if test "$with_odbc" != /usr ; then
19363 ODBC_CFLAGS="-I$with_odbc/include"
19364 ODBC_LIBS="-L$with_odbc/lib"
19370 # Extract the first word of "odbc_config", so it can be a program name with args.
19371 set dummy odbc_config; ac_word=$2
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19373 $as_echo_n "checking for $ac_word... " >&6; }
19374 if test "${ac_cv_path_ODBC_CONFIG+set}" = set; then :
19375 $as_echo_n "(cached) " >&6
19377 case $ODBC_CONFIG in
19379 ac_cv_path_ODBC_CONFIG="$ODBC_CONFIG" # Let the user override the test with a path.
19382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19383 for as_dir in $odbc_dir $PATH
19386 test -z "$as_dir" && as_dir=.
19387 for ac_exec_ext in '' $ac_executable_extensions; do
19388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19389 ac_cv_path_ODBC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19397 test -z "$ac_cv_path_ODBC_CONFIG" && ac_cv_path_ODBC_CONFIG="no"
19401 ODBC_CONFIG=$ac_cv_path_ODBC_CONFIG
19402 if test -n "$ODBC_CONFIG"; then
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ODBC_CONFIG" >&5
19404 $as_echo "$ODBC_CONFIG" >&6; }
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19407 $as_echo "no" >&6; }
19411 if test "$ODBC_CONFIG" = no ; then
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find odbc_config, will try to guess settings." >&5
19413 $as_echo "$as_me: WARNING: Cannot find odbc_config, will try to guess settings." >&2;}
19414 ODBC_LIBS="$ODBC_LIBS -lodbc"
19416 ODBC_CFLAGS=`$ODBC_CONFIG --cflags`
19417 ODBC_LIBS=`$ODBC_CONFIG --libs`
19420 save_CPPFLAGS="$CPPFLAGS"
19421 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
19423 ac_fn_cxx_check_header_mongrel "$LINENO" "sql.h" "ac_cv_header_sql_h" "$ac_includes_default"
19424 if test "x$ac_cv_header_sql_h" = x""yes; then :
19431 if test "$have_sql_h" = no -a "$odbc_enabled" = "yes" ; then
19432 as_fn_error $? "unable to find ODBC header files" "$LINENO" 5
19435 if test "$have_sql_h" = yes ; then
19437 LIBS="$LIBS $ODBC_LIBS"
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can link againt ODBC" >&5
19439 $as_echo_n "checking if we can link againt ODBC... " >&6; }
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19443 #include <sqlext.h>
19448 SQLSetEnvAttr(SQL_NULL_HANDLE, SQL_ATTR_CONNECTION_POOLING, (void*)SQL_CP_ONE_PER_HENV, 0)
19453 if ac_fn_cxx_try_link "$LINENO"; then :
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext conftest.$ac_ext
19462 if test "$have_odbc_libs" = no ; then
19463 if test "$odbc_enabled" = "yes" ; then
19464 as_fn_error $? "unable to link with ODBC Library" "$LINENO" 5
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19467 $as_echo "no" >&6; }
19472 CPPFLAGS="$save_CPPFLAGS"
19475 # if have_odbc_libs=yes then go ahead with building ODBC
19476 if test "$have_odbc_libs" = yes ; then
19477 # this AC_MSG_RESULT is from above!
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19479 $as_echo "yes" >&6; }
19480 WANT_SUBDIRS="$WANT_SUBDIRS odbc-store"
19488 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
19489 echo "=================================================================="
19490 echo "WARNING: You have chosen to compile Apache-1.3 modules with a different"
19491 echo " compiler than the one used to compile Apache."
19493 echo " Current compiler: $CC"
19494 echo " Apache's compiler: $APXS_CC"
19496 echo "This could cause problems."
19497 echo "=================================================================="
19500 if test -n "$APXS2_CC" && test "$APXS2_CC" != "$CC" ; then
19501 echo "=================================================================="
19502 echo "WARNING: You have chosen to compile Apache-2.0 modules with a different"
19503 echo " compiler than the one used to compile Apache."
19505 echo " Current compiler: $CC"
19506 echo " Apache's compiler: $APXS2_CC"
19508 echo "This could cause problems."
19509 echo "=================================================================="
19512 if test -n "$APXS22_CC" && test "$APXS22_CC" != "$CC" ; then
19513 echo "=================================================================="
19514 echo "WARNING: You have chosen to compile Apache-2.2 modules with a different"
19515 echo " compiler than the one used to compile Apache."
19517 echo " Current compiler: $CC"
19518 echo " Apache's compiler: $APXS22_CC"
19520 echo "This could cause problems."
19521 echo "=================================================================="
19524 LIBTOOL="$LIBTOOL --silent"
19526 cat >confcache <<\_ACEOF
19527 # This file is a shell script that caches the results of configure
19528 # tests run on this system so they can be shared between configure
19529 # scripts and configure runs, see configure's option --config-cache.
19530 # It is not useful on other systems. If it contains results you don't
19531 # want to keep, you may remove or edit it.
19533 # config.status only pays attention to the cache file if you give it
19534 # the --recheck option to rerun configure.
19536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19538 # following values.
19542 # The following way of writing the cache mishandles newlines in values,
19543 # but we know of no workaround that is simple, portable, and efficient.
19544 # So, we kill variables containing newlines.
19545 # Ultrix sh set writes to stderr and can't be redirected directly,
19546 # and sets the high bit in the cache file unless we assign to the vars.
19548 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19549 eval ac_val=\$$ac_var
19553 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19554 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19557 _ | IFS | as_nl) ;; #(
19558 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19559 *) { eval $ac_var=; unset $ac_var;} ;;
19565 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19566 *${as_nl}ac_space=\ *)
19567 # `set' does not quote correctly, so add quotes: double-quote
19568 # substitution turns \\\\ into \\, and sed turns \\ into \.
19571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19574 # `set' quotes correctly as required by POSIX, so do not add quotes.
19575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19586 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19588 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19589 if test -w "$cache_file"; then
19590 test "x$cache_file" != "x/dev/null" &&
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19592 $as_echo "$as_me: updating cache $cache_file" >&6;}
19593 cat confcache >$cache_file
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19596 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19601 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19602 # Let make expand exec_prefix.
19603 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19605 DEFS=-DHAVE_CONFIG_H
19610 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19611 # 1. Remove the extension, and $U if already installed.
19612 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19613 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19614 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19615 # will be set to the directory where LIBOBJS objects are built.
19616 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19617 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19619 LIBOBJS=$ac_libobjs
19621 LTLIBOBJS=$ac_ltlibobjs
19624 if test -n "$EXEEXT"; then
19626 am__EXEEXT_FALSE='#'
19628 am__EXEEXT_TRUE='#'
19632 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19633 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19636 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19637 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19640 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19641 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19644 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19645 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19648 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19649 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19652 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19653 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19656 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19657 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19660 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19661 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19664 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19665 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19668 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19669 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19672 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19673 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19676 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19677 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19680 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19681 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19684 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19685 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19688 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19689 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19692 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19693 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19696 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19697 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19700 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19701 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19704 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19705 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19708 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19709 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19712 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19713 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19716 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19717 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19720 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19721 as_fn_error $? "conditional \"AMDEP\" was never defined.
19722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19724 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19725 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19728 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19729 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19732 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19733 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19736 if test -z "${BUILD_NSAPI_TRUE}" && test -z "${BUILD_NSAPI_FALSE}"; then
19737 as_fn_error $? "conditional \"BUILD_NSAPI\" was never defined.
19738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19740 if test -z "${BUILD_FASTCGI_TRUE}" && test -z "${BUILD_FASTCGI_FALSE}"; then
19741 as_fn_error $? "conditional \"BUILD_FASTCGI\" was never defined.
19742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19744 if test -z "${BUILD_MEMCACHED_TRUE}" && test -z "${BUILD_MEMCACHED_FALSE}"; then
19745 as_fn_error $? "conditional \"BUILD_MEMCACHED\" was never defined.
19746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19748 if test -z "${BUILD_AP13_TRUE}" && test -z "${BUILD_AP13_FALSE}"; then
19749 as_fn_error $? "conditional \"BUILD_AP13\" was never defined.
19750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19752 if test -z "${BUILD_AP20_TRUE}" && test -z "${BUILD_AP20_FALSE}"; then
19753 as_fn_error $? "conditional \"BUILD_AP20\" was never defined.
19754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19756 if test -z "${BUILD_AP22_TRUE}" && test -z "${BUILD_AP22_FALSE}"; then
19757 as_fn_error $? "conditional \"BUILD_AP22\" was never defined.
19758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19761 : ${CONFIG_STATUS=./config.status}
19763 ac_clean_files_save=$ac_clean_files
19764 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19766 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19768 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19770 # Generated by $as_me.
19771 # Run this file to recreate the current configuration.
19772 # Compiler output produced by configure, useful for debugging
19773 # configure, is in config.log if it exists.
19776 ac_cs_recheck=false
19779 SHELL=\${CONFIG_SHELL-$SHELL}
19782 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19783 ## -------------------- ##
19784 ## M4sh Initialization. ##
19785 ## -------------------- ##
19787 # Be more Bourne compatible
19788 DUALCASE=1; export DUALCASE # for MKS sh
19789 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19792 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19793 # is contrary to our usage. Disable this feature.
19794 alias -g '${1+"$@"}'='"$@"'
19795 setopt NO_GLOB_SUBST
19797 case `(set -o) 2>/dev/null` in #(
19809 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19810 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19813 # Prefer a ksh shell builtin over an external printf program on Solaris,
19814 # but without wasting forks for bash or zsh.
19815 if test -z "$BASH_VERSION$ZSH_VERSION" \
19816 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19817 as_echo='print -r --'
19818 as_echo_n='print -rn --'
19819 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19820 as_echo='printf %s\n'
19821 as_echo_n='printf %s'
19823 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19824 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19825 as_echo_n='/usr/ucb/echo -n'
19827 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19828 as_echo_n_body='eval
19832 expr "X$arg" : "X\\(.*\\)$as_nl";
19833 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19835 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19837 export as_echo_n_body
19838 as_echo_n='sh -c $as_echo_n_body as_echo'
19840 export as_echo_body
19841 as_echo='sh -c $as_echo_body as_echo'
19844 # The user is always right.
19845 if test "${PATH_SEPARATOR+set}" != set; then
19847 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19848 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19855 # We need space, tab and new line, in precisely that order. Quoting is
19856 # there to prevent editors from complaining about space-tab.
19857 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19858 # splitting by setting IFS to empty value.)
19861 # Find who we are. Look in the path if we contain no directory separator.
19863 *[\\/]* ) as_myself=$0 ;;
19864 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19865 for as_dir in $PATH
19868 test -z "$as_dir" && as_dir=.
19869 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19875 # We did not find ourselves, most probably we were run as `sh COMMAND'
19876 # in which case we are not to be found in the path.
19877 if test "x$as_myself" = x; then
19880 if test ! -f "$as_myself"; then
19881 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19885 # Unset variables that we do not need and which cause bugs (e.g. in
19886 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19887 # suppresses any "Segmentation fault" message there. '((' could
19888 # trigger a bug in pdksh 5.2.14.
19889 for as_var in BASH_ENV ENV MAIL MAILPATH
19890 do eval test x\${$as_var+set} = xset \
19891 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19904 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19907 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19908 # ----------------------------------------
19909 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19910 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19911 # script with STATUS, using 1 if that was 0.
19914 as_status=$1; test $as_status -eq 0 && as_status=1
19916 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19917 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19919 $as_echo "$as_me: error: $2" >&2
19920 as_fn_exit $as_status
19924 # as_fn_set_status STATUS
19925 # -----------------------
19926 # Set $? to STATUS, without forking.
19927 as_fn_set_status ()
19930 } # as_fn_set_status
19932 # as_fn_exit STATUS
19933 # -----------------
19934 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19938 as_fn_set_status $1
19944 # Portably unset VAR.
19947 { eval $1=; unset $1;}
19949 as_unset=as_fn_unset
19950 # as_fn_append VAR VALUE
19951 # ----------------------
19952 # Append the text in VALUE to the end of the definition contained in VAR. Take
19953 # advantage of any shell optimizations that allow amortized linear growth over
19954 # repeated appends, instead of the typical quadratic growth present in naive
19956 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19957 eval 'as_fn_append ()
19968 # as_fn_arith ARG...
19969 # ------------------
19970 # Perform arithmetic evaluation on the ARGs, and store the result in the
19971 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19972 # must be portable across $(()) and expr.
19973 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19974 eval 'as_fn_arith ()
19981 as_val=`expr "$@" || test $? -eq 1`
19986 if expr a : '\(a\)' >/dev/null 2>&1 &&
19987 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19993 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19994 as_basename=basename
19999 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20005 as_me=`$as_basename -- "$0" ||
20006 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20007 X"$0" : 'X\(//\)$' \| \
20008 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20010 sed '/^.*\/\([^/][^/]*\)\/*$/{
20024 # Avoid depending upon Character Ranges.
20025 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20026 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20027 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20028 as_cr_digits='0123456789'
20029 as_cr_alnum=$as_cr_Letters$as_cr_digits
20031 ECHO_C= ECHO_N= ECHO_T=
20032 case `echo -n x` in #(((((
20034 case `echo 'xy\c'` in
20035 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20037 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20044 rm -f conf$$ conf$$.exe conf$$.file
20045 if test -d conf$$.dir; then
20046 rm -f conf$$.dir/conf$$.file
20049 mkdir conf$$.dir 2>/dev/null
20051 if (echo >conf$$.file) 2>/dev/null; then
20052 if ln -s conf$$.file conf$$ 2>/dev/null; then
20054 # ... but there are two gotchas:
20055 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20056 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20057 # In both cases, we have to default to `cp -p'.
20058 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20060 elif ln conf$$.file conf$$ 2>/dev/null; then
20068 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20069 rmdir conf$$.dir 2>/dev/null
20074 # Create "$as_dir" as a directory, including parents if necessary.
20079 -*) as_dir=./$as_dir;;
20081 test -d "$as_dir" || eval $as_mkdir_p || {
20085 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20086 *) as_qdir=$as_dir;;
20088 as_dirs="'$as_qdir' $as_dirs"
20089 as_dir=`$as_dirname -- "$as_dir" ||
20090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20091 X"$as_dir" : 'X\(//\)[^/]' \| \
20092 X"$as_dir" : 'X\(//\)$' \| \
20093 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20094 $as_echo X"$as_dir" |
20095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20099 /^X\(\/\/\)[^/].*/{
20112 test -d "$as_dir" && break
20114 test -z "$as_dirs" || eval "mkdir $as_dirs"
20115 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20119 if mkdir -p . 2>/dev/null; then
20120 as_mkdir_p='mkdir -p "$as_dir"'
20122 test -d ./-p && rmdir ./-p
20126 if test -x / >/dev/null 2>&1; then
20127 as_test_x='test -x'
20129 if ls -dL / >/dev/null 2>&1; then
20136 if test -d "$1"; then
20142 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20143 ???[sx]*):;;*)false;;esac;fi
20147 as_executable_p=$as_test_x
20149 # Sed expression to map a string onto a valid CPP name.
20150 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20152 # Sed expression to map a string onto a valid variable name.
20153 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20157 ## ----------------------------------- ##
20158 ## Main body of $CONFIG_STATUS script. ##
20159 ## ----------------------------------- ##
20161 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20164 # Save the log message, to keep $0 and so on meaningful, and to
20165 # report actual input values of CONFIG_FILES etc. instead of their
20166 # values after options handling.
20168 This file was extended by shibboleth $as_me 2.4, which was
20169 generated by GNU Autoconf 2.67. Invocation command line was
20171 CONFIG_FILES = $CONFIG_FILES
20172 CONFIG_HEADERS = $CONFIG_HEADERS
20173 CONFIG_LINKS = $CONFIG_LINKS
20174 CONFIG_COMMANDS = $CONFIG_COMMANDS
20177 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20182 case $ac_config_files in *"
20183 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20186 case $ac_config_headers in *"
20187 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20192 # Files that config.status was made for.
20193 config_files="$ac_config_files"
20194 config_headers="$ac_config_headers"
20195 config_commands="$ac_config_commands"
20199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20201 \`$as_me' instantiates files and other configuration actions
20202 from templates according to the current configuration. Unless the files
20203 and actions are specified as TAGs, all are instantiated by default.
20205 Usage: $0 [OPTION]... [TAG]...
20207 -h, --help print this help, then exit
20208 -V, --version print version number and configuration settings, then exit
20209 --config print configuration, then exit
20210 -q, --quiet, --silent
20211 do not print progress messages
20212 -d, --debug don't remove temporary files
20213 --recheck update $as_me by reconfiguring in the same conditions
20214 --file=FILE[:TEMPLATE]
20215 instantiate the configuration file FILE
20216 --header=FILE[:TEMPLATE]
20217 instantiate the configuration header FILE
20219 Configuration files:
20222 Configuration headers:
20225 Configuration commands:
20228 Report bugs to <shibboleth-users@internet2.edu>."
20231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20232 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20234 shibboleth config.status 2.4
20235 configured by $0, generated by GNU Autoconf 2.67,
20236 with options \\"\$ac_cs_config\\"
20238 Copyright (C) 2010 Free Software Foundation, Inc.
20239 This config.status script is free software; the Free Software Foundation
20240 gives unlimited permission to copy, distribute and modify it."
20247 test -n "\$AWK" || AWK=awk
20250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20251 # The default lists apply if the user does not specify any file.
20257 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20258 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20262 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20274 # Handling of the options.
20275 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20277 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20278 $as_echo "$ac_cs_version"; exit ;;
20279 --config | --confi | --conf | --con | --co | --c )
20280 $as_echo "$ac_cs_config"; exit ;;
20281 --debug | --debu | --deb | --de | --d | -d )
20283 --file | --fil | --fi | --f )
20286 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20287 '') as_fn_error $? "missing file argument" ;;
20289 as_fn_append CONFIG_FILES " '$ac_optarg'"
20290 ac_need_defaults=false;;
20291 --header | --heade | --head | --hea )
20294 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20296 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20297 ac_need_defaults=false;;
20299 # Conflict between --help and --header
20300 as_fn_error $? "ambiguous option: \`$1'
20301 Try \`$0 --help' for more information.";;
20302 --help | --hel | -h )
20303 $as_echo "$ac_cs_usage"; exit ;;
20304 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20305 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20308 # This is an error.
20309 -*) as_fn_error $? "unrecognized option: \`$1'
20310 Try \`$0 --help' for more information." ;;
20312 *) as_fn_append ac_config_targets " $1"
20313 ac_need_defaults=false ;;
20319 ac_configure_extra_args=
20321 if $ac_cs_silent; then
20323 ac_configure_extra_args="$ac_configure_extra_args --silent"
20327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20328 if \$ac_cs_recheck; then
20329 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20331 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20332 CONFIG_SHELL='$SHELL'
20333 export CONFIG_SHELL
20338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20342 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20343 ## Running $as_me. ##
20349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20353 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20356 # The HP-UX ksh and POSIX shell print the target directory to stdout
20357 # if CDPATH is set.
20358 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20360 sed_quote_subst='$sed_quote_subst'
20361 double_quote_subst='$double_quote_subst'
20362 delay_variable_subst='$delay_variable_subst'
20363 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20364 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20365 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20366 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20367 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20368 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20369 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20370 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20371 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20372 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20373 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20374 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20375 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20376 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20377 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20378 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20379 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20380 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20381 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20382 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20383 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20384 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20385 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20386 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20387 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20388 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20389 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20390 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20391 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20392 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20393 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20394 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20395 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20396 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20397 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20398 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20399 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20400 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20401 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20402 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20403 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20404 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20405 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20406 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20407 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"`'
20408 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"`'
20409 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20410 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20411 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20412 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20413 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20414 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20415 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20416 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20417 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20418 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20419 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20420 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20421 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20422 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20423 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20424 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20425 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20426 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20427 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20428 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20429 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20430 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20431 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20432 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20433 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20434 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20435 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20436 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20437 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20438 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20439 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20440 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20441 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20442 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20443 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20444 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20445 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20446 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20447 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20448 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20449 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20450 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20451 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20452 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20453 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20454 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20455 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20456 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20457 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20458 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20459 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20460 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20461 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20462 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20463 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20464 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20465 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20466 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20467 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20468 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20469 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20470 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20471 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20472 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20473 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20474 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20475 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20476 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20477 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20478 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20479 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20480 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20481 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20482 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20483 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20484 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20485 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20486 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20487 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20488 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20489 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20490 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20491 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20492 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20493 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20494 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20495 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20496 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20497 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20498 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20499 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20500 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20501 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20502 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20503 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20504 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20505 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20506 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20507 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20508 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20509 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20510 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20511 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20512 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20513 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20514 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20515 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20516 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20517 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20518 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20519 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20520 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20521 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20522 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20523 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20524 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20525 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20526 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20527 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20528 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20529 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20530 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20531 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20532 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20533 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20536 LTCFLAGS='$LTCFLAGS'
20537 compiler='$compiler_DEFAULT'
20539 # Quote evaled strings.
20551 deplibs_check_method \
20560 lt_cv_sys_global_symbol_pipe \
20561 lt_cv_sys_global_symbol_to_cdecl \
20562 lt_cv_sys_global_symbol_to_c_name_address \
20563 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20566 lt_prog_compiler_no_builtin_flag \
20567 lt_prog_compiler_wl \
20568 lt_prog_compiler_pic \
20569 lt_prog_compiler_static \
20570 lt_cv_prog_compiler_c_o \
20578 export_dynamic_flag_spec \
20579 whole_archive_flag_spec \
20580 compiler_needs_object \
20582 allow_undefined_flag \
20583 no_undefined_flag \
20584 hardcode_libdir_flag_spec \
20585 hardcode_libdir_flag_spec_ld \
20586 hardcode_libdir_separator \
20591 variables_saved_for_relink \
20593 library_names_spec \
20598 compiler_lib_search_dirs \
20603 compiler_lib_search_path \
20606 lt_prog_compiler_no_builtin_flag_CXX \
20607 lt_prog_compiler_wl_CXX \
20608 lt_prog_compiler_pic_CXX \
20609 lt_prog_compiler_static_CXX \
20610 lt_cv_prog_compiler_c_o_CXX \
20611 export_dynamic_flag_spec_CXX \
20612 whole_archive_flag_spec_CXX \
20613 compiler_needs_object_CXX \
20615 allow_undefined_flag_CXX \
20616 no_undefined_flag_CXX \
20617 hardcode_libdir_flag_spec_CXX \
20618 hardcode_libdir_flag_spec_ld_CXX \
20619 hardcode_libdir_separator_CXX \
20620 fix_srcfile_path_CXX \
20621 exclude_expsyms_CXX \
20622 include_expsyms_CXX \
20623 file_list_spec_CXX \
20624 compiler_lib_search_dirs_CXX \
20625 predep_objects_CXX \
20626 postdep_objects_CXX \
20629 compiler_lib_search_path_CXX; do
20630 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20631 *[\\\\\\\`\\"\\\$]*)
20632 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20635 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20640 # Double-quote double-evaled strings.
20641 for var in reload_cmds \
20642 old_postinstall_cmds \
20643 old_postuninstall_cmds \
20645 extract_expsyms_cmds \
20646 old_archive_from_new_cmds \
20647 old_archive_from_expsyms_cmds \
20649 archive_expsym_cmds \
20651 module_expsym_cmds \
20652 export_symbols_cmds \
20655 postuninstall_cmds \
20657 sys_lib_search_path_spec \
20658 sys_lib_dlsearch_path_spec \
20659 old_archive_cmds_CXX \
20660 old_archive_from_new_cmds_CXX \
20661 old_archive_from_expsyms_cmds_CXX \
20663 archive_expsym_cmds_CXX \
20665 module_expsym_cmds_CXX \
20666 export_symbols_cmds_CXX \
20667 prelink_cmds_CXX; do
20668 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20669 *[\\\\\\\`\\"\\\$]*)
20670 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20673 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20678 # Fix-up fallback echo if it was mangled by the above quoting rules.
20680 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20684 ac_aux_dir='$ac_aux_dir'
20685 xsi_shell='$xsi_shell'
20686 lt_shell_append='$lt_shell_append'
20688 # See if we are running on zsh, and set the options which allow our
20689 # commands through without removal of \ escapes INIT.
20690 if test -n "\${ZSH_VERSION+set}" ; then
20691 setopt NO_GLOB_SUBST
20697 TIMESTAMP='$TIMESTAMP'
20708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20710 # Handling of arguments.
20711 for ac_config_target in $ac_config_targets
20713 case $ac_config_target in
20714 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20715 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20716 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20717 "shibboleth.spec") CONFIG_FILES="$CONFIG_FILES shibboleth.spec" ;;
20718 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
20719 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
20720 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20721 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20722 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20723 "configs/Makefile") CONFIG_FILES="$CONFIG_FILES configs/Makefile" ;;
20724 "shibsp/Makefile") CONFIG_FILES="$CONFIG_FILES shibsp/Makefile" ;;
20725 "shibd/Makefile") CONFIG_FILES="$CONFIG_FILES shibd/Makefile" ;;
20726 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
20727 "selinux/Makefile") CONFIG_FILES="$CONFIG_FILES selinux/Makefile" ;;
20728 "adfs/Makefile") CONFIG_FILES="$CONFIG_FILES adfs/Makefile" ;;
20729 "nsapi_shib/Makefile") CONFIG_FILES="$CONFIG_FILES nsapi_shib/Makefile" ;;
20730 "fastcgi/Makefile") CONFIG_FILES="$CONFIG_FILES fastcgi/Makefile" ;;
20731 "memcache-store/Makefile") CONFIG_FILES="$CONFIG_FILES memcache-store/Makefile" ;;
20732 "apache/Makefile") CONFIG_FILES="$CONFIG_FILES apache/Makefile" ;;
20733 "odbc-store/Makefile") CONFIG_FILES="$CONFIG_FILES odbc-store/Makefile" ;;
20735 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20740 # If the user did not use the arguments to specify the items to instantiate,
20741 # then the envvar interface is used. Set only those that are not.
20742 # We use the long form for the default assignment because of an extremely
20743 # bizarre bug on SunOS 4.1.3.
20744 if $ac_need_defaults; then
20745 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20746 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20747 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20750 # Have a temporary directory for convenience. Make it in the build tree
20751 # simply because there is no reason against having it here, and in addition,
20752 # creating and moving files from /tmp can sometimes cause problems.
20753 # Hook for its removal unless debugging.
20754 # Note that there is a small window in which the directory will not be cleaned:
20755 # after its creation but before its name has been assigned to `$tmp'.
20759 trap 'exit_status=$?
20760 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20762 trap 'as_fn_exit 1' 1 2 13 15
20764 # Create a (secure) tmp directory for tmp files.
20767 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20768 test -n "$tmp" && test -d "$tmp"
20771 tmp=./conf$$-$RANDOM
20772 (umask 077 && mkdir "$tmp")
20773 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20775 # Set up the scripts for CONFIG_FILES section.
20776 # No need to generate them if there are no CONFIG_FILES.
20777 # This happens for instance with `./config.status config.h'.
20778 if test -n "$CONFIG_FILES"; then
20781 ac_cr=`echo X | tr X '\015'`
20782 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20783 # But we know of no other shell where ac_cr would be empty at this
20784 # point, so we can use a bashism as a fallback.
20785 if test "x$ac_cr" = x; then
20786 eval ac_cr=\$\'\\r\'
20788 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20789 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20792 ac_cs_awk_cr=$ac_cr
20795 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20800 echo "cat >conf$$subs.awk <<_ACEOF" &&
20801 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20803 } >conf$$subs.sh ||
20804 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20805 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20807 for ac_last_try in false false false false false :; do
20808 . ./conf$$subs.sh ||
20809 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20811 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20812 if test $ac_delim_n = $ac_delim_num; then
20814 elif $ac_last_try; then
20815 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20820 rm -f conf$$subs.sh
20822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20823 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
20827 s/^/S["/; s/!.*/"]=/
20837 s/\(.\{148\}\)..*/\1/
20839 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20844 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20851 s/\(.\{148\}\)..*/\1/
20853 s/["\\]/\\&/g; s/^/"/; s/$/"/
20857 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20862 ' <conf$$subs.awk | sed '
20867 ' >>$CONFIG_STATUS || ac_write_fail=1
20868 rm -f conf$$subs.awk
20869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20871 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
20872 for (key in S) S_is_set[key] = 1
20878 nfields = split(line, field, "@")
20880 len = length(field[1])
20881 for (i = 2; i < nfields; i++) {
20883 keylen = length(key)
20884 if (S_is_set[key]) {
20886 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20887 len += length(value) + length(field[++i])
20898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20899 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20900 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20903 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20904 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20907 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20908 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20909 # trailing colons and then remove the whole line if VPATH becomes empty
20910 # (actually we leave an empty line to preserve line numbers).
20911 if test "x$srcdir" = x.; then
20912 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20931 fi # test -n "$CONFIG_FILES"
20933 # Set up the scripts for CONFIG_HEADERS section.
20934 # No need to generate them if there are no CONFIG_HEADERS.
20935 # This happens for instance with `./config.status Makefile'.
20936 if test -n "$CONFIG_HEADERS"; then
20937 cat >"$tmp/defines.awk" <<\_ACAWK ||
20941 # Transform confdefs.h into an awk script `defines.awk', embedded as
20942 # here-document in config.status, that substitutes the proper values into
20943 # config.h.in to produce config.h.
20945 # Create a delimiter string that does not exist in confdefs.h, to ease
20946 # handling of long lines.
20948 for ac_last_try in false false :; do
20949 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
20950 if test -z "$ac_t"; then
20952 elif $ac_last_try; then
20953 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20955 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20959 # For the awk script, D is an array of macro values keyed by name,
20960 # likewise P contains macro parameters if any. Preserve backslash
20961 # newline sequences.
20963 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20965 s/.\{148\}/&'"$ac_delim"'/g
20968 s/^[ ]*#[ ]*define[ ][ ]*/ /
20975 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20977 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20981 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20982 D["\1"]=" \3\\\\\\n"\\/p
20984 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20989 s/.\{148\}/&'"$ac_delim"'/g
20994 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20997 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20999 ' <confdefs.h | sed '
21000 s/'"$ac_delim"'/"\\\
21001 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21004 for (key in D) D_is_set[key] = 1
21007 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21009 split(line, arg, " ")
21010 if (arg[1] == "#") {
21014 defundef = substr(arg[1], 2)
21017 split(mac1, mac2, "(") #)
21019 prefix = substr(line, 1, index(line, defundef) - 1)
21020 if (D_is_set[macro]) {
21021 # Preserve the white space surrounding the "#".
21022 print prefix "define", macro P[macro] D[macro]
21025 # Replace #undef with comments. This is necessary, for example,
21026 # in the case of _POSIX_SOURCE, which is predefined and required
21027 # on some systems where configure will not decide to define it.
21028 if (defundef == "undef") {
21029 print "/*", prefix defundef, macro, "*/"
21037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21038 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21039 fi # test -n "$CONFIG_HEADERS"
21042 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21047 :[FHLC]) ac_mode=$ac_tag; continue;;
21049 case $ac_mode$ac_tag in
21051 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
21052 :[FH]-) ac_tag=-:-;;
21053 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21070 -) ac_f="$tmp/stdin";;
21071 *) # Look for the file first in the build tree, then in the source tree
21072 # (if the path is not absolute). The absolute path cannot be DOS-style,
21073 # because $ac_f cannot contain `:'.
21077 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21079 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
21081 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21082 as_fn_append ac_file_inputs " '$ac_f'"
21085 # Let's still pretend it is `configure' which instantiates (i.e., don't
21086 # use $as_me), people would be surprised to read:
21087 # /* config.h. Generated by config.status. */
21088 configure_input='Generated from '`
21089 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21091 if test x"$ac_file" != x-; then
21092 configure_input="$ac_file. $configure_input"
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21094 $as_echo "$as_me: creating $ac_file" >&6;}
21096 # Neutralize special characters interpreted by sed in replacement strings.
21097 case $configure_input in #(
21098 *\&* | *\|* | *\\* )
21099 ac_sed_conf_input=`$as_echo "$configure_input" |
21100 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21101 *) ac_sed_conf_input=$configure_input;;
21105 *:-:* | *:-) cat >"$tmp/stdin" \
21106 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21111 ac_dir=`$as_dirname -- "$ac_file" ||
21112 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21113 X"$ac_file" : 'X\(//\)[^/]' \| \
21114 X"$ac_file" : 'X\(//\)$' \| \
21115 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21116 $as_echo X"$ac_file" |
21117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21121 /^X\(\/\/\)[^/].*/{
21134 as_dir="$ac_dir"; as_fn_mkdir_p
21138 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21140 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21141 # A ".." for each directory in $ac_dir_suffix.
21142 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21143 case $ac_top_builddir_sub in
21144 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21145 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21148 ac_abs_top_builddir=$ac_pwd
21149 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21150 # for backward compatibility:
21151 ac_top_builddir=$ac_top_build_prefix
21154 .) # We are building in place.
21156 ac_top_srcdir=$ac_top_builddir_sub
21157 ac_abs_top_srcdir=$ac_pwd ;;
21158 [\\/]* | ?:[\\/]* ) # Absolute name.
21159 ac_srcdir=$srcdir$ac_dir_suffix;
21160 ac_top_srcdir=$srcdir
21161 ac_abs_top_srcdir=$srcdir ;;
21162 *) # Relative name.
21163 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21164 ac_top_srcdir=$ac_top_build_prefix$srcdir
21165 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21167 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21177 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21178 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21180 ac_MKDIR_P=$MKDIR_P
21182 [\\/$]* | ?:[\\/]* ) ;;
21183 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21188 # If the template does not know about datarootdir, expand it.
21189 # FIXME: This hack should be removed a few years after 2.60.
21190 ac_datarootdir_hack=; ac_datarootdir_seen=
21201 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21202 *datarootdir*) ac_datarootdir_seen=yes;;
21203 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21205 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21208 ac_datarootdir_hack='
21209 s&@datadir@&$datadir&g
21210 s&@docdir@&$docdir&g
21211 s&@infodir@&$infodir&g
21212 s&@localedir@&$localedir&g
21213 s&@mandir@&$mandir&g
21214 s&\\\${datarootdir}&$datarootdir&g' ;;
21218 # Neutralize VPATH when `$srcdir' = `.'.
21219 # Shell code in configure.ac might set extrasub.
21220 # FIXME: do we really want to maintain this feature?
21221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21222 ac_sed_extra="$ac_vpsub
21225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21227 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21228 s|@configure_input@|$ac_sed_conf_input|;t t
21229 s&@top_builddir@&$ac_top_builddir_sub&;t t
21230 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21231 s&@srcdir@&$ac_srcdir&;t t
21232 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21233 s&@top_srcdir@&$ac_top_srcdir&;t t
21234 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21235 s&@builddir@&$ac_builddir&;t t
21236 s&@abs_builddir@&$ac_abs_builddir&;t t
21237 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21238 s&@INSTALL@&$ac_INSTALL&;t t
21239 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21240 $ac_datarootdir_hack
21242 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
21243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21245 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21246 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21247 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21249 which seems to be undefined. Please make sure it is defined" >&5
21250 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21251 which seems to be undefined. Please make sure it is defined" >&2;}
21255 -) cat "$tmp/out" && rm -f "$tmp/out";;
21256 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21258 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21264 if test x"$ac_file" != x-; then
21266 $as_echo "/* $configure_input */" \
21267 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21268 } >"$tmp/config.h" \
21269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21270 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21272 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21275 mv "$tmp/config.h" "$ac_file" \
21276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21279 $as_echo "/* $configure_input */" \
21280 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
21281 || as_fn_error $? "could not create -" "$LINENO" 5
21283 # Compute "$ac_file"'s index in $config_headers.
21286 for _am_header in $config_headers :; do
21287 case $_am_header in
21288 $_am_arg | $_am_arg:* )
21291 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21294 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21295 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21296 X"$_am_arg" : 'X\(//\)[^/]' \| \
21297 X"$_am_arg" : 'X\(//\)$' \| \
21298 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21299 $as_echo X"$_am_arg" |
21300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21304 /^X\(\/\/\)[^/].*/{
21316 s/.*/./; q'`/stamp-h$_am_stamp_count
21319 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21320 $as_echo "$as_me: executing $ac_file commands" >&6;}
21325 case $ac_file$ac_mode in
21326 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21327 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21328 # are listed without --file. Let's play safe and only enable the eval
21329 # if we detect the quoting.
21330 case $CONFIG_FILES in
21331 *\'*) eval set x "$CONFIG_FILES" ;;
21332 *) set x $CONFIG_FILES ;;
21337 # Strip MF so we end up with the name of the file.
21338 mf=`echo "$mf" | sed -e 's/:.*$//'`
21339 # Check whether this is an Automake generated Makefile or not.
21340 # We used to match only the files named `Makefile.in', but
21341 # some people rename them; so instead we look at the file content.
21342 # Grep'ing the first line is not enough: some people post-process
21343 # each Makefile.in and add a new line on top of each file to say so.
21344 # Grep'ing the whole file is not good either: AIX grep has a line
21345 # limit of 2048, but all sed's we know have understand at least 4000.
21346 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21347 dirpart=`$as_dirname -- "$mf" ||
21348 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21349 X"$mf" : 'X\(//\)[^/]' \| \
21350 X"$mf" : 'X\(//\)$' \| \
21351 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21357 /^X\(\/\/\)[^/].*/{
21373 # Extract the definition of DEPDIR, am__include, and am__quote
21374 # from the Makefile without running `make'.
21375 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21376 test -z "$DEPDIR" && continue
21377 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21378 test -z "am__include" && continue
21379 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21380 # When using ansi2knr, U may be empty or an underscore; expand it
21381 U=`sed -n 's/^U = //p' < "$mf"`
21382 # Find all dependency output files, they are included files with
21383 # $(DEPDIR) in their names. We invoke sed twice because it is the
21384 # simplest approach to changing $(DEPDIR) to its actual value in the
21386 for file in `sed -n "
21387 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21388 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21389 # Make sure the directory exists.
21390 test -f "$dirpart/$file" && continue
21391 fdir=`$as_dirname -- "$file" ||
21392 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21393 X"$file" : 'X\(//\)[^/]' \| \
21394 X"$file" : 'X\(//\)$' \| \
21395 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21396 $as_echo X"$file" |
21397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21401 /^X\(\/\/\)[^/].*/{
21414 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21415 # echo "creating $dirpart/$file"
21416 echo '# dummy' > "$dirpart/$file"
21423 # See if we are running on zsh, and set the options which allow our
21424 # commands through without removal of \ escapes.
21425 if test -n "${ZSH_VERSION+set}" ; then
21426 setopt NO_GLOB_SUBST
21429 cfgfile="${ofile}T"
21430 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21433 cat <<_LT_EOF >> "$cfgfile"
21436 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21437 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21438 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21439 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21441 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21442 # 2006, 2007, 2008 Free Software Foundation, Inc.
21443 # Written by Gordon Matzigkeit, 1996
21445 # This file is part of GNU Libtool.
21447 # GNU Libtool is free software; you can redistribute it and/or
21448 # modify it under the terms of the GNU General Public License as
21449 # published by the Free Software Foundation; either version 2 of
21450 # the License, or (at your option) any later version.
21452 # As a special exception to the GNU General Public License,
21453 # if you distribute this file as part of a program or library that
21454 # is built using GNU Libtool, you may include this file under the
21455 # same distribution terms that you use for the rest of that program.
21457 # GNU Libtool is distributed in the hope that it will be useful,
21458 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21459 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21460 # GNU General Public License for more details.
21462 # You should have received a copy of the GNU General Public License
21463 # along with GNU Libtool; see the file COPYING. If not, a copy
21464 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21465 # obtained by writing to the Free Software Foundation, Inc.,
21466 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21469 # The names of the tagged configurations supported by this script.
21470 available_tags="CXX "
21472 # ### BEGIN LIBTOOL CONFIG
21474 # Whether or not to build static libraries.
21475 build_old_libs=$enable_static
21477 # Which release of libtool.m4 was used?
21478 macro_version=$macro_version
21479 macro_revision=$macro_revision
21481 # Whether or not to build shared libraries.
21482 build_libtool_libs=$enable_shared
21484 # What type of objects to build.
21487 # Whether or not to optimize for fast installation.
21488 fast_install=$enable_fast_install
21491 host_alias=$host_alias
21495 # The build system.
21496 build_alias=$build_alias
21500 # A sed program that does not truncate output.
21503 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21504 Xsed="\$SED -e 1s/^X//"
21506 # A grep program that handles long lines.
21512 # A literal string matcher.
21515 # A BSD- or MS-compatible name lister.
21518 # Whether we need soft or hard links.
21521 # What is the maximum length of a command?
21522 max_cmd_len=$max_cmd_len
21524 # Object file suffix (normally "o").
21527 # Executable file suffix (normally "").
21530 # whether the shell understands "unset".
21533 # turn spaces into newlines.
21536 # turn newlines into spaces.
21539 # How to create reloadable object files.
21540 reload_flag=$lt_reload_flag
21541 reload_cmds=$lt_reload_cmds
21543 # An object symbol dumper.
21544 OBJDUMP=$lt_OBJDUMP
21546 # Method to check whether dependent libraries are shared objects.
21547 deplibs_check_method=$lt_deplibs_check_method
21549 # Command to use when deplibs_check_method == "file_magic".
21550 file_magic_cmd=$lt_file_magic_cmd
21554 AR_FLAGS=$lt_AR_FLAGS
21556 # A symbol stripping program.
21559 # Commands used to install an old-style archive.
21561 old_postinstall_cmds=$lt_old_postinstall_cmds
21562 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21567 # LTCC compiler flags.
21568 LTCFLAGS=$lt_CFLAGS
21570 # Take the output of nm and produce a listing of raw symbols and C names.
21571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21573 # Transform the output of nm in a proper C declaration.
21574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21576 # Transform the output of nm in a C name address pair.
21577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21579 # Transform the output of nm in a C name address pair when lib prefix is needed.
21580 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21582 # The name of the directory that contains temporary libtool files.
21585 # Shell to use when invoking shell scripts.
21588 # An echo program that does not interpret backslashes.
21591 # Used to examine libraries when file_magic_cmd begins with "file".
21592 MAGIC_CMD=$MAGIC_CMD
21594 # Must we lock files when doing compilation?
21595 need_locks=$lt_need_locks
21597 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21598 DSYMUTIL=$lt_DSYMUTIL
21600 # Tool to change global to local symbols on Mac OS X.
21603 # Tool to manipulate fat objects and archives on Mac OS X.
21606 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21609 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21610 OTOOL64=$lt_OTOOL64
21612 # Old archive suffix (normally "a").
21615 # Shared library suffix (normally ".so").
21616 shrext_cmds=$lt_shrext_cmds
21618 # The commands to extract the exported symbol list from a shared archive.
21619 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21621 # Variables whose values should be saved in libtool wrapper scripts and
21622 # restored at link time.
21623 variables_saved_for_relink=$lt_variables_saved_for_relink
21625 # Do we need the "lib" prefix for modules?
21626 need_lib_prefix=$need_lib_prefix
21628 # Do we need a version for libraries?
21629 need_version=$need_version
21631 # Library versioning type.
21632 version_type=$version_type
21634 # Shared library runtime path variable.
21635 runpath_var=$runpath_var
21637 # Shared library path variable.
21638 shlibpath_var=$shlibpath_var
21640 # Is shlibpath searched before the hard-coded library search path?
21641 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21643 # Format of library name prefix.
21644 libname_spec=$lt_libname_spec
21646 # List of archive names. First name is the real one, the rest are links.
21647 # The last name is the one that the linker finds with -lNAME
21648 library_names_spec=$lt_library_names_spec
21650 # The coded name of the library, if different from the real name.
21651 soname_spec=$lt_soname_spec
21653 # Command to use after installation of a shared archive.
21654 postinstall_cmds=$lt_postinstall_cmds
21656 # Command to use after uninstallation of a shared archive.
21657 postuninstall_cmds=$lt_postuninstall_cmds
21659 # Commands used to finish a libtool library installation in a directory.
21660 finish_cmds=$lt_finish_cmds
21662 # As "finish_cmds", except a single script fragment to be evaled but
21664 finish_eval=$lt_finish_eval
21666 # Whether we should hardcode library paths into libraries.
21667 hardcode_into_libs=$hardcode_into_libs
21669 # Compile-time system search path for libraries.
21670 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21672 # Run-time system search path for libraries.
21673 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21675 # Whether dlopen is supported.
21676 dlopen_support=$enable_dlopen
21678 # Whether dlopen of programs is supported.
21679 dlopen_self=$enable_dlopen_self
21681 # Whether dlopen of statically linked programs is supported.
21682 dlopen_self_static=$enable_dlopen_self_static
21684 # Commands to strip libraries.
21685 old_striplib=$lt_old_striplib
21686 striplib=$lt_striplib
21689 # The linker used to build libraries.
21692 # Commands used to build an old-style archive.
21693 old_archive_cmds=$lt_old_archive_cmds
21695 # A language specific compiler.
21698 # Is the compiler the GNU compiler?
21701 # Compiler flag to turn off builtin functions.
21702 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21704 # How to pass a linker flag through the compiler.
21705 wl=$lt_lt_prog_compiler_wl
21707 # Additional compiler flags for building library objects.
21708 pic_flag=$lt_lt_prog_compiler_pic
21710 # Compiler flag to prevent dynamic linking.
21711 link_static_flag=$lt_lt_prog_compiler_static
21713 # Does compiler simultaneously support -c and -o options?
21714 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21716 # Whether or not to add -lc for building shared libraries.
21717 build_libtool_need_lc=$archive_cmds_need_lc
21719 # Whether or not to disallow shared libs when runtime libs are static.
21720 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21722 # Compiler flag to allow reflexive dlopens.
21723 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21725 # Compiler flag to generate shared objects directly from archives.
21726 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21728 # Whether the compiler copes with passing no objects directly.
21729 compiler_needs_object=$lt_compiler_needs_object
21731 # Create an old-style archive from a shared archive.
21732 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21734 # Create a temporary old-style archive to link instead of a shared archive.
21735 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21737 # Commands used to build a shared archive.
21738 archive_cmds=$lt_archive_cmds
21739 archive_expsym_cmds=$lt_archive_expsym_cmds
21741 # Commands used to build a loadable module if different from building
21742 # a shared archive.
21743 module_cmds=$lt_module_cmds
21744 module_expsym_cmds=$lt_module_expsym_cmds
21746 # Whether we are building with GNU ld or not.
21747 with_gnu_ld=$lt_with_gnu_ld
21749 # Flag that allows shared libraries with undefined symbols to be built.
21750 allow_undefined_flag=$lt_allow_undefined_flag
21752 # Flag that enforces no undefined symbols.
21753 no_undefined_flag=$lt_no_undefined_flag
21755 # Flag to hardcode \$libdir into a binary during linking.
21756 # This must work even if \$libdir does not exist
21757 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21759 # If ld is used when linking, flag to hardcode \$libdir into a binary
21760 # during linking. This must work even if \$libdir does not exist.
21761 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21763 # Whether we need a single "-rpath" flag with a separated argument.
21764 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21766 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21767 # DIR into the resulting binary.
21768 hardcode_direct=$hardcode_direct
21770 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21771 # DIR into the resulting binary and the resulting library dependency is
21772 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21773 # library is relocated.
21774 hardcode_direct_absolute=$hardcode_direct_absolute
21776 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21777 # into the resulting binary.
21778 hardcode_minus_L=$hardcode_minus_L
21780 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21781 # into the resulting binary.
21782 hardcode_shlibpath_var=$hardcode_shlibpath_var
21784 # Set to "yes" if building a shared library automatically hardcodes DIR
21785 # into the library and all subsequent libraries and executables linked
21787 hardcode_automatic=$hardcode_automatic
21789 # Set to yes if linker adds runtime paths of dependent libraries
21790 # to runtime path list.
21791 inherit_rpath=$inherit_rpath
21793 # Whether libtool must link a program against all its dependency libraries.
21794 link_all_deplibs=$link_all_deplibs
21796 # Fix the shell variable \$srcfile for the compiler.
21797 fix_srcfile_path=$lt_fix_srcfile_path
21799 # Set to "yes" if exported symbols are required.
21800 always_export_symbols=$always_export_symbols
21802 # The commands to list exported symbols.
21803 export_symbols_cmds=$lt_export_symbols_cmds
21805 # Symbols that should not be listed in the preloaded symbols.
21806 exclude_expsyms=$lt_exclude_expsyms
21808 # Symbols that must always be exported.
21809 include_expsyms=$lt_include_expsyms
21811 # Commands necessary for linking programs (against libraries) with templates.
21812 prelink_cmds=$lt_prelink_cmds
21814 # Specify filename containing input files.
21815 file_list_spec=$lt_file_list_spec
21817 # How to hardcode a shared library path into an executable.
21818 hardcode_action=$hardcode_action
21820 # The directories searched by this compiler when creating a shared library.
21821 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21823 # Dependencies to place before and after the objects being linked to
21824 # create a shared library.
21825 predep_objects=$lt_predep_objects
21826 postdep_objects=$lt_postdep_objects
21827 predeps=$lt_predeps
21828 postdeps=$lt_postdeps
21830 # The library search path used internally by the compiler when linking
21831 # a shared library.
21832 compiler_lib_search_path=$lt_compiler_lib_search_path
21834 # ### END LIBTOOL CONFIG
21840 cat <<\_LT_EOF >> "$cfgfile"
21841 # AIX sometimes has problems with the GCC collect2 program. For some
21842 # reason, if we set the COLLECT_NAMES environment variable, the problems
21843 # vanish in a puff of smoke.
21844 if test "X${COLLECT_NAMES+set}" != Xset; then
21846 export COLLECT_NAMES
21853 ltmain="$ac_aux_dir/ltmain.sh"
21856 # We use sed instead of cat because bash on DJGPP gets confused if
21857 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21858 # text mode, it properly converts lines to CR/LF. This bash problem
21859 # is reportedly fixed, but why not run on old versions too?
21860 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21861 || (rm -f "$cfgfile"; exit 1)
21865 cat << \_LT_EOF >> "$cfgfile"
21867 # func_dirname file append nondir_replacement
21868 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21869 # otherwise set result to NONDIR_REPLACEMENT.
21873 */*) func_dirname_result="${1%/*}${2}" ;;
21874 * ) func_dirname_result="${3}" ;;
21878 # func_basename file
21881 func_basename_result="${1##*/}"
21884 # func_dirname_and_basename file append nondir_replacement
21885 # perform func_basename and func_dirname in a single function
21887 # dirname: Compute the dirname of FILE. If nonempty,
21888 # add APPEND to the result, otherwise set result
21889 # to NONDIR_REPLACEMENT.
21890 # value returned in "$func_dirname_result"
21891 # basename: Compute filename of FILE.
21892 # value retuned in "$func_basename_result"
21893 # Implementation must be kept synchronized with func_dirname
21894 # and func_basename. For efficiency, we do not delegate to
21895 # those functions but instead duplicate the functionality here.
21896 func_dirname_and_basename ()
21899 */*) func_dirname_result="${1%/*}${2}" ;;
21900 * ) func_dirname_result="${3}" ;;
21902 func_basename_result="${1##*/}"
21905 # func_stripname prefix suffix name
21906 # strip PREFIX and SUFFIX off of NAME.
21907 # PREFIX and SUFFIX must not contain globbing or regex special
21908 # characters, hashes, percent signs, but SUFFIX may contain a leading
21909 # dot (in which case that matches only a dot).
21912 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21913 # positional parameters, so assign one to ordinary parameter first.
21914 func_stripname_result=${3}
21915 func_stripname_result=${func_stripname_result#"${1}"}
21916 func_stripname_result=${func_stripname_result%"${2}"}
21922 func_opt_split_opt=${1%%=*}
21923 func_opt_split_arg=${1#*=}
21930 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21931 *) func_lo2o_result=${1} ;;
21935 # func_xform libobj-or-source
21938 func_xform_result=${1%.*}.lo
21941 # func_arith arithmetic-term...
21944 func_arith_result=$(( $* ))
21948 # STRING may not start with a hyphen.
21951 func_len_result=${#1}
21956 *) # Bourne compatible functions.
21957 cat << \_LT_EOF >> "$cfgfile"
21959 # func_dirname file append nondir_replacement
21960 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21961 # otherwise set result to NONDIR_REPLACEMENT.
21964 # Extract subdirectory from the argument.
21965 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21966 if test "X$func_dirname_result" = "X${1}"; then
21967 func_dirname_result="${3}"
21969 func_dirname_result="$func_dirname_result${2}"
21973 # func_basename file
21976 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
21980 # func_stripname prefix suffix name
21981 # strip PREFIX and SUFFIX off of NAME.
21982 # PREFIX and SUFFIX must not contain globbing or regex special
21983 # characters, hashes, percent signs, but SUFFIX may contain a leading
21984 # dot (in which case that matches only a dot).
21985 # func_strip_suffix prefix name
21989 .*) func_stripname_result=`$ECHO "X${3}" \
21990 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21991 *) func_stripname_result=`$ECHO "X${3}" \
21992 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21997 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21998 my_sed_long_arg='1s/^-[^=]*=//'
22003 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22004 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22010 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22013 # func_xform libobj-or-source
22016 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22019 # func_arith arithmetic-term...
22022 func_arith_result=`expr "$@"`
22026 # STRING may not start with a hyphen.
22029 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22035 case $lt_shell_append in
22037 cat << \_LT_EOF >> "$cfgfile"
22039 # func_append var value
22040 # Append VALUE to the end of shell variable VAR.
22048 cat << \_LT_EOF >> "$cfgfile"
22050 # func_append var value
22051 # Append VALUE to the end of shell variable VAR.
22062 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22063 || (rm -f "$cfgfile"; exit 1)
22065 mv -f "$cfgfile" "$ofile" ||
22066 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22070 cat <<_LT_EOF >> "$ofile"
22072 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22074 # The linker used to build libraries.
22077 # Commands used to build an old-style archive.
22078 old_archive_cmds=$lt_old_archive_cmds_CXX
22080 # A language specific compiler.
22081 CC=$lt_compiler_CXX
22083 # Is the compiler the GNU compiler?
22086 # Compiler flag to turn off builtin functions.
22087 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22089 # How to pass a linker flag through the compiler.
22090 wl=$lt_lt_prog_compiler_wl_CXX
22092 # Additional compiler flags for building library objects.
22093 pic_flag=$lt_lt_prog_compiler_pic_CXX
22095 # Compiler flag to prevent dynamic linking.
22096 link_static_flag=$lt_lt_prog_compiler_static_CXX
22098 # Does compiler simultaneously support -c and -o options?
22099 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22101 # Whether or not to add -lc for building shared libraries.
22102 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22104 # Whether or not to disallow shared libs when runtime libs are static.
22105 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22107 # Compiler flag to allow reflexive dlopens.
22108 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22110 # Compiler flag to generate shared objects directly from archives.
22111 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22113 # Whether the compiler copes with passing no objects directly.
22114 compiler_needs_object=$lt_compiler_needs_object_CXX
22116 # Create an old-style archive from a shared archive.
22117 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22119 # Create a temporary old-style archive to link instead of a shared archive.
22120 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22122 # Commands used to build a shared archive.
22123 archive_cmds=$lt_archive_cmds_CXX
22124 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22126 # Commands used to build a loadable module if different from building
22127 # a shared archive.
22128 module_cmds=$lt_module_cmds_CXX
22129 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22131 # Whether we are building with GNU ld or not.
22132 with_gnu_ld=$lt_with_gnu_ld_CXX
22134 # Flag that allows shared libraries with undefined symbols to be built.
22135 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22137 # Flag that enforces no undefined symbols.
22138 no_undefined_flag=$lt_no_undefined_flag_CXX
22140 # Flag to hardcode \$libdir into a binary during linking.
22141 # This must work even if \$libdir does not exist
22142 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22144 # If ld is used when linking, flag to hardcode \$libdir into a binary
22145 # during linking. This must work even if \$libdir does not exist.
22146 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22148 # Whether we need a single "-rpath" flag with a separated argument.
22149 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22151 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22152 # DIR into the resulting binary.
22153 hardcode_direct=$hardcode_direct_CXX
22155 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22156 # DIR into the resulting binary and the resulting library dependency is
22157 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22158 # library is relocated.
22159 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22161 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22162 # into the resulting binary.
22163 hardcode_minus_L=$hardcode_minus_L_CXX
22165 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22166 # into the resulting binary.
22167 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22169 # Set to "yes" if building a shared library automatically hardcodes DIR
22170 # into the library and all subsequent libraries and executables linked
22172 hardcode_automatic=$hardcode_automatic_CXX
22174 # Set to yes if linker adds runtime paths of dependent libraries
22175 # to runtime path list.
22176 inherit_rpath=$inherit_rpath_CXX
22178 # Whether libtool must link a program against all its dependency libraries.
22179 link_all_deplibs=$link_all_deplibs_CXX
22181 # Fix the shell variable \$srcfile for the compiler.
22182 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22184 # Set to "yes" if exported symbols are required.
22185 always_export_symbols=$always_export_symbols_CXX
22187 # The commands to list exported symbols.
22188 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22190 # Symbols that should not be listed in the preloaded symbols.
22191 exclude_expsyms=$lt_exclude_expsyms_CXX
22193 # Symbols that must always be exported.
22194 include_expsyms=$lt_include_expsyms_CXX
22196 # Commands necessary for linking programs (against libraries) with templates.
22197 prelink_cmds=$lt_prelink_cmds_CXX
22199 # Specify filename containing input files.
22200 file_list_spec=$lt_file_list_spec_CXX
22202 # How to hardcode a shared library path into an executable.
22203 hardcode_action=$hardcode_action_CXX
22205 # The directories searched by this compiler when creating a shared library.
22206 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22208 # Dependencies to place before and after the objects being linked to
22209 # create a shared library.
22210 predep_objects=$lt_predep_objects_CXX
22211 postdep_objects=$lt_postdep_objects_CXX
22212 predeps=$lt_predeps_CXX
22213 postdeps=$lt_postdeps_CXX
22215 # The library search path used internally by the compiler when linking
22216 # a shared library.
22217 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22219 # ### END LIBTOOL TAG CONFIG: CXX
22230 ac_clean_files=$ac_clean_files_save
22232 test $ac_write_fail = 0 ||
22233 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22236 # configure is writing to config.log, and then calls config.status.
22237 # config.status does its own redirection, appending to config.log.
22238 # Unfortunately, on DOS this fails, as config.log is still kept open
22239 # by configure, so config.status won't be able to write to it; its
22240 # output is simply discarded. So we exec the FD to /dev/null,
22241 # effectively closing config.log, so it can be properly (re)opened and
22242 # appended to by config.status. When coming back to configure, we
22243 # need to make the FD available again.
22244 if test "$no_create" != yes; then
22246 ac_config_status_args=
22247 test "$silent" = yes &&
22248 ac_config_status_args="$ac_config_status_args --quiet"
22250 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22252 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22253 # would make configure fail if this is the last instruction.
22254 $ac_cs_success || as_fn_exit 1
22256 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22258 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}