2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for opensaml 2.5.0.
5 # Report bugs to <https://issues.shibboleth.net/>.
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: https://issues.shibboleth.net/ 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='opensaml'
703 PACKAGE_TARNAME='opensaml'
704 PACKAGE_VERSION='2.5.0'
705 PACKAGE_STRING='opensaml 2.5.0'
706 PACKAGE_BUGREPORT='https://issues.shibboleth.net/'
709 ac_unique_file="saml"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars='am__EXEEXT_FALSE
760 DISTCHECK_CONFIGURE_FLAGS
872 INSTALL_STRIP_PROGRAM
914 program_transform_name
927 enable_option_checking
932 enable_dependency_tracking
956 ac_precious_vars='build_alias
973 # Initialize some variables set by options.
975 ac_init_version=false
976 ac_unrecognized_opts=
978 # The variables have the same names as the options, with
979 # dashes changed to underlines.
987 program_transform_name=s,x,x,
995 # Installation directory options.
996 # These are left unexpanded so users can "make install exec_prefix=/foo"
997 # and all the variables that are supposed to be based on exec_prefix
998 # by default will actually change.
999 # Use braces instead of parens because sh, perl, etc. also accept them.
1000 # (The list follows the same order as the GNU Coding Standards.)
1001 bindir='${exec_prefix}/bin'
1002 sbindir='${exec_prefix}/sbin'
1003 libexecdir='${exec_prefix}/libexec'
1004 datarootdir='${prefix}/share'
1005 datadir='${datarootdir}'
1006 sysconfdir='${prefix}/etc'
1007 sharedstatedir='${prefix}/com'
1008 localstatedir='${prefix}/var'
1009 includedir='${prefix}/include'
1010 oldincludedir='/usr/include'
1011 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1012 infodir='${datarootdir}/info'
1017 libdir='${exec_prefix}/lib'
1018 localedir='${datarootdir}/locale'
1019 mandir='${datarootdir}/man'
1025 # If the previous option needs an argument, assign it.
1026 if test -n "$ac_prev"; then
1027 eval $ac_prev=\$ac_option
1033 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1038 # Accept the important Cygnus configure options, so we can diagnose typos.
1040 case $ac_dashdash$ac_option in
1044 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1046 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1047 bindir=$ac_optarg ;;
1049 -build | --build | --buil | --bui | --bu)
1050 ac_prev=build_alias ;;
1051 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1052 build_alias=$ac_optarg ;;
1054 -cache-file | --cache-file | --cache-fil | --cache-fi \
1055 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1056 ac_prev=cache_file ;;
1057 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1058 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1059 cache_file=$ac_optarg ;;
1061 --config-cache | -C)
1062 cache_file=config.cache ;;
1064 -datadir | --datadir | --datadi | --datad)
1066 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1067 datadir=$ac_optarg ;;
1069 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1070 | --dataroo | --dataro | --datar)
1071 ac_prev=datarootdir ;;
1072 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1073 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1074 datarootdir=$ac_optarg ;;
1076 -disable-* | --disable-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error $? "invalid feature name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1085 "enable_$ac_useropt"
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1090 eval enable_$ac_useropt=no ;;
1092 -docdir | --docdir | --docdi | --doc | --do)
1094 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1095 docdir=$ac_optarg ;;
1097 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1099 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1100 dvidir=$ac_optarg ;;
1102 -enable-* | --enable-*)
1103 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106 as_fn_error $? "invalid feature name: $ac_useropt"
1107 ac_useropt_orig=$ac_useropt
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1111 "enable_$ac_useropt"
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114 ac_unrecognized_sep=', ';;
1116 eval enable_$ac_useropt=\$ac_optarg ;;
1118 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1119 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1120 | --exec | --exe | --ex)
1121 ac_prev=exec_prefix ;;
1122 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1123 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1124 | --exec=* | --exe=* | --ex=*)
1125 exec_prefix=$ac_optarg ;;
1127 -gas | --gas | --ga | --g)
1128 # Obsolete; use --with-gas.
1131 -help | --help | --hel | --he | -h)
1132 ac_init_help=long ;;
1133 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1134 ac_init_help=recursive ;;
1135 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1136 ac_init_help=short ;;
1138 -host | --host | --hos | --ho)
1139 ac_prev=host_alias ;;
1140 -host=* | --host=* | --hos=* | --ho=*)
1141 host_alias=$ac_optarg ;;
1143 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1145 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1147 htmldir=$ac_optarg ;;
1149 -includedir | --includedir | --includedi | --included | --include \
1150 | --includ | --inclu | --incl | --inc)
1151 ac_prev=includedir ;;
1152 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1153 | --includ=* | --inclu=* | --incl=* | --inc=*)
1154 includedir=$ac_optarg ;;
1156 -infodir | --infodir | --infodi | --infod | --info | --inf)
1158 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1159 infodir=$ac_optarg ;;
1161 -libdir | --libdir | --libdi | --libd)
1163 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1164 libdir=$ac_optarg ;;
1166 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1167 | --libexe | --libex | --libe)
1168 ac_prev=libexecdir ;;
1169 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1170 | --libexe=* | --libex=* | --libe=*)
1171 libexecdir=$ac_optarg ;;
1173 -localedir | --localedir | --localedi | --localed | --locale)
1174 ac_prev=localedir ;;
1175 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1176 localedir=$ac_optarg ;;
1178 -localstatedir | --localstatedir | --localstatedi | --localstated \
1179 | --localstate | --localstat | --localsta | --localst | --locals)
1180 ac_prev=localstatedir ;;
1181 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1182 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1183 localstatedir=$ac_optarg ;;
1185 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1187 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1188 mandir=$ac_optarg ;;
1190 -nfp | --nfp | --nf)
1191 # Obsolete; use --without-fp.
1194 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1195 | --no-cr | --no-c | -n)
1198 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1199 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1202 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1203 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1204 | --oldin | --oldi | --old | --ol | --o)
1205 ac_prev=oldincludedir ;;
1206 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1207 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1208 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1209 oldincludedir=$ac_optarg ;;
1211 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1213 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1214 prefix=$ac_optarg ;;
1216 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1217 | --program-pre | --program-pr | --program-p)
1218 ac_prev=program_prefix ;;
1219 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1220 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1221 program_prefix=$ac_optarg ;;
1223 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1224 | --program-suf | --program-su | --program-s)
1225 ac_prev=program_suffix ;;
1226 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1227 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1228 program_suffix=$ac_optarg ;;
1230 -program-transform-name | --program-transform-name \
1231 | --program-transform-nam | --program-transform-na \
1232 | --program-transform-n | --program-transform- \
1233 | --program-transform | --program-transfor \
1234 | --program-transfo | --program-transf \
1235 | --program-trans | --program-tran \
1236 | --progr-tra | --program-tr | --program-t)
1237 ac_prev=program_transform_name ;;
1238 -program-transform-name=* | --program-transform-name=* \
1239 | --program-transform-nam=* | --program-transform-na=* \
1240 | --program-transform-n=* | --program-transform-=* \
1241 | --program-transform=* | --program-transfor=* \
1242 | --program-transfo=* | --program-transf=* \
1243 | --program-trans=* | --program-tran=* \
1244 | --progr-tra=* | --program-tr=* | --program-t=*)
1245 program_transform_name=$ac_optarg ;;
1247 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1249 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1250 pdfdir=$ac_optarg ;;
1252 -psdir | --psdir | --psdi | --psd | --ps)
1254 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1258 | -silent | --silent | --silen | --sile | --sil)
1261 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1263 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1265 sbindir=$ac_optarg ;;
1267 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1268 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1269 | --sharedst | --shareds | --shared | --share | --shar \
1271 ac_prev=sharedstatedir ;;
1272 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1273 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1274 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1276 sharedstatedir=$ac_optarg ;;
1278 -site | --site | --sit)
1280 -site=* | --site=* | --sit=*)
1283 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1285 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1286 srcdir=$ac_optarg ;;
1288 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1289 | --syscon | --sysco | --sysc | --sys | --sy)
1290 ac_prev=sysconfdir ;;
1291 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1292 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1293 sysconfdir=$ac_optarg ;;
1295 -target | --target | --targe | --targ | --tar | --ta | --t)
1296 ac_prev=target_alias ;;
1297 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1298 target_alias=$ac_optarg ;;
1300 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1303 -version | --version | --versio | --versi | --vers | -V)
1304 ac_init_version=: ;;
1307 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310 as_fn_error $? "invalid package name: $ac_useropt"
1311 ac_useropt_orig=$ac_useropt
1312 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313 case $ac_user_opts in
1317 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1318 ac_unrecognized_sep=', ';;
1320 eval with_$ac_useropt=\$ac_optarg ;;
1322 -without-* | --without-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1336 eval with_$ac_useropt=no ;;
1339 # Obsolete; use --with-x.
1342 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1343 | --x-incl | --x-inc | --x-in | --x-i)
1344 ac_prev=x_includes ;;
1345 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1346 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1347 x_includes=$ac_optarg ;;
1349 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1350 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1351 ac_prev=x_libraries ;;
1352 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1353 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1354 x_libraries=$ac_optarg ;;
1356 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1357 Try \`$0 --help' for more information"
1361 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1362 # Reject names that are not valid shell variable names.
1363 case $ac_envvar in #(
1364 '' | [0-9]* | *[!_$as_cr_alnum]* )
1365 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1367 eval $ac_envvar=\$ac_optarg
1368 export $ac_envvar ;;
1371 # FIXME: should be removed in autoconf 3.0.
1372 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1381 if test -n "$ac_prev"; then
1382 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1383 as_fn_error $? "missing argument to $ac_option"
1386 if test -n "$ac_unrecognized_opts"; then
1387 case $enable_option_checking in
1389 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1390 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1394 # Check all directory arguments for consistency.
1395 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1396 datadir sysconfdir sharedstatedir localstatedir includedir \
1397 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1398 libdir localedir mandir
1400 eval ac_val=\$$ac_var
1401 # Remove trailing slashes.
1404 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1405 eval $ac_var=\$ac_val;;
1407 # Be sure to have absolute directory names.
1409 [\\/$]* | ?:[\\/]* ) continue;;
1410 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1412 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1415 # There might be people who depend on the old broken behavior: `$host'
1416 # used to hold the argument of --host etc.
1417 # FIXME: To remove some day.
1420 target=$target_alias
1422 # FIXME: To remove some day.
1423 if test "x$host_alias" != x; then
1424 if test "x$build_alias" = x; then
1425 cross_compiling=maybe
1426 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1427 If a cross compiler is detected then cross compile mode will be used" >&2
1428 elif test "x$build_alias" != "x$host_alias"; then
1434 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1436 test "$silent" = yes && exec 6>/dev/null
1439 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1440 ac_ls_di=`ls -di .` &&
1441 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1442 as_fn_error $? "working directory cannot be determined"
1443 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1444 as_fn_error $? "pwd does not report name of working directory"
1447 # Find the source files, if location was not specified.
1448 if test -z "$srcdir"; then
1449 ac_srcdir_defaulted=yes
1450 # Try the directory containing this script, then the parent directory.
1451 ac_confdir=`$as_dirname -- "$as_myself" ||
1452 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1453 X"$as_myself" : 'X\(//\)[^/]' \| \
1454 X"$as_myself" : 'X\(//\)$' \| \
1455 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1456 $as_echo X"$as_myself" |
1457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1475 if test ! -r "$srcdir/$ac_unique_file"; then
1479 ac_srcdir_defaulted=no
1481 if test ! -r "$srcdir/$ac_unique_file"; then
1482 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1483 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1485 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1487 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1489 # When building in place, set srcdir=.
1490 if test "$ac_abs_confdir" = "$ac_pwd"; then
1493 # Remove unnecessary trailing slashes from srcdir.
1494 # Double slashes in file names in object file debugging info
1495 # mess up M-x gdb in Emacs.
1497 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1499 for ac_var in $ac_precious_vars; do
1500 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1501 eval ac_env_${ac_var}_value=\$${ac_var}
1502 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1503 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1507 # Report the --help message.
1509 if test "$ac_init_help" = "long"; then
1510 # Omit some internal or obsolete options to make the list less imposing.
1511 # This message is too long to be a string in the A/UX 3.1 sh.
1513 \`configure' configures opensaml 2.5.0 to adapt to many kinds of systems.
1515 Usage: $0 [OPTION]... [VAR=VALUE]...
1517 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1518 VAR=VALUE. See below for descriptions of some of the useful variables.
1520 Defaults for the options are specified in brackets.
1523 -h, --help display this help and exit
1524 --help=short display options specific to this package
1525 --help=recursive display the short help of all the included packages
1526 -V, --version display version information and exit
1527 -q, --quiet, --silent do not print \`checking ...' messages
1528 --cache-file=FILE cache test results in FILE [disabled]
1529 -C, --config-cache alias for \`--cache-file=config.cache'
1530 -n, --no-create do not create output files
1531 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1533 Installation directories:
1534 --prefix=PREFIX install architecture-independent files in PREFIX
1535 [$ac_default_prefix]
1536 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1539 By default, \`make install' will install all the files in
1540 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1541 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1542 for instance \`--prefix=\$HOME'.
1544 For better control, use the options below.
1546 Fine tuning of the installation directories:
1547 --bindir=DIR user executables [EPREFIX/bin]
1548 --sbindir=DIR system admin executables [EPREFIX/sbin]
1549 --libexecdir=DIR program executables [EPREFIX/libexec]
1550 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1551 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1552 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1553 --libdir=DIR object code libraries [EPREFIX/lib]
1554 --includedir=DIR C header files [PREFIX/include]
1555 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1556 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1557 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1558 --infodir=DIR info documentation [DATAROOTDIR/info]
1559 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1560 --mandir=DIR man documentation [DATAROOTDIR/man]
1561 --docdir=DIR documentation root [DATAROOTDIR/doc/opensaml]
1562 --htmldir=DIR html documentation [DOCDIR]
1563 --dvidir=DIR dvi documentation [DOCDIR]
1564 --pdfdir=DIR pdf documentation [DOCDIR]
1565 --psdir=DIR ps documentation [DOCDIR]
1571 --program-prefix=PREFIX prepend PREFIX to installed program names
1572 --program-suffix=SUFFIX append SUFFIX to installed program names
1573 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1576 --build=BUILD configure for building on BUILD [guessed]
1577 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1581 if test -n "$ac_init_help"; then
1582 case $ac_init_help in
1583 short | recursive ) echo "Configuration of opensaml 2.5.0:";;
1588 --disable-option-checking ignore unrecognized --enable/--with options
1589 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1590 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1591 --enable-static[=PKGS] build static libraries [default=no]
1592 --enable-shared[=PKGS] build shared libraries [default=yes]
1593 --enable-fast-install[=PKGS]
1594 optimize for fast installation [default=yes]
1595 --disable-dependency-tracking speeds up one-time build
1596 --enable-dependency-tracking do not reject slow dependency extractors
1597 --disable-libtool-lock avoid locking (might break parallel builds)
1598 --disable-doxygen-doc don't generate any doxygen documentation
1599 --enable-doxygen-dot generate graphics for doxygen documentation
1600 --enable-doxygen-man generate doxygen manual pages
1601 --enable-doxygen-rtf generate doxygen RTF documentation
1602 --enable-doxygen-xml generate doxygen XML documentation
1603 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1604 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1606 --disable-doxygen-html don't generate doxygen plain HTML documentation
1607 --enable-doxygen-ps generate doxygen PostScript documentation
1608 --enable-doxygen-pdf generate doxygen PDF documentation
1609 --enable-debug Have GCC compile with symbols (Default = no)
1612 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1613 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1614 --with-pic try to use only PIC/non-PIC objects [default=use
1616 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1617 --with-zlib=PATH where zlib is installed
1618 --with-openssl=PATH where openssl is installed
1619 --with-boost=DIR prefix of Boost [guess]
1620 --with-log4shib=PATH where log4shib-config is installed
1621 --with-log4cpp=PATH where log4cpp-config is installed
1622 --with-xerces=PATH where xerces-c is installed
1623 --with-xmlsec=PATH where xmlsec is installed
1624 --with-xmltooling=PATH where xmltooling is installed
1625 --with-cxxtest=PATH where cxxtest is installed
1627 Some influential environment variables:
1628 CC C compiler command
1629 CFLAGS C compiler flags
1630 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1631 nonstandard directory <lib dir>
1632 LIBS libraries to pass to the linker, e.g. -l<library>
1633 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1634 you have headers in a nonstandard directory <include dir>
1637 a4wide (default), a4, letter, legal or executive
1638 CXX C++ compiler command
1639 CXXFLAGS C++ compiler flags
1640 CXXCPP C++ preprocessor
1641 BOOST_ROOT Location of Boost installation
1643 Use these variables to override the choices made by `configure' or to help
1644 it to find libraries and programs with nonstandard names/locations.
1646 Report bugs to <https://issues.shibboleth.net/>.
1651 if test "$ac_init_help" = "recursive"; then
1652 # If there are subdirs, report their specific --help.
1653 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1654 test -d "$ac_dir" ||
1655 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1663 # A ".." for each directory in $ac_dir_suffix.
1664 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1665 case $ac_top_builddir_sub in
1666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670 ac_abs_top_builddir=$ac_pwd
1671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1672 # for backward compatibility:
1673 ac_top_builddir=$ac_top_build_prefix
1676 .) # We are building in place.
1678 ac_top_srcdir=$ac_top_builddir_sub
1679 ac_abs_top_srcdir=$ac_pwd ;;
1680 [\\/]* | ?:[\\/]* ) # Absolute name.
1681 ac_srcdir=$srcdir$ac_dir_suffix;
1682 ac_top_srcdir=$srcdir
1683 ac_abs_top_srcdir=$srcdir ;;
1685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1686 ac_top_srcdir=$ac_top_build_prefix$srcdir
1687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1691 cd "$ac_dir" || { ac_status=$?; continue; }
1692 # Check for guested configure.
1693 if test -f "$ac_srcdir/configure.gnu"; then
1695 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1696 elif test -f "$ac_srcdir/configure"; then
1698 $SHELL "$ac_srcdir/configure" --help=recursive
1700 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1702 cd "$ac_pwd" || { ac_status=$?; break; }
1706 test -n "$ac_init_help" && exit $ac_status
1707 if $ac_init_version; then
1709 opensaml configure 2.5.0
1710 generated by GNU Autoconf 2.67
1712 Copyright (C) 2010 Free Software Foundation, Inc.
1713 This configure script is free software; the Free Software Foundation
1714 gives unlimited permission to copy, distribute and modify it.
1719 ## ------------------------ ##
1720 ## Autoconf initialization. ##
1721 ## ------------------------ ##
1723 # ac_fn_c_try_compile LINENO
1724 # --------------------------
1725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1726 ac_fn_c_try_compile ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 rm -f conftest.$ac_objext
1730 if { { ac_try="$ac_compile"
1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_compile") 2>conftest.err
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest.$ac_objext; then :
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757 as_fn_set_status $ac_retval
1759 } # ac_fn_c_try_compile
1761 # ac_fn_c_try_link LINENO
1762 # -----------------------
1763 # Try to link conftest.$ac_ext, and return whether this succeeded.
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 rm -f conftest.$ac_objext conftest$ac_exeext
1768 if { { ac_try="$ac_link"
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_link") 2>conftest.err
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } && {
1784 test -z "$ac_c_werror_flag" ||
1785 test ! -s conftest.err
1786 } && test -s conftest$ac_exeext && {
1787 test "$cross_compiling" = yes ||
1788 $as_test_x conftest$ac_exeext
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1797 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1798 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1799 # interfere with the next link command; also delete a directory that is
1800 # left behind by Apple's compiler. We do this before executing the actions.
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1803 as_fn_set_status $ac_retval
1805 } # ac_fn_c_try_link
1807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists and can be compiled using the include files in
1810 # INCLUDES, setting the cache variable VAR accordingly.
1811 ac_fn_c_check_header_compile ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval "test \"\${$3+set}\"" = set; then :
1817 $as_echo_n "(cached) " >&6
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1824 if ac_fn_c_try_compile "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 } # ac_fn_c_check_header_compile
1838 # ac_fn_c_try_cpp LINENO
1839 # ----------------------
1840 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if { { ac_try="$ac_cpp conftest.$ac_ext"
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } > conftest.i && {
1860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871 as_fn_set_status $ac_retval
1875 # ac_fn_c_try_run LINENO
1876 # ----------------------
1877 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1878 # that executables *can* be run.
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if { { ac_try="$ac_link"
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_link") 2>&5
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1893 { { case "(($ac_try" in
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_try") 2>&5
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; }; }; then :
1905 $as_echo "$as_me: program exited with status $ac_status" >&5
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 ac_retval=$ac_status
1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 as_fn_set_status $ac_retval
1917 # ac_fn_c_check_func LINENO FUNC VAR
1918 # ----------------------------------
1919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1920 ac_fn_c_check_func ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if eval "test \"\${$3+set}\"" = set; then :
1926 $as_echo_n "(cached) " >&6
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1932 #define $2 innocuous_$2
1934 /* System header to define __stub macros and hopefully few prototypes,
1935 which can conflict with char $2 (); below.
1936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1937 <limits.h> exists even on freestanding compilers. */
1940 # include <limits.h>
1942 # include <assert.h>
1947 /* Override any GCC internal prototype to avoid an error.
1948 Use char because int might match the return type of a GCC
1949 builtin and then its argument prototype would still apply. */
1954 /* The GNU C library defines this for functions which it implements
1955 to always fail with ENOSYS. Some functions are actually named
1956 something starting with __ and the normal name is an alias. */
1957 #if defined __stub_$2 || defined __stub___$2
1969 if ac_fn_c_try_link "$LINENO"; then :
1974 rm -f core conftest.err conftest.$ac_objext \
1975 conftest$ac_exeext conftest.$ac_ext
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1982 } # ac_fn_c_check_func
1984 # ac_fn_cxx_try_compile LINENO
1985 # ----------------------------
1986 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_compile ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext
1991 if { { ac_try="$ac_compile"
1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_compile") 2>conftest.err
2000 if test -s conftest.err; then
2001 grep -v '^ *+' conftest.err >conftest.er1
2002 cat conftest.er1 >&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest.$ac_objext; then :
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018 as_fn_set_status $ac_retval
2020 } # ac_fn_cxx_try_compile
2022 # ac_fn_cxx_try_cpp LINENO
2023 # ------------------------
2024 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2025 ac_fn_cxx_try_cpp ()
2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028 if { { ac_try="$ac_cpp conftest.$ac_ext"
2030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031 *) ac_try_echo=$ac_try;;
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2037 if test -s conftest.err; then
2038 grep -v '^ *+' conftest.err >conftest.er1
2039 cat conftest.er1 >&5
2040 mv -f conftest.er1 conftest.err
2042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043 test $ac_status = 0; } > conftest.i && {
2044 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2045 test ! -s conftest.err
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 as_fn_set_status $ac_retval
2057 } # ac_fn_cxx_try_cpp
2059 # ac_fn_cxx_try_link LINENO
2060 # -------------------------
2061 # Try to link conftest.$ac_ext, and return whether this succeeded.
2062 ac_fn_cxx_try_link ()
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 rm -f conftest.$ac_objext conftest$ac_exeext
2066 if { { ac_try="$ac_link"
2068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2069 *) ac_try_echo=$ac_try;;
2071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2072 $as_echo "$ac_try_echo"; } >&5
2073 (eval "$ac_link") 2>conftest.err
2075 if test -s conftest.err; then
2076 grep -v '^ *+' conftest.err >conftest.er1
2077 cat conftest.er1 >&5
2078 mv -f conftest.er1 conftest.err
2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081 test $ac_status = 0; } && {
2082 test -z "$ac_cxx_werror_flag" ||
2083 test ! -s conftest.err
2084 } && test -s conftest$ac_exeext && {
2085 test "$cross_compiling" = yes ||
2086 $as_test_x conftest$ac_exeext
2090 $as_echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2095 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2096 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2097 # interfere with the next link command; also delete a directory that is
2098 # left behind by Apple's compiler. We do this before executing the actions.
2099 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2101 as_fn_set_status $ac_retval
2103 } # ac_fn_cxx_try_link
2105 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2106 # -------------------------------------------
2107 # Tests whether TYPE exists after having included INCLUDES, setting cache
2108 # variable VAR accordingly.
2109 ac_fn_c_check_type ()
2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval "test \"\${$3+set}\"" = set; then :
2115 $as_echo_n "(cached) " >&6
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2130 if ac_fn_c_try_compile "$LINENO"; then :
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2143 if ac_fn_c_try_compile "$LINENO"; then :
2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2154 $as_echo "$ac_res" >&6; }
2155 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2157 } # ac_fn_c_check_type
2159 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2160 # --------------------------------------------
2161 # Tries to find the compile-time value of EXPR in a program that includes
2162 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2164 ac_fn_c_compute_int ()
2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2167 if test "$cross_compiling" = yes; then
2168 # Depending upon the size, compute the lo and hi bounds.
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2175 static int test_array [1 - 2 * !(($2) >= 0)];
2182 if ac_fn_c_try_compile "$LINENO"; then :
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2191 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199 ac_hi=$ac_mid; break
2201 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2202 if test $ac_lo -le $ac_mid; then
2206 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2217 static int test_array [1 - 2 * !(($2) < 0)];
2224 if ac_fn_c_try_compile "$LINENO"; then :
2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h. */
2233 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2240 if ac_fn_c_try_compile "$LINENO"; then :
2241 ac_lo=$ac_mid; break
2243 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2244 if test $ac_mid -le $ac_hi; then
2248 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2258 # Binary search between lo and hi bounds.
2259 while test "x$ac_lo" != "x$ac_hi"; do
2260 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2267 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2274 if ac_fn_c_try_compile "$LINENO"; then :
2277 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2282 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2289 static long int longval () { return $2; }
2290 static unsigned long int ulongval () { return $2; }
2297 FILE *f = fopen ("conftest.val", "w");
2302 long int i = longval ();
2305 fprintf (f, "%ld", i);
2309 unsigned long int i = ulongval ();
2312 fprintf (f, "%lu", i);
2314 /* Do not output a trailing newline, as this causes \r\n confusion
2315 on some platforms. */
2316 return ferror (f) || fclose (f) != 0;
2322 if ac_fn_c_try_run "$LINENO"; then :
2323 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2328 conftest.$ac_objext conftest.beam conftest.$ac_ext
2332 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2333 as_fn_set_status $ac_retval
2335 } # ac_fn_c_compute_int
2337 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2338 # -------------------------------------------------------
2339 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2340 # the include files in INCLUDES and setting the cache variable VAR
2342 ac_fn_c_check_header_mongrel ()
2344 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2345 if eval "test \"\${$3+set}\"" = set; then :
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2347 $as_echo_n "checking for $2... " >&6; }
2348 if eval "test \"\${$3+set}\"" = set; then :
2349 $as_echo_n "(cached) " >&6
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2353 $as_echo "$ac_res" >&6; }
2355 # Is the header compilable?
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2357 $as_echo_n "checking $2 usability... " >&6; }
2358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2359 /* end confdefs.h. */
2363 if ac_fn_c_try_compile "$LINENO"; then :
2364 ac_header_compiler=yes
2366 ac_header_compiler=no
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2370 $as_echo "$ac_header_compiler" >&6; }
2372 # Is the header present?
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2374 $as_echo_n "checking $2 presence... " >&6; }
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2379 if ac_fn_c_try_cpp "$LINENO"; then :
2380 ac_header_preproc=yes
2382 ac_header_preproc=no
2384 rm -f conftest.err conftest.i conftest.$ac_ext
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2386 $as_echo "$ac_header_preproc" >&6; }
2388 # So? What about this header?
2389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2392 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2394 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2398 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2400 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2402 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2404 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2406 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2407 ( $as_echo "## --------------------------------------------- ##
2408 ## Report this to https://issues.shibboleth.net/ ##
2409 ## --------------------------------------------- ##"
2410 ) | sed "s/^/$as_me: WARNING: /" >&2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2414 $as_echo_n "checking for $2... " >&6; }
2415 if eval "test \"\${$3+set}\"" = set; then :
2416 $as_echo_n "(cached) " >&6
2418 eval "$3=\$ac_header_compiler"
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2422 $as_echo "$ac_res" >&6; }
2424 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2426 } # ac_fn_c_check_header_mongrel
2428 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2429 # ---------------------------------------------------------
2430 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2431 # the include files in INCLUDES and setting the cache variable VAR
2433 ac_fn_cxx_check_header_mongrel ()
2435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2436 if eval "test \"\${$3+set}\"" = set; then :
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2438 $as_echo_n "checking for $2... " >&6; }
2439 if eval "test \"\${$3+set}\"" = set; then :
2440 $as_echo_n "(cached) " >&6
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2444 $as_echo "$ac_res" >&6; }
2446 # Is the header compilable?
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2448 $as_echo_n "checking $2 usability... " >&6; }
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2454 if ac_fn_cxx_try_compile "$LINENO"; then :
2455 ac_header_compiler=yes
2457 ac_header_compiler=no
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2461 $as_echo "$ac_header_compiler" >&6; }
2463 # Is the header present?
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2465 $as_echo_n "checking $2 presence... " >&6; }
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2470 if ac_fn_cxx_try_cpp "$LINENO"; then :
2471 ac_header_preproc=yes
2473 ac_header_preproc=no
2475 rm -f conftest.err conftest.i conftest.$ac_ext
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2477 $as_echo "$ac_header_preproc" >&6; }
2479 # So? What about this header?
2480 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2483 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2485 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2489 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2491 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2493 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2495 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2497 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2498 ( $as_echo "## --------------------------------------------- ##
2499 ## Report this to https://issues.shibboleth.net/ ##
2500 ## --------------------------------------------- ##"
2501 ) | sed "s/^/$as_me: WARNING: /" >&2
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2505 $as_echo_n "checking for $2... " >&6; }
2506 if eval "test \"\${$3+set}\"" = set; then :
2507 $as_echo_n "(cached) " >&6
2509 eval "$3=\$ac_header_compiler"
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2513 $as_echo "$ac_res" >&6; }
2515 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2517 } # ac_fn_cxx_check_header_mongrel
2518 cat >config.log <<_ACEOF
2519 This file contains any messages produced by compilers while
2520 running configure, to aid debugging if configure makes a mistake.
2522 It was created by opensaml $as_me 2.5.0, which was
2523 generated by GNU Autoconf 2.67. Invocation command line was
2535 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2536 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2537 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2538 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2539 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2541 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2542 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2544 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2545 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2546 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2547 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2548 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2549 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2550 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir=.
2559 $as_echo "PATH: $as_dir"
2575 # Keep a trace of the command line.
2576 # Strip out --no-create and --no-recursion so they do not pile up.
2577 # Strip out --silent because we don't want to record it for future runs.
2578 # Also quote any args containing shell meta-characters.
2579 # Make two passes to allow for proper duplicate-argument suppression.
2583 ac_must_keep_next=false
2589 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2591 | -silent | --silent | --silen | --sile | --sil)
2594 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2597 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2599 as_fn_append ac_configure_args1 " '$ac_arg'"
2600 if test $ac_must_keep_next = true; then
2601 ac_must_keep_next=false # Got value, back to normal.
2604 *=* | --config-cache | -C | -disable-* | --disable-* \
2605 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2606 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2607 | -with-* | --with-* | -without-* | --without-* | --x)
2608 case "$ac_configure_args0 " in
2609 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2612 -* ) ac_must_keep_next=true ;;
2615 as_fn_append ac_configure_args " '$ac_arg'"
2620 { ac_configure_args0=; unset ac_configure_args0;}
2621 { ac_configure_args1=; unset ac_configure_args1;}
2623 # When interrupted or exit'd, cleanup temporary files, and complete
2624 # config.log. We remove comments because anyway the quotes in there
2625 # would cause problems or look ugly.
2626 # WARNING: Use '\'' to represent an apostrophe within the trap.
2627 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2628 trap 'exit_status=$?
2629 # Save into config.log some information that might help in debugging.
2633 $as_echo "## ---------------- ##
2634 ## Cache variables. ##
2635 ## ---------------- ##"
2637 # The following way of writing the cache mishandles newlines in values,
2639 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2640 eval ac_val=\$$ac_var
2644 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2645 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2648 _ | IFS | as_nl) ;; #(
2649 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2650 *) { eval $ac_var=; unset $ac_var;} ;;
2655 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2656 *${as_nl}ac_space=\ *)
2658 "s/'\''/'\''\\\\'\'''\''/g;
2659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2669 $as_echo "## ----------------- ##
2670 ## Output variables. ##
2671 ## ----------------- ##"
2673 for ac_var in $ac_subst_vars
2675 eval ac_val=\$$ac_var
2677 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2679 $as_echo "$ac_var='\''$ac_val'\''"
2683 if test -n "$ac_subst_files"; then
2684 $as_echo "## ------------------- ##
2685 ## File substitutions. ##
2686 ## ------------------- ##"
2688 for ac_var in $ac_subst_files
2690 eval ac_val=\$$ac_var
2692 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2694 $as_echo "$ac_var='\''$ac_val'\''"
2699 if test -s confdefs.h; then
2700 $as_echo "## ----------- ##
2707 test "$ac_signal" != 0 &&
2708 $as_echo "$as_me: caught signal $ac_signal"
2709 $as_echo "$as_me: exit $exit_status"
2711 rm -f core *.core core.conftest.* &&
2712 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2715 for ac_signal in 1 2 13 15; do
2716 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2720 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2721 rm -f -r conftest* confdefs.h
2723 $as_echo "/* confdefs.h */" > confdefs.h
2725 # Predefined preprocessor variables.
2727 cat >>confdefs.h <<_ACEOF
2728 #define PACKAGE_NAME "$PACKAGE_NAME"
2731 cat >>confdefs.h <<_ACEOF
2732 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2735 cat >>confdefs.h <<_ACEOF
2736 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2739 cat >>confdefs.h <<_ACEOF
2740 #define PACKAGE_STRING "$PACKAGE_STRING"
2743 cat >>confdefs.h <<_ACEOF
2744 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2747 cat >>confdefs.h <<_ACEOF
2748 #define PACKAGE_URL "$PACKAGE_URL"
2752 # Let the site file select an alternate cache file if it wants to.
2753 # Prefer an explicitly selected file to automatically selected ones.
2756 if test -n "$CONFIG_SITE"; then
2757 # We do not want a PATH search for config.site.
2758 case $CONFIG_SITE in #((
2759 -*) ac_site_file1=./$CONFIG_SITE;;
2760 */*) ac_site_file1=$CONFIG_SITE;;
2761 *) ac_site_file1=./$CONFIG_SITE;;
2763 elif test "x$prefix" != xNONE; then
2764 ac_site_file1=$prefix/share/config.site
2765 ac_site_file2=$prefix/etc/config.site
2767 ac_site_file1=$ac_default_prefix/share/config.site
2768 ac_site_file2=$ac_default_prefix/etc/config.site
2770 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2772 test "x$ac_site_file" = xNONE && continue
2773 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2775 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2776 sed 's/^/| /' "$ac_site_file" >&5
2778 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2780 as_fn_error $? "failed to load site script $ac_site_file
2781 See \`config.log' for more details" "$LINENO" 5 ; }
2785 if test -r "$cache_file"; then
2786 # Some versions of bash will fail to source /dev/null (special files
2787 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2788 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2790 $as_echo "$as_me: loading cache $cache_file" >&6;}
2792 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2793 *) . "./$cache_file";;
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2798 $as_echo "$as_me: creating cache $cache_file" >&6;}
2802 # Check that the precious variables saved in the cache have kept the same
2804 ac_cache_corrupted=false
2805 for ac_var in $ac_precious_vars; do
2806 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2807 eval ac_new_set=\$ac_env_${ac_var}_set
2808 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2809 eval ac_new_val=\$ac_env_${ac_var}_value
2810 case $ac_old_set,$ac_new_set in
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2813 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2814 ac_cache_corrupted=: ;;
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2817 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2818 ac_cache_corrupted=: ;;
2821 if test "x$ac_old_val" != "x$ac_new_val"; then
2822 # differences in whitespace do not lead to failure.
2823 ac_old_val_w=`echo x $ac_old_val`
2824 ac_new_val_w=`echo x $ac_new_val`
2825 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2827 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2828 ac_cache_corrupted=:
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2831 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2832 eval $ac_var=\$ac_old_val
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2835 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2837 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2840 # Pass precious variables to config.status.
2841 if test "$ac_new_set" = set; then
2843 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2844 *) ac_arg=$ac_var=$ac_new_val ;;
2846 case " $ac_configure_args " in
2847 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2848 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2852 if $ac_cache_corrupted; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2856 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2857 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2859 ## -------------------- ##
2860 ## Main body of script. ##
2861 ## -------------------- ##
2864 ac_cpp='$CPP $CPPFLAGS'
2865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 for ac_dir in build-aux "$srcdir"/build-aux; do
2873 if test -f "$ac_dir/install-sh"; then
2875 ac_install_sh="$ac_aux_dir/install-sh -c"
2877 elif test -f "$ac_dir/install.sh"; then
2879 ac_install_sh="$ac_aux_dir/install.sh -c"
2881 elif test -f "$ac_dir/shtool"; then
2883 ac_install_sh="$ac_aux_dir/shtool install -c"
2887 if test -z "$ac_aux_dir"; then
2888 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2891 # These three variables are undocumented and unsupported,
2892 # and are intended to be withdrawn in a future Autoconf release.
2893 # They can cause serious problems if a builder's source tree is in a directory
2894 # whose full name contains unusual characters.
2895 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2896 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2897 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2901 am__api_version='1.11'
2903 # Find a good install program. We prefer a C program (faster),
2904 # so one script is as good as another. But avoid the broken or
2905 # incompatible versions:
2906 # SysV /etc/install, /usr/sbin/install
2907 # SunOS /usr/etc/install
2908 # IRIX /sbin/install
2910 # AmigaOS /C/install, which installs bootblocks on floppy discs
2911 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2912 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2913 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2914 # OS/2's system install, which has a completely different semantic
2915 # ./install, which can be erroneously created by make from ./install.sh.
2916 # Reject install programs that cannot install multiple files.
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2918 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2919 if test -z "$INSTALL"; then
2920 if test "${ac_cv_path_install+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 # Account for people who put trailing slashes in PATH elements.
2929 case $as_dir/ in #((
2930 ./ | .// | /[cC]/* | \
2931 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2932 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2935 # OSF1 and SCO ODT 3.0 have their own names for install.
2936 # Don't use installbsd from OSF since it installs stuff as root
2938 for ac_prog in ginstall scoinst install; do
2939 for ac_exec_ext in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2941 if test $ac_prog = install &&
2942 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2943 # AIX install. It has an incompatible calling convention.
2945 elif test $ac_prog = install &&
2946 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2947 # program-specific install script used by HP pwplus--don't use.
2950 rm -rf conftest.one conftest.two conftest.dir
2951 echo one > conftest.one
2952 echo two > conftest.two
2954 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2955 test -s conftest.one && test -s conftest.two &&
2956 test -s conftest.dir/conftest.one &&
2957 test -s conftest.dir/conftest.two
2959 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2972 rm -rf conftest.one conftest.two conftest.dir
2975 if test "${ac_cv_path_install+set}" = set; then
2976 INSTALL=$ac_cv_path_install
2978 # As a last resort, use the slow shell script. Don't cache a
2979 # value for INSTALL within a source directory, because that will
2980 # break other packages using the cache if that directory is
2981 # removed, or if the value is a relative name.
2982 INSTALL=$ac_install_sh
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2986 $as_echo "$INSTALL" >&6; }
2988 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2989 # It thinks the first close brace ends the variable substitution.
2990 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2992 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2994 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2997 $as_echo_n "checking whether build environment is sane... " >&6; }
3000 echo timestamp > conftest.file
3001 # Reject unsafe characters in $srcdir or the absolute working directory
3002 # name. Accept space and tab only in the latter.
3006 *[\\\"\#\$\&\'\`$am_lf]*)
3007 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3010 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3011 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3014 # Do `set' in a subshell so we don't clobber the current shell's
3015 # arguments. Must try -L first in case configure is actually a
3016 # symlink; some systems play weird games with the mod time of symlinks
3017 # (eg FreeBSD returns the mod time of the symlink's containing
3020 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3021 if test "$*" = "X"; then
3023 set X `ls -t "$srcdir/configure" conftest.file`
3026 if test "$*" != "X $srcdir/configure conftest.file" \
3027 && test "$*" != "X conftest.file $srcdir/configure"; then
3029 # If neither matched, then we have a broken ls. This can happen
3030 # if, for instance, CONFIG_SHELL is bash and it inherits a
3031 # broken ls alias from the environment. This has actually
3032 # happened. Such a system could not be considered "sane".
3033 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3034 alias in your environment" "$LINENO" 5
3037 test "$2" = conftest.file
3043 as_fn_error $? "newly created file is older than distributed files!
3044 Check your system clock" "$LINENO" 5
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3047 $as_echo "yes" >&6; }
3048 test "$program_prefix" != NONE &&
3049 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3050 # Use a double $ so make ignores it.
3051 test "$program_suffix" != NONE &&
3052 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3053 # Double any \ or $.
3054 # By default was `s,x,x', remove it if useless.
3055 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3056 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3058 # expand $ac_aux_dir to an absolute path
3059 am_aux_dir=`cd $ac_aux_dir && pwd`
3061 if test x"${MISSING+set}" != xset; then
3064 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3066 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3069 # Use eval to expand $SHELL
3070 if eval "$MISSING --run true"; then
3071 am_missing_run="$MISSING --run "
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3075 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3078 if test x"${install_sh}" != xset; then
3081 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3083 install_sh="\${SHELL} $am_aux_dir/install-sh"
3087 # Installed binaries are usually stripped using `strip' when the user
3088 # run `make install-strip'. However `strip' might not be the right
3089 # tool to use in cross-compilation environments, therefore Automake
3090 # will honor the `STRIP' environment variable to overrule this program.
3091 if test "$cross_compiling" != no; then
3092 if test -n "$ac_tool_prefix"; then
3093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3094 set dummy ${ac_tool_prefix}strip; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if test "${ac_cv_prog_STRIP+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$STRIP"; then
3101 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir=.
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 STRIP=$ac_cv_prog_STRIP
3121 if test -n "$STRIP"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3123 $as_echo "$STRIP" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3131 if test -z "$ac_cv_prog_STRIP"; then
3133 # Extract the first word of "strip", so it can be a program name with args.
3134 set dummy strip; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$ac_ct_STRIP"; then
3141 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150 ac_cv_prog_ac_ct_STRIP="strip"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3161 if test -n "$ac_ct_STRIP"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3163 $as_echo "$ac_ct_STRIP" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3169 if test "x$ac_ct_STRIP" = x; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned=yes ;;
3181 STRIP="$ac_cv_prog_STRIP"
3185 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3188 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3189 if test -z "$MKDIR_P"; then
3190 if test "${ac_cv_path_mkdir+set}" = set; then :
3191 $as_echo_n "(cached) " >&6
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3197 test -z "$as_dir" && as_dir=.
3198 for ac_prog in mkdir gmkdir; do
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3201 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3202 'mkdir (GNU coreutils) '* | \
3203 'mkdir (coreutils) '* | \
3204 'mkdir (fileutils) '4.1*)
3205 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3215 test -d ./--version && rmdir ./--version
3216 if test "${ac_cv_path_mkdir+set}" = set; then
3217 MKDIR_P="$ac_cv_path_mkdir -p"
3219 # As a last resort, use the slow shell script. Don't cache a
3220 # value for MKDIR_P within a source directory, because that will
3221 # break other packages using the cache if that directory is
3222 # removed, or if the value is a relative name.
3223 MKDIR_P="$ac_install_sh -d"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3227 $as_echo "$MKDIR_P" >&6; }
3231 [\\/$]* | ?:[\\/]*) ;;
3232 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3235 for ac_prog in gawk mawk nawk awk
3237 # Extract the first word of "$ac_prog", so it can be a program name with args.
3238 set dummy $ac_prog; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if test "${ac_cv_prog_AWK+set}" = set; then :
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$AWK"; then
3245 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254 ac_cv_prog_AWK="$ac_prog"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 if test -n "$AWK"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3267 $as_echo "$AWK" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3274 test -n "$AWK" && break
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3278 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3280 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3281 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3282 $as_echo_n "(cached) " >&6
3284 cat >conftest.make <<\_ACEOF
3287 @echo '@@@%%%=$(MAKE)=@@@%%%'
3289 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3292 eval ac_cv_prog_make_${ac_make}_set=yes;;
3294 eval ac_cv_prog_make_${ac_make}_set=no;;
3298 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3300 $as_echo "yes" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 SET_MAKE="MAKE=${MAKE-make}"
3308 rm -rf .tst 2>/dev/null
3309 mkdir .tst 2>/dev/null
3310 if test -d .tst; then
3315 rmdir .tst 2>/dev/null
3317 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3318 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3319 # is not polluted with repeated "-I."
3320 am__isrc=' -I$(srcdir)'
3321 # test to see if srcdir already configured
3322 if test -f $srcdir/config.status; then
3323 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3327 # test whether we have cygpath
3328 if test -z "$CYGPATH_W"; then
3329 if (cygpath --version) >/dev/null 2>/dev/null; then
3330 CYGPATH_W='cygpath -w'
3337 # Define the identity of the package.
3342 cat >>confdefs.h <<_ACEOF
3343 #define PACKAGE "$PACKAGE"
3347 cat >>confdefs.h <<_ACEOF
3348 #define VERSION "$VERSION"
3351 # Some tools Automake needs.
3353 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3356 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3359 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3362 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3365 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3367 # We need awk for the "check" target. The system "awk" is bad on
3369 # Always define AMTAR for backward compatibility.
3371 AMTAR=${AMTAR-"${am_missing_run}tar"}
3373 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3379 # Check whether --enable-static was given.
3380 if test "${enable_static+set}" = set; then :
3381 enableval=$enable_static; p=${PACKAGE-default}
3383 yes) enable_static=yes ;;
3384 no) enable_static=no ;;
3387 # Look at the argument we got. We use all the common list separators.
3388 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3389 for pkg in $enableval; do
3391 if test "X$pkg" = "X$p"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3413 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3418 macro_version='2.2.6b'
3419 macro_revision='1.3017'
3433 ltmain="$ac_aux_dir/ltmain.sh"
3435 # Make sure we can run config.sub.
3436 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3437 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3440 $as_echo_n "checking build system type... " >&6; }
3441 if test "${ac_cv_build+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3444 ac_build_alias=$build_alias
3445 test "x$ac_build_alias" = x &&
3446 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3447 test "x$ac_build_alias" = x &&
3448 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3449 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3450 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3454 $as_echo "$ac_cv_build" >&6; }
3455 case $ac_cv_build in
3457 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3460 ac_save_IFS=$IFS; IFS='-'
3466 # Remember, the first character of IFS is used to create $*,
3467 # except with old shells:
3470 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3474 $as_echo_n "checking host system type... " >&6; }
3475 if test "${ac_cv_host+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3478 if test "x$host_alias" = x; then
3479 ac_cv_host=$ac_cv_build
3481 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3482 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3487 $as_echo "$ac_cv_host" >&6; }
3490 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3493 ac_save_IFS=$IFS; IFS='-'
3499 # Remember, the first character of IFS is used to create $*,
3500 # except with old shells:
3503 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3506 DEPDIR="${am__leading_dot}deps"
3508 ac_config_commands="$ac_config_commands depfiles"
3511 am_make=${MAKE-make}
3512 cat > confinc << 'END'
3514 @echo this is the am__doit target
3517 # If we don't find an include directive, just comment out the code.
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3519 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3523 # First try GNU make style include.
3524 echo "include confinc" > confmf
3525 # Ignore all kinds of additional output from `make'.
3526 case `$am_make -s -f confmf 2> /dev/null` in #(
3527 *the\ am__doit\ target*)
3533 # Now try BSD make style include.
3534 if test "$am__include" = "#"; then
3535 echo '.include "confinc"' > confmf
3536 case `$am_make -s -f confmf 2> /dev/null` in #(
3537 *the\ am__doit\ target*)
3538 am__include=.include
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3547 $as_echo "$_am_result" >&6; }
3548 rm -f confinc confmf
3550 # Check whether --enable-dependency-tracking was given.
3551 if test "${enable_dependency_tracking+set}" = set; then :
3552 enableval=$enable_dependency_tracking;
3555 if test "x$enable_dependency_tracking" != xno; then
3556 am_depcomp="$ac_aux_dir/depcomp"
3559 if test "x$enable_dependency_tracking" != xno; then
3569 ac_cpp='$CPP $CPPFLAGS'
3570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3573 if test -n "$ac_tool_prefix"; then
3574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3575 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if test "${ac_cv_prog_CC+set}" = set; then :
3579 $as_echo_n "(cached) " >&6
3581 if test -n "$CC"; then
3582 ac_cv_prog_CC="$CC" # Let the user override the test.
3584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir=.
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3591 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 if test -n "$CC"; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604 $as_echo "$CC" >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3612 if test -z "$ac_cv_prog_CC"; then
3614 # Extract the first word of "gcc", so it can be a program name with args.
3615 set dummy gcc; ac_word=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3619 $as_echo_n "(cached) " >&6
3621 if test -n "$ac_ct_CC"; then
3622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir=.
3629 for ac_exec_ext in '' $ac_executable_extensions; do
3630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3631 ac_cv_prog_ac_ct_CC="gcc"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3642 if test -n "$ac_ct_CC"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3644 $as_echo "$ac_ct_CC" >&6; }
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3650 if test "x$ac_ct_CC" = x; then
3653 case $cross_compiling:$ac_tool_warned in
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3657 ac_tool_warned=yes ;;
3665 if test -z "$CC"; then
3666 if test -n "$ac_tool_prefix"; then
3667 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3668 set dummy ${ac_tool_prefix}cc; ac_word=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if test "${ac_cv_prog_CC+set}" = set; then :
3672 $as_echo_n "(cached) " >&6
3674 if test -n "$CC"; then
3675 ac_cv_prog_CC="$CC" # Let the user override the test.
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684 ac_cv_prog_CC="${ac_tool_prefix}cc"
3685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 if test -n "$CC"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3706 if test -z "$CC"; then
3707 # Extract the first word of "cc", so it can be a program name with args.
3708 set dummy cc; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if test "${ac_cv_prog_CC+set}" = set; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC="$CC" # Let the user override the test.
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3726 ac_prog_rejected=yes
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test $ac_prog_rejected = yes; then
3738 # We found a bogon in the path, so make sure we never use it.
3739 set dummy $ac_cv_prog_CC
3741 if test $# != 0; then
3742 # We chose a different compiler from the bogus one.
3743 # However, it has the same basename, so the bogon will be chosen
3744 # first if we set CC to just the basename; use the full file name.
3746 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3752 if test -n "$CC"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754 $as_echo "$CC" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 if test -n "$ac_tool_prefix"; then
3764 for ac_prog in cl.exe
3766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3767 set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+set}" = set; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$CC"; then
3774 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 test -n "$CC" && break
3806 if test -z "$CC"; then
3808 for ac_prog in cl.exe
3810 # Extract the first word of "$ac_prog", so it can be a program name with args.
3811 set dummy $ac_prog; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$ac_ct_CC"; then
3818 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827 ac_cv_prog_ac_ct_CC="$ac_prog"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3838 if test -n "$ac_ct_CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3840 $as_echo "$ac_ct_CC" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3847 test -n "$ac_ct_CC" && break
3850 if test "x$ac_ct_CC" = x; then
3853 case $cross_compiling:$ac_tool_warned in
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3857 ac_tool_warned=yes ;;
3866 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3868 as_fn_error $? "no acceptable C compiler found in \$PATH
3869 See \`config.log' for more details" "$LINENO" 5 ; }
3871 # Provide some information about the compiler.
3872 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3875 for ac_option in --version -v -V -qversion; do
3876 { { ac_try="$ac_compiler $ac_option >&5"
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3882 $as_echo "$ac_try_echo"; } >&5
3883 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3885 if test -s conftest.err; then
3887 ... rest of stderr output deleted ...
3888 10q' conftest.err >conftest.er1
3889 cat conftest.er1 >&5
3891 rm -f conftest.er1 conftest.err
3892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893 test $ac_status = 0; }
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 ac_clean_files_save=$ac_clean_files
3908 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3909 # Try to create an executable without -o first, disregard a.out.
3910 # It will help us diagnose broken compilers, and finding out an intuition
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3913 $as_echo_n "checking whether the C compiler works... " >&6; }
3914 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3916 # The possible output files:
3917 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3920 for ac_file in $ac_files
3923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3924 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 if { { ac_try="$ac_link_default"
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link_default") 2>&5
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3941 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3942 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3943 # so that the user can short-circuit this test for compilers unknown to
3945 for ac_file in $ac_files ''
3947 test -f "$ac_file" || continue
3949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3952 # We found the default executable, but exeext='' is most
3956 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3958 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3960 # We set ac_cv_exeext here because the later test for it is not
3961 # safe: cross compilers may not add the suffix if given an `-o'
3962 # argument, so we may need to know it at that point already.
3963 # Even if this section looks crufty: it has the advantage of
3970 test "$ac_cv_exeext" = no && ac_cv_exeext=
3975 if test -z "$ac_file"; then :
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3978 $as_echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error 77 "C compiler cannot create executables
3984 See \`config.log' for more details" "$LINENO" 5 ; }
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 $as_echo "yes" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3990 $as_echo_n "checking for C compiler default output file name... " >&6; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3992 $as_echo "$ac_file" >&6; }
3993 ac_exeext=$ac_cv_exeext
3995 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3996 ac_clean_files=$ac_clean_files_save
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3998 $as_echo_n "checking for suffix of executables... " >&6; }
3999 if { { ac_try="$ac_link"
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_link") 2>&5
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; then :
4010 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4011 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4012 # work properly (i.e., refer to `conftest.exe'), while it won't with
4014 for ac_file in conftest.exe conftest conftest.*; do
4015 test -f "$ac_file" || continue
4017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4018 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4027 See \`config.log' for more details" "$LINENO" 5 ; }
4029 rm -f conftest conftest$ac_cv_exeext
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4031 $as_echo "$ac_cv_exeext" >&6; }
4033 rm -f conftest.$ac_ext
4034 EXEEXT=$ac_cv_exeext
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4042 FILE *f = fopen ("conftest.out", "w");
4043 return ferror (f) || fclose (f) != 0;
4049 ac_clean_files="$ac_clean_files conftest.out"
4050 # Check that the compiler produces executables we can run. If not, either
4051 # the compiler is broken, or we cross compile.
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4053 $as_echo_n "checking whether we are cross compiling... " >&6; }
4054 if test "$cross_compiling" != yes; then
4055 { { ac_try="$ac_link"
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_link") 2>&5
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }
4066 if { ac_try='./conftest$ac_cv_exeext'
4067 { { case "(($ac_try" in
4068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4069 *) ac_try_echo=$ac_try;;
4071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4072 $as_echo "$ac_try_echo"; } >&5
4073 (eval "$ac_try") 2>&5
4075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4076 test $ac_status = 0; }; }; then
4079 if test "$cross_compiling" = maybe; then
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error $? "cannot run C compiled programs.
4085 If you meant to cross compile, use \`--host'.
4086 See \`config.log' for more details" "$LINENO" 5 ; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4091 $as_echo "$cross_compiling" >&6; }
4093 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4094 ac_clean_files=$ac_clean_files_save
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4096 $as_echo_n "checking for suffix of object files... " >&6; }
4097 if test "${ac_cv_objext+set}" = set; then :
4098 $as_echo_n "(cached) " >&6
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4111 rm -f conftest.o conftest.obj
4112 if { { ac_try="$ac_compile"
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_compile") 2>&5
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; then :
4123 for ac_file in conftest.o conftest.obj conftest.*; do
4124 test -f "$ac_file" || continue;
4126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4127 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4132 $as_echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4137 as_fn_error $? "cannot compute suffix of object files: cannot compile
4138 See \`config.log' for more details" "$LINENO" 5 ; }
4140 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4143 $as_echo "$ac_cv_objext" >&6; }
4144 OBJEXT=$ac_cv_objext
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4147 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4148 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4165 if ac_fn_c_try_compile "$LINENO"; then :
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4175 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4176 if test $ac_compiler_gnu = yes; then
4181 ac_test_CFLAGS=${CFLAGS+set}
4182 ac_save_CFLAGS=$CFLAGS
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4184 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4185 if test "${ac_cv_prog_cc_g+set}" = set; then :
4186 $as_echo_n "(cached) " >&6
4188 ac_save_c_werror_flag=$ac_c_werror_flag
4189 ac_c_werror_flag=yes
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4218 if ac_fn_c_try_compile "$LINENO"; then :
4221 ac_c_werror_flag=$ac_save_c_werror_flag
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4234 if ac_fn_c_try_compile "$LINENO"; then :
4237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 ac_c_werror_flag=$ac_save_c_werror_flag
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4245 $as_echo "$ac_cv_prog_cc_g" >&6; }
4246 if test "$ac_test_CFLAGS" = set; then
4247 CFLAGS=$ac_save_CFLAGS
4248 elif test $ac_cv_prog_cc_g = yes; then
4249 if test "$GCC" = yes; then
4255 if test "$GCC" = yes; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4262 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4263 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4264 $as_echo_n "(cached) " >&6
4266 ac_cv_prog_cc_c89=no
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4272 #include <sys/types.h>
4273 #include <sys/stat.h>
4274 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4275 struct buf { int x; };
4276 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4277 static char *e (p, i)
4283 static char *f (char * (*g) (char **, int), char **p, ...)
4288 s = g (p, va_arg (v,int));
4293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4294 function prototypes and stuff, but not '\xHH' hex character constants.
4295 These don't provoke an error unfortunately, instead are silently treated
4296 as 'x'. The following induces an error, until -std is added to get
4297 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4298 array size at least. It's necessary to write '\x00'==0 to get something
4299 that's true only with -std. */
4300 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4303 inside strings and character constants. */
4305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4307 int test (int i, double x);
4308 struct s1 {int (*f) (int a);};
4309 struct s2 {int (*f) (double a);};
4310 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4316 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4322 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4324 CC="$ac_save_CC $ac_arg"
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_cv_prog_cc_c89=$ac_arg
4328 rm -f core conftest.err conftest.$ac_objext
4329 test "x$ac_cv_prog_cc_c89" != "xno" && break
4331 rm -f conftest.$ac_ext
4336 case "x$ac_cv_prog_cc_c89" in
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4339 $as_echo "none needed" >&6; } ;;
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4342 $as_echo "unsupported" >&6; } ;;
4344 CC="$CC $ac_cv_prog_cc_c89"
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4346 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4348 if test "x$ac_cv_prog_cc_c89" != xno; then :
4353 ac_cpp='$CPP $CPPFLAGS'
4354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4358 depcc="$CC" am_compiler_list=
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4361 $as_echo_n "checking dependency style of $depcc... " >&6; }
4362 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4366 # We make a subdir and do the tests there. Otherwise we can end up
4367 # making bogus files that we don't know about and never remove. For
4368 # instance it was reported that on HP-UX the gcc test will end up
4369 # making a dummy file named `D' -- because `-MD' means `put the output
4372 # Copy depcomp to subdir because otherwise we won't find it if we're
4373 # using a relative directory.
4374 cp "$am_depcomp" conftest.dir
4376 # We will build objects and dependencies in a subdirectory because
4377 # it helps to detect inapplicable dependency modes. For instance
4378 # both Tru64's cc and ICC support -MD to output dependencies as a
4379 # side effect of compilation, but ICC will put the dependencies in
4380 # the current directory while Tru64 will put them in the object
4384 am_cv_CC_dependencies_compiler_type=none
4385 if test "$am_compiler_list" = ""; then
4386 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4389 case " $depcc " in #(
4390 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4393 for depmode in $am_compiler_list; do
4394 # Setup a source with many dependencies, because some compilers
4395 # like to wrap large dependency lists on column 80 (with \), and
4396 # we should not choose a depcomp mode which is confused by this.
4398 # We need to recreate these files for each test, as the compiler may
4399 # overwrite some of them when testing with obscure command lines.
4400 # This happens at least with the AIX C compiler.
4402 for i in 1 2 3 4 5 6; do
4403 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4404 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4405 # Solaris 8's {/usr,}/bin/sh.
4406 touch sub/conftst$i.h
4408 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4410 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4411 # mode. It turns out that the SunPro C++ compiler does not properly
4412 # handle `-M -o', and we need to detect this. Also, some Intel
4413 # versions had trouble with output in subdirs
4414 am__obj=sub/conftest.${OBJEXT-o}
4415 am__minus_obj="-o $am__obj"
4418 # This depmode causes a compiler race in universal mode.
4419 test "$am__universal" = false || continue
4422 # after this tag, mechanisms are not by side-effect, so they'll
4423 # only be used when explicitly requested
4424 if test "x$enable_dependency_tracking" = xyes; then
4430 msvisualcpp | msvcmsys)
4431 # This compiler won't grok `-c -o', but also, the minuso test has
4432 # not run yet. These depmodes are late enough in the game, and
4433 # so weak that their functioning should not be impacted.
4434 am__obj=conftest.${OBJEXT-o}
4439 if depmode=$depmode \
4440 source=sub/conftest.c object=$am__obj \
4441 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4442 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4443 >/dev/null 2>conftest.err &&
4444 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4445 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4446 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4447 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4448 # icc doesn't choke on unknown options, it will just issue warnings
4449 # or remarks (even with -Werror). So we grep stderr for any message
4450 # that says an option was ignored or not supported.
4451 # When given -MP, icc 7.0 and 7.1 complain thusly:
4452 # icc: Command line warning: ignoring option '-M'; no argument required
4453 # The diagnosis changed in icc 8.0:
4454 # icc: Command line remark: option '-MP' not supported
4455 if (grep 'ignoring option' conftest.err ||
4456 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4457 am_cv_CC_dependencies_compiler_type=$depmode
4466 am_cv_CC_dependencies_compiler_type=none
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4471 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4472 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4475 test "x$enable_dependency_tracking" != xno \
4476 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4478 am__fastdepCC_FALSE='#'
4480 am__fastdepCC_TRUE='#'
4481 am__fastdepCC_FALSE=
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4486 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4487 if test "${ac_cv_path_SED+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4490 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4491 for ac_i in 1 2 3 4 5 6 7; do
4492 ac_script="$ac_script$as_nl$ac_script"
4494 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4495 { ac_script=; unset ac_script;}
4496 if test -z "$SED"; then
4497 ac_path_SED_found=false
4498 # Loop through the user's path and test for each of PROGNAME-LIST
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir=.
4504 for ac_prog in sed gsed; do
4505 for ac_exec_ext in '' $ac_executable_extensions; do
4506 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4507 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4508 # Check for GNU ac_path_SED and select it if it is found.
4509 # Check for GNU $ac_path_SED
4510 case `"$ac_path_SED" --version 2>&1` in
4512 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4515 $as_echo_n 0123456789 >"conftest.in"
4518 cat "conftest.in" "conftest.in" >"conftest.tmp"
4519 mv "conftest.tmp" "conftest.in"
4520 cp "conftest.in" "conftest.nl"
4521 $as_echo '' >> "conftest.nl"
4522 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4523 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4524 as_fn_arith $ac_count + 1 && ac_count=$as_val
4525 if test $ac_count -gt ${ac_path_SED_max-0}; then
4526 # Best one so far, save it but keep looking for a better one
4527 ac_cv_path_SED="$ac_path_SED"
4528 ac_path_SED_max=$ac_count
4530 # 10*(2^10) chars as input seems more than enough
4531 test $ac_count -gt 10 && break
4533 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4536 $ac_path_SED_found && break 3
4541 if test -z "$ac_cv_path_SED"; then
4542 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4550 $as_echo "$ac_cv_path_SED" >&6; }
4551 SED="$ac_cv_path_SED"
4554 test -z "$SED" && SED=sed
4555 Xsed="$SED -e 1s/^X//"
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4568 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4569 if test "${ac_cv_path_GREP+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -z "$GREP"; then
4573 ac_path_GREP_found=false
4574 # Loop through the user's path and test for each of PROGNAME-LIST
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4579 test -z "$as_dir" && as_dir=.
4580 for ac_prog in grep ggrep; do
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4583 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4584 # Check for GNU ac_path_GREP and select it if it is found.
4585 # Check for GNU $ac_path_GREP
4586 case `"$ac_path_GREP" --version 2>&1` in
4588 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4591 $as_echo_n 0123456789 >"conftest.in"
4594 cat "conftest.in" "conftest.in" >"conftest.tmp"
4595 mv "conftest.tmp" "conftest.in"
4596 cp "conftest.in" "conftest.nl"
4597 $as_echo 'GREP' >> "conftest.nl"
4598 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4599 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4600 as_fn_arith $ac_count + 1 && ac_count=$as_val
4601 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4602 # Best one so far, save it but keep looking for a better one
4603 ac_cv_path_GREP="$ac_path_GREP"
4604 ac_path_GREP_max=$ac_count
4606 # 10*(2^10) chars as input seems more than enough
4607 test $ac_count -gt 10 && break
4609 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4612 $ac_path_GREP_found && break 3
4617 if test -z "$ac_cv_path_GREP"; then
4618 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4621 ac_cv_path_GREP=$GREP
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4626 $as_echo "$ac_cv_path_GREP" >&6; }
4627 GREP="$ac_cv_path_GREP"
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4631 $as_echo_n "checking for egrep... " >&6; }
4632 if test "${ac_cv_path_EGREP+set}" = set; then :
4633 $as_echo_n "(cached) " >&6
4635 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4636 then ac_cv_path_EGREP="$GREP -E"
4638 if test -z "$EGREP"; then
4639 ac_path_EGREP_found=false
4640 # Loop through the user's path and test for each of PROGNAME-LIST
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4645 test -z "$as_dir" && as_dir=.
4646 for ac_prog in egrep; do
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4649 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4650 # Check for GNU ac_path_EGREP and select it if it is found.
4651 # Check for GNU $ac_path_EGREP
4652 case `"$ac_path_EGREP" --version 2>&1` in
4654 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4657 $as_echo_n 0123456789 >"conftest.in"
4660 cat "conftest.in" "conftest.in" >"conftest.tmp"
4661 mv "conftest.tmp" "conftest.in"
4662 cp "conftest.in" "conftest.nl"
4663 $as_echo 'EGREP' >> "conftest.nl"
4664 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4665 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4666 as_fn_arith $ac_count + 1 && ac_count=$as_val
4667 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4668 # Best one so far, save it but keep looking for a better one
4669 ac_cv_path_EGREP="$ac_path_EGREP"
4670 ac_path_EGREP_max=$ac_count
4672 # 10*(2^10) chars as input seems more than enough
4673 test $ac_count -gt 10 && break
4675 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4678 $ac_path_EGREP_found && break 3
4683 if test -z "$ac_cv_path_EGREP"; then
4684 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4687 ac_cv_path_EGREP=$EGREP
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4693 $as_echo "$ac_cv_path_EGREP" >&6; }
4694 EGREP="$ac_cv_path_EGREP"
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4698 $as_echo_n "checking for fgrep... " >&6; }
4699 if test "${ac_cv_path_FGREP+set}" = set; then :
4700 $as_echo_n "(cached) " >&6
4702 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4703 then ac_cv_path_FGREP="$GREP -F"
4705 if test -z "$FGREP"; then
4706 ac_path_FGREP_found=false
4707 # Loop through the user's path and test for each of PROGNAME-LIST
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4712 test -z "$as_dir" && as_dir=.
4713 for ac_prog in fgrep; do
4714 for ac_exec_ext in '' $ac_executable_extensions; do
4715 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4716 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4717 # Check for GNU ac_path_FGREP and select it if it is found.
4718 # Check for GNU $ac_path_FGREP
4719 case `"$ac_path_FGREP" --version 2>&1` in
4721 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4724 $as_echo_n 0123456789 >"conftest.in"
4727 cat "conftest.in" "conftest.in" >"conftest.tmp"
4728 mv "conftest.tmp" "conftest.in"
4729 cp "conftest.in" "conftest.nl"
4730 $as_echo 'FGREP' >> "conftest.nl"
4731 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4732 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4733 as_fn_arith $ac_count + 1 && ac_count=$as_val
4734 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4735 # Best one so far, save it but keep looking for a better one
4736 ac_cv_path_FGREP="$ac_path_FGREP"
4737 ac_path_FGREP_max=$ac_count
4739 # 10*(2^10) chars as input seems more than enough
4740 test $ac_count -gt 10 && break
4742 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4745 $ac_path_FGREP_found && break 3
4750 if test -z "$ac_cv_path_FGREP"; then
4751 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4754 ac_cv_path_FGREP=$FGREP
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4760 $as_echo "$ac_cv_path_FGREP" >&6; }
4761 FGREP="$ac_cv_path_FGREP"
4764 test -z "$GREP" && GREP=grep
4784 # Check whether --with-gnu-ld was given.
4785 if test "${with_gnu_ld+set}" = set; then :
4786 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4792 if test "$GCC" = yes; then
4793 # Check if gcc -print-prog-name=ld gives a path.
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4795 $as_echo_n "checking for ld used by $CC... " >&6; }
4798 # gcc leaves a trailing carriage return which upsets mingw
4799 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4801 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4804 # Accept absolute paths.
4806 re_direlt='/[^/][^/]*/\.\./'
4807 # Canonicalize the pathname of ld
4808 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4809 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4810 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4812 test -z "$LD" && LD="$ac_prog"
4815 # If it fails, then pretend we aren't using GCC.
4819 # If it is relative, then search for the first ld in PATH.
4823 elif test "$with_gnu_ld" = yes; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4825 $as_echo_n "checking for GNU ld... " >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4828 $as_echo_n "checking for non-GNU ld... " >&6; }
4830 if test "${lt_cv_path_LD+set}" = set; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -z "$LD"; then
4834 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4835 for ac_dir in $PATH; do
4837 test -z "$ac_dir" && ac_dir=.
4838 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4839 lt_cv_path_LD="$ac_dir/$ac_prog"
4840 # Check to see if the program is GNU ld. I'd rather use --version,
4841 # but apparently some variants of GNU ld only accept -v.
4842 # Break only if it was the GNU/non-GNU ld that we prefer.
4843 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4844 *GNU* | *'with BFD'*)
4845 test "$with_gnu_ld" != no && break
4848 test "$with_gnu_ld" != yes && break
4855 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4860 if test -n "$LD"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4862 $as_echo "$LD" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4867 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4869 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4870 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4871 $as_echo_n "(cached) " >&6
4873 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4874 case `$LD -v 2>&1 </dev/null` in
4875 *GNU* | *'with BFD'*)
4876 lt_cv_prog_gnu_ld=yes
4879 lt_cv_prog_gnu_ld=no
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4884 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4885 with_gnu_ld=$lt_cv_prog_gnu_ld
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4896 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4897 if test "${lt_cv_path_NM+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$NM"; then
4901 # Let the user override the test.
4904 lt_nm_to_check="${ac_tool_prefix}nm"
4905 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4906 lt_nm_to_check="$lt_nm_to_check nm"
4908 for lt_tmp_nm in $lt_nm_to_check; do
4909 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4910 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4912 test -z "$ac_dir" && ac_dir=.
4913 tmp_nm="$ac_dir/$lt_tmp_nm"
4914 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4915 # Check to see if the nm accepts a BSD-compat flag.
4916 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4917 # nm: unknown option "B" ignored
4918 # Tru64's nm complains that /dev/null is an invalid object file
4919 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4920 */dev/null* | *'Invalid file or object type'*)
4921 lt_cv_path_NM="$tmp_nm -B"
4925 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4927 lt_cv_path_NM="$tmp_nm -p"
4931 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4932 continue # so that we can try to find one that supports BSD flags
4941 : ${lt_cv_path_NM=no}
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4945 $as_echo "$lt_cv_path_NM" >&6; }
4946 if test "$lt_cv_path_NM" != "no"; then
4949 # Didn't find any BSD compatible name lister, look for dumpbin.
4950 if test -n "$ac_tool_prefix"; then
4951 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4954 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4958 $as_echo_n "(cached) " >&6
4960 if test -n "$DUMPBIN"; then
4961 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir=.
4968 for ac_exec_ext in '' $ac_executable_extensions; do
4969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4970 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 DUMPBIN=$ac_cv_prog_DUMPBIN
4981 if test -n "$DUMPBIN"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4983 $as_echo "$DUMPBIN" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4990 test -n "$DUMPBIN" && break
4993 if test -z "$DUMPBIN"; then
4994 ac_ct_DUMPBIN=$DUMPBIN
4995 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5000 $as_echo_n "checking for $ac_word... " >&6; }
5001 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5002 $as_echo_n "(cached) " >&6
5004 if test -n "$ac_ct_DUMPBIN"; then
5005 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5025 if test -n "$ac_ct_DUMPBIN"; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5027 $as_echo "$ac_ct_DUMPBIN" >&6; }
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5030 $as_echo "no" >&6; }
5034 test -n "$ac_ct_DUMPBIN" && break
5037 if test "x$ac_ct_DUMPBIN" = x; then
5040 case $cross_compiling:$ac_tool_warned in
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5044 ac_tool_warned=yes ;;
5046 DUMPBIN=$ac_ct_DUMPBIN
5051 if test "$DUMPBIN" != ":"; then
5055 test -z "$NM" && NM=nm
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5063 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5064 if test "${lt_cv_nm_interface+set}" = set; then :
5065 $as_echo_n "(cached) " >&6
5067 lt_cv_nm_interface="BSD nm"
5068 echo "int some_variable = 0;" > conftest.$ac_ext
5069 (eval echo "\"\$as_me:5069: $ac_compile\"" >&5)
5070 (eval "$ac_compile" 2>conftest.err)
5071 cat conftest.err >&5
5072 (eval echo "\"\$as_me:5072: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5073 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5074 cat conftest.err >&5
5075 (eval echo "\"\$as_me:5075: output\"" >&5)
5076 cat conftest.out >&5
5077 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5078 lt_cv_nm_interface="MS dumpbin"
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5083 $as_echo "$lt_cv_nm_interface" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5086 $as_echo_n "checking whether ln -s works... " >&6; }
5088 if test "$LN_S" = "ln -s"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5090 $as_echo "yes" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5093 $as_echo "no, using $LN_S" >&6; }
5096 # find the maximum length of command line arguments
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5098 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5099 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5100 $as_echo_n "(cached) " >&6
5107 # On DJGPP, this test can blow up pretty badly due to problems in libc
5108 # (any single argument exceeding 2000 bytes causes a buffer overrun
5109 # during glob expansion). Even if it were fixed, the result of this
5110 # check would be larger than it should be.
5111 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5115 # Under GNU Hurd, this test is not required because there is
5116 # no limit to the length of command line arguments.
5117 # Libtool will interpret -1 as no limit whatsoever
5118 lt_cv_sys_max_cmd_len=-1;
5121 cygwin* | mingw* | cegcc*)
5122 # On Win9x/ME, this test blows up -- it succeeds, but takes
5123 # about 5 minutes as the teststring grows exponentially.
5124 # Worse, since 9x/ME are not pre-emptively multitasking,
5125 # you end up with a "frozen" computer, even though with patience
5126 # the test eventually succeeds (with a max line length of 256k).
5127 # Instead, let's just punt: use the minimum linelength reported by
5128 # all of the supported platforms: 8192 (on NT/2K/XP).
5129 lt_cv_sys_max_cmd_len=8192;
5133 # On AmigaOS with pdksh, this test takes hours, literally.
5134 # So we just punt and use a minimum line length of 8192.
5135 lt_cv_sys_max_cmd_len=8192;
5138 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5139 # This has been around since 386BSD, at least. Likely further.
5140 if test -x /sbin/sysctl; then
5141 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5142 elif test -x /usr/sbin/sysctl; then
5143 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5145 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5147 # And add a safety zone
5148 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5149 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5153 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5154 lt_cv_sys_max_cmd_len=196608
5158 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5159 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5160 # nice to cause kernel panics so lets avoid the loop below.
5161 # First set a reasonable default.
5162 lt_cv_sys_max_cmd_len=16384
5164 if test -x /sbin/sysconfig; then
5165 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5166 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5171 lt_cv_sys_max_cmd_len=102400
5173 sysv5* | sco5v6* | sysv4.2uw2*)
5174 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5175 if test -n "$kargmax"; then
5176 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5178 lt_cv_sys_max_cmd_len=32768
5182 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5183 if test -n "$lt_cv_sys_max_cmd_len"; then
5184 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5185 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5187 # Make teststring a little bigger before we do anything with it.
5188 # a 1K string should be a reasonable start.
5189 for i in 1 2 3 4 5 6 7 8 ; do
5190 teststring=$teststring$teststring
5192 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5193 # If test is not a shell built-in, we'll probably end up computing a
5194 # maximum length that is only half of the actual maximum length, but
5196 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5197 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5198 test $i != 17 # 1/2 MB should be enough
5201 teststring=$teststring$teststring
5203 # Only check the string length outside the loop.
5204 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5206 # Add a significant safety factor because C++ compilers can tack on
5207 # massive amounts of additional arguments before passing them to the
5208 # linker. It appears as though 1/2 is a usable value.
5209 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5216 if test -n $lt_cv_sys_max_cmd_len ; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5218 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5221 $as_echo "none" >&6; }
5223 max_cmd_len=$lt_cv_sys_max_cmd_len
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5235 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5236 # Try some XSI features
5239 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5241 && eval 'test $(( 1 + 1 )) -eq 2 \
5242 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5245 $as_echo "$xsi_shell" >&6; }
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5249 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5251 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5253 && lt_shell_append=yes
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5255 $as_echo "$lt_shell_append" >&6; }
5258 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5268 # test EBCDIC or ASCII
5269 case `echo X|tr X '\101'` in
5270 A) # ASCII based system
5271 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5272 lt_SP2NL='tr \040 \012'
5273 lt_NL2SP='tr \015\012 \040\040'
5275 *) # EBCDIC based system
5276 lt_SP2NL='tr \100 \n'
5277 lt_NL2SP='tr \r\n \100\100'
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5290 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5291 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5292 $as_echo_n "(cached) " >&6
5294 lt_cv_ld_reload_flag='-r'
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5297 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5298 reload_flag=$lt_cv_ld_reload_flag
5299 case $reload_flag in
5301 *) reload_flag=" $reload_flag" ;;
5303 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5306 if test "$GCC" = yes; then
5307 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5309 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5322 if test -n "$ac_tool_prefix"; then
5323 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5324 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5328 $as_echo_n "(cached) " >&6
5330 if test -n "$OBJDUMP"; then
5331 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5340 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 OBJDUMP=$ac_cv_prog_OBJDUMP
5351 if test -n "$OBJDUMP"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5353 $as_echo "$OBJDUMP" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5361 if test -z "$ac_cv_prog_OBJDUMP"; then
5362 ac_ct_OBJDUMP=$OBJDUMP
5363 # Extract the first word of "objdump", so it can be a program name with args.
5364 set dummy objdump; ac_word=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5368 $as_echo_n "(cached) " >&6
5370 if test -n "$ac_ct_OBJDUMP"; then
5371 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5380 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5391 if test -n "$ac_ct_OBJDUMP"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5393 $as_echo "$ac_ct_OBJDUMP" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5399 if test "x$ac_ct_OBJDUMP" = x; then
5402 case $cross_compiling:$ac_tool_warned in
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5406 ac_tool_warned=yes ;;
5408 OBJDUMP=$ac_ct_OBJDUMP
5411 OBJDUMP="$ac_cv_prog_OBJDUMP"
5414 test -z "$OBJDUMP" && OBJDUMP=objdump
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5425 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5426 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5427 $as_echo_n "(cached) " >&6
5429 lt_cv_file_magic_cmd='$MAGIC_CMD'
5430 lt_cv_file_magic_test_file=
5431 lt_cv_deplibs_check_method='unknown'
5432 # Need to set the preceding variable on all platforms that support
5433 # interlibrary dependencies.
5434 # 'none' -- dependencies not supported.
5435 # `unknown' -- same as none, but documents that we really don't know.
5436 # 'pass_all' -- all dependencies passed with no checks.
5437 # 'test_compile' -- check by making test program.
5438 # 'file_magic [[regex]]' -- check by looking for files in library path
5439 # which responds to the $file_magic_cmd with a given extended regex.
5440 # If you have `file' or equivalent on your system and you're not sure
5441 # whether `pass_all' will *always* work, you probably want this one.
5445 lt_cv_deplibs_check_method=pass_all
5449 lt_cv_deplibs_check_method=pass_all
5453 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5454 lt_cv_file_magic_cmd='/usr/bin/file -L'
5455 lt_cv_file_magic_test_file=/shlib/libc.so
5459 # func_win32_libid is a shell function defined in ltmain.sh
5460 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5461 lt_cv_file_magic_cmd='func_win32_libid'
5465 # Base MSYS/MinGW do not provide the 'file' command needed by
5466 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5467 # unless we find 'file', for example because we are cross-compiling.
5468 if ( file / ) >/dev/null 2>&1; then
5469 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5470 lt_cv_file_magic_cmd='func_win32_libid'
5472 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5473 lt_cv_file_magic_cmd='$OBJDUMP -f'
5478 # use the weaker test based on 'objdump'. See mingw*.
5479 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5480 lt_cv_file_magic_cmd='$OBJDUMP -f'
5483 darwin* | rhapsody*)
5484 lt_cv_deplibs_check_method=pass_all
5487 freebsd* | dragonfly*)
5488 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5491 # Not sure whether the presence of OpenBSD here was a mistake.
5492 # Let's accept both of them until this is cleared up.
5493 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5494 lt_cv_file_magic_cmd=/usr/bin/file
5495 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5499 lt_cv_deplibs_check_method=pass_all
5504 lt_cv_deplibs_check_method=pass_all
5507 hpux10.20* | hpux11*)
5508 lt_cv_file_magic_cmd=/usr/bin/file
5511 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5512 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5515 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]'
5516 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5519 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5520 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5526 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5530 irix5* | irix6* | nonstopux*)
5532 *-32|*"-32 ") libmagic=32-bit;;
5533 *-n32|*"-n32 ") libmagic=N32;;
5534 *-64|*"-64 ") libmagic=64-bit;;
5535 *) libmagic=never-match;;
5537 lt_cv_deplibs_check_method=pass_all
5540 # This must be Linux ELF.
5541 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5542 lt_cv_deplibs_check_method=pass_all
5545 netbsd* | netbsdelf*-gnu)
5546 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5547 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5549 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5554 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5555 lt_cv_file_magic_cmd=/usr/bin/file
5556 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5560 lt_cv_deplibs_check_method=pass_all
5564 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5565 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5567 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5571 osf3* | osf4* | osf5*)
5572 lt_cv_deplibs_check_method=pass_all
5576 lt_cv_deplibs_check_method=pass_all
5580 lt_cv_deplibs_check_method=pass_all
5583 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5584 lt_cv_deplibs_check_method=pass_all
5588 case $host_vendor in
5590 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]'
5591 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5594 lt_cv_deplibs_check_method=pass_all
5597 lt_cv_file_magic_cmd='/bin/file'
5598 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5601 lt_cv_file_magic_cmd='/bin/file'
5602 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5603 lt_cv_file_magic_test_file=/lib/libc.so
5606 lt_cv_deplibs_check_method=pass_all
5609 lt_cv_deplibs_check_method=pass_all
5615 lt_cv_deplibs_check_method=pass_all
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5621 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5622 file_magic_cmd=$lt_cv_file_magic_cmd
5623 deplibs_check_method=$lt_cv_deplibs_check_method
5624 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5637 if test -n "$ac_tool_prefix"; then
5638 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5639 set dummy ${ac_tool_prefix}ar; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if test "${ac_cv_prog_AR+set}" = set; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$AR"; then
5646 ac_cv_prog_AR="$AR" # Let the user override the test.
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5655 ac_cv_prog_AR="${ac_tool_prefix}ar"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 if test -n "$AR"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5668 $as_echo "$AR" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5676 if test -z "$ac_cv_prog_AR"; then
5678 # Extract the first word of "ar", so it can be a program name with args.
5679 set dummy ar; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$ac_ct_AR"; then
5686 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir=.
5693 for ac_exec_ext in '' $ac_executable_extensions; do
5694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695 ac_cv_prog_ac_ct_AR="ar"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5706 if test -n "$ac_ct_AR"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5708 $as_echo "$ac_ct_AR" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5714 if test "x$ac_ct_AR" = x; then
5717 case $cross_compiling:$ac_tool_warned in
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5721 ac_tool_warned=yes ;;
5729 test -z "$AR" && AR=ar
5730 test -z "$AR_FLAGS" && AR_FLAGS=cru
5742 if test -n "$ac_tool_prefix"; then
5743 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5744 set dummy ${ac_tool_prefix}strip; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if test "${ac_cv_prog_STRIP+set}" = set; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$STRIP"; then
5751 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 STRIP=$ac_cv_prog_STRIP
5771 if test -n "$STRIP"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5773 $as_echo "$STRIP" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5781 if test -z "$ac_cv_prog_STRIP"; then
5783 # Extract the first word of "strip", so it can be a program name with args.
5784 set dummy strip; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$ac_ct_STRIP"; then
5791 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_STRIP="strip"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5811 if test -n "$ac_ct_STRIP"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5813 $as_echo "$ac_ct_STRIP" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5819 if test "x$ac_ct_STRIP" = x; then
5822 case $cross_compiling:$ac_tool_warned in
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5826 ac_tool_warned=yes ;;
5831 STRIP="$ac_cv_prog_STRIP"
5834 test -z "$STRIP" && STRIP=:
5841 if test -n "$ac_tool_prefix"; then
5842 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5843 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845 $as_echo_n "checking for $ac_word... " >&6; }
5846 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5849 if test -n "$RANLIB"; then
5850 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 RANLIB=$ac_cv_prog_RANLIB
5870 if test -n "$RANLIB"; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5872 $as_echo "$RANLIB" >&6; }
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875 $as_echo "no" >&6; }
5880 if test -z "$ac_cv_prog_RANLIB"; then
5881 ac_ct_RANLIB=$RANLIB
5882 # Extract the first word of "ranlib", so it can be a program name with args.
5883 set dummy ranlib; ac_word=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5887 $as_echo_n "(cached) " >&6
5889 if test -n "$ac_ct_RANLIB"; then
5890 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5899 ac_cv_prog_ac_ct_RANLIB="ranlib"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5910 if test -n "$ac_ct_RANLIB"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5912 $as_echo "$ac_ct_RANLIB" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5918 if test "x$ac_ct_RANLIB" = x; then
5921 case $cross_compiling:$ac_tool_warned in
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5925 ac_tool_warned=yes ;;
5927 RANLIB=$ac_ct_RANLIB
5930 RANLIB="$ac_cv_prog_RANLIB"
5933 test -z "$RANLIB" && RANLIB=:
5940 # Determine commands to create old-style static archives.
5941 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5942 old_postinstall_cmds='chmod 644 $oldlib'
5943 old_postuninstall_cmds=
5945 if test -n "$RANLIB"; then
5948 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5951 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5954 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5990 # If no C compiler was specified, use CC.
5993 # If no C compiler flags were specified, use CFLAGS.
5994 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5996 # Allow CC to be a program name with arguments.
6000 # Check for command to grab the raw symbol name followed by C symbol from nm.
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6002 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6003 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6004 $as_echo_n "(cached) " >&6
6007 # These are sane defaults that work on at least a few old systems.
6008 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6010 # Character class describing NM global symbol codes.
6011 symcode='[BCDEGRST]'
6013 # Regexp to match symbols that can be accessed directly from C.
6014 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6016 # Define system-specific variables.
6021 cygwin* | mingw* | pw32* | cegcc*)
6022 symcode='[ABCDGISTW]'
6025 if test "$host_cpu" = ia64; then
6026 symcode='[ABCDEGRST]'
6030 symcode='[BCDEGRST]'
6033 symcode='[BCDEGQRST]'
6044 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6052 # If we're using GNU nm, then use its standard symbol codes.
6053 case `$NM -V 2>&1` in
6054 *GNU* | *'with BFD'*)
6055 symcode='[ABCDGIRSTW]' ;;
6058 # Transform an extracted symbol line into a proper C declaration.
6059 # Some systems (esp. on ia64) link data and code symbols differently,
6060 # so use this general approach.
6061 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6063 # Transform an extracted symbol line into symbol name and symbol address
6064 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6065 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'"
6067 # Handle CRLF in mingw tool chain
6071 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6075 # Try without a prefix underscore, then with it.
6076 for ac_symprfx in "" "_"; do
6078 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6079 symxfrm="\\1 $ac_symprfx\\2 \\2"
6081 # Write the raw and C identifiers.
6082 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6083 # Fake it for dumpbin and say T for any non-static function
6084 # and D for any global variable.
6085 # Also find C++ and __fastcall symbols from MSVC++,
6086 # which start with @ or ?.
6087 lt_cv_sys_global_symbol_pipe="$AWK '"\
6088 " {last_section=section; section=\$ 3};"\
6089 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6090 " \$ 0!~/External *\|/{next};"\
6091 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6092 " {if(hide[section]) next};"\
6093 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6094 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6095 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6096 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6097 " ' prfx=^$ac_symprfx"
6099 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6102 # Check to see that the pipe works correctly.
6106 cat > conftest.$ac_ext <<_LT_EOF
6111 void nm_test_func(void);
6112 void nm_test_func(void){}
6116 int main(){nm_test_var='a';nm_test_func();return(0);}
6119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6120 (eval $ac_compile) 2>&5
6122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6123 test $ac_status = 0; }; then
6124 # Now try to grab the symbols.
6126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6127 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6130 test $ac_status = 0; } && test -s "$nlist"; then
6131 # Try sorting and uniquifying the output.
6132 if sort "$nlist" | uniq > "$nlist"T; then
6133 mv -f "$nlist"T "$nlist"
6138 # Make sure that we snagged all the symbols we need.
6139 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6140 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6141 cat <<_LT_EOF > conftest.$ac_ext
6147 # Now generate the symbol file.
6148 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6150 cat <<_LT_EOF >> conftest.$ac_ext
6152 /* The mapping between symbol names and symbols. */
6157 lt__PROGRAM__LTX_preloaded_symbols[] =
6159 { "@PROGRAM@", (void *) 0 },
6161 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6162 cat <<\_LT_EOF >> conftest.$ac_ext
6166 /* This works around a problem in FreeBSD linker */
6167 #ifdef FREEBSD_WORKAROUND
6168 static const void *lt_preloaded_setup() {
6169 return lt__PROGRAM__LTX_preloaded_symbols;
6177 # Now try linking the two files.
6178 mv conftest.$ac_objext conftstm.$ac_objext
6179 lt_save_LIBS="$LIBS"
6180 lt_save_CFLAGS="$CFLAGS"
6181 LIBS="conftstm.$ac_objext"
6182 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6184 (eval $ac_link) 2>&5
6186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6190 LIBS="$lt_save_LIBS"
6191 CFLAGS="$lt_save_CFLAGS"
6193 echo "cannot find nm_test_func in $nlist" >&5
6196 echo "cannot find nm_test_var in $nlist" >&5
6199 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6202 echo "$progname: failed program was:" >&5
6203 cat conftest.$ac_ext >&5
6205 rm -rf conftest* conftst*
6207 # Do not use the global_symbol_pipe unless it works.
6208 if test "$pipe_works" = yes; then
6211 lt_cv_sys_global_symbol_pipe=
6217 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6218 lt_cv_sys_global_symbol_to_cdecl=
6220 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6222 $as_echo "failed" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6225 $as_echo "ok" >&6; }
6250 # Check whether --enable-libtool-lock was given.
6251 if test "${enable_libtool_lock+set}" = set; then :
6252 enableval=$enable_libtool_lock;
6255 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6257 # Some flags need to be propagated to the compiler or linker for good
6261 # Find out which ABI we are using.
6262 echo 'int i;' > conftest.$ac_ext
6263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6264 (eval $ac_compile) 2>&5
6266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6267 test $ac_status = 0; }; then
6268 case `/usr/bin/file conftest.$ac_objext` in
6280 # Find out which ABI we are using.
6281 echo '#line 6281 "configure"' > conftest.$ac_ext
6282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6283 (eval $ac_compile) 2>&5
6285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6286 test $ac_status = 0; }; then
6287 if test "$lt_cv_prog_gnu_ld" = yes; then
6288 case `/usr/bin/file conftest.$ac_objext` in
6290 LD="${LD-ld} -melf32bsmip"
6293 LD="${LD-ld} -melf32bmipn32"
6296 LD="${LD-ld} -melf64bmip"
6300 case `/usr/bin/file conftest.$ac_objext` in
6316 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6317 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6318 # Find out which ABI we are using.
6319 echo 'int i;' > conftest.$ac_ext
6320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6321 (eval $ac_compile) 2>&5
6323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324 test $ac_status = 0; }; then
6325 case `/usr/bin/file conftest.o` in
6328 x86_64-*kfreebsd*-gnu)
6329 LD="${LD-ld} -m elf_i386_fbsd"
6332 LD="${LD-ld} -m elf_i386"
6334 ppc64-*linux*|powerpc64-*linux*)
6335 LD="${LD-ld} -m elf32ppclinux"
6338 LD="${LD-ld} -m elf_s390"
6341 LD="${LD-ld} -m elf32_sparc"
6347 x86_64-*kfreebsd*-gnu)
6348 LD="${LD-ld} -m elf_x86_64_fbsd"
6351 LD="${LD-ld} -m elf_x86_64"
6353 ppc*-*linux*|powerpc*-*linux*)
6354 LD="${LD-ld} -m elf64ppc"
6356 s390*-*linux*|s390*-*tpf*)
6357 LD="${LD-ld} -m elf64_s390"
6360 LD="${LD-ld} -m elf64_sparc"
6370 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6371 SAVE_CFLAGS="$CFLAGS"
6372 CFLAGS="$CFLAGS -belf"
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6374 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6375 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6376 $as_echo_n "(cached) " >&6
6379 ac_cpp='$CPP $CPPFLAGS'
6380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6395 if ac_fn_c_try_link "$LINENO"; then :
6396 lt_cv_cc_needs_belf=yes
6398 lt_cv_cc_needs_belf=no
6400 rm -f core conftest.err conftest.$ac_objext \
6401 conftest$ac_exeext conftest.$ac_ext
6403 ac_cpp='$CPP $CPPFLAGS'
6404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6410 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6411 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6412 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6413 CFLAGS="$SAVE_CFLAGS"
6417 # Find out which ABI we are using.
6418 echo 'int i;' > conftest.$ac_ext
6419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6420 (eval $ac_compile) 2>&5
6422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6423 test $ac_status = 0; }; then
6424 case `/usr/bin/file conftest.o` in
6426 case $lt_cv_prog_gnu_ld in
6427 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6429 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6441 need_locks="$enable_libtool_lock"
6445 rhapsody* | darwin*)
6446 if test -n "$ac_tool_prefix"; then
6447 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6448 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6452 $as_echo_n "(cached) " >&6
6454 if test -n "$DSYMUTIL"; then
6455 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6464 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6475 if test -n "$DSYMUTIL"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6477 $as_echo "$DSYMUTIL" >&6; }
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6485 if test -z "$ac_cv_prog_DSYMUTIL"; then
6486 ac_ct_DSYMUTIL=$DSYMUTIL
6487 # Extract the first word of "dsymutil", so it can be a program name with args.
6488 set dummy dsymutil; ac_word=$2
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490 $as_echo_n "checking for $ac_word... " >&6; }
6491 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6492 $as_echo_n "(cached) " >&6
6494 if test -n "$ac_ct_DSYMUTIL"; then
6495 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 test -z "$as_dir" && as_dir=.
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6504 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6515 if test -n "$ac_ct_DSYMUTIL"; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6517 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520 $as_echo "no" >&6; }
6523 if test "x$ac_ct_DSYMUTIL" = x; then
6526 case $cross_compiling:$ac_tool_warned in
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6530 ac_tool_warned=yes ;;
6532 DSYMUTIL=$ac_ct_DSYMUTIL
6535 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6538 if test -n "$ac_tool_prefix"; then
6539 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6540 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6544 $as_echo_n "(cached) " >&6
6546 if test -n "$NMEDIT"; then
6547 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 NMEDIT=$ac_cv_prog_NMEDIT
6567 if test -n "$NMEDIT"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6569 $as_echo "$NMEDIT" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6577 if test -z "$ac_cv_prog_NMEDIT"; then
6578 ac_ct_NMEDIT=$NMEDIT
6579 # Extract the first word of "nmedit", so it can be a program name with args.
6580 set dummy nmedit; ac_word=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582 $as_echo_n "checking for $ac_word... " >&6; }
6583 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6584 $as_echo_n "(cached) " >&6
6586 if test -n "$ac_ct_NMEDIT"; then
6587 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 test -z "$as_dir" && as_dir=.
6594 for ac_exec_ext in '' $ac_executable_extensions; do
6595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6596 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6607 if test -n "$ac_ct_NMEDIT"; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6609 $as_echo "$ac_ct_NMEDIT" >&6; }
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 $as_echo "no" >&6; }
6615 if test "x$ac_ct_NMEDIT" = x; then
6618 case $cross_compiling:$ac_tool_warned in
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6622 ac_tool_warned=yes ;;
6624 NMEDIT=$ac_ct_NMEDIT
6627 NMEDIT="$ac_cv_prog_NMEDIT"
6630 if test -n "$ac_tool_prefix"; then
6631 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6632 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634 $as_echo_n "checking for $ac_word... " >&6; }
6635 if test "${ac_cv_prog_LIPO+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6638 if test -n "$LIPO"; then
6639 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6648 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 LIPO=$ac_cv_prog_LIPO
6659 if test -n "$LIPO"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6661 $as_echo "$LIPO" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 $as_echo "no" >&6; }
6669 if test -z "$ac_cv_prog_LIPO"; then
6671 # Extract the first word of "lipo", so it can be a program name with args.
6672 set dummy lipo; ac_word=$2
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 $as_echo_n "checking for $ac_word... " >&6; }
6675 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6676 $as_echo_n "(cached) " >&6
6678 if test -n "$ac_ct_LIPO"; then
6679 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 test -z "$as_dir" && as_dir=.
6686 for ac_exec_ext in '' $ac_executable_extensions; do
6687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6688 ac_cv_prog_ac_ct_LIPO="lipo"
6689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6698 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6699 if test -n "$ac_ct_LIPO"; then
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6701 $as_echo "$ac_ct_LIPO" >&6; }
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 $as_echo "no" >&6; }
6707 if test "x$ac_ct_LIPO" = x; then
6710 case $cross_compiling:$ac_tool_warned in
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714 ac_tool_warned=yes ;;
6719 LIPO="$ac_cv_prog_LIPO"
6722 if test -n "$ac_tool_prefix"; then
6723 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6724 set dummy ${ac_tool_prefix}otool; ac_word=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 $as_echo_n "checking for $ac_word... " >&6; }
6727 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6728 $as_echo_n "(cached) " >&6
6730 if test -n "$OTOOL"; then
6731 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 OTOOL=$ac_cv_prog_OTOOL
6751 if test -n "$OTOOL"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6753 $as_echo "$OTOOL" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6761 if test -z "$ac_cv_prog_OTOOL"; then
6763 # Extract the first word of "otool", so it can be a program name with args.
6764 set dummy otool; ac_word=$2
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 $as_echo_n "checking for $ac_word... " >&6; }
6767 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6768 $as_echo_n "(cached) " >&6
6770 if test -n "$ac_ct_OTOOL"; then
6771 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir=.
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6780 ac_cv_prog_ac_ct_OTOOL="otool"
6781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6791 if test -n "$ac_ct_OTOOL"; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6793 $as_echo "$ac_ct_OTOOL" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 $as_echo "no" >&6; }
6799 if test "x$ac_ct_OTOOL" = x; then
6802 case $cross_compiling:$ac_tool_warned in
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6806 ac_tool_warned=yes ;;
6811 OTOOL="$ac_cv_prog_OTOOL"
6814 if test -n "$ac_tool_prefix"; then
6815 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6816 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6820 $as_echo_n "(cached) " >&6
6822 if test -n "$OTOOL64"; then
6823 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6832 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 OTOOL64=$ac_cv_prog_OTOOL64
6843 if test -n "$OTOOL64"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6845 $as_echo "$OTOOL64" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6853 if test -z "$ac_cv_prog_OTOOL64"; then
6854 ac_ct_OTOOL64=$OTOOL64
6855 # Extract the first word of "otool64", so it can be a program name with args.
6856 set dummy otool64; ac_word=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 $as_echo_n "checking for $ac_word... " >&6; }
6859 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6860 $as_echo_n "(cached) " >&6
6862 if test -n "$ac_ct_OTOOL64"; then
6863 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6872 ac_cv_prog_ac_ct_OTOOL64="otool64"
6873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6883 if test -n "$ac_ct_OTOOL64"; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6885 $as_echo "$ac_ct_OTOOL64" >&6; }
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888 $as_echo "no" >&6; }
6891 if test "x$ac_ct_OTOOL64" = x; then
6894 case $cross_compiling:$ac_tool_warned in
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6898 ac_tool_warned=yes ;;
6900 OTOOL64=$ac_ct_OTOOL64
6903 OTOOL64="$ac_cv_prog_OTOOL64"
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6933 $as_echo_n "checking for -single_module linker flag... " >&6; }
6934 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6935 $as_echo_n "(cached) " >&6
6937 lt_cv_apple_cc_single_mod=no
6938 if test -z "${LT_MULTI_MODULE}"; then
6939 # By default we will add the -single_module flag. You can override
6940 # by either setting the environment variable LT_MULTI_MODULE
6941 # non-empty at configure time, or by adding -multi_module to the
6943 rm -rf libconftest.dylib*
6944 echo "int foo(void){return 1;}" > conftest.c
6945 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6946 -dynamiclib -Wl,-single_module conftest.c" >&5
6947 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6948 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6950 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6951 lt_cv_apple_cc_single_mod=yes
6953 cat conftest.err >&5
6955 rm -rf libconftest.dylib*
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6960 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6962 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6963 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6964 $as_echo_n "(cached) " >&6
6966 lt_cv_ld_exported_symbols_list=no
6967 save_LDFLAGS=$LDFLAGS
6968 echo "_main" > conftest.sym
6969 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971 /* end confdefs.h. */
6981 if ac_fn_c_try_link "$LINENO"; then :
6982 lt_cv_ld_exported_symbols_list=yes
6984 lt_cv_ld_exported_symbols_list=no
6986 rm -f core conftest.err conftest.$ac_objext \
6987 conftest$ac_exeext conftest.$ac_ext
6988 LDFLAGS="$save_LDFLAGS"
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6992 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6994 rhapsody* | darwin1.[012])
6995 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6997 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6998 darwin*) # darwin 5.x on
6999 # if running on 10.5 or later, the deployment target defaults
7000 # to the OS version, if on x86, and 10.4, the deployment
7001 # target defaults to 10.4. Don't you love it?
7002 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7003 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7004 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7006 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7008 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7012 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7013 _lt_dar_single_mod='$single_module'
7015 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7016 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7018 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7020 if test "$DSYMUTIL" != ":"; then
7021 _lt_dsymutil='~$DSYMUTIL $lib || :'
7029 ac_cpp='$CPP $CPPFLAGS'
7030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7034 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7035 # On Suns, sometimes $CPP names a directory.
7036 if test -n "$CPP" && test -d "$CPP"; then
7039 if test -z "$CPP"; then
7040 if test "${ac_cv_prog_CPP+set}" = set; then :
7041 $as_echo_n "(cached) " >&6
7043 # Double quotes because CPP needs to be expanded
7044 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7047 for ac_c_preproc_warn_flag in '' yes
7049 # Use a header file that comes with gcc, so configuring glibc
7050 # with a fresh cross-compiler works.
7051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7052 # <limits.h> exists even on freestanding compilers.
7053 # On the NeXT, cc -E runs the code through the compiler's parser,
7054 # not just through cpp. "Syntax error" is here to catch this case.
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7058 # include <limits.h>
7060 # include <assert.h>
7064 if ac_fn_c_try_cpp "$LINENO"; then :
7067 # Broken: fails on valid input.
7070 rm -f conftest.err conftest.i conftest.$ac_ext
7072 # OK, works on sane cases. Now check whether nonexistent headers
7073 # can be detected and how.
7074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h. */
7076 #include <ac_nonexistent.h>
7078 if ac_fn_c_try_cpp "$LINENO"; then :
7079 # Broken: success on invalid input.
7082 # Passes both tests.
7086 rm -f conftest.err conftest.i conftest.$ac_ext
7089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7090 rm -f conftest.i conftest.err conftest.$ac_ext
7091 if $ac_preproc_ok; then :
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7104 $as_echo "$CPP" >&6; }
7106 for ac_c_preproc_warn_flag in '' yes
7108 # Use a header file that comes with gcc, so configuring glibc
7109 # with a fresh cross-compiler works.
7110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7111 # <limits.h> exists even on freestanding compilers.
7112 # On the NeXT, cc -E runs the code through the compiler's parser,
7113 # not just through cpp. "Syntax error" is here to catch this case.
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7117 # include <limits.h>
7119 # include <assert.h>
7123 if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: fails on valid input.
7129 rm -f conftest.err conftest.i conftest.$ac_ext
7131 # OK, works on sane cases. Now check whether nonexistent headers
7132 # can be detected and how.
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7135 #include <ac_nonexistent.h>
7137 if ac_fn_c_try_cpp "$LINENO"; then :
7138 # Broken: success on invalid input.
7141 # Passes both tests.
7145 rm -f conftest.err conftest.i conftest.$ac_ext
7148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7149 rm -f conftest.i conftest.err conftest.$ac_ext
7150 if $ac_preproc_ok; then :
7153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7155 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7156 See \`config.log' for more details" "$LINENO" 5 ; }
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7167 $as_echo_n "checking for ANSI C header files... " >&6; }
7168 if test "${ac_cv_header_stdc+set}" = set; then :
7169 $as_echo_n "(cached) " >&6
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7186 if ac_fn_c_try_compile "$LINENO"; then :
7187 ac_cv_header_stdc=yes
7189 ac_cv_header_stdc=no
7191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193 if test $ac_cv_header_stdc = yes; then
7194 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7201 $EGREP "memchr" >/dev/null 2>&1; then :
7204 ac_cv_header_stdc=no
7210 if test $ac_cv_header_stdc = yes; then
7211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7218 $EGREP "free" >/dev/null 2>&1; then :
7221 ac_cv_header_stdc=no
7227 if test $ac_cv_header_stdc = yes; then
7228 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7229 if test "$cross_compiling" = yes; then :
7232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7233 /* end confdefs.h. */
7236 #if ((' ' & 0x0FF) == 0x020)
7237 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7238 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7240 # define ISLOWER(c) \
7241 (('a' <= (c) && (c) <= 'i') \
7242 || ('j' <= (c) && (c) <= 'r') \
7243 || ('s' <= (c) && (c) <= 'z'))
7244 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7247 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7252 for (i = 0; i < 256; i++)
7253 if (XOR (islower (i), ISLOWER (i))
7254 || toupper (i) != TOUPPER (i))
7259 if ac_fn_c_try_run "$LINENO"; then :
7262 ac_cv_header_stdc=no
7264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7265 conftest.$ac_objext conftest.beam conftest.$ac_ext
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7271 $as_echo "$ac_cv_header_stdc" >&6; }
7272 if test $ac_cv_header_stdc = yes; then
7274 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7278 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7279 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7280 inttypes.h stdint.h unistd.h
7282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7283 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7285 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7286 cat >>confdefs.h <<_ACEOF
7287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7295 for ac_header in dlfcn.h
7297 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7299 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7300 cat >>confdefs.h <<_ACEOF
7301 #define HAVE_DLFCN_H 1
7320 # Check whether --enable-shared was given.
7321 if test "${enable_shared+set}" = set; then :
7322 enableval=$enable_shared; p=${PACKAGE-default}
7324 yes) enable_shared=yes ;;
7325 no) enable_shared=no ;;
7328 # Look at the argument we got. We use all the common list separators.
7329 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7330 for pkg in $enableval; do
7332 if test "X$pkg" = "X$p"; then
7353 # Check whether --with-pic was given.
7354 if test "${with_pic+set}" = set; then :
7355 withval=$with_pic; pic_mode="$withval"
7361 test -z "$pic_mode" && pic_mode=default
7369 # Check whether --enable-fast-install was given.
7370 if test "${enable_fast_install+set}" = set; then :
7371 enableval=$enable_fast_install; p=${PACKAGE-default}
7373 yes) enable_fast_install=yes ;;
7374 no) enable_fast_install=no ;;
7376 enable_fast_install=no
7377 # Look at the argument we got. We use all the common list separators.
7378 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7379 for pkg in $enableval; do
7381 if test "X$pkg" = "X$p"; then
7382 enable_fast_install=yes
7389 enable_fast_install=yes
7402 # This can be used to rebuild libtool when needed
7403 LIBTOOL_DEPS="$ltmain"
7405 # Always use our own libtool.
7406 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7432 test -z "$LN_S" && LN_S="ln -s"
7447 if test -n "${ZSH_VERSION+set}" ; then
7448 setopt NO_GLOB_SUBST
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7452 $as_echo_n "checking for objdir... " >&6; }
7453 if test "${lt_cv_objdir+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7456 rm -f .libs 2>/dev/null
7457 mkdir .libs 2>/dev/null
7458 if test -d .libs; then
7461 # MS-DOS does not allow filenames that begin with a dot.
7464 rmdir .libs 2>/dev/null
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7467 $as_echo "$lt_cv_objdir" >&6; }
7468 objdir=$lt_cv_objdir
7474 cat >>confdefs.h <<_ACEOF
7475 #define LT_OBJDIR "$lt_cv_objdir/"
7496 # AIX sometimes has problems with the GCC collect2 program. For some
7497 # reason, if we set the COLLECT_NAMES environment variable, the problems
7498 # vanish in a puff of smoke.
7499 if test "X${COLLECT_NAMES+set}" != Xset; then
7501 export COLLECT_NAMES
7506 # Sed substitution that helps us do robust quoting. It backslashifies
7507 # metacharacters that are still active within double-quoted strings.
7508 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7510 # Same as above, but do not quote variable references.
7511 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7513 # Sed substitution to delay expansion of an escaped shell variable in a
7514 # double_quote_subst'ed string.
7515 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7517 # Sed substitution to delay expansion of an escaped single quote.
7518 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7520 # Sed substitution to avoid accidental globbing in evaled expressions
7521 no_glob_subst='s/\*/\\\*/g'
7525 can_build_shared=yes
7527 # All known linkers require a `.a' archive for static linking (except MSVC,
7528 # which needs '.lib').
7531 with_gnu_ld="$lt_cv_prog_gnu_ld"
7534 old_CFLAGS="$CFLAGS"
7536 # Set sane defaults for various variables
7537 test -z "$CC" && CC=cc
7538 test -z "$LTCC" && LTCC=$CC
7539 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7540 test -z "$LD" && LD=ld
7541 test -z "$ac_objext" && ac_objext=o
7543 for cc_temp in $compiler""; do
7545 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7546 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7551 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7554 # Only perform the check for file, if the check method requires it
7555 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7556 case $deplibs_check_method in
7558 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7560 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7561 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7562 $as_echo_n "(cached) " >&6
7566 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7569 lt_save_MAGIC_CMD="$MAGIC_CMD"
7570 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7571 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7572 for ac_dir in $ac_dummy; do
7574 test -z "$ac_dir" && ac_dir=.
7575 if test -f $ac_dir/${ac_tool_prefix}file; then
7576 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7577 if test -n "$file_magic_test_file"; then
7578 case $deplibs_check_method in
7580 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7581 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7582 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7583 $EGREP "$file_magic_regex" > /dev/null; then
7588 *** Warning: the command libtool uses to detect shared libraries,
7589 *** $file_magic_cmd, produces output that libtool cannot recognize.
7590 *** The result is that libtool may fail to recognize shared libraries
7591 *** as such. This will affect the creation of libtool libraries that
7592 *** depend on shared libraries, but programs linked with such libtool
7593 *** libraries will work regardless of this problem. Nevertheless, you
7594 *** may want to report the problem to your system manager and/or to
7595 *** bug-libtool@gnu.org
7605 MAGIC_CMD="$lt_save_MAGIC_CMD"
7610 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7611 if test -n "$MAGIC_CMD"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7613 $as_echo "$MAGIC_CMD" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7623 if test -z "$lt_cv_path_MAGIC_CMD"; then
7624 if test -n "$ac_tool_prefix"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7626 $as_echo_n "checking for file... " >&6; }
7627 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7632 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7635 lt_save_MAGIC_CMD="$MAGIC_CMD"
7636 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7637 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7638 for ac_dir in $ac_dummy; do
7640 test -z "$ac_dir" && ac_dir=.
7641 if test -f $ac_dir/file; then
7642 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7643 if test -n "$file_magic_test_file"; then
7644 case $deplibs_check_method in
7646 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7647 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7648 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7649 $EGREP "$file_magic_regex" > /dev/null; then
7654 *** Warning: the command libtool uses to detect shared libraries,
7655 *** $file_magic_cmd, produces output that libtool cannot recognize.
7656 *** The result is that libtool may fail to recognize shared libraries
7657 *** as such. This will affect the creation of libtool libraries that
7658 *** depend on shared libraries, but programs linked with such libtool
7659 *** libraries will work regardless of this problem. Nevertheless, you
7660 *** may want to report the problem to your system manager and/or to
7661 *** bug-libtool@gnu.org
7671 MAGIC_CMD="$lt_save_MAGIC_CMD"
7676 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7677 if test -n "$MAGIC_CMD"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7679 $as_echo "$MAGIC_CMD" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7695 # Use C for the default configuration in the libtool script
7699 ac_cpp='$CPP $CPPFLAGS'
7700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7705 # Source file extension for C test sources.
7708 # Object file extension for compiled C test sources.
7712 # Code to be used in simple compile tests
7713 lt_simple_compile_test_code="int some_variable = 0;"
7715 # Code to be used in simple link tests
7716 lt_simple_link_test_code='int main(){return(0);}'
7724 # If no C compiler was specified, use CC.
7727 # If no C compiler flags were specified, use CFLAGS.
7728 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7730 # Allow CC to be a program name with arguments.
7733 # Save the default compiler, since it gets overwritten when the other
7734 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7735 compiler_DEFAULT=$CC
7737 # save warnings/boilerplate of simple test code
7738 ac_outfile=conftest.$ac_objext
7739 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7740 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7741 _lt_compiler_boilerplate=`cat conftest.err`
7744 ac_outfile=conftest.$ac_objext
7745 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7746 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7747 _lt_linker_boilerplate=`cat conftest.err`
7752 ## There is no encapsulation within the following macros, do not change
7753 ## the running order or otherwise move them around unless you know exactly
7754 ## what you are doing...
7755 if test -n "$compiler"; then
7757 lt_prog_compiler_no_builtin_flag=
7759 if test "$GCC" = yes; then
7760 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7763 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7764 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7765 $as_echo_n "(cached) " >&6
7767 lt_cv_prog_compiler_rtti_exceptions=no
7768 ac_outfile=conftest.$ac_objext
7769 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7770 lt_compiler_flag="-fno-rtti -fno-exceptions"
7771 # Insert the option either (1) after the last *FLAGS variable, or
7772 # (2) before a word containing "conftest.", or (3) at the end.
7773 # Note that $ac_compile itself does not contain backslashes and begins
7774 # with a dollar sign (not a hyphen), so the echo should work correctly.
7775 # The option is referenced via a variable to avoid confusing sed.
7776 lt_compile=`echo "$ac_compile" | $SED \
7777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7779 -e 's:$: $lt_compiler_flag:'`
7780 (eval echo "\"\$as_me:7780: $lt_compile\"" >&5)
7781 (eval "$lt_compile" 2>conftest.err)
7783 cat conftest.err >&5
7784 echo "$as_me:7784: \$? = $ac_status" >&5
7785 if (exit $ac_status) && test -s "$ac_outfile"; then
7786 # The compiler can only warn and ignore the option if not recognized
7787 # So say no if there are warnings other than the usual output.
7788 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7789 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7790 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7791 lt_cv_prog_compiler_rtti_exceptions=yes
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7798 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7800 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7801 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7813 lt_prog_compiler_wl=
7814 lt_prog_compiler_pic=
7815 lt_prog_compiler_static=
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7818 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7820 if test "$GCC" = yes; then
7821 lt_prog_compiler_wl='-Wl,'
7822 lt_prog_compiler_static='-static'
7826 # All AIX code is PIC.
7827 if test "$host_cpu" = ia64; then
7828 # AIX 5 now supports IA64 processor
7829 lt_prog_compiler_static='-Bstatic'
7836 # see comment about AmigaOS4 .so support
7837 lt_prog_compiler_pic='-fPIC'
7840 # FIXME: we need at least 68020 code to build shared libraries, but
7841 # adding the `-m68020' flag to GCC prevents building anything better,
7843 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7848 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7849 # PIC is the default for these OSes.
7852 mingw* | cygwin* | pw32* | os2* | cegcc*)
7853 # This hack is so that the source file can tell whether it is being
7854 # built for inclusion in a dll (and should export symbols for example).
7855 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7856 # (--disable-auto-import) libraries
7857 lt_prog_compiler_pic='-DDLL_EXPORT'
7860 darwin* | rhapsody*)
7861 # PIC is the default on this platform
7862 # Common symbols not allowed in MH_DYLIB files
7863 lt_prog_compiler_pic='-fno-common'
7867 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7868 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7869 # sets the default TLS model and affects inlining.
7875 lt_prog_compiler_pic='-fPIC'
7881 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7882 # Instead, we relocate shared libraries at runtime.
7886 # Just because we use GCC doesn't mean we suddenly get shared libraries
7887 # on systems that don't support them.
7888 lt_prog_compiler_can_build_shared=no
7893 # QNX uses GNU C++, but need to define -shared option too, otherwise
7895 lt_prog_compiler_pic='-fPIC -shared'
7899 if test -d /usr/nec; then
7900 lt_prog_compiler_pic=-Kconform_pic
7905 lt_prog_compiler_pic='-fPIC'
7909 # PORTME Check for flag to pass linker flags through the system compiler.
7912 lt_prog_compiler_wl='-Wl,'
7913 if test "$host_cpu" = ia64; then
7914 # AIX 5 now supports IA64 processor
7915 lt_prog_compiler_static='-Bstatic'
7917 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7921 mingw* | cygwin* | pw32* | os2* | cegcc*)
7922 # This hack is so that the source file can tell whether it is being
7923 # built for inclusion in a dll (and should export symbols for example).
7924 lt_prog_compiler_pic='-DDLL_EXPORT'
7927 hpux9* | hpux10* | hpux11*)
7928 lt_prog_compiler_wl='-Wl,'
7929 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7936 lt_prog_compiler_pic='+Z'
7939 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7940 lt_prog_compiler_static='${wl}-a ${wl}archive'
7943 irix5* | irix6* | nonstopux*)
7944 lt_prog_compiler_wl='-Wl,'
7945 # PIC (with -KPIC) is the default.
7946 lt_prog_compiler_static='-non_shared'
7949 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7950 case $cc_basename in
7951 # old Intel for x86_64 which still supported -KPIC.
7953 lt_prog_compiler_wl='-Wl,'
7954 lt_prog_compiler_pic='-KPIC'
7955 lt_prog_compiler_static='-static'
7957 # icc used to be incompatible with GCC.
7958 # ICC 10 doesn't accept -KPIC any more.
7960 lt_prog_compiler_wl='-Wl,'
7961 lt_prog_compiler_pic='-fPIC'
7962 lt_prog_compiler_static='-static'
7964 # Lahey Fortran 8.1.
7966 lt_prog_compiler_wl='-Wl,'
7967 lt_prog_compiler_pic='--shared'
7968 lt_prog_compiler_static='--static'
7970 pgcc* | pgf77* | pgf90* | pgf95*)
7971 # Portland Group compilers (*not* the Pentium gcc compiler,
7972 # which looks to be a dead project)
7973 lt_prog_compiler_wl='-Wl,'
7974 lt_prog_compiler_pic='-fpic'
7975 lt_prog_compiler_static='-Bstatic'
7978 lt_prog_compiler_wl='-Wl,'
7979 # All Alpha code is PIC.
7980 lt_prog_compiler_static='-non_shared'
7983 # IBM XL C 8.0/Fortran 10.1 on PPC
7984 lt_prog_compiler_wl='-Wl,'
7985 lt_prog_compiler_pic='-qpic'
7986 lt_prog_compiler_static='-qstaticlink'
7989 case `$CC -V 2>&1 | sed 5q` in
7992 lt_prog_compiler_pic='-KPIC'
7993 lt_prog_compiler_static='-Bstatic'
7994 lt_prog_compiler_wl='-Wl,'
7997 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7998 lt_prog_compiler_pic='-KPIC'
7999 lt_prog_compiler_static='-Bstatic'
8000 lt_prog_compiler_wl=''
8008 lt_prog_compiler_pic='-KPIC'
8009 lt_prog_compiler_static='-Bstatic'
8013 # QNX uses GNU C++, but need to define -shared option too, otherwise
8015 lt_prog_compiler_pic='-fPIC -shared'
8018 osf3* | osf4* | osf5*)
8019 lt_prog_compiler_wl='-Wl,'
8020 # All OSF/1 code is PIC.
8021 lt_prog_compiler_static='-non_shared'
8025 lt_prog_compiler_static='-non_shared'
8029 lt_prog_compiler_pic='-KPIC'
8030 lt_prog_compiler_static='-Bstatic'
8031 case $cc_basename in
8033 lt_prog_compiler_wl='-Qoption ld ';;
8035 lt_prog_compiler_wl='-Wl,';;
8040 lt_prog_compiler_wl='-Qoption ld '
8041 lt_prog_compiler_pic='-PIC'
8042 lt_prog_compiler_static='-Bstatic'
8045 sysv4 | sysv4.2uw2* | sysv4.3*)
8046 lt_prog_compiler_wl='-Wl,'
8047 lt_prog_compiler_pic='-KPIC'
8048 lt_prog_compiler_static='-Bstatic'
8052 if test -d /usr/nec ;then
8053 lt_prog_compiler_pic='-Kconform_pic'
8054 lt_prog_compiler_static='-Bstatic'
8058 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8059 lt_prog_compiler_wl='-Wl,'
8060 lt_prog_compiler_pic='-KPIC'
8061 lt_prog_compiler_static='-Bstatic'
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_can_build_shared=no
8070 lt_prog_compiler_pic='-pic'
8071 lt_prog_compiler_static='-Bstatic'
8075 lt_prog_compiler_can_build_shared=no
8081 # For platforms which do not support PIC, -DPIC is meaningless:
8083 lt_prog_compiler_pic=
8086 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8090 $as_echo "$lt_prog_compiler_pic" >&6; }
8098 # Check to make sure the PIC flag actually works.
8100 if test -n "$lt_prog_compiler_pic"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8102 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8103 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8104 $as_echo_n "(cached) " >&6
8106 lt_cv_prog_compiler_pic_works=no
8107 ac_outfile=conftest.$ac_objext
8108 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8109 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8110 # Insert the option either (1) after the last *FLAGS variable, or
8111 # (2) before a word containing "conftest.", or (3) at the end.
8112 # Note that $ac_compile itself does not contain backslashes and begins
8113 # with a dollar sign (not a hyphen), so the echo should work correctly.
8114 # The option is referenced via a variable to avoid confusing sed.
8115 lt_compile=`echo "$ac_compile" | $SED \
8116 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8118 -e 's:$: $lt_compiler_flag:'`
8119 (eval echo "\"\$as_me:8119: $lt_compile\"" >&5)
8120 (eval "$lt_compile" 2>conftest.err)
8122 cat conftest.err >&5
8123 echo "$as_me:8123: \$? = $ac_status" >&5
8124 if (exit $ac_status) && test -s "$ac_outfile"; then
8125 # The compiler can only warn and ignore the option if not recognized
8126 # So say no if there are warnings other than the usual output.
8127 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8128 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8129 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8130 lt_cv_prog_compiler_pic_works=yes
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8137 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8139 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8140 case $lt_prog_compiler_pic in
8142 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8145 lt_prog_compiler_pic=
8146 lt_prog_compiler_can_build_shared=no
8157 # Check to make sure the static flag actually works.
8159 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8161 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8162 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8163 $as_echo_n "(cached) " >&6
8165 lt_cv_prog_compiler_static_works=no
8166 save_LDFLAGS="$LDFLAGS"
8167 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8168 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8169 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8170 # The linker can only warn and ignore the option if not recognized
8171 # So say no if there are warnings
8172 if test -s conftest.err; then
8173 # Append any errors to the config.log.
8174 cat conftest.err 1>&5
8175 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8176 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8177 if diff conftest.exp conftest.er2 >/dev/null; then
8178 lt_cv_prog_compiler_static_works=yes
8181 lt_cv_prog_compiler_static_works=yes
8185 LDFLAGS="$save_LDFLAGS"
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8189 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8191 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8194 lt_prog_compiler_static=
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8204 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8205 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8206 $as_echo_n "(cached) " >&6
8208 lt_cv_prog_compiler_c_o=no
8209 $RM -r conftest 2>/dev/null
8213 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8215 lt_compiler_flag="-o out/conftest2.$ac_objext"
8216 # Insert the option either (1) after the last *FLAGS variable, or
8217 # (2) before a word containing "conftest.", or (3) at the end.
8218 # Note that $ac_compile itself does not contain backslashes and begins
8219 # with a dollar sign (not a hyphen), so the echo should work correctly.
8220 lt_compile=`echo "$ac_compile" | $SED \
8221 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8222 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8223 -e 's:$: $lt_compiler_flag:'`
8224 (eval echo "\"\$as_me:8224: $lt_compile\"" >&5)
8225 (eval "$lt_compile" 2>out/conftest.err)
8227 cat out/conftest.err >&5
8228 echo "$as_me:8228: \$? = $ac_status" >&5
8229 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8231 # The compiler can only warn and ignore the option if not recognized
8232 # So say no if there are warnings
8233 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8234 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8235 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8236 lt_cv_prog_compiler_c_o=yes
8241 # SGI C++ compiler will create directory out/ii_files/ for
8242 # template instantiation
8243 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8244 $RM out/* && rmdir out
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8251 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8259 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8260 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8261 $as_echo_n "(cached) " >&6
8263 lt_cv_prog_compiler_c_o=no
8264 $RM -r conftest 2>/dev/null
8268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8270 lt_compiler_flag="-o out/conftest2.$ac_objext"
8271 # Insert the option either (1) after the last *FLAGS variable, or
8272 # (2) before a word containing "conftest.", or (3) at the end.
8273 # Note that $ac_compile itself does not contain backslashes and begins
8274 # with a dollar sign (not a hyphen), so the echo should work correctly.
8275 lt_compile=`echo "$ac_compile" | $SED \
8276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278 -e 's:$: $lt_compiler_flag:'`
8279 (eval echo "\"\$as_me:8279: $lt_compile\"" >&5)
8280 (eval "$lt_compile" 2>out/conftest.err)
8282 cat out/conftest.err >&5
8283 echo "$as_me:8283: \$? = $ac_status" >&5
8284 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8286 # The compiler can only warn and ignore the option if not recognized
8287 # So say no if there are warnings
8288 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8289 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8290 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8291 lt_cv_prog_compiler_c_o=yes
8296 # SGI C++ compiler will create directory out/ii_files/ for
8297 # template instantiation
8298 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8299 $RM out/* && rmdir out
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8306 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8311 hard_links="nottested"
8312 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8313 # do not overwrite the value of need_locks provided by the user
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8315 $as_echo_n "checking if we can lock with hard links... " >&6; }
8318 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8320 ln conftest.a conftest.b 2>&5 || hard_links=no
8321 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8323 $as_echo "$hard_links" >&6; }
8324 if test "$hard_links" = no; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8326 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8339 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8342 allow_undefined_flag=
8343 always_export_symbols=no
8345 archive_expsym_cmds=
8346 compiler_needs_object=no
8347 enable_shared_with_static_runtimes=no
8348 export_dynamic_flag_spec=
8349 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8350 hardcode_automatic=no
8352 hardcode_direct_absolute=no
8353 hardcode_libdir_flag_spec=
8354 hardcode_libdir_flag_spec_ld=
8355 hardcode_libdir_separator=
8357 hardcode_shlibpath_var=unsupported
8359 link_all_deplibs=unknown
8362 old_archive_from_new_cmds=
8363 old_archive_from_expsyms_cmds=
8364 thread_safe_flag_spec=
8365 whole_archive_flag_spec=
8366 # include_expsyms should be a list of space-separated symbols to be *always*
8367 # included in the symbol list
8369 # exclude_expsyms can be an extended regexp of symbols to exclude
8370 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8371 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8372 # as well as any symbol that contains `d'.
8373 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8374 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8375 # platforms (ab)use it in PIC code, but their linkers get confused if
8376 # the symbol is explicitly referenced. Since portable code cannot
8377 # rely on this symbol name, it's probably fine to never include it in
8378 # preloaded symbol tables.
8379 # Exclude shared library initialization/finalization symbols.
8380 extract_expsyms_cmds=
8383 cygwin* | mingw* | pw32* | cegcc*)
8384 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8385 # When not using gcc, we currently assume that we are using
8386 # Microsoft Visual C++.
8387 if test "$GCC" != yes; then
8392 # we just hope/assume this is gcc and not c89 (= MSVC++)
8398 linux* | k*bsd*-gnu)
8404 if test "$with_gnu_ld" = yes; then
8405 # If archive_cmds runs LD, not CC, wlarc should be empty
8408 # Set some defaults for GNU ld with shared library support. These
8409 # are reset later if shared libraries are not supported. Putting them
8410 # here allows them to be overridden if necessary.
8411 runpath_var=LD_RUN_PATH
8412 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8413 export_dynamic_flag_spec='${wl}--export-dynamic'
8414 # ancient GNU ld didn't support --whole-archive et. al.
8415 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8416 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8418 whole_archive_flag_spec=
8420 supports_anon_versioning=no
8421 case `$LD -v 2>&1` in
8422 *GNU\ gold*) supports_anon_versioning=yes ;;
8423 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8424 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8425 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8426 *\ 2.11.*) ;; # other 2.11 versions
8427 *) supports_anon_versioning=yes ;;
8430 # See if GNU ld supports shared libraries.
8433 # On AIX/PPC, the GNU linker is very broken
8434 if test "$host_cpu" != ia64; then
8438 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8439 *** to be unable to reliably create shared libraries on AIX.
8440 *** Therefore, libtool is disabling shared libraries support. If you
8441 *** really care for shared libraries, you may want to modify your PATH
8442 *** so that a non-GNU linker is found, and then restart.
8451 # see comment about AmigaOS4 .so support
8452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8453 archive_expsym_cmds=''
8456 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)'
8457 hardcode_libdir_flag_spec='-L$libdir'
8458 hardcode_minus_L=yes
8464 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8465 allow_undefined_flag=unsupported
8466 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8467 # support --undefined. This deserves some investigation. FIXME
8468 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8474 cygwin* | mingw* | pw32* | cegcc*)
8475 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8476 # as there is no search path for DLLs.
8477 hardcode_libdir_flag_spec='-L$libdir'
8478 allow_undefined_flag=unsupported
8479 always_export_symbols=no
8480 enable_shared_with_static_runtimes=yes
8481 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8483 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8484 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8485 # If the export-symbols file already is a .def file (1st line
8486 # is EXPORTS), use it as is; otherwise, prepend...
8487 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8488 cp $export_symbols $output_objdir/$soname.def;
8490 echo EXPORTS > $output_objdir/$soname.def;
8491 cat $export_symbols >> $output_objdir/$soname.def;
8493 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8501 hardcode_shlibpath_var=no
8502 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8503 export_dynamic_flag_spec='${wl}-E'
8504 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8505 # Instead, shared libraries are loaded at an image base (0x10000000 by
8506 # default) and relocated if they conflict, which is a slow very memory
8507 # consuming and fragmenting process. To avoid this, we pick a random,
8508 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8509 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8510 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8511 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'
8514 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8516 if test "$host_os" = linux-dietlibc; then
8517 case $cc_basename in
8518 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8521 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8522 && test "$tmp_diet" = no
8525 tmp_sharedflag='-shared'
8526 case $cc_basename,$host_cpu in
8527 pgcc*) # Portland Group C compiler
8528 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'
8529 tmp_addflag=' $pic_flag'
8531 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8532 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'
8533 tmp_addflag=' $pic_flag -Mnomain' ;;
8534 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8535 tmp_addflag=' -i_dynamic' ;;
8536 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8537 tmp_addflag=' -i_dynamic -nofor_main' ;;
8538 ifc* | ifort*) # Intel Fortran compiler
8539 tmp_addflag=' -nofor_main' ;;
8540 lf95*) # Lahey Fortran 8.1
8541 whole_archive_flag_spec=
8542 tmp_sharedflag='--shared' ;;
8543 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8544 tmp_sharedflag='-qmkshrobj'
8547 case `$CC -V 2>&1 | sed 5q` in
8548 *Sun\ C*) # Sun C 5.9
8549 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'
8550 compiler_needs_object=yes
8551 tmp_sharedflag='-G' ;;
8552 *Sun\ F*) # Sun Fortran 8.3
8553 tmp_sharedflag='-G' ;;
8555 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8557 if test "x$supports_anon_versioning" = xyes; then
8558 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8559 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8560 echo "local: *; };" >> $output_objdir/$libname.ver~
8561 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8564 case $cc_basename in
8566 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8567 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8568 hardcode_libdir_flag_spec=
8569 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8570 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8571 if test "x$supports_anon_versioning" = xyes; then
8572 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8573 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8574 echo "local: *; };" >> $output_objdir/$libname.ver~
8575 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8584 netbsd* | netbsdelf*-gnu)
8585 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8586 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8589 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8590 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8595 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8599 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8600 *** create shared libraries on Solaris systems. Therefore, libtool
8601 *** is disabling shared libraries support. We urge you to upgrade GNU
8602 *** binutils to release 2.9.1 or newer. Another option is to modify
8603 *** your PATH or compiler configuration so that the native linker is
8604 *** used, and then restart.
8607 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8609 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8615 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8616 case `$LD -v 2>&1` in
8617 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8621 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8622 *** reliably create shared libraries on SCO systems. Therefore, libtool
8623 *** is disabling shared libraries support. We urge you to upgrade GNU
8624 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8625 *** your PATH or compiler configuration so that the native linker is
8626 *** used, and then restart.
8631 # For security reasons, it is highly recommended that you always
8632 # use absolute paths for naming shared libraries, and exclude the
8633 # DT_RUNPATH tag from executables and libraries. But doing so
8634 # requires that you compile everything twice, which is a pain.
8635 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8636 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8637 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8647 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8650 hardcode_shlibpath_var=no
8654 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8655 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8656 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8663 if test "$ld_shlibs" = no; then
8665 hardcode_libdir_flag_spec=
8666 export_dynamic_flag_spec=
8667 whole_archive_flag_spec=
8670 # PORTME fill in a description of your system's linker (not GNU ld)
8673 allow_undefined_flag=unsupported
8674 always_export_symbols=yes
8675 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'
8676 # Note: this linker hardcodes the directories in LIBPATH if there
8677 # are no directories specified by -L.
8678 hardcode_minus_L=yes
8679 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8680 # Neither direct hardcoding nor static linking is supported with a
8682 hardcode_direct=unsupported
8687 if test "$host_cpu" = ia64; then
8688 # On IA64, the linker does run time linking by default, so we don't
8689 # have to do anything special.
8690 aix_use_runtimelinking=no
8691 exp_sym_flag='-Bexport'
8694 # If we're using GNU nm, then we don't want the "-C" option.
8695 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8696 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8697 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'
8699 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'
8701 aix_use_runtimelinking=no
8703 # Test if we are trying to use run time linking or normal
8704 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8705 # need to do runtime linking.
8706 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8707 for ld_flag in $LDFLAGS; do
8708 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8709 aix_use_runtimelinking=yes
8716 exp_sym_flag='-bexport'
8717 no_entry_flag='-bnoentry'
8720 # When large executables or shared objects are built, AIX ld can
8721 # have problems creating the table of contents. If linking a library
8722 # or program results in "error TOC overflow" add -mminimal-toc to
8723 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8724 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8728 hardcode_direct_absolute=yes
8729 hardcode_libdir_separator=':'
8730 link_all_deplibs=yes
8731 file_list_spec='${wl}-f,'
8733 if test "$GCC" = yes; then
8734 case $host_os in aix4.[012]|aix4.[012].*)
8735 # We only want to do this on AIX 4.2 and lower, the check
8736 # below for broken collect2 doesn't work under 4.3+
8737 collect2name=`${CC} -print-prog-name=collect2`
8738 if test -f "$collect2name" &&
8739 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8741 # We have reworked collect2
8744 # We have old collect2
8745 hardcode_direct=unsupported
8746 # It fails to find uninstalled libraries when the uninstalled
8747 # path is not listed in the libpath. Setting hardcode_minus_L
8748 # to unsupported forces relinking
8749 hardcode_minus_L=yes
8750 hardcode_libdir_flag_spec='-L$libdir'
8751 hardcode_libdir_separator=
8755 shared_flag='-shared'
8756 if test "$aix_use_runtimelinking" = yes; then
8757 shared_flag="$shared_flag "'${wl}-G'
8762 if test "$host_cpu" = ia64; then
8763 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8764 # chokes on -Wl,-G. The following line is correct:
8767 if test "$aix_use_runtimelinking" = yes; then
8768 shared_flag='${wl}-G'
8770 shared_flag='${wl}-bM:SRE'
8775 export_dynamic_flag_spec='${wl}-bexpall'
8776 # It seems that -bexpall does not export symbols beginning with
8777 # underscore (_), so it is better to generate a list of symbols to export.
8778 always_export_symbols=yes
8779 if test "$aix_use_runtimelinking" = yes; then
8780 # Warning - without using the other runtime loading flags (-brtl),
8781 # -berok will link without error, but may produce a broken library.
8782 allow_undefined_flag='-berok'
8783 # Determine the default libpath from the value encoded in an
8785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8796 if ac_fn_c_try_link "$LINENO"; then :
8798 lt_aix_libpath_sed='
8799 /Import File Strings/,/^$/ {
8805 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8806 # Check for a 64-bit object if we didn't find anything.
8807 if test -z "$aix_libpath"; then
8808 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8815 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8816 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"
8818 if test "$host_cpu" = ia64; then
8819 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8820 allow_undefined_flag="-z nodefs"
8821 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"
8823 # Determine the default libpath from the value encoded in an
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8836 if ac_fn_c_try_link "$LINENO"; then :
8838 lt_aix_libpath_sed='
8839 /Import File Strings/,/^$/ {
8845 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8846 # Check for a 64-bit object if we didn't find anything.
8847 if test -z "$aix_libpath"; then
8848 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8855 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8856 # Warning - without using the other run time loading flags,
8857 # -berok will link without error, but may produce a broken library.
8858 no_undefined_flag=' ${wl}-bernotok'
8859 allow_undefined_flag=' ${wl}-berok'
8860 # Exported symbols can be pulled into shared objects from archives
8861 whole_archive_flag_spec='$convenience'
8862 archive_cmds_need_lc=yes
8863 # This is similar to how AIX traditionally builds its shared libraries.
8864 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'
8872 # see comment about AmigaOS4 .so support
8873 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8874 archive_expsym_cmds=''
8877 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)'
8878 hardcode_libdir_flag_spec='-L$libdir'
8879 hardcode_minus_L=yes
8885 export_dynamic_flag_spec=-rdynamic
8888 cygwin* | mingw* | pw32* | cegcc*)
8889 # When not using gcc, we currently assume that we are using
8890 # Microsoft Visual C++.
8891 # hardcode_libdir_flag_spec is actually meaningless, as there is
8892 # no search path for DLLs.
8893 hardcode_libdir_flag_spec=' '
8894 allow_undefined_flag=unsupported
8895 # Tell ltmain to make .lib files, not .a files.
8897 # Tell ltmain to make .dll files, not .so files.
8899 # FIXME: Setting linknames here is a bad hack.
8900 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8901 # The linker will automatically build a .lib file if we build a DLL.
8902 old_archive_from_new_cmds='true'
8903 # FIXME: Should let the user specify the lib program.
8904 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8905 fix_srcfile_path='`cygpath -w "$srcfile"`'
8906 enable_shared_with_static_runtimes=yes
8909 darwin* | rhapsody*)
8912 archive_cmds_need_lc=no
8914 hardcode_automatic=yes
8915 hardcode_shlibpath_var=unsupported
8916 whole_archive_flag_spec=''
8917 link_all_deplibs=yes
8918 allow_undefined_flag="$_lt_dar_allow_undefined"
8919 case $cc_basename in
8920 ifort*) _lt_dar_can_shared=yes ;;
8921 *) _lt_dar_can_shared=$GCC ;;
8923 if test "$_lt_dar_can_shared" = "yes"; then
8924 output_verbose_link_cmd=echo
8925 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8926 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8927 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}"
8928 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}"
8937 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8938 hardcode_libdir_flag_spec='-L$libdir'
8939 hardcode_shlibpath_var=no
8946 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8947 # support. Future versions do this automatically, but an explicit c++rt0.o
8948 # does not break anything, and helps significantly (at the cost of a little
8951 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8952 hardcode_libdir_flag_spec='-R$libdir'
8954 hardcode_shlibpath_var=no
8957 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8959 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8961 hardcode_minus_L=yes
8962 hardcode_shlibpath_var=no
8965 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8966 freebsd* | dragonfly*)
8967 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8968 hardcode_libdir_flag_spec='-R$libdir'
8970 hardcode_shlibpath_var=no
8974 if test "$GCC" = yes; then
8975 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'
8977 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'
8979 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8980 hardcode_libdir_separator=:
8983 # hardcode_minus_L: Not really in the search PATH,
8984 # but as the default location of the library.
8985 hardcode_minus_L=yes
8986 export_dynamic_flag_spec='${wl}-E'
8990 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8991 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8993 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8995 if test "$with_gnu_ld" = no; then
8996 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8997 hardcode_libdir_flag_spec_ld='+b $libdir'
8998 hardcode_libdir_separator=:
9000 hardcode_direct_absolute=yes
9001 export_dynamic_flag_spec='${wl}-E'
9002 # hardcode_minus_L: Not really in the search PATH,
9003 # but as the default location of the library.
9004 hardcode_minus_L=yes
9009 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9012 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9015 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9018 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9024 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9027 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9030 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9034 if test "$with_gnu_ld" = no; then
9035 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9036 hardcode_libdir_separator=:
9041 hardcode_shlibpath_var=no
9045 hardcode_direct_absolute=yes
9046 export_dynamic_flag_spec='${wl}-E'
9048 # hardcode_minus_L: Not really in the search PATH,
9049 # but as the default location of the library.
9050 hardcode_minus_L=yes
9056 irix5* | irix6* | nonstopux*)
9057 if test "$GCC" = yes; then
9058 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'
9059 # Try to use the -exported_symbol ld option, if it does not
9060 # work, assume that -exports_file does not work either and
9061 # implicitly export all symbols.
9062 save_LDFLAGS="$LDFLAGS"
9063 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9065 /* end confdefs.h. */
9068 if ac_fn_c_try_link "$LINENO"; then :
9069 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'
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 LDFLAGS="$save_LDFLAGS"
9076 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'
9077 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'
9079 archive_cmds_need_lc='no'
9080 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9081 hardcode_libdir_separator=:
9083 link_all_deplibs=yes
9086 netbsd* | netbsdelf*-gnu)
9087 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9088 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9090 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9092 hardcode_libdir_flag_spec='-R$libdir'
9094 hardcode_shlibpath_var=no
9098 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9101 hardcode_libdir_separator=:
9102 hardcode_shlibpath_var=no
9109 if test -f /usr/libexec/ld.so; then
9111 hardcode_shlibpath_var=no
9112 hardcode_direct_absolute=yes
9113 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9114 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9116 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9117 export_dynamic_flag_spec='${wl}-E'
9120 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9121 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_libdir_flag_spec='-R$libdir'
9125 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9126 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9136 hardcode_libdir_flag_spec='-L$libdir'
9137 hardcode_minus_L=yes
9138 allow_undefined_flag=unsupported
9139 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'
9140 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9144 if test "$GCC" = yes; then
9145 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9146 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'
9148 allow_undefined_flag=' -expect_unresolved \*'
9149 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'
9151 archive_cmds_need_lc='no'
9152 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9153 hardcode_libdir_separator=:
9156 osf4* | osf5*) # as osf3* with the addition of -msym flag
9157 if test "$GCC" = yes; then
9158 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9159 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'
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9162 allow_undefined_flag=' -expect_unresolved \*'
9163 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'
9164 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~
9165 $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'
9167 # Both c and cxx compiler support -rpath directly
9168 hardcode_libdir_flag_spec='-rpath $libdir'
9170 archive_cmds_need_lc='no'
9171 hardcode_libdir_separator=:
9175 no_undefined_flag=' -z defs'
9176 if test "$GCC" = yes; then
9178 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9179 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9180 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9182 case `$CC -V 2>&1` in
9185 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9186 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9187 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9191 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9192 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9193 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9197 hardcode_libdir_flag_spec='-R$libdir'
9198 hardcode_shlibpath_var=no
9200 solaris2.[0-5] | solaris2.[0-5].*) ;;
9202 # The compiler driver will combine and reorder linker options,
9203 # but understands `-z linker_flag'. GCC discards it without `$wl',
9204 # but is careful enough not to reorder.
9205 # Supported since Solaris 2.6 (maybe 2.5.1?)
9206 if test "$GCC" = yes; then
9207 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9209 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9213 link_all_deplibs=yes
9217 if test "x$host_vendor" = xsequent; then
9218 # Use $CC to link under sequent, because it throws in some extra .o
9219 # files that make .init and .fini sections work.
9220 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9222 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9224 hardcode_libdir_flag_spec='-L$libdir'
9226 hardcode_minus_L=yes
9227 hardcode_shlibpath_var=no
9231 case $host_vendor in
9233 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9234 hardcode_direct=yes # is this really true???
9237 ## LD is ld it makes a PLAMLIB
9238 ## CC just makes a GrossModule.
9239 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9240 reload_cmds='$CC -r -o $output$reload_objs'
9244 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9245 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9248 runpath_var='LD_RUN_PATH'
9249 hardcode_shlibpath_var=no
9253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9254 hardcode_shlibpath_var=no
9255 export_dynamic_flag_spec='-Bexport'
9259 if test -d /usr/nec; then
9260 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9261 hardcode_shlibpath_var=no
9262 runpath_var=LD_RUN_PATH
9263 hardcode_runpath_var=yes
9268 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9269 no_undefined_flag='${wl}-z,text'
9270 archive_cmds_need_lc=no
9271 hardcode_shlibpath_var=no
9272 runpath_var='LD_RUN_PATH'
9274 if test "$GCC" = yes; then
9275 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9276 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9278 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9279 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9283 sysv5* | sco3.2v5* | sco5v6*)
9284 # Note: We can NOT use -z defs as we might desire, because we do not
9285 # link with -lc, and that would cause any symbols used from libc to
9286 # always be unresolved, which means just about no library would
9287 # ever link correctly. If we're not using GNU ld we use -z text
9288 # though, which does catch some bad symbols but isn't as heavy-handed
9290 no_undefined_flag='${wl}-z,text'
9291 allow_undefined_flag='${wl}-z,nodefs'
9292 archive_cmds_need_lc=no
9293 hardcode_shlibpath_var=no
9294 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9295 hardcode_libdir_separator=':'
9296 link_all_deplibs=yes
9297 export_dynamic_flag_spec='${wl}-Bexport'
9298 runpath_var='LD_RUN_PATH'
9300 if test "$GCC" = yes; then
9301 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9302 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9304 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9305 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9310 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9311 hardcode_libdir_flag_spec='-L$libdir'
9312 hardcode_shlibpath_var=no
9320 if test x$host_vendor = xsni; then
9322 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9323 export_dynamic_flag_spec='${wl}-Blargedynsym'
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9330 $as_echo "$ld_shlibs" >&6; }
9331 test "$ld_shlibs" = no && can_build_shared=no
9333 with_gnu_ld=$with_gnu_ld
9350 # Do we need to explicitly link libc?
9352 case "x$archive_cmds_need_lc" in
9354 # Assume -lc should be added
9355 archive_cmds_need_lc=yes
9357 if test "$enable_shared" = yes && test "$GCC" = yes; then
9358 case $archive_cmds in
9360 # FIXME: we may have to deal with multi-command sequences.
9363 # Test whether the compiler implicitly links with -lc since on some
9364 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9365 # to ld, don't add -lc before -lgcc.
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9367 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9372 (eval $ac_compile) 2>&5
9374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9375 test $ac_status = 0; } 2>conftest.err; then
9378 libobjs=conftest.$ac_objext
9380 wl=$lt_prog_compiler_wl
9381 pic_flag=$lt_prog_compiler_pic
9387 lt_save_allow_undefined_flag=$allow_undefined_flag
9388 allow_undefined_flag=
9389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9390 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9393 test $ac_status = 0; }
9395 archive_cmds_need_lc=no
9397 archive_cmds_need_lc=yes
9399 allow_undefined_flag=$lt_save_allow_undefined_flag
9401 cat conftest.err 1>&5
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9405 $as_echo "$archive_cmds_need_lc" >&6; }
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9569 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9571 if test "$GCC" = yes; then
9573 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9574 *) lt_awk_arg="/^libraries:/" ;;
9576 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9577 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9578 # if the path contains ";" then we assume it to be the separator
9579 # otherwise default to the standard path separator (i.e. ":") - it is
9580 # assumed that no part of a normal pathname contains ";" but that should
9581 # okay in the real world where ";" in dirpaths is itself problematic.
9582 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9584 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9586 # Ok, now we have the path, separated by spaces, we can step through it
9587 # and add multilib dir if necessary.
9588 lt_tmp_lt_search_path_spec=
9589 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9590 for lt_sys_path in $lt_search_path_spec; do
9591 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9592 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9594 test -d "$lt_sys_path" && \
9595 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9598 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9599 BEGIN {RS=" "; FS="/|\n";} {
9602 for (lt_i = NF; lt_i > 0; lt_i--) {
9603 if ($lt_i != "" && $lt_i != ".") {
9604 if ($lt_i == "..") {
9607 if (lt_count == 0) {
9608 lt_foo="/" $lt_i lt_foo;
9615 if (lt_foo != "") { lt_freq[lt_foo]++; }
9616 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9618 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9620 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9623 libname_spec='lib$name'
9631 shlibpath_overrides_runpath=unknown
9633 dynamic_linker="$host_os ld.so"
9634 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9635 need_lib_prefix=unknown
9636 hardcode_into_libs=no
9638 # when you set need_version to no, make sure it does not cause -set_version
9639 # flags to be left without arguments
9640 need_version=unknown
9645 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9646 shlibpath_var=LIBPATH
9648 # AIX 3 has no versioning support, so we append a major version to the name.
9649 soname_spec='${libname}${release}${shared_ext}$major'
9656 hardcode_into_libs=yes
9657 if test "$host_cpu" = ia64; then
9658 # AIX 5 supports IA64
9659 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9660 shlibpath_var=LD_LIBRARY_PATH
9662 # With GCC up to 2.95.x, collect2 would create an import file
9663 # for dependence libraries. The import file would start with
9664 # the line `#! .'. This would cause the generated library to
9665 # depend on `.', always an invalid library. This was fixed in
9666 # development snapshots of GCC prior to 3.0.
9668 aix4 | aix4.[01] | aix4.[01].*)
9669 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9671 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9678 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9679 # soname into executable. Probably we can add versioning support to
9680 # collect2, so additional links can be useful in future.
9681 if test "$aix_use_runtimelinking" = yes; then
9682 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9683 # instead of lib<name>.a to let people know that these are not
9684 # typical AIX shared libraries.
9685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9687 # We preserve .a as extension for shared libraries through AIX4.2
9688 # and later when we are not doing run time linking.
9689 library_names_spec='${libname}${release}.a $libname.a'
9690 soname_spec='${libname}${release}${shared_ext}$major'
9692 shlibpath_var=LIBPATH
9699 # Since July 2007 AmigaOS4 officially supports .so libraries.
9700 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9704 library_names_spec='$libname.ixlibrary $libname.a'
9705 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9706 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'
9712 library_names_spec='${libname}${shared_ext}'
9713 dynamic_linker="$host_os ld.so"
9714 shlibpath_var=LIBRARY_PATH
9720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9721 soname_spec='${libname}${release}${shared_ext}$major'
9722 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9723 shlibpath_var=LD_LIBRARY_PATH
9724 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9725 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9726 # the default ld.so.conf also contains /usr/contrib/lib and
9727 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9728 # libtool to hard-code these into programs
9731 cygwin* | mingw* | pw32* | cegcc*)
9732 version_type=windows
9737 case $GCC,$host_os in
9738 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9739 library_names_spec='$libname.dll.a'
9740 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9741 postinstall_cmds='base_file=`basename \${file}`~
9742 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9743 dldir=$destdir/`dirname \$dlpath`~
9744 test -d \$dldir || mkdir -p \$dldir~
9745 $install_prog $dir/$dlname \$dldir/$dlname~
9746 chmod a+x \$dldir/$dlname~
9747 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9748 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9750 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9751 dlpath=$dir/\$dldll~
9753 shlibpath_overrides_runpath=yes
9757 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9758 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9759 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9762 # MinGW DLLs use traditional 'lib' prefix
9763 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9764 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9765 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9766 # It is most probably a Windows format PATH printed by
9767 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9768 # path with ; separators, and with drive letters. We can handle the
9769 # drive letters (cygwin fileutils understands them), so leave them,
9770 # especially as we might pass files found there to a mingw objdump,
9771 # which wouldn't understand a cygwinified path. Ahh.
9772 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9774 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9778 # pw32 DLLs use 'pw' prefix rather than 'lib'
9779 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9785 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9788 dynamic_linker='Win32 ld.exe'
9789 # FIXME: first we should search . and the directory the executable is in
9793 darwin* | rhapsody*)
9794 dynamic_linker="$host_os dyld"
9798 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9799 soname_spec='${libname}${release}${major}$shared_ext'
9800 shlibpath_overrides_runpath=yes
9801 shlibpath_var=DYLD_LIBRARY_PATH
9802 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9804 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9805 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9813 soname_spec='${libname}${release}${shared_ext}$major'
9814 shlibpath_var=LD_LIBRARY_PATH
9821 freebsd* | dragonfly*)
9822 # DragonFly does not have aout. When/if they implement a new
9823 # versioning mechanism, adjust this.
9824 if test -x /usr/bin/objformat; then
9825 objformat=`/usr/bin/objformat`
9828 freebsd[123]*) objformat=aout ;;
9832 version_type=freebsd-$objformat
9833 case $version_type in
9835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9840 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9844 shlibpath_var=LD_LIBRARY_PATH
9847 shlibpath_overrides_runpath=yes
9849 freebsd3.[01]* | freebsdelf3.[01]*)
9850 shlibpath_overrides_runpath=yes
9851 hardcode_into_libs=yes
9853 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9854 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9855 shlibpath_overrides_runpath=no
9856 hardcode_into_libs=yes
9858 *) # from 4.6 on, and DragonFly
9859 shlibpath_overrides_runpath=yes
9860 hardcode_into_libs=yes
9869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9870 soname_spec='${libname}${release}${shared_ext}$major'
9871 shlibpath_var=LD_LIBRARY_PATH
9872 hardcode_into_libs=yes
9875 hpux9* | hpux10* | hpux11*)
9876 # Give a soname corresponding to the major version so that dld.sl refuses to
9877 # link against other versions.
9884 hardcode_into_libs=yes
9885 dynamic_linker="$host_os dld.so"
9886 shlibpath_var=LD_LIBRARY_PATH
9887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9889 soname_spec='${libname}${release}${shared_ext}$major'
9890 if test "X$HPUX_IA64_MODE" = X32; then
9891 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9893 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9895 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9899 hardcode_into_libs=yes
9900 dynamic_linker="$host_os dld.sl"
9901 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9902 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904 soname_spec='${libname}${release}${shared_ext}$major'
9905 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9906 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9910 dynamic_linker="$host_os dld.sl"
9911 shlibpath_var=SHLIB_PATH
9912 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9914 soname_spec='${libname}${release}${shared_ext}$major'
9917 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9918 postinstall_cmds='chmod 555 $lib'
9925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9926 soname_spec='${libname}${release}${shared_ext}$major'
9927 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9928 shlibpath_var=LD_LIBRARY_PATH
9929 shlibpath_overrides_runpath=no
9930 hardcode_into_libs=yes
9933 irix5* | irix6* | nonstopux*)
9935 nonstopux*) version_type=nonstopux ;;
9937 if test "$lt_cv_prog_gnu_ld" = yes; then
9945 soname_spec='${libname}${release}${shared_ext}$major'
9946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9948 irix5* | nonstopux*)
9952 case $LD in # libtool.m4 will add one of these switches to LD
9953 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9954 libsuff= shlibsuff= libmagic=32-bit;;
9955 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9956 libsuff=32 shlibsuff=N32 libmagic=N32;;
9957 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9958 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9959 *) libsuff= shlibsuff= libmagic=never-match;;
9963 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9964 shlibpath_overrides_runpath=no
9965 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9966 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9967 hardcode_into_libs=yes
9970 # No shared lib support for Linux oldld, aout, or coff.
9971 linux*oldld* | linux*aout* | linux*coff*)
9975 # This must be Linux ELF.
9976 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9981 soname_spec='${libname}${release}${shared_ext}$major'
9982 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9983 shlibpath_var=LD_LIBRARY_PATH
9984 shlibpath_overrides_runpath=no
9985 # Some binutils ld are patched to set DT_RUNPATH
9986 save_LDFLAGS=$LDFLAGS
9988 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9989 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10003 shlibpath_overrides_runpath=yes
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LDFLAGS=$save_LDFLAGS
10009 libdir=$save_libdir
10011 # This implies no fast_install, which is unacceptable.
10012 # Some rework will be needed to allow for fast_install
10013 # before this can be enabled.
10014 hardcode_into_libs=yes
10016 # Append ld.so.conf contents to the search path
10017 if test -f /etc/ld.so.conf; then
10018 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' ' '`
10019 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10022 # We used to test for /lib/ld.so.1 and disable shared libraries on
10023 # powerpc, because MkLinux only supported shared libraries with the
10024 # GNU dynamic linker. Since this was broken with cross compilers,
10025 # most powerpc-linux boxes support dynamic linking these days and
10026 # people can always --disable-shared, the test was removed, and we
10027 # assume the GNU/Linux dynamic linker is in use.
10028 dynamic_linker='GNU/Linux ld.so'
10035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10036 soname_spec='${libname}${release}${shared_ext}$major'
10037 shlibpath_var=LD_LIBRARY_PATH
10038 shlibpath_overrides_runpath=no
10039 hardcode_into_libs=yes
10040 dynamic_linker='NetBSD ld.elf_so'
10047 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10049 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10050 dynamic_linker='NetBSD (a.out) ld.so'
10052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10053 soname_spec='${libname}${release}${shared_ext}$major'
10054 dynamic_linker='NetBSD ld.elf_so'
10056 shlibpath_var=LD_LIBRARY_PATH
10057 shlibpath_overrides_runpath=yes
10058 hardcode_into_libs=yes
10063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10064 shlibpath_var=LD_LIBRARY_PATH
10065 shlibpath_overrides_runpath=yes
10072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10073 soname_spec='${libname}${release}${shared_ext}$major'
10074 shlibpath_var=LD_LIBRARY_PATH
10075 shlibpath_overrides_runpath=no
10076 hardcode_into_libs=yes
10077 dynamic_linker='ldqnx.so'
10082 sys_lib_dlsearch_path_spec="/usr/lib"
10084 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10086 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10087 *) need_version=no ;;
10089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10090 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10091 shlibpath_var=LD_LIBRARY_PATH
10092 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10094 openbsd2.[89] | openbsd2.[89].*)
10095 shlibpath_overrides_runpath=no
10098 shlibpath_overrides_runpath=yes
10102 shlibpath_overrides_runpath=yes
10107 libname_spec='$name'
10110 library_names_spec='$libname${shared_ext} $libname.a'
10111 dynamic_linker='OS/2 ld.exe'
10112 shlibpath_var=LIBPATH
10115 osf3* | osf4* | osf5*)
10119 soname_spec='${libname}${release}${shared_ext}$major'
10120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10121 shlibpath_var=LD_LIBRARY_PATH
10122 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10123 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10135 soname_spec='${libname}${release}${shared_ext}$major'
10136 shlibpath_var=LD_LIBRARY_PATH
10137 shlibpath_overrides_runpath=yes
10138 hardcode_into_libs=yes
10139 # ldd complains unless libraries are executable
10140 postinstall_cmds='chmod +x $lib'
10145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10146 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10147 shlibpath_var=LD_LIBRARY_PATH
10148 shlibpath_overrides_runpath=yes
10149 if test "$with_gnu_ld" = yes; then
10157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10158 soname_spec='${libname}${release}${shared_ext}$major'
10159 shlibpath_var=LD_LIBRARY_PATH
10160 case $host_vendor in
10162 shlibpath_overrides_runpath=no
10164 runpath_var=LD_RUN_PATH
10172 shlibpath_overrides_runpath=no
10173 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10179 if test -d /usr/nec ;then
10181 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10182 soname_spec='$libname${shared_ext}.$major'
10183 shlibpath_var=LD_LIBRARY_PATH
10187 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10188 version_type=freebsd-elf
10191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10192 soname_spec='${libname}${release}${shared_ext}$major'
10193 shlibpath_var=LD_LIBRARY_PATH
10194 shlibpath_overrides_runpath=yes
10195 hardcode_into_libs=yes
10196 if test "$with_gnu_ld" = yes; then
10197 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10199 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10202 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10206 sys_lib_dlsearch_path_spec='/usr/lib'
10210 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215 shlibpath_var=LD_LIBRARY_PATH
10216 shlibpath_overrides_runpath=no
10217 hardcode_into_libs=yes
10222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 soname_spec='${libname}${release}${shared_ext}$major'
10224 shlibpath_var=LD_LIBRARY_PATH
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10232 $as_echo "$dynamic_linker" >&6; }
10233 test "$dynamic_linker" = no && can_build_shared=no
10235 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10236 if test "$GCC" = yes; then
10237 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10240 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10241 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10243 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10244 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10334 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10336 if test -n "$hardcode_libdir_flag_spec" ||
10337 test -n "$runpath_var" ||
10338 test "X$hardcode_automatic" = "Xyes" ; then
10340 # We can hardcode non-existent directories.
10341 if test "$hardcode_direct" != no &&
10342 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10343 # have to relink, otherwise we might link with an installed library
10344 # when we should be linking with a yet-to-be-installed one
10345 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10346 test "$hardcode_minus_L" != no; then
10347 # Linking always hardcodes the temporary library directory.
10348 hardcode_action=relink
10350 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10351 hardcode_action=immediate
10354 # We cannot hardcode anything, or else we can only hardcode existing
10356 hardcode_action=unsupported
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10359 $as_echo "$hardcode_action" >&6; }
10361 if test "$hardcode_action" = relink ||
10362 test "$inherit_rpath" = yes; then
10363 # Fast installation is not supported
10364 enable_fast_install=no
10365 elif test "$shlibpath_overrides_runpath" = yes ||
10366 test "$enable_shared" = no; then
10367 # Fast installation is not necessary
10368 enable_fast_install=needless
10376 if test "x$enable_dlopen" != xyes; then
10377 enable_dlopen=unknown
10378 enable_dlopen_self=unknown
10379 enable_dlopen_self_static=unknown
10386 lt_cv_dlopen="load_add_on"
10388 lt_cv_dlopen_self=yes
10391 mingw* | pw32* | cegcc*)
10392 lt_cv_dlopen="LoadLibrary"
10397 lt_cv_dlopen="dlopen"
10402 # if libdl is installed we need to link against it
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10404 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10405 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10406 $as_echo_n "(cached) " >&6
10408 ac_check_lib_save_LIBS=$LIBS
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 ac_cv_lib_dl_dlopen=yes
10431 ac_cv_lib_dl_dlopen=no
10433 rm -f core conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_lib_save_LIBS
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10438 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10439 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10440 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10443 lt_cv_dlopen="dyld"
10445 lt_cv_dlopen_self=yes
10452 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10453 if test "x$ac_cv_func_shl_load" = x""yes; then :
10454 lt_cv_dlopen="shl_load"
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10457 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10458 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10459 $as_echo_n "(cached) " >&6
10461 ac_check_lib_save_LIBS=$LIBS
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10466 /* Override any GCC internal prototype to avoid an error.
10467 Use char because int might match the return type of a GCC
10468 builtin and then its argument prototype would still apply. */
10476 return shl_load ();
10481 if ac_fn_c_try_link "$LINENO"; then :
10482 ac_cv_lib_dld_shl_load=yes
10484 ac_cv_lib_dld_shl_load=no
10486 rm -f core conftest.err conftest.$ac_objext \
10487 conftest$ac_exeext conftest.$ac_ext
10488 LIBS=$ac_check_lib_save_LIBS
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10491 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10492 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10493 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10495 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10496 if test "x$ac_cv_func_dlopen" = x""yes; then :
10497 lt_cv_dlopen="dlopen"
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10500 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10501 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10502 $as_echo_n "(cached) " >&6
10504 ac_check_lib_save_LIBS=$LIBS
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 ac_cv_lib_dl_dlopen=yes
10527 ac_cv_lib_dl_dlopen=no
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 LIBS=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10534 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10535 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10536 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10539 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10540 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10541 $as_echo_n "(cached) " >&6
10543 ac_check_lib_save_LIBS=$LIBS
10544 LIBS="-lsvld $LIBS"
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 ac_cv_lib_svld_dlopen=yes
10566 ac_cv_lib_svld_dlopen=no
10568 rm -f core conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_lib_save_LIBS
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10573 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10574 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10575 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10578 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10579 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10580 $as_echo_n "(cached) " >&6
10582 ac_check_lib_save_LIBS=$LIBS
10584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10585 /* end confdefs.h. */
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10597 return dld_link ();
10602 if ac_fn_c_try_link "$LINENO"; then :
10603 ac_cv_lib_dld_dld_link=yes
10605 ac_cv_lib_dld_dld_link=no
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 LIBS=$ac_check_lib_save_LIBS
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10612 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10613 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10614 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10635 if test "x$lt_cv_dlopen" != xno; then
10641 case $lt_cv_dlopen in
10643 save_CPPFLAGS="$CPPFLAGS"
10644 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10646 save_LDFLAGS="$LDFLAGS"
10647 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10650 LIBS="$lt_cv_dlopen_libs $LIBS"
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10653 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10654 if test "${lt_cv_dlopen_self+set}" = set; then :
10655 $as_echo_n "(cached) " >&6
10657 if test "$cross_compiling" = yes; then :
10658 lt_cv_dlopen_self=cross
10660 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10661 lt_status=$lt_dlunknown
10662 cat > conftest.$ac_ext <<_LT_EOF
10663 #line 10663 "configure"
10664 #include "confdefs.h"
10673 # define LT_DLGLOBAL RTLD_GLOBAL
10676 # define LT_DLGLOBAL DL_GLOBAL
10678 # define LT_DLGLOBAL 0
10682 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10683 find out it does not work in some platform. */
10684 #ifndef LT_DLLAZY_OR_NOW
10686 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10689 # define LT_DLLAZY_OR_NOW DL_LAZY
10692 # define LT_DLLAZY_OR_NOW RTLD_NOW
10695 # define LT_DLLAZY_OR_NOW DL_NOW
10697 # define LT_DLLAZY_OR_NOW 0
10704 void fnord() { int i=42;}
10707 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10708 int status = $lt_dlunknown;
10712 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10713 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10714 /* dlclose (self); */
10722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10723 (eval $ac_link) 2>&5
10725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10726 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10727 (./conftest; exit; ) >&5 2>/dev/null
10729 case x$lt_status in
10730 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10731 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10732 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10735 # compilation failed
10736 lt_cv_dlopen_self=no
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10744 $as_echo "$lt_cv_dlopen_self" >&6; }
10746 if test "x$lt_cv_dlopen_self" = xyes; then
10747 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10749 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10750 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10751 $as_echo_n "(cached) " >&6
10753 if test "$cross_compiling" = yes; then :
10754 lt_cv_dlopen_self_static=cross
10756 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10757 lt_status=$lt_dlunknown
10758 cat > conftest.$ac_ext <<_LT_EOF
10759 #line 10759 "configure"
10760 #include "confdefs.h"
10769 # define LT_DLGLOBAL RTLD_GLOBAL
10772 # define LT_DLGLOBAL DL_GLOBAL
10774 # define LT_DLGLOBAL 0
10778 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10779 find out it does not work in some platform. */
10780 #ifndef LT_DLLAZY_OR_NOW
10782 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10785 # define LT_DLLAZY_OR_NOW DL_LAZY
10788 # define LT_DLLAZY_OR_NOW RTLD_NOW
10791 # define LT_DLLAZY_OR_NOW DL_NOW
10793 # define LT_DLLAZY_OR_NOW 0
10800 void fnord() { int i=42;}
10803 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10804 int status = $lt_dlunknown;
10808 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10809 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10810 /* dlclose (self); */
10818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10819 (eval $ac_link) 2>&5
10821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10822 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10823 (./conftest; exit; ) >&5 2>/dev/null
10825 case x$lt_status in
10826 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10827 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10828 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10831 # compilation failed
10832 lt_cv_dlopen_self_static=no
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10840 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10843 CPPFLAGS="$save_CPPFLAGS"
10844 LDFLAGS="$save_LDFLAGS"
10849 case $lt_cv_dlopen_self in
10850 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10851 *) enable_dlopen_self=unknown ;;
10854 case $lt_cv_dlopen_self_static in
10855 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10856 *) enable_dlopen_self_static=unknown ;;
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10879 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10880 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10881 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10882 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10884 $as_echo "yes" >&6; }
10886 # FIXME - insert some real tests, host_os isn't really good enough
10889 if test -n "$STRIP" ; then
10890 striplib="$STRIP -x"
10891 old_striplib="$STRIP -S"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10893 $as_echo "yes" >&6; }
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10896 $as_echo "no" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10901 $as_echo "no" >&6; }
10917 # Report which library types will actually be built
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10919 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10921 $as_echo "$can_build_shared" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10924 $as_echo_n "checking whether to build shared libraries... " >&6; }
10925 test "$can_build_shared" = "no" && enable_shared=no
10927 # On AIX, shared libraries and static libraries use the same namespace, and
10928 # are all built from PIC.
10931 test "$enable_shared" = yes && enable_static=no
10932 if test -n "$RANLIB"; then
10933 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10934 postinstall_cmds='$RANLIB $lib'
10939 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10940 test "$enable_shared" = yes && enable_static=no
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10945 $as_echo "$enable_shared" >&6; }
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10948 $as_echo_n "checking whether to build static libraries... " >&6; }
10949 # Make sure either enable_shared or enable_static is yes.
10950 test "$enable_shared" = yes || enable_static=yes
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10952 $as_echo "$enable_static" >&6; }
10959 ac_cpp='$CPP $CPPFLAGS'
10960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10978 ac_config_commands="$ac_config_commands libtool"
10983 # Only expand once:
10999 DX_PROJECT=opensaml
11001 DX_CONFIG=doxygen.cfg
11006 # Environment variables used inside doxygen.cfg:
11007 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11009 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11011 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11013 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11020 # Check whether --enable-doxygen-doc was given.
11021 if test "${enable_doxygen_doc+set}" = set; then :
11022 enableval=$enable_doxygen_doc;
11023 case "$enableval" in
11035 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11047 if test "$DX_FLAG_doc" = 1; then
11049 if test -n "$ac_tool_prefix"; then
11050 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11051 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11053 $as_echo_n "checking for $ac_word... " >&6; }
11054 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11055 $as_echo_n "(cached) " >&6
11057 case $DX_DOXYGEN in
11059 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11063 for as_dir in $PATH
11066 test -z "$as_dir" && as_dir=.
11067 for ac_exec_ext in '' $ac_executable_extensions; do
11068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11069 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11080 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11081 if test -n "$DX_DOXYGEN"; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11083 $as_echo "$DX_DOXYGEN" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11086 $as_echo "no" >&6; }
11091 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11092 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11093 # Extract the first word of "doxygen", so it can be a program name with args.
11094 set dummy doxygen; ac_word=$2
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11096 $as_echo_n "checking for $ac_word... " >&6; }
11097 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11098 $as_echo_n "(cached) " >&6
11100 case $ac_pt_DX_DOXYGEN in
11102 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11106 for as_dir in $PATH
11109 test -z "$as_dir" && as_dir=.
11110 for ac_exec_ext in '' $ac_executable_extensions; do
11111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11112 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11123 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11124 if test -n "$ac_pt_DX_DOXYGEN"; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11126 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11129 $as_echo "no" >&6; }
11132 if test "x$ac_pt_DX_DOXYGEN" = x; then
11135 case $cross_compiling:$ac_tool_warned in
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11139 ac_tool_warned=yes ;;
11141 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11144 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11147 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11149 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11155 if test -n "$ac_tool_prefix"; then
11156 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11157 set dummy ${ac_tool_prefix}perl; ac_word=$2
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11159 $as_echo_n "checking for $ac_word... " >&6; }
11160 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11161 $as_echo_n "(cached) " >&6
11165 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11169 for as_dir in $PATH
11172 test -z "$as_dir" && as_dir=.
11173 for ac_exec_ext in '' $ac_executable_extensions; do
11174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11175 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11186 DX_PERL=$ac_cv_path_DX_PERL
11187 if test -n "$DX_PERL"; then
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11189 $as_echo "$DX_PERL" >&6; }
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11192 $as_echo "no" >&6; }
11197 if test -z "$ac_cv_path_DX_PERL"; then
11198 ac_pt_DX_PERL=$DX_PERL
11199 # Extract the first word of "perl", so it can be a program name with args.
11200 set dummy perl; ac_word=$2
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11202 $as_echo_n "checking for $ac_word... " >&6; }
11203 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11204 $as_echo_n "(cached) " >&6
11206 case $ac_pt_DX_PERL in
11208 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11212 for as_dir in $PATH
11215 test -z "$as_dir" && as_dir=.
11216 for ac_exec_ext in '' $ac_executable_extensions; do
11217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11218 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11229 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11230 if test -n "$ac_pt_DX_PERL"; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11232 $as_echo "$ac_pt_DX_PERL" >&6; }
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11235 $as_echo "no" >&6; }
11238 if test "x$ac_pt_DX_PERL" = x; then
11241 case $cross_compiling:$ac_tool_warned in
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11245 ac_tool_warned=yes ;;
11247 DX_PERL=$ac_pt_DX_PERL
11250 DX_PERL="$ac_cv_path_DX_PERL"
11253 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11255 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11262 if test "$DX_FLAG_doc" = 1; then
11265 DX_COND_doc_FALSE='#'
11267 DX_COND_doc_TRUE='#'
11271 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
11277 DX_COND_doc_FALSE='#'
11279 DX_COND_doc_TRUE='#'
11288 # Dot for graphics:
11292 # Check whether --enable-doxygen-dot was given.
11293 if test "${enable_doxygen_dot+set}" = set; then :
11294 enableval=$enable_doxygen_dot;
11295 case "$enableval" in
11301 test "$DX_FLAG_doc" = "1" \
11302 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
11310 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
11319 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
11325 if test "$DX_FLAG_dot" = 1; then
11327 if test -n "$ac_tool_prefix"; then
11328 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
11329 set dummy ${ac_tool_prefix}dot; ac_word=$2
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11331 $as_echo_n "checking for $ac_word... " >&6; }
11332 if test "${ac_cv_path_DX_DOT+set}" = set; then :
11333 $as_echo_n "(cached) " >&6
11337 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11341 for as_dir in $PATH
11344 test -z "$as_dir" && as_dir=.
11345 for ac_exec_ext in '' $ac_executable_extensions; do
11346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11347 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11358 DX_DOT=$ac_cv_path_DX_DOT
11359 if test -n "$DX_DOT"; then
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
11361 $as_echo "$DX_DOT" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11364 $as_echo "no" >&6; }
11369 if test -z "$ac_cv_path_DX_DOT"; then
11370 ac_pt_DX_DOT=$DX_DOT
11371 # Extract the first word of "dot", so it can be a program name with args.
11372 set dummy dot; ac_word=$2
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11374 $as_echo_n "checking for $ac_word... " >&6; }
11375 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
11376 $as_echo_n "(cached) " >&6
11378 case $ac_pt_DX_DOT in
11380 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
11383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11384 for as_dir in $PATH
11387 test -z "$as_dir" && as_dir=.
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11390 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11401 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
11402 if test -n "$ac_pt_DX_DOT"; then
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
11404 $as_echo "$ac_pt_DX_DOT" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11407 $as_echo "no" >&6; }
11410 if test "x$ac_pt_DX_DOT" = x; then
11413 case $cross_compiling:$ac_tool_warned in
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11417 ac_tool_warned=yes ;;
11419 DX_DOT=$ac_pt_DX_DOT
11422 DX_DOT="$ac_cv_path_DX_DOT"
11425 if test "$DX_FLAG_dot$DX_DOT" = 1; then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
11427 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
11434 if test "$DX_FLAG_dot" = 1; then
11437 DX_COND_dot_FALSE='#'
11439 DX_COND_dot_TRUE='#'
11443 DX_ENV="$DX_ENV HAVE_DOT='YES'"
11445 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
11451 DX_COND_dot_FALSE='#'
11453 DX_COND_dot_TRUE='#'
11457 DX_ENV="$DX_ENV HAVE_DOT='NO'"
11463 # Man pages generation:
11467 # Check whether --enable-doxygen-man was given.
11468 if test "${enable_doxygen_man+set}" = set; then :
11469 enableval=$enable_doxygen_man;
11470 case "$enableval" in
11476 test "$DX_FLAG_doc" = "1" \
11477 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
11485 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
11494 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
11500 if test "$DX_FLAG_man" = 1; then
11504 if test "$DX_FLAG_man" = 1; then
11507 DX_COND_man_FALSE='#'
11509 DX_COND_man_TRUE='#'
11513 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
11519 DX_COND_man_FALSE='#'
11521 DX_COND_man_TRUE='#'
11525 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
11531 # RTF file generation:
11535 # Check whether --enable-doxygen-rtf was given.
11536 if test "${enable_doxygen_rtf+set}" = set; then :
11537 enableval=$enable_doxygen_rtf;
11538 case "$enableval" in
11544 test "$DX_FLAG_doc" = "1" \
11545 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
11553 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
11562 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
11568 if test "$DX_FLAG_rtf" = 1; then
11572 if test "$DX_FLAG_rtf" = 1; then
11575 DX_COND_rtf_FALSE='#'
11577 DX_COND_rtf_TRUE='#'
11581 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
11587 DX_COND_rtf_FALSE='#'
11589 DX_COND_rtf_TRUE='#'
11593 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
11599 # XML file generation:
11603 # Check whether --enable-doxygen-xml was given.
11604 if test "${enable_doxygen_xml+set}" = set; then :
11605 enableval=$enable_doxygen_xml;
11606 case "$enableval" in
11612 test "$DX_FLAG_doc" = "1" \
11613 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
11621 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
11630 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
11636 if test "$DX_FLAG_xml" = 1; then
11640 if test "$DX_FLAG_xml" = 1; then
11643 DX_COND_xml_FALSE='#'
11645 DX_COND_xml_TRUE='#'
11649 DX_ENV="$DX_ENV GENERATE_XML='YES'"
11655 DX_COND_xml_FALSE='#'
11657 DX_COND_xml_TRUE='#'
11661 DX_ENV="$DX_ENV GENERATE_XML='NO'"
11667 # (Compressed) HTML help generation:
11671 # Check whether --enable-doxygen-chm was given.
11672 if test "${enable_doxygen_chm+set}" = set; then :
11673 enableval=$enable_doxygen_chm;
11674 case "$enableval" in
11680 test "$DX_FLAG_doc" = "1" \
11681 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
11689 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
11698 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
11704 if test "$DX_FLAG_chm" = 1; then
11706 if test -n "$ac_tool_prefix"; then
11707 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
11708 set dummy ${ac_tool_prefix}hhc; ac_word=$2
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11710 $as_echo_n "checking for $ac_word... " >&6; }
11711 if test "${ac_cv_path_DX_HHC+set}" = set; then :
11712 $as_echo_n "(cached) " >&6
11716 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
11719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11720 for as_dir in $PATH
11723 test -z "$as_dir" && as_dir=.
11724 for ac_exec_ext in '' $ac_executable_extensions; do
11725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11726 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11737 DX_HHC=$ac_cv_path_DX_HHC
11738 if test -n "$DX_HHC"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
11740 $as_echo "$DX_HHC" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11748 if test -z "$ac_cv_path_DX_HHC"; then
11749 ac_pt_DX_HHC=$DX_HHC
11750 # Extract the first word of "hhc", so it can be a program name with args.
11751 set dummy hhc; ac_word=$2
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753 $as_echo_n "checking for $ac_word... " >&6; }
11754 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
11755 $as_echo_n "(cached) " >&6
11757 case $ac_pt_DX_HHC in
11759 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
11762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11763 for as_dir in $PATH
11766 test -z "$as_dir" && as_dir=.
11767 for ac_exec_ext in '' $ac_executable_extensions; do
11768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11769 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11780 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
11781 if test -n "$ac_pt_DX_HHC"; then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
11783 $as_echo "$ac_pt_DX_HHC" >&6; }
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 $as_echo "no" >&6; }
11789 if test "x$ac_pt_DX_HHC" = x; then
11792 case $cross_compiling:$ac_tool_warned in
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11796 ac_tool_warned=yes ;;
11798 DX_HHC=$ac_pt_DX_HHC
11801 DX_HHC="$ac_cv_path_DX_HHC"
11804 if test "$DX_FLAG_chm$DX_HHC" = 1; then
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
11806 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
11813 if test "$DX_FLAG_chm" = 1; then
11816 DX_COND_chm_FALSE='#'
11818 DX_COND_chm_TRUE='#'
11822 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
11824 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11826 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
11832 DX_COND_chm_FALSE='#'
11834 DX_COND_chm_TRUE='#'
11838 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
11844 # Seperate CHI file generation.
11848 # Check whether --enable-doxygen-chi was given.
11849 if test "${enable_doxygen_chi+set}" = set; then :
11850 enableval=$enable_doxygen_chi;
11851 case "$enableval" in
11857 test "$DX_FLAG_chm" = "1" \
11858 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
11866 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
11875 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
11881 if test "$DX_FLAG_chi" = 1; then
11885 if test "$DX_FLAG_chi" = 1; then
11888 DX_COND_chi_FALSE='#'
11890 DX_COND_chi_TRUE='#'
11894 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
11900 DX_COND_chi_FALSE='#'
11902 DX_COND_chi_TRUE='#'
11906 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
11912 # Plain HTML pages generation:
11916 # Check whether --enable-doxygen-html was given.
11917 if test "${enable_doxygen_html+set}" = set; then :
11918 enableval=$enable_doxygen_html;
11919 case "$enableval" in
11925 test "$DX_FLAG_doc" = "1" \
11926 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
11928 test "$DX_FLAG_chm" = "0" \
11929 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
11937 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
11946 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
11949 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
11955 if test "$DX_FLAG_html" = 1; then
11959 if test "$DX_FLAG_html" = 1; then
11962 DX_COND_html_FALSE='#'
11964 DX_COND_html_TRUE='#'
11965 DX_COND_html_FALSE=
11968 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11974 DX_COND_html_FALSE='#'
11976 DX_COND_html_TRUE='#'
11977 DX_COND_html_FALSE=
11980 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
11986 # PostScript file generation:
11990 # Check whether --enable-doxygen-ps was given.
11991 if test "${enable_doxygen_ps+set}" = set; then :
11992 enableval=$enable_doxygen_ps;
11993 case "$enableval" in
11999 test "$DX_FLAG_doc" = "1" \
12000 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12008 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12017 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12023 if test "$DX_FLAG_ps" = 1; then
12025 if test -n "$ac_tool_prefix"; then
12026 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12027 set dummy ${ac_tool_prefix}latex; ac_word=$2
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029 $as_echo_n "checking for $ac_word... " >&6; }
12030 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12031 $as_echo_n "(cached) " >&6
12035 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12039 for as_dir in $PATH
12042 test -z "$as_dir" && as_dir=.
12043 for ac_exec_ext in '' $ac_executable_extensions; do
12044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12045 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 DX_LATEX=$ac_cv_path_DX_LATEX
12057 if test -n "$DX_LATEX"; then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12059 $as_echo "$DX_LATEX" >&6; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062 $as_echo "no" >&6; }
12067 if test -z "$ac_cv_path_DX_LATEX"; then
12068 ac_pt_DX_LATEX=$DX_LATEX
12069 # Extract the first word of "latex", so it can be a program name with args.
12070 set dummy latex; ac_word=$2
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12072 $as_echo_n "checking for $ac_word... " >&6; }
12073 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12074 $as_echo_n "(cached) " >&6
12076 case $ac_pt_DX_LATEX in
12078 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12085 test -z "$as_dir" && as_dir=.
12086 for ac_exec_ext in '' $ac_executable_extensions; do
12087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12088 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12099 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12100 if test -n "$ac_pt_DX_LATEX"; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12102 $as_echo "$ac_pt_DX_LATEX" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12108 if test "x$ac_pt_DX_LATEX" = x; then
12111 case $cross_compiling:$ac_tool_warned in
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12115 ac_tool_warned=yes ;;
12117 DX_LATEX=$ac_pt_DX_LATEX
12120 DX_LATEX="$ac_cv_path_DX_LATEX"
12123 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12125 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12131 if test -n "$ac_tool_prefix"; then
12132 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12133 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12135 $as_echo_n "checking for $ac_word... " >&6; }
12136 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12137 $as_echo_n "(cached) " >&6
12139 case $DX_MAKEINDEX in
12141 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12151 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12162 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12163 if test -n "$DX_MAKEINDEX"; then
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12165 $as_echo "$DX_MAKEINDEX" >&6; }
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12168 $as_echo "no" >&6; }
12173 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12174 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12175 # Extract the first word of "makeindex", so it can be a program name with args.
12176 set dummy makeindex; ac_word=$2
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12178 $as_echo_n "checking for $ac_word... " >&6; }
12179 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12180 $as_echo_n "(cached) " >&6
12182 case $ac_pt_DX_MAKEINDEX in
12184 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12194 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12205 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12206 if test -n "$ac_pt_DX_MAKEINDEX"; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12208 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12211 $as_echo "no" >&6; }
12214 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12217 case $cross_compiling:$ac_tool_warned in
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12221 ac_tool_warned=yes ;;
12223 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12226 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12229 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12231 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12237 if test -n "$ac_tool_prefix"; then
12238 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12239 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12241 $as_echo_n "checking for $ac_word... " >&6; }
12242 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
12243 $as_echo_n "(cached) " >&6
12247 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12251 for as_dir in $PATH
12254 test -z "$as_dir" && as_dir=.
12255 for ac_exec_ext in '' $ac_executable_extensions; do
12256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12257 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12268 DX_DVIPS=$ac_cv_path_DX_DVIPS
12269 if test -n "$DX_DVIPS"; then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
12271 $as_echo "$DX_DVIPS" >&6; }
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274 $as_echo "no" >&6; }
12279 if test -z "$ac_cv_path_DX_DVIPS"; then
12280 ac_pt_DX_DVIPS=$DX_DVIPS
12281 # Extract the first word of "dvips", so it can be a program name with args.
12282 set dummy dvips; ac_word=$2
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12284 $as_echo_n "checking for $ac_word... " >&6; }
12285 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12288 case $ac_pt_DX_DVIPS in
12290 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12294 for as_dir in $PATH
12297 test -z "$as_dir" && as_dir=.
12298 for ac_exec_ext in '' $ac_executable_extensions; do
12299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12300 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12311 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12312 if test -n "$ac_pt_DX_DVIPS"; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
12314 $as_echo "$ac_pt_DX_DVIPS" >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317 $as_echo "no" >&6; }
12320 if test "x$ac_pt_DX_DVIPS" = x; then
12323 case $cross_compiling:$ac_tool_warned in
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12327 ac_tool_warned=yes ;;
12329 DX_DVIPS=$ac_pt_DX_DVIPS
12332 DX_DVIPS="$ac_cv_path_DX_DVIPS"
12335 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12337 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12343 if test -n "$ac_tool_prefix"; then
12344 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12345 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12347 $as_echo_n "checking for $ac_word... " >&6; }
12348 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12349 $as_echo_n "(cached) " >&6
12353 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12357 for as_dir in $PATH
12360 test -z "$as_dir" && as_dir=.
12361 for ac_exec_ext in '' $ac_executable_extensions; do
12362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12363 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12374 DX_EGREP=$ac_cv_path_DX_EGREP
12375 if test -n "$DX_EGREP"; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12377 $as_echo "$DX_EGREP" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12380 $as_echo "no" >&6; }
12385 if test -z "$ac_cv_path_DX_EGREP"; then
12386 ac_pt_DX_EGREP=$DX_EGREP
12387 # Extract the first word of "egrep", so it can be a program name with args.
12388 set dummy egrep; ac_word=$2
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12390 $as_echo_n "checking for $ac_word... " >&6; }
12391 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12392 $as_echo_n "(cached) " >&6
12394 case $ac_pt_DX_EGREP in
12396 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12400 for as_dir in $PATH
12403 test -z "$as_dir" && as_dir=.
12404 for ac_exec_ext in '' $ac_executable_extensions; do
12405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12406 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12417 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12418 if test -n "$ac_pt_DX_EGREP"; then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12420 $as_echo "$ac_pt_DX_EGREP" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12423 $as_echo "no" >&6; }
12426 if test "x$ac_pt_DX_EGREP" = x; then
12429 case $cross_compiling:$ac_tool_warned in
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12433 ac_tool_warned=yes ;;
12435 DX_EGREP=$ac_pt_DX_EGREP
12438 DX_EGREP="$ac_cv_path_DX_EGREP"
12441 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
12443 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
12450 if test "$DX_FLAG_ps" = 1; then
12453 DX_COND_ps_FALSE='#'
12455 DX_COND_ps_TRUE='#'
12464 DX_COND_ps_FALSE='#'
12466 DX_COND_ps_TRUE='#'
12475 # PDF file generation:
12479 # Check whether --enable-doxygen-pdf was given.
12480 if test "${enable_doxygen_pdf+set}" = set; then :
12481 enableval=$enable_doxygen_pdf;
12482 case "$enableval" in
12488 test "$DX_FLAG_doc" = "1" \
12489 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
12497 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
12506 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
12512 if test "$DX_FLAG_pdf" = 1; then
12514 if test -n "$ac_tool_prefix"; then
12515 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
12516 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12518 $as_echo_n "checking for $ac_word... " >&6; }
12519 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
12520 $as_echo_n "(cached) " >&6
12522 case $DX_PDFLATEX in
12524 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
12527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12528 for as_dir in $PATH
12531 test -z "$as_dir" && as_dir=.
12532 for ac_exec_ext in '' $ac_executable_extensions; do
12533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12534 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12545 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
12546 if test -n "$DX_PDFLATEX"; then
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
12548 $as_echo "$DX_PDFLATEX" >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12551 $as_echo "no" >&6; }
12556 if test -z "$ac_cv_path_DX_PDFLATEX"; then
12557 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
12558 # Extract the first word of "pdflatex", so it can be a program name with args.
12559 set dummy pdflatex; ac_word=$2
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12561 $as_echo_n "checking for $ac_word... " >&6; }
12562 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
12563 $as_echo_n "(cached) " >&6
12565 case $ac_pt_DX_PDFLATEX in
12567 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in $PATH
12574 test -z "$as_dir" && as_dir=.
12575 for ac_exec_ext in '' $ac_executable_extensions; do
12576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12577 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12588 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
12589 if test -n "$ac_pt_DX_PDFLATEX"; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
12591 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12594 $as_echo "no" >&6; }
12597 if test "x$ac_pt_DX_PDFLATEX" = x; then
12600 case $cross_compiling:$ac_tool_warned in
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12604 ac_tool_warned=yes ;;
12606 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
12609 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
12612 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
12614 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
12620 if test -n "$ac_tool_prefix"; then
12621 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12622 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12624 $as_echo_n "checking for $ac_word... " >&6; }
12625 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12626 $as_echo_n "(cached) " >&6
12628 case $DX_MAKEINDEX in
12630 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12634 for as_dir in $PATH
12637 test -z "$as_dir" && as_dir=.
12638 for ac_exec_ext in '' $ac_executable_extensions; do
12639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12640 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12651 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12652 if test -n "$DX_MAKEINDEX"; then
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12654 $as_echo "$DX_MAKEINDEX" >&6; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12657 $as_echo "no" >&6; }
12662 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12663 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12664 # Extract the first word of "makeindex", so it can be a program name with args.
12665 set dummy makeindex; ac_word=$2
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12667 $as_echo_n "checking for $ac_word... " >&6; }
12668 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12669 $as_echo_n "(cached) " >&6
12671 case $ac_pt_DX_MAKEINDEX in
12673 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12677 for as_dir in $PATH
12680 test -z "$as_dir" && as_dir=.
12681 for ac_exec_ext in '' $ac_executable_extensions; do
12682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12683 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12694 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12695 if test -n "$ac_pt_DX_MAKEINDEX"; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12697 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12700 $as_echo "no" >&6; }
12703 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12706 case $cross_compiling:$ac_tool_warned in
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12710 ac_tool_warned=yes ;;
12712 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12715 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12718 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
12720 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
12726 if test -n "$ac_tool_prefix"; then
12727 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12728 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12730 $as_echo_n "checking for $ac_word... " >&6; }
12731 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12732 $as_echo_n "(cached) " >&6
12736 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12740 for as_dir in $PATH
12743 test -z "$as_dir" && as_dir=.
12744 for ac_exec_ext in '' $ac_executable_extensions; do
12745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12746 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12757 DX_EGREP=$ac_cv_path_DX_EGREP
12758 if test -n "$DX_EGREP"; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12760 $as_echo "$DX_EGREP" >&6; }
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12763 $as_echo "no" >&6; }
12768 if test -z "$ac_cv_path_DX_EGREP"; then
12769 ac_pt_DX_EGREP=$DX_EGREP
12770 # Extract the first word of "egrep", so it can be a program name with args.
12771 set dummy egrep; ac_word=$2
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12773 $as_echo_n "checking for $ac_word... " >&6; }
12774 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12775 $as_echo_n "(cached) " >&6
12777 case $ac_pt_DX_EGREP in
12779 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12786 test -z "$as_dir" && as_dir=.
12787 for ac_exec_ext in '' $ac_executable_extensions; do
12788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12789 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12800 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12801 if test -n "$ac_pt_DX_EGREP"; then
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12803 $as_echo "$ac_pt_DX_EGREP" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12806 $as_echo "no" >&6; }
12809 if test "x$ac_pt_DX_EGREP" = x; then
12812 case $cross_compiling:$ac_tool_warned in
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12816 ac_tool_warned=yes ;;
12818 DX_EGREP=$ac_pt_DX_EGREP
12821 DX_EGREP="$ac_cv_path_DX_EGREP"
12824 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
12826 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
12833 if test "$DX_FLAG_pdf" = 1; then
12836 DX_COND_pdf_FALSE='#'
12838 DX_COND_pdf_TRUE='#'
12847 DX_COND_pdf_FALSE='#'
12849 DX_COND_pdf_TRUE='#'
12858 # LaTeX generation for PS and/or PDF:
12859 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
12861 DX_COND_latex_TRUE=
12862 DX_COND_latex_FALSE='#'
12864 DX_COND_latex_TRUE='#'
12865 DX_COND_latex_FALSE=
12868 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
12872 DX_COND_latex_TRUE=
12873 DX_COND_latex_FALSE='#'
12875 DX_COND_latex_TRUE='#'
12876 DX_COND_latex_FALSE=
12879 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
12883 # Paper size for PS and/or PDF:
12885 case "$DOXYGEN_PAPER_SIZE" in
12888 DOXYGEN_PAPER_SIZE=""
12891 a4wide|a4|letter|legal|executive)
12892 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
12896 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
12901 #echo DX_FLAG_doc=$DX_FLAG_doc
12902 #echo DX_FLAG_dot=$DX_FLAG_dot
12903 #echo DX_FLAG_man=$DX_FLAG_man
12904 #echo DX_FLAG_html=$DX_FLAG_html
12905 #echo DX_FLAG_chm=$DX_FLAG_chm
12906 #echo DX_FLAG_chi=$DX_FLAG_chi
12907 #echo DX_FLAG_rtf=$DX_FLAG_rtf
12908 #echo DX_FLAG_xml=$DX_FLAG_xml
12909 #echo DX_FLAG_pdf=$DX_FLAG_pdf
12910 #echo DX_FLAG_ps=$DX_FLAG_ps
12911 #echo DX_ENV=$DX_ENV
12915 # Check whether --enable-debug was given.
12916 if test "${enable_debug+set}" = set; then :
12917 enableval=$enable_debug; enable_debug=$enableval
12923 if test "$enable_debug" = "yes" ; then
12924 GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG"
12925 GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG"
12927 GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG"
12928 GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG"
12931 ac_config_headers="$ac_config_headers config.h"
12933 ac_config_files="$ac_config_files opensaml.spec"
12935 ac_config_files="$ac_config_files Makefile saml/Makefile samltest/Makefile samlsign/Makefile schemas/Makefile doc/Makefile"
12939 ac_cpp='$CPP $CPPFLAGS'
12940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12943 if test -n "$ac_tool_prefix"; then
12944 for ac_prog in gcc gcc3 cc
12946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12949 $as_echo_n "checking for $ac_word... " >&6; }
12950 if test "${ac_cv_prog_CC+set}" = set; then :
12951 $as_echo_n "(cached) " >&6
12953 if test -n "$CC"; then
12954 ac_cv_prog_CC="$CC" # Let the user override the test.
12956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12957 for as_dir in $PATH
12960 test -z "$as_dir" && as_dir=.
12961 for ac_exec_ext in '' $ac_executable_extensions; do
12962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12963 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12974 if test -n "$CC"; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12976 $as_echo "$CC" >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12979 $as_echo "no" >&6; }
12983 test -n "$CC" && break
12986 if test -z "$CC"; then
12988 for ac_prog in gcc gcc3 cc
12990 # Extract the first word of "$ac_prog", so it can be a program name with args.
12991 set dummy $ac_prog; ac_word=$2
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12993 $as_echo_n "checking for $ac_word... " >&6; }
12994 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12995 $as_echo_n "(cached) " >&6
12997 if test -n "$ac_ct_CC"; then
12998 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13001 for as_dir in $PATH
13004 test -z "$as_dir" && as_dir=.
13005 for ac_exec_ext in '' $ac_executable_extensions; do
13006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13007 ac_cv_prog_ac_ct_CC="$ac_prog"
13008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13018 if test -n "$ac_ct_CC"; then
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13020 $as_echo "$ac_ct_CC" >&6; }
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13027 test -n "$ac_ct_CC" && break
13030 if test "x$ac_ct_CC" = x; then
13033 case $cross_compiling:$ac_tool_warned in
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13037 ac_tool_warned=yes ;;
13044 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13046 as_fn_error $? "no acceptable C compiler found in \$PATH
13047 See \`config.log' for more details" "$LINENO" 5 ; }
13049 # Provide some information about the compiler.
13050 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13053 for ac_option in --version -v -V -qversion; do
13054 { { ac_try="$ac_compiler $ac_option >&5"
13055 case "(($ac_try" in
13056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13057 *) ac_try_echo=$ac_try;;
13059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13060 $as_echo "$ac_try_echo"; } >&5
13061 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13063 if test -s conftest.err; then
13065 ... rest of stderr output deleted ...
13066 10q' conftest.err >conftest.er1
13067 cat conftest.er1 >&5
13069 rm -f conftest.er1 conftest.err
13070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13071 test $ac_status = 0; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13075 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13076 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13077 $as_echo_n "(cached) " >&6
13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13093 if ac_fn_c_try_compile "$LINENO"; then :
13094 ac_compiler_gnu=yes
13098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13099 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13103 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13104 if test $ac_compiler_gnu = yes; then
13109 ac_test_CFLAGS=${CFLAGS+set}
13110 ac_save_CFLAGS=$CFLAGS
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13112 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13113 if test "${ac_cv_prog_cc_g+set}" = set; then :
13114 $as_echo_n "(cached) " >&6
13116 ac_save_c_werror_flag=$ac_c_werror_flag
13117 ac_c_werror_flag=yes
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13131 if ac_fn_c_try_compile "$LINENO"; then :
13132 ac_cv_prog_cc_g=yes
13135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13146 if ac_fn_c_try_compile "$LINENO"; then :
13149 ac_c_werror_flag=$ac_save_c_werror_flag
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13162 if ac_fn_c_try_compile "$LINENO"; then :
13163 ac_cv_prog_cc_g=yes
13165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13170 ac_c_werror_flag=$ac_save_c_werror_flag
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13173 $as_echo "$ac_cv_prog_cc_g" >&6; }
13174 if test "$ac_test_CFLAGS" = set; then
13175 CFLAGS=$ac_save_CFLAGS
13176 elif test $ac_cv_prog_cc_g = yes; then
13177 if test "$GCC" = yes; then
13183 if test "$GCC" = yes; then
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13191 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13192 $as_echo_n "(cached) " >&6
13194 ac_cv_prog_cc_c89=no
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13198 #include <stdarg.h>
13200 #include <sys/types.h>
13201 #include <sys/stat.h>
13202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13203 struct buf { int x; };
13204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13205 static char *e (p, i)
13211 static char *f (char * (*g) (char **, int), char **p, ...)
13216 s = g (p, va_arg (v,int));
13221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13222 function prototypes and stuff, but not '\xHH' hex character constants.
13223 These don't provoke an error unfortunately, instead are silently treated
13224 as 'x'. The following induces an error, until -std is added to get
13225 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13226 array size at least. It's necessary to write '\x00'==0 to get something
13227 that's true only with -std. */
13228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13230 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13231 inside strings and character constants. */
13233 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13235 int test (int i, double x);
13236 struct s1 {int (*f) (int a);};
13237 struct s2 {int (*f) (double a);};
13238 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13244 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13249 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13250 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13252 CC="$ac_save_CC $ac_arg"
13253 if ac_fn_c_try_compile "$LINENO"; then :
13254 ac_cv_prog_cc_c89=$ac_arg
13256 rm -f core conftest.err conftest.$ac_objext
13257 test "x$ac_cv_prog_cc_c89" != "xno" && break
13259 rm -f conftest.$ac_ext
13264 case "x$ac_cv_prog_cc_c89" in
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13267 $as_echo "none needed" >&6; } ;;
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13270 $as_echo "unsupported" >&6; } ;;
13272 CC="$CC $ac_cv_prog_cc_c89"
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13276 if test "x$ac_cv_prog_cc_c89" != xno; then :
13281 ac_cpp='$CPP $CPPFLAGS'
13282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13286 depcc="$CC" am_compiler_list=
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13289 $as_echo_n "checking dependency style of $depcc... " >&6; }
13290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13291 $as_echo_n "(cached) " >&6
13293 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13294 # We make a subdir and do the tests there. Otherwise we can end up
13295 # making bogus files that we don't know about and never remove. For
13296 # instance it was reported that on HP-UX the gcc test will end up
13297 # making a dummy file named `D' -- because `-MD' means `put the output
13300 # Copy depcomp to subdir because otherwise we won't find it if we're
13301 # using a relative directory.
13302 cp "$am_depcomp" conftest.dir
13304 # We will build objects and dependencies in a subdirectory because
13305 # it helps to detect inapplicable dependency modes. For instance
13306 # both Tru64's cc and ICC support -MD to output dependencies as a
13307 # side effect of compilation, but ICC will put the dependencies in
13308 # the current directory while Tru64 will put them in the object
13312 am_cv_CC_dependencies_compiler_type=none
13313 if test "$am_compiler_list" = ""; then
13314 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13316 am__universal=false
13317 case " $depcc " in #(
13318 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13321 for depmode in $am_compiler_list; do
13322 # Setup a source with many dependencies, because some compilers
13323 # like to wrap large dependency lists on column 80 (with \), and
13324 # we should not choose a depcomp mode which is confused by this.
13326 # We need to recreate these files for each test, as the compiler may
13327 # overwrite some of them when testing with obscure command lines.
13328 # This happens at least with the AIX C compiler.
13330 for i in 1 2 3 4 5 6; do
13331 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13332 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13333 # Solaris 8's {/usr,}/bin/sh.
13334 touch sub/conftst$i.h
13336 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13338 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13339 # mode. It turns out that the SunPro C++ compiler does not properly
13340 # handle `-M -o', and we need to detect this. Also, some Intel
13341 # versions had trouble with output in subdirs
13342 am__obj=sub/conftest.${OBJEXT-o}
13343 am__minus_obj="-o $am__obj"
13346 # This depmode causes a compiler race in universal mode.
13347 test "$am__universal" = false || continue
13350 # after this tag, mechanisms are not by side-effect, so they'll
13351 # only be used when explicitly requested
13352 if test "x$enable_dependency_tracking" = xyes; then
13358 msvisualcpp | msvcmsys)
13359 # This compiler won't grok `-c -o', but also, the minuso test has
13360 # not run yet. These depmodes are late enough in the game, and
13361 # so weak that their functioning should not be impacted.
13362 am__obj=conftest.${OBJEXT-o}
13367 if depmode=$depmode \
13368 source=sub/conftest.c object=$am__obj \
13369 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13370 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13371 >/dev/null 2>conftest.err &&
13372 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13373 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13374 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13375 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13376 # icc doesn't choke on unknown options, it will just issue warnings
13377 # or remarks (even with -Werror). So we grep stderr for any message
13378 # that says an option was ignored or not supported.
13379 # When given -MP, icc 7.0 and 7.1 complain thusly:
13380 # icc: Command line warning: ignoring option '-M'; no argument required
13381 # The diagnosis changed in icc 8.0:
13382 # icc: Command line remark: option '-MP' not supported
13383 if (grep 'ignoring option' conftest.err ||
13384 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13385 am_cv_CC_dependencies_compiler_type=$depmode
13392 rm -rf conftest.dir
13394 am_cv_CC_dependencies_compiler_type=none
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13399 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13400 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13403 test "x$enable_dependency_tracking" != xno \
13404 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13405 am__fastdepCC_TRUE=
13406 am__fastdepCC_FALSE='#'
13408 am__fastdepCC_TRUE='#'
13409 am__fastdepCC_FALSE=
13414 ac_cpp='$CXXCPP $CPPFLAGS'
13415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13418 if test -z "$CXX"; then
13419 if test -n "$CCC"; then
13422 if test -n "$ac_tool_prefix"; then
13423 for ac_prog in g++ g++3 c++ CC
13425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13428 $as_echo_n "checking for $ac_word... " >&6; }
13429 if test "${ac_cv_prog_CXX+set}" = set; then :
13430 $as_echo_n "(cached) " >&6
13432 if test -n "$CXX"; then
13433 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13436 for as_dir in $PATH
13439 test -z "$as_dir" && as_dir=.
13440 for ac_exec_ext in '' $ac_executable_extensions; do
13441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13442 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13452 CXX=$ac_cv_prog_CXX
13453 if test -n "$CXX"; then
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13455 $as_echo "$CXX" >&6; }
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13458 $as_echo "no" >&6; }
13462 test -n "$CXX" && break
13465 if test -z "$CXX"; then
13467 for ac_prog in g++ g++3 c++ CC
13469 # Extract the first word of "$ac_prog", so it can be a program name with args.
13470 set dummy $ac_prog; ac_word=$2
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13472 $as_echo_n "checking for $ac_word... " >&6; }
13473 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13474 $as_echo_n "(cached) " >&6
13476 if test -n "$ac_ct_CXX"; then
13477 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13480 for as_dir in $PATH
13483 test -z "$as_dir" && as_dir=.
13484 for ac_exec_ext in '' $ac_executable_extensions; do
13485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13486 ac_cv_prog_ac_ct_CXX="$ac_prog"
13487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13496 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13497 if test -n "$ac_ct_CXX"; then
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13499 $as_echo "$ac_ct_CXX" >&6; }
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13502 $as_echo "no" >&6; }
13506 test -n "$ac_ct_CXX" && break
13509 if test "x$ac_ct_CXX" = x; then
13512 case $cross_compiling:$ac_tool_warned in
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13516 ac_tool_warned=yes ;;
13524 # Provide some information about the compiler.
13525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13528 for ac_option in --version -v -V -qversion; do
13529 { { ac_try="$ac_compiler $ac_option >&5"
13530 case "(($ac_try" in
13531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13532 *) ac_try_echo=$ac_try;;
13534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13535 $as_echo "$ac_try_echo"; } >&5
13536 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13538 if test -s conftest.err; then
13540 ... rest of stderr output deleted ...
13541 10q' conftest.err >conftest.er1
13542 cat conftest.er1 >&5
13544 rm -f conftest.er1 conftest.err
13545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13546 test $ac_status = 0; }
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13550 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13551 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13552 $as_echo_n "(cached) " >&6
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13568 if ac_fn_cxx_try_compile "$LINENO"; then :
13569 ac_compiler_gnu=yes
13573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13574 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13578 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13579 if test $ac_compiler_gnu = yes; then
13584 ac_test_CXXFLAGS=${CXXFLAGS+set}
13585 ac_save_CXXFLAGS=$CXXFLAGS
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13587 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13588 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13589 $as_echo_n "(cached) " >&6
13591 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13592 ac_cxx_werror_flag=yes
13593 ac_cv_prog_cxx_g=no
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13606 if ac_fn_cxx_try_compile "$LINENO"; then :
13607 ac_cv_prog_cxx_g=yes
13610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13611 /* end confdefs.h. */
13621 if ac_fn_cxx_try_compile "$LINENO"; then :
13624 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13637 if ac_fn_cxx_try_compile "$LINENO"; then :
13638 ac_cv_prog_cxx_g=yes
13640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13645 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13648 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13649 if test "$ac_test_CXXFLAGS" = set; then
13650 CXXFLAGS=$ac_save_CXXFLAGS
13651 elif test $ac_cv_prog_cxx_g = yes; then
13652 if test "$GXX" = yes; then
13658 if test "$GXX" = yes; then
13665 ac_cpp='$CPP $CPPFLAGS'
13666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670 depcc="$CXX" am_compiler_list=
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13673 $as_echo_n "checking dependency style of $depcc... " >&6; }
13674 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13675 $as_echo_n "(cached) " >&6
13677 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13678 # We make a subdir and do the tests there. Otherwise we can end up
13679 # making bogus files that we don't know about and never remove. For
13680 # instance it was reported that on HP-UX the gcc test will end up
13681 # making a dummy file named `D' -- because `-MD' means `put the output
13684 # Copy depcomp to subdir because otherwise we won't find it if we're
13685 # using a relative directory.
13686 cp "$am_depcomp" conftest.dir
13688 # We will build objects and dependencies in a subdirectory because
13689 # it helps to detect inapplicable dependency modes. For instance
13690 # both Tru64's cc and ICC support -MD to output dependencies as a
13691 # side effect of compilation, but ICC will put the dependencies in
13692 # the current directory while Tru64 will put them in the object
13696 am_cv_CXX_dependencies_compiler_type=none
13697 if test "$am_compiler_list" = ""; then
13698 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13700 am__universal=false
13701 case " $depcc " in #(
13702 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13705 for depmode in $am_compiler_list; do
13706 # Setup a source with many dependencies, because some compilers
13707 # like to wrap large dependency lists on column 80 (with \), and
13708 # we should not choose a depcomp mode which is confused by this.
13710 # We need to recreate these files for each test, as the compiler may
13711 # overwrite some of them when testing with obscure command lines.
13712 # This happens at least with the AIX C compiler.
13714 for i in 1 2 3 4 5 6; do
13715 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13716 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13717 # Solaris 8's {/usr,}/bin/sh.
13718 touch sub/conftst$i.h
13720 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13722 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13723 # mode. It turns out that the SunPro C++ compiler does not properly
13724 # handle `-M -o', and we need to detect this. Also, some Intel
13725 # versions had trouble with output in subdirs
13726 am__obj=sub/conftest.${OBJEXT-o}
13727 am__minus_obj="-o $am__obj"
13730 # This depmode causes a compiler race in universal mode.
13731 test "$am__universal" = false || continue
13734 # after this tag, mechanisms are not by side-effect, so they'll
13735 # only be used when explicitly requested
13736 if test "x$enable_dependency_tracking" = xyes; then
13742 msvisualcpp | msvcmsys)
13743 # This compiler won't grok `-c -o', but also, the minuso test has
13744 # not run yet. These depmodes are late enough in the game, and
13745 # so weak that their functioning should not be impacted.
13746 am__obj=conftest.${OBJEXT-o}
13751 if depmode=$depmode \
13752 source=sub/conftest.c object=$am__obj \
13753 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13754 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13755 >/dev/null 2>conftest.err &&
13756 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13757 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13758 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13759 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13760 # icc doesn't choke on unknown options, it will just issue warnings
13761 # or remarks (even with -Werror). So we grep stderr for any message
13762 # that says an option was ignored or not supported.
13763 # When given -MP, icc 7.0 and 7.1 complain thusly:
13764 # icc: Command line warning: ignoring option '-M'; no argument required
13765 # The diagnosis changed in icc 8.0:
13766 # icc: Command line remark: option '-MP' not supported
13767 if (grep 'ignoring option' conftest.err ||
13768 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13769 am_cv_CXX_dependencies_compiler_type=$depmode
13776 rm -rf conftest.dir
13778 am_cv_CXX_dependencies_compiler_type=none
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13783 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13784 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13787 test "x$enable_dependency_tracking" != xno \
13788 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13789 am__fastdepCXX_TRUE=
13790 am__fastdepCXX_FALSE='#'
13792 am__fastdepCXX_TRUE='#'
13793 am__fastdepCXX_FALSE=
13799 ac_cpp='$CXXCPP $CPPFLAGS'
13800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13803 if test -z "$CXX"; then
13804 if test -n "$CCC"; then
13807 if test -n "$ac_tool_prefix"; then
13808 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13813 $as_echo_n "checking for $ac_word... " >&6; }
13814 if test "${ac_cv_prog_CXX+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13817 if test -n "$CXX"; then
13818 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13821 for as_dir in $PATH
13824 test -z "$as_dir" && as_dir=.
13825 for ac_exec_ext in '' $ac_executable_extensions; do
13826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13827 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13837 CXX=$ac_cv_prog_CXX
13838 if test -n "$CXX"; then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13840 $as_echo "$CXX" >&6; }
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13843 $as_echo "no" >&6; }
13847 test -n "$CXX" && break
13850 if test -z "$CXX"; then
13852 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13854 # Extract the first word of "$ac_prog", so it can be a program name with args.
13855 set dummy $ac_prog; ac_word=$2
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13857 $as_echo_n "checking for $ac_word... " >&6; }
13858 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13859 $as_echo_n "(cached) " >&6
13861 if test -n "$ac_ct_CXX"; then
13862 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13865 for as_dir in $PATH
13868 test -z "$as_dir" && as_dir=.
13869 for ac_exec_ext in '' $ac_executable_extensions; do
13870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13871 ac_cv_prog_ac_ct_CXX="$ac_prog"
13872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13881 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13882 if test -n "$ac_ct_CXX"; then
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13884 $as_echo "$ac_ct_CXX" >&6; }
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13887 $as_echo "no" >&6; }
13891 test -n "$ac_ct_CXX" && break
13894 if test "x$ac_ct_CXX" = x; then
13897 case $cross_compiling:$ac_tool_warned in
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13901 ac_tool_warned=yes ;;
13909 # Provide some information about the compiler.
13910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13913 for ac_option in --version -v -V -qversion; do
13914 { { ac_try="$ac_compiler $ac_option >&5"
13915 case "(($ac_try" in
13916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13920 $as_echo "$ac_try_echo"; } >&5
13921 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13923 if test -s conftest.err; then
13925 ... rest of stderr output deleted ...
13926 10q' conftest.err >conftest.er1
13927 cat conftest.er1 >&5
13929 rm -f conftest.er1 conftest.err
13930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13931 test $ac_status = 0; }
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13935 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13936 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13937 $as_echo_n "(cached) " >&6
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13953 if ac_fn_cxx_try_compile "$LINENO"; then :
13954 ac_compiler_gnu=yes
13958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13959 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13963 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13964 if test $ac_compiler_gnu = yes; then
13969 ac_test_CXXFLAGS=${CXXFLAGS+set}
13970 ac_save_CXXFLAGS=$CXXFLAGS
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13972 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13973 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13976 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13977 ac_cxx_werror_flag=yes
13978 ac_cv_prog_cxx_g=no
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13991 if ac_fn_cxx_try_compile "$LINENO"; then :
13992 ac_cv_prog_cxx_g=yes
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
14006 if ac_fn_cxx_try_compile "$LINENO"; then :
14009 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14022 if ac_fn_cxx_try_compile "$LINENO"; then :
14023 ac_cv_prog_cxx_g=yes
14025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14030 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14033 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14034 if test "$ac_test_CXXFLAGS" = set; then
14035 CXXFLAGS=$ac_save_CXXFLAGS
14036 elif test $ac_cv_prog_cxx_g = yes; then
14037 if test "$GXX" = yes; then
14043 if test "$GXX" = yes; then
14050 ac_cpp='$CPP $CPPFLAGS'
14051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14055 depcc="$CXX" am_compiler_list=
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14058 $as_echo_n "checking dependency style of $depcc... " >&6; }
14059 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14060 $as_echo_n "(cached) " >&6
14062 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14063 # We make a subdir and do the tests there. Otherwise we can end up
14064 # making bogus files that we don't know about and never remove. For
14065 # instance it was reported that on HP-UX the gcc test will end up
14066 # making a dummy file named `D' -- because `-MD' means `put the output
14069 # Copy depcomp to subdir because otherwise we won't find it if we're
14070 # using a relative directory.
14071 cp "$am_depcomp" conftest.dir
14073 # We will build objects and dependencies in a subdirectory because
14074 # it helps to detect inapplicable dependency modes. For instance
14075 # both Tru64's cc and ICC support -MD to output dependencies as a
14076 # side effect of compilation, but ICC will put the dependencies in
14077 # the current directory while Tru64 will put them in the object
14081 am_cv_CXX_dependencies_compiler_type=none
14082 if test "$am_compiler_list" = ""; then
14083 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14085 am__universal=false
14086 case " $depcc " in #(
14087 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14090 for depmode in $am_compiler_list; do
14091 # Setup a source with many dependencies, because some compilers
14092 # like to wrap large dependency lists on column 80 (with \), and
14093 # we should not choose a depcomp mode which is confused by this.
14095 # We need to recreate these files for each test, as the compiler may
14096 # overwrite some of them when testing with obscure command lines.
14097 # This happens at least with the AIX C compiler.
14099 for i in 1 2 3 4 5 6; do
14100 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14101 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14102 # Solaris 8's {/usr,}/bin/sh.
14103 touch sub/conftst$i.h
14105 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14107 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14108 # mode. It turns out that the SunPro C++ compiler does not properly
14109 # handle `-M -o', and we need to detect this. Also, some Intel
14110 # versions had trouble with output in subdirs
14111 am__obj=sub/conftest.${OBJEXT-o}
14112 am__minus_obj="-o $am__obj"
14115 # This depmode causes a compiler race in universal mode.
14116 test "$am__universal" = false || continue
14119 # after this tag, mechanisms are not by side-effect, so they'll
14120 # only be used when explicitly requested
14121 if test "x$enable_dependency_tracking" = xyes; then
14127 msvisualcpp | msvcmsys)
14128 # This compiler won't grok `-c -o', but also, the minuso test has
14129 # not run yet. These depmodes are late enough in the game, and
14130 # so weak that their functioning should not be impacted.
14131 am__obj=conftest.${OBJEXT-o}
14136 if depmode=$depmode \
14137 source=sub/conftest.c object=$am__obj \
14138 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14139 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14140 >/dev/null 2>conftest.err &&
14141 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14142 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14143 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14144 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14145 # icc doesn't choke on unknown options, it will just issue warnings
14146 # or remarks (even with -Werror). So we grep stderr for any message
14147 # that says an option was ignored or not supported.
14148 # When given -MP, icc 7.0 and 7.1 complain thusly:
14149 # icc: Command line warning: ignoring option '-M'; no argument required
14150 # The diagnosis changed in icc 8.0:
14151 # icc: Command line remark: option '-MP' not supported
14152 if (grep 'ignoring option' conftest.err ||
14153 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14154 am_cv_CXX_dependencies_compiler_type=$depmode
14161 rm -rf conftest.dir
14163 am_cv_CXX_dependencies_compiler_type=none
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14168 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14169 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14172 test "x$enable_dependency_tracking" != xno \
14173 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14174 am__fastdepCXX_TRUE=
14175 am__fastdepCXX_FALSE='#'
14177 am__fastdepCXX_TRUE='#'
14178 am__fastdepCXX_FALSE=
14182 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14183 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14184 (test "X$CXX" != "Xg++"))) ; then
14186 ac_cpp='$CXXCPP $CPPFLAGS'
14187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14191 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14192 if test -z "$CXXCPP"; then
14193 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14194 $as_echo_n "(cached) " >&6
14196 # Double quotes because CXXCPP needs to be expanded
14197 for CXXCPP in "$CXX -E" "/lib/cpp"
14199 ac_preproc_ok=false
14200 for ac_cxx_preproc_warn_flag in '' yes
14202 # Use a header file that comes with gcc, so configuring glibc
14203 # with a fresh cross-compiler works.
14204 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14205 # <limits.h> exists even on freestanding compilers.
14206 # On the NeXT, cc -E runs the code through the compiler's parser,
14207 # not just through cpp. "Syntax error" is here to catch this case.
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 # include <limits.h>
14213 # include <assert.h>
14217 if ac_fn_cxx_try_cpp "$LINENO"; then :
14220 # Broken: fails on valid input.
14223 rm -f conftest.err conftest.i conftest.$ac_ext
14225 # OK, works on sane cases. Now check whether nonexistent headers
14226 # can be detected and how.
14227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14229 #include <ac_nonexistent.h>
14231 if ac_fn_cxx_try_cpp "$LINENO"; then :
14232 # Broken: success on invalid input.
14235 # Passes both tests.
14239 rm -f conftest.err conftest.i conftest.$ac_ext
14242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14243 rm -f conftest.i conftest.err conftest.$ac_ext
14244 if $ac_preproc_ok; then :
14249 ac_cv_prog_CXXCPP=$CXXCPP
14252 CXXCPP=$ac_cv_prog_CXXCPP
14254 ac_cv_prog_CXXCPP=$CXXCPP
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14257 $as_echo "$CXXCPP" >&6; }
14258 ac_preproc_ok=false
14259 for ac_cxx_preproc_warn_flag in '' yes
14261 # Use a header file that comes with gcc, so configuring glibc
14262 # with a fresh cross-compiler works.
14263 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14264 # <limits.h> exists even on freestanding compilers.
14265 # On the NeXT, cc -E runs the code through the compiler's parser,
14266 # not just through cpp. "Syntax error" is here to catch this case.
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14270 # include <limits.h>
14272 # include <assert.h>
14276 if ac_fn_cxx_try_cpp "$LINENO"; then :
14279 # Broken: fails on valid input.
14282 rm -f conftest.err conftest.i conftest.$ac_ext
14284 # OK, works on sane cases. Now check whether nonexistent headers
14285 # can be detected and how.
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 #include <ac_nonexistent.h>
14290 if ac_fn_cxx_try_cpp "$LINENO"; then :
14291 # Broken: success on invalid input.
14294 # Passes both tests.
14298 rm -f conftest.err conftest.i conftest.$ac_ext
14301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14302 rm -f conftest.i conftest.err conftest.$ac_ext
14303 if $ac_preproc_ok; then :
14306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14308 _lt_caught_CXX_error=yes; }
14312 ac_cpp='$CPP $CPPFLAGS'
14313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14318 _lt_caught_CXX_error=yes
14325 ac_cpp='$CXXCPP $CPPFLAGS'
14326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14330 archive_cmds_need_lc_CXX=no
14331 allow_undefined_flag_CXX=
14332 always_export_symbols_CXX=no
14333 archive_expsym_cmds_CXX=
14334 compiler_needs_object_CXX=no
14335 export_dynamic_flag_spec_CXX=
14336 hardcode_direct_CXX=no
14337 hardcode_direct_absolute_CXX=no
14338 hardcode_libdir_flag_spec_CXX=
14339 hardcode_libdir_flag_spec_ld_CXX=
14340 hardcode_libdir_separator_CXX=
14341 hardcode_minus_L_CXX=no
14342 hardcode_shlibpath_var_CXX=unsupported
14343 hardcode_automatic_CXX=no
14344 inherit_rpath_CXX=no
14346 module_expsym_cmds_CXX=
14347 link_all_deplibs_CXX=unknown
14348 old_archive_cmds_CXX=$old_archive_cmds
14349 no_undefined_flag_CXX=
14350 whole_archive_flag_spec_CXX=
14351 enable_shared_with_static_runtimes_CXX=no
14353 # Source file extension for C++ test sources.
14356 # Object file extension for compiled C++ test sources.
14360 # No sense in running all these tests if we already determined that
14361 # the CXX compiler isn't working. Some variables (like enable_shared)
14362 # are currently assumed to apply to all compilers on this platform,
14363 # and will be corrupted by setting them based on a non-working compiler.
14364 if test "$_lt_caught_CXX_error" != yes; then
14365 # Code to be used in simple compile tests
14366 lt_simple_compile_test_code="int some_variable = 0;"
14368 # Code to be used in simple link tests
14369 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14371 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14378 # If no C compiler was specified, use CC.
14381 # If no C compiler flags were specified, use CFLAGS.
14382 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14384 # Allow CC to be a program name with arguments.
14388 # save warnings/boilerplate of simple test code
14389 ac_outfile=conftest.$ac_objext
14390 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14391 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14392 _lt_compiler_boilerplate=`cat conftest.err`
14395 ac_outfile=conftest.$ac_objext
14396 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14397 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14398 _lt_linker_boilerplate=`cat conftest.err`
14402 # Allow CC to be a program name with arguments.
14407 lt_save_with_gnu_ld=$with_gnu_ld
14408 lt_save_path_LD=$lt_cv_path_LD
14409 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14410 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14412 $as_unset lt_cv_prog_gnu_ld
14414 if test -n "${lt_cv_path_LDCXX+set}"; then
14415 lt_cv_path_LD=$lt_cv_path_LDCXX
14417 $as_unset lt_cv_path_LD
14419 test -z "${LDCXX+set}" || LD=$LDCXX
14423 for cc_temp in $compiler""; do
14425 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14426 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14431 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14434 if test -n "$compiler"; then
14435 # We don't want -fno-exception when compiling C++ code, so set the
14436 # no_builtin_flag separately
14437 if test "$GXX" = yes; then
14438 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14440 lt_prog_compiler_no_builtin_flag_CXX=
14443 if test "$GXX" = yes; then
14444 # Set up default GNU C++ configuration
14448 # Check whether --with-gnu-ld was given.
14449 if test "${with_gnu_ld+set}" = set; then :
14450 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14456 if test "$GCC" = yes; then
14457 # Check if gcc -print-prog-name=ld gives a path.
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14459 $as_echo_n "checking for ld used by $CC... " >&6; }
14462 # gcc leaves a trailing carriage return which upsets mingw
14463 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14465 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14468 # Accept absolute paths.
14470 re_direlt='/[^/][^/]*/\.\./'
14471 # Canonicalize the pathname of ld
14472 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14473 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14474 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14476 test -z "$LD" && LD="$ac_prog"
14479 # If it fails, then pretend we aren't using GCC.
14483 # If it is relative, then search for the first ld in PATH.
14484 with_gnu_ld=unknown
14487 elif test "$with_gnu_ld" = yes; then
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14489 $as_echo_n "checking for GNU ld... " >&6; }
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14492 $as_echo_n "checking for non-GNU ld... " >&6; }
14494 if test "${lt_cv_path_LD+set}" = set; then :
14495 $as_echo_n "(cached) " >&6
14497 if test -z "$LD"; then
14498 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14499 for ac_dir in $PATH; do
14501 test -z "$ac_dir" && ac_dir=.
14502 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14503 lt_cv_path_LD="$ac_dir/$ac_prog"
14504 # Check to see if the program is GNU ld. I'd rather use --version,
14505 # but apparently some variants of GNU ld only accept -v.
14506 # Break only if it was the GNU/non-GNU ld that we prefer.
14507 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14508 *GNU* | *'with BFD'*)
14509 test "$with_gnu_ld" != no && break
14512 test "$with_gnu_ld" != yes && break
14519 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14523 LD="$lt_cv_path_LD"
14524 if test -n "$LD"; then
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14526 $as_echo "$LD" >&6; }
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14529 $as_echo "no" >&6; }
14531 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14533 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14534 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14535 $as_echo_n "(cached) " >&6
14537 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14538 case `$LD -v 2>&1 </dev/null` in
14539 *GNU* | *'with BFD'*)
14540 lt_cv_prog_gnu_ld=yes
14543 lt_cv_prog_gnu_ld=no
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14548 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14549 with_gnu_ld=$lt_cv_prog_gnu_ld
14557 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14558 # archiving commands below assume that GNU ld is being used.
14559 if test "$with_gnu_ld" = yes; then
14560 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14561 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'
14563 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14564 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14566 # If archive_cmds runs LD, not CC, wlarc should be empty
14567 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14568 # investigate it a little bit more. (MM)
14571 # ancient GNU ld didn't support --whole-archive et. al.
14572 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14573 $GREP 'no-whole-archive' > /dev/null; then
14574 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14576 whole_archive_flag_spec_CXX=
14582 # A generic and very simple default shared library creation
14583 # command for GNU C++ for the case where it uses the native
14584 # linker, instead of GNU ld. If possible, this setting should
14585 # overridden to take advantage of the native linker features on
14586 # the platform it is being used on.
14587 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14590 # Commands to make compiler produce verbose output that lists
14591 # what "hidden" libraries, object files and flags are used when
14592 # linking a shared library.
14593 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14601 # PORTME: fill in a description of your system's C++ link characteristics
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14603 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14607 # FIXME: insert proper C++ library support
14611 if test "$host_cpu" = ia64; then
14612 # On IA64, the linker does run time linking by default, so we don't
14613 # have to do anything special.
14614 aix_use_runtimelinking=no
14615 exp_sym_flag='-Bexport'
14618 aix_use_runtimelinking=no
14620 # Test if we are trying to use run time linking or normal
14621 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14622 # need to do runtime linking.
14623 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14624 for ld_flag in $LDFLAGS; do
14627 aix_use_runtimelinking=yes
14635 exp_sym_flag='-bexport'
14636 no_entry_flag='-bnoentry'
14639 # When large executables or shared objects are built, AIX ld can
14640 # have problems creating the table of contents. If linking a library
14641 # or program results in "error TOC overflow" add -mminimal-toc to
14642 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14643 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14645 archive_cmds_CXX=''
14646 hardcode_direct_CXX=yes
14647 hardcode_direct_absolute_CXX=yes
14648 hardcode_libdir_separator_CXX=':'
14649 link_all_deplibs_CXX=yes
14650 file_list_spec_CXX='${wl}-f,'
14652 if test "$GXX" = yes; then
14653 case $host_os in aix4.[012]|aix4.[012].*)
14654 # We only want to do this on AIX 4.2 and lower, the check
14655 # below for broken collect2 doesn't work under 4.3+
14656 collect2name=`${CC} -print-prog-name=collect2`
14657 if test -f "$collect2name" &&
14658 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14660 # We have reworked collect2
14663 # We have old collect2
14664 hardcode_direct_CXX=unsupported
14665 # It fails to find uninstalled libraries when the uninstalled
14666 # path is not listed in the libpath. Setting hardcode_minus_L
14667 # to unsupported forces relinking
14668 hardcode_minus_L_CXX=yes
14669 hardcode_libdir_flag_spec_CXX='-L$libdir'
14670 hardcode_libdir_separator_CXX=
14673 shared_flag='-shared'
14674 if test "$aix_use_runtimelinking" = yes; then
14675 shared_flag="$shared_flag "'${wl}-G'
14679 if test "$host_cpu" = ia64; then
14680 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14681 # chokes on -Wl,-G. The following line is correct:
14684 if test "$aix_use_runtimelinking" = yes; then
14685 shared_flag='${wl}-G'
14687 shared_flag='${wl}-bM:SRE'
14692 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14693 # It seems that -bexpall does not export symbols beginning with
14694 # underscore (_), so it is better to generate a list of symbols to
14696 always_export_symbols_CXX=yes
14697 if test "$aix_use_runtimelinking" = yes; then
14698 # Warning - without using the other runtime loading flags (-brtl),
14699 # -berok will link without error, but may produce a broken library.
14700 allow_undefined_flag_CXX='-berok'
14701 # Determine the default libpath from the value encoded in an empty
14703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h. */
14714 if ac_fn_cxx_try_link "$LINENO"; then :
14716 lt_aix_libpath_sed='
14717 /Import File Strings/,/^$/ {
14723 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14724 # Check for a 64-bit object if we didn't find anything.
14725 if test -z "$aix_libpath"; then
14726 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14729 rm -f core conftest.err conftest.$ac_objext \
14730 conftest$ac_exeext conftest.$ac_ext
14731 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14733 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14735 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"
14737 if test "$host_cpu" = ia64; then
14738 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14739 allow_undefined_flag_CXX="-z nodefs"
14740 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"
14742 # Determine the default libpath from the value encoded in an
14743 # empty executable.
14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14755 if ac_fn_cxx_try_link "$LINENO"; then :
14757 lt_aix_libpath_sed='
14758 /Import File Strings/,/^$/ {
14764 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14765 # Check for a 64-bit object if we didn't find anything.
14766 if test -z "$aix_libpath"; then
14767 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14774 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14775 # Warning - without using the other run time loading flags,
14776 # -berok will link without error, but may produce a broken library.
14777 no_undefined_flag_CXX=' ${wl}-bernotok'
14778 allow_undefined_flag_CXX=' ${wl}-berok'
14779 # Exported symbols can be pulled into shared objects from archives
14780 whole_archive_flag_spec_CXX='$convenience'
14781 archive_cmds_need_lc_CXX=yes
14782 # This is similar to how AIX traditionally builds its shared
14784 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'
14790 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14791 allow_undefined_flag_CXX=unsupported
14792 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14793 # support --undefined. This deserves some investigation. FIXME
14794 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14801 case $cc_basename in
14803 # FIXME: insert proper C++ library support
14809 cygwin* | mingw* | pw32* | cegcc*)
14810 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14811 # as there is no search path for DLLs.
14812 hardcode_libdir_flag_spec_CXX='-L$libdir'
14813 allow_undefined_flag_CXX=unsupported
14814 always_export_symbols_CXX=no
14815 enable_shared_with_static_runtimes_CXX=yes
14817 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14818 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'
14819 # If the export-symbols file already is a .def file (1st line
14820 # is EXPORTS), use it as is; otherwise, prepend...
14821 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14822 cp $export_symbols $output_objdir/$soname.def;
14824 echo EXPORTS > $output_objdir/$soname.def;
14825 cat $export_symbols >> $output_objdir/$soname.def;
14827 $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'
14832 darwin* | rhapsody*)
14835 archive_cmds_need_lc_CXX=no
14836 hardcode_direct_CXX=no
14837 hardcode_automatic_CXX=yes
14838 hardcode_shlibpath_var_CXX=unsupported
14839 whole_archive_flag_spec_CXX=''
14840 link_all_deplibs_CXX=yes
14841 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14842 case $cc_basename in
14843 ifort*) _lt_dar_can_shared=yes ;;
14844 *) _lt_dar_can_shared=$GCC ;;
14846 if test "$_lt_dar_can_shared" = "yes"; then
14847 output_verbose_link_cmd=echo
14848 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}"
14849 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14850 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}"
14851 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}"
14852 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14853 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}"
14854 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}"
14864 case $cc_basename in
14866 # FIXME: insert proper C++ library support
14870 # Green Hills C++ Compiler
14871 # FIXME: insert proper C++ library support
14875 # FIXME: insert proper C++ library support
14882 # C++ shared libraries reported to be fairly broken before
14888 archive_cmds_need_lc_CXX=no
14891 freebsd* | dragonfly*)
14892 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14901 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14902 hardcode_libdir_separator_CXX=:
14903 export_dynamic_flag_spec_CXX='${wl}-E'
14904 hardcode_direct_CXX=yes
14905 hardcode_minus_L_CXX=yes # Not in the search PATH,
14906 # but as the default
14907 # location of the library.
14909 case $cc_basename in
14911 # FIXME: insert proper C++ library support
14915 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'
14916 # Commands to make compiler produce verbose output that lists
14917 # what "hidden" libraries, object files and flags are used when
14918 # linking a shared library.
14920 # There doesn't appear to be a way to prevent this compiler from
14921 # explicitly linking system object files so we need to strip them
14922 # from the output so that they don't get included in the library
14924 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'
14927 if test "$GXX" = yes; then
14928 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'
14930 # FIXME: insert proper C++ library support
14938 if test $with_gnu_ld = no; then
14939 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14940 hardcode_libdir_separator_CXX=:
14946 export_dynamic_flag_spec_CXX='${wl}-E'
14952 hardcode_direct_CXX=no
14953 hardcode_shlibpath_var_CXX=no
14956 hardcode_direct_CXX=yes
14957 hardcode_direct_absolute_CXX=yes
14958 hardcode_minus_L_CXX=yes # Not in the search PATH,
14959 # but as the default
14960 # location of the library.
14964 case $cc_basename in
14966 # FIXME: insert proper C++ library support
14972 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14975 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14978 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14981 # Commands to make compiler produce verbose output that lists
14982 # what "hidden" libraries, object files and flags are used when
14983 # linking a shared library.
14985 # There doesn't appear to be a way to prevent this compiler from
14986 # explicitly linking system object files so we need to strip them
14987 # from the output so that they don't get included in the library
14989 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'
14992 if test "$GXX" = yes; then
14993 if test $with_gnu_ld = no; then
14996 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14999 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15002 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'
15007 # FIXME: insert proper C++ library support
15015 hardcode_direct_CXX=no
15016 hardcode_shlibpath_var_CXX=no
15017 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15018 export_dynamic_flag_spec_CXX='${wl}-E'
15019 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15020 # Instead, shared libraries are loaded at an image base (0x10000000 by
15021 # default) and relocated if they conflict, which is a slow very memory
15022 # consuming and fragmenting process. To avoid this, we pick a random,
15023 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15024 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15025 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'
15026 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'
15029 case $cc_basename in
15032 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'
15034 # Archives containing C++ object files must be created using
15035 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15036 # necessary to make sure instantiated templates are included
15038 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15041 if test "$GXX" = yes; then
15042 if test "$with_gnu_ld" = no; then
15043 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'
15045 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'
15048 link_all_deplibs_CXX=yes
15051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15052 hardcode_libdir_separator_CXX=:
15053 inherit_rpath_CXX=yes
15056 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15057 case $cc_basename in
15059 # Kuck and Associates, Inc. (KAI) C++ Compiler
15061 # KCC will only create a shared library if the output file
15062 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15063 # to its proper name (with version) after linking.
15064 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'
15065 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'
15066 # Commands to make compiler produce verbose output that lists
15067 # what "hidden" libraries, object files and flags are used when
15068 # linking a shared library.
15070 # There doesn't appear to be a way to prevent this compiler from
15071 # explicitly linking system object files so we need to strip them
15072 # from the output so that they don't get included in the library
15074 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'
15076 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15077 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15079 # Archives containing C++ object files must be created using
15080 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15081 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15086 # version 8.0 and above of icpc choke on multiply defined symbols
15087 # if we add $predep_objects and $postdep_objects, however 7.1 and
15088 # earlier do not add the objects themselves.
15089 case `$CC -V 2>&1` in
15091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15092 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'
15094 *) # Version 8.0 or newer
15097 ia64*) tmp_idyn=' -i_dynamic';;
15099 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15100 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'
15103 archive_cmds_need_lc_CXX=no
15104 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15105 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15106 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15109 # Portland Group C++ compiler
15111 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15112 prelink_cmds_CXX='tpldir=Template.dir~
15114 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15115 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15116 old_archive_cmds_CXX='tpldir=Template.dir~
15118 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15119 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15121 archive_cmds_CXX='tpldir=Template.dir~
15123 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15124 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15125 archive_expsym_cmds_CXX='tpldir=Template.dir~
15127 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15128 $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'
15130 *) # Version 6 will use weak symbols
15131 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15132 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'
15136 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15137 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15138 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'
15142 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15143 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'
15145 runpath_var=LD_RUN_PATH
15146 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15147 hardcode_libdir_separator_CXX=:
15149 # Commands to make compiler produce verbose output that lists
15150 # what "hidden" libraries, object files and flags are used when
15151 # linking a shared library.
15153 # There doesn't appear to be a way to prevent this compiler from
15154 # explicitly linking system object files so we need to strip them
15155 # from the output so that they don't get included in the library
15157 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'
15160 # IBM XL 8.0 on PPC, with GNU ld
15161 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15162 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15163 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15164 if test "x$supports_anon_versioning" = xyes; then
15165 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15166 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15167 echo "local: *; };" >> $output_objdir/$libname.ver~
15168 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15172 case `$CC -V 2>&1 | sed 5q` in
15175 no_undefined_flag_CXX=' -zdefs'
15176 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15177 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'
15178 hardcode_libdir_flag_spec_CXX='-R$libdir'
15179 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'
15180 compiler_needs_object_CXX=yes
15182 # Not sure whether something based on
15183 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15185 output_verbose_link_cmd='echo'
15187 # Archives containing C++ object files must be created using
15188 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15189 # necessary to make sure instantiated templates are included
15191 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15199 # FIXME: insert proper C++ library support
15204 # FIXME: insert proper C++ library support
15209 case $cc_basename in
15211 # FIXME: insert proper C++ library support
15215 # FIXME: insert proper C++ library support
15222 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15223 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15225 hardcode_libdir_flag_spec_CXX='-R$libdir'
15226 hardcode_direct_CXX=yes
15227 hardcode_shlibpath_var_CXX=no
15229 # Workaround some broken pre-1.5 toolchains
15230 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15238 # C++ shared libraries are fairly broken
15243 if test -f /usr/libexec/ld.so; then
15244 hardcode_direct_CXX=yes
15245 hardcode_shlibpath_var_CXX=no
15246 hardcode_direct_absolute_CXX=yes
15247 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15248 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15249 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15250 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15251 export_dynamic_flag_spec_CXX='${wl}-E'
15252 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15254 output_verbose_link_cmd=echo
15260 osf3* | osf4* | osf5*)
15261 case $cc_basename in
15263 # Kuck and Associates, Inc. (KAI) C++ Compiler
15265 # KCC will only create a shared library if the output file
15266 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15267 # to its proper name (with version) after linking.
15268 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'
15270 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15271 hardcode_libdir_separator_CXX=:
15273 # Archives containing C++ object files must be created using
15274 # the KAI C++ compiler.
15276 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15277 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15281 # Rational C++ 2.4.1
15282 # FIXME: insert proper C++ library support
15288 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15289 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'
15290 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15293 allow_undefined_flag_CXX=' -expect_unresolved \*'
15294 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'
15295 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15296 echo "-hidden">> $lib.exp~
15297 $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~
15299 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15303 hardcode_libdir_separator_CXX=:
15305 # Commands to make compiler produce verbose output that lists
15306 # what "hidden" libraries, object files and flags are used when
15307 # linking a shared library.
15309 # There doesn't appear to be a way to prevent this compiler from
15310 # explicitly linking system object files so we need to strip them
15311 # from the output so that they don't get included in the library
15313 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'
15316 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15317 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15320 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'
15323 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'
15327 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15328 hardcode_libdir_separator_CXX=:
15330 # Commands to make compiler produce verbose output that lists
15331 # what "hidden" libraries, object files and flags are used when
15332 # linking a shared library.
15333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15336 # FIXME: insert proper C++ library support
15344 # FIXME: insert proper C++ library support
15349 case $cc_basename in
15352 # FIXME: insert proper C++ library support
15357 # FIXME: insert proper C++ library support
15361 # FIXME: insert proper C++ library support
15368 case $cc_basename in
15370 # Sun C++ 4.2, 5.x and Centerline C++
15371 archive_cmds_need_lc_CXX=yes
15372 no_undefined_flag_CXX=' -zdefs'
15373 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15374 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15375 $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'
15377 hardcode_libdir_flag_spec_CXX='-R$libdir'
15378 hardcode_shlibpath_var_CXX=no
15380 solaris2.[0-5] | solaris2.[0-5].*) ;;
15382 # The compiler driver will combine and reorder linker options,
15383 # but understands `-z linker_flag'.
15384 # Supported since Solaris 2.6 (maybe 2.5.1?)
15385 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15388 link_all_deplibs_CXX=yes
15390 output_verbose_link_cmd='echo'
15392 # Archives containing C++ object files must be created using
15393 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15394 # necessary to make sure instantiated templates are included
15396 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15399 # Green Hills C++ Compiler
15400 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15402 # The C++ compiler must be used to create the archive.
15403 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15406 # GNU C++ compiler with Solaris linker
15407 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15408 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15409 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15410 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15411 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15412 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15414 # Commands to make compiler produce verbose output that lists
15415 # what "hidden" libraries, object files and flags are used when
15416 # linking a shared library.
15417 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15419 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15421 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15422 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15423 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15425 # Commands to make compiler produce verbose output that lists
15426 # what "hidden" libraries, object files and flags are used when
15427 # linking a shared library.
15428 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15431 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15433 solaris2.[0-5] | solaris2.[0-5].*) ;;
15435 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15443 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15444 no_undefined_flag_CXX='${wl}-z,text'
15445 archive_cmds_need_lc_CXX=no
15446 hardcode_shlibpath_var_CXX=no
15447 runpath_var='LD_RUN_PATH'
15449 case $cc_basename in
15451 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15452 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15455 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15456 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15461 sysv5* | sco3.2v5* | sco5v6*)
15462 # Note: We can NOT use -z defs as we might desire, because we do not
15463 # link with -lc, and that would cause any symbols used from libc to
15464 # always be unresolved, which means just about no library would
15465 # ever link correctly. If we're not using GNU ld we use -z text
15466 # though, which does catch some bad symbols but isn't as heavy-handed
15468 no_undefined_flag_CXX='${wl}-z,text'
15469 allow_undefined_flag_CXX='${wl}-z,nodefs'
15470 archive_cmds_need_lc_CXX=no
15471 hardcode_shlibpath_var_CXX=no
15472 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15473 hardcode_libdir_separator_CXX=':'
15474 link_all_deplibs_CXX=yes
15475 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15476 runpath_var='LD_RUN_PATH'
15478 case $cc_basename in
15480 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15481 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15484 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15485 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15491 case $cc_basename in
15493 # NonStop-UX NCC 3.20
15494 # FIXME: insert proper C++ library support
15498 # FIXME: insert proper C++ library support
15505 # FIXME: insert proper C++ library support
15510 # FIXME: insert proper C++ library support
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15516 $as_echo "$ld_shlibs_CXX" >&6; }
15517 test "$ld_shlibs_CXX" = no && can_build_shared=no
15523 ## There is no encapsulation within the following macros, do not change
15524 ## the running order or otherwise move them around unless you know exactly
15525 ## what you are doing...
15526 # Dependencies to place before and after the object being linked:
15527 predep_objects_CXX=
15528 postdep_objects_CXX=
15531 compiler_lib_search_path_CXX=
15533 cat > conftest.$ac_ext <<_LT_EOF
15537 Foo (void) { a = 0; }
15543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15544 (eval $ac_compile) 2>&5
15546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15547 test $ac_status = 0; }; then
15548 # Parse the compiler output and extract the necessary
15549 # objects, libraries and library flags.
15551 # Sentinel used to keep track of whether or not we are before
15552 # the conftest object file.
15553 pre_test_object_deps_done=no
15555 for p in `eval "$output_verbose_link_cmd"`; do
15559 # Some compilers place space between "-{L,R}" and the path.
15560 # Remove the space.
15561 if test $p = "-L" ||
15562 test $p = "-R"; then
15569 if test "$pre_test_object_deps_done" = no; then
15572 # Internal compiler library paths should come after those
15573 # provided the user. The postdeps already come after the
15574 # user supplied libs so there is no need to process them.
15575 if test -z "$compiler_lib_search_path_CXX"; then
15576 compiler_lib_search_path_CXX="${prev}${p}"
15578 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15581 # The "-l" case would never come before the object being
15582 # linked, so don't bother handling this case.
15585 if test -z "$postdeps_CXX"; then
15586 postdeps_CXX="${prev}${p}"
15588 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15594 # This assumes that the test object file only shows up
15595 # once in the compiler output.
15596 if test "$p" = "conftest.$objext"; then
15597 pre_test_object_deps_done=yes
15601 if test "$pre_test_object_deps_done" = no; then
15602 if test -z "$predep_objects_CXX"; then
15603 predep_objects_CXX="$p"
15605 predep_objects_CXX="$predep_objects_CXX $p"
15608 if test -z "$postdep_objects_CXX"; then
15609 postdep_objects_CXX="$p"
15611 postdep_objects_CXX="$postdep_objects_CXX $p"
15616 *) ;; # Ignore the rest.
15624 echo "libtool.m4: error: problem compiling CXX test program"
15627 $RM -f confest.$objext
15629 # PORTME: override above test on systems where it is broken
15632 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15633 # hack all around it, let's just trust "g++" to DTRT.
15634 predep_objects_CXX=
15635 postdep_objects_CXX=
15640 case `$CC -V 2>&1 | sed 5q` in
15644 # The more standards-conforming stlport4 library is
15645 # incompatible with the Cstd library. Avoid specifying
15646 # it if it's in CXXFLAGS. Ignore libCrun as
15647 # -library=stlport4 depends on it.
15648 case " $CXX $CXXFLAGS " in
15649 *" -library=stlport4 "*)
15650 solaris_use_stlport4=yes
15654 if test "$solaris_use_stlport4" != yes; then
15655 postdeps_CXX='-library=Cstd -library=Crun'
15662 case $cc_basename in
15664 # The more standards-conforming stlport4 library is
15665 # incompatible with the Cstd library. Avoid specifying
15666 # it if it's in CXXFLAGS. Ignore libCrun as
15667 # -library=stlport4 depends on it.
15668 case " $CXX $CXXFLAGS " in
15669 *" -library=stlport4 "*)
15670 solaris_use_stlport4=yes
15674 # Adding this requires a known-good setup of shared libraries for
15675 # Sun compiler versions before 5.6, else PIC objects from an old
15676 # archive will be linked into the output, leading to subtle bugs.
15677 if test "$solaris_use_stlport4" != yes; then
15678 postdeps_CXX='-library=Cstd -library=Crun'
15686 case " $postdeps_CXX " in
15687 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15689 compiler_lib_search_dirs_CXX=
15690 if test -n "${compiler_lib_search_path_CXX}"; then
15691 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15724 lt_prog_compiler_wl_CXX=
15725 lt_prog_compiler_pic_CXX=
15726 lt_prog_compiler_static_CXX=
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15729 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15731 # C++ specific cases for pic, static, wl, etc.
15732 if test "$GXX" = yes; then
15733 lt_prog_compiler_wl_CXX='-Wl,'
15734 lt_prog_compiler_static_CXX='-static'
15738 # All AIX code is PIC.
15739 if test "$host_cpu" = ia64; then
15740 # AIX 5 now supports IA64 processor
15741 lt_prog_compiler_static_CXX='-Bstatic'
15748 # see comment about AmigaOS4 .so support
15749 lt_prog_compiler_pic_CXX='-fPIC'
15752 # FIXME: we need at least 68020 code to build shared libraries, but
15753 # adding the `-m68020' flag to GCC prevents building anything better,
15755 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15760 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15761 # PIC is the default for these OSes.
15763 mingw* | cygwin* | os2* | pw32* | cegcc*)
15764 # This hack is so that the source file can tell whether it is being
15765 # built for inclusion in a dll (and should export symbols for example).
15766 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15767 # (--disable-auto-import) libraries
15768 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15770 darwin* | rhapsody*)
15771 # PIC is the default on this platform
15772 # Common symbols not allowed in MH_DYLIB files
15773 lt_prog_compiler_pic_CXX='-fno-common'
15776 # DJGPP does not support shared libraries at all
15777 lt_prog_compiler_pic_CXX=
15780 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15781 # Instead, we relocate shared libraries at runtime.
15784 if test -d /usr/nec; then
15785 lt_prog_compiler_pic_CXX=-Kconform_pic
15789 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15790 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15791 # sets the default TLS model and affects inlining.
15796 lt_prog_compiler_pic_CXX='-fPIC'
15801 # QNX uses GNU C++, but need to define -shared option too, otherwise
15802 # it will coredump.
15803 lt_prog_compiler_pic_CXX='-fPIC -shared'
15806 lt_prog_compiler_pic_CXX='-fPIC'
15812 # All AIX code is PIC.
15813 if test "$host_cpu" = ia64; then
15814 # AIX 5 now supports IA64 processor
15815 lt_prog_compiler_static_CXX='-Bstatic'
15817 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15821 case $cc_basename in
15823 # Green Hills C++ Compiler
15824 # _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"
15829 case $cc_basename in
15831 lt_prog_compiler_pic_CXX='-KPIC'
15834 # Green Hills C++ Compiler
15835 lt_prog_compiler_pic_CXX='-pic'
15841 freebsd* | dragonfly*)
15842 # FreeBSD uses GNU C++
15844 hpux9* | hpux10* | hpux11*)
15845 case $cc_basename in
15847 lt_prog_compiler_wl_CXX='-Wl,'
15848 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15849 if test "$host_cpu" != ia64; then
15850 lt_prog_compiler_pic_CXX='+Z'
15854 lt_prog_compiler_wl_CXX='-Wl,'
15855 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15861 lt_prog_compiler_pic_CXX='+Z'
15870 # This is c89, which is MS Visual C++ (no shared libs)
15871 # Anyone wants to do a port?
15873 irix5* | irix6* | nonstopux*)
15874 case $cc_basename in
15876 lt_prog_compiler_wl_CXX='-Wl,'
15877 lt_prog_compiler_static_CXX='-non_shared'
15878 # CC pic flag -KPIC is the default.
15884 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15885 case $cc_basename in
15888 lt_prog_compiler_wl_CXX='--backend -Wl,'
15889 lt_prog_compiler_pic_CXX='-fPIC'
15892 # old Intel C++ for x86_64 which still supported -KPIC.
15893 lt_prog_compiler_wl_CXX='-Wl,'
15894 lt_prog_compiler_pic_CXX='-KPIC'
15895 lt_prog_compiler_static_CXX='-static'
15898 # Intel C++, used to be incompatible with GCC.
15899 # ICC 10 doesn't accept -KPIC any more.
15900 lt_prog_compiler_wl_CXX='-Wl,'
15901 lt_prog_compiler_pic_CXX='-fPIC'
15902 lt_prog_compiler_static_CXX='-static'
15905 # Portland Group C++ compiler
15906 lt_prog_compiler_wl_CXX='-Wl,'
15907 lt_prog_compiler_pic_CXX='-fpic'
15908 lt_prog_compiler_static_CXX='-Bstatic'
15912 # Make sure the PIC flag is empty. It appears that all Alpha
15913 # Linux and Compaq Tru64 Unix objects are PIC.
15914 lt_prog_compiler_pic_CXX=
15915 lt_prog_compiler_static_CXX='-non_shared'
15918 # IBM XL 8.0 on PPC
15919 lt_prog_compiler_wl_CXX='-Wl,'
15920 lt_prog_compiler_pic_CXX='-qpic'
15921 lt_prog_compiler_static_CXX='-qstaticlink'
15924 case `$CC -V 2>&1 | sed 5q` in
15927 lt_prog_compiler_pic_CXX='-KPIC'
15928 lt_prog_compiler_static_CXX='-Bstatic'
15929 lt_prog_compiler_wl_CXX='-Qoption ld '
15940 case $cc_basename in
15942 lt_prog_compiler_pic_CXX='-W c,exportall'
15948 netbsd* | netbsdelf*-gnu)
15951 # QNX uses GNU C++, but need to define -shared option too, otherwise
15952 # it will coredump.
15953 lt_prog_compiler_pic_CXX='-fPIC -shared'
15955 osf3* | osf4* | osf5*)
15956 case $cc_basename in
15958 lt_prog_compiler_wl_CXX='--backend -Wl,'
15961 # Rational C++ 2.4.1
15962 lt_prog_compiler_pic_CXX='-pic'
15965 # Digital/Compaq C++
15966 lt_prog_compiler_wl_CXX='-Wl,'
15967 # Make sure the PIC flag is empty. It appears that all Alpha
15968 # Linux and Compaq Tru64 Unix objects are PIC.
15969 lt_prog_compiler_pic_CXX=
15970 lt_prog_compiler_static_CXX='-non_shared'
15979 case $cc_basename in
15981 # Sun C++ 4.2, 5.x and Centerline C++
15982 lt_prog_compiler_pic_CXX='-KPIC'
15983 lt_prog_compiler_static_CXX='-Bstatic'
15984 lt_prog_compiler_wl_CXX='-Qoption ld '
15987 # Green Hills C++ Compiler
15988 lt_prog_compiler_pic_CXX='-PIC'
15995 case $cc_basename in
15998 lt_prog_compiler_pic_CXX='-pic'
15999 lt_prog_compiler_static_CXX='-Bstatic'
16003 lt_prog_compiler_pic_CXX='-pic'
16009 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16010 case $cc_basename in
16012 lt_prog_compiler_wl_CXX='-Wl,'
16013 lt_prog_compiler_pic_CXX='-KPIC'
16014 lt_prog_compiler_static_CXX='-Bstatic'
16019 case $cc_basename in
16021 # NonStop-UX NCC 3.20
16022 lt_prog_compiler_pic_CXX='-KPIC'
16031 lt_prog_compiler_can_build_shared_CXX=no
16037 # For platforms which do not support PIC, -DPIC is meaningless:
16039 lt_prog_compiler_pic_CXX=
16042 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16046 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16051 # Check to make sure the PIC flag actually works.
16053 if test -n "$lt_prog_compiler_pic_CXX"; then
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16055 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16056 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16057 $as_echo_n "(cached) " >&6
16059 lt_cv_prog_compiler_pic_works_CXX=no
16060 ac_outfile=conftest.$ac_objext
16061 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16062 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16063 # Insert the option either (1) after the last *FLAGS variable, or
16064 # (2) before a word containing "conftest.", or (3) at the end.
16065 # Note that $ac_compile itself does not contain backslashes and begins
16066 # with a dollar sign (not a hyphen), so the echo should work correctly.
16067 # The option is referenced via a variable to avoid confusing sed.
16068 lt_compile=`echo "$ac_compile" | $SED \
16069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16071 -e 's:$: $lt_compiler_flag:'`
16072 (eval echo "\"\$as_me:16072: $lt_compile\"" >&5)
16073 (eval "$lt_compile" 2>conftest.err)
16075 cat conftest.err >&5
16076 echo "$as_me:16076: \$? = $ac_status" >&5
16077 if (exit $ac_status) && test -s "$ac_outfile"; then
16078 # The compiler can only warn and ignore the option if not recognized
16079 # So say no if there are warnings other than the usual output.
16080 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16081 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16082 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16083 lt_cv_prog_compiler_pic_works_CXX=yes
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16090 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16092 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16093 case $lt_prog_compiler_pic_CXX in
16095 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16098 lt_prog_compiler_pic_CXX=
16099 lt_prog_compiler_can_build_shared_CXX=no
16107 # Check to make sure the static flag actually works.
16109 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16111 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16112 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16113 $as_echo_n "(cached) " >&6
16115 lt_cv_prog_compiler_static_works_CXX=no
16116 save_LDFLAGS="$LDFLAGS"
16117 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16118 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16119 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16120 # The linker can only warn and ignore the option if not recognized
16121 # So say no if there are warnings
16122 if test -s conftest.err; then
16123 # Append any errors to the config.log.
16124 cat conftest.err 1>&5
16125 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16126 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16127 if diff conftest.exp conftest.er2 >/dev/null; then
16128 lt_cv_prog_compiler_static_works_CXX=yes
16131 lt_cv_prog_compiler_static_works_CXX=yes
16135 LDFLAGS="$save_LDFLAGS"
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16139 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16141 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16144 lt_prog_compiler_static_CXX=
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16151 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16152 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16153 $as_echo_n "(cached) " >&6
16155 lt_cv_prog_compiler_c_o_CXX=no
16156 $RM -r conftest 2>/dev/null
16160 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16162 lt_compiler_flag="-o out/conftest2.$ac_objext"
16163 # Insert the option either (1) after the last *FLAGS variable, or
16164 # (2) before a word containing "conftest.", or (3) at the end.
16165 # Note that $ac_compile itself does not contain backslashes and begins
16166 # with a dollar sign (not a hyphen), so the echo should work correctly.
16167 lt_compile=`echo "$ac_compile" | $SED \
16168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16170 -e 's:$: $lt_compiler_flag:'`
16171 (eval echo "\"\$as_me:16171: $lt_compile\"" >&5)
16172 (eval "$lt_compile" 2>out/conftest.err)
16174 cat out/conftest.err >&5
16175 echo "$as_me:16175: \$? = $ac_status" >&5
16176 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16178 # The compiler can only warn and ignore the option if not recognized
16179 # So say no if there are warnings
16180 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16181 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16182 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16183 lt_cv_prog_compiler_c_o_CXX=yes
16188 # SGI C++ compiler will create directory out/ii_files/ for
16189 # template instantiation
16190 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16191 $RM out/* && rmdir out
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16198 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16203 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16204 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16205 $as_echo_n "(cached) " >&6
16207 lt_cv_prog_compiler_c_o_CXX=no
16208 $RM -r conftest 2>/dev/null
16212 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16214 lt_compiler_flag="-o out/conftest2.$ac_objext"
16215 # Insert the option either (1) after the last *FLAGS variable, or
16216 # (2) before a word containing "conftest.", or (3) at the end.
16217 # Note that $ac_compile itself does not contain backslashes and begins
16218 # with a dollar sign (not a hyphen), so the echo should work correctly.
16219 lt_compile=`echo "$ac_compile" | $SED \
16220 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16222 -e 's:$: $lt_compiler_flag:'`
16223 (eval echo "\"\$as_me:16223: $lt_compile\"" >&5)
16224 (eval "$lt_compile" 2>out/conftest.err)
16226 cat out/conftest.err >&5
16227 echo "$as_me:16227: \$? = $ac_status" >&5
16228 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16230 # The compiler can only warn and ignore the option if not recognized
16231 # So say no if there are warnings
16232 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16233 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16234 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16235 lt_cv_prog_compiler_c_o_CXX=yes
16240 # SGI C++ compiler will create directory out/ii_files/ for
16241 # template instantiation
16242 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16243 $RM out/* && rmdir out
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16250 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16255 hard_links="nottested"
16256 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16257 # do not overwrite the value of need_locks provided by the user
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16259 $as_echo_n "checking if we can lock with hard links... " >&6; }
16262 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16264 ln conftest.a conftest.b 2>&5 || hard_links=no
16265 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16267 $as_echo "$hard_links" >&6; }
16268 if test "$hard_links" = no; then
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16270 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16280 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16282 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16285 # If we're using GNU nm, then we don't want the "-C" option.
16286 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16287 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16288 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'
16290 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'
16294 export_symbols_cmds_CXX="$ltdll_cmds"
16296 cygwin* | mingw* | cegcc*)
16297 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'
16299 linux* | k*bsd*-gnu)
16300 link_all_deplibs_CXX=no
16303 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16306 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16309 $as_echo "$ld_shlibs_CXX" >&6; }
16310 test "$ld_shlibs_CXX" = no && can_build_shared=no
16312 with_gnu_ld_CXX=$with_gnu_ld
16320 # Do we need to explicitly link libc?
16322 case "x$archive_cmds_need_lc_CXX" in
16324 # Assume -lc should be added
16325 archive_cmds_need_lc_CXX=yes
16327 if test "$enable_shared" = yes && test "$GCC" = yes; then
16328 case $archive_cmds_CXX in
16330 # FIXME: we may have to deal with multi-command sequences.
16333 # Test whether the compiler implicitly links with -lc since on some
16334 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16335 # to ld, don't add -lc before -lgcc.
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16337 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16339 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16342 (eval $ac_compile) 2>&5
16344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16345 test $ac_status = 0; } 2>conftest.err; then
16348 libobjs=conftest.$ac_objext
16350 wl=$lt_prog_compiler_wl_CXX
16351 pic_flag=$lt_prog_compiler_pic_CXX
16357 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16358 allow_undefined_flag_CXX=
16359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16360 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16363 test $ac_status = 0; }
16365 archive_cmds_need_lc_CXX=no
16367 archive_cmds_need_lc_CXX=yes
16369 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16371 cat conftest.err 1>&5
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16375 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16446 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16448 library_names_spec=
16449 libname_spec='lib$name'
16453 postuninstall_cmds=
16457 shlibpath_overrides_runpath=unknown
16459 dynamic_linker="$host_os ld.so"
16460 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16461 need_lib_prefix=unknown
16462 hardcode_into_libs=no
16464 # when you set need_version to no, make sure it does not cause -set_version
16465 # flags to be left without arguments
16466 need_version=unknown
16471 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16472 shlibpath_var=LIBPATH
16474 # AIX 3 has no versioning support, so we append a major version to the name.
16475 soname_spec='${libname}${release}${shared_ext}$major'
16482 hardcode_into_libs=yes
16483 if test "$host_cpu" = ia64; then
16484 # AIX 5 supports IA64
16485 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16486 shlibpath_var=LD_LIBRARY_PATH
16488 # With GCC up to 2.95.x, collect2 would create an import file
16489 # for dependence libraries. The import file would start with
16490 # the line `#! .'. This would cause the generated library to
16491 # depend on `.', always an invalid library. This was fixed in
16492 # development snapshots of GCC prior to 3.0.
16494 aix4 | aix4.[01] | aix4.[01].*)
16495 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16497 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16500 can_build_shared=no
16504 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16505 # soname into executable. Probably we can add versioning support to
16506 # collect2, so additional links can be useful in future.
16507 if test "$aix_use_runtimelinking" = yes; then
16508 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16509 # instead of lib<name>.a to let people know that these are not
16510 # typical AIX shared libraries.
16511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16513 # We preserve .a as extension for shared libraries through AIX4.2
16514 # and later when we are not doing run time linking.
16515 library_names_spec='${libname}${release}.a $libname.a'
16516 soname_spec='${libname}${release}${shared_ext}$major'
16518 shlibpath_var=LIBPATH
16525 # Since July 2007 AmigaOS4 officially supports .so libraries.
16526 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16530 library_names_spec='$libname.ixlibrary $libname.a'
16531 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16532 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'
16538 library_names_spec='${libname}${shared_ext}'
16539 dynamic_linker="$host_os ld.so"
16540 shlibpath_var=LIBRARY_PATH
16546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16547 soname_spec='${libname}${release}${shared_ext}$major'
16548 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16549 shlibpath_var=LD_LIBRARY_PATH
16550 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16551 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16552 # the default ld.so.conf also contains /usr/contrib/lib and
16553 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16554 # libtool to hard-code these into programs
16557 cygwin* | mingw* | pw32* | cegcc*)
16558 version_type=windows
16563 case $GCC,$host_os in
16564 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16565 library_names_spec='$libname.dll.a'
16566 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16567 postinstall_cmds='base_file=`basename \${file}`~
16568 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16569 dldir=$destdir/`dirname \$dlpath`~
16570 test -d \$dldir || mkdir -p \$dldir~
16571 $install_prog $dir/$dlname \$dldir/$dlname~
16572 chmod a+x \$dldir/$dlname~
16573 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16574 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16576 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16577 dlpath=$dir/\$dldll~
16579 shlibpath_overrides_runpath=yes
16583 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16584 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16585 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16588 # MinGW DLLs use traditional 'lib' prefix
16589 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16590 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16591 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16592 # It is most probably a Windows format PATH printed by
16593 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16594 # path with ; separators, and with drive letters. We can handle the
16595 # drive letters (cygwin fileutils understands them), so leave them,
16596 # especially as we might pass files found there to a mingw objdump,
16597 # which wouldn't understand a cygwinified path. Ahh.
16598 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16600 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16604 # pw32 DLLs use 'pw' prefix rather than 'lib'
16605 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16611 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16614 dynamic_linker='Win32 ld.exe'
16615 # FIXME: first we should search . and the directory the executable is in
16619 darwin* | rhapsody*)
16620 dynamic_linker="$host_os dyld"
16621 version_type=darwin
16624 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16625 soname_spec='${libname}${release}${major}$shared_ext'
16626 shlibpath_overrides_runpath=yes
16627 shlibpath_var=DYLD_LIBRARY_PATH
16628 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16630 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16638 soname_spec='${libname}${release}${shared_ext}$major'
16639 shlibpath_var=LD_LIBRARY_PATH
16646 freebsd* | dragonfly*)
16647 # DragonFly does not have aout. When/if they implement a new
16648 # versioning mechanism, adjust this.
16649 if test -x /usr/bin/objformat; then
16650 objformat=`/usr/bin/objformat`
16653 freebsd[123]*) objformat=aout ;;
16654 *) objformat=elf ;;
16657 version_type=freebsd-$objformat
16658 case $version_type in
16660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16665 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16669 shlibpath_var=LD_LIBRARY_PATH
16672 shlibpath_overrides_runpath=yes
16674 freebsd3.[01]* | freebsdelf3.[01]*)
16675 shlibpath_overrides_runpath=yes
16676 hardcode_into_libs=yes
16678 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16679 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16680 shlibpath_overrides_runpath=no
16681 hardcode_into_libs=yes
16683 *) # from 4.6 on, and DragonFly
16684 shlibpath_overrides_runpath=yes
16685 hardcode_into_libs=yes
16694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16695 soname_spec='${libname}${release}${shared_ext}$major'
16696 shlibpath_var=LD_LIBRARY_PATH
16697 hardcode_into_libs=yes
16700 hpux9* | hpux10* | hpux11*)
16701 # Give a soname corresponding to the major version so that dld.sl refuses to
16702 # link against other versions.
16709 hardcode_into_libs=yes
16710 dynamic_linker="$host_os dld.so"
16711 shlibpath_var=LD_LIBRARY_PATH
16712 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16714 soname_spec='${libname}${release}${shared_ext}$major'
16715 if test "X$HPUX_IA64_MODE" = X32; then
16716 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16718 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16720 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16724 hardcode_into_libs=yes
16725 dynamic_linker="$host_os dld.sl"
16726 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16727 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16729 soname_spec='${libname}${release}${shared_ext}$major'
16730 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16731 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16735 dynamic_linker="$host_os dld.sl"
16736 shlibpath_var=SHLIB_PATH
16737 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16739 soname_spec='${libname}${release}${shared_ext}$major'
16742 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16743 postinstall_cmds='chmod 555 $lib'
16750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16751 soname_spec='${libname}${release}${shared_ext}$major'
16752 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16753 shlibpath_var=LD_LIBRARY_PATH
16754 shlibpath_overrides_runpath=no
16755 hardcode_into_libs=yes
16758 irix5* | irix6* | nonstopux*)
16760 nonstopux*) version_type=nonstopux ;;
16762 if test "$lt_cv_prog_gnu_ld" = yes; then
16770 soname_spec='${libname}${release}${shared_ext}$major'
16771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16773 irix5* | nonstopux*)
16774 libsuff= shlibsuff=
16777 case $LD in # libtool.m4 will add one of these switches to LD
16778 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16779 libsuff= shlibsuff= libmagic=32-bit;;
16780 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16781 libsuff=32 shlibsuff=N32 libmagic=N32;;
16782 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16783 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16784 *) libsuff= shlibsuff= libmagic=never-match;;
16788 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16789 shlibpath_overrides_runpath=no
16790 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16791 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16792 hardcode_into_libs=yes
16795 # No shared lib support for Linux oldld, aout, or coff.
16796 linux*oldld* | linux*aout* | linux*coff*)
16800 # This must be Linux ELF.
16801 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806 soname_spec='${libname}${release}${shared_ext}$major'
16807 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16808 shlibpath_var=LD_LIBRARY_PATH
16809 shlibpath_overrides_runpath=no
16810 # Some binutils ld are patched to set DT_RUNPATH
16811 save_LDFLAGS=$LDFLAGS
16812 save_libdir=$libdir
16813 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16814 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16826 if ac_fn_cxx_try_link "$LINENO"; then :
16827 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16828 shlibpath_overrides_runpath=yes
16831 rm -f core conftest.err conftest.$ac_objext \
16832 conftest$ac_exeext conftest.$ac_ext
16833 LDFLAGS=$save_LDFLAGS
16834 libdir=$save_libdir
16836 # This implies no fast_install, which is unacceptable.
16837 # Some rework will be needed to allow for fast_install
16838 # before this can be enabled.
16839 hardcode_into_libs=yes
16841 # Append ld.so.conf contents to the search path
16842 if test -f /etc/ld.so.conf; then
16843 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' ' '`
16844 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16847 # We used to test for /lib/ld.so.1 and disable shared libraries on
16848 # powerpc, because MkLinux only supported shared libraries with the
16849 # GNU dynamic linker. Since this was broken with cross compilers,
16850 # most powerpc-linux boxes support dynamic linking these days and
16851 # people can always --disable-shared, the test was removed, and we
16852 # assume the GNU/Linux dynamic linker is in use.
16853 dynamic_linker='GNU/Linux ld.so'
16860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16861 soname_spec='${libname}${release}${shared_ext}$major'
16862 shlibpath_var=LD_LIBRARY_PATH
16863 shlibpath_overrides_runpath=no
16864 hardcode_into_libs=yes
16865 dynamic_linker='NetBSD ld.elf_so'
16872 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16874 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16875 dynamic_linker='NetBSD (a.out) ld.so'
16877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16878 soname_spec='${libname}${release}${shared_ext}$major'
16879 dynamic_linker='NetBSD ld.elf_so'
16881 shlibpath_var=LD_LIBRARY_PATH
16882 shlibpath_overrides_runpath=yes
16883 hardcode_into_libs=yes
16888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16889 shlibpath_var=LD_LIBRARY_PATH
16890 shlibpath_overrides_runpath=yes
16897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16898 soname_spec='${libname}${release}${shared_ext}$major'
16899 shlibpath_var=LD_LIBRARY_PATH
16900 shlibpath_overrides_runpath=no
16901 hardcode_into_libs=yes
16902 dynamic_linker='ldqnx.so'
16907 sys_lib_dlsearch_path_spec="/usr/lib"
16909 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16911 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16912 *) need_version=no ;;
16914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16915 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16916 shlibpath_var=LD_LIBRARY_PATH
16917 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16919 openbsd2.[89] | openbsd2.[89].*)
16920 shlibpath_overrides_runpath=no
16923 shlibpath_overrides_runpath=yes
16927 shlibpath_overrides_runpath=yes
16932 libname_spec='$name'
16935 library_names_spec='$libname${shared_ext} $libname.a'
16936 dynamic_linker='OS/2 ld.exe'
16937 shlibpath_var=LIBPATH
16940 osf3* | osf4* | osf5*)
16944 soname_spec='${libname}${release}${shared_ext}$major'
16945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16946 shlibpath_var=LD_LIBRARY_PATH
16947 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16948 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16960 soname_spec='${libname}${release}${shared_ext}$major'
16961 shlibpath_var=LD_LIBRARY_PATH
16962 shlibpath_overrides_runpath=yes
16963 hardcode_into_libs=yes
16964 # ldd complains unless libraries are executable
16965 postinstall_cmds='chmod +x $lib'
16970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16971 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16972 shlibpath_var=LD_LIBRARY_PATH
16973 shlibpath_overrides_runpath=yes
16974 if test "$with_gnu_ld" = yes; then
16982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16983 soname_spec='${libname}${release}${shared_ext}$major'
16984 shlibpath_var=LD_LIBRARY_PATH
16985 case $host_vendor in
16987 shlibpath_overrides_runpath=no
16989 runpath_var=LD_RUN_PATH
16997 shlibpath_overrides_runpath=no
16998 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17004 if test -d /usr/nec ;then
17006 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17007 soname_spec='$libname${shared_ext}.$major'
17008 shlibpath_var=LD_LIBRARY_PATH
17012 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17013 version_type=freebsd-elf
17016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17017 soname_spec='${libname}${release}${shared_ext}$major'
17018 shlibpath_var=LD_LIBRARY_PATH
17019 shlibpath_overrides_runpath=yes
17020 hardcode_into_libs=yes
17021 if test "$with_gnu_ld" = yes; then
17022 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17024 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17027 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17031 sys_lib_dlsearch_path_spec='/usr/lib'
17035 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17040 shlibpath_var=LD_LIBRARY_PATH
17041 shlibpath_overrides_runpath=no
17042 hardcode_into_libs=yes
17047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17048 soname_spec='${libname}${release}${shared_ext}$major'
17049 shlibpath_var=LD_LIBRARY_PATH
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17057 $as_echo "$dynamic_linker" >&6; }
17058 test "$dynamic_linker" = no && can_build_shared=no
17060 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17061 if test "$GCC" = yes; then
17062 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17065 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17066 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17068 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17069 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17108 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17109 hardcode_action_CXX=
17110 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17111 test -n "$runpath_var_CXX" ||
17112 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17114 # We can hardcode non-existent directories.
17115 if test "$hardcode_direct_CXX" != no &&
17116 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17117 # have to relink, otherwise we might link with an installed library
17118 # when we should be linking with a yet-to-be-installed one
17119 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17120 test "$hardcode_minus_L_CXX" != no; then
17121 # Linking always hardcodes the temporary library directory.
17122 hardcode_action_CXX=relink
17124 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17125 hardcode_action_CXX=immediate
17128 # We cannot hardcode anything, or else we can only hardcode existing
17130 hardcode_action_CXX=unsupported
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17133 $as_echo "$hardcode_action_CXX" >&6; }
17135 if test "$hardcode_action_CXX" = relink ||
17136 test "$inherit_rpath_CXX" = yes; then
17137 # Fast installation is not supported
17138 enable_fast_install=no
17139 elif test "$shlibpath_overrides_runpath" = yes ||
17140 test "$enable_shared" = no; then
17141 # Fast installation is not necessary
17142 enable_fast_install=needless
17151 fi # test -n "$compiler"
17157 with_gnu_ld=$lt_save_with_gnu_ld
17158 lt_cv_path_LDCXX=$lt_cv_path_LD
17159 lt_cv_path_LD=$lt_save_path_LD
17160 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17161 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17162 fi # test "$_lt_caught_CXX_error" != yes
17165 ac_cpp='$CPP $CPPFLAGS'
17166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173 if test "$GCC" = "yes" ; then
17174 # AC_HAVE_GCC_VERSION(4,0,0,0,
17176 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17177 # [Define to enable class visibility control in gcc.])
17178 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17179 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17181 CFLAGS="$GCC_CFLAGS"
17182 CXXFLAGS="$GCC_CXXFLAGS"
17185 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17186 # Also enables POSIX semantics for some functions.
17187 case "${host_cpu}-${host_os}" in
17189 CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
17190 CXXFLAGS="$CXXFLAGS -D_POSIX_PTHREAD_SEMANTICS"
17191 if test "$CXX" = "CC" ; then
17192 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17197 # Checks for typedefs, structures, and compiler characteristics.
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17199 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17200 if test "${ac_cv_c_const+set}" = set; then :
17201 $as_echo_n "(cached) " >&6
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17209 /* FIXME: Include the comments suggested by Paul. */
17210 #ifndef __cplusplus
17211 /* Ultrix mips cc rejects this. */
17212 typedef int charset[2];
17214 /* SunOS 4.1.1 cc rejects this. */
17215 char const *const *pcpcc;
17217 /* NEC SVR4.0.2 mips cc rejects this. */
17218 struct point {int x, y;};
17219 static struct point const zero = {0,0};
17220 /* AIX XL C 1.02.0.0 rejects this.
17221 It does not let you subtract one const X* pointer from another in
17222 an arm of an if-expression whose if-part is not a constant
17224 const char *g = "string";
17225 pcpcc = &g + (g ? g-g : 0);
17226 /* HPUX 7.0 cc rejects these. */
17228 ppc = (char**) pcpcc;
17229 pcpcc = (char const *const *) ppc;
17230 { /* SCO 3.2v4 cc rejects this. */
17232 char const *s = 0 ? (char *) 0 : (char const *) 0;
17237 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17238 int x[] = {25, 17};
17239 const int *foo = &x[0];
17242 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17243 typedef const int *iptr;
17247 { /* AIX XL C 1.02.0.0 rejects this saying
17248 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17249 struct s { int j; const int *ap[3]; };
17250 struct s *b; b->j = 5;
17252 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17253 const int foo = 10;
17254 if (!foo) return 0;
17256 return !cs[0] && !zero.x;
17263 if ac_fn_c_try_compile "$LINENO"; then :
17268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17271 $as_echo "$ac_cv_c_const" >&6; }
17272 if test $ac_cv_c_const = no; then
17274 $as_echo "#define const /**/" >>confdefs.h
17278 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17279 if test "x$ac_cv_type_size_t" = x""yes; then :
17283 cat >>confdefs.h <<_ACEOF
17284 #define size_t unsigned int
17289 ac_header_dirent=no
17290 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
17291 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
17293 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
17294 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
17295 $as_echo_n "(cached) " >&6
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 #include <sys/types.h>
17311 if ac_fn_c_try_compile "$LINENO"; then :
17312 eval "$as_ac_Header=yes"
17314 eval "$as_ac_Header=no"
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17318 eval ac_res=\$$as_ac_Header
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17320 $as_echo "$ac_res" >&6; }
17321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17322 cat >>confdefs.h <<_ACEOF
17323 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
17326 ac_header_dirent=$ac_hdr; break
17330 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
17331 if test $ac_header_dirent = dirent.h; then
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
17333 $as_echo_n "checking for library containing opendir... " >&6; }
17334 if test "${ac_cv_search_opendir+set}" = set; then :
17335 $as_echo_n "(cached) " >&6
17337 ac_func_search_save_LIBS=$LIBS
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17341 /* Override any GCC internal prototype to avoid an error.
17342 Use char because int might match the return type of a GCC
17343 builtin and then its argument prototype would still apply. */
17356 for ac_lib in '' dir; do
17357 if test -z "$ac_lib"; then
17358 ac_res="none required"
17361 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17363 if ac_fn_c_try_link "$LINENO"; then :
17364 ac_cv_search_opendir=$ac_res
17366 rm -f core conftest.err conftest.$ac_objext \
17368 if test "${ac_cv_search_opendir+set}" = set; then :
17372 if test "${ac_cv_search_opendir+set}" = set; then :
17375 ac_cv_search_opendir=no
17377 rm conftest.$ac_ext
17378 LIBS=$ac_func_search_save_LIBS
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
17381 $as_echo "$ac_cv_search_opendir" >&6; }
17382 ac_res=$ac_cv_search_opendir
17383 if test "$ac_res" != no; then :
17384 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
17390 $as_echo_n "checking for library containing opendir... " >&6; }
17391 if test "${ac_cv_search_opendir+set}" = set; then :
17392 $as_echo_n "(cached) " >&6
17394 ac_func_search_save_LIBS=$LIBS
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17398 /* Override any GCC internal prototype to avoid an error.
17399 Use char because int might match the return type of a GCC
17400 builtin and then its argument prototype would still apply. */
17413 for ac_lib in '' x; do
17414 if test -z "$ac_lib"; then
17415 ac_res="none required"
17418 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17420 if ac_fn_c_try_link "$LINENO"; then :
17421 ac_cv_search_opendir=$ac_res
17423 rm -f core conftest.err conftest.$ac_objext \
17425 if test "${ac_cv_search_opendir+set}" = set; then :
17429 if test "${ac_cv_search_opendir+set}" = set; then :
17432 ac_cv_search_opendir=no
17434 rm conftest.$ac_ext
17435 LIBS=$ac_func_search_save_LIBS
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
17438 $as_echo "$ac_cv_search_opendir" >&6; }
17439 ac_res=$ac_cv_search_opendir
17440 if test "$ac_res" != no; then :
17441 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17448 # Checks for library functions.
17449 for ac_func in strchr strdup strstr
17451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17454 cat >>confdefs.h <<_ACEOF
17455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17461 # The cast to long int works around a bug in the HP C Compiler
17462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17464 # This bug is HP SR number 8606223364.
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
17466 $as_echo_n "checking size of time_t... " >&6; }
17467 if test "${ac_cv_sizeof_time_t+set}" = set; then :
17468 $as_echo_n "(cached) " >&6
17470 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
17473 if test "$ac_cv_type_time_t" = yes; then
17474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17476 as_fn_error 77 "cannot compute sizeof (time_t)
17477 See \`config.log' for more details" "$LINENO" 5 ; }
17479 ac_cv_sizeof_time_t=0
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
17485 $as_echo "$ac_cv_sizeof_time_t" >&6; }
17489 cat >>confdefs.h <<_ACEOF
17490 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
17495 # checks for pthreads
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17506 # We used to check for pthread.h first, but this fails if pthread.h
17507 # requires special compiler flags (e.g. on True64 or Sequent).
17508 # It gets checked for in the link test anyway.
17510 # First of all, check if the user has set any of the PTHREAD_LIBS,
17511 # etcetera environment variables, and if threads linking works using
17513 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17514 save_CFLAGS="$CFLAGS"
17515 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17517 LIBS="$PTHREAD_LIBS $LIBS"
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17519 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17523 /* Override any GCC internal prototype to avoid an error.
17524 Use char because int might match the return type of a GCC
17525 builtin and then its argument prototype would still apply. */
17529 char pthread_join ();
17533 return pthread_join ();
17538 if ac_fn_c_try_link "$LINENO"; then :
17541 rm -f core conftest.err conftest.$ac_objext \
17542 conftest$ac_exeext conftest.$ac_ext
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17544 $as_echo "$acx_pthread_ok" >&6; }
17545 if test x"$acx_pthread_ok" = xno; then
17550 CFLAGS="$save_CFLAGS"
17553 # We must check for the threads library under a number of different
17554 # names; the ordering is very important because some systems
17555 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17556 # libraries is broken (non-POSIX).
17558 # Create a list of thread flags to try. Items starting with a "-" are
17559 # C compiler flags, and other items are library names, except for "none"
17560 # which indicates that we try without any flags at all, and "pthread-config"
17561 # which is a program returning the flags for the Pth emulation library.
17563 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17565 # The ordering *is* (sometimes) important. Some notes on the
17566 # individual items follow:
17568 # pthreads: AIX (must check this before -lpthread)
17569 # none: in case threads are in libc; should be tried before -Kthread and
17570 # other compiler flags to prevent continual compiler warnings
17571 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17572 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17573 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17574 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17575 # -pthreads: Solaris/gcc
17576 # -mthreads: Mingw32/gcc, Lynx/gcc
17577 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17578 # doesn't hurt to check since this sometimes defines pthreads too;
17579 # also defines -D_REENTRANT)
17580 # ... -mt is also the pthreads flag for HP/aCC
17581 # pthread: Linux, etcetera
17582 # --thread-safe: KAI C++
17583 # pthread-config: use pthread-config program (for GNU Pth library)
17585 case "${host_cpu}-${host_os}" in
17588 # On Solaris (at least, for some versions), libc contains stubbed
17589 # (non-functional) versions of the pthreads routines, so link-based
17590 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17591 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17592 # a function called by this macro, so we could check for that, but
17593 # who knows whether they'll stub that too in a future libc.) So,
17594 # we'll just look for -pthreads and -lpthread first:
17596 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17600 if test x"$acx_pthread_ok" = xno; then
17601 for flag in $acx_pthread_flags; do
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17606 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17611 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17612 PTHREAD_CFLAGS="$flag"
17616 # Extract the first word of "pthread-config", so it can be a program name with args.
17617 set dummy pthread-config; ac_word=$2
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17619 $as_echo_n "checking for $ac_word... " >&6; }
17620 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
17621 $as_echo_n "(cached) " >&6
17623 if test -n "$acx_pthread_config"; then
17624 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17627 for as_dir in $PATH
17630 test -z "$as_dir" && as_dir=.
17631 for ac_exec_ext in '' $ac_executable_extensions; do
17632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17633 ac_cv_prog_acx_pthread_config="yes"
17634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17641 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17644 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17645 if test -n "$acx_pthread_config"; then
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17647 $as_echo "$acx_pthread_config" >&6; }
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17650 $as_echo "no" >&6; }
17654 if test x"$acx_pthread_config" = xno; then continue; fi
17655 PTHREAD_CFLAGS="`pthread-config --cflags`"
17656 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17661 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17662 PTHREAD_LIBS="-l$flag"
17667 save_CFLAGS="$CFLAGS"
17668 LIBS="$PTHREAD_LIBS $LIBS"
17669 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17671 # Check for various functions. We must include pthread.h,
17672 # since some functions may be macros. (On the Sequent, we
17673 # need a special flag -Kthread to make this header compile.)
17674 # We check for pthread_join because it is in -lpthread on IRIX
17675 # while pthread_create is in libc. We check for pthread_attr_init
17676 # due to DEC craziness with -lpthreads. We check for
17677 # pthread_cleanup_push because it is one of the few pthread
17678 # functions on Solaris that doesn't have a non-functional libc stub.
17679 # We try pthread_create on general principles.
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 #include <pthread.h>
17686 pthread_t th; pthread_join(th, 0);
17687 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17688 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17693 if ac_fn_c_try_link "$LINENO"; then :
17696 rm -f core conftest.err conftest.$ac_objext \
17697 conftest$ac_exeext conftest.$ac_ext
17700 CFLAGS="$save_CFLAGS"
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17703 $as_echo "$acx_pthread_ok" >&6; }
17704 if test "x$acx_pthread_ok" = xyes; then
17713 # Various other checks:
17714 if test "x$acx_pthread_ok" = xyes; then
17716 LIBS="$PTHREAD_LIBS $LIBS"
17717 save_CFLAGS="$CFLAGS"
17718 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17720 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17722 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17724 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17727 #include <pthread.h>
17731 int attr=$attr; return attr;
17736 if ac_fn_c_try_link "$LINENO"; then :
17737 attr_name=$attr; break
17739 rm -f core conftest.err conftest.$ac_objext \
17740 conftest$ac_exeext conftest.$ac_ext
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17743 $as_echo "$attr_name" >&6; }
17744 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17746 cat >>confdefs.h <<_ACEOF
17747 #define PTHREAD_CREATE_JOINABLE $attr_name
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17753 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17755 case "${host_cpu}-${host_os}" in
17756 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
17757 *-osf* | *-hpux*) flag="-D_REENTRANT";;
17759 if test "$GCC" = "yes"; then
17760 flag="-D_REENTRANT"
17762 flag="-mt -D_REENTRANT"
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17767 $as_echo "${flag}" >&6; }
17768 if test "x$flag" != xno; then
17769 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17773 CFLAGS="$save_CFLAGS"
17775 # More AIX lossage: must compile with xlc_r or cc_r
17776 if test x"$GCC" != xyes; then
17777 for ac_prog in xlc_r cc_r
17779 # Extract the first word of "$ac_prog", so it can be a program name with args.
17780 set dummy $ac_prog; ac_word=$2
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17782 $as_echo_n "checking for $ac_word... " >&6; }
17783 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
17784 $as_echo_n "(cached) " >&6
17786 if test -n "$PTHREAD_CC"; then
17787 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17790 for as_dir in $PATH
17793 test -z "$as_dir" && as_dir=.
17794 for ac_exec_ext in '' $ac_executable_extensions; do
17795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17796 ac_cv_prog_PTHREAD_CC="$ac_prog"
17797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17806 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17807 if test -n "$PTHREAD_CC"; then
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17809 $as_echo "$PTHREAD_CC" >&6; }
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17812 $as_echo "no" >&6; }
17816 test -n "$PTHREAD_CC" && break
17818 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17831 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17832 if test x"$acx_pthread_ok" = xyes; then
17833 enable_threads="pthread"
17837 enable_threads="no"
17840 ac_cpp='$CPP $CPPFLAGS'
17841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17846 if test $enable_threads != "pthread"; then
17847 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
17850 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17852 LIBS="$PTHREAD_LIBS $LIBS"
17853 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
17854 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
17859 # Check whether --with-zlib was given.
17860 if test "${with_zlib+set}" = set; then :
17861 withval=$with_zlib;
17862 if test -d "$withval" ; then
17863 CPPFLAGS="${CPPFLAGS} -I$withval/include"
17864 LDFLAGS="${LDFLAGS} -L$withval/lib"
17872 # Check whether --with-zlib was given.
17873 if test "${with_zlib+set}" = set; then :
17874 withval=$with_zlib;
17879 if test x_$with_zlib != x_/usr; then
17880 CPPFLAGS="-I${with_zlib}/include $CPPFLAGS"
17881 LIBS="-L${with_zlib}/lib -lz $LIBS"
17886 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
17887 if test "x$ac_cv_header_zlib_h" = x""yes; then :
17890 as_fn_error $? "unable to find zlib header files" "$LINENO" 5
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17905 if ac_fn_c_try_link "$LINENO"; then :
17908 as_fn_error $? "unable to link with zlib" "$LINENO" 5
17910 rm -f core conftest.err conftest.$ac_objext \
17911 conftest$ac_exeext conftest.$ac_ext
17916 # Check whether --with-openssl was given.
17917 if test "${with_openssl+set}" = set; then :
17918 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
17919 SSLFLAGS="-I${with_openssl}/include"
17924 if test "x$with_openssl" = "x" ; then
17925 # Extract the first word of "pkg-config", so it can be a program name with args.
17926 set dummy pkg-config; ac_word=$2
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17928 $as_echo_n "checking for $ac_word... " >&6; }
17929 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17930 $as_echo_n "(cached) " >&6
17932 case $PKG_CONFIG in
17934 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17938 for as_dir in $PATH
17941 test -z "$as_dir" && as_dir=.
17942 for ac_exec_ext in '' $ac_executable_extensions; do
17943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17944 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17955 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17956 if test -n "$PKG_CONFIG"; then
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17958 $as_echo "$PKG_CONFIG" >&6; }
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17961 $as_echo "no" >&6; }
17965 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
17966 if pkg-config openssl ; then
17967 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
17970 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
17976 $as_echo_n "checking for OpenSSL cflags... " >&6; }
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
17978 $as_echo "$SSLFLAGS" >&6; }
17979 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
17981 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
17982 if test "x$ac_cv_header_openssl_x509_h" = x""yes; then :
17985 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
17991 ac_cpp='$CXXCPP $CPPFLAGS'
17992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17999 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18000 if test "${ac_cv_cxx_namespaces+set}" = set; then :
18001 $as_echo_n "(cached) " >&6
18005 ac_cpp='$CXXCPP $CPPFLAGS'
18006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18012 namespace Outer { namespace Inner { int i = 0; }}
18016 using namespace Outer::Inner; return i;
18021 if ac_fn_cxx_try_compile "$LINENO"; then :
18022 ac_cv_cxx_namespaces=yes
18024 ac_cv_cxx_namespaces=no
18026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 ac_cpp='$CXXCPP $CPPFLAGS'
18029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18036 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18037 if test "$ac_cv_cxx_namespaces" = yes; then
18039 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18044 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18045 if test "${ac_cv_cxx_have_stl+set}" = set; then :
18046 $as_echo_n "(cached) " >&6
18050 ac_cpp='$CXXCPP $CPPFLAGS'
18051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h. */
18059 #ifdef HAVE_NAMESPACES
18060 using namespace std;
18065 list<int> x; x.push_back(5);
18066 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18071 if ac_fn_cxx_try_compile "$LINENO"; then :
18072 ac_cv_cxx_have_stl=yes
18074 ac_cv_cxx_have_stl=no
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078 ac_cpp='$CXXCPP $CPPFLAGS'
18079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18086 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18087 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18088 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18094 echo "$as_me: this is boost.m4 serial 16" >&5
18095 boost_save_IFS=$IFS
18098 set x $boost_version_req 0 0 0
18099 IFS=$boost_save_IFS
18101 boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
18102 boost_version_req_string=$1.$2.$3
18104 # Check whether --with-boost was given.
18105 if test "${with_boost+set}" = set; then :
18106 withval=$with_boost;
18108 # If BOOST_ROOT is set and the user has not provided a value to
18109 # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
18110 if test x"$BOOST_ROOT" != x; then
18111 if test x"$with_boost" = x; then
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
18113 $as_echo "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
18114 with_boost=$BOOST_ROOT
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
18117 $as_echo "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
18120 DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
18121 boost_save_CPPFLAGS=$CPPFLAGS
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
18123 $as_echo_n "checking for Boost headers version >= $boost_version_req_string... " >&6; }
18124 if test "${boost_cv_inc_path+set}" = set; then :
18125 $as_echo_n "(cached) " >&6
18127 boost_cv_inc_path=no
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18135 #include <boost/version.hpp>
18136 #if !defined BOOST_VERSION
18137 # error BOOST_VERSION is not defined
18138 #elif BOOST_VERSION < $boost_version_req
18139 # error Boost headers version < $boost_version_req
18150 # If the user provided a value to --with-boost, use it and only it.
18151 case $with_boost in #(
18152 ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
18153 /usr/include C:/Boost/include;; #(
18154 *) set x "$with_boost/include" "$with_boost";;
18159 # Without --layout=system, Boost (or at least some versions) installs
18160 # itself in <prefix>/include/boost-<version>. This inner loop helps to
18161 # find headers in such directories.
18163 # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
18164 # order followed by ${boost_dir}. The final '.' is a sentinel for
18165 # searching $boost_dir" itself. Entries are whitespace separated.
18167 # I didn't indent this loop on purpose (to avoid over-indented code)
18168 boost_layout_system_search_list=`cd "$boost_dir" 2>/dev/null \
18169 && ls -1 | "${GREP}" '^boost-' | sort -rn -t- -k2 \
18171 for boost_inc in $boost_layout_system_search_list
18173 if test x"$boost_inc" != x.; then
18174 boost_inc="$boost_dir/$boost_inc"
18176 boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
18178 if test x"$boost_inc" != x; then
18179 # We are going to check whether the version of Boost installed
18180 # in $boost_inc is usable by running a compilation that
18181 # #includes it. But if we pass a -I/some/path in which Boost
18182 # is not installed, the compiler will just skip this -I and
18183 # use other locations (either from CPPFLAGS, or from its list
18184 # of system include directories). As a result we would use
18185 # header installed on the machine instead of the /some/path
18186 # specified by the user. So in that precise case (trying
18187 # $boost_inc), make sure the version.hpp exists.
18189 # Use test -e as there can be symlinks.
18190 test -e "$boost_inc/boost/version.hpp" || continue
18191 CPPFLAGS="$CPPFLAGS -I$boost_inc"
18193 if ac_fn_cxx_try_compile "$LINENO"; then :
18194 boost_cv_inc_path=yes
18196 boost_cv_version=no
18198 rm -f core conftest.err conftest.$ac_objext
18199 if test x"$boost_cv_inc_path" = xyes; then
18200 if test x"$boost_inc" != x; then
18201 boost_cv_inc_path=$boost_inc
18208 ac_cpp='$CXXCPP $CPPFLAGS'
18209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
18215 $as_echo "$boost_cv_inc_path" >&6; }
18216 case $boost_cv_inc_path in #(
18218 boost_errmsg="cannot find Boost headers version >= $boost_version_req_string"
18219 as_fn_error $? "$boost_errmsg" "$LINENO" 5
18226 BOOST_CPPFLAGS="-I$boost_cv_inc_path"
18229 if test x"$boost_cv_inc_path" != xno; then
18231 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
18234 $as_echo_n "checking for Boost's header version... " >&6; }
18235 if test "${boost_cv_lib_version+set}" = set; then :
18236 $as_echo_n "(cached) " >&6
18238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18239 /* end confdefs.h. */
18240 #include <boost/version.hpp>
18241 boost_lib_version = BOOST_LIB_VERSION
18243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18245 $SED -n -e "/^boost_lib_version = /{s///;s/\"//g;p;q;}" >conftest.i 2>&1; then :
18246 boost_cv_lib_version=`cat conftest.i`
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
18252 $as_echo "$boost_cv_lib_version" >&6; }
18253 # e.g. "134" for 1_34_1 or "135" for 1_35
18254 boost_major_version=`echo "$boost_cv_lib_version" | $SED 's/_//;s/_.*//;s/ //'`
18255 case $boost_major_version in #(
18257 as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5
18261 CPPFLAGS=$boost_save_CPPFLAGS
18263 if test x"$boost_cv_inc_path" = xno; then
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/bind.hpp" >&5
18265 $as_echo "$as_me: Boost not available, not searching for boost/bind.hpp" >&6;}
18268 ac_cpp='$CXXCPP $CPPFLAGS'
18269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18272 boost_save_CPPFLAGS=$CPPFLAGS
18273 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18274 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/bind.hpp" "ac_cv_header_boost_bind_hpp" "$ac_includes_default"
18275 if test "x$ac_cv_header_boost_bind_hpp" = x""yes; then :
18277 $as_echo "#define HAVE_BOOST_BIND_HPP 1" >>confdefs.h
18280 as_fn_error $? "cannot find boost/bind.hpp" "$LINENO" 5
18284 CPPFLAGS=$boost_save_CPPFLAGS
18286 ac_cpp='$CXXCPP $CPPFLAGS'
18287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18293 if test x"$boost_cv_inc_path" = xno; then
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/lambda/lambda.hpp" >&5
18295 $as_echo "$as_me: Boost not available, not searching for boost/lambda/lambda.hpp" >&6;}
18298 ac_cpp='$CXXCPP $CPPFLAGS'
18299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18302 boost_save_CPPFLAGS=$CPPFLAGS
18303 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18304 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/lambda/lambda.hpp" "ac_cv_header_boost_lambda_lambda_hpp" "$ac_includes_default"
18305 if test "x$ac_cv_header_boost_lambda_lambda_hpp" = x""yes; then :
18307 $as_echo "#define HAVE_BOOST_LAMBDA_LAMBDA_HPP 1" >>confdefs.h
18310 as_fn_error $? "cannot find boost/lambda/lambda.hpp" "$LINENO" 5
18314 CPPFLAGS=$boost_save_CPPFLAGS
18316 ac_cpp='$CXXCPP $CPPFLAGS'
18317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18323 if test x"$boost_cv_inc_path" = xno; then
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_vector.hpp" >&5
18325 $as_echo "$as_me: Boost not available, not searching for boost/ptr_container/ptr_vector.hpp" >&6;}
18328 ac_cpp='$CXXCPP $CPPFLAGS'
18329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18332 boost_save_CPPFLAGS=$CPPFLAGS
18333 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18334 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/ptr_container/ptr_vector.hpp" "ac_cv_header_boost_ptr_container_ptr_vector_hpp" "$ac_includes_default"
18335 if test "x$ac_cv_header_boost_ptr_container_ptr_vector_hpp" = x""yes; then :
18337 $as_echo "#define HAVE_BOOST_PTR_CONTAINER_PTR_VECTOR_HPP 1" >>confdefs.h
18340 as_fn_error $? "cannot find boost/ptr_container/ptr_vector.hpp" "$LINENO" 5
18344 CPPFLAGS=$boost_save_CPPFLAGS
18346 ac_cpp='$CXXCPP $CPPFLAGS'
18347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18353 if test x"$boost_cv_inc_path" = xno; then
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/scoped_ptr.hpp" >&5
18355 $as_echo "$as_me: Boost not available, not searching for boost/scoped_ptr.hpp" >&6;}
18358 ac_cpp='$CXXCPP $CPPFLAGS'
18359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18362 boost_save_CPPFLAGS=$CPPFLAGS
18363 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18364 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/scoped_ptr.hpp" "ac_cv_header_boost_scoped_ptr_hpp" "$ac_includes_default"
18365 if test "x$ac_cv_header_boost_scoped_ptr_hpp" = x""yes; then :
18367 $as_echo "#define HAVE_BOOST_SCOPED_PTR_HPP 1" >>confdefs.h
18370 as_fn_error $? "cannot find boost/scoped_ptr.hpp" "$LINENO" 5
18374 CPPFLAGS=$boost_save_CPPFLAGS
18376 ac_cpp='$CXXCPP $CPPFLAGS'
18377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18382 if test x"$boost_cv_inc_path" = xno; then
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/shared_ptr.hpp" >&5
18384 $as_echo "$as_me: Boost not available, not searching for boost/shared_ptr.hpp" >&6;}
18387 ac_cpp='$CXXCPP $CPPFLAGS'
18388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18391 boost_save_CPPFLAGS=$CPPFLAGS
18392 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18393 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
18394 if test "x$ac_cv_header_boost_shared_ptr_hpp" = x""yes; then :
18396 $as_echo "#define HAVE_BOOST_SHARED_PTR_HPP 1" >>confdefs.h
18399 as_fn_error $? "cannot find boost/shared_ptr.hpp" "$LINENO" 5
18403 CPPFLAGS=$boost_save_CPPFLAGS
18405 ac_cpp='$CXXCPP $CPPFLAGS'
18406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18413 if test x"$boost_cv_inc_path" = xno; then
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/algorithm/string.hpp" >&5
18415 $as_echo "$as_me: Boost not available, not searching for boost/algorithm/string.hpp" >&6;}
18418 ac_cpp='$CXXCPP $CPPFLAGS'
18419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18422 boost_save_CPPFLAGS=$CPPFLAGS
18423 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18424 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/algorithm/string.hpp" "ac_cv_header_boost_algorithm_string_hpp" "$ac_includes_default"
18425 if test "x$ac_cv_header_boost_algorithm_string_hpp" = x""yes; then :
18427 $as_echo "#define HAVE_BOOST_ALGORITHM_STRING_HPP 1" >>confdefs.h
18430 as_fn_error $? "cannot find boost/algorithm/string.hpp" "$LINENO" 5
18434 CPPFLAGS=$boost_save_CPPFLAGS
18436 ac_cpp='$CXXCPP $CPPFLAGS'
18437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18444 CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS"
18446 # log4shib settings (favor this version over the log4cpp code)
18447 # Extract the first word of "log4shib-config", so it can be a program name with args.
18448 set dummy log4shib-config; ac_word=$2
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18450 $as_echo_n "checking for $ac_word... " >&6; }
18451 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
18452 $as_echo_n "(cached) " >&6
18454 case $LOG4SHIB_CONFIG in
18456 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18460 for as_dir in $PATH
18463 test -z "$as_dir" && as_dir=.
18464 for ac_exec_ext in '' $ac_executable_extensions; do
18465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18466 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18477 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18478 if test -n "$LOG4SHIB_CONFIG"; then
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18480 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18483 $as_echo "no" >&6; }
18488 # Check whether --with-log4shib was given.
18489 if test "${with_log4shib+set}" = set; then :
18490 withval=$with_log4shib;
18491 LOG4SHIB_CONFIG="${with_log4shib}"
18492 if ! test -f "${LOG4SHIB_CONFIG}"; then
18493 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18498 if test -f "${LOG4SHIB_CONFIG}" ; then
18499 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18500 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18501 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18502 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
18505 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18511 #include <log4shib/Category.hh>
18512 #include <log4shib/CategoryStream.hh>
18516 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18521 if ac_fn_cxx_try_link "$LINENO"; then :
18523 $as_echo "#define OPENSAML_LOG4SHIB 1" >>confdefs.h
18526 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18528 rm -f core conftest.err conftest.$ac_objext \
18529 conftest$ac_exeext conftest.$ac_ext
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18532 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18534 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18537 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18538 set dummy log4cpp-config; ac_word=$2
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18540 $as_echo_n "checking for $ac_word... " >&6; }
18541 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18544 case $LOG4CPP_CONFIG in
18546 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18550 for as_dir in $PATH
18553 test -z "$as_dir" && as_dir=.
18554 for ac_exec_ext in '' $ac_executable_extensions; do
18555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18556 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18567 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18568 if test -n "$LOG4CPP_CONFIG"; then
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18570 $as_echo "$LOG4CPP_CONFIG" >&6; }
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18573 $as_echo "no" >&6; }
18578 # Check whether --with-log4cpp was given.
18579 if test "${with_log4cpp+set}" = set; then :
18580 withval=$with_log4cpp;
18581 LOG4CPP_CONFIG="${with_log4cpp}"
18582 if ! test -f "${LOG4CPP_CONFIG}"; then
18583 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18588 if test -f "${LOG4CPP_CONFIG}"; then
18589 { $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
18590 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18591 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18592 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18593 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18594 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18597 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h. */
18603 #include <log4cpp/Category.hh>
18604 #include <log4cpp/CategoryStream.hh>
18608 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18613 if ac_fn_cxx_try_link "$LINENO"; then :
18615 $as_echo "#define OPENSAML_LOG4CPP 1" >>confdefs.h
18618 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18620 rm -f core conftest.err conftest.$ac_objext \
18621 conftest$ac_exeext conftest.$ac_ext
18623 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18629 # Check whether --with-xerces was given.
18630 if test "${with_xerces+set}" = set; then :
18631 withval=$with_xerces;
18636 if test x_$with_xerces != x_/usr; then
18637 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18638 LIBS="-L${with_xerces}/lib -lxerces-c $LIBS"
18640 LIBS="-lxerces-c $LIBS"
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18644 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18647 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18652 $as_echo_n "checking Xerces version... " >&6; }
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 #include <xercesc/util/XercesVersion.hpp>
18659 #if _XERCES_VERSION != 20600
18662 #error cannot use version 2.6.0
18668 if ac_fn_cxx_try_cpp "$LINENO"; then :
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18670 $as_echo "OK" >&6; }
18672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18674 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18675 See \`config.log' for more details" "$LINENO" 5 ; }
18677 rm -f conftest.err conftest.i conftest.$ac_ext
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18680 #include <xercesc/util/PlatformUtils.hpp>
18684 xercesc::XMLPlatformUtils::Initialize()
18689 if ac_fn_cxx_try_link "$LINENO"; then :
18692 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18694 rm -f core conftest.err conftest.$ac_objext \
18695 conftest$ac_exeext conftest.$ac_ext
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18698 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 #include <xercesc/util/XMLString.hpp>
18705 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18710 if ac_fn_cxx_try_compile "$LINENO"; then :
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18712 $as_echo "yes" >&6; }
18713 $as_echo "#define OPENSAML_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18717 $as_echo "no" >&6; }
18719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18721 # XML-Security settings
18723 # Check whether --with-xmlsec was given.
18724 if test "${with_xmlsec+set}" = set; then :
18725 withval=$with_xmlsec;
18730 if test x_$with_xmlsec != x_/usr; then
18731 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18732 LIBS="-L${with_xmlsec}/lib -lxml-security-c $LIBS"
18734 LIBS="-lxml-security-c $LIBS"
18736 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18737 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18740 as_fn_error $? "unable to find xmlsec header files" "$LINENO" 5
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18745 $as_echo_n "checking XML-Security version... " >&6; }
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 #include <xsec/utils/XSECPlatformUtils.hpp>
18752 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18755 #error need version 1.4.0 or later
18761 if ac_fn_cxx_try_cpp "$LINENO"; then :
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18763 $as_echo "OK" >&6; }
18765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18767 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18768 See \`config.log' for more details" "$LINENO" 5 ; }
18770 rm -f conftest.err conftest.i conftest.$ac_ext
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 #include <xsec/utils/XSECPlatformUtils.hpp>
18777 XSECPlatformUtils::Initialise()
18782 if ac_fn_cxx_try_link "$LINENO"; then :
18785 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18787 rm -f core conftest.err conftest.$ac_objext \
18788 conftest$ac_exeext conftest.$ac_ext
18790 # XML-Tooling settings
18792 # Check whether --with-xmltooling was given.
18793 if test "${with_xmltooling+set}" = set; then :
18794 withval=$with_xmltooling;
18796 with_xmltooling=/usr
18799 if test x_$with_xmltooling != x_/usr; then
18800 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18801 DX_INCLUDE="${with_xmltooling}/include"
18802 LIBS="-L${with_xmltooling}/lib -lxmltooling $LIBS"
18804 LIBS="-lxmltooling $LIBS"
18807 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/XMLToolingConfig.h" "ac_cv_header_xmltooling_XMLToolingConfig_h" "$ac_includes_default"
18808 if test "x$ac_cv_header_xmltooling_XMLToolingConfig_h" = x""yes; then :
18811 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18818 #include <xmltooling/XMLToolingConfig.h>
18819 #include <xmltooling/version.h>
18823 #if _XMLTOOLING_VERSION >= 10400
18824 xmltooling::XMLToolingConfig::getConfig();
18826 #error Need XMLTooling version 1.4 or higher
18832 if ac_fn_cxx_try_link "$LINENO"; then :
18835 as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
18837 rm -f core conftest.err conftest.$ac_objext \
18838 conftest$ac_exeext conftest.$ac_ext
18840 # Check for unit test support
18841 CXXTEST="/usr/bin/cxxtestgen.pl"
18844 # Check whether --with-cxxtest was given.
18845 if test "${with_cxxtest+set}" = set; then :
18846 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18847 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18848 CXXTESTFLAGS="-I${with_cxxtest}"
18852 if ! test -f "${CXXTEST}"; then
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18854 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18859 if test -f ${CXXTEST}; then
18860 BUILD_UNITTEST_TRUE=
18861 BUILD_UNITTEST_FALSE='#'
18863 BUILD_UNITTEST_TRUE='#'
18864 BUILD_UNITTEST_FALSE=
18869 # we need the expanded forms...
18870 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18871 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18874 $as_echo_n "checking our pkgconfig libname... " >&6; }
18875 test ".$ax_create_pkgconfig_libname" != "." || \
18876 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18877 test ".$ax_create_pkgconfig_libname" != "." || \
18878 ax_create_pkgconfig_libname="$PACKAGE"
18879 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18880 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18882 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18885 $as_echo_n "checking our pkgconfig version... " >&6; }
18886 test ".$ax_create_pkgconfig_version" != "." || \
18887 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18888 test ".$ax_create_pkgconfig_version" != "." || \
18889 ax_create_pkgconfig_version="$VERSION"
18890 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18891 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18893 $as_echo "$ax_create_pkgconfig_version" >&6; }
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18896 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18897 test ".$pkgconfig_libdir" = "." && \
18898 pkgconfig_libdir='${libdir}/pkgconfig'
18899 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18900 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18901 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18903 $as_echo "$pkgconfig_libdir" >&6; }
18904 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18906 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
18910 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
18911 test ".$pkgconfig_libfile" != "." || \
18912 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
18913 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
18914 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
18916 $as_echo "$pkgconfig_libfile" >&6; }
18917 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
18919 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
18923 $as_echo_n "checking our package / suffix... " >&6; }
18924 ax_create_pkgconfig_suffix="$program_suffix"
18925 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
18927 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
18930 $as_echo_n "checking our pkgconfig description... " >&6; }
18931 ax_create_pkgconfig_description="OpenSAML library"
18932 test ".$ax_create_pkgconfig_description" != "." || \
18933 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
18934 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
18935 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
18937 $as_echo "$ax_create_pkgconfig_description" >&6; }
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
18940 $as_echo_n "checking our pkgconfig requires... " >&6; }
18941 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
18942 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
18943 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
18945 $as_echo "$ax_create_pkgconfig_requires" >&6; }
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
18948 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
18949 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
18950 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
18951 ax_create_pkgconfig_libs="$LIBS -lsaml"
18952 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
18953 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
18955 $as_echo "$ax_create_pkgconfig_libs" >&6; }
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
18958 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
18959 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
18960 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
18961 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
18963 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
18966 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
18967 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
18968 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
18969 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
18971 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
18973 test ".$ax_create_pkgconfig_generate" != "." || \
18974 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
18975 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
18976 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
18977 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
18979 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
18981 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
18982 ax_create_pkgconfig_src_libdir=`pwd`
18983 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
18984 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18985 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
18986 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
18987 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
18988 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
18989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18993 /^X\(\/\/\)[^/].*/{
19006 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19007 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19009 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19011 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19014 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19015 ax_create_pkgconfig_src_headers=`pwd`
19016 v="$ac_top_srcdir" ;
19017 test ".$v" != "." || v="$ax_spec_dir"
19018 test ".$v" != "." || v="$srcdir"
19019 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19020 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19021 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19022 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19023 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19024 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19025 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19030 /^X\(\/\/\)[^/].*/{
19043 test ! -d $ax_create_pkgconfig_src_headers/include || \
19044 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19046 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19050 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19054 LIBTOOL="$LIBTOOL --silent"
19056 # output packaging and makefiles
19057 cat >confcache <<\_ACEOF
19058 # This file is a shell script that caches the results of configure
19059 # tests run on this system so they can be shared between configure
19060 # scripts and configure runs, see configure's option --config-cache.
19061 # It is not useful on other systems. If it contains results you don't
19062 # want to keep, you may remove or edit it.
19064 # config.status only pays attention to the cache file if you give it
19065 # the --recheck option to rerun configure.
19067 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19068 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19069 # following values.
19073 # The following way of writing the cache mishandles newlines in values,
19074 # but we know of no workaround that is simple, portable, and efficient.
19075 # So, we kill variables containing newlines.
19076 # Ultrix sh set writes to stderr and can't be redirected directly,
19077 # and sets the high bit in the cache file unless we assign to the vars.
19079 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19080 eval ac_val=\$$ac_var
19084 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19085 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19088 _ | IFS | as_nl) ;; #(
19089 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19090 *) { eval $ac_var=; unset $ac_var;} ;;
19096 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19097 *${as_nl}ac_space=\ *)
19098 # `set' does not quote correctly, so add quotes: double-quote
19099 # substitution turns \\\\ into \\, and sed turns \\ into \.
19102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19105 # `set' quotes correctly as required by POSIX, so do not add quotes.
19106 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19115 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19117 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19119 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19120 if test -w "$cache_file"; then
19121 test "x$cache_file" != "x/dev/null" &&
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19123 $as_echo "$as_me: updating cache $cache_file" >&6;}
19124 cat confcache >$cache_file
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19127 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19132 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19133 # Let make expand exec_prefix.
19134 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19136 DEFS=-DHAVE_CONFIG_H
19141 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19142 # 1. Remove the extension, and $U if already installed.
19143 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19144 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19145 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19146 # will be set to the directory where LIBOBJS objects are built.
19147 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19148 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19150 LIBOBJS=$ac_libobjs
19152 LTLIBOBJS=$ac_ltlibobjs
19155 if test -n "$EXEEXT"; then
19157 am__EXEEXT_FALSE='#'
19159 am__EXEEXT_TRUE='#'
19163 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19164 as_fn_error $? "conditional \"AMDEP\" was never defined.
19165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19167 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19168 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19171 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19172 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19175 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19176 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19179 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19180 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19183 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19184 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19187 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19188 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19191 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19192 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19195 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19196 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19199 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19200 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19203 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19204 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19207 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19208 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19211 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19212 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19215 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19216 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19219 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19220 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19223 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19224 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19227 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19228 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19231 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19232 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19235 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19236 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19239 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19240 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19243 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19244 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19247 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19248 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19251 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19252 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19255 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19256 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19259 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19260 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19263 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19264 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19267 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19268 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19271 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19272 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19276 : ${CONFIG_STATUS=./config.status}
19278 ac_clean_files_save=$ac_clean_files
19279 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19281 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19283 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19285 # Generated by $as_me.
19286 # Run this file to recreate the current configuration.
19287 # Compiler output produced by configure, useful for debugging
19288 # configure, is in config.log if it exists.
19291 ac_cs_recheck=false
19294 SHELL=\${CONFIG_SHELL-$SHELL}
19297 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19298 ## -------------------- ##
19299 ## M4sh Initialization. ##
19300 ## -------------------- ##
19302 # Be more Bourne compatible
19303 DUALCASE=1; export DUALCASE # for MKS sh
19304 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19307 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19308 # is contrary to our usage. Disable this feature.
19309 alias -g '${1+"$@"}'='"$@"'
19310 setopt NO_GLOB_SUBST
19312 case `(set -o) 2>/dev/null` in #(
19324 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19325 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19326 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19327 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19328 # Prefer a ksh shell builtin over an external printf program on Solaris,
19329 # but without wasting forks for bash or zsh.
19330 if test -z "$BASH_VERSION$ZSH_VERSION" \
19331 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19332 as_echo='print -r --'
19333 as_echo_n='print -rn --'
19334 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19335 as_echo='printf %s\n'
19336 as_echo_n='printf %s'
19338 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19339 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19340 as_echo_n='/usr/ucb/echo -n'
19342 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19343 as_echo_n_body='eval
19347 expr "X$arg" : "X\\(.*\\)$as_nl";
19348 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19350 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19352 export as_echo_n_body
19353 as_echo_n='sh -c $as_echo_n_body as_echo'
19355 export as_echo_body
19356 as_echo='sh -c $as_echo_body as_echo'
19359 # The user is always right.
19360 if test "${PATH_SEPARATOR+set}" != set; then
19362 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19363 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19370 # We need space, tab and new line, in precisely that order. Quoting is
19371 # there to prevent editors from complaining about space-tab.
19372 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19373 # splitting by setting IFS to empty value.)
19376 # Find who we are. Look in the path if we contain no directory separator.
19378 *[\\/]* ) as_myself=$0 ;;
19379 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19380 for as_dir in $PATH
19383 test -z "$as_dir" && as_dir=.
19384 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19390 # We did not find ourselves, most probably we were run as `sh COMMAND'
19391 # in which case we are not to be found in the path.
19392 if test "x$as_myself" = x; then
19395 if test ! -f "$as_myself"; then
19396 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19400 # Unset variables that we do not need and which cause bugs (e.g. in
19401 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19402 # suppresses any "Segmentation fault" message there. '((' could
19403 # trigger a bug in pdksh 5.2.14.
19404 for as_var in BASH_ENV ENV MAIL MAILPATH
19405 do eval test x\${$as_var+set} = xset \
19406 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19419 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19423 # ----------------------------------------
19424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19426 # script with STATUS, using 1 if that was 0.
19429 as_status=$1; test $as_status -eq 0 && as_status=1
19431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19432 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19434 $as_echo "$as_me: error: $2" >&2
19435 as_fn_exit $as_status
19439 # as_fn_set_status STATUS
19440 # -----------------------
19441 # Set $? to STATUS, without forking.
19442 as_fn_set_status ()
19445 } # as_fn_set_status
19447 # as_fn_exit STATUS
19448 # -----------------
19449 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19453 as_fn_set_status $1
19459 # Portably unset VAR.
19462 { eval $1=; unset $1;}
19464 as_unset=as_fn_unset
19465 # as_fn_append VAR VALUE
19466 # ----------------------
19467 # Append the text in VALUE to the end of the definition contained in VAR. Take
19468 # advantage of any shell optimizations that allow amortized linear growth over
19469 # repeated appends, instead of the typical quadratic growth present in naive
19471 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19472 eval 'as_fn_append ()
19483 # as_fn_arith ARG...
19484 # ------------------
19485 # Perform arithmetic evaluation on the ARGs, and store the result in the
19486 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19487 # must be portable across $(()) and expr.
19488 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19489 eval 'as_fn_arith ()
19496 as_val=`expr "$@" || test $? -eq 1`
19501 if expr a : '\(a\)' >/dev/null 2>&1 &&
19502 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19508 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19509 as_basename=basename
19514 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19520 as_me=`$as_basename -- "$0" ||
19521 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19522 X"$0" : 'X\(//\)$' \| \
19523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19525 sed '/^.*\/\([^/][^/]*\)\/*$/{
19539 # Avoid depending upon Character Ranges.
19540 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19541 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19542 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19543 as_cr_digits='0123456789'
19544 as_cr_alnum=$as_cr_Letters$as_cr_digits
19546 ECHO_C= ECHO_N= ECHO_T=
19547 case `echo -n x` in #(((((
19549 case `echo 'xy\c'` in
19550 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19552 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19559 rm -f conf$$ conf$$.exe conf$$.file
19560 if test -d conf$$.dir; then
19561 rm -f conf$$.dir/conf$$.file
19564 mkdir conf$$.dir 2>/dev/null
19566 if (echo >conf$$.file) 2>/dev/null; then
19567 if ln -s conf$$.file conf$$ 2>/dev/null; then
19569 # ... but there are two gotchas:
19570 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19571 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19572 # In both cases, we have to default to `cp -p'.
19573 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19575 elif ln conf$$.file conf$$ 2>/dev/null; then
19583 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19584 rmdir conf$$.dir 2>/dev/null
19589 # Create "$as_dir" as a directory, including parents if necessary.
19594 -*) as_dir=./$as_dir;;
19596 test -d "$as_dir" || eval $as_mkdir_p || {
19600 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19601 *) as_qdir=$as_dir;;
19603 as_dirs="'$as_qdir' $as_dirs"
19604 as_dir=`$as_dirname -- "$as_dir" ||
19605 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19606 X"$as_dir" : 'X\(//\)[^/]' \| \
19607 X"$as_dir" : 'X\(//\)$' \| \
19608 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19609 $as_echo X"$as_dir" |
19610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19614 /^X\(\/\/\)[^/].*/{
19627 test -d "$as_dir" && break
19629 test -z "$as_dirs" || eval "mkdir $as_dirs"
19630 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19634 if mkdir -p . 2>/dev/null; then
19635 as_mkdir_p='mkdir -p "$as_dir"'
19637 test -d ./-p && rmdir ./-p
19641 if test -x / >/dev/null 2>&1; then
19642 as_test_x='test -x'
19644 if ls -dL / >/dev/null 2>&1; then
19651 if test -d "$1"; then
19657 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19658 ???[sx]*):;;*)false;;esac;fi
19662 as_executable_p=$as_test_x
19664 # Sed expression to map a string onto a valid CPP name.
19665 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19667 # Sed expression to map a string onto a valid variable name.
19668 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19672 ## ----------------------------------- ##
19673 ## Main body of $CONFIG_STATUS script. ##
19674 ## ----------------------------------- ##
19676 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19679 # Save the log message, to keep $0 and so on meaningful, and to
19680 # report actual input values of CONFIG_FILES etc. instead of their
19681 # values after options handling.
19683 This file was extended by opensaml $as_me 2.5.0, which was
19684 generated by GNU Autoconf 2.67. Invocation command line was
19686 CONFIG_FILES = $CONFIG_FILES
19687 CONFIG_HEADERS = $CONFIG_HEADERS
19688 CONFIG_LINKS = $CONFIG_LINKS
19689 CONFIG_COMMANDS = $CONFIG_COMMANDS
19692 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19697 case $ac_config_files in *"
19698 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19701 case $ac_config_headers in *"
19702 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19707 # Files that config.status was made for.
19708 config_files="$ac_config_files"
19709 config_headers="$ac_config_headers"
19710 config_commands="$ac_config_commands"
19714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19716 \`$as_me' instantiates files and other configuration actions
19717 from templates according to the current configuration. Unless the files
19718 and actions are specified as TAGs, all are instantiated by default.
19720 Usage: $0 [OPTION]... [TAG]...
19722 -h, --help print this help, then exit
19723 -V, --version print version number and configuration settings, then exit
19724 --config print configuration, then exit
19725 -q, --quiet, --silent
19726 do not print progress messages
19727 -d, --debug don't remove temporary files
19728 --recheck update $as_me by reconfiguring in the same conditions
19729 --file=FILE[:TEMPLATE]
19730 instantiate the configuration file FILE
19731 --header=FILE[:TEMPLATE]
19732 instantiate the configuration header FILE
19734 Configuration files:
19737 Configuration headers:
19740 Configuration commands:
19743 Report bugs to <https://issues.shibboleth.net/>."
19746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19747 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19749 opensaml config.status 2.5.0
19750 configured by $0, generated by GNU Autoconf 2.67,
19751 with options \\"\$ac_cs_config\\"
19753 Copyright (C) 2010 Free Software Foundation, Inc.
19754 This config.status script is free software; the Free Software Foundation
19755 gives unlimited permission to copy, distribute and modify it."
19762 test -n "\$AWK" || AWK=awk
19765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19766 # The default lists apply if the user does not specify any file.
19772 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19773 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19777 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19789 # Handling of the options.
19790 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19792 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19793 $as_echo "$ac_cs_version"; exit ;;
19794 --config | --confi | --conf | --con | --co | --c )
19795 $as_echo "$ac_cs_config"; exit ;;
19796 --debug | --debu | --deb | --de | --d | -d )
19798 --file | --fil | --fi | --f )
19801 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19802 '') as_fn_error $? "missing file argument" ;;
19804 as_fn_append CONFIG_FILES " '$ac_optarg'"
19805 ac_need_defaults=false;;
19806 --header | --heade | --head | --hea )
19809 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19811 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19812 ac_need_defaults=false;;
19814 # Conflict between --help and --header
19815 as_fn_error $? "ambiguous option: \`$1'
19816 Try \`$0 --help' for more information.";;
19817 --help | --hel | -h )
19818 $as_echo "$ac_cs_usage"; exit ;;
19819 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19820 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19823 # This is an error.
19824 -*) as_fn_error $? "unrecognized option: \`$1'
19825 Try \`$0 --help' for more information." ;;
19827 *) as_fn_append ac_config_targets " $1"
19828 ac_need_defaults=false ;;
19834 ac_configure_extra_args=
19836 if $ac_cs_silent; then
19838 ac_configure_extra_args="$ac_configure_extra_args --silent"
19842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19843 if \$ac_cs_recheck; then
19844 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19846 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19847 CONFIG_SHELL='$SHELL'
19848 export CONFIG_SHELL
19853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19857 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19858 ## Running $as_me. ##
19864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19868 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19871 # The HP-UX ksh and POSIX shell print the target directory to stdout
19872 # if CDPATH is set.
19873 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19875 sed_quote_subst='$sed_quote_subst'
19876 double_quote_subst='$double_quote_subst'
19877 delay_variable_subst='$delay_variable_subst'
19878 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19879 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19880 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19881 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19882 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19883 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19884 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19885 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19886 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19887 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19888 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19889 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19890 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19891 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19892 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19893 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19894 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19895 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19896 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19897 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19898 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19899 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19900 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19901 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19902 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19903 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19904 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19905 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19906 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19907 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19908 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19909 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19910 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19911 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19912 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19913 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19914 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19915 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19916 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19917 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19918 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19919 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19920 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19921 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19922 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"`'
19923 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"`'
19924 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19925 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19926 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19927 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19928 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19929 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19930 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19931 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19932 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19933 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19934 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19935 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19936 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19937 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19938 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19939 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19940 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19941 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19942 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19943 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19944 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19945 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19946 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19947 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19948 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19949 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19950 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19951 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19952 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19953 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19954 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19955 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19956 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19957 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19958 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19959 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19960 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19961 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19962 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19963 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19964 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19965 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19966 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19967 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19968 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19969 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19970 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19971 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19972 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19973 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19974 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19975 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19976 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19977 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19978 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19979 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19980 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19981 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19982 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19983 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19984 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19985 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19986 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19987 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19988 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19989 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19990 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19991 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19992 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19993 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19994 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19995 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19996 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19997 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19998 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19999 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20000 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20001 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20002 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20003 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20004 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20005 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20006 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20007 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20008 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20009 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20010 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20011 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20012 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20013 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20014 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20015 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20016 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20017 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20018 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20019 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20020 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20021 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20022 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20023 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20024 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20025 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20026 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20027 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20028 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20029 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20030 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20031 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20032 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20033 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20034 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20035 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20036 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20037 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20038 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20039 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20040 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20041 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20042 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20043 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20044 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20045 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20046 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20047 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20048 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20051 LTCFLAGS='$LTCFLAGS'
20052 compiler='$compiler_DEFAULT'
20054 # Quote evaled strings.
20066 deplibs_check_method \
20075 lt_cv_sys_global_symbol_pipe \
20076 lt_cv_sys_global_symbol_to_cdecl \
20077 lt_cv_sys_global_symbol_to_c_name_address \
20078 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20081 lt_prog_compiler_no_builtin_flag \
20082 lt_prog_compiler_wl \
20083 lt_prog_compiler_pic \
20084 lt_prog_compiler_static \
20085 lt_cv_prog_compiler_c_o \
20093 export_dynamic_flag_spec \
20094 whole_archive_flag_spec \
20095 compiler_needs_object \
20097 allow_undefined_flag \
20098 no_undefined_flag \
20099 hardcode_libdir_flag_spec \
20100 hardcode_libdir_flag_spec_ld \
20101 hardcode_libdir_separator \
20106 variables_saved_for_relink \
20108 library_names_spec \
20113 compiler_lib_search_dirs \
20118 compiler_lib_search_path \
20121 lt_prog_compiler_no_builtin_flag_CXX \
20122 lt_prog_compiler_wl_CXX \
20123 lt_prog_compiler_pic_CXX \
20124 lt_prog_compiler_static_CXX \
20125 lt_cv_prog_compiler_c_o_CXX \
20126 export_dynamic_flag_spec_CXX \
20127 whole_archive_flag_spec_CXX \
20128 compiler_needs_object_CXX \
20130 allow_undefined_flag_CXX \
20131 no_undefined_flag_CXX \
20132 hardcode_libdir_flag_spec_CXX \
20133 hardcode_libdir_flag_spec_ld_CXX \
20134 hardcode_libdir_separator_CXX \
20135 fix_srcfile_path_CXX \
20136 exclude_expsyms_CXX \
20137 include_expsyms_CXX \
20138 file_list_spec_CXX \
20139 compiler_lib_search_dirs_CXX \
20140 predep_objects_CXX \
20141 postdep_objects_CXX \
20144 compiler_lib_search_path_CXX; do
20145 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20146 *[\\\\\\\`\\"\\\$]*)
20147 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20150 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20155 # Double-quote double-evaled strings.
20156 for var in reload_cmds \
20157 old_postinstall_cmds \
20158 old_postuninstall_cmds \
20160 extract_expsyms_cmds \
20161 old_archive_from_new_cmds \
20162 old_archive_from_expsyms_cmds \
20164 archive_expsym_cmds \
20166 module_expsym_cmds \
20167 export_symbols_cmds \
20170 postuninstall_cmds \
20172 sys_lib_search_path_spec \
20173 sys_lib_dlsearch_path_spec \
20174 old_archive_cmds_CXX \
20175 old_archive_from_new_cmds_CXX \
20176 old_archive_from_expsyms_cmds_CXX \
20178 archive_expsym_cmds_CXX \
20180 module_expsym_cmds_CXX \
20181 export_symbols_cmds_CXX \
20182 prelink_cmds_CXX; do
20183 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20184 *[\\\\\\\`\\"\\\$]*)
20185 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20188 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20193 # Fix-up fallback echo if it was mangled by the above quoting rules.
20195 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20199 ac_aux_dir='$ac_aux_dir'
20200 xsi_shell='$xsi_shell'
20201 lt_shell_append='$lt_shell_append'
20203 # See if we are running on zsh, and set the options which allow our
20204 # commands through without removal of \ escapes INIT.
20205 if test -n "\${ZSH_VERSION+set}" ; then
20206 setopt NO_GLOB_SUBST
20212 TIMESTAMP='$TIMESTAMP'
20221 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20222 pkgconfig_prefix='$prefix'
20223 pkgconfig_execprefix='$exec_prefix'
20224 pkgconfig_bindir='$bindir'
20225 pkgconfig_libdir='$libdir'
20226 pkgconfig_includedir='$includedir'
20227 pkgconfig_datarootdir='$datarootdir'
20228 pkgconfig_datadir='$datadir'
20229 pkgconfig_sysconfdir='$sysconfdir'
20230 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20231 pkgconfig_package='$PACKAGE_NAME'
20232 pkgconfig_libname='$ax_create_pkgconfig_libname'
20233 pkgconfig_description='$ax_create_pkgconfig_description'
20234 pkgconfig_version='$ax_create_pkgconfig_version'
20235 pkgconfig_requires='$ax_create_pkgconfig_requires'
20236 pkgconfig_libs='$ax_create_pkgconfig_libs'
20237 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20238 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20239 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20240 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20247 # Handling of arguments.
20248 for ac_config_target in $ac_config_targets
20250 case $ac_config_target in
20251 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20252 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20253 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20254 "opensaml.spec") CONFIG_FILES="$CONFIG_FILES opensaml.spec" ;;
20255 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20256 "saml/Makefile") CONFIG_FILES="$CONFIG_FILES saml/Makefile" ;;
20257 "samltest/Makefile") CONFIG_FILES="$CONFIG_FILES samltest/Makefile" ;;
20258 "samlsign/Makefile") CONFIG_FILES="$CONFIG_FILES samlsign/Makefile" ;;
20259 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20260 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20261 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20263 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20268 # If the user did not use the arguments to specify the items to instantiate,
20269 # then the envvar interface is used. Set only those that are not.
20270 # We use the long form for the default assignment because of an extremely
20271 # bizarre bug on SunOS 4.1.3.
20272 if $ac_need_defaults; then
20273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20278 # Have a temporary directory for convenience. Make it in the build tree
20279 # simply because there is no reason against having it here, and in addition,
20280 # creating and moving files from /tmp can sometimes cause problems.
20281 # Hook for its removal unless debugging.
20282 # Note that there is a small window in which the directory will not be cleaned:
20283 # after its creation but before its name has been assigned to `$tmp'.
20287 trap 'exit_status=$?
20288 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20290 trap 'as_fn_exit 1' 1 2 13 15
20292 # Create a (secure) tmp directory for tmp files.
20295 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20296 test -n "$tmp" && test -d "$tmp"
20299 tmp=./conf$$-$RANDOM
20300 (umask 077 && mkdir "$tmp")
20301 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20303 # Set up the scripts for CONFIG_FILES section.
20304 # No need to generate them if there are no CONFIG_FILES.
20305 # This happens for instance with `./config.status config.h'.
20306 if test -n "$CONFIG_FILES"; then
20309 ac_cr=`echo X | tr X '\015'`
20310 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20311 # But we know of no other shell where ac_cr would be empty at this
20312 # point, so we can use a bashism as a fallback.
20313 if test "x$ac_cr" = x; then
20314 eval ac_cr=\$\'\\r\'
20316 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20317 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20320 ac_cs_awk_cr=$ac_cr
20323 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20328 echo "cat >conf$$subs.awk <<_ACEOF" &&
20329 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20331 } >conf$$subs.sh ||
20332 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20333 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20335 for ac_last_try in false false false false false :; do
20336 . ./conf$$subs.sh ||
20337 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20339 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20340 if test $ac_delim_n = $ac_delim_num; then
20342 elif $ac_last_try; then
20343 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20345 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20348 rm -f conf$$subs.sh
20350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20351 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
20355 s/^/S["/; s/!.*/"]=/
20365 s/\(.\{148\}\)..*/\1/
20367 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20372 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20379 s/\(.\{148\}\)..*/\1/
20381 s/["\\]/\\&/g; s/^/"/; s/$/"/
20385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20390 ' <conf$$subs.awk | sed '
20395 ' >>$CONFIG_STATUS || ac_write_fail=1
20396 rm -f conf$$subs.awk
20397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20399 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
20400 for (key in S) S_is_set[key] = 1
20406 nfields = split(line, field, "@")
20408 len = length(field[1])
20409 for (i = 2; i < nfields; i++) {
20411 keylen = length(key)
20412 if (S_is_set[key]) {
20414 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20415 len += length(value) + length(field[++i])
20426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20427 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20428 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20431 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20432 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20435 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20436 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20437 # trailing colons and then remove the whole line if VPATH becomes empty
20438 # (actually we leave an empty line to preserve line numbers).
20439 if test "x$srcdir" = x.; then
20440 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20459 fi # test -n "$CONFIG_FILES"
20461 # Set up the scripts for CONFIG_HEADERS section.
20462 # No need to generate them if there are no CONFIG_HEADERS.
20463 # This happens for instance with `./config.status Makefile'.
20464 if test -n "$CONFIG_HEADERS"; then
20465 cat >"$tmp/defines.awk" <<\_ACAWK ||
20469 # Transform confdefs.h into an awk script `defines.awk', embedded as
20470 # here-document in config.status, that substitutes the proper values into
20471 # config.h.in to produce config.h.
20473 # Create a delimiter string that does not exist in confdefs.h, to ease
20474 # handling of long lines.
20476 for ac_last_try in false false :; do
20477 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
20478 if test -z "$ac_t"; then
20480 elif $ac_last_try; then
20481 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20483 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20487 # For the awk script, D is an array of macro values keyed by name,
20488 # likewise P contains macro parameters if any. Preserve backslash
20489 # newline sequences.
20491 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20493 s/.\{148\}/&'"$ac_delim"'/g
20496 s/^[ ]*#[ ]*define[ ][ ]*/ /
20503 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20505 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20509 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20510 D["\1"]=" \3\\\\\\n"\\/p
20512 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20517 s/.\{148\}/&'"$ac_delim"'/g
20522 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20525 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20527 ' <confdefs.h | sed '
20528 s/'"$ac_delim"'/"\\\
20529 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20532 for (key in D) D_is_set[key] = 1
20535 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20537 split(line, arg, " ")
20538 if (arg[1] == "#") {
20542 defundef = substr(arg[1], 2)
20545 split(mac1, mac2, "(") #)
20547 prefix = substr(line, 1, index(line, defundef) - 1)
20548 if (D_is_set[macro]) {
20549 # Preserve the white space surrounding the "#".
20550 print prefix "define", macro P[macro] D[macro]
20553 # Replace #undef with comments. This is necessary, for example,
20554 # in the case of _POSIX_SOURCE, which is predefined and required
20555 # on some systems where configure will not decide to define it.
20556 if (defundef == "undef") {
20557 print "/*", prefix defundef, macro, "*/"
20565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20566 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20567 fi # test -n "$CONFIG_HEADERS"
20570 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20575 :[FHLC]) ac_mode=$ac_tag; continue;;
20577 case $ac_mode$ac_tag in
20579 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
20580 :[FH]-) ac_tag=-:-;;
20581 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20598 -) ac_f="$tmp/stdin";;
20599 *) # Look for the file first in the build tree, then in the source tree
20600 # (if the path is not absolute). The absolute path cannot be DOS-style,
20601 # because $ac_f cannot contain `:'.
20605 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20607 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20609 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20610 as_fn_append ac_file_inputs " '$ac_f'"
20613 # Let's still pretend it is `configure' which instantiates (i.e., don't
20614 # use $as_me), people would be surprised to read:
20615 # /* config.h. Generated by config.status. */
20616 configure_input='Generated from '`
20617 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20619 if test x"$ac_file" != x-; then
20620 configure_input="$ac_file. $configure_input"
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20622 $as_echo "$as_me: creating $ac_file" >&6;}
20624 # Neutralize special characters interpreted by sed in replacement strings.
20625 case $configure_input in #(
20626 *\&* | *\|* | *\\* )
20627 ac_sed_conf_input=`$as_echo "$configure_input" |
20628 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20629 *) ac_sed_conf_input=$configure_input;;
20633 *:-:* | *:-) cat >"$tmp/stdin" \
20634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20639 ac_dir=`$as_dirname -- "$ac_file" ||
20640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20641 X"$ac_file" : 'X\(//\)[^/]' \| \
20642 X"$ac_file" : 'X\(//\)$' \| \
20643 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20644 $as_echo X"$ac_file" |
20645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20649 /^X\(\/\/\)[^/].*/{
20662 as_dir="$ac_dir"; as_fn_mkdir_p
20666 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20668 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20669 # A ".." for each directory in $ac_dir_suffix.
20670 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20671 case $ac_top_builddir_sub in
20672 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20673 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20676 ac_abs_top_builddir=$ac_pwd
20677 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20678 # for backward compatibility:
20679 ac_top_builddir=$ac_top_build_prefix
20682 .) # We are building in place.
20684 ac_top_srcdir=$ac_top_builddir_sub
20685 ac_abs_top_srcdir=$ac_pwd ;;
20686 [\\/]* | ?:[\\/]* ) # Absolute name.
20687 ac_srcdir=$srcdir$ac_dir_suffix;
20688 ac_top_srcdir=$srcdir
20689 ac_abs_top_srcdir=$srcdir ;;
20690 *) # Relative name.
20691 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20692 ac_top_srcdir=$ac_top_build_prefix$srcdir
20693 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20695 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20705 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20706 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20708 ac_MKDIR_P=$MKDIR_P
20710 [\\/$]* | ?:[\\/]* ) ;;
20711 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20716 # If the template does not know about datarootdir, expand it.
20717 # FIXME: This hack should be removed a few years after 2.60.
20718 ac_datarootdir_hack=; ac_datarootdir_seen=
20729 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20730 *datarootdir*) ac_datarootdir_seen=yes;;
20731 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20733 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20736 ac_datarootdir_hack='
20737 s&@datadir@&$datadir&g
20738 s&@docdir@&$docdir&g
20739 s&@infodir@&$infodir&g
20740 s&@localedir@&$localedir&g
20741 s&@mandir@&$mandir&g
20742 s&\\\${datarootdir}&$datarootdir&g' ;;
20746 # Neutralize VPATH when `$srcdir' = `.'.
20747 # Shell code in configure.ac might set extrasub.
20748 # FIXME: do we really want to maintain this feature?
20749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20750 ac_sed_extra="$ac_vpsub
20753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20756 s|@configure_input@|$ac_sed_conf_input|;t t
20757 s&@top_builddir@&$ac_top_builddir_sub&;t t
20758 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20759 s&@srcdir@&$ac_srcdir&;t t
20760 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20761 s&@top_srcdir@&$ac_top_srcdir&;t t
20762 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20763 s&@builddir@&$ac_builddir&;t t
20764 s&@abs_builddir@&$ac_abs_builddir&;t t
20765 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20766 s&@INSTALL@&$ac_INSTALL&;t t
20767 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20768 $ac_datarootdir_hack
20770 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
20771 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20773 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20774 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20775 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20777 which seems to be undefined. Please make sure it is defined" >&5
20778 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20779 which seems to be undefined. Please make sure it is defined" >&2;}
20783 -) cat "$tmp/out" && rm -f "$tmp/out";;
20784 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20786 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20792 if test x"$ac_file" != x-; then
20794 $as_echo "/* $configure_input */" \
20795 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20796 } >"$tmp/config.h" \
20797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20798 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20800 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20803 mv "$tmp/config.h" "$ac_file" \
20804 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20807 $as_echo "/* $configure_input */" \
20808 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20809 || as_fn_error $? "could not create -" "$LINENO" 5
20811 # Compute "$ac_file"'s index in $config_headers.
20814 for _am_header in $config_headers :; do
20815 case $_am_header in
20816 $_am_arg | $_am_arg:* )
20819 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20822 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20823 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20824 X"$_am_arg" : 'X\(//\)[^/]' \| \
20825 X"$_am_arg" : 'X\(//\)$' \| \
20826 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20827 $as_echo X"$_am_arg" |
20828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20832 /^X\(\/\/\)[^/].*/{
20844 s/.*/./; q'`/stamp-h$_am_stamp_count
20847 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20848 $as_echo "$as_me: executing $ac_file commands" >&6;}
20853 case $ac_file$ac_mode in
20854 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20855 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20856 # are listed without --file. Let's play safe and only enable the eval
20857 # if we detect the quoting.
20858 case $CONFIG_FILES in
20859 *\'*) eval set x "$CONFIG_FILES" ;;
20860 *) set x $CONFIG_FILES ;;
20865 # Strip MF so we end up with the name of the file.
20866 mf=`echo "$mf" | sed -e 's/:.*$//'`
20867 # Check whether this is an Automake generated Makefile or not.
20868 # We used to match only the files named `Makefile.in', but
20869 # some people rename them; so instead we look at the file content.
20870 # Grep'ing the first line is not enough: some people post-process
20871 # each Makefile.in and add a new line on top of each file to say so.
20872 # Grep'ing the whole file is not good either: AIX grep has a line
20873 # limit of 2048, but all sed's we know have understand at least 4000.
20874 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20875 dirpart=`$as_dirname -- "$mf" ||
20876 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20877 X"$mf" : 'X\(//\)[^/]' \| \
20878 X"$mf" : 'X\(//\)$' \| \
20879 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20885 /^X\(\/\/\)[^/].*/{
20901 # Extract the definition of DEPDIR, am__include, and am__quote
20902 # from the Makefile without running `make'.
20903 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20904 test -z "$DEPDIR" && continue
20905 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20906 test -z "am__include" && continue
20907 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20908 # When using ansi2knr, U may be empty or an underscore; expand it
20909 U=`sed -n 's/^U = //p' < "$mf"`
20910 # Find all dependency output files, they are included files with
20911 # $(DEPDIR) in their names. We invoke sed twice because it is the
20912 # simplest approach to changing $(DEPDIR) to its actual value in the
20914 for file in `sed -n "
20915 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20916 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20917 # Make sure the directory exists.
20918 test -f "$dirpart/$file" && continue
20919 fdir=`$as_dirname -- "$file" ||
20920 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20921 X"$file" : 'X\(//\)[^/]' \| \
20922 X"$file" : 'X\(//\)$' \| \
20923 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20924 $as_echo X"$file" |
20925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20929 /^X\(\/\/\)[^/].*/{
20942 as_dir=$dirpart/$fdir; as_fn_mkdir_p
20943 # echo "creating $dirpart/$file"
20944 echo '# dummy' > "$dirpart/$file"
20951 # See if we are running on zsh, and set the options which allow our
20952 # commands through without removal of \ escapes.
20953 if test -n "${ZSH_VERSION+set}" ; then
20954 setopt NO_GLOB_SUBST
20957 cfgfile="${ofile}T"
20958 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20961 cat <<_LT_EOF >> "$cfgfile"
20964 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20965 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20966 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20967 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20969 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20970 # 2006, 2007, 2008 Free Software Foundation, Inc.
20971 # Written by Gordon Matzigkeit, 1996
20973 # This file is part of GNU Libtool.
20975 # GNU Libtool is free software; you can redistribute it and/or
20976 # modify it under the terms of the GNU General Public License as
20977 # published by the Free Software Foundation; either version 2 of
20978 # the License, or (at your option) any later version.
20980 # As a special exception to the GNU General Public License,
20981 # if you distribute this file as part of a program or library that
20982 # is built using GNU Libtool, you may include this file under the
20983 # same distribution terms that you use for the rest of that program.
20985 # GNU Libtool is distributed in the hope that it will be useful,
20986 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20987 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20988 # GNU General Public License for more details.
20990 # You should have received a copy of the GNU General Public License
20991 # along with GNU Libtool; see the file COPYING. If not, a copy
20992 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20993 # obtained by writing to the Free Software Foundation, Inc.,
20994 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20997 # The names of the tagged configurations supported by this script.
20998 available_tags="CXX "
21000 # ### BEGIN LIBTOOL CONFIG
21002 # Whether or not to build static libraries.
21003 build_old_libs=$enable_static
21005 # Which release of libtool.m4 was used?
21006 macro_version=$macro_version
21007 macro_revision=$macro_revision
21009 # Whether or not to build shared libraries.
21010 build_libtool_libs=$enable_shared
21012 # What type of objects to build.
21015 # Whether or not to optimize for fast installation.
21016 fast_install=$enable_fast_install
21019 host_alias=$host_alias
21023 # The build system.
21024 build_alias=$build_alias
21028 # A sed program that does not truncate output.
21031 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21032 Xsed="\$SED -e 1s/^X//"
21034 # A grep program that handles long lines.
21040 # A literal string matcher.
21043 # A BSD- or MS-compatible name lister.
21046 # Whether we need soft or hard links.
21049 # What is the maximum length of a command?
21050 max_cmd_len=$max_cmd_len
21052 # Object file suffix (normally "o").
21055 # Executable file suffix (normally "").
21058 # whether the shell understands "unset".
21061 # turn spaces into newlines.
21064 # turn newlines into spaces.
21067 # How to create reloadable object files.
21068 reload_flag=$lt_reload_flag
21069 reload_cmds=$lt_reload_cmds
21071 # An object symbol dumper.
21072 OBJDUMP=$lt_OBJDUMP
21074 # Method to check whether dependent libraries are shared objects.
21075 deplibs_check_method=$lt_deplibs_check_method
21077 # Command to use when deplibs_check_method == "file_magic".
21078 file_magic_cmd=$lt_file_magic_cmd
21082 AR_FLAGS=$lt_AR_FLAGS
21084 # A symbol stripping program.
21087 # Commands used to install an old-style archive.
21089 old_postinstall_cmds=$lt_old_postinstall_cmds
21090 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21095 # LTCC compiler flags.
21096 LTCFLAGS=$lt_CFLAGS
21098 # Take the output of nm and produce a listing of raw symbols and C names.
21099 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21101 # Transform the output of nm in a proper C declaration.
21102 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21104 # Transform the output of nm in a C name address pair.
21105 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21107 # Transform the output of nm in a C name address pair when lib prefix is needed.
21108 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21110 # The name of the directory that contains temporary libtool files.
21113 # Shell to use when invoking shell scripts.
21116 # An echo program that does not interpret backslashes.
21119 # Used to examine libraries when file_magic_cmd begins with "file".
21120 MAGIC_CMD=$MAGIC_CMD
21122 # Must we lock files when doing compilation?
21123 need_locks=$lt_need_locks
21125 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21126 DSYMUTIL=$lt_DSYMUTIL
21128 # Tool to change global to local symbols on Mac OS X.
21131 # Tool to manipulate fat objects and archives on Mac OS X.
21134 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21137 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21138 OTOOL64=$lt_OTOOL64
21140 # Old archive suffix (normally "a").
21143 # Shared library suffix (normally ".so").
21144 shrext_cmds=$lt_shrext_cmds
21146 # The commands to extract the exported symbol list from a shared archive.
21147 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21149 # Variables whose values should be saved in libtool wrapper scripts and
21150 # restored at link time.
21151 variables_saved_for_relink=$lt_variables_saved_for_relink
21153 # Do we need the "lib" prefix for modules?
21154 need_lib_prefix=$need_lib_prefix
21156 # Do we need a version for libraries?
21157 need_version=$need_version
21159 # Library versioning type.
21160 version_type=$version_type
21162 # Shared library runtime path variable.
21163 runpath_var=$runpath_var
21165 # Shared library path variable.
21166 shlibpath_var=$shlibpath_var
21168 # Is shlibpath searched before the hard-coded library search path?
21169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21171 # Format of library name prefix.
21172 libname_spec=$lt_libname_spec
21174 # List of archive names. First name is the real one, the rest are links.
21175 # The last name is the one that the linker finds with -lNAME
21176 library_names_spec=$lt_library_names_spec
21178 # The coded name of the library, if different from the real name.
21179 soname_spec=$lt_soname_spec
21181 # Command to use after installation of a shared archive.
21182 postinstall_cmds=$lt_postinstall_cmds
21184 # Command to use after uninstallation of a shared archive.
21185 postuninstall_cmds=$lt_postuninstall_cmds
21187 # Commands used to finish a libtool library installation in a directory.
21188 finish_cmds=$lt_finish_cmds
21190 # As "finish_cmds", except a single script fragment to be evaled but
21192 finish_eval=$lt_finish_eval
21194 # Whether we should hardcode library paths into libraries.
21195 hardcode_into_libs=$hardcode_into_libs
21197 # Compile-time system search path for libraries.
21198 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21200 # Run-time system search path for libraries.
21201 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21203 # Whether dlopen is supported.
21204 dlopen_support=$enable_dlopen
21206 # Whether dlopen of programs is supported.
21207 dlopen_self=$enable_dlopen_self
21209 # Whether dlopen of statically linked programs is supported.
21210 dlopen_self_static=$enable_dlopen_self_static
21212 # Commands to strip libraries.
21213 old_striplib=$lt_old_striplib
21214 striplib=$lt_striplib
21217 # The linker used to build libraries.
21220 # Commands used to build an old-style archive.
21221 old_archive_cmds=$lt_old_archive_cmds
21223 # A language specific compiler.
21226 # Is the compiler the GNU compiler?
21229 # Compiler flag to turn off builtin functions.
21230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21232 # How to pass a linker flag through the compiler.
21233 wl=$lt_lt_prog_compiler_wl
21235 # Additional compiler flags for building library objects.
21236 pic_flag=$lt_lt_prog_compiler_pic
21238 # Compiler flag to prevent dynamic linking.
21239 link_static_flag=$lt_lt_prog_compiler_static
21241 # Does compiler simultaneously support -c and -o options?
21242 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21244 # Whether or not to add -lc for building shared libraries.
21245 build_libtool_need_lc=$archive_cmds_need_lc
21247 # Whether or not to disallow shared libs when runtime libs are static.
21248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21250 # Compiler flag to allow reflexive dlopens.
21251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21253 # Compiler flag to generate shared objects directly from archives.
21254 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21256 # Whether the compiler copes with passing no objects directly.
21257 compiler_needs_object=$lt_compiler_needs_object
21259 # Create an old-style archive from a shared archive.
21260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21262 # Create a temporary old-style archive to link instead of a shared archive.
21263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21265 # Commands used to build a shared archive.
21266 archive_cmds=$lt_archive_cmds
21267 archive_expsym_cmds=$lt_archive_expsym_cmds
21269 # Commands used to build a loadable module if different from building
21270 # a shared archive.
21271 module_cmds=$lt_module_cmds
21272 module_expsym_cmds=$lt_module_expsym_cmds
21274 # Whether we are building with GNU ld or not.
21275 with_gnu_ld=$lt_with_gnu_ld
21277 # Flag that allows shared libraries with undefined symbols to be built.
21278 allow_undefined_flag=$lt_allow_undefined_flag
21280 # Flag that enforces no undefined symbols.
21281 no_undefined_flag=$lt_no_undefined_flag
21283 # Flag to hardcode \$libdir into a binary during linking.
21284 # This must work even if \$libdir does not exist
21285 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21287 # If ld is used when linking, flag to hardcode \$libdir into a binary
21288 # during linking. This must work even if \$libdir does not exist.
21289 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21291 # Whether we need a single "-rpath" flag with a separated argument.
21292 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21294 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21295 # DIR into the resulting binary.
21296 hardcode_direct=$hardcode_direct
21298 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21299 # DIR into the resulting binary and the resulting library dependency is
21300 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21301 # library is relocated.
21302 hardcode_direct_absolute=$hardcode_direct_absolute
21304 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21305 # into the resulting binary.
21306 hardcode_minus_L=$hardcode_minus_L
21308 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21309 # into the resulting binary.
21310 hardcode_shlibpath_var=$hardcode_shlibpath_var
21312 # Set to "yes" if building a shared library automatically hardcodes DIR
21313 # into the library and all subsequent libraries and executables linked
21315 hardcode_automatic=$hardcode_automatic
21317 # Set to yes if linker adds runtime paths of dependent libraries
21318 # to runtime path list.
21319 inherit_rpath=$inherit_rpath
21321 # Whether libtool must link a program against all its dependency libraries.
21322 link_all_deplibs=$link_all_deplibs
21324 # Fix the shell variable \$srcfile for the compiler.
21325 fix_srcfile_path=$lt_fix_srcfile_path
21327 # Set to "yes" if exported symbols are required.
21328 always_export_symbols=$always_export_symbols
21330 # The commands to list exported symbols.
21331 export_symbols_cmds=$lt_export_symbols_cmds
21333 # Symbols that should not be listed in the preloaded symbols.
21334 exclude_expsyms=$lt_exclude_expsyms
21336 # Symbols that must always be exported.
21337 include_expsyms=$lt_include_expsyms
21339 # Commands necessary for linking programs (against libraries) with templates.
21340 prelink_cmds=$lt_prelink_cmds
21342 # Specify filename containing input files.
21343 file_list_spec=$lt_file_list_spec
21345 # How to hardcode a shared library path into an executable.
21346 hardcode_action=$hardcode_action
21348 # The directories searched by this compiler when creating a shared library.
21349 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21351 # Dependencies to place before and after the objects being linked to
21352 # create a shared library.
21353 predep_objects=$lt_predep_objects
21354 postdep_objects=$lt_postdep_objects
21355 predeps=$lt_predeps
21356 postdeps=$lt_postdeps
21358 # The library search path used internally by the compiler when linking
21359 # a shared library.
21360 compiler_lib_search_path=$lt_compiler_lib_search_path
21362 # ### END LIBTOOL CONFIG
21368 cat <<\_LT_EOF >> "$cfgfile"
21369 # AIX sometimes has problems with the GCC collect2 program. For some
21370 # reason, if we set the COLLECT_NAMES environment variable, the problems
21371 # vanish in a puff of smoke.
21372 if test "X${COLLECT_NAMES+set}" != Xset; then
21374 export COLLECT_NAMES
21381 ltmain="$ac_aux_dir/ltmain.sh"
21384 # We use sed instead of cat because bash on DJGPP gets confused if
21385 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21386 # text mode, it properly converts lines to CR/LF. This bash problem
21387 # is reportedly fixed, but why not run on old versions too?
21388 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21389 || (rm -f "$cfgfile"; exit 1)
21393 cat << \_LT_EOF >> "$cfgfile"
21395 # func_dirname file append nondir_replacement
21396 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21397 # otherwise set result to NONDIR_REPLACEMENT.
21401 */*) func_dirname_result="${1%/*}${2}" ;;
21402 * ) func_dirname_result="${3}" ;;
21406 # func_basename file
21409 func_basename_result="${1##*/}"
21412 # func_dirname_and_basename file append nondir_replacement
21413 # perform func_basename and func_dirname in a single function
21415 # dirname: Compute the dirname of FILE. If nonempty,
21416 # add APPEND to the result, otherwise set result
21417 # to NONDIR_REPLACEMENT.
21418 # value returned in "$func_dirname_result"
21419 # basename: Compute filename of FILE.
21420 # value retuned in "$func_basename_result"
21421 # Implementation must be kept synchronized with func_dirname
21422 # and func_basename. For efficiency, we do not delegate to
21423 # those functions but instead duplicate the functionality here.
21424 func_dirname_and_basename ()
21427 */*) func_dirname_result="${1%/*}${2}" ;;
21428 * ) func_dirname_result="${3}" ;;
21430 func_basename_result="${1##*/}"
21433 # func_stripname prefix suffix name
21434 # strip PREFIX and SUFFIX off of NAME.
21435 # PREFIX and SUFFIX must not contain globbing or regex special
21436 # characters, hashes, percent signs, but SUFFIX may contain a leading
21437 # dot (in which case that matches only a dot).
21440 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21441 # positional parameters, so assign one to ordinary parameter first.
21442 func_stripname_result=${3}
21443 func_stripname_result=${func_stripname_result#"${1}"}
21444 func_stripname_result=${func_stripname_result%"${2}"}
21450 func_opt_split_opt=${1%%=*}
21451 func_opt_split_arg=${1#*=}
21458 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21459 *) func_lo2o_result=${1} ;;
21463 # func_xform libobj-or-source
21466 func_xform_result=${1%.*}.lo
21469 # func_arith arithmetic-term...
21472 func_arith_result=$(( $* ))
21476 # STRING may not start with a hyphen.
21479 func_len_result=${#1}
21484 *) # Bourne compatible functions.
21485 cat << \_LT_EOF >> "$cfgfile"
21487 # func_dirname file append nondir_replacement
21488 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21489 # otherwise set result to NONDIR_REPLACEMENT.
21492 # Extract subdirectory from the argument.
21493 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21494 if test "X$func_dirname_result" = "X${1}"; then
21495 func_dirname_result="${3}"
21497 func_dirname_result="$func_dirname_result${2}"
21501 # func_basename file
21504 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
21508 # func_stripname prefix suffix name
21509 # strip PREFIX and SUFFIX off of NAME.
21510 # PREFIX and SUFFIX must not contain globbing or regex special
21511 # characters, hashes, percent signs, but SUFFIX may contain a leading
21512 # dot (in which case that matches only a dot).
21513 # func_strip_suffix prefix name
21517 .*) func_stripname_result=`$ECHO "X${3}" \
21518 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21519 *) func_stripname_result=`$ECHO "X${3}" \
21520 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21525 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21526 my_sed_long_arg='1s/^-[^=]*=//'
21531 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21532 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21538 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21541 # func_xform libobj-or-source
21544 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21547 # func_arith arithmetic-term...
21550 func_arith_result=`expr "$@"`
21554 # STRING may not start with a hyphen.
21557 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21563 case $lt_shell_append in
21565 cat << \_LT_EOF >> "$cfgfile"
21567 # func_append var value
21568 # Append VALUE to the end of shell variable VAR.
21576 cat << \_LT_EOF >> "$cfgfile"
21578 # func_append var value
21579 # Append VALUE to the end of shell variable VAR.
21590 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21591 || (rm -f "$cfgfile"; exit 1)
21593 mv -f "$cfgfile" "$ofile" ||
21594 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21598 cat <<_LT_EOF >> "$ofile"
21600 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21602 # The linker used to build libraries.
21605 # Commands used to build an old-style archive.
21606 old_archive_cmds=$lt_old_archive_cmds_CXX
21608 # A language specific compiler.
21609 CC=$lt_compiler_CXX
21611 # Is the compiler the GNU compiler?
21614 # Compiler flag to turn off builtin functions.
21615 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21617 # How to pass a linker flag through the compiler.
21618 wl=$lt_lt_prog_compiler_wl_CXX
21620 # Additional compiler flags for building library objects.
21621 pic_flag=$lt_lt_prog_compiler_pic_CXX
21623 # Compiler flag to prevent dynamic linking.
21624 link_static_flag=$lt_lt_prog_compiler_static_CXX
21626 # Does compiler simultaneously support -c and -o options?
21627 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21629 # Whether or not to add -lc for building shared libraries.
21630 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21632 # Whether or not to disallow shared libs when runtime libs are static.
21633 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21635 # Compiler flag to allow reflexive dlopens.
21636 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21638 # Compiler flag to generate shared objects directly from archives.
21639 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21641 # Whether the compiler copes with passing no objects directly.
21642 compiler_needs_object=$lt_compiler_needs_object_CXX
21644 # Create an old-style archive from a shared archive.
21645 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21647 # Create a temporary old-style archive to link instead of a shared archive.
21648 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21650 # Commands used to build a shared archive.
21651 archive_cmds=$lt_archive_cmds_CXX
21652 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21654 # Commands used to build a loadable module if different from building
21655 # a shared archive.
21656 module_cmds=$lt_module_cmds_CXX
21657 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21659 # Whether we are building with GNU ld or not.
21660 with_gnu_ld=$lt_with_gnu_ld_CXX
21662 # Flag that allows shared libraries with undefined symbols to be built.
21663 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21665 # Flag that enforces no undefined symbols.
21666 no_undefined_flag=$lt_no_undefined_flag_CXX
21668 # Flag to hardcode \$libdir into a binary during linking.
21669 # This must work even if \$libdir does not exist
21670 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21672 # If ld is used when linking, flag to hardcode \$libdir into a binary
21673 # during linking. This must work even if \$libdir does not exist.
21674 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21676 # Whether we need a single "-rpath" flag with a separated argument.
21677 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21679 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21680 # DIR into the resulting binary.
21681 hardcode_direct=$hardcode_direct_CXX
21683 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21684 # DIR into the resulting binary and the resulting library dependency is
21685 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21686 # library is relocated.
21687 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21689 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21690 # into the resulting binary.
21691 hardcode_minus_L=$hardcode_minus_L_CXX
21693 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21694 # into the resulting binary.
21695 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21697 # Set to "yes" if building a shared library automatically hardcodes DIR
21698 # into the library and all subsequent libraries and executables linked
21700 hardcode_automatic=$hardcode_automatic_CXX
21702 # Set to yes if linker adds runtime paths of dependent libraries
21703 # to runtime path list.
21704 inherit_rpath=$inherit_rpath_CXX
21706 # Whether libtool must link a program against all its dependency libraries.
21707 link_all_deplibs=$link_all_deplibs_CXX
21709 # Fix the shell variable \$srcfile for the compiler.
21710 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21712 # Set to "yes" if exported symbols are required.
21713 always_export_symbols=$always_export_symbols_CXX
21715 # The commands to list exported symbols.
21716 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21718 # Symbols that should not be listed in the preloaded symbols.
21719 exclude_expsyms=$lt_exclude_expsyms_CXX
21721 # Symbols that must always be exported.
21722 include_expsyms=$lt_include_expsyms_CXX
21724 # Commands necessary for linking programs (against libraries) with templates.
21725 prelink_cmds=$lt_prelink_cmds_CXX
21727 # Specify filename containing input files.
21728 file_list_spec=$lt_file_list_spec_CXX
21730 # How to hardcode a shared library path into an executable.
21731 hardcode_action=$hardcode_action_CXX
21733 # The directories searched by this compiler when creating a shared library.
21734 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21736 # Dependencies to place before and after the objects being linked to
21737 # create a shared library.
21738 predep_objects=$lt_predep_objects_CXX
21739 postdep_objects=$lt_postdep_objects_CXX
21740 predeps=$lt_predeps_CXX
21741 postdeps=$lt_postdeps_CXX
21743 # The library search path used internally by the compiler when linking
21744 # a shared library.
21745 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21747 # ### END LIBTOOL TAG CONFIG: CXX
21751 "$ax_create_pkgconfig_generate":C)
21752 pkgconfig_generate="$ax_create_pkgconfig_generate"
21753 if test ! -f "$pkgconfig_generate.in"
21754 then generate="true"
21755 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21756 then generate="true"
21757 else generate="false";
21759 if $generate ; then
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21761 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21762 cat > $pkgconfig_generate.in <<AXEOF
21763 # generated by configure / remove this line to disable regeneration
21765 exec_prefix=@exec_prefix@
21768 datarootdir=@datarootdir@
21770 sysconfdir=@sysconfdir@
21771 includedir=@includedir@
21775 Name: @PACKAGE_NAME@
21776 Description: @PACKAGE_DESCRIPTION@
21777 Version: @PACKAGE_VERSION@
21778 Requires: @PACKAGE_REQUIRES@
21779 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21780 Cflags: -I\${includedir} @CPPFLAGS@
21782 fi # DONE generate $pkgconfig_generate.in
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21784 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21785 cat >conftest.sed <<AXEOF
21786 s|@prefix@|${pkgconfig_prefix}|
21787 s|@exec_prefix@|${pkgconfig_execprefix}|
21788 s|@bindir@|${pkgconfig_bindir}|
21789 s|@libdir@|${pkgconfig_libdir}|
21790 s|@datarootdir@|${pkgconfig_datarootdir}|
21791 s|@datadir@|${pkgconfig_datadir}|
21792 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21793 s|@includedir@|${pkgconfig_includedir}|
21794 s|@suffix@|${pkgconfig_suffix}|
21795 s|@PACKAGE@|${pkgconfig_package}|
21796 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21797 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21798 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21799 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21800 s|@LIBS@|${pkgconfig_libs}|
21801 s|@LDFLAGS@|${pkgconfig_ldflags}|
21802 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21804 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
21805 if test ! -s $pkgconfig_generate ; then
21806 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21807 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21808 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21810 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21811 cat >conftest.sed <<AXEOF
21812 s|@prefix@|${pkgconfig_prefix}|
21813 s|@exec_prefix@|${pkgconfig_execprefix}|
21814 s|@bindir@|${pkgconfig_bindir}|
21815 s|@libdir@|${pkgconfig_src_libdir}|
21816 s|@datarootdir@|${pkgconfig_datarootdir}|
21817 s|@datadir@|${pkgconfig_datadir}|
21818 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21819 s|@includedir@|${pkgconfig_src_headers}|
21820 s|@suffix@|${pkgconfig_suffix}|
21821 s|@PACKAGE@|${pkgconfig_package}|
21822 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21823 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21824 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21825 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21826 s|@LIBS@|${pkgconfig_libs}|
21827 s|@LDFLAGS@|${pkgconfig_ldflags}|
21828 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21830 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21831 if test ! -s $pkgconfig_uninstalled ; then
21832 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21833 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21834 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21835 if test ".$pkgconfig_requires_add" != "." ; then
21836 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21837 else pkgconfig_requires_add=":" ; fi
21838 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21840 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21841 cat >conftest.sed <<AXEOF
21842 s|@prefix@|\"${pkgconfig_prefix}\"|
21843 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
21844 s|@bindir@|\"${pkgconfig_bindir}\"|
21845 s|@libdir@|\"${pkgconfig_src_libdir}\"|
21846 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
21847 s|@datadir@|\"${pkgconfig_datadir}\"|
21848 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
21849 s|@includedir@|\"${pkgconfig_src_headers}\"|
21850 s|@suffix@|\"${pkgconfig_suffix}\"|
21851 s|@PACKAGE@|\"${pkgconfig_package}\"|
21852 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
21853 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
21854 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
21855 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
21856 s|@LIBS@|\"${pkgconfig_libs}\"|
21857 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
21858 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
21859 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21860 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21861 s>Version: *>\\;\\; --modversion|--version) echo >
21862 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21863 s>Libs: *>\\;\\; --libs) echo >
21864 s>Cflags: *>\\;\\; --cflags) echo >
21866 $pkgconfig_requires_add
21868 $pkgconfig_requires_add\\
21869 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21870 ;; --uninstalled) exit 0 \\
21873 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21874 if test ! -s $pkgconfig_uninstalled ; then
21875 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21876 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21885 ac_clean_files=$ac_clean_files_save
21887 test $ac_write_fail = 0 ||
21888 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21891 # configure is writing to config.log, and then calls config.status.
21892 # config.status does its own redirection, appending to config.log.
21893 # Unfortunately, on DOS this fails, as config.log is still kept open
21894 # by configure, so config.status won't be able to write to it; its
21895 # output is simply discarded. So we exec the FD to /dev/null,
21896 # effectively closing config.log, so it can be properly (re)opened and
21897 # appended to by config.status. When coming back to configure, we
21898 # need to make the FD available again.
21899 if test "$no_create" != yes; then
21901 ac_config_status_args=
21902 test "$silent" = yes &&
21903 ac_config_status_args="$ac_config_status_args --quiet"
21905 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21907 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21908 # would make configure fail if this is the last instruction.
21909 $ac_cs_success || as_fn_exit 1
21911 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21913 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}