2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for opensaml 2.4.
5 # Report bugs to <https://bugs.internet2.edu/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: https://bugs.internet2.edu/ about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='opensaml'
703 PACKAGE_TARNAME='opensaml'
704 PACKAGE_VERSION='2.4'
705 PACKAGE_STRING='opensaml 2.4'
706 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
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
869 INSTALL_STRIP_PROGRAM
911 program_transform_name
924 enable_option_checking
929 enable_dependency_tracking
952 ac_precious_vars='build_alias
968 # Initialize some variables set by options.
970 ac_init_version=false
971 ac_unrecognized_opts=
973 # The variables have the same names as the options, with
974 # dashes changed to underlines.
982 program_transform_name=s,x,x,
990 # Installation directory options.
991 # These are left unexpanded so users can "make install exec_prefix=/foo"
992 # and all the variables that are supposed to be based on exec_prefix
993 # by default will actually change.
994 # Use braces instead of parens because sh, perl, etc. also accept them.
995 # (The list follows the same order as the GNU Coding Standards.)
996 bindir='${exec_prefix}/bin'
997 sbindir='${exec_prefix}/sbin'
998 libexecdir='${exec_prefix}/libexec'
999 datarootdir='${prefix}/share'
1000 datadir='${datarootdir}'
1001 sysconfdir='${prefix}/etc'
1002 sharedstatedir='${prefix}/com'
1003 localstatedir='${prefix}/var'
1004 includedir='${prefix}/include'
1005 oldincludedir='/usr/include'
1006 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1007 infodir='${datarootdir}/info'
1012 libdir='${exec_prefix}/lib'
1013 localedir='${datarootdir}/locale'
1014 mandir='${datarootdir}/man'
1020 # If the previous option needs an argument, assign it.
1021 if test -n "$ac_prev"; then
1022 eval $ac_prev=\$ac_option
1028 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1033 # Accept the important Cygnus configure options, so we can diagnose typos.
1035 case $ac_dashdash$ac_option in
1039 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1041 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1042 bindir=$ac_optarg ;;
1044 -build | --build | --buil | --bui | --bu)
1045 ac_prev=build_alias ;;
1046 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1047 build_alias=$ac_optarg ;;
1049 -cache-file | --cache-file | --cache-fil | --cache-fi \
1050 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1051 ac_prev=cache_file ;;
1052 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1053 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1054 cache_file=$ac_optarg ;;
1056 --config-cache | -C)
1057 cache_file=config.cache ;;
1059 -datadir | --datadir | --datadi | --datad)
1061 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1062 datadir=$ac_optarg ;;
1064 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1065 | --dataroo | --dataro | --datar)
1066 ac_prev=datarootdir ;;
1067 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1068 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1069 datarootdir=$ac_optarg ;;
1071 -disable-* | --disable-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error $? "invalid feature name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1080 "enable_$ac_useropt"
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1085 eval enable_$ac_useropt=no ;;
1087 -docdir | --docdir | --docdi | --doc | --do)
1089 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1090 docdir=$ac_optarg ;;
1092 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1094 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1095 dvidir=$ac_optarg ;;
1097 -enable-* | --enable-*)
1098 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 as_fn_error $? "invalid feature name: $ac_useropt"
1102 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1106 "enable_$ac_useropt"
1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1109 ac_unrecognized_sep=', ';;
1111 eval enable_$ac_useropt=\$ac_optarg ;;
1113 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1114 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1115 | --exec | --exe | --ex)
1116 ac_prev=exec_prefix ;;
1117 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1118 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1119 | --exec=* | --exe=* | --ex=*)
1120 exec_prefix=$ac_optarg ;;
1122 -gas | --gas | --ga | --g)
1123 # Obsolete; use --with-gas.
1126 -help | --help | --hel | --he | -h)
1127 ac_init_help=long ;;
1128 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1129 ac_init_help=recursive ;;
1130 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1131 ac_init_help=short ;;
1133 -host | --host | --hos | --ho)
1134 ac_prev=host_alias ;;
1135 -host=* | --host=* | --hos=* | --ho=*)
1136 host_alias=$ac_optarg ;;
1138 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1140 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1142 htmldir=$ac_optarg ;;
1144 -includedir | --includedir | --includedi | --included | --include \
1145 | --includ | --inclu | --incl | --inc)
1146 ac_prev=includedir ;;
1147 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1148 | --includ=* | --inclu=* | --incl=* | --inc=*)
1149 includedir=$ac_optarg ;;
1151 -infodir | --infodir | --infodi | --infod | --info | --inf)
1153 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1154 infodir=$ac_optarg ;;
1156 -libdir | --libdir | --libdi | --libd)
1158 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1159 libdir=$ac_optarg ;;
1161 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1162 | --libexe | --libex | --libe)
1163 ac_prev=libexecdir ;;
1164 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1165 | --libexe=* | --libex=* | --libe=*)
1166 libexecdir=$ac_optarg ;;
1168 -localedir | --localedir | --localedi | --localed | --locale)
1169 ac_prev=localedir ;;
1170 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1171 localedir=$ac_optarg ;;
1173 -localstatedir | --localstatedir | --localstatedi | --localstated \
1174 | --localstate | --localstat | --localsta | --localst | --locals)
1175 ac_prev=localstatedir ;;
1176 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1177 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1178 localstatedir=$ac_optarg ;;
1180 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1182 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1183 mandir=$ac_optarg ;;
1185 -nfp | --nfp | --nf)
1186 # Obsolete; use --without-fp.
1189 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1190 | --no-cr | --no-c | -n)
1193 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1194 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1197 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1198 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1199 | --oldin | --oldi | --old | --ol | --o)
1200 ac_prev=oldincludedir ;;
1201 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1202 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1203 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1204 oldincludedir=$ac_optarg ;;
1206 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1208 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1209 prefix=$ac_optarg ;;
1211 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1212 | --program-pre | --program-pr | --program-p)
1213 ac_prev=program_prefix ;;
1214 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1215 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1216 program_prefix=$ac_optarg ;;
1218 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1219 | --program-suf | --program-su | --program-s)
1220 ac_prev=program_suffix ;;
1221 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1222 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1223 program_suffix=$ac_optarg ;;
1225 -program-transform-name | --program-transform-name \
1226 | --program-transform-nam | --program-transform-na \
1227 | --program-transform-n | --program-transform- \
1228 | --program-transform | --program-transfor \
1229 | --program-transfo | --program-transf \
1230 | --program-trans | --program-tran \
1231 | --progr-tra | --program-tr | --program-t)
1232 ac_prev=program_transform_name ;;
1233 -program-transform-name=* | --program-transform-name=* \
1234 | --program-transform-nam=* | --program-transform-na=* \
1235 | --program-transform-n=* | --program-transform-=* \
1236 | --program-transform=* | --program-transfor=* \
1237 | --program-transfo=* | --program-transf=* \
1238 | --program-trans=* | --program-tran=* \
1239 | --progr-tra=* | --program-tr=* | --program-t=*)
1240 program_transform_name=$ac_optarg ;;
1242 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1244 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1245 pdfdir=$ac_optarg ;;
1247 -psdir | --psdir | --psdi | --psd | --ps)
1249 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1253 | -silent | --silent | --silen | --sile | --sil)
1256 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1258 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1260 sbindir=$ac_optarg ;;
1262 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1263 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1264 | --sharedst | --shareds | --shared | --share | --shar \
1266 ac_prev=sharedstatedir ;;
1267 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1268 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1269 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1271 sharedstatedir=$ac_optarg ;;
1273 -site | --site | --sit)
1275 -site=* | --site=* | --sit=*)
1278 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1280 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1281 srcdir=$ac_optarg ;;
1283 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1284 | --syscon | --sysco | --sysc | --sys | --sy)
1285 ac_prev=sysconfdir ;;
1286 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1287 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1288 sysconfdir=$ac_optarg ;;
1290 -target | --target | --targe | --targ | --tar | --ta | --t)
1291 ac_prev=target_alias ;;
1292 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1293 target_alias=$ac_optarg ;;
1295 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1298 -version | --version | --versio | --versi | --vers | -V)
1299 ac_init_version=: ;;
1302 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1303 # Reject names that are not valid shell variable names.
1304 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1305 as_fn_error $? "invalid package name: $ac_useropt"
1306 ac_useropt_orig=$ac_useropt
1307 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308 case $ac_user_opts in
1312 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1313 ac_unrecognized_sep=', ';;
1315 eval with_$ac_useropt=\$ac_optarg ;;
1317 -without-* | --without-*)
1318 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321 as_fn_error $? "invalid package name: $ac_useropt"
1322 ac_useropt_orig=$ac_useropt
1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324 case $ac_user_opts in
1328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1329 ac_unrecognized_sep=', ';;
1331 eval with_$ac_useropt=no ;;
1334 # Obsolete; use --with-x.
1337 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1338 | --x-incl | --x-inc | --x-in | --x-i)
1339 ac_prev=x_includes ;;
1340 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1341 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1342 x_includes=$ac_optarg ;;
1344 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1345 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1346 ac_prev=x_libraries ;;
1347 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1348 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1349 x_libraries=$ac_optarg ;;
1351 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1352 Try \`$0 --help' for more information"
1356 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1357 # Reject names that are not valid shell variable names.
1358 case $ac_envvar in #(
1359 '' | [0-9]* | *[!_$as_cr_alnum]* )
1360 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1362 eval $ac_envvar=\$ac_optarg
1363 export $ac_envvar ;;
1366 # FIXME: should be removed in autoconf 3.0.
1367 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1368 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1369 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1370 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1376 if test -n "$ac_prev"; then
1377 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1378 as_fn_error $? "missing argument to $ac_option"
1381 if test -n "$ac_unrecognized_opts"; then
1382 case $enable_option_checking in
1384 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1385 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1389 # Check all directory arguments for consistency.
1390 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1391 datadir sysconfdir sharedstatedir localstatedir includedir \
1392 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1393 libdir localedir mandir
1395 eval ac_val=\$$ac_var
1396 # Remove trailing slashes.
1399 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1400 eval $ac_var=\$ac_val;;
1402 # Be sure to have absolute directory names.
1404 [\\/$]* | ?:[\\/]* ) continue;;
1405 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1407 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1410 # There might be people who depend on the old broken behavior: `$host'
1411 # used to hold the argument of --host etc.
1412 # FIXME: To remove some day.
1415 target=$target_alias
1417 # FIXME: To remove some day.
1418 if test "x$host_alias" != x; then
1419 if test "x$build_alias" = x; then
1420 cross_compiling=maybe
1421 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1422 If a cross compiler is detected then cross compile mode will be used" >&2
1423 elif test "x$build_alias" != "x$host_alias"; then
1429 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1431 test "$silent" = yes && exec 6>/dev/null
1434 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1435 ac_ls_di=`ls -di .` &&
1436 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1437 as_fn_error $? "working directory cannot be determined"
1438 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1439 as_fn_error $? "pwd does not report name of working directory"
1442 # Find the source files, if location was not specified.
1443 if test -z "$srcdir"; then
1444 ac_srcdir_defaulted=yes
1445 # Try the directory containing this script, then the parent directory.
1446 ac_confdir=`$as_dirname -- "$as_myself" ||
1447 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1448 X"$as_myself" : 'X\(//\)[^/]' \| \
1449 X"$as_myself" : 'X\(//\)$' \| \
1450 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1451 $as_echo X"$as_myself" |
1452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1470 if test ! -r "$srcdir/$ac_unique_file"; then
1474 ac_srcdir_defaulted=no
1476 if test ! -r "$srcdir/$ac_unique_file"; then
1477 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1478 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1480 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1484 # When building in place, set srcdir=.
1485 if test "$ac_abs_confdir" = "$ac_pwd"; then
1488 # Remove unnecessary trailing slashes from srcdir.
1489 # Double slashes in file names in object file debugging info
1490 # mess up M-x gdb in Emacs.
1492 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 for ac_var in $ac_precious_vars; do
1495 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1496 eval ac_env_${ac_var}_value=\$${ac_var}
1497 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1498 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1502 # Report the --help message.
1504 if test "$ac_init_help" = "long"; then
1505 # Omit some internal or obsolete options to make the list less imposing.
1506 # This message is too long to be a string in the A/UX 3.1 sh.
1508 \`configure' configures opensaml 2.4 to adapt to many kinds of systems.
1510 Usage: $0 [OPTION]... [VAR=VALUE]...
1512 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1513 VAR=VALUE. See below for descriptions of some of the useful variables.
1515 Defaults for the options are specified in brackets.
1518 -h, --help display this help and exit
1519 --help=short display options specific to this package
1520 --help=recursive display the short help of all the included packages
1521 -V, --version display version information and exit
1522 -q, --quiet, --silent do not print \`checking ...' messages
1523 --cache-file=FILE cache test results in FILE [disabled]
1524 -C, --config-cache alias for \`--cache-file=config.cache'
1525 -n, --no-create do not create output files
1526 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1528 Installation directories:
1529 --prefix=PREFIX install architecture-independent files in PREFIX
1530 [$ac_default_prefix]
1531 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1534 By default, \`make install' will install all the files in
1535 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1536 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1537 for instance \`--prefix=\$HOME'.
1539 For better control, use the options below.
1541 Fine tuning of the installation directories:
1542 --bindir=DIR user executables [EPREFIX/bin]
1543 --sbindir=DIR system admin executables [EPREFIX/sbin]
1544 --libexecdir=DIR program executables [EPREFIX/libexec]
1545 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1546 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1547 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1548 --libdir=DIR object code libraries [EPREFIX/lib]
1549 --includedir=DIR C header files [PREFIX/include]
1550 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1551 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1552 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1553 --infodir=DIR info documentation [DATAROOTDIR/info]
1554 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1555 --mandir=DIR man documentation [DATAROOTDIR/man]
1556 --docdir=DIR documentation root [DATAROOTDIR/doc/opensaml]
1557 --htmldir=DIR html documentation [DOCDIR]
1558 --dvidir=DIR dvi documentation [DOCDIR]
1559 --pdfdir=DIR pdf documentation [DOCDIR]
1560 --psdir=DIR ps documentation [DOCDIR]
1566 --program-prefix=PREFIX prepend PREFIX to installed program names
1567 --program-suffix=SUFFIX append SUFFIX to installed program names
1568 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1571 --build=BUILD configure for building on BUILD [guessed]
1572 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1576 if test -n "$ac_init_help"; then
1577 case $ac_init_help in
1578 short | recursive ) echo "Configuration of opensaml 2.4:";;
1583 --disable-option-checking ignore unrecognized --enable/--with options
1584 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1585 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1586 --enable-static[=PKGS] build static libraries [default=no]
1587 --enable-shared[=PKGS] build shared libraries [default=yes]
1588 --enable-fast-install[=PKGS]
1589 optimize for fast installation [default=yes]
1590 --disable-dependency-tracking speeds up one-time build
1591 --enable-dependency-tracking do not reject slow dependency extractors
1592 --disable-libtool-lock avoid locking (might break parallel builds)
1593 --disable-doxygen-doc don't generate any doxygen documentation
1594 --disable-doxygen-dot don't generate graphics for doxygen documentation
1595 --enable-doxygen-man generate doxygen manual pages
1596 --enable-doxygen-rtf generate doxygen RTF documentation
1597 --enable-doxygen-xml generate doxygen XML documentation
1598 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1599 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1601 --disable-doxygen-html don't generate doxygen plain HTML documentation
1602 --enable-doxygen-ps generate doxygen PostScript documentation
1603 --enable-doxygen-pdf generate doxygen PDF documentation
1604 --enable-debug Have GCC compile with symbols (Default = no)
1607 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1608 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1609 --with-pic try to use only PIC/non-PIC objects [default=use
1611 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1612 --with-zlib=PATH where zlib is installed
1613 --with-openssl=PATH where openssl is installed
1614 --with-log4shib=PATH where log4shib-config is installed
1615 --with-log4cpp=PATH where log4cpp-config is installed
1616 --with-xerces=PATH where xerces-c is installed
1617 --with-xmlsec=PATH where xmlsec is installed
1618 --with-xmltooling=PATH where xmltooling is installed
1619 --with-cxxtest=PATH where cxxtest is installed
1621 Some influential environment variables:
1622 CC C compiler command
1623 CFLAGS C compiler flags
1624 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1625 nonstandard directory <lib dir>
1626 LIBS libraries to pass to the linker, e.g. -l<library>
1627 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1628 you have headers in a nonstandard directory <include dir>
1631 a4wide (default), a4, letter, legal or executive
1632 CXX C++ compiler command
1633 CXXFLAGS C++ compiler flags
1634 CXXCPP C++ preprocessor
1636 Use these variables to override the choices made by `configure' or to help
1637 it to find libraries and programs with nonstandard names/locations.
1639 Report bugs to <https://bugs.internet2.edu/>.
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1660 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1663 ac_abs_top_builddir=$ac_pwd
1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir=$ac_top_build_prefix
1669 .) # We are building in place.
1671 ac_top_srcdir=$ac_top_builddir_sub
1672 ac_abs_top_srcdir=$ac_pwd ;;
1673 [\\/]* | ?:[\\/]* ) # Absolute name.
1674 ac_srcdir=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir=$srcdir
1676 ac_abs_top_srcdir=$srcdir ;;
1678 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1684 cd "$ac_dir" || { ac_status=$?; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1695 cd "$ac_pwd" || { ac_status=$?; break; }
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1702 opensaml configure 2.4
1703 generated by GNU Autoconf 2.67
1705 Copyright (C) 2010 Free Software Foundation, Inc.
1706 This configure script is free software; the Free Software Foundation
1707 gives unlimited permission to copy, distribute and modify it.
1712 ## ------------------------ ##
1713 ## Autoconf initialization. ##
1714 ## ------------------------ ##
1716 # ac_fn_c_try_compile LINENO
1717 # --------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_try_compile ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext
1723 if { { ac_try="$ac_compile"
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_compile") 2>conftest.err
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest.$ac_objext; then :
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1749 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750 as_fn_set_status $ac_retval
1752 } # ac_fn_c_try_compile
1754 # ac_fn_c_try_link LINENO
1755 # -----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 rm -f conftest.$ac_objext conftest$ac_exeext
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest$ac_exeext && {
1780 test "$cross_compiling" = yes ||
1781 $as_test_x conftest$ac_exeext
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1790 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792 # interfere with the next link command; also delete a directory that is
1793 # left behind by Apple's compiler. We do this before executing the actions.
1794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 as_fn_set_status $ac_retval
1798 } # ac_fn_c_try_link
1800 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1801 # -------------------------------------------------------
1802 # Tests whether HEADER exists and can be compiled using the include files in
1803 # INCLUDES, setting the cache variable VAR accordingly.
1804 ac_fn_c_check_header_compile ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval "test \"\${$3+set}\"" = set; then :
1810 $as_echo_n "(cached) " >&6
1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1817 if ac_fn_c_try_compile "$LINENO"; then :
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 } # ac_fn_c_check_header_compile
1831 # ac_fn_c_try_cpp LINENO
1832 # ----------------------
1833 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if { { ac_try="$ac_cpp conftest.$ac_ext"
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } > conftest.i && {
1853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864 as_fn_set_status $ac_retval
1868 # ac_fn_c_try_run LINENO
1869 # ----------------------
1870 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1871 # that executables *can* be run.
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 if { { ac_try="$ac_link"
1877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878 *) ac_try_echo=$ac_try;;
1880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881 $as_echo "$ac_try_echo"; } >&5
1882 (eval "$ac_link") 2>&5
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1886 { { case "(($ac_try" in
1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_try") 2>&5
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; }; }; then :
1898 $as_echo "$as_me: program exited with status $ac_status" >&5
1899 $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1902 ac_retval=$ac_status
1904 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1905 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1906 as_fn_set_status $ac_retval
1910 # ac_fn_c_check_func LINENO FUNC VAR
1911 # ----------------------------------
1912 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1913 ac_fn_c_check_func ()
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if eval "test \"\${$3+set}\"" = set; then :
1919 $as_echo_n "(cached) " >&6
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1925 #define $2 innocuous_$2
1927 /* System header to define __stub macros and hopefully few prototypes,
1928 which can conflict with char $2 (); below.
1929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930 <limits.h> exists even on freestanding compilers. */
1933 # include <limits.h>
1935 # include <assert.h>
1940 /* Override any GCC internal prototype to avoid an error.
1941 Use char because int might match the return type of a GCC
1942 builtin and then its argument prototype would still apply. */
1947 /* The GNU C library defines this for functions which it implements
1948 to always fail with ENOSYS. Some functions are actually named
1949 something starting with __ and the normal name is an alias. */
1950 #if defined __stub_$2 || defined __stub___$2
1962 if ac_fn_c_try_link "$LINENO"; then :
1967 rm -f core conftest.err conftest.$ac_objext \
1968 conftest$ac_exeext conftest.$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1975 } # ac_fn_c_check_func
1977 # ac_fn_cxx_try_compile LINENO
1978 # ----------------------------
1979 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1980 ac_fn_cxx_try_compile ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 rm -f conftest.$ac_objext
1984 if { { ac_try="$ac_compile"
1986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_compile") 2>conftest.err
1993 if test -s conftest.err; then
1994 grep -v '^ *+' conftest.err >conftest.er1
1995 cat conftest.er1 >&5
1996 mv -f conftest.er1 conftest.err
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; } && {
2000 test -z "$ac_cxx_werror_flag" ||
2001 test ! -s conftest.err
2002 } && test -s conftest.$ac_objext; then :
2005 $as_echo "$as_me: failed program was:" >&5
2006 sed 's/^/| /' conftest.$ac_ext >&5
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011 as_fn_set_status $ac_retval
2013 } # ac_fn_cxx_try_compile
2015 # ac_fn_cxx_try_cpp LINENO
2016 # ------------------------
2017 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2018 ac_fn_cxx_try_cpp ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 if { { ac_try="$ac_cpp conftest.$ac_ext"
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027 $as_echo "$ac_try_echo"; } >&5
2028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2030 if test -s conftest.err; then
2031 grep -v '^ *+' conftest.err >conftest.er1
2032 cat conftest.er1 >&5
2033 mv -f conftest.er1 conftest.err
2035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036 test $ac_status = 0; } > conftest.i && {
2037 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2038 test ! -s conftest.err
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.$ac_ext >&5
2047 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2048 as_fn_set_status $ac_retval
2050 } # ac_fn_cxx_try_cpp
2052 # ac_fn_cxx_try_link LINENO
2053 # -------------------------
2054 # Try to link conftest.$ac_ext, and return whether this succeeded.
2055 ac_fn_cxx_try_link ()
2057 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2058 rm -f conftest.$ac_objext conftest$ac_exeext
2059 if { { ac_try="$ac_link"
2061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2062 *) ac_try_echo=$ac_try;;
2064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2065 $as_echo "$ac_try_echo"; } >&5
2066 (eval "$ac_link") 2>conftest.err
2068 if test -s conftest.err; then
2069 grep -v '^ *+' conftest.err >conftest.er1
2070 cat conftest.er1 >&5
2071 mv -f conftest.er1 conftest.err
2073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2074 test $ac_status = 0; } && {
2075 test -z "$ac_cxx_werror_flag" ||
2076 test ! -s conftest.err
2077 } && test -s conftest$ac_exeext && {
2078 test "$cross_compiling" = yes ||
2079 $as_test_x conftest$ac_exeext
2083 $as_echo "$as_me: failed program was:" >&5
2084 sed 's/^/| /' conftest.$ac_ext >&5
2088 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2089 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2090 # interfere with the next link command; also delete a directory that is
2091 # left behind by Apple's compiler. We do this before executing the actions.
2092 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2093 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2094 as_fn_set_status $ac_retval
2096 } # ac_fn_cxx_try_link
2098 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2099 # -------------------------------------------
2100 # Tests whether TYPE exists after having included INCLUDES, setting cache
2101 # variable VAR accordingly.
2102 ac_fn_c_check_type ()
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if eval "test \"\${$3+set}\"" = set; then :
2108 $as_echo_n "(cached) " >&6
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2136 if ac_fn_c_try_compile "$LINENO"; then :
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 $as_echo "$ac_res" >&6; }
2148 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2150 } # ac_fn_c_check_type
2152 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2153 # --------------------------------------------
2154 # Tries to find the compile-time value of EXPR in a program that includes
2155 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2157 ac_fn_c_compute_int ()
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 if test "$cross_compiling" = yes; then
2161 # Depending upon the size, compute the lo and hi bounds.
2162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2168 static int test_array [1 - 2 * !(($2) >= 0)];
2175 if ac_fn_c_try_compile "$LINENO"; then :
2178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179 /* end confdefs.h. */
2184 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2191 if ac_fn_c_try_compile "$LINENO"; then :
2192 ac_hi=$ac_mid; break
2194 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2195 if test $ac_lo -le $ac_mid; then
2199 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2210 static int test_array [1 - 2 * !(($2) < 0)];
2217 if ac_fn_c_try_compile "$LINENO"; then :
2220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h. */
2226 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2233 if ac_fn_c_try_compile "$LINENO"; then :
2234 ac_lo=$ac_mid; break
2236 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2237 if test $ac_mid -le $ac_hi; then
2241 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 # Binary search between lo and hi bounds.
2252 while test "x$ac_lo" != "x$ac_hi"; do
2253 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2255 /* end confdefs.h. */
2260 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2267 if ac_fn_c_try_compile "$LINENO"; then :
2270 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2275 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2280 /* end confdefs.h. */
2282 static long int longval () { return $2; }
2283 static unsigned long int ulongval () { return $2; }
2290 FILE *f = fopen ("conftest.val", "w");
2295 long int i = longval ();
2298 fprintf (f, "%ld", i);
2302 unsigned long int i = ulongval ();
2305 fprintf (f, "%lu", i);
2307 /* Do not output a trailing newline, as this causes \r\n confusion
2308 on some platforms. */
2309 return ferror (f) || fclose (f) != 0;
2315 if ac_fn_c_try_run "$LINENO"; then :
2316 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2321 conftest.$ac_objext conftest.beam conftest.$ac_ext
2325 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_c_compute_int
2330 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2331 # -------------------------------------------------------
2332 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2333 # the include files in INCLUDES and setting the cache variable VAR
2335 ac_fn_c_check_header_mongrel ()
2337 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2338 if eval "test \"\${$3+set}\"" = set; then :
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2340 $as_echo_n "checking for $2... " >&6; }
2341 if eval "test \"\${$3+set}\"" = set; then :
2342 $as_echo_n "(cached) " >&6
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2346 $as_echo "$ac_res" >&6; }
2348 # Is the header compilable?
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2350 $as_echo_n "checking $2 usability... " >&6; }
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2356 if ac_fn_c_try_compile "$LINENO"; then :
2357 ac_header_compiler=yes
2359 ac_header_compiler=no
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2363 $as_echo "$ac_header_compiler" >&6; }
2365 # Is the header present?
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2367 $as_echo_n "checking $2 presence... " >&6; }
2368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369 /* end confdefs.h. */
2372 if ac_fn_c_try_cpp "$LINENO"; then :
2373 ac_header_preproc=yes
2375 ac_header_preproc=no
2377 rm -f conftest.err conftest.i conftest.$ac_ext
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2379 $as_echo "$ac_header_preproc" >&6; }
2381 # So? What about this header?
2382 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2385 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2387 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2391 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2393 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2395 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2397 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2399 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2400 ( $as_echo "## ------------------------------------------ ##
2401 ## Report this to https://bugs.internet2.edu/ ##
2402 ## ------------------------------------------ ##"
2403 ) | sed "s/^/$as_me: WARNING: /" >&2
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2407 $as_echo_n "checking for $2... " >&6; }
2408 if eval "test \"\${$3+set}\"" = set; then :
2409 $as_echo_n "(cached) " >&6
2411 eval "$3=\$ac_header_compiler"
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2415 $as_echo "$ac_res" >&6; }
2417 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2419 } # ac_fn_c_check_header_mongrel
2421 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2422 # ---------------------------------------------------------
2423 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2424 # the include files in INCLUDES and setting the cache variable VAR
2426 ac_fn_cxx_check_header_mongrel ()
2428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2429 if eval "test \"\${$3+set}\"" = set; then :
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431 $as_echo_n "checking for $2... " >&6; }
2432 if eval "test \"\${$3+set}\"" = set; then :
2433 $as_echo_n "(cached) " >&6
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2439 # Is the header compilable?
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2441 $as_echo_n "checking $2 usability... " >&6; }
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2447 if ac_fn_cxx_try_compile "$LINENO"; then :
2448 ac_header_compiler=yes
2450 ac_header_compiler=no
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2454 $as_echo "$ac_header_compiler" >&6; }
2456 # Is the header present?
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2458 $as_echo_n "checking $2 presence... " >&6; }
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2463 if ac_fn_cxx_try_cpp "$LINENO"; then :
2464 ac_header_preproc=yes
2466 ac_header_preproc=no
2468 rm -f conftest.err conftest.i conftest.$ac_ext
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2470 $as_echo "$ac_header_preproc" >&6; }
2472 # So? What about this header?
2473 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2476 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2478 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2482 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2484 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2486 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2488 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2490 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2491 ( $as_echo "## ------------------------------------------ ##
2492 ## Report this to https://bugs.internet2.edu/ ##
2493 ## ------------------------------------------ ##"
2494 ) | sed "s/^/$as_me: WARNING: /" >&2
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2498 $as_echo_n "checking for $2... " >&6; }
2499 if eval "test \"\${$3+set}\"" = set; then :
2500 $as_echo_n "(cached) " >&6
2502 eval "$3=\$ac_header_compiler"
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2506 $as_echo "$ac_res" >&6; }
2508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2510 } # ac_fn_cxx_check_header_mongrel
2511 cat >config.log <<_ACEOF
2512 This file contains any messages produced by compilers while
2513 running configure, to aid debugging if configure makes a mistake.
2515 It was created by opensaml $as_me 2.4, which was
2516 generated by GNU Autoconf 2.67. Invocation command line was
2528 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2529 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2530 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2531 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2532 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2534 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2535 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2537 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2538 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2539 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2540 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2541 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2542 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2543 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 $as_echo "PATH: $as_dir"
2568 # Keep a trace of the command line.
2569 # Strip out --no-create and --no-recursion so they do not pile up.
2570 # Strip out --silent because we don't want to record it for future runs.
2571 # Also quote any args containing shell meta-characters.
2572 # Make two passes to allow for proper duplicate-argument suppression.
2576 ac_must_keep_next=false
2582 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2583 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2584 | -silent | --silent | --silen | --sile | --sil)
2587 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2590 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2592 as_fn_append ac_configure_args1 " '$ac_arg'"
2593 if test $ac_must_keep_next = true; then
2594 ac_must_keep_next=false # Got value, back to normal.
2597 *=* | --config-cache | -C | -disable-* | --disable-* \
2598 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2599 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2600 | -with-* | --with-* | -without-* | --without-* | --x)
2601 case "$ac_configure_args0 " in
2602 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2605 -* ) ac_must_keep_next=true ;;
2608 as_fn_append ac_configure_args " '$ac_arg'"
2613 { ac_configure_args0=; unset ac_configure_args0;}
2614 { ac_configure_args1=; unset ac_configure_args1;}
2616 # When interrupted or exit'd, cleanup temporary files, and complete
2617 # config.log. We remove comments because anyway the quotes in there
2618 # would cause problems or look ugly.
2619 # WARNING: Use '\'' to represent an apostrophe within the trap.
2620 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2621 trap 'exit_status=$?
2622 # Save into config.log some information that might help in debugging.
2626 $as_echo "## ---------------- ##
2627 ## Cache variables. ##
2628 ## ---------------- ##"
2630 # The following way of writing the cache mishandles newlines in values,
2632 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2633 eval ac_val=\$$ac_var
2637 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2638 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2641 _ | IFS | as_nl) ;; #(
2642 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2643 *) { eval $ac_var=; unset $ac_var;} ;;
2648 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2649 *${as_nl}ac_space=\ *)
2651 "s/'\''/'\''\\\\'\'''\''/g;
2652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2662 $as_echo "## ----------------- ##
2663 ## Output variables. ##
2664 ## ----------------- ##"
2666 for ac_var in $ac_subst_vars
2668 eval ac_val=\$$ac_var
2670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2672 $as_echo "$ac_var='\''$ac_val'\''"
2676 if test -n "$ac_subst_files"; then
2677 $as_echo "## ------------------- ##
2678 ## File substitutions. ##
2679 ## ------------------- ##"
2681 for ac_var in $ac_subst_files
2683 eval ac_val=\$$ac_var
2685 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2687 $as_echo "$ac_var='\''$ac_val'\''"
2692 if test -s confdefs.h; then
2693 $as_echo "## ----------- ##
2700 test "$ac_signal" != 0 &&
2701 $as_echo "$as_me: caught signal $ac_signal"
2702 $as_echo "$as_me: exit $exit_status"
2704 rm -f core *.core core.conftest.* &&
2705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2708 for ac_signal in 1 2 13 15; do
2709 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2714 rm -f -r conftest* confdefs.h
2716 $as_echo "/* confdefs.h */" > confdefs.h
2718 # Predefined preprocessor variables.
2720 cat >>confdefs.h <<_ACEOF
2721 #define PACKAGE_NAME "$PACKAGE_NAME"
2724 cat >>confdefs.h <<_ACEOF
2725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2728 cat >>confdefs.h <<_ACEOF
2729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2732 cat >>confdefs.h <<_ACEOF
2733 #define PACKAGE_STRING "$PACKAGE_STRING"
2736 cat >>confdefs.h <<_ACEOF
2737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2740 cat >>confdefs.h <<_ACEOF
2741 #define PACKAGE_URL "$PACKAGE_URL"
2745 # Let the site file select an alternate cache file if it wants to.
2746 # Prefer an explicitly selected file to automatically selected ones.
2749 if test -n "$CONFIG_SITE"; then
2750 # We do not want a PATH search for config.site.
2751 case $CONFIG_SITE in #((
2752 -*) ac_site_file1=./$CONFIG_SITE;;
2753 */*) ac_site_file1=$CONFIG_SITE;;
2754 *) ac_site_file1=./$CONFIG_SITE;;
2756 elif test "x$prefix" != xNONE; then
2757 ac_site_file1=$prefix/share/config.site
2758 ac_site_file2=$prefix/etc/config.site
2760 ac_site_file1=$ac_default_prefix/share/config.site
2761 ac_site_file2=$ac_default_prefix/etc/config.site
2763 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2765 test "x$ac_site_file" = xNONE && continue
2766 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2768 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2769 sed 's/^/| /' "$ac_site_file" >&5
2771 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2773 as_fn_error $? "failed to load site script $ac_site_file
2774 See \`config.log' for more details" "$LINENO" 5 ; }
2778 if test -r "$cache_file"; then
2779 # Some versions of bash will fail to source /dev/null (special files
2780 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2781 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2783 $as_echo "$as_me: loading cache $cache_file" >&6;}
2785 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2786 *) . "./$cache_file";;
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2791 $as_echo "$as_me: creating cache $cache_file" >&6;}
2795 # Check that the precious variables saved in the cache have kept the same
2797 ac_cache_corrupted=false
2798 for ac_var in $ac_precious_vars; do
2799 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2800 eval ac_new_set=\$ac_env_${ac_var}_set
2801 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2802 eval ac_new_val=\$ac_env_${ac_var}_value
2803 case $ac_old_set,$ac_new_set in
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2806 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2807 ac_cache_corrupted=: ;;
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2810 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2811 ac_cache_corrupted=: ;;
2814 if test "x$ac_old_val" != "x$ac_new_val"; then
2815 # differences in whitespace do not lead to failure.
2816 ac_old_val_w=`echo x $ac_old_val`
2817 ac_new_val_w=`echo x $ac_new_val`
2818 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2820 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2821 ac_cache_corrupted=:
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2824 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2825 eval $ac_var=\$ac_old_val
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2828 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2830 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2833 # Pass precious variables to config.status.
2834 if test "$ac_new_set" = set; then
2836 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2837 *) ac_arg=$ac_var=$ac_new_val ;;
2839 case " $ac_configure_args " in
2840 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2841 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2845 if $ac_cache_corrupted; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2850 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2852 ## -------------------- ##
2853 ## Main body of script. ##
2854 ## -------------------- ##
2857 ac_cpp='$CPP $CPPFLAGS'
2858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2865 for ac_dir in build-aux "$srcdir"/build-aux; do
2866 if test -f "$ac_dir/install-sh"; then
2868 ac_install_sh="$ac_aux_dir/install-sh -c"
2870 elif test -f "$ac_dir/install.sh"; then
2872 ac_install_sh="$ac_aux_dir/install.sh -c"
2874 elif test -f "$ac_dir/shtool"; then
2876 ac_install_sh="$ac_aux_dir/shtool install -c"
2880 if test -z "$ac_aux_dir"; then
2881 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2884 # These three variables are undocumented and unsupported,
2885 # and are intended to be withdrawn in a future Autoconf release.
2886 # They can cause serious problems if a builder's source tree is in a directory
2887 # whose full name contains unusual characters.
2888 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2889 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2890 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2894 am__api_version='1.11'
2896 # Find a good install program. We prefer a C program (faster),
2897 # so one script is as good as another. But avoid the broken or
2898 # incompatible versions:
2899 # SysV /etc/install, /usr/sbin/install
2900 # SunOS /usr/etc/install
2901 # IRIX /sbin/install
2903 # AmigaOS /C/install, which installs bootblocks on floppy discs
2904 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2905 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2906 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2907 # OS/2's system install, which has a completely different semantic
2908 # ./install, which can be erroneously created by make from ./install.sh.
2909 # Reject install programs that cannot install multiple files.
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2911 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2912 if test -z "$INSTALL"; then
2913 if test "${ac_cv_path_install+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir=.
2921 # Account for people who put trailing slashes in PATH elements.
2922 case $as_dir/ in #((
2923 ./ | .// | /[cC]/* | \
2924 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2925 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2928 # OSF1 and SCO ODT 3.0 have their own names for install.
2929 # Don't use installbsd from OSF since it installs stuff as root
2931 for ac_prog in ginstall scoinst install; do
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2934 if test $ac_prog = install &&
2935 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2936 # AIX install. It has an incompatible calling convention.
2938 elif test $ac_prog = install &&
2939 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2940 # program-specific install script used by HP pwplus--don't use.
2943 rm -rf conftest.one conftest.two conftest.dir
2944 echo one > conftest.one
2945 echo two > conftest.two
2947 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2948 test -s conftest.one && test -s conftest.two &&
2949 test -s conftest.dir/conftest.one &&
2950 test -s conftest.dir/conftest.two
2952 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2965 rm -rf conftest.one conftest.two conftest.dir
2968 if test "${ac_cv_path_install+set}" = set; then
2969 INSTALL=$ac_cv_path_install
2971 # As a last resort, use the slow shell script. Don't cache a
2972 # value for INSTALL within a source directory, because that will
2973 # break other packages using the cache if that directory is
2974 # removed, or if the value is a relative name.
2975 INSTALL=$ac_install_sh
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2979 $as_echo "$INSTALL" >&6; }
2981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2982 # It thinks the first close brace ends the variable substitution.
2983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2990 $as_echo_n "checking whether build environment is sane... " >&6; }
2993 echo timestamp > conftest.file
2994 # Reject unsafe characters in $srcdir or the absolute working directory
2995 # name. Accept space and tab only in the latter.
2999 *[\\\"\#\$\&\'\`$am_lf]*)
3000 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3003 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3004 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3007 # Do `set' in a subshell so we don't clobber the current shell's
3008 # arguments. Must try -L first in case configure is actually a
3009 # symlink; some systems play weird games with the mod time of symlinks
3010 # (eg FreeBSD returns the mod time of the symlink's containing
3013 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3014 if test "$*" = "X"; then
3016 set X `ls -t "$srcdir/configure" conftest.file`
3019 if test "$*" != "X $srcdir/configure conftest.file" \
3020 && test "$*" != "X conftest.file $srcdir/configure"; then
3022 # If neither matched, then we have a broken ls. This can happen
3023 # if, for instance, CONFIG_SHELL is bash and it inherits a
3024 # broken ls alias from the environment. This has actually
3025 # happened. Such a system could not be considered "sane".
3026 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3027 alias in your environment" "$LINENO" 5
3030 test "$2" = conftest.file
3036 as_fn_error $? "newly created file is older than distributed files!
3037 Check your system clock" "$LINENO" 5
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3040 $as_echo "yes" >&6; }
3041 test "$program_prefix" != NONE &&
3042 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3043 # Use a double $ so make ignores it.
3044 test "$program_suffix" != NONE &&
3045 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3046 # Double any \ or $.
3047 # By default was `s,x,x', remove it if useless.
3048 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3049 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3051 # expand $ac_aux_dir to an absolute path
3052 am_aux_dir=`cd $ac_aux_dir && pwd`
3054 if test x"${MISSING+set}" != xset; then
3057 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3059 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3062 # Use eval to expand $SHELL
3063 if eval "$MISSING --run true"; then
3064 am_missing_run="$MISSING --run "
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3068 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3071 if test x"${install_sh}" != xset; then
3074 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3076 install_sh="\${SHELL} $am_aux_dir/install-sh"
3080 # Installed binaries are usually stripped using `strip' when the user
3081 # run `make install-strip'. However `strip' might not be the right
3082 # tool to use in cross-compilation environments, therefore Automake
3083 # will honor the `STRIP' environment variable to overrule this program.
3084 if test "$cross_compiling" != no; then
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3087 set dummy ${ac_tool_prefix}strip; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_STRIP+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$STRIP"; then
3094 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 STRIP=$ac_cv_prog_STRIP
3114 if test -n "$STRIP"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3116 $as_echo "$STRIP" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3124 if test -z "$ac_cv_prog_STRIP"; then
3126 # Extract the first word of "strip", so it can be a program name with args.
3127 set dummy strip; ac_word=$2
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3131 $as_echo_n "(cached) " >&6
3133 if test -n "$ac_ct_STRIP"; then
3134 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140 test -z "$as_dir" && as_dir=.
3141 for ac_exec_ext in '' $ac_executable_extensions; do
3142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143 ac_cv_prog_ac_ct_STRIP="strip"
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3154 if test -n "$ac_ct_STRIP"; then
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3156 $as_echo "$ac_ct_STRIP" >&6; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3162 if test "x$ac_ct_STRIP" = x; then
3165 case $cross_compiling:$ac_tool_warned in
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3169 ac_tool_warned=yes ;;
3174 STRIP="$ac_cv_prog_STRIP"
3178 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3181 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3182 if test -z "$MKDIR_P"; then
3183 if test "${ac_cv_path_mkdir+set}" = set; then :
3184 $as_echo_n "(cached) " >&6
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3190 test -z "$as_dir" && as_dir=.
3191 for ac_prog in mkdir gmkdir; do
3192 for ac_exec_ext in '' $ac_executable_extensions; do
3193 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3194 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3195 'mkdir (GNU coreutils) '* | \
3196 'mkdir (coreutils) '* | \
3197 'mkdir (fileutils) '4.1*)
3198 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3208 test -d ./--version && rmdir ./--version
3209 if test "${ac_cv_path_mkdir+set}" = set; then
3210 MKDIR_P="$ac_cv_path_mkdir -p"
3212 # As a last resort, use the slow shell script. Don't cache a
3213 # value for MKDIR_P within a source directory, because that will
3214 # break other packages using the cache if that directory is
3215 # removed, or if the value is a relative name.
3216 MKDIR_P="$ac_install_sh -d"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3220 $as_echo "$MKDIR_P" >&6; }
3224 [\\/$]* | ?:[\\/]*) ;;
3225 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3228 for ac_prog in gawk mawk nawk awk
3230 # Extract the first word of "$ac_prog", so it can be a program name with args.
3231 set dummy $ac_prog; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if test "${ac_cv_prog_AWK+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3237 if test -n "$AWK"; then
3238 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247 ac_cv_prog_AWK="$ac_prog"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 if test -n "$AWK"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3260 $as_echo "$AWK" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3267 test -n "$AWK" && break
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3271 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3273 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3274 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3275 $as_echo_n "(cached) " >&6
3277 cat >conftest.make <<\_ACEOF
3280 @echo '@@@%%%=$(MAKE)=@@@%%%'
3282 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3283 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3285 eval ac_cv_prog_make_${ac_make}_set=yes;;
3287 eval ac_cv_prog_make_${ac_make}_set=no;;
3291 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3293 $as_echo "yes" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3298 SET_MAKE="MAKE=${MAKE-make}"
3301 rm -rf .tst 2>/dev/null
3302 mkdir .tst 2>/dev/null
3303 if test -d .tst; then
3308 rmdir .tst 2>/dev/null
3310 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3311 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3312 # is not polluted with repeated "-I."
3313 am__isrc=' -I$(srcdir)'
3314 # test to see if srcdir already configured
3315 if test -f $srcdir/config.status; then
3316 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3320 # test whether we have cygpath
3321 if test -z "$CYGPATH_W"; then
3322 if (cygpath --version) >/dev/null 2>/dev/null; then
3323 CYGPATH_W='cygpath -w'
3330 # Define the identity of the package.
3335 cat >>confdefs.h <<_ACEOF
3336 #define PACKAGE "$PACKAGE"
3340 cat >>confdefs.h <<_ACEOF
3341 #define VERSION "$VERSION"
3344 # Some tools Automake needs.
3346 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3349 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3352 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3355 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3358 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3360 # We need awk for the "check" target. The system "awk" is bad on
3362 # Always define AMTAR for backward compatibility.
3364 AMTAR=${AMTAR-"${am_missing_run}tar"}
3366 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3372 # Check whether --enable-static was given.
3373 if test "${enable_static+set}" = set; then :
3374 enableval=$enable_static; p=${PACKAGE-default}
3376 yes) enable_static=yes ;;
3377 no) enable_static=no ;;
3380 # Look at the argument we got. We use all the common list separators.
3381 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3382 for pkg in $enableval; do
3384 if test "X$pkg" = "X$p"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3406 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3411 macro_version='2.2.6b'
3412 macro_revision='1.3017'
3426 ltmain="$ac_aux_dir/ltmain.sh"
3428 # Make sure we can run config.sub.
3429 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3430 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3433 $as_echo_n "checking build system type... " >&6; }
3434 if test "${ac_cv_build+set}" = set; then :
3435 $as_echo_n "(cached) " >&6
3437 ac_build_alias=$build_alias
3438 test "x$ac_build_alias" = x &&
3439 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3440 test "x$ac_build_alias" = x &&
3441 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3442 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3443 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3447 $as_echo "$ac_cv_build" >&6; }
3448 case $ac_cv_build in
3450 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3453 ac_save_IFS=$IFS; IFS='-'
3459 # Remember, the first character of IFS is used to create $*,
3460 # except with old shells:
3463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3467 $as_echo_n "checking host system type... " >&6; }
3468 if test "${ac_cv_host+set}" = set; then :
3469 $as_echo_n "(cached) " >&6
3471 if test "x$host_alias" = x; then
3472 ac_cv_host=$ac_cv_build
3474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3475 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3480 $as_echo "$ac_cv_host" >&6; }
3483 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3486 ac_save_IFS=$IFS; IFS='-'
3492 # Remember, the first character of IFS is used to create $*,
3493 # except with old shells:
3496 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3499 DEPDIR="${am__leading_dot}deps"
3501 ac_config_commands="$ac_config_commands depfiles"
3504 am_make=${MAKE-make}
3505 cat > confinc << 'END'
3507 @echo this is the am__doit target
3510 # If we don't find an include directive, just comment out the code.
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3512 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3516 # First try GNU make style include.
3517 echo "include confinc" > confmf
3518 # Ignore all kinds of additional output from `make'.
3519 case `$am_make -s -f confmf 2> /dev/null` in #(
3520 *the\ am__doit\ target*)
3526 # Now try BSD make style include.
3527 if test "$am__include" = "#"; then
3528 echo '.include "confinc"' > confmf
3529 case `$am_make -s -f confmf 2> /dev/null` in #(
3530 *the\ am__doit\ target*)
3531 am__include=.include
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3540 $as_echo "$_am_result" >&6; }
3541 rm -f confinc confmf
3543 # Check whether --enable-dependency-tracking was given.
3544 if test "${enable_dependency_tracking+set}" = set; then :
3545 enableval=$enable_dependency_tracking;
3548 if test "x$enable_dependency_tracking" != xno; then
3549 am_depcomp="$ac_aux_dir/depcomp"
3552 if test "x$enable_dependency_tracking" != xno; then
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3566 if test -n "$ac_tool_prefix"; then
3567 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3568 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if test "${ac_cv_prog_CC+set}" = set; then :
3572 $as_echo_n "(cached) " >&6
3574 if test -n "$CC"; then
3575 ac_cv_prog_CC="$CC" # Let the user override the test.
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test -n "$CC"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 $as_echo "$CC" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3605 if test -z "$ac_cv_prog_CC"; then
3607 # Extract the first word of "gcc", so it can be a program name with args.
3608 set dummy gcc; ac_word=$2
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3610 $as_echo_n "checking for $ac_word... " >&6; }
3611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3612 $as_echo_n "(cached) " >&6
3614 if test -n "$ac_ct_CC"; then
3615 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 test -z "$as_dir" && as_dir=.
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3624 ac_cv_prog_ac_ct_CC="gcc"
3625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3635 if test -n "$ac_ct_CC"; then
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3637 $as_echo "$ac_ct_CC" >&6; }
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3640 $as_echo "no" >&6; }
3643 if test "x$ac_ct_CC" = x; then
3646 case $cross_compiling:$ac_tool_warned in
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3650 ac_tool_warned=yes ;;
3658 if test -z "$CC"; then
3659 if test -n "$ac_tool_prefix"; then
3660 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3661 set dummy ${ac_tool_prefix}cc; ac_word=$2
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3663 $as_echo_n "checking for $ac_word... " >&6; }
3664 if test "${ac_cv_prog_CC+set}" = set; then :
3665 $as_echo_n "(cached) " >&6
3667 if test -n "$CC"; then
3668 ac_cv_prog_CC="$CC" # Let the user override the test.
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir=.
3675 for ac_exec_ext in '' $ac_executable_extensions; do
3676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3677 ac_cv_prog_CC="${ac_tool_prefix}cc"
3678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 if test -n "$CC"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3690 $as_echo "$CC" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3699 if test -z "$CC"; then
3700 # Extract the first word of "cc", so it can be a program name with args.
3701 set dummy cc; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if test "${ac_cv_prog_CC+set}" = set; then :
3705 $as_echo_n "(cached) " >&6
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3719 ac_prog_rejected=yes
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 if test $ac_prog_rejected = yes; then
3731 # We found a bogon in the path, so make sure we never use it.
3732 set dummy $ac_cv_prog_CC
3734 if test $# != 0; then
3735 # We chose a different compiler from the bogus one.
3736 # However, it has the same basename, so the bogon will be chosen
3737 # first if we set CC to just the basename; use the full file name.
3739 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3745 if test -n "$CC"; then
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3747 $as_echo "$CC" >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3755 if test -z "$CC"; then
3756 if test -n "$ac_tool_prefix"; then
3757 for ac_prog in cl.exe
3759 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3760 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3762 $as_echo_n "checking for $ac_word... " >&6; }
3763 if test "${ac_cv_prog_CC+set}" = set; then :
3764 $as_echo_n "(cached) " >&6
3766 if test -n "$CC"; then
3767 ac_cv_prog_CC="$CC" # Let the user override the test.
3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir=.
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3776 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 if test -n "$CC"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3789 $as_echo "$CC" >&6; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3796 test -n "$CC" && break
3799 if test -z "$CC"; then
3801 for ac_prog in cl.exe
3803 # Extract the first word of "$ac_prog", so it can be a program name with args.
3804 set dummy $ac_prog; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3808 $as_echo_n "(cached) " >&6
3810 if test -n "$ac_ct_CC"; then
3811 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3820 ac_cv_prog_ac_ct_CC="$ac_prog"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3831 if test -n "$ac_ct_CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3833 $as_echo "$ac_ct_CC" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3840 test -n "$ac_ct_CC" && break
3843 if test "x$ac_ct_CC" = x; then
3846 case $cross_compiling:$ac_tool_warned in
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3850 ac_tool_warned=yes ;;
3859 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3861 as_fn_error $? "no acceptable C compiler found in \$PATH
3862 See \`config.log' for more details" "$LINENO" 5 ; }
3864 # Provide some information about the compiler.
3865 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3868 for ac_option in --version -v -V -qversion; do
3869 { { ac_try="$ac_compiler $ac_option >&5"
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3878 if test -s conftest.err; then
3880 ... rest of stderr output deleted ...
3881 10q' conftest.err >conftest.er1
3882 cat conftest.er1 >&5
3884 rm -f conftest.er1 conftest.err
3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3900 ac_clean_files_save=$ac_clean_files
3901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3902 # Try to create an executable without -o first, disregard a.out.
3903 # It will help us diagnose broken compilers, and finding out an intuition
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3906 $as_echo_n "checking whether the C compiler works... " >&6; }
3907 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3909 # The possible output files:
3910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3913 for ac_file in $ac_files
3916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3917 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922 if { { ac_try="$ac_link_default"
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_link_default") 2>&5
3931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932 test $ac_status = 0; }; then :
3933 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3935 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3936 # so that the user can short-circuit this test for compilers unknown to
3938 for ac_file in $ac_files ''
3940 test -f "$ac_file" || continue
3942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3945 # We found the default executable, but exeext='' is most
3949 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3951 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 # We set ac_cv_exeext here because the later test for it is not
3954 # safe: cross compilers may not add the suffix if given an `-o'
3955 # argument, so we may need to know it at that point already.
3956 # Even if this section looks crufty: it has the advantage of
3963 test "$ac_cv_exeext" = no && ac_cv_exeext=
3968 if test -z "$ac_file"; then :
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3971 $as_echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 as_fn_error 77 "C compiler cannot create executables
3977 See \`config.log' for more details" "$LINENO" 5 ; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3980 $as_echo "yes" >&6; }
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3983 $as_echo_n "checking for C compiler default output file name... " >&6; }
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3985 $as_echo "$ac_file" >&6; }
3986 ac_exeext=$ac_cv_exeext
3988 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3989 ac_clean_files=$ac_clean_files_save
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3991 $as_echo_n "checking for suffix of executables... " >&6; }
3992 if { { ac_try="$ac_link"
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_link") 2>&5
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; then :
4003 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4004 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4005 # work properly (i.e., refer to `conftest.exe'), while it won't with
4007 for ac_file in conftest.exe conftest conftest.*; do
4008 test -f "$ac_file" || continue
4010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4011 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4020 See \`config.log' for more details" "$LINENO" 5 ; }
4022 rm -f conftest conftest$ac_cv_exeext
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4024 $as_echo "$ac_cv_exeext" >&6; }
4026 rm -f conftest.$ac_ext
4027 EXEEXT=$ac_cv_exeext
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4035 FILE *f = fopen ("conftest.out", "w");
4036 return ferror (f) || fclose (f) != 0;
4042 ac_clean_files="$ac_clean_files conftest.out"
4043 # Check that the compiler produces executables we can run. If not, either
4044 # the compiler is broken, or we cross compile.
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4046 $as_echo_n "checking whether we are cross compiling... " >&6; }
4047 if test "$cross_compiling" != yes; then
4048 { { ac_try="$ac_link"
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_link") 2>&5
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }
4059 if { ac_try='./conftest$ac_cv_exeext'
4060 { { case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_try") 2>&5
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }; }; then
4072 if test "$cross_compiling" = maybe; then
4075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4077 as_fn_error $? "cannot run C compiled programs.
4078 If you meant to cross compile, use \`--host'.
4079 See \`config.log' for more details" "$LINENO" 5 ; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4084 $as_echo "$cross_compiling" >&6; }
4086 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4087 ac_clean_files=$ac_clean_files_save
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4089 $as_echo_n "checking for suffix of object files... " >&6; }
4090 if test "${ac_cv_objext+set}" = set; then :
4091 $as_echo_n "(cached) " >&6
4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4104 rm -f conftest.o conftest.obj
4105 if { { ac_try="$ac_compile"
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 $as_echo "$ac_try_echo"; } >&5
4112 (eval "$ac_compile") 2>&5
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; }; then :
4116 for ac_file in conftest.o conftest.obj conftest.*; do
4117 test -f "$ac_file" || continue;
4119 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4120 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4125 $as_echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $? "cannot compute suffix of object files: cannot compile
4131 See \`config.log' for more details" "$LINENO" 5 ; }
4133 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4136 $as_echo "$ac_cv_objext" >&6; }
4137 OBJEXT=$ac_cv_objext
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4140 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4141 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4142 $as_echo_n "(cached) " >&6
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4158 if ac_fn_c_try_compile "$LINENO"; then :
4163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4164 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4168 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4169 if test $ac_compiler_gnu = yes; then
4174 ac_test_CFLAGS=${CFLAGS+set}
4175 ac_save_CFLAGS=$CFLAGS
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4177 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4178 if test "${ac_cv_prog_cc_g+set}" = set; then :
4179 $as_echo_n "(cached) " >&6
4181 ac_save_c_werror_flag=$ac_c_werror_flag
4182 ac_c_werror_flag=yes
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4196 if ac_fn_c_try_compile "$LINENO"; then :
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4211 if ac_fn_c_try_compile "$LINENO"; then :
4214 ac_c_werror_flag=$ac_save_c_werror_flag
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4227 if ac_fn_c_try_compile "$LINENO"; then :
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_c_werror_flag=$ac_save_c_werror_flag
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4238 $as_echo "$ac_cv_prog_cc_g" >&6; }
4239 if test "$ac_test_CFLAGS" = set; then
4240 CFLAGS=$ac_save_CFLAGS
4241 elif test $ac_cv_prog_cc_g = yes; then
4242 if test "$GCC" = yes; then
4248 if test "$GCC" = yes; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4255 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4256 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4257 $as_echo_n "(cached) " >&6
4259 ac_cv_prog_cc_c89=no
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 #include <sys/types.h>
4266 #include <sys/stat.h>
4267 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4268 struct buf { int x; };
4269 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4270 static char *e (p, i)
4276 static char *f (char * (*g) (char **, int), char **p, ...)
4281 s = g (p, va_arg (v,int));
4286 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4287 function prototypes and stuff, but not '\xHH' hex character constants.
4288 These don't provoke an error unfortunately, instead are silently treated
4289 as 'x'. The following induces an error, until -std is added to get
4290 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4291 array size at least. It's necessary to write '\x00'==0 to get something
4292 that's true only with -std. */
4293 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4295 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4296 inside strings and character constants. */
4298 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4300 int test (int i, double x);
4301 struct s1 {int (*f) (int a);};
4302 struct s2 {int (*f) (double a);};
4303 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4309 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4314 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4315 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4317 CC="$ac_save_CC $ac_arg"
4318 if ac_fn_c_try_compile "$LINENO"; then :
4319 ac_cv_prog_cc_c89=$ac_arg
4321 rm -f core conftest.err conftest.$ac_objext
4322 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 rm -f conftest.$ac_ext
4329 case "x$ac_cv_prog_cc_c89" in
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4332 $as_echo "none needed" >&6; } ;;
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4335 $as_echo "unsupported" >&6; } ;;
4337 CC="$CC $ac_cv_prog_cc_c89"
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4339 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 if test "x$ac_cv_prog_cc_c89" != xno; then :
4346 ac_cpp='$CPP $CPPFLAGS'
4347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4351 depcc="$CC" am_compiler_list=
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4354 $as_echo_n "checking dependency style of $depcc... " >&6; }
4355 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4359 # We make a subdir and do the tests there. Otherwise we can end up
4360 # making bogus files that we don't know about and never remove. For
4361 # instance it was reported that on HP-UX the gcc test will end up
4362 # making a dummy file named `D' -- because `-MD' means `put the output
4365 # Copy depcomp to subdir because otherwise we won't find it if we're
4366 # using a relative directory.
4367 cp "$am_depcomp" conftest.dir
4369 # We will build objects and dependencies in a subdirectory because
4370 # it helps to detect inapplicable dependency modes. For instance
4371 # both Tru64's cc and ICC support -MD to output dependencies as a
4372 # side effect of compilation, but ICC will put the dependencies in
4373 # the current directory while Tru64 will put them in the object
4377 am_cv_CC_dependencies_compiler_type=none
4378 if test "$am_compiler_list" = ""; then
4379 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4382 case " $depcc " in #(
4383 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4386 for depmode in $am_compiler_list; do
4387 # Setup a source with many dependencies, because some compilers
4388 # like to wrap large dependency lists on column 80 (with \), and
4389 # we should not choose a depcomp mode which is confused by this.
4391 # We need to recreate these files for each test, as the compiler may
4392 # overwrite some of them when testing with obscure command lines.
4393 # This happens at least with the AIX C compiler.
4395 for i in 1 2 3 4 5 6; do
4396 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4397 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4398 # Solaris 8's {/usr,}/bin/sh.
4399 touch sub/conftst$i.h
4401 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4403 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4404 # mode. It turns out that the SunPro C++ compiler does not properly
4405 # handle `-M -o', and we need to detect this. Also, some Intel
4406 # versions had trouble with output in subdirs
4407 am__obj=sub/conftest.${OBJEXT-o}
4408 am__minus_obj="-o $am__obj"
4411 # This depmode causes a compiler race in universal mode.
4412 test "$am__universal" = false || continue
4415 # after this tag, mechanisms are not by side-effect, so they'll
4416 # only be used when explicitly requested
4417 if test "x$enable_dependency_tracking" = xyes; then
4423 msvisualcpp | msvcmsys)
4424 # This compiler won't grok `-c -o', but also, the minuso test has
4425 # not run yet. These depmodes are late enough in the game, and
4426 # so weak that their functioning should not be impacted.
4427 am__obj=conftest.${OBJEXT-o}
4432 if depmode=$depmode \
4433 source=sub/conftest.c object=$am__obj \
4434 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4435 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4436 >/dev/null 2>conftest.err &&
4437 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4438 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4439 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4440 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4441 # icc doesn't choke on unknown options, it will just issue warnings
4442 # or remarks (even with -Werror). So we grep stderr for any message
4443 # that says an option was ignored or not supported.
4444 # When given -MP, icc 7.0 and 7.1 complain thusly:
4445 # icc: Command line warning: ignoring option '-M'; no argument required
4446 # The diagnosis changed in icc 8.0:
4447 # icc: Command line remark: option '-MP' not supported
4448 if (grep 'ignoring option' conftest.err ||
4449 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4450 am_cv_CC_dependencies_compiler_type=$depmode
4459 am_cv_CC_dependencies_compiler_type=none
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4464 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4465 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4468 test "x$enable_dependency_tracking" != xno \
4469 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4471 am__fastdepCC_FALSE='#'
4473 am__fastdepCC_TRUE='#'
4474 am__fastdepCC_FALSE=
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4479 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4480 if test "${ac_cv_path_SED+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4483 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4484 for ac_i in 1 2 3 4 5 6 7; do
4485 ac_script="$ac_script$as_nl$ac_script"
4487 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4488 { ac_script=; unset ac_script;}
4489 if test -z "$SED"; then
4490 ac_path_SED_found=false
4491 # Loop through the user's path and test for each of PROGNAME-LIST
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir=.
4497 for ac_prog in sed gsed; do
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4500 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4501 # Check for GNU ac_path_SED and select it if it is found.
4502 # Check for GNU $ac_path_SED
4503 case `"$ac_path_SED" --version 2>&1` in
4505 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4508 $as_echo_n 0123456789 >"conftest.in"
4511 cat "conftest.in" "conftest.in" >"conftest.tmp"
4512 mv "conftest.tmp" "conftest.in"
4513 cp "conftest.in" "conftest.nl"
4514 $as_echo '' >> "conftest.nl"
4515 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4516 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4517 as_fn_arith $ac_count + 1 && ac_count=$as_val
4518 if test $ac_count -gt ${ac_path_SED_max-0}; then
4519 # Best one so far, save it but keep looking for a better one
4520 ac_cv_path_SED="$ac_path_SED"
4521 ac_path_SED_max=$ac_count
4523 # 10*(2^10) chars as input seems more than enough
4524 test $ac_count -gt 10 && break
4526 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4529 $ac_path_SED_found && break 3
4534 if test -z "$ac_cv_path_SED"; then
4535 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4543 $as_echo "$ac_cv_path_SED" >&6; }
4544 SED="$ac_cv_path_SED"
4547 test -z "$SED" && SED=sed
4548 Xsed="$SED -e 1s/^X//"
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4561 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4562 if test "${ac_cv_path_GREP+set}" = set; then :
4563 $as_echo_n "(cached) " >&6
4565 if test -z "$GREP"; then
4566 ac_path_GREP_found=false
4567 # Loop through the user's path and test for each of PROGNAME-LIST
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4572 test -z "$as_dir" && as_dir=.
4573 for ac_prog in grep ggrep; do
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4576 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4577 # Check for GNU ac_path_GREP and select it if it is found.
4578 # Check for GNU $ac_path_GREP
4579 case `"$ac_path_GREP" --version 2>&1` in
4581 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4584 $as_echo_n 0123456789 >"conftest.in"
4587 cat "conftest.in" "conftest.in" >"conftest.tmp"
4588 mv "conftest.tmp" "conftest.in"
4589 cp "conftest.in" "conftest.nl"
4590 $as_echo 'GREP' >> "conftest.nl"
4591 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4593 as_fn_arith $ac_count + 1 && ac_count=$as_val
4594 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4595 # Best one so far, save it but keep looking for a better one
4596 ac_cv_path_GREP="$ac_path_GREP"
4597 ac_path_GREP_max=$ac_count
4599 # 10*(2^10) chars as input seems more than enough
4600 test $ac_count -gt 10 && break
4602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4605 $ac_path_GREP_found && break 3
4610 if test -z "$ac_cv_path_GREP"; then
4611 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4614 ac_cv_path_GREP=$GREP
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4619 $as_echo "$ac_cv_path_GREP" >&6; }
4620 GREP="$ac_cv_path_GREP"
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4624 $as_echo_n "checking for egrep... " >&6; }
4625 if test "${ac_cv_path_EGREP+set}" = set; then :
4626 $as_echo_n "(cached) " >&6
4628 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4629 then ac_cv_path_EGREP="$GREP -E"
4631 if test -z "$EGREP"; then
4632 ac_path_EGREP_found=false
4633 # Loop through the user's path and test for each of PROGNAME-LIST
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4638 test -z "$as_dir" && as_dir=.
4639 for ac_prog in egrep; do
4640 for ac_exec_ext in '' $ac_executable_extensions; do
4641 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4642 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4643 # Check for GNU ac_path_EGREP and select it if it is found.
4644 # Check for GNU $ac_path_EGREP
4645 case `"$ac_path_EGREP" --version 2>&1` in
4647 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4650 $as_echo_n 0123456789 >"conftest.in"
4653 cat "conftest.in" "conftest.in" >"conftest.tmp"
4654 mv "conftest.tmp" "conftest.in"
4655 cp "conftest.in" "conftest.nl"
4656 $as_echo 'EGREP' >> "conftest.nl"
4657 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4658 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4659 as_fn_arith $ac_count + 1 && ac_count=$as_val
4660 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4661 # Best one so far, save it but keep looking for a better one
4662 ac_cv_path_EGREP="$ac_path_EGREP"
4663 ac_path_EGREP_max=$ac_count
4665 # 10*(2^10) chars as input seems more than enough
4666 test $ac_count -gt 10 && break
4668 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4671 $ac_path_EGREP_found && break 3
4676 if test -z "$ac_cv_path_EGREP"; then
4677 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4680 ac_cv_path_EGREP=$EGREP
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4686 $as_echo "$ac_cv_path_EGREP" >&6; }
4687 EGREP="$ac_cv_path_EGREP"
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4691 $as_echo_n "checking for fgrep... " >&6; }
4692 if test "${ac_cv_path_FGREP+set}" = set; then :
4693 $as_echo_n "(cached) " >&6
4695 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4696 then ac_cv_path_FGREP="$GREP -F"
4698 if test -z "$FGREP"; then
4699 ac_path_FGREP_found=false
4700 # Loop through the user's path and test for each of PROGNAME-LIST
4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4705 test -z "$as_dir" && as_dir=.
4706 for ac_prog in fgrep; do
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4709 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4710 # Check for GNU ac_path_FGREP and select it if it is found.
4711 # Check for GNU $ac_path_FGREP
4712 case `"$ac_path_FGREP" --version 2>&1` in
4714 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4717 $as_echo_n 0123456789 >"conftest.in"
4720 cat "conftest.in" "conftest.in" >"conftest.tmp"
4721 mv "conftest.tmp" "conftest.in"
4722 cp "conftest.in" "conftest.nl"
4723 $as_echo 'FGREP' >> "conftest.nl"
4724 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4725 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4726 as_fn_arith $ac_count + 1 && ac_count=$as_val
4727 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4728 # Best one so far, save it but keep looking for a better one
4729 ac_cv_path_FGREP="$ac_path_FGREP"
4730 ac_path_FGREP_max=$ac_count
4732 # 10*(2^10) chars as input seems more than enough
4733 test $ac_count -gt 10 && break
4735 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4738 $ac_path_FGREP_found && break 3
4743 if test -z "$ac_cv_path_FGREP"; then
4744 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4747 ac_cv_path_FGREP=$FGREP
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4753 $as_echo "$ac_cv_path_FGREP" >&6; }
4754 FGREP="$ac_cv_path_FGREP"
4757 test -z "$GREP" && GREP=grep
4777 # Check whether --with-gnu-ld was given.
4778 if test "${with_gnu_ld+set}" = set; then :
4779 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4785 if test "$GCC" = yes; then
4786 # Check if gcc -print-prog-name=ld gives a path.
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4788 $as_echo_n "checking for ld used by $CC... " >&6; }
4791 # gcc leaves a trailing carriage return which upsets mingw
4792 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4794 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4797 # Accept absolute paths.
4799 re_direlt='/[^/][^/]*/\.\./'
4800 # Canonicalize the pathname of ld
4801 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4802 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4803 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4805 test -z "$LD" && LD="$ac_prog"
4808 # If it fails, then pretend we aren't using GCC.
4812 # If it is relative, then search for the first ld in PATH.
4816 elif test "$with_gnu_ld" = yes; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4818 $as_echo_n "checking for GNU ld... " >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4821 $as_echo_n "checking for non-GNU ld... " >&6; }
4823 if test "${lt_cv_path_LD+set}" = set; then :
4824 $as_echo_n "(cached) " >&6
4826 if test -z "$LD"; then
4827 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4828 for ac_dir in $PATH; do
4830 test -z "$ac_dir" && ac_dir=.
4831 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4832 lt_cv_path_LD="$ac_dir/$ac_prog"
4833 # Check to see if the program is GNU ld. I'd rather use --version,
4834 # but apparently some variants of GNU ld only accept -v.
4835 # Break only if it was the GNU/non-GNU ld that we prefer.
4836 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4837 *GNU* | *'with BFD'*)
4838 test "$with_gnu_ld" != no && break
4841 test "$with_gnu_ld" != yes && break
4848 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4853 if test -n "$LD"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4855 $as_echo "$LD" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4860 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4862 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4863 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4864 $as_echo_n "(cached) " >&6
4866 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4867 case `$LD -v 2>&1 </dev/null` in
4868 *GNU* | *'with BFD'*)
4869 lt_cv_prog_gnu_ld=yes
4872 lt_cv_prog_gnu_ld=no
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4877 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4878 with_gnu_ld=$lt_cv_prog_gnu_ld
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4889 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4890 if test "${lt_cv_path_NM+set}" = set; then :
4891 $as_echo_n "(cached) " >&6
4893 if test -n "$NM"; then
4894 # Let the user override the test.
4897 lt_nm_to_check="${ac_tool_prefix}nm"
4898 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4899 lt_nm_to_check="$lt_nm_to_check nm"
4901 for lt_tmp_nm in $lt_nm_to_check; do
4902 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4903 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4905 test -z "$ac_dir" && ac_dir=.
4906 tmp_nm="$ac_dir/$lt_tmp_nm"
4907 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4908 # Check to see if the nm accepts a BSD-compat flag.
4909 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4910 # nm: unknown option "B" ignored
4911 # Tru64's nm complains that /dev/null is an invalid object file
4912 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4913 */dev/null* | *'Invalid file or object type'*)
4914 lt_cv_path_NM="$tmp_nm -B"
4918 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4920 lt_cv_path_NM="$tmp_nm -p"
4924 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4925 continue # so that we can try to find one that supports BSD flags
4934 : ${lt_cv_path_NM=no}
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4938 $as_echo "$lt_cv_path_NM" >&6; }
4939 if test "$lt_cv_path_NM" != "no"; then
4942 # Didn't find any BSD compatible name lister, look for dumpbin.
4943 if test -n "$ac_tool_prefix"; then
4944 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4951 $as_echo_n "(cached) " >&6
4953 if test -n "$DUMPBIN"; then
4954 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir=.
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 DUMPBIN=$ac_cv_prog_DUMPBIN
4974 if test -n "$DUMPBIN"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4976 $as_echo "$DUMPBIN" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4983 test -n "$DUMPBIN" && break
4986 if test -z "$DUMPBIN"; then
4987 ac_ct_DUMPBIN=$DUMPBIN
4988 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4990 # Extract the first word of "$ac_prog", so it can be a program name with args.
4991 set dummy $ac_prog; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4995 $as_echo_n "(cached) " >&6
4997 if test -n "$ac_ct_DUMPBIN"; then
4998 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5007 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5018 if test -n "$ac_ct_DUMPBIN"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5020 $as_echo "$ac_ct_DUMPBIN" >&6; }
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5027 test -n "$ac_ct_DUMPBIN" && break
5030 if test "x$ac_ct_DUMPBIN" = x; then
5033 case $cross_compiling:$ac_tool_warned in
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5037 ac_tool_warned=yes ;;
5039 DUMPBIN=$ac_ct_DUMPBIN
5044 if test "$DUMPBIN" != ":"; then
5048 test -z "$NM" && NM=nm
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5056 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5057 if test "${lt_cv_nm_interface+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5060 lt_cv_nm_interface="BSD nm"
5061 echo "int some_variable = 0;" > conftest.$ac_ext
5062 (eval echo "\"\$as_me:5062: $ac_compile\"" >&5)
5063 (eval "$ac_compile" 2>conftest.err)
5064 cat conftest.err >&5
5065 (eval echo "\"\$as_me:5065: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5066 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5067 cat conftest.err >&5
5068 (eval echo "\"\$as_me:5068: output\"" >&5)
5069 cat conftest.out >&5
5070 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5071 lt_cv_nm_interface="MS dumpbin"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5076 $as_echo "$lt_cv_nm_interface" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5079 $as_echo_n "checking whether ln -s works... " >&6; }
5081 if test "$LN_S" = "ln -s"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5083 $as_echo "yes" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5086 $as_echo "no, using $LN_S" >&6; }
5089 # find the maximum length of command line arguments
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5091 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5092 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5093 $as_echo_n "(cached) " >&6
5100 # On DJGPP, this test can blow up pretty badly due to problems in libc
5101 # (any single argument exceeding 2000 bytes causes a buffer overrun
5102 # during glob expansion). Even if it were fixed, the result of this
5103 # check would be larger than it should be.
5104 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5108 # Under GNU Hurd, this test is not required because there is
5109 # no limit to the length of command line arguments.
5110 # Libtool will interpret -1 as no limit whatsoever
5111 lt_cv_sys_max_cmd_len=-1;
5114 cygwin* | mingw* | cegcc*)
5115 # On Win9x/ME, this test blows up -- it succeeds, but takes
5116 # about 5 minutes as the teststring grows exponentially.
5117 # Worse, since 9x/ME are not pre-emptively multitasking,
5118 # you end up with a "frozen" computer, even though with patience
5119 # the test eventually succeeds (with a max line length of 256k).
5120 # Instead, let's just punt: use the minimum linelength reported by
5121 # all of the supported platforms: 8192 (on NT/2K/XP).
5122 lt_cv_sys_max_cmd_len=8192;
5126 # On AmigaOS with pdksh, this test takes hours, literally.
5127 # So we just punt and use a minimum line length of 8192.
5128 lt_cv_sys_max_cmd_len=8192;
5131 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5132 # This has been around since 386BSD, at least. Likely further.
5133 if test -x /sbin/sysctl; then
5134 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5135 elif test -x /usr/sbin/sysctl; then
5136 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5138 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5140 # And add a safety zone
5141 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5142 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5146 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5147 lt_cv_sys_max_cmd_len=196608
5151 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5152 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5153 # nice to cause kernel panics so lets avoid the loop below.
5154 # First set a reasonable default.
5155 lt_cv_sys_max_cmd_len=16384
5157 if test -x /sbin/sysconfig; then
5158 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5159 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5164 lt_cv_sys_max_cmd_len=102400
5166 sysv5* | sco5v6* | sysv4.2uw2*)
5167 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5168 if test -n "$kargmax"; then
5169 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5171 lt_cv_sys_max_cmd_len=32768
5175 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5176 if test -n "$lt_cv_sys_max_cmd_len"; then
5177 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5178 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5180 # Make teststring a little bigger before we do anything with it.
5181 # a 1K string should be a reasonable start.
5182 for i in 1 2 3 4 5 6 7 8 ; do
5183 teststring=$teststring$teststring
5185 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5186 # If test is not a shell built-in, we'll probably end up computing a
5187 # maximum length that is only half of the actual maximum length, but
5189 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5190 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5191 test $i != 17 # 1/2 MB should be enough
5194 teststring=$teststring$teststring
5196 # Only check the string length outside the loop.
5197 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5199 # Add a significant safety factor because C++ compilers can tack on
5200 # massive amounts of additional arguments before passing them to the
5201 # linker. It appears as though 1/2 is a usable value.
5202 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5209 if test -n $lt_cv_sys_max_cmd_len ; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5211 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5214 $as_echo "none" >&6; }
5216 max_cmd_len=$lt_cv_sys_max_cmd_len
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5228 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5229 # Try some XSI features
5232 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5234 && eval 'test $(( 1 + 1 )) -eq 2 \
5235 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5238 $as_echo "$xsi_shell" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5242 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5244 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5246 && lt_shell_append=yes
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5248 $as_echo "$lt_shell_append" >&6; }
5251 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5261 # test EBCDIC or ASCII
5262 case `echo X|tr X '\101'` in
5263 A) # ASCII based system
5264 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5265 lt_SP2NL='tr \040 \012'
5266 lt_NL2SP='tr \015\012 \040\040'
5268 *) # EBCDIC based system
5269 lt_SP2NL='tr \100 \n'
5270 lt_NL2SP='tr \r\n \100\100'
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5283 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5284 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5287 lt_cv_ld_reload_flag='-r'
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5290 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5291 reload_flag=$lt_cv_ld_reload_flag
5292 case $reload_flag in
5294 *) reload_flag=" $reload_flag" ;;
5296 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5299 if test "$GCC" = yes; then
5300 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5317 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5323 if test -n "$OBJDUMP"; then
5324 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 OBJDUMP=$ac_cv_prog_OBJDUMP
5344 if test -n "$OBJDUMP"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5346 $as_echo "$OBJDUMP" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5354 if test -z "$ac_cv_prog_OBJDUMP"; then
5355 ac_ct_OBJDUMP=$OBJDUMP
5356 # Extract the first word of "objdump", so it can be a program name with args.
5357 set dummy objdump; ac_word=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$ac_ct_OBJDUMP"; then
5364 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5384 if test -n "$ac_ct_OBJDUMP"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5386 $as_echo "$ac_ct_OBJDUMP" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5392 if test "x$ac_ct_OBJDUMP" = x; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5399 ac_tool_warned=yes ;;
5401 OBJDUMP=$ac_ct_OBJDUMP
5404 OBJDUMP="$ac_cv_prog_OBJDUMP"
5407 test -z "$OBJDUMP" && OBJDUMP=objdump
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5418 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5419 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5422 lt_cv_file_magic_cmd='$MAGIC_CMD'
5423 lt_cv_file_magic_test_file=
5424 lt_cv_deplibs_check_method='unknown'
5425 # Need to set the preceding variable on all platforms that support
5426 # interlibrary dependencies.
5427 # 'none' -- dependencies not supported.
5428 # `unknown' -- same as none, but documents that we really don't know.
5429 # 'pass_all' -- all dependencies passed with no checks.
5430 # 'test_compile' -- check by making test program.
5431 # 'file_magic [[regex]]' -- check by looking for files in library path
5432 # which responds to the $file_magic_cmd with a given extended regex.
5433 # If you have `file' or equivalent on your system and you're not sure
5434 # whether `pass_all' will *always* work, you probably want this one.
5438 lt_cv_deplibs_check_method=pass_all
5442 lt_cv_deplibs_check_method=pass_all
5446 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5447 lt_cv_file_magic_cmd='/usr/bin/file -L'
5448 lt_cv_file_magic_test_file=/shlib/libc.so
5452 # func_win32_libid is a shell function defined in ltmain.sh
5453 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5454 lt_cv_file_magic_cmd='func_win32_libid'
5458 # Base MSYS/MinGW do not provide the 'file' command needed by
5459 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5460 # unless we find 'file', for example because we are cross-compiling.
5461 if ( file / ) >/dev/null 2>&1; then
5462 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5463 lt_cv_file_magic_cmd='func_win32_libid'
5465 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5466 lt_cv_file_magic_cmd='$OBJDUMP -f'
5471 # use the weaker test based on 'objdump'. See mingw*.
5472 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5473 lt_cv_file_magic_cmd='$OBJDUMP -f'
5476 darwin* | rhapsody*)
5477 lt_cv_deplibs_check_method=pass_all
5480 freebsd* | dragonfly*)
5481 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5484 # Not sure whether the presence of OpenBSD here was a mistake.
5485 # Let's accept both of them until this is cleared up.
5486 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5487 lt_cv_file_magic_cmd=/usr/bin/file
5488 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5492 lt_cv_deplibs_check_method=pass_all
5497 lt_cv_deplibs_check_method=pass_all
5500 hpux10.20* | hpux11*)
5501 lt_cv_file_magic_cmd=/usr/bin/file
5504 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5505 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5508 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]'
5509 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5512 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5513 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5519 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5520 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5523 irix5* | irix6* | nonstopux*)
5525 *-32|*"-32 ") libmagic=32-bit;;
5526 *-n32|*"-n32 ") libmagic=N32;;
5527 *-64|*"-64 ") libmagic=64-bit;;
5528 *) libmagic=never-match;;
5530 lt_cv_deplibs_check_method=pass_all
5533 # This must be Linux ELF.
5534 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5535 lt_cv_deplibs_check_method=pass_all
5538 netbsd* | netbsdelf*-gnu)
5539 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5540 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5547 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5548 lt_cv_file_magic_cmd=/usr/bin/file
5549 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5553 lt_cv_deplibs_check_method=pass_all
5557 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5558 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5560 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5564 osf3* | osf4* | osf5*)
5565 lt_cv_deplibs_check_method=pass_all
5569 lt_cv_deplibs_check_method=pass_all
5573 lt_cv_deplibs_check_method=pass_all
5576 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5577 lt_cv_deplibs_check_method=pass_all
5581 case $host_vendor in
5583 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]'
5584 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5587 lt_cv_deplibs_check_method=pass_all
5590 lt_cv_file_magic_cmd='/bin/file'
5591 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5594 lt_cv_file_magic_cmd='/bin/file'
5595 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5596 lt_cv_file_magic_test_file=/lib/libc.so
5599 lt_cv_deplibs_check_method=pass_all
5602 lt_cv_deplibs_check_method=pass_all
5608 lt_cv_deplibs_check_method=pass_all
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5614 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5615 file_magic_cmd=$lt_cv_file_magic_cmd
5616 deplibs_check_method=$lt_cv_deplibs_check_method
5617 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5630 if test -n "$ac_tool_prefix"; then
5631 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5632 set dummy ${ac_tool_prefix}ar; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if test "${ac_cv_prog_AR+set}" = set; then :
5636 $as_echo_n "(cached) " >&6
5638 if test -n "$AR"; then
5639 ac_cv_prog_AR="$AR" # Let the user override the test.
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648 ac_cv_prog_AR="${ac_tool_prefix}ar"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 if test -n "$AR"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5661 $as_echo "$AR" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5669 if test -z "$ac_cv_prog_AR"; then
5671 # Extract the first word of "ar", so it can be a program name with args.
5672 set dummy ar; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$ac_ct_AR"; then
5679 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688 ac_cv_prog_ac_ct_AR="ar"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5699 if test -n "$ac_ct_AR"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5701 $as_echo "$ac_ct_AR" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5707 if test "x$ac_ct_AR" = x; then
5710 case $cross_compiling:$ac_tool_warned in
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned=yes ;;
5722 test -z "$AR" && AR=ar
5723 test -z "$AR_FLAGS" && AR_FLAGS=cru
5735 if test -n "$ac_tool_prefix"; then
5736 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5737 set dummy ${ac_tool_prefix}strip; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if test "${ac_cv_prog_STRIP+set}" = set; then :
5741 $as_echo_n "(cached) " >&6
5743 if test -n "$STRIP"; then
5744 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5753 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 STRIP=$ac_cv_prog_STRIP
5764 if test -n "$STRIP"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5766 $as_echo "$STRIP" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5774 if test -z "$ac_cv_prog_STRIP"; then
5776 # Extract the first word of "strip", so it can be a program name with args.
5777 set dummy strip; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$ac_ct_STRIP"; then
5784 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_STRIP="strip"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5804 if test -n "$ac_ct_STRIP"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5806 $as_echo "$ac_ct_STRIP" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5812 if test "x$ac_ct_STRIP" = x; then
5815 case $cross_compiling:$ac_tool_warned in
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5819 ac_tool_warned=yes ;;
5824 STRIP="$ac_cv_prog_STRIP"
5827 test -z "$STRIP" && STRIP=:
5834 if test -n "$ac_tool_prefix"; then
5835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -n "$RANLIB"; then
5843 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 RANLIB=$ac_cv_prog_RANLIB
5863 if test -n "$RANLIB"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5865 $as_echo "$RANLIB" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5873 if test -z "$ac_cv_prog_RANLIB"; then
5874 ac_ct_RANLIB=$RANLIB
5875 # Extract the first word of "ranlib", so it can be a program name with args.
5876 set dummy ranlib; ac_word=$2
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5878 $as_echo_n "checking for $ac_word... " >&6; }
5879 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5880 $as_echo_n "(cached) " >&6
5882 if test -n "$ac_ct_RANLIB"; then
5883 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5892 ac_cv_prog_ac_ct_RANLIB="ranlib"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5903 if test -n "$ac_ct_RANLIB"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5905 $as_echo "$ac_ct_RANLIB" >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5908 $as_echo "no" >&6; }
5911 if test "x$ac_ct_RANLIB" = x; then
5914 case $cross_compiling:$ac_tool_warned in
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5918 ac_tool_warned=yes ;;
5920 RANLIB=$ac_ct_RANLIB
5923 RANLIB="$ac_cv_prog_RANLIB"
5926 test -z "$RANLIB" && RANLIB=:
5933 # Determine commands to create old-style static archives.
5934 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5935 old_postinstall_cmds='chmod 644 $oldlib'
5936 old_postuninstall_cmds=
5938 if test -n "$RANLIB"; then
5941 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5944 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5947 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5983 # If no C compiler was specified, use CC.
5986 # If no C compiler flags were specified, use CFLAGS.
5987 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5989 # Allow CC to be a program name with arguments.
5993 # Check for command to grab the raw symbol name followed by C symbol from nm.
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5995 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5996 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5997 $as_echo_n "(cached) " >&6
6000 # These are sane defaults that work on at least a few old systems.
6001 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6003 # Character class describing NM global symbol codes.
6004 symcode='[BCDEGRST]'
6006 # Regexp to match symbols that can be accessed directly from C.
6007 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6009 # Define system-specific variables.
6014 cygwin* | mingw* | pw32* | cegcc*)
6015 symcode='[ABCDGISTW]'
6018 if test "$host_cpu" = ia64; then
6019 symcode='[ABCDEGRST]'
6023 symcode='[BCDEGRST]'
6026 symcode='[BCDEGQRST]'
6037 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6045 # If we're using GNU nm, then use its standard symbol codes.
6046 case `$NM -V 2>&1` in
6047 *GNU* | *'with BFD'*)
6048 symcode='[ABCDGIRSTW]' ;;
6051 # Transform an extracted symbol line into a proper C declaration.
6052 # Some systems (esp. on ia64) link data and code symbols differently,
6053 # so use this general approach.
6054 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6056 # Transform an extracted symbol line into symbol name and symbol address
6057 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6058 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'"
6060 # Handle CRLF in mingw tool chain
6064 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6068 # Try without a prefix underscore, then with it.
6069 for ac_symprfx in "" "_"; do
6071 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6072 symxfrm="\\1 $ac_symprfx\\2 \\2"
6074 # Write the raw and C identifiers.
6075 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6076 # Fake it for dumpbin and say T for any non-static function
6077 # and D for any global variable.
6078 # Also find C++ and __fastcall symbols from MSVC++,
6079 # which start with @ or ?.
6080 lt_cv_sys_global_symbol_pipe="$AWK '"\
6081 " {last_section=section; section=\$ 3};"\
6082 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6083 " \$ 0!~/External *\|/{next};"\
6084 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6085 " {if(hide[section]) next};"\
6086 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6087 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6088 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6089 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6090 " ' prfx=^$ac_symprfx"
6092 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6095 # Check to see that the pipe works correctly.
6099 cat > conftest.$ac_ext <<_LT_EOF
6104 void nm_test_func(void);
6105 void nm_test_func(void){}
6109 int main(){nm_test_var='a';nm_test_func();return(0);}
6112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6113 (eval $ac_compile) 2>&5
6115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6116 test $ac_status = 0; }; then
6117 # Now try to grab the symbols.
6119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6120 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6123 test $ac_status = 0; } && test -s "$nlist"; then
6124 # Try sorting and uniquifying the output.
6125 if sort "$nlist" | uniq > "$nlist"T; then
6126 mv -f "$nlist"T "$nlist"
6131 # Make sure that we snagged all the symbols we need.
6132 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6133 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6134 cat <<_LT_EOF > conftest.$ac_ext
6140 # Now generate the symbol file.
6141 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6143 cat <<_LT_EOF >> conftest.$ac_ext
6145 /* The mapping between symbol names and symbols. */
6150 lt__PROGRAM__LTX_preloaded_symbols[] =
6152 { "@PROGRAM@", (void *) 0 },
6154 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6155 cat <<\_LT_EOF >> conftest.$ac_ext
6159 /* This works around a problem in FreeBSD linker */
6160 #ifdef FREEBSD_WORKAROUND
6161 static const void *lt_preloaded_setup() {
6162 return lt__PROGRAM__LTX_preloaded_symbols;
6170 # Now try linking the two files.
6171 mv conftest.$ac_objext conftstm.$ac_objext
6172 lt_save_LIBS="$LIBS"
6173 lt_save_CFLAGS="$CFLAGS"
6174 LIBS="conftstm.$ac_objext"
6175 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6177 (eval $ac_link) 2>&5
6179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6180 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6183 LIBS="$lt_save_LIBS"
6184 CFLAGS="$lt_save_CFLAGS"
6186 echo "cannot find nm_test_func in $nlist" >&5
6189 echo "cannot find nm_test_var in $nlist" >&5
6192 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6195 echo "$progname: failed program was:" >&5
6196 cat conftest.$ac_ext >&5
6198 rm -rf conftest* conftst*
6200 # Do not use the global_symbol_pipe unless it works.
6201 if test "$pipe_works" = yes; then
6204 lt_cv_sys_global_symbol_pipe=
6210 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6211 lt_cv_sys_global_symbol_to_cdecl=
6213 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6215 $as_echo "failed" >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6218 $as_echo "ok" >&6; }
6243 # Check whether --enable-libtool-lock was given.
6244 if test "${enable_libtool_lock+set}" = set; then :
6245 enableval=$enable_libtool_lock;
6248 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6250 # Some flags need to be propagated to the compiler or linker for good
6254 # Find out which ABI we are using.
6255 echo 'int i;' > conftest.$ac_ext
6256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6257 (eval $ac_compile) 2>&5
6259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6260 test $ac_status = 0; }; then
6261 case `/usr/bin/file conftest.$ac_objext` in
6273 # Find out which ABI we are using.
6274 echo '#line 6274 "configure"' > conftest.$ac_ext
6275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6276 (eval $ac_compile) 2>&5
6278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6279 test $ac_status = 0; }; then
6280 if test "$lt_cv_prog_gnu_ld" = yes; then
6281 case `/usr/bin/file conftest.$ac_objext` in
6283 LD="${LD-ld} -melf32bsmip"
6286 LD="${LD-ld} -melf32bmipn32"
6289 LD="${LD-ld} -melf64bmip"
6293 case `/usr/bin/file conftest.$ac_objext` in
6309 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6310 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6311 # Find out which ABI we are using.
6312 echo 'int i;' > conftest.$ac_ext
6313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6314 (eval $ac_compile) 2>&5
6316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6317 test $ac_status = 0; }; then
6318 case `/usr/bin/file conftest.o` in
6321 x86_64-*kfreebsd*-gnu)
6322 LD="${LD-ld} -m elf_i386_fbsd"
6325 LD="${LD-ld} -m elf_i386"
6327 ppc64-*linux*|powerpc64-*linux*)
6328 LD="${LD-ld} -m elf32ppclinux"
6331 LD="${LD-ld} -m elf_s390"
6334 LD="${LD-ld} -m elf32_sparc"
6340 x86_64-*kfreebsd*-gnu)
6341 LD="${LD-ld} -m elf_x86_64_fbsd"
6344 LD="${LD-ld} -m elf_x86_64"
6346 ppc*-*linux*|powerpc*-*linux*)
6347 LD="${LD-ld} -m elf64ppc"
6349 s390*-*linux*|s390*-*tpf*)
6350 LD="${LD-ld} -m elf64_s390"
6353 LD="${LD-ld} -m elf64_sparc"
6363 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6364 SAVE_CFLAGS="$CFLAGS"
6365 CFLAGS="$CFLAGS -belf"
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6367 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6368 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6369 $as_echo_n "(cached) " >&6
6372 ac_cpp='$CPP $CPPFLAGS'
6373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6388 if ac_fn_c_try_link "$LINENO"; then :
6389 lt_cv_cc_needs_belf=yes
6391 lt_cv_cc_needs_belf=no
6393 rm -f core conftest.err conftest.$ac_objext \
6394 conftest$ac_exeext conftest.$ac_ext
6396 ac_cpp='$CPP $CPPFLAGS'
6397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6403 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6404 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6405 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6406 CFLAGS="$SAVE_CFLAGS"
6410 # Find out which ABI we are using.
6411 echo 'int i;' > conftest.$ac_ext
6412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6413 (eval $ac_compile) 2>&5
6415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6416 test $ac_status = 0; }; then
6417 case `/usr/bin/file conftest.o` in
6419 case $lt_cv_prog_gnu_ld in
6420 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6422 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6434 need_locks="$enable_libtool_lock"
6438 rhapsody* | darwin*)
6439 if test -n "$ac_tool_prefix"; then
6440 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6441 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6445 $as_echo_n "(cached) " >&6
6447 if test -n "$DSYMUTIL"; then
6448 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6468 if test -n "$DSYMUTIL"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6470 $as_echo "$DSYMUTIL" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6478 if test -z "$ac_cv_prog_DSYMUTIL"; then
6479 ac_ct_DSYMUTIL=$DSYMUTIL
6480 # Extract the first word of "dsymutil", so it can be a program name with args.
6481 set dummy dsymutil; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6485 $as_echo_n "(cached) " >&6
6487 if test -n "$ac_ct_DSYMUTIL"; then
6488 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6508 if test -n "$ac_ct_DSYMUTIL"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6510 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6516 if test "x$ac_ct_DSYMUTIL" = x; then
6519 case $cross_compiling:$ac_tool_warned in
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6523 ac_tool_warned=yes ;;
6525 DSYMUTIL=$ac_ct_DSYMUTIL
6528 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6531 if test -n "$ac_tool_prefix"; then
6532 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6533 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6537 $as_echo_n "(cached) " >&6
6539 if test -n "$NMEDIT"; then
6540 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6549 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 NMEDIT=$ac_cv_prog_NMEDIT
6560 if test -n "$NMEDIT"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6562 $as_echo "$NMEDIT" >&6; }
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6570 if test -z "$ac_cv_prog_NMEDIT"; then
6571 ac_ct_NMEDIT=$NMEDIT
6572 # Extract the first word of "nmedit", so it can be a program name with args.
6573 set dummy nmedit; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 $as_echo_n "checking for $ac_word... " >&6; }
6576 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6577 $as_echo_n "(cached) " >&6
6579 if test -n "$ac_ct_NMEDIT"; then
6580 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6589 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6599 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6600 if test -n "$ac_ct_NMEDIT"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6602 $as_echo "$ac_ct_NMEDIT" >&6; }
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 $as_echo "no" >&6; }
6608 if test "x$ac_ct_NMEDIT" = x; then
6611 case $cross_compiling:$ac_tool_warned in
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6615 ac_tool_warned=yes ;;
6617 NMEDIT=$ac_ct_NMEDIT
6620 NMEDIT="$ac_cv_prog_NMEDIT"
6623 if test -n "$ac_tool_prefix"; then
6624 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6625 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_LIPO+set}" = set; then :
6629 $as_echo_n "(cached) " >&6
6631 if test -n "$LIPO"; then
6632 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651 LIPO=$ac_cv_prog_LIPO
6652 if test -n "$LIPO"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6654 $as_echo "$LIPO" >&6; }
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6662 if test -z "$ac_cv_prog_LIPO"; then
6664 # Extract the first word of "lipo", so it can be a program name with args.
6665 set dummy lipo; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$ac_ct_LIPO"; then
6672 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_ac_ct_LIPO="lipo"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6692 if test -n "$ac_ct_LIPO"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6694 $as_echo "$ac_ct_LIPO" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6700 if test "x$ac_ct_LIPO" = x; then
6703 case $cross_compiling:$ac_tool_warned in
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6712 LIPO="$ac_cv_prog_LIPO"
6715 if test -n "$ac_tool_prefix"; then
6716 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6717 set dummy ${ac_tool_prefix}otool; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6721 $as_echo_n "(cached) " >&6
6723 if test -n "$OTOOL"; then
6724 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 OTOOL=$ac_cv_prog_OTOOL
6744 if test -n "$OTOOL"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6746 $as_echo "$OTOOL" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6754 if test -z "$ac_cv_prog_OTOOL"; then
6756 # Extract the first word of "otool", so it can be a program name with args.
6757 set dummy otool; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6761 $as_echo_n "(cached) " >&6
6763 if test -n "$ac_ct_OTOOL"; then
6764 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6773 ac_cv_prog_ac_ct_OTOOL="otool"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6784 if test -n "$ac_ct_OTOOL"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6786 $as_echo "$ac_ct_OTOOL" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6792 if test "x$ac_ct_OTOOL" = x; then
6795 case $cross_compiling:$ac_tool_warned in
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6799 ac_tool_warned=yes ;;
6804 OTOOL="$ac_cv_prog_OTOOL"
6807 if test -n "$ac_tool_prefix"; then
6808 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6809 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6813 $as_echo_n "(cached) " >&6
6815 if test -n "$OTOOL64"; then
6816 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6825 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835 OTOOL64=$ac_cv_prog_OTOOL64
6836 if test -n "$OTOOL64"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6838 $as_echo "$OTOOL64" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6846 if test -z "$ac_cv_prog_OTOOL64"; then
6847 ac_ct_OTOOL64=$OTOOL64
6848 # Extract the first word of "otool64", so it can be a program name with args.
6849 set dummy otool64; ac_word=$2
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6851 $as_echo_n "checking for $ac_word... " >&6; }
6852 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6853 $as_echo_n "(cached) " >&6
6855 if test -n "$ac_ct_OTOOL64"; then
6856 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6862 test -z "$as_dir" && as_dir=.
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6865 ac_cv_prog_ac_ct_OTOOL64="otool64"
6866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6876 if test -n "$ac_ct_OTOOL64"; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6878 $as_echo "$ac_ct_OTOOL64" >&6; }
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6881 $as_echo "no" >&6; }
6884 if test "x$ac_ct_OTOOL64" = x; then
6887 case $cross_compiling:$ac_tool_warned in
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6891 ac_tool_warned=yes ;;
6893 OTOOL64=$ac_ct_OTOOL64
6896 OTOOL64="$ac_cv_prog_OTOOL64"
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6926 $as_echo_n "checking for -single_module linker flag... " >&6; }
6927 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6928 $as_echo_n "(cached) " >&6
6930 lt_cv_apple_cc_single_mod=no
6931 if test -z "${LT_MULTI_MODULE}"; then
6932 # By default we will add the -single_module flag. You can override
6933 # by either setting the environment variable LT_MULTI_MODULE
6934 # non-empty at configure time, or by adding -multi_module to the
6936 rm -rf libconftest.dylib*
6937 echo "int foo(void){return 1;}" > conftest.c
6938 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6939 -dynamiclib -Wl,-single_module conftest.c" >&5
6940 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6941 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6943 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6944 lt_cv_apple_cc_single_mod=yes
6946 cat conftest.err >&5
6948 rm -rf libconftest.dylib*
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6953 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6955 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6956 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6957 $as_echo_n "(cached) " >&6
6959 lt_cv_ld_exported_symbols_list=no
6960 save_LDFLAGS=$LDFLAGS
6961 echo "_main" > conftest.sym
6962 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6974 if ac_fn_c_try_link "$LINENO"; then :
6975 lt_cv_ld_exported_symbols_list=yes
6977 lt_cv_ld_exported_symbols_list=no
6979 rm -f core conftest.err conftest.$ac_objext \
6980 conftest$ac_exeext conftest.$ac_ext
6981 LDFLAGS="$save_LDFLAGS"
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6985 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6987 rhapsody* | darwin1.[012])
6988 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6990 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6991 darwin*) # darwin 5.x on
6992 # if running on 10.5 or later, the deployment target defaults
6993 # to the OS version, if on x86, and 10.4, the deployment
6994 # target defaults to 10.4. Don't you love it?
6995 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6996 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6997 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6999 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7001 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7005 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7006 _lt_dar_single_mod='$single_module'
7008 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7009 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7011 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7013 if test "$DSYMUTIL" != ":"; then
7014 _lt_dsymutil='~$DSYMUTIL $lib || :'
7022 ac_cpp='$CPP $CPPFLAGS'
7023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7027 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7028 # On Suns, sometimes $CPP names a directory.
7029 if test -n "$CPP" && test -d "$CPP"; then
7032 if test -z "$CPP"; then
7033 if test "${ac_cv_prog_CPP+set}" = set; then :
7034 $as_echo_n "(cached) " >&6
7036 # Double quotes because CPP needs to be expanded
7037 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7040 for ac_c_preproc_warn_flag in '' yes
7042 # Use a header file that comes with gcc, so configuring glibc
7043 # with a fresh cross-compiler works.
7044 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7045 # <limits.h> exists even on freestanding compilers.
7046 # On the NeXT, cc -E runs the code through the compiler's parser,
7047 # not just through cpp. "Syntax error" is here to catch this case.
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7051 # include <limits.h>
7053 # include <assert.h>
7057 if ac_fn_c_try_cpp "$LINENO"; then :
7060 # Broken: fails on valid input.
7063 rm -f conftest.err conftest.i conftest.$ac_ext
7065 # OK, works on sane cases. Now check whether nonexistent headers
7066 # can be detected and how.
7067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7068 /* end confdefs.h. */
7069 #include <ac_nonexistent.h>
7071 if ac_fn_c_try_cpp "$LINENO"; then :
7072 # Broken: success on invalid input.
7075 # Passes both tests.
7079 rm -f conftest.err conftest.i conftest.$ac_ext
7082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7083 rm -f conftest.i conftest.err conftest.$ac_ext
7084 if $ac_preproc_ok; then :
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7097 $as_echo "$CPP" >&6; }
7099 for ac_c_preproc_warn_flag in '' yes
7101 # Use a header file that comes with gcc, so configuring glibc
7102 # with a fresh cross-compiler works.
7103 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7104 # <limits.h> exists even on freestanding compilers.
7105 # On the NeXT, cc -E runs the code through the compiler's parser,
7106 # not just through cpp. "Syntax error" is here to catch this case.
7107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108 /* end confdefs.h. */
7110 # include <limits.h>
7112 # include <assert.h>
7116 if ac_fn_c_try_cpp "$LINENO"; then :
7119 # Broken: fails on valid input.
7122 rm -f conftest.err conftest.i conftest.$ac_ext
7124 # OK, works on sane cases. Now check whether nonexistent headers
7125 # can be detected and how.
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7128 #include <ac_nonexistent.h>
7130 if ac_fn_c_try_cpp "$LINENO"; then :
7131 # Broken: success on invalid input.
7134 # Passes both tests.
7138 rm -f conftest.err conftest.i conftest.$ac_ext
7141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7142 rm -f conftest.i conftest.err conftest.$ac_ext
7143 if $ac_preproc_ok; then :
7146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7148 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7149 See \`config.log' for more details" "$LINENO" 5 ; }
7153 ac_cpp='$CPP $CPPFLAGS'
7154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7160 $as_echo_n "checking for ANSI C header files... " >&6; }
7161 if test "${ac_cv_header_stdc+set}" = set; then :
7162 $as_echo_n "(cached) " >&6
7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7179 if ac_fn_c_try_compile "$LINENO"; then :
7180 ac_cv_header_stdc=yes
7182 ac_cv_header_stdc=no
7184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7186 if test $ac_cv_header_stdc = yes; then
7187 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7194 $EGREP "memchr" >/dev/null 2>&1; then :
7197 ac_cv_header_stdc=no
7203 if test $ac_cv_header_stdc = yes; then
7204 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7211 $EGREP "free" >/dev/null 2>&1; then :
7214 ac_cv_header_stdc=no
7220 if test $ac_cv_header_stdc = yes; then
7221 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7222 if test "$cross_compiling" = yes; then :
7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7226 /* end confdefs.h. */
7229 #if ((' ' & 0x0FF) == 0x020)
7230 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7231 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7233 # define ISLOWER(c) \
7234 (('a' <= (c) && (c) <= 'i') \
7235 || ('j' <= (c) && (c) <= 'r') \
7236 || ('s' <= (c) && (c) <= 'z'))
7237 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7240 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7245 for (i = 0; i < 256; i++)
7246 if (XOR (islower (i), ISLOWER (i))
7247 || toupper (i) != TOUPPER (i))
7252 if ac_fn_c_try_run "$LINENO"; then :
7255 ac_cv_header_stdc=no
7257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7258 conftest.$ac_objext conftest.beam conftest.$ac_ext
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7264 $as_echo "$ac_cv_header_stdc" >&6; }
7265 if test $ac_cv_header_stdc = yes; then
7267 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7271 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7272 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7273 inttypes.h stdint.h unistd.h
7275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7276 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7278 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7279 cat >>confdefs.h <<_ACEOF
7280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7288 for ac_header in dlfcn.h
7290 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7292 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7293 cat >>confdefs.h <<_ACEOF
7294 #define HAVE_DLFCN_H 1
7313 # Check whether --enable-shared was given.
7314 if test "${enable_shared+set}" = set; then :
7315 enableval=$enable_shared; p=${PACKAGE-default}
7317 yes) enable_shared=yes ;;
7318 no) enable_shared=no ;;
7321 # Look at the argument we got. We use all the common list separators.
7322 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7323 for pkg in $enableval; do
7325 if test "X$pkg" = "X$p"; then
7346 # Check whether --with-pic was given.
7347 if test "${with_pic+set}" = set; then :
7348 withval=$with_pic; pic_mode="$withval"
7354 test -z "$pic_mode" && pic_mode=default
7362 # Check whether --enable-fast-install was given.
7363 if test "${enable_fast_install+set}" = set; then :
7364 enableval=$enable_fast_install; p=${PACKAGE-default}
7366 yes) enable_fast_install=yes ;;
7367 no) enable_fast_install=no ;;
7369 enable_fast_install=no
7370 # Look at the argument we got. We use all the common list separators.
7371 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7372 for pkg in $enableval; do
7374 if test "X$pkg" = "X$p"; then
7375 enable_fast_install=yes
7382 enable_fast_install=yes
7395 # This can be used to rebuild libtool when needed
7396 LIBTOOL_DEPS="$ltmain"
7398 # Always use our own libtool.
7399 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7425 test -z "$LN_S" && LN_S="ln -s"
7440 if test -n "${ZSH_VERSION+set}" ; then
7441 setopt NO_GLOB_SUBST
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7445 $as_echo_n "checking for objdir... " >&6; }
7446 if test "${lt_cv_objdir+set}" = set; then :
7447 $as_echo_n "(cached) " >&6
7449 rm -f .libs 2>/dev/null
7450 mkdir .libs 2>/dev/null
7451 if test -d .libs; then
7454 # MS-DOS does not allow filenames that begin with a dot.
7457 rmdir .libs 2>/dev/null
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7460 $as_echo "$lt_cv_objdir" >&6; }
7461 objdir=$lt_cv_objdir
7467 cat >>confdefs.h <<_ACEOF
7468 #define LT_OBJDIR "$lt_cv_objdir/"
7489 # AIX sometimes has problems with the GCC collect2 program. For some
7490 # reason, if we set the COLLECT_NAMES environment variable, the problems
7491 # vanish in a puff of smoke.
7492 if test "X${COLLECT_NAMES+set}" != Xset; then
7494 export COLLECT_NAMES
7499 # Sed substitution that helps us do robust quoting. It backslashifies
7500 # metacharacters that are still active within double-quoted strings.
7501 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7503 # Same as above, but do not quote variable references.
7504 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7506 # Sed substitution to delay expansion of an escaped shell variable in a
7507 # double_quote_subst'ed string.
7508 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7510 # Sed substitution to delay expansion of an escaped single quote.
7511 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7513 # Sed substitution to avoid accidental globbing in evaled expressions
7514 no_glob_subst='s/\*/\\\*/g'
7518 can_build_shared=yes
7520 # All known linkers require a `.a' archive for static linking (except MSVC,
7521 # which needs '.lib').
7524 with_gnu_ld="$lt_cv_prog_gnu_ld"
7527 old_CFLAGS="$CFLAGS"
7529 # Set sane defaults for various variables
7530 test -z "$CC" && CC=cc
7531 test -z "$LTCC" && LTCC=$CC
7532 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7533 test -z "$LD" && LD=ld
7534 test -z "$ac_objext" && ac_objext=o
7536 for cc_temp in $compiler""; do
7538 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7539 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7544 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7547 # Only perform the check for file, if the check method requires it
7548 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7549 case $deplibs_check_method in
7551 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7553 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7554 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7555 $as_echo_n "(cached) " >&6
7559 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7562 lt_save_MAGIC_CMD="$MAGIC_CMD"
7563 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7564 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7565 for ac_dir in $ac_dummy; do
7567 test -z "$ac_dir" && ac_dir=.
7568 if test -f $ac_dir/${ac_tool_prefix}file; then
7569 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7570 if test -n "$file_magic_test_file"; then
7571 case $deplibs_check_method in
7573 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7574 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7575 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7576 $EGREP "$file_magic_regex" > /dev/null; then
7581 *** Warning: the command libtool uses to detect shared libraries,
7582 *** $file_magic_cmd, produces output that libtool cannot recognize.
7583 *** The result is that libtool may fail to recognize shared libraries
7584 *** as such. This will affect the creation of libtool libraries that
7585 *** depend on shared libraries, but programs linked with such libtool
7586 *** libraries will work regardless of this problem. Nevertheless, you
7587 *** may want to report the problem to your system manager and/or to
7588 *** bug-libtool@gnu.org
7598 MAGIC_CMD="$lt_save_MAGIC_CMD"
7603 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7604 if test -n "$MAGIC_CMD"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7606 $as_echo "$MAGIC_CMD" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7616 if test -z "$lt_cv_path_MAGIC_CMD"; then
7617 if test -n "$ac_tool_prefix"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7619 $as_echo_n "checking for file... " >&6; }
7620 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7621 $as_echo_n "(cached) " >&6
7625 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7628 lt_save_MAGIC_CMD="$MAGIC_CMD"
7629 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7630 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7631 for ac_dir in $ac_dummy; do
7633 test -z "$ac_dir" && ac_dir=.
7634 if test -f $ac_dir/file; then
7635 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7636 if test -n "$file_magic_test_file"; then
7637 case $deplibs_check_method in
7639 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7640 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7641 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7642 $EGREP "$file_magic_regex" > /dev/null; then
7647 *** Warning: the command libtool uses to detect shared libraries,
7648 *** $file_magic_cmd, produces output that libtool cannot recognize.
7649 *** The result is that libtool may fail to recognize shared libraries
7650 *** as such. This will affect the creation of libtool libraries that
7651 *** depend on shared libraries, but programs linked with such libtool
7652 *** libraries will work regardless of this problem. Nevertheless, you
7653 *** may want to report the problem to your system manager and/or to
7654 *** bug-libtool@gnu.org
7664 MAGIC_CMD="$lt_save_MAGIC_CMD"
7669 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7670 if test -n "$MAGIC_CMD"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7672 $as_echo "$MAGIC_CMD" >&6; }
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7688 # Use C for the default configuration in the libtool script
7692 ac_cpp='$CPP $CPPFLAGS'
7693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7698 # Source file extension for C test sources.
7701 # Object file extension for compiled C test sources.
7705 # Code to be used in simple compile tests
7706 lt_simple_compile_test_code="int some_variable = 0;"
7708 # Code to be used in simple link tests
7709 lt_simple_link_test_code='int main(){return(0);}'
7717 # If no C compiler was specified, use CC.
7720 # If no C compiler flags were specified, use CFLAGS.
7721 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7723 # Allow CC to be a program name with arguments.
7726 # Save the default compiler, since it gets overwritten when the other
7727 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7728 compiler_DEFAULT=$CC
7730 # save warnings/boilerplate of simple test code
7731 ac_outfile=conftest.$ac_objext
7732 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7733 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7734 _lt_compiler_boilerplate=`cat conftest.err`
7737 ac_outfile=conftest.$ac_objext
7738 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7739 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7740 _lt_linker_boilerplate=`cat conftest.err`
7745 ## There is no encapsulation within the following macros, do not change
7746 ## the running order or otherwise move them around unless you know exactly
7747 ## what you are doing...
7748 if test -n "$compiler"; then
7750 lt_prog_compiler_no_builtin_flag=
7752 if test "$GCC" = yes; then
7753 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7756 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7757 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7758 $as_echo_n "(cached) " >&6
7760 lt_cv_prog_compiler_rtti_exceptions=no
7761 ac_outfile=conftest.$ac_objext
7762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7763 lt_compiler_flag="-fno-rtti -fno-exceptions"
7764 # Insert the option either (1) after the last *FLAGS variable, or
7765 # (2) before a word containing "conftest.", or (3) at the end.
7766 # Note that $ac_compile itself does not contain backslashes and begins
7767 # with a dollar sign (not a hyphen), so the echo should work correctly.
7768 # The option is referenced via a variable to avoid confusing sed.
7769 lt_compile=`echo "$ac_compile" | $SED \
7770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7772 -e 's:$: $lt_compiler_flag:'`
7773 (eval echo "\"\$as_me:7773: $lt_compile\"" >&5)
7774 (eval "$lt_compile" 2>conftest.err)
7776 cat conftest.err >&5
7777 echo "$as_me:7777: \$? = $ac_status" >&5
7778 if (exit $ac_status) && test -s "$ac_outfile"; then
7779 # The compiler can only warn and ignore the option if not recognized
7780 # So say no if there are warnings other than the usual output.
7781 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7784 lt_cv_prog_compiler_rtti_exceptions=yes
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7791 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7793 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7794 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7806 lt_prog_compiler_wl=
7807 lt_prog_compiler_pic=
7808 lt_prog_compiler_static=
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7811 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7813 if test "$GCC" = yes; then
7814 lt_prog_compiler_wl='-Wl,'
7815 lt_prog_compiler_static='-static'
7819 # All AIX code is PIC.
7820 if test "$host_cpu" = ia64; then
7821 # AIX 5 now supports IA64 processor
7822 lt_prog_compiler_static='-Bstatic'
7829 # see comment about AmigaOS4 .so support
7830 lt_prog_compiler_pic='-fPIC'
7833 # FIXME: we need at least 68020 code to build shared libraries, but
7834 # adding the `-m68020' flag to GCC prevents building anything better,
7836 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7841 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7842 # PIC is the default for these OSes.
7845 mingw* | cygwin* | pw32* | os2* | cegcc*)
7846 # This hack is so that the source file can tell whether it is being
7847 # built for inclusion in a dll (and should export symbols for example).
7848 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7849 # (--disable-auto-import) libraries
7850 lt_prog_compiler_pic='-DDLL_EXPORT'
7853 darwin* | rhapsody*)
7854 # PIC is the default on this platform
7855 # Common symbols not allowed in MH_DYLIB files
7856 lt_prog_compiler_pic='-fno-common'
7860 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7861 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7862 # sets the default TLS model and affects inlining.
7868 lt_prog_compiler_pic='-fPIC'
7874 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7875 # Instead, we relocate shared libraries at runtime.
7879 # Just because we use GCC doesn't mean we suddenly get shared libraries
7880 # on systems that don't support them.
7881 lt_prog_compiler_can_build_shared=no
7886 # QNX uses GNU C++, but need to define -shared option too, otherwise
7888 lt_prog_compiler_pic='-fPIC -shared'
7892 if test -d /usr/nec; then
7893 lt_prog_compiler_pic=-Kconform_pic
7898 lt_prog_compiler_pic='-fPIC'
7902 # PORTME Check for flag to pass linker flags through the system compiler.
7905 lt_prog_compiler_wl='-Wl,'
7906 if test "$host_cpu" = ia64; then
7907 # AIX 5 now supports IA64 processor
7908 lt_prog_compiler_static='-Bstatic'
7910 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7914 mingw* | cygwin* | pw32* | os2* | cegcc*)
7915 # This hack is so that the source file can tell whether it is being
7916 # built for inclusion in a dll (and should export symbols for example).
7917 lt_prog_compiler_pic='-DDLL_EXPORT'
7920 hpux9* | hpux10* | hpux11*)
7921 lt_prog_compiler_wl='-Wl,'
7922 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7929 lt_prog_compiler_pic='+Z'
7932 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7933 lt_prog_compiler_static='${wl}-a ${wl}archive'
7936 irix5* | irix6* | nonstopux*)
7937 lt_prog_compiler_wl='-Wl,'
7938 # PIC (with -KPIC) is the default.
7939 lt_prog_compiler_static='-non_shared'
7942 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7943 case $cc_basename in
7944 # old Intel for x86_64 which still supported -KPIC.
7946 lt_prog_compiler_wl='-Wl,'
7947 lt_prog_compiler_pic='-KPIC'
7948 lt_prog_compiler_static='-static'
7950 # icc used to be incompatible with GCC.
7951 # ICC 10 doesn't accept -KPIC any more.
7953 lt_prog_compiler_wl='-Wl,'
7954 lt_prog_compiler_pic='-fPIC'
7955 lt_prog_compiler_static='-static'
7957 # Lahey Fortran 8.1.
7959 lt_prog_compiler_wl='-Wl,'
7960 lt_prog_compiler_pic='--shared'
7961 lt_prog_compiler_static='--static'
7963 pgcc* | pgf77* | pgf90* | pgf95*)
7964 # Portland Group compilers (*not* the Pentium gcc compiler,
7965 # which looks to be a dead project)
7966 lt_prog_compiler_wl='-Wl,'
7967 lt_prog_compiler_pic='-fpic'
7968 lt_prog_compiler_static='-Bstatic'
7971 lt_prog_compiler_wl='-Wl,'
7972 # All Alpha code is PIC.
7973 lt_prog_compiler_static='-non_shared'
7976 # IBM XL C 8.0/Fortran 10.1 on PPC
7977 lt_prog_compiler_wl='-Wl,'
7978 lt_prog_compiler_pic='-qpic'
7979 lt_prog_compiler_static='-qstaticlink'
7982 case `$CC -V 2>&1 | sed 5q` in
7985 lt_prog_compiler_pic='-KPIC'
7986 lt_prog_compiler_static='-Bstatic'
7987 lt_prog_compiler_wl='-Wl,'
7990 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7991 lt_prog_compiler_pic='-KPIC'
7992 lt_prog_compiler_static='-Bstatic'
7993 lt_prog_compiler_wl=''
8001 lt_prog_compiler_pic='-KPIC'
8002 lt_prog_compiler_static='-Bstatic'
8006 # QNX uses GNU C++, but need to define -shared option too, otherwise
8008 lt_prog_compiler_pic='-fPIC -shared'
8011 osf3* | osf4* | osf5*)
8012 lt_prog_compiler_wl='-Wl,'
8013 # All OSF/1 code is PIC.
8014 lt_prog_compiler_static='-non_shared'
8018 lt_prog_compiler_static='-non_shared'
8022 lt_prog_compiler_pic='-KPIC'
8023 lt_prog_compiler_static='-Bstatic'
8024 case $cc_basename in
8026 lt_prog_compiler_wl='-Qoption ld ';;
8028 lt_prog_compiler_wl='-Wl,';;
8033 lt_prog_compiler_wl='-Qoption ld '
8034 lt_prog_compiler_pic='-PIC'
8035 lt_prog_compiler_static='-Bstatic'
8038 sysv4 | sysv4.2uw2* | sysv4.3*)
8039 lt_prog_compiler_wl='-Wl,'
8040 lt_prog_compiler_pic='-KPIC'
8041 lt_prog_compiler_static='-Bstatic'
8045 if test -d /usr/nec ;then
8046 lt_prog_compiler_pic='-Kconform_pic'
8047 lt_prog_compiler_static='-Bstatic'
8051 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8052 lt_prog_compiler_wl='-Wl,'
8053 lt_prog_compiler_pic='-KPIC'
8054 lt_prog_compiler_static='-Bstatic'
8058 lt_prog_compiler_wl='-Wl,'
8059 lt_prog_compiler_can_build_shared=no
8063 lt_prog_compiler_pic='-pic'
8064 lt_prog_compiler_static='-Bstatic'
8068 lt_prog_compiler_can_build_shared=no
8074 # For platforms which do not support PIC, -DPIC is meaningless:
8076 lt_prog_compiler_pic=
8079 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8083 $as_echo "$lt_prog_compiler_pic" >&6; }
8091 # Check to make sure the PIC flag actually works.
8093 if test -n "$lt_prog_compiler_pic"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8095 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8096 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8097 $as_echo_n "(cached) " >&6
8099 lt_cv_prog_compiler_pic_works=no
8100 ac_outfile=conftest.$ac_objext
8101 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8102 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8103 # Insert the option either (1) after the last *FLAGS variable, or
8104 # (2) before a word containing "conftest.", or (3) at the end.
8105 # Note that $ac_compile itself does not contain backslashes and begins
8106 # with a dollar sign (not a hyphen), so the echo should work correctly.
8107 # The option is referenced via a variable to avoid confusing sed.
8108 lt_compile=`echo "$ac_compile" | $SED \
8109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8111 -e 's:$: $lt_compiler_flag:'`
8112 (eval echo "\"\$as_me:8112: $lt_compile\"" >&5)
8113 (eval "$lt_compile" 2>conftest.err)
8115 cat conftest.err >&5
8116 echo "$as_me:8116: \$? = $ac_status" >&5
8117 if (exit $ac_status) && test -s "$ac_outfile"; then
8118 # The compiler can only warn and ignore the option if not recognized
8119 # So say no if there are warnings other than the usual output.
8120 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8121 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8122 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8123 lt_cv_prog_compiler_pic_works=yes
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8130 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8132 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8133 case $lt_prog_compiler_pic in
8135 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8138 lt_prog_compiler_pic=
8139 lt_prog_compiler_can_build_shared=no
8150 # Check to make sure the static flag actually works.
8152 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8154 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8155 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8156 $as_echo_n "(cached) " >&6
8158 lt_cv_prog_compiler_static_works=no
8159 save_LDFLAGS="$LDFLAGS"
8160 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8161 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8162 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8163 # The linker can only warn and ignore the option if not recognized
8164 # So say no if there are warnings
8165 if test -s conftest.err; then
8166 # Append any errors to the config.log.
8167 cat conftest.err 1>&5
8168 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8169 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8170 if diff conftest.exp conftest.er2 >/dev/null; then
8171 lt_cv_prog_compiler_static_works=yes
8174 lt_cv_prog_compiler_static_works=yes
8178 LDFLAGS="$save_LDFLAGS"
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8182 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8184 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8187 lt_prog_compiler_static=
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8197 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8198 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8199 $as_echo_n "(cached) " >&6
8201 lt_cv_prog_compiler_c_o=no
8202 $RM -r conftest 2>/dev/null
8206 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208 lt_compiler_flag="-o out/conftest2.$ac_objext"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 lt_compile=`echo "$ac_compile" | $SED \
8214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8216 -e 's:$: $lt_compiler_flag:'`
8217 (eval echo "\"\$as_me:8217: $lt_compile\"" >&5)
8218 (eval "$lt_compile" 2>out/conftest.err)
8220 cat out/conftest.err >&5
8221 echo "$as_me:8221: \$? = $ac_status" >&5
8222 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings
8226 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8227 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8228 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8229 lt_cv_prog_compiler_c_o=yes
8234 # SGI C++ compiler will create directory out/ii_files/ for
8235 # template instantiation
8236 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8237 $RM out/* && rmdir out
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8244 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8253 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_prog_compiler_c_o=no
8257 $RM -r conftest 2>/dev/null
8261 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8263 lt_compiler_flag="-o out/conftest2.$ac_objext"
8264 # Insert the option either (1) after the last *FLAGS variable, or
8265 # (2) before a word containing "conftest.", or (3) at the end.
8266 # Note that $ac_compile itself does not contain backslashes and begins
8267 # with a dollar sign (not a hyphen), so the echo should work correctly.
8268 lt_compile=`echo "$ac_compile" | $SED \
8269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8271 -e 's:$: $lt_compiler_flag:'`
8272 (eval echo "\"\$as_me:8272: $lt_compile\"" >&5)
8273 (eval "$lt_compile" 2>out/conftest.err)
8275 cat out/conftest.err >&5
8276 echo "$as_me:8276: \$? = $ac_status" >&5
8277 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8279 # The compiler can only warn and ignore the option if not recognized
8280 # So say no if there are warnings
8281 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8282 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8283 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8284 lt_cv_prog_compiler_c_o=yes
8289 # SGI C++ compiler will create directory out/ii_files/ for
8290 # template instantiation
8291 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8292 $RM out/* && rmdir out
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8304 hard_links="nottested"
8305 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8306 # do not overwrite the value of need_locks provided by the user
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8308 $as_echo_n "checking if we can lock with hard links... " >&6; }
8311 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8313 ln conftest.a conftest.b 2>&5 || hard_links=no
8314 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8316 $as_echo "$hard_links" >&6; }
8317 if test "$hard_links" = no; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8319 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8332 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8335 allow_undefined_flag=
8336 always_export_symbols=no
8338 archive_expsym_cmds=
8339 compiler_needs_object=no
8340 enable_shared_with_static_runtimes=no
8341 export_dynamic_flag_spec=
8342 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8343 hardcode_automatic=no
8345 hardcode_direct_absolute=no
8346 hardcode_libdir_flag_spec=
8347 hardcode_libdir_flag_spec_ld=
8348 hardcode_libdir_separator=
8350 hardcode_shlibpath_var=unsupported
8352 link_all_deplibs=unknown
8355 old_archive_from_new_cmds=
8356 old_archive_from_expsyms_cmds=
8357 thread_safe_flag_spec=
8358 whole_archive_flag_spec=
8359 # include_expsyms should be a list of space-separated symbols to be *always*
8360 # included in the symbol list
8362 # exclude_expsyms can be an extended regexp of symbols to exclude
8363 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8364 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8365 # as well as any symbol that contains `d'.
8366 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8367 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8368 # platforms (ab)use it in PIC code, but their linkers get confused if
8369 # the symbol is explicitly referenced. Since portable code cannot
8370 # rely on this symbol name, it's probably fine to never include it in
8371 # preloaded symbol tables.
8372 # Exclude shared library initialization/finalization symbols.
8373 extract_expsyms_cmds=
8376 cygwin* | mingw* | pw32* | cegcc*)
8377 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8378 # When not using gcc, we currently assume that we are using
8379 # Microsoft Visual C++.
8380 if test "$GCC" != yes; then
8385 # we just hope/assume this is gcc and not c89 (= MSVC++)
8391 linux* | k*bsd*-gnu)
8397 if test "$with_gnu_ld" = yes; then
8398 # If archive_cmds runs LD, not CC, wlarc should be empty
8401 # Set some defaults for GNU ld with shared library support. These
8402 # are reset later if shared libraries are not supported. Putting them
8403 # here allows them to be overridden if necessary.
8404 runpath_var=LD_RUN_PATH
8405 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8406 export_dynamic_flag_spec='${wl}--export-dynamic'
8407 # ancient GNU ld didn't support --whole-archive et. al.
8408 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8409 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8411 whole_archive_flag_spec=
8413 supports_anon_versioning=no
8414 case `$LD -v 2>&1` in
8415 *GNU\ gold*) supports_anon_versioning=yes ;;
8416 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8417 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8418 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8419 *\ 2.11.*) ;; # other 2.11 versions
8420 *) supports_anon_versioning=yes ;;
8423 # See if GNU ld supports shared libraries.
8426 # On AIX/PPC, the GNU linker is very broken
8427 if test "$host_cpu" != ia64; then
8431 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8432 *** to be unable to reliably create shared libraries on AIX.
8433 *** Therefore, libtool is disabling shared libraries support. If you
8434 *** really care for shared libraries, you may want to modify your PATH
8435 *** so that a non-GNU linker is found, and then restart.
8444 # see comment about AmigaOS4 .so support
8445 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8446 archive_expsym_cmds=''
8449 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)'
8450 hardcode_libdir_flag_spec='-L$libdir'
8451 hardcode_minus_L=yes
8457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8458 allow_undefined_flag=unsupported
8459 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8460 # support --undefined. This deserves some investigation. FIXME
8461 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8467 cygwin* | mingw* | pw32* | cegcc*)
8468 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8469 # as there is no search path for DLLs.
8470 hardcode_libdir_flag_spec='-L$libdir'
8471 allow_undefined_flag=unsupported
8472 always_export_symbols=no
8473 enable_shared_with_static_runtimes=yes
8474 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8476 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8477 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8478 # If the export-symbols file already is a .def file (1st line
8479 # is EXPORTS), use it as is; otherwise, prepend...
8480 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8481 cp $export_symbols $output_objdir/$soname.def;
8483 echo EXPORTS > $output_objdir/$soname.def;
8484 cat $export_symbols >> $output_objdir/$soname.def;
8486 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8494 hardcode_shlibpath_var=no
8495 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8496 export_dynamic_flag_spec='${wl}-E'
8497 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8498 # Instead, shared libraries are loaded at an image base (0x10000000 by
8499 # default) and relocated if they conflict, which is a slow very memory
8500 # consuming and fragmenting process. To avoid this, we pick a random,
8501 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8502 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8503 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8504 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'
8507 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8509 if test "$host_os" = linux-dietlibc; then
8510 case $cc_basename in
8511 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8514 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8515 && test "$tmp_diet" = no
8518 tmp_sharedflag='-shared'
8519 case $cc_basename,$host_cpu in
8520 pgcc*) # Portland Group C compiler
8521 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'
8522 tmp_addflag=' $pic_flag'
8524 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8525 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'
8526 tmp_addflag=' $pic_flag -Mnomain' ;;
8527 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8528 tmp_addflag=' -i_dynamic' ;;
8529 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8530 tmp_addflag=' -i_dynamic -nofor_main' ;;
8531 ifc* | ifort*) # Intel Fortran compiler
8532 tmp_addflag=' -nofor_main' ;;
8533 lf95*) # Lahey Fortran 8.1
8534 whole_archive_flag_spec=
8535 tmp_sharedflag='--shared' ;;
8536 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8537 tmp_sharedflag='-qmkshrobj'
8540 case `$CC -V 2>&1 | sed 5q` in
8541 *Sun\ C*) # Sun C 5.9
8542 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'
8543 compiler_needs_object=yes
8544 tmp_sharedflag='-G' ;;
8545 *Sun\ F*) # Sun Fortran 8.3
8546 tmp_sharedflag='-G' ;;
8548 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8550 if test "x$supports_anon_versioning" = xyes; then
8551 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8552 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8553 echo "local: *; };" >> $output_objdir/$libname.ver~
8554 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8557 case $cc_basename in
8559 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8560 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8561 hardcode_libdir_flag_spec=
8562 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8563 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8564 if test "x$supports_anon_versioning" = xyes; then
8565 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8566 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8567 echo "local: *; };" >> $output_objdir/$libname.ver~
8568 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8577 netbsd* | netbsdelf*-gnu)
8578 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8579 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8582 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8583 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8588 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8592 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8593 *** create shared libraries on Solaris systems. Therefore, libtool
8594 *** is disabling shared libraries support. We urge you to upgrade GNU
8595 *** binutils to release 2.9.1 or newer. Another option is to modify
8596 *** your PATH or compiler configuration so that the native linker is
8597 *** used, and then restart.
8600 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8601 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8602 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8608 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8609 case `$LD -v 2>&1` in
8610 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8614 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8615 *** reliably create shared libraries on SCO systems. Therefore, libtool
8616 *** is disabling shared libraries support. We urge you to upgrade GNU
8617 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8618 *** your PATH or compiler configuration so that the native linker is
8619 *** used, and then restart.
8624 # For security reasons, it is highly recommended that you always
8625 # use absolute paths for naming shared libraries, and exclude the
8626 # DT_RUNPATH tag from executables and libraries. But doing so
8627 # requires that you compile everything twice, which is a pain.
8628 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8629 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8630 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8631 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8640 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8643 hardcode_shlibpath_var=no
8647 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8648 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8649 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8656 if test "$ld_shlibs" = no; then
8658 hardcode_libdir_flag_spec=
8659 export_dynamic_flag_spec=
8660 whole_archive_flag_spec=
8663 # PORTME fill in a description of your system's linker (not GNU ld)
8666 allow_undefined_flag=unsupported
8667 always_export_symbols=yes
8668 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'
8669 # Note: this linker hardcodes the directories in LIBPATH if there
8670 # are no directories specified by -L.
8671 hardcode_minus_L=yes
8672 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8673 # Neither direct hardcoding nor static linking is supported with a
8675 hardcode_direct=unsupported
8680 if test "$host_cpu" = ia64; then
8681 # On IA64, the linker does run time linking by default, so we don't
8682 # have to do anything special.
8683 aix_use_runtimelinking=no
8684 exp_sym_flag='-Bexport'
8687 # If we're using GNU nm, then we don't want the "-C" option.
8688 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8689 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8690 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'
8692 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'
8694 aix_use_runtimelinking=no
8696 # Test if we are trying to use run time linking or normal
8697 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8698 # need to do runtime linking.
8699 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8700 for ld_flag in $LDFLAGS; do
8701 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8702 aix_use_runtimelinking=yes
8709 exp_sym_flag='-bexport'
8710 no_entry_flag='-bnoentry'
8713 # When large executables or shared objects are built, AIX ld can
8714 # have problems creating the table of contents. If linking a library
8715 # or program results in "error TOC overflow" add -mminimal-toc to
8716 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8717 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8721 hardcode_direct_absolute=yes
8722 hardcode_libdir_separator=':'
8723 link_all_deplibs=yes
8724 file_list_spec='${wl}-f,'
8726 if test "$GCC" = yes; then
8727 case $host_os in aix4.[012]|aix4.[012].*)
8728 # We only want to do this on AIX 4.2 and lower, the check
8729 # below for broken collect2 doesn't work under 4.3+
8730 collect2name=`${CC} -print-prog-name=collect2`
8731 if test -f "$collect2name" &&
8732 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8734 # We have reworked collect2
8737 # We have old collect2
8738 hardcode_direct=unsupported
8739 # It fails to find uninstalled libraries when the uninstalled
8740 # path is not listed in the libpath. Setting hardcode_minus_L
8741 # to unsupported forces relinking
8742 hardcode_minus_L=yes
8743 hardcode_libdir_flag_spec='-L$libdir'
8744 hardcode_libdir_separator=
8748 shared_flag='-shared'
8749 if test "$aix_use_runtimelinking" = yes; then
8750 shared_flag="$shared_flag "'${wl}-G'
8755 if test "$host_cpu" = ia64; then
8756 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8757 # chokes on -Wl,-G. The following line is correct:
8760 if test "$aix_use_runtimelinking" = yes; then
8761 shared_flag='${wl}-G'
8763 shared_flag='${wl}-bM:SRE'
8768 export_dynamic_flag_spec='${wl}-bexpall'
8769 # It seems that -bexpall does not export symbols beginning with
8770 # underscore (_), so it is better to generate a list of symbols to export.
8771 always_export_symbols=yes
8772 if test "$aix_use_runtimelinking" = yes; then
8773 # Warning - without using the other runtime loading flags (-brtl),
8774 # -berok will link without error, but may produce a broken library.
8775 allow_undefined_flag='-berok'
8776 # Determine the default libpath from the value encoded in an
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8789 if ac_fn_c_try_link "$LINENO"; then :
8791 lt_aix_libpath_sed='
8792 /Import File Strings/,/^$/ {
8798 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8799 # Check for a 64-bit object if we didn't find anything.
8800 if test -z "$aix_libpath"; then
8801 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8808 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8809 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"
8811 if test "$host_cpu" = ia64; then
8812 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8813 allow_undefined_flag="-z nodefs"
8814 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"
8816 # Determine the default libpath from the value encoded in an
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8829 if ac_fn_c_try_link "$LINENO"; then :
8831 lt_aix_libpath_sed='
8832 /Import File Strings/,/^$/ {
8838 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8839 # Check for a 64-bit object if we didn't find anything.
8840 if test -z "$aix_libpath"; then
8841 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8844 rm -f core conftest.err conftest.$ac_objext \
8845 conftest$ac_exeext conftest.$ac_ext
8846 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8848 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8849 # Warning - without using the other run time loading flags,
8850 # -berok will link without error, but may produce a broken library.
8851 no_undefined_flag=' ${wl}-bernotok'
8852 allow_undefined_flag=' ${wl}-berok'
8853 # Exported symbols can be pulled into shared objects from archives
8854 whole_archive_flag_spec='$convenience'
8855 archive_cmds_need_lc=yes
8856 # This is similar to how AIX traditionally builds its shared libraries.
8857 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'
8865 # see comment about AmigaOS4 .so support
8866 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8867 archive_expsym_cmds=''
8870 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)'
8871 hardcode_libdir_flag_spec='-L$libdir'
8872 hardcode_minus_L=yes
8878 export_dynamic_flag_spec=-rdynamic
8881 cygwin* | mingw* | pw32* | cegcc*)
8882 # When not using gcc, we currently assume that we are using
8883 # Microsoft Visual C++.
8884 # hardcode_libdir_flag_spec is actually meaningless, as there is
8885 # no search path for DLLs.
8886 hardcode_libdir_flag_spec=' '
8887 allow_undefined_flag=unsupported
8888 # Tell ltmain to make .lib files, not .a files.
8890 # Tell ltmain to make .dll files, not .so files.
8892 # FIXME: Setting linknames here is a bad hack.
8893 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8894 # The linker will automatically build a .lib file if we build a DLL.
8895 old_archive_from_new_cmds='true'
8896 # FIXME: Should let the user specify the lib program.
8897 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8898 fix_srcfile_path='`cygpath -w "$srcfile"`'
8899 enable_shared_with_static_runtimes=yes
8902 darwin* | rhapsody*)
8905 archive_cmds_need_lc=no
8907 hardcode_automatic=yes
8908 hardcode_shlibpath_var=unsupported
8909 whole_archive_flag_spec=''
8910 link_all_deplibs=yes
8911 allow_undefined_flag="$_lt_dar_allow_undefined"
8912 case $cc_basename in
8913 ifort*) _lt_dar_can_shared=yes ;;
8914 *) _lt_dar_can_shared=$GCC ;;
8916 if test "$_lt_dar_can_shared" = "yes"; then
8917 output_verbose_link_cmd=echo
8918 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8919 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8920 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}"
8921 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}"
8930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8931 hardcode_libdir_flag_spec='-L$libdir'
8932 hardcode_shlibpath_var=no
8939 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8940 # support. Future versions do this automatically, but an explicit c++rt0.o
8941 # does not break anything, and helps significantly (at the cost of a little
8944 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8945 hardcode_libdir_flag_spec='-R$libdir'
8947 hardcode_shlibpath_var=no
8950 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8952 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8954 hardcode_minus_L=yes
8955 hardcode_shlibpath_var=no
8958 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8959 freebsd* | dragonfly*)
8960 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8961 hardcode_libdir_flag_spec='-R$libdir'
8963 hardcode_shlibpath_var=no
8967 if test "$GCC" = yes; then
8968 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'
8970 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'
8972 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8973 hardcode_libdir_separator=:
8976 # hardcode_minus_L: Not really in the search PATH,
8977 # but as the default location of the library.
8978 hardcode_minus_L=yes
8979 export_dynamic_flag_spec='${wl}-E'
8983 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8984 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8986 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8988 if test "$with_gnu_ld" = no; then
8989 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8990 hardcode_libdir_flag_spec_ld='+b $libdir'
8991 hardcode_libdir_separator=:
8993 hardcode_direct_absolute=yes
8994 export_dynamic_flag_spec='${wl}-E'
8995 # hardcode_minus_L: Not really in the search PATH,
8996 # but as the default location of the library.
8997 hardcode_minus_L=yes
9002 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9005 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9008 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9011 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9017 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9020 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9023 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9027 if test "$with_gnu_ld" = no; then
9028 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9029 hardcode_libdir_separator=:
9034 hardcode_shlibpath_var=no
9038 hardcode_direct_absolute=yes
9039 export_dynamic_flag_spec='${wl}-E'
9041 # hardcode_minus_L: Not really in the search PATH,
9042 # but as the default location of the library.
9043 hardcode_minus_L=yes
9049 irix5* | irix6* | nonstopux*)
9050 if test "$GCC" = yes; then
9051 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'
9052 # Try to use the -exported_symbol ld option, if it does not
9053 # work, assume that -exports_file does not work either and
9054 # implicitly export all symbols.
9055 save_LDFLAGS="$LDFLAGS"
9056 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 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'
9065 rm -f core conftest.err conftest.$ac_objext \
9066 conftest$ac_exeext conftest.$ac_ext
9067 LDFLAGS="$save_LDFLAGS"
9069 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'
9070 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'
9072 archive_cmds_need_lc='no'
9073 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9074 hardcode_libdir_separator=:
9076 link_all_deplibs=yes
9079 netbsd* | netbsdelf*-gnu)
9080 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9081 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9083 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9085 hardcode_libdir_flag_spec='-R$libdir'
9087 hardcode_shlibpath_var=no
9091 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9093 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9094 hardcode_libdir_separator=:
9095 hardcode_shlibpath_var=no
9102 if test -f /usr/libexec/ld.so; then
9104 hardcode_shlibpath_var=no
9105 hardcode_direct_absolute=yes
9106 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9107 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9108 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9109 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9110 export_dynamic_flag_spec='${wl}-E'
9113 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9114 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9115 hardcode_libdir_flag_spec='-R$libdir'
9118 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9119 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9129 hardcode_libdir_flag_spec='-L$libdir'
9130 hardcode_minus_L=yes
9131 allow_undefined_flag=unsupported
9132 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'
9133 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9137 if test "$GCC" = yes; then
9138 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9139 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'
9141 allow_undefined_flag=' -expect_unresolved \*'
9142 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'
9144 archive_cmds_need_lc='no'
9145 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9146 hardcode_libdir_separator=:
9149 osf4* | osf5*) # as osf3* with the addition of -msym flag
9150 if test "$GCC" = yes; then
9151 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9152 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'
9153 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9155 allow_undefined_flag=' -expect_unresolved \*'
9156 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'
9157 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~
9158 $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'
9160 # Both c and cxx compiler support -rpath directly
9161 hardcode_libdir_flag_spec='-rpath $libdir'
9163 archive_cmds_need_lc='no'
9164 hardcode_libdir_separator=:
9168 no_undefined_flag=' -z defs'
9169 if test "$GCC" = yes; then
9171 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9172 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9173 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9175 case `$CC -V 2>&1` in
9178 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9179 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9180 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9184 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9185 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9186 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9190 hardcode_libdir_flag_spec='-R$libdir'
9191 hardcode_shlibpath_var=no
9193 solaris2.[0-5] | solaris2.[0-5].*) ;;
9195 # The compiler driver will combine and reorder linker options,
9196 # but understands `-z linker_flag'. GCC discards it without `$wl',
9197 # but is careful enough not to reorder.
9198 # Supported since Solaris 2.6 (maybe 2.5.1?)
9199 if test "$GCC" = yes; then
9200 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9202 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9206 link_all_deplibs=yes
9210 if test "x$host_vendor" = xsequent; then
9211 # Use $CC to link under sequent, because it throws in some extra .o
9212 # files that make .init and .fini sections work.
9213 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9215 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9217 hardcode_libdir_flag_spec='-L$libdir'
9219 hardcode_minus_L=yes
9220 hardcode_shlibpath_var=no
9224 case $host_vendor in
9226 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9227 hardcode_direct=yes # is this really true???
9230 ## LD is ld it makes a PLAMLIB
9231 ## CC just makes a GrossModule.
9232 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9233 reload_cmds='$CC -r -o $output$reload_objs'
9237 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9238 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9241 runpath_var='LD_RUN_PATH'
9242 hardcode_shlibpath_var=no
9246 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9247 hardcode_shlibpath_var=no
9248 export_dynamic_flag_spec='-Bexport'
9252 if test -d /usr/nec; then
9253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9254 hardcode_shlibpath_var=no
9255 runpath_var=LD_RUN_PATH
9256 hardcode_runpath_var=yes
9261 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9262 no_undefined_flag='${wl}-z,text'
9263 archive_cmds_need_lc=no
9264 hardcode_shlibpath_var=no
9265 runpath_var='LD_RUN_PATH'
9267 if test "$GCC" = yes; then
9268 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9269 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9271 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9272 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9276 sysv5* | sco3.2v5* | sco5v6*)
9277 # Note: We can NOT use -z defs as we might desire, because we do not
9278 # link with -lc, and that would cause any symbols used from libc to
9279 # always be unresolved, which means just about no library would
9280 # ever link correctly. If we're not using GNU ld we use -z text
9281 # though, which does catch some bad symbols but isn't as heavy-handed
9283 no_undefined_flag='${wl}-z,text'
9284 allow_undefined_flag='${wl}-z,nodefs'
9285 archive_cmds_need_lc=no
9286 hardcode_shlibpath_var=no
9287 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9288 hardcode_libdir_separator=':'
9289 link_all_deplibs=yes
9290 export_dynamic_flag_spec='${wl}-Bexport'
9291 runpath_var='LD_RUN_PATH'
9293 if test "$GCC" = yes; then
9294 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9297 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9298 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9303 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9304 hardcode_libdir_flag_spec='-L$libdir'
9305 hardcode_shlibpath_var=no
9313 if test x$host_vendor = xsni; then
9315 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9316 export_dynamic_flag_spec='${wl}-Blargedynsym'
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9323 $as_echo "$ld_shlibs" >&6; }
9324 test "$ld_shlibs" = no && can_build_shared=no
9326 with_gnu_ld=$with_gnu_ld
9343 # Do we need to explicitly link libc?
9345 case "x$archive_cmds_need_lc" in
9347 # Assume -lc should be added
9348 archive_cmds_need_lc=yes
9350 if test "$enable_shared" = yes && test "$GCC" = yes; then
9351 case $archive_cmds in
9353 # FIXME: we may have to deal with multi-command sequences.
9356 # Test whether the compiler implicitly links with -lc since on some
9357 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9358 # to ld, don't add -lc before -lgcc.
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9360 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9365 (eval $ac_compile) 2>&5
9367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9368 test $ac_status = 0; } 2>conftest.err; then
9371 libobjs=conftest.$ac_objext
9373 wl=$lt_prog_compiler_wl
9374 pic_flag=$lt_prog_compiler_pic
9380 lt_save_allow_undefined_flag=$allow_undefined_flag
9381 allow_undefined_flag=
9382 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9383 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9386 test $ac_status = 0; }
9388 archive_cmds_need_lc=no
9390 archive_cmds_need_lc=yes
9392 allow_undefined_flag=$lt_save_allow_undefined_flag
9394 cat conftest.err 1>&5
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9398 $as_echo "$archive_cmds_need_lc" >&6; }
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9562 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9564 if test "$GCC" = yes; then
9566 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9567 *) lt_awk_arg="/^libraries:/" ;;
9569 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9570 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9571 # if the path contains ";" then we assume it to be the separator
9572 # otherwise default to the standard path separator (i.e. ":") - it is
9573 # assumed that no part of a normal pathname contains ";" but that should
9574 # okay in the real world where ";" in dirpaths is itself problematic.
9575 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9577 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9579 # Ok, now we have the path, separated by spaces, we can step through it
9580 # and add multilib dir if necessary.
9581 lt_tmp_lt_search_path_spec=
9582 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9583 for lt_sys_path in $lt_search_path_spec; do
9584 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9585 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9587 test -d "$lt_sys_path" && \
9588 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9591 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9592 BEGIN {RS=" "; FS="/|\n";} {
9595 for (lt_i = NF; lt_i > 0; lt_i--) {
9596 if ($lt_i != "" && $lt_i != ".") {
9597 if ($lt_i == "..") {
9600 if (lt_count == 0) {
9601 lt_foo="/" $lt_i lt_foo;
9608 if (lt_foo != "") { lt_freq[lt_foo]++; }
9609 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9611 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9613 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9616 libname_spec='lib$name'
9624 shlibpath_overrides_runpath=unknown
9626 dynamic_linker="$host_os ld.so"
9627 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9628 need_lib_prefix=unknown
9629 hardcode_into_libs=no
9631 # when you set need_version to no, make sure it does not cause -set_version
9632 # flags to be left without arguments
9633 need_version=unknown
9638 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9639 shlibpath_var=LIBPATH
9641 # AIX 3 has no versioning support, so we append a major version to the name.
9642 soname_spec='${libname}${release}${shared_ext}$major'
9649 hardcode_into_libs=yes
9650 if test "$host_cpu" = ia64; then
9651 # AIX 5 supports IA64
9652 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9653 shlibpath_var=LD_LIBRARY_PATH
9655 # With GCC up to 2.95.x, collect2 would create an import file
9656 # for dependence libraries. The import file would start with
9657 # the line `#! .'. This would cause the generated library to
9658 # depend on `.', always an invalid library. This was fixed in
9659 # development snapshots of GCC prior to 3.0.
9661 aix4 | aix4.[01] | aix4.[01].*)
9662 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9664 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9671 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9672 # soname into executable. Probably we can add versioning support to
9673 # collect2, so additional links can be useful in future.
9674 if test "$aix_use_runtimelinking" = yes; then
9675 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9676 # instead of lib<name>.a to let people know that these are not
9677 # typical AIX shared libraries.
9678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9680 # We preserve .a as extension for shared libraries through AIX4.2
9681 # and later when we are not doing run time linking.
9682 library_names_spec='${libname}${release}.a $libname.a'
9683 soname_spec='${libname}${release}${shared_ext}$major'
9685 shlibpath_var=LIBPATH
9692 # Since July 2007 AmigaOS4 officially supports .so libraries.
9693 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9697 library_names_spec='$libname.ixlibrary $libname.a'
9698 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9699 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'
9705 library_names_spec='${libname}${shared_ext}'
9706 dynamic_linker="$host_os ld.so"
9707 shlibpath_var=LIBRARY_PATH
9713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9714 soname_spec='${libname}${release}${shared_ext}$major'
9715 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9716 shlibpath_var=LD_LIBRARY_PATH
9717 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9718 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9719 # the default ld.so.conf also contains /usr/contrib/lib and
9720 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9721 # libtool to hard-code these into programs
9724 cygwin* | mingw* | pw32* | cegcc*)
9725 version_type=windows
9730 case $GCC,$host_os in
9731 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9732 library_names_spec='$libname.dll.a'
9733 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9734 postinstall_cmds='base_file=`basename \${file}`~
9735 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9736 dldir=$destdir/`dirname \$dlpath`~
9737 test -d \$dldir || mkdir -p \$dldir~
9738 $install_prog $dir/$dlname \$dldir/$dlname~
9739 chmod a+x \$dldir/$dlname~
9740 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9741 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9743 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9744 dlpath=$dir/\$dldll~
9746 shlibpath_overrides_runpath=yes
9750 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9751 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9752 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9755 # MinGW DLLs use traditional 'lib' prefix
9756 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9757 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9758 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9759 # It is most probably a Windows format PATH printed by
9760 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9761 # path with ; separators, and with drive letters. We can handle the
9762 # drive letters (cygwin fileutils understands them), so leave them,
9763 # especially as we might pass files found there to a mingw objdump,
9764 # which wouldn't understand a cygwinified path. Ahh.
9765 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9767 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9771 # pw32 DLLs use 'pw' prefix rather than 'lib'
9772 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9778 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9781 dynamic_linker='Win32 ld.exe'
9782 # FIXME: first we should search . and the directory the executable is in
9786 darwin* | rhapsody*)
9787 dynamic_linker="$host_os dyld"
9791 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9792 soname_spec='${libname}${release}${major}$shared_ext'
9793 shlibpath_overrides_runpath=yes
9794 shlibpath_var=DYLD_LIBRARY_PATH
9795 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9797 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9798 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9806 soname_spec='${libname}${release}${shared_ext}$major'
9807 shlibpath_var=LD_LIBRARY_PATH
9814 freebsd* | dragonfly*)
9815 # DragonFly does not have aout. When/if they implement a new
9816 # versioning mechanism, adjust this.
9817 if test -x /usr/bin/objformat; then
9818 objformat=`/usr/bin/objformat`
9821 freebsd[123]*) objformat=aout ;;
9825 version_type=freebsd-$objformat
9826 case $version_type in
9828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9833 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9837 shlibpath_var=LD_LIBRARY_PATH
9840 shlibpath_overrides_runpath=yes
9842 freebsd3.[01]* | freebsdelf3.[01]*)
9843 shlibpath_overrides_runpath=yes
9844 hardcode_into_libs=yes
9846 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9847 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9848 shlibpath_overrides_runpath=no
9849 hardcode_into_libs=yes
9851 *) # from 4.6 on, and DragonFly
9852 shlibpath_overrides_runpath=yes
9853 hardcode_into_libs=yes
9862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9863 soname_spec='${libname}${release}${shared_ext}$major'
9864 shlibpath_var=LD_LIBRARY_PATH
9865 hardcode_into_libs=yes
9868 hpux9* | hpux10* | hpux11*)
9869 # Give a soname corresponding to the major version so that dld.sl refuses to
9870 # link against other versions.
9877 hardcode_into_libs=yes
9878 dynamic_linker="$host_os dld.so"
9879 shlibpath_var=LD_LIBRARY_PATH
9880 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9882 soname_spec='${libname}${release}${shared_ext}$major'
9883 if test "X$HPUX_IA64_MODE" = X32; then
9884 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9886 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9888 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9892 hardcode_into_libs=yes
9893 dynamic_linker="$host_os dld.sl"
9894 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9895 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9897 soname_spec='${libname}${release}${shared_ext}$major'
9898 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9899 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9903 dynamic_linker="$host_os dld.sl"
9904 shlibpath_var=SHLIB_PATH
9905 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9907 soname_spec='${libname}${release}${shared_ext}$major'
9910 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9911 postinstall_cmds='chmod 555 $lib'
9918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9919 soname_spec='${libname}${release}${shared_ext}$major'
9920 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9921 shlibpath_var=LD_LIBRARY_PATH
9922 shlibpath_overrides_runpath=no
9923 hardcode_into_libs=yes
9926 irix5* | irix6* | nonstopux*)
9928 nonstopux*) version_type=nonstopux ;;
9930 if test "$lt_cv_prog_gnu_ld" = yes; then
9938 soname_spec='${libname}${release}${shared_ext}$major'
9939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9941 irix5* | nonstopux*)
9945 case $LD in # libtool.m4 will add one of these switches to LD
9946 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9947 libsuff= shlibsuff= libmagic=32-bit;;
9948 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9949 libsuff=32 shlibsuff=N32 libmagic=N32;;
9950 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9951 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9952 *) libsuff= shlibsuff= libmagic=never-match;;
9956 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9957 shlibpath_overrides_runpath=no
9958 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9959 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9960 hardcode_into_libs=yes
9963 # No shared lib support for Linux oldld, aout, or coff.
9964 linux*oldld* | linux*aout* | linux*coff*)
9968 # This must be Linux ELF.
9969 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9974 soname_spec='${libname}${release}${shared_ext}$major'
9975 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9976 shlibpath_var=LD_LIBRARY_PATH
9977 shlibpath_overrides_runpath=no
9978 # Some binutils ld are patched to set DT_RUNPATH
9979 save_LDFLAGS=$LDFLAGS
9981 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9982 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9996 shlibpath_overrides_runpath=yes
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 LDFLAGS=$save_LDFLAGS
10002 libdir=$save_libdir
10004 # This implies no fast_install, which is unacceptable.
10005 # Some rework will be needed to allow for fast_install
10006 # before this can be enabled.
10007 hardcode_into_libs=yes
10009 # Append ld.so.conf contents to the search path
10010 if test -f /etc/ld.so.conf; then
10011 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' ' '`
10012 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10015 # We used to test for /lib/ld.so.1 and disable shared libraries on
10016 # powerpc, because MkLinux only supported shared libraries with the
10017 # GNU dynamic linker. Since this was broken with cross compilers,
10018 # most powerpc-linux boxes support dynamic linking these days and
10019 # people can always --disable-shared, the test was removed, and we
10020 # assume the GNU/Linux dynamic linker is in use.
10021 dynamic_linker='GNU/Linux ld.so'
10028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10029 soname_spec='${libname}${release}${shared_ext}$major'
10030 shlibpath_var=LD_LIBRARY_PATH
10031 shlibpath_overrides_runpath=no
10032 hardcode_into_libs=yes
10033 dynamic_linker='NetBSD ld.elf_so'
10040 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10043 dynamic_linker='NetBSD (a.out) ld.so'
10045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10046 soname_spec='${libname}${release}${shared_ext}$major'
10047 dynamic_linker='NetBSD ld.elf_so'
10049 shlibpath_var=LD_LIBRARY_PATH
10050 shlibpath_overrides_runpath=yes
10051 hardcode_into_libs=yes
10056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10057 shlibpath_var=LD_LIBRARY_PATH
10058 shlibpath_overrides_runpath=yes
10065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10066 soname_spec='${libname}${release}${shared_ext}$major'
10067 shlibpath_var=LD_LIBRARY_PATH
10068 shlibpath_overrides_runpath=no
10069 hardcode_into_libs=yes
10070 dynamic_linker='ldqnx.so'
10075 sys_lib_dlsearch_path_spec="/usr/lib"
10077 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10079 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10080 *) need_version=no ;;
10082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10083 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10084 shlibpath_var=LD_LIBRARY_PATH
10085 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10087 openbsd2.[89] | openbsd2.[89].*)
10088 shlibpath_overrides_runpath=no
10091 shlibpath_overrides_runpath=yes
10095 shlibpath_overrides_runpath=yes
10100 libname_spec='$name'
10103 library_names_spec='$libname${shared_ext} $libname.a'
10104 dynamic_linker='OS/2 ld.exe'
10105 shlibpath_var=LIBPATH
10108 osf3* | osf4* | osf5*)
10112 soname_spec='${libname}${release}${shared_ext}$major'
10113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10114 shlibpath_var=LD_LIBRARY_PATH
10115 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10116 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128 soname_spec='${libname}${release}${shared_ext}$major'
10129 shlibpath_var=LD_LIBRARY_PATH
10130 shlibpath_overrides_runpath=yes
10131 hardcode_into_libs=yes
10132 # ldd complains unless libraries are executable
10133 postinstall_cmds='chmod +x $lib'
10138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10139 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10140 shlibpath_var=LD_LIBRARY_PATH
10141 shlibpath_overrides_runpath=yes
10142 if test "$with_gnu_ld" = yes; then
10150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10151 soname_spec='${libname}${release}${shared_ext}$major'
10152 shlibpath_var=LD_LIBRARY_PATH
10153 case $host_vendor in
10155 shlibpath_overrides_runpath=no
10157 runpath_var=LD_RUN_PATH
10165 shlibpath_overrides_runpath=no
10166 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10172 if test -d /usr/nec ;then
10174 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10175 soname_spec='$libname${shared_ext}.$major'
10176 shlibpath_var=LD_LIBRARY_PATH
10180 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10181 version_type=freebsd-elf
10184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10185 soname_spec='${libname}${release}${shared_ext}$major'
10186 shlibpath_var=LD_LIBRARY_PATH
10187 shlibpath_overrides_runpath=yes
10188 hardcode_into_libs=yes
10189 if test "$with_gnu_ld" = yes; then
10190 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10192 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10195 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10199 sys_lib_dlsearch_path_spec='/usr/lib'
10203 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10208 shlibpath_var=LD_LIBRARY_PATH
10209 shlibpath_overrides_runpath=no
10210 hardcode_into_libs=yes
10215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10216 soname_spec='${libname}${release}${shared_ext}$major'
10217 shlibpath_var=LD_LIBRARY_PATH
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10225 $as_echo "$dynamic_linker" >&6; }
10226 test "$dynamic_linker" = no && can_build_shared=no
10228 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10229 if test "$GCC" = yes; then
10230 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10233 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10234 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10236 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10237 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10327 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10329 if test -n "$hardcode_libdir_flag_spec" ||
10330 test -n "$runpath_var" ||
10331 test "X$hardcode_automatic" = "Xyes" ; then
10333 # We can hardcode non-existent directories.
10334 if test "$hardcode_direct" != no &&
10335 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10336 # have to relink, otherwise we might link with an installed library
10337 # when we should be linking with a yet-to-be-installed one
10338 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10339 test "$hardcode_minus_L" != no; then
10340 # Linking always hardcodes the temporary library directory.
10341 hardcode_action=relink
10343 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10344 hardcode_action=immediate
10347 # We cannot hardcode anything, or else we can only hardcode existing
10349 hardcode_action=unsupported
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10352 $as_echo "$hardcode_action" >&6; }
10354 if test "$hardcode_action" = relink ||
10355 test "$inherit_rpath" = yes; then
10356 # Fast installation is not supported
10357 enable_fast_install=no
10358 elif test "$shlibpath_overrides_runpath" = yes ||
10359 test "$enable_shared" = no; then
10360 # Fast installation is not necessary
10361 enable_fast_install=needless
10369 if test "x$enable_dlopen" != xyes; then
10370 enable_dlopen=unknown
10371 enable_dlopen_self=unknown
10372 enable_dlopen_self_static=unknown
10379 lt_cv_dlopen="load_add_on"
10381 lt_cv_dlopen_self=yes
10384 mingw* | pw32* | cegcc*)
10385 lt_cv_dlopen="LoadLibrary"
10390 lt_cv_dlopen="dlopen"
10395 # if libdl is installed we need to link against it
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10397 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10398 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10399 $as_echo_n "(cached) " >&6
10401 ac_check_lib_save_LIBS=$LIBS
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 ac_cv_lib_dl_dlopen=yes
10424 ac_cv_lib_dl_dlopen=no
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LIBS=$ac_check_lib_save_LIBS
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10431 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10432 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10433 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10436 lt_cv_dlopen="dyld"
10438 lt_cv_dlopen_self=yes
10445 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10446 if test "x$ac_cv_func_shl_load" = x""yes; then :
10447 lt_cv_dlopen="shl_load"
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10450 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10451 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10452 $as_echo_n "(cached) " >&6
10454 ac_check_lib_save_LIBS=$LIBS
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10469 return shl_load ();
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_lib_dld_shl_load=yes
10477 ac_cv_lib_dld_shl_load=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 LIBS=$ac_check_lib_save_LIBS
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10484 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10485 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10486 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10488 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10489 if test "x$ac_cv_func_dlopen" = x""yes; then :
10490 lt_cv_dlopen="dlopen"
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10493 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10494 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10495 $as_echo_n "(cached) " >&6
10497 ac_check_lib_save_LIBS=$LIBS
10499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10502 /* Override any GCC internal prototype to avoid an error.
10503 Use char because int might match the return type of a GCC
10504 builtin and then its argument prototype would still apply. */
10517 if ac_fn_c_try_link "$LINENO"; then :
10518 ac_cv_lib_dl_dlopen=yes
10520 ac_cv_lib_dl_dlopen=no
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 LIBS=$ac_check_lib_save_LIBS
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10527 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10528 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10529 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10532 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10533 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10534 $as_echo_n "(cached) " >&6
10536 ac_check_lib_save_LIBS=$LIBS
10537 LIBS="-lsvld $LIBS"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10556 if ac_fn_c_try_link "$LINENO"; then :
10557 ac_cv_lib_svld_dlopen=yes
10559 ac_cv_lib_svld_dlopen=no
10561 rm -f core conftest.err conftest.$ac_objext \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_lib_save_LIBS
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10566 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10567 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10568 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10571 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10572 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10573 $as_echo_n "(cached) " >&6
10575 ac_check_lib_save_LIBS=$LIBS
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10590 return dld_link ();
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 ac_cv_lib_dld_dld_link=yes
10598 ac_cv_lib_dld_dld_link=no
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_lib_save_LIBS
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10605 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10606 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10607 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10628 if test "x$lt_cv_dlopen" != xno; then
10634 case $lt_cv_dlopen in
10636 save_CPPFLAGS="$CPPFLAGS"
10637 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10639 save_LDFLAGS="$LDFLAGS"
10640 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10643 LIBS="$lt_cv_dlopen_libs $LIBS"
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10646 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10647 if test "${lt_cv_dlopen_self+set}" = set; then :
10648 $as_echo_n "(cached) " >&6
10650 if test "$cross_compiling" = yes; then :
10651 lt_cv_dlopen_self=cross
10653 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10654 lt_status=$lt_dlunknown
10655 cat > conftest.$ac_ext <<_LT_EOF
10656 #line 10656 "configure"
10657 #include "confdefs.h"
10666 # define LT_DLGLOBAL RTLD_GLOBAL
10669 # define LT_DLGLOBAL DL_GLOBAL
10671 # define LT_DLGLOBAL 0
10675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10676 find out it does not work in some platform. */
10677 #ifndef LT_DLLAZY_OR_NOW
10679 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10682 # define LT_DLLAZY_OR_NOW DL_LAZY
10685 # define LT_DLLAZY_OR_NOW RTLD_NOW
10688 # define LT_DLLAZY_OR_NOW DL_NOW
10690 # define LT_DLLAZY_OR_NOW 0
10697 void fnord() { int i=42;}
10700 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10701 int status = $lt_dlunknown;
10705 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10706 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10707 /* dlclose (self); */
10715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10716 (eval $ac_link) 2>&5
10718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10719 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10720 (./conftest; exit; ) >&5 2>/dev/null
10722 case x$lt_status in
10723 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10724 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10725 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10728 # compilation failed
10729 lt_cv_dlopen_self=no
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10737 $as_echo "$lt_cv_dlopen_self" >&6; }
10739 if test "x$lt_cv_dlopen_self" = xyes; then
10740 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10742 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10743 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10744 $as_echo_n "(cached) " >&6
10746 if test "$cross_compiling" = yes; then :
10747 lt_cv_dlopen_self_static=cross
10749 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10750 lt_status=$lt_dlunknown
10751 cat > conftest.$ac_ext <<_LT_EOF
10752 #line 10752 "configure"
10753 #include "confdefs.h"
10762 # define LT_DLGLOBAL RTLD_GLOBAL
10765 # define LT_DLGLOBAL DL_GLOBAL
10767 # define LT_DLGLOBAL 0
10771 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10772 find out it does not work in some platform. */
10773 #ifndef LT_DLLAZY_OR_NOW
10775 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10778 # define LT_DLLAZY_OR_NOW DL_LAZY
10781 # define LT_DLLAZY_OR_NOW RTLD_NOW
10784 # define LT_DLLAZY_OR_NOW DL_NOW
10786 # define LT_DLLAZY_OR_NOW 0
10793 void fnord() { int i=42;}
10796 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10797 int status = $lt_dlunknown;
10801 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10802 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10803 /* dlclose (self); */
10811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10812 (eval $ac_link) 2>&5
10814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10815 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10816 (./conftest; exit; ) >&5 2>/dev/null
10818 case x$lt_status in
10819 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10820 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10821 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10824 # compilation failed
10825 lt_cv_dlopen_self_static=no
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10833 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10836 CPPFLAGS="$save_CPPFLAGS"
10837 LDFLAGS="$save_LDFLAGS"
10842 case $lt_cv_dlopen_self in
10843 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10844 *) enable_dlopen_self=unknown ;;
10847 case $lt_cv_dlopen_self_static in
10848 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10849 *) enable_dlopen_self_static=unknown ;;
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10872 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10873 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10874 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10875 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10877 $as_echo "yes" >&6; }
10879 # FIXME - insert some real tests, host_os isn't really good enough
10882 if test -n "$STRIP" ; then
10883 striplib="$STRIP -x"
10884 old_striplib="$STRIP -S"
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10886 $as_echo "yes" >&6; }
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10889 $as_echo "no" >&6; }
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10894 $as_echo "no" >&6; }
10910 # Report which library types will actually be built
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10912 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10914 $as_echo "$can_build_shared" >&6; }
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10917 $as_echo_n "checking whether to build shared libraries... " >&6; }
10918 test "$can_build_shared" = "no" && enable_shared=no
10920 # On AIX, shared libraries and static libraries use the same namespace, and
10921 # are all built from PIC.
10924 test "$enable_shared" = yes && enable_static=no
10925 if test -n "$RANLIB"; then
10926 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10927 postinstall_cmds='$RANLIB $lib'
10932 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10933 test "$enable_shared" = yes && enable_static=no
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10938 $as_echo "$enable_shared" >&6; }
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10941 $as_echo_n "checking whether to build static libraries... " >&6; }
10942 # Make sure either enable_shared or enable_static is yes.
10943 test "$enable_shared" = yes || enable_static=yes
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10945 $as_echo "$enable_static" >&6; }
10952 ac_cpp='$CPP $CPPFLAGS'
10953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10971 ac_config_commands="$ac_config_commands libtool"
10976 # Only expand once:
10992 DX_PROJECT=opensaml
10994 DX_CONFIG=doxygen.cfg
10999 # Environment variables used inside doxygen.cfg:
11000 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11002 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11004 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11006 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11013 # Check whether --enable-doxygen-doc was given.
11014 if test "${enable_doxygen_doc+set}" = set; then :
11015 enableval=$enable_doxygen_doc;
11016 case "$enableval" in
11028 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11040 if test "$DX_FLAG_doc" = 1; then
11042 if test -n "$ac_tool_prefix"; then
11043 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11044 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11046 $as_echo_n "checking for $ac_word... " >&6; }
11047 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11048 $as_echo_n "(cached) " >&6
11050 case $DX_DOXYGEN in
11052 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11056 for as_dir in $PATH
11059 test -z "$as_dir" && as_dir=.
11060 for ac_exec_ext in '' $ac_executable_extensions; do
11061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11062 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11073 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11074 if test -n "$DX_DOXYGEN"; then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11076 $as_echo "$DX_DOXYGEN" >&6; }
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11079 $as_echo "no" >&6; }
11084 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11085 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11086 # Extract the first word of "doxygen", so it can be a program name with args.
11087 set dummy doxygen; ac_word=$2
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11089 $as_echo_n "checking for $ac_word... " >&6; }
11090 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11091 $as_echo_n "(cached) " >&6
11093 case $ac_pt_DX_DOXYGEN in
11095 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $PATH
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11105 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11116 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11117 if test -n "$ac_pt_DX_DOXYGEN"; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11119 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11122 $as_echo "no" >&6; }
11125 if test "x$ac_pt_DX_DOXYGEN" = x; then
11128 case $cross_compiling:$ac_tool_warned in
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11132 ac_tool_warned=yes ;;
11134 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11137 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11140 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11142 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11148 if test -n "$ac_tool_prefix"; then
11149 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11150 set dummy ${ac_tool_prefix}perl; ac_word=$2
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11152 $as_echo_n "checking for $ac_word... " >&6; }
11153 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11154 $as_echo_n "(cached) " >&6
11158 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162 for as_dir in $PATH
11165 test -z "$as_dir" && as_dir=.
11166 for ac_exec_ext in '' $ac_executable_extensions; do
11167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11168 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11179 DX_PERL=$ac_cv_path_DX_PERL
11180 if test -n "$DX_PERL"; then
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11182 $as_echo "$DX_PERL" >&6; }
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11185 $as_echo "no" >&6; }
11190 if test -z "$ac_cv_path_DX_PERL"; then
11191 ac_pt_DX_PERL=$DX_PERL
11192 # Extract the first word of "perl", so it can be a program name with args.
11193 set dummy perl; ac_word=$2
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11195 $as_echo_n "checking for $ac_word... " >&6; }
11196 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11197 $as_echo_n "(cached) " >&6
11199 case $ac_pt_DX_PERL in
11201 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11205 for as_dir in $PATH
11208 test -z "$as_dir" && as_dir=.
11209 for ac_exec_ext in '' $ac_executable_extensions; do
11210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11211 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11222 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11223 if test -n "$ac_pt_DX_PERL"; then
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11225 $as_echo "$ac_pt_DX_PERL" >&6; }
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11228 $as_echo "no" >&6; }
11231 if test "x$ac_pt_DX_PERL" = x; then
11234 case $cross_compiling:$ac_tool_warned in
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11238 ac_tool_warned=yes ;;
11240 DX_PERL=$ac_pt_DX_PERL
11243 DX_PERL="$ac_cv_path_DX_PERL"
11246 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11248 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11255 if test "$DX_FLAG_doc" = 1; then
11258 DX_COND_doc_FALSE='#'
11260 DX_COND_doc_TRUE='#'
11264 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
11270 DX_COND_doc_FALSE='#'
11272 DX_COND_doc_TRUE='#'
11281 # Dot for graphics:
11285 # Check whether --enable-doxygen-dot was given.
11286 if test "${enable_doxygen_dot+set}" = set; then :
11287 enableval=$enable_doxygen_dot;
11288 case "$enableval" in
11294 test "$DX_FLAG_doc" = "1" \
11295 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
11303 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
11312 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
11318 if test "$DX_FLAG_dot" = 1; then
11320 if test -n "$ac_tool_prefix"; then
11321 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
11322 set dummy ${ac_tool_prefix}dot; ac_word=$2
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11324 $as_echo_n "checking for $ac_word... " >&6; }
11325 if test "${ac_cv_path_DX_DOT+set}" = set; then :
11326 $as_echo_n "(cached) " >&6
11330 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11334 for as_dir in $PATH
11337 test -z "$as_dir" && as_dir=.
11338 for ac_exec_ext in '' $ac_executable_extensions; do
11339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11340 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11351 DX_DOT=$ac_cv_path_DX_DOT
11352 if test -n "$DX_DOT"; then
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
11354 $as_echo "$DX_DOT" >&6; }
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11357 $as_echo "no" >&6; }
11362 if test -z "$ac_cv_path_DX_DOT"; then
11363 ac_pt_DX_DOT=$DX_DOT
11364 # Extract the first word of "dot", so it can be a program name with args.
11365 set dummy dot; ac_word=$2
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11367 $as_echo_n "checking for $ac_word... " >&6; }
11368 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
11369 $as_echo_n "(cached) " >&6
11371 case $ac_pt_DX_DOT in
11373 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
11376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11377 for as_dir in $PATH
11380 test -z "$as_dir" && as_dir=.
11381 for ac_exec_ext in '' $ac_executable_extensions; do
11382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11383 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11394 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
11395 if test -n "$ac_pt_DX_DOT"; then
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
11397 $as_echo "$ac_pt_DX_DOT" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11400 $as_echo "no" >&6; }
11403 if test "x$ac_pt_DX_DOT" = x; then
11406 case $cross_compiling:$ac_tool_warned in
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11410 ac_tool_warned=yes ;;
11412 DX_DOT=$ac_pt_DX_DOT
11415 DX_DOT="$ac_cv_path_DX_DOT"
11418 if test "$DX_FLAG_dot$DX_DOT" = 1; then
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
11420 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
11427 if test "$DX_FLAG_dot" = 1; then
11430 DX_COND_dot_FALSE='#'
11432 DX_COND_dot_TRUE='#'
11436 DX_ENV="$DX_ENV HAVE_DOT='YES'"
11438 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
11444 DX_COND_dot_FALSE='#'
11446 DX_COND_dot_TRUE='#'
11450 DX_ENV="$DX_ENV HAVE_DOT='NO'"
11456 # Man pages generation:
11460 # Check whether --enable-doxygen-man was given.
11461 if test "${enable_doxygen_man+set}" = set; then :
11462 enableval=$enable_doxygen_man;
11463 case "$enableval" in
11469 test "$DX_FLAG_doc" = "1" \
11470 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
11478 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
11487 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
11493 if test "$DX_FLAG_man" = 1; then
11497 if test "$DX_FLAG_man" = 1; then
11500 DX_COND_man_FALSE='#'
11502 DX_COND_man_TRUE='#'
11506 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
11512 DX_COND_man_FALSE='#'
11514 DX_COND_man_TRUE='#'
11518 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
11524 # RTF file generation:
11528 # Check whether --enable-doxygen-rtf was given.
11529 if test "${enable_doxygen_rtf+set}" = set; then :
11530 enableval=$enable_doxygen_rtf;
11531 case "$enableval" in
11537 test "$DX_FLAG_doc" = "1" \
11538 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
11546 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
11555 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
11561 if test "$DX_FLAG_rtf" = 1; then
11565 if test "$DX_FLAG_rtf" = 1; then
11568 DX_COND_rtf_FALSE='#'
11570 DX_COND_rtf_TRUE='#'
11574 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
11580 DX_COND_rtf_FALSE='#'
11582 DX_COND_rtf_TRUE='#'
11586 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
11592 # XML file generation:
11596 # Check whether --enable-doxygen-xml was given.
11597 if test "${enable_doxygen_xml+set}" = set; then :
11598 enableval=$enable_doxygen_xml;
11599 case "$enableval" in
11605 test "$DX_FLAG_doc" = "1" \
11606 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
11614 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
11623 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
11629 if test "$DX_FLAG_xml" = 1; then
11633 if test "$DX_FLAG_xml" = 1; then
11636 DX_COND_xml_FALSE='#'
11638 DX_COND_xml_TRUE='#'
11642 DX_ENV="$DX_ENV GENERATE_XML='YES'"
11648 DX_COND_xml_FALSE='#'
11650 DX_COND_xml_TRUE='#'
11654 DX_ENV="$DX_ENV GENERATE_XML='NO'"
11660 # (Compressed) HTML help generation:
11664 # Check whether --enable-doxygen-chm was given.
11665 if test "${enable_doxygen_chm+set}" = set; then :
11666 enableval=$enable_doxygen_chm;
11667 case "$enableval" in
11673 test "$DX_FLAG_doc" = "1" \
11674 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
11682 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
11691 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
11697 if test "$DX_FLAG_chm" = 1; then
11699 if test -n "$ac_tool_prefix"; then
11700 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
11701 set dummy ${ac_tool_prefix}hhc; ac_word=$2
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11703 $as_echo_n "checking for $ac_word... " >&6; }
11704 if test "${ac_cv_path_DX_HHC+set}" = set; then :
11705 $as_echo_n "(cached) " >&6
11709 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
11712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11713 for as_dir in $PATH
11716 test -z "$as_dir" && as_dir=.
11717 for ac_exec_ext in '' $ac_executable_extensions; do
11718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11719 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11730 DX_HHC=$ac_cv_path_DX_HHC
11731 if test -n "$DX_HHC"; then
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
11733 $as_echo "$DX_HHC" >&6; }
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11736 $as_echo "no" >&6; }
11741 if test -z "$ac_cv_path_DX_HHC"; then
11742 ac_pt_DX_HHC=$DX_HHC
11743 # Extract the first word of "hhc", so it can be a program name with args.
11744 set dummy hhc; ac_word=$2
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11746 $as_echo_n "checking for $ac_word... " >&6; }
11747 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
11748 $as_echo_n "(cached) " >&6
11750 case $ac_pt_DX_HHC in
11752 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
11755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11756 for as_dir in $PATH
11759 test -z "$as_dir" && as_dir=.
11760 for ac_exec_ext in '' $ac_executable_extensions; do
11761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11762 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11773 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
11774 if test -n "$ac_pt_DX_HHC"; then
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
11776 $as_echo "$ac_pt_DX_HHC" >&6; }
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779 $as_echo "no" >&6; }
11782 if test "x$ac_pt_DX_HHC" = x; then
11785 case $cross_compiling:$ac_tool_warned in
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11789 ac_tool_warned=yes ;;
11791 DX_HHC=$ac_pt_DX_HHC
11794 DX_HHC="$ac_cv_path_DX_HHC"
11797 if test "$DX_FLAG_chm$DX_HHC" = 1; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
11799 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
11806 if test "$DX_FLAG_chm" = 1; then
11809 DX_COND_chm_FALSE='#'
11811 DX_COND_chm_TRUE='#'
11815 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
11817 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11819 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
11825 DX_COND_chm_FALSE='#'
11827 DX_COND_chm_TRUE='#'
11831 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
11837 # Seperate CHI file generation.
11841 # Check whether --enable-doxygen-chi was given.
11842 if test "${enable_doxygen_chi+set}" = set; then :
11843 enableval=$enable_doxygen_chi;
11844 case "$enableval" in
11850 test "$DX_FLAG_chm" = "1" \
11851 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
11859 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
11868 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
11874 if test "$DX_FLAG_chi" = 1; then
11878 if test "$DX_FLAG_chi" = 1; then
11881 DX_COND_chi_FALSE='#'
11883 DX_COND_chi_TRUE='#'
11887 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
11893 DX_COND_chi_FALSE='#'
11895 DX_COND_chi_TRUE='#'
11899 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
11905 # Plain HTML pages generation:
11909 # Check whether --enable-doxygen-html was given.
11910 if test "${enable_doxygen_html+set}" = set; then :
11911 enableval=$enable_doxygen_html;
11912 case "$enableval" in
11918 test "$DX_FLAG_doc" = "1" \
11919 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
11921 test "$DX_FLAG_chm" = "0" \
11922 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
11930 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
11939 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
11942 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
11948 if test "$DX_FLAG_html" = 1; then
11952 if test "$DX_FLAG_html" = 1; then
11955 DX_COND_html_FALSE='#'
11957 DX_COND_html_TRUE='#'
11958 DX_COND_html_FALSE=
11961 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11967 DX_COND_html_FALSE='#'
11969 DX_COND_html_TRUE='#'
11970 DX_COND_html_FALSE=
11973 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
11979 # PostScript file generation:
11983 # Check whether --enable-doxygen-ps was given.
11984 if test "${enable_doxygen_ps+set}" = set; then :
11985 enableval=$enable_doxygen_ps;
11986 case "$enableval" in
11992 test "$DX_FLAG_doc" = "1" \
11993 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12001 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12010 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12016 if test "$DX_FLAG_ps" = 1; then
12018 if test -n "$ac_tool_prefix"; then
12019 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12020 set dummy ${ac_tool_prefix}latex; ac_word=$2
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12022 $as_echo_n "checking for $ac_word... " >&6; }
12023 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12024 $as_echo_n "(cached) " >&6
12028 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12032 for as_dir in $PATH
12035 test -z "$as_dir" && as_dir=.
12036 for ac_exec_ext in '' $ac_executable_extensions; do
12037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12038 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12049 DX_LATEX=$ac_cv_path_DX_LATEX
12050 if test -n "$DX_LATEX"; then
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12052 $as_echo "$DX_LATEX" >&6; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055 $as_echo "no" >&6; }
12060 if test -z "$ac_cv_path_DX_LATEX"; then
12061 ac_pt_DX_LATEX=$DX_LATEX
12062 # Extract the first word of "latex", so it can be a program name with args.
12063 set dummy latex; ac_word=$2
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12065 $as_echo_n "checking for $ac_word... " >&6; }
12066 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12067 $as_echo_n "(cached) " >&6
12069 case $ac_pt_DX_LATEX in
12071 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12075 for as_dir in $PATH
12078 test -z "$as_dir" && as_dir=.
12079 for ac_exec_ext in '' $ac_executable_extensions; do
12080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12081 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12092 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12093 if test -n "$ac_pt_DX_LATEX"; then
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12095 $as_echo "$ac_pt_DX_LATEX" >&6; }
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12098 $as_echo "no" >&6; }
12101 if test "x$ac_pt_DX_LATEX" = x; then
12104 case $cross_compiling:$ac_tool_warned in
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12108 ac_tool_warned=yes ;;
12110 DX_LATEX=$ac_pt_DX_LATEX
12113 DX_LATEX="$ac_cv_path_DX_LATEX"
12116 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12118 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12124 if test -n "$ac_tool_prefix"; then
12125 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12126 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12128 $as_echo_n "checking for $ac_word... " >&6; }
12129 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12130 $as_echo_n "(cached) " >&6
12132 case $DX_MAKEINDEX in
12134 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12138 for as_dir in $PATH
12141 test -z "$as_dir" && as_dir=.
12142 for ac_exec_ext in '' $ac_executable_extensions; do
12143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12144 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12155 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12156 if test -n "$DX_MAKEINDEX"; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12158 $as_echo "$DX_MAKEINDEX" >&6; }
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12166 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12167 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12168 # Extract the first word of "makeindex", so it can be a program name with args.
12169 set dummy makeindex; ac_word=$2
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12171 $as_echo_n "checking for $ac_word... " >&6; }
12172 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12173 $as_echo_n "(cached) " >&6
12175 case $ac_pt_DX_MAKEINDEX in
12177 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12181 for as_dir in $PATH
12184 test -z "$as_dir" && as_dir=.
12185 for ac_exec_ext in '' $ac_executable_extensions; do
12186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12187 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12198 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12199 if test -n "$ac_pt_DX_MAKEINDEX"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12201 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12207 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12210 case $cross_compiling:$ac_tool_warned in
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12214 ac_tool_warned=yes ;;
12216 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12219 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12222 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12224 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12230 if test -n "$ac_tool_prefix"; then
12231 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12232 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12234 $as_echo_n "checking for $ac_word... " >&6; }
12235 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12240 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12244 for as_dir in $PATH
12247 test -z "$as_dir" && as_dir=.
12248 for ac_exec_ext in '' $ac_executable_extensions; do
12249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12250 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12261 DX_DVIPS=$ac_cv_path_DX_DVIPS
12262 if test -n "$DX_DVIPS"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
12264 $as_echo "$DX_DVIPS" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12272 if test -z "$ac_cv_path_DX_DVIPS"; then
12273 ac_pt_DX_DVIPS=$DX_DVIPS
12274 # Extract the first word of "dvips", so it can be a program name with args.
12275 set dummy dvips; ac_word=$2
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12277 $as_echo_n "checking for $ac_word... " >&6; }
12278 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
12279 $as_echo_n "(cached) " >&6
12281 case $ac_pt_DX_DVIPS in
12283 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12287 for as_dir in $PATH
12290 test -z "$as_dir" && as_dir=.
12291 for ac_exec_ext in '' $ac_executable_extensions; do
12292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12293 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12304 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12305 if test -n "$ac_pt_DX_DVIPS"; then
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
12307 $as_echo "$ac_pt_DX_DVIPS" >&6; }
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12310 $as_echo "no" >&6; }
12313 if test "x$ac_pt_DX_DVIPS" = x; then
12316 case $cross_compiling:$ac_tool_warned in
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12320 ac_tool_warned=yes ;;
12322 DX_DVIPS=$ac_pt_DX_DVIPS
12325 DX_DVIPS="$ac_cv_path_DX_DVIPS"
12328 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12330 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12336 if test -n "$ac_tool_prefix"; then
12337 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12338 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12340 $as_echo_n "checking for $ac_word... " >&6; }
12341 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12342 $as_echo_n "(cached) " >&6
12346 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12350 for as_dir in $PATH
12353 test -z "$as_dir" && as_dir=.
12354 for ac_exec_ext in '' $ac_executable_extensions; do
12355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12356 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12367 DX_EGREP=$ac_cv_path_DX_EGREP
12368 if test -n "$DX_EGREP"; then
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12370 $as_echo "$DX_EGREP" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373 $as_echo "no" >&6; }
12378 if test -z "$ac_cv_path_DX_EGREP"; then
12379 ac_pt_DX_EGREP=$DX_EGREP
12380 # Extract the first word of "egrep", so it can be a program name with args.
12381 set dummy egrep; ac_word=$2
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12383 $as_echo_n "checking for $ac_word... " >&6; }
12384 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12385 $as_echo_n "(cached) " >&6
12387 case $ac_pt_DX_EGREP in
12389 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12393 for as_dir in $PATH
12396 test -z "$as_dir" && as_dir=.
12397 for ac_exec_ext in '' $ac_executable_extensions; do
12398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12399 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12410 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12411 if test -n "$ac_pt_DX_EGREP"; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12413 $as_echo "$ac_pt_DX_EGREP" >&6; }
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12416 $as_echo "no" >&6; }
12419 if test "x$ac_pt_DX_EGREP" = x; then
12422 case $cross_compiling:$ac_tool_warned in
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12426 ac_tool_warned=yes ;;
12428 DX_EGREP=$ac_pt_DX_EGREP
12431 DX_EGREP="$ac_cv_path_DX_EGREP"
12434 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
12436 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
12443 if test "$DX_FLAG_ps" = 1; then
12446 DX_COND_ps_FALSE='#'
12448 DX_COND_ps_TRUE='#'
12457 DX_COND_ps_FALSE='#'
12459 DX_COND_ps_TRUE='#'
12468 # PDF file generation:
12472 # Check whether --enable-doxygen-pdf was given.
12473 if test "${enable_doxygen_pdf+set}" = set; then :
12474 enableval=$enable_doxygen_pdf;
12475 case "$enableval" in
12481 test "$DX_FLAG_doc" = "1" \
12482 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
12490 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
12499 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
12505 if test "$DX_FLAG_pdf" = 1; then
12507 if test -n "$ac_tool_prefix"; then
12508 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
12509 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12511 $as_echo_n "checking for $ac_word... " >&6; }
12512 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
12513 $as_echo_n "(cached) " >&6
12515 case $DX_PDFLATEX in
12517 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
12520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12521 for as_dir in $PATH
12524 test -z "$as_dir" && as_dir=.
12525 for ac_exec_ext in '' $ac_executable_extensions; do
12526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12527 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12538 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
12539 if test -n "$DX_PDFLATEX"; then
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
12541 $as_echo "$DX_PDFLATEX" >&6; }
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12544 $as_echo "no" >&6; }
12549 if test -z "$ac_cv_path_DX_PDFLATEX"; then
12550 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
12551 # Extract the first word of "pdflatex", so it can be a program name with args.
12552 set dummy pdflatex; ac_word=$2
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12554 $as_echo_n "checking for $ac_word... " >&6; }
12555 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
12556 $as_echo_n "(cached) " >&6
12558 case $ac_pt_DX_PDFLATEX in
12560 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
12563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12564 for as_dir in $PATH
12567 test -z "$as_dir" && as_dir=.
12568 for ac_exec_ext in '' $ac_executable_extensions; do
12569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12570 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12581 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
12582 if test -n "$ac_pt_DX_PDFLATEX"; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
12584 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12587 $as_echo "no" >&6; }
12590 if test "x$ac_pt_DX_PDFLATEX" = x; then
12593 case $cross_compiling:$ac_tool_warned in
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12597 ac_tool_warned=yes ;;
12599 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
12602 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
12605 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
12607 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
12613 if test -n "$ac_tool_prefix"; then
12614 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12615 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12617 $as_echo_n "checking for $ac_word... " >&6; }
12618 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12619 $as_echo_n "(cached) " >&6
12621 case $DX_MAKEINDEX in
12623 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12627 for as_dir in $PATH
12630 test -z "$as_dir" && as_dir=.
12631 for ac_exec_ext in '' $ac_executable_extensions; do
12632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12633 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12644 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12645 if test -n "$DX_MAKEINDEX"; then
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12647 $as_echo "$DX_MAKEINDEX" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12650 $as_echo "no" >&6; }
12655 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12656 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12657 # Extract the first word of "makeindex", so it can be a program name with args.
12658 set dummy makeindex; ac_word=$2
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12660 $as_echo_n "checking for $ac_word... " >&6; }
12661 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12662 $as_echo_n "(cached) " >&6
12664 case $ac_pt_DX_MAKEINDEX in
12666 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12670 for as_dir in $PATH
12673 test -z "$as_dir" && as_dir=.
12674 for ac_exec_ext in '' $ac_executable_extensions; do
12675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12676 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12687 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12688 if test -n "$ac_pt_DX_MAKEINDEX"; then
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12690 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12693 $as_echo "no" >&6; }
12696 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12699 case $cross_compiling:$ac_tool_warned in
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12703 ac_tool_warned=yes ;;
12705 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12708 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12711 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
12713 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
12719 if test -n "$ac_tool_prefix"; then
12720 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12721 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12723 $as_echo_n "checking for $ac_word... " >&6; }
12724 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12725 $as_echo_n "(cached) " >&6
12729 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12733 for as_dir in $PATH
12736 test -z "$as_dir" && as_dir=.
12737 for ac_exec_ext in '' $ac_executable_extensions; do
12738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12739 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12750 DX_EGREP=$ac_cv_path_DX_EGREP
12751 if test -n "$DX_EGREP"; then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12753 $as_echo "$DX_EGREP" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12756 $as_echo "no" >&6; }
12761 if test -z "$ac_cv_path_DX_EGREP"; then
12762 ac_pt_DX_EGREP=$DX_EGREP
12763 # Extract the first word of "egrep", so it can be a program name with args.
12764 set dummy egrep; ac_word=$2
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12766 $as_echo_n "checking for $ac_word... " >&6; }
12767 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12768 $as_echo_n "(cached) " >&6
12770 case $ac_pt_DX_EGREP in
12772 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12776 for as_dir in $PATH
12779 test -z "$as_dir" && as_dir=.
12780 for ac_exec_ext in '' $ac_executable_extensions; do
12781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12782 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12794 if test -n "$ac_pt_DX_EGREP"; then
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12796 $as_echo "$ac_pt_DX_EGREP" >&6; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12802 if test "x$ac_pt_DX_EGREP" = x; then
12805 case $cross_compiling:$ac_tool_warned in
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12809 ac_tool_warned=yes ;;
12811 DX_EGREP=$ac_pt_DX_EGREP
12814 DX_EGREP="$ac_cv_path_DX_EGREP"
12817 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
12819 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
12826 if test "$DX_FLAG_pdf" = 1; then
12829 DX_COND_pdf_FALSE='#'
12831 DX_COND_pdf_TRUE='#'
12840 DX_COND_pdf_FALSE='#'
12842 DX_COND_pdf_TRUE='#'
12851 # LaTeX generation for PS and/or PDF:
12852 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
12854 DX_COND_latex_TRUE=
12855 DX_COND_latex_FALSE='#'
12857 DX_COND_latex_TRUE='#'
12858 DX_COND_latex_FALSE=
12861 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
12865 DX_COND_latex_TRUE=
12866 DX_COND_latex_FALSE='#'
12868 DX_COND_latex_TRUE='#'
12869 DX_COND_latex_FALSE=
12872 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
12876 # Paper size for PS and/or PDF:
12878 case "$DOXYGEN_PAPER_SIZE" in
12881 DOXYGEN_PAPER_SIZE=""
12884 a4wide|a4|letter|legal|executive)
12885 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
12889 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
12894 #echo DX_FLAG_doc=$DX_FLAG_doc
12895 #echo DX_FLAG_dot=$DX_FLAG_dot
12896 #echo DX_FLAG_man=$DX_FLAG_man
12897 #echo DX_FLAG_html=$DX_FLAG_html
12898 #echo DX_FLAG_chm=$DX_FLAG_chm
12899 #echo DX_FLAG_chi=$DX_FLAG_chi
12900 #echo DX_FLAG_rtf=$DX_FLAG_rtf
12901 #echo DX_FLAG_xml=$DX_FLAG_xml
12902 #echo DX_FLAG_pdf=$DX_FLAG_pdf
12903 #echo DX_FLAG_ps=$DX_FLAG_ps
12904 #echo DX_ENV=$DX_ENV
12908 # Check whether --enable-debug was given.
12909 if test "${enable_debug+set}" = set; then :
12910 enableval=$enable_debug; enable_debug=$enableval
12916 if test "$enable_debug" = "yes" ; then
12917 GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG"
12918 GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG"
12920 GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG"
12921 GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG"
12924 ac_config_headers="$ac_config_headers config.h"
12926 ac_config_files="$ac_config_files opensaml.spec pkginfo Portfile"
12928 ac_config_files="$ac_config_files Makefile saml/Makefile samltest/Makefile samlsign/Makefile schemas/Makefile doc/Makefile"
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12936 if test -n "$ac_tool_prefix"; then
12937 for ac_prog in gcc gcc3 cc
12939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12942 $as_echo_n "checking for $ac_word... " >&6; }
12943 if test "${ac_cv_prog_CC+set}" = set; then :
12944 $as_echo_n "(cached) " >&6
12946 if test -n "$CC"; then
12947 ac_cv_prog_CC="$CC" # Let the user override the test.
12949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12950 for as_dir in $PATH
12953 test -z "$as_dir" && as_dir=.
12954 for ac_exec_ext in '' $ac_executable_extensions; do
12955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12956 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12967 if test -n "$CC"; then
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12969 $as_echo "$CC" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972 $as_echo "no" >&6; }
12976 test -n "$CC" && break
12979 if test -z "$CC"; then
12981 for ac_prog in gcc gcc3 cc
12983 # Extract the first word of "$ac_prog", so it can be a program name with args.
12984 set dummy $ac_prog; ac_word=$2
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12986 $as_echo_n "checking for $ac_word... " >&6; }
12987 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12988 $as_echo_n "(cached) " >&6
12990 if test -n "$ac_ct_CC"; then
12991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12994 for as_dir in $PATH
12997 test -z "$as_dir" && as_dir=.
12998 for ac_exec_ext in '' $ac_executable_extensions; do
12999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13000 ac_cv_prog_ac_ct_CC="$ac_prog"
13001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13010 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13011 if test -n "$ac_ct_CC"; then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13013 $as_echo "$ac_ct_CC" >&6; }
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13016 $as_echo "no" >&6; }
13020 test -n "$ac_ct_CC" && break
13023 if test "x$ac_ct_CC" = x; then
13026 case $cross_compiling:$ac_tool_warned in
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13030 ac_tool_warned=yes ;;
13037 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13039 as_fn_error $? "no acceptable C compiler found in \$PATH
13040 See \`config.log' for more details" "$LINENO" 5 ; }
13042 # Provide some information about the compiler.
13043 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13046 for ac_option in --version -v -V -qversion; do
13047 { { ac_try="$ac_compiler $ac_option >&5"
13048 case "(($ac_try" in
13049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13050 *) ac_try_echo=$ac_try;;
13052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13053 $as_echo "$ac_try_echo"; } >&5
13054 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13056 if test -s conftest.err; then
13058 ... rest of stderr output deleted ...
13059 10q' conftest.err >conftest.er1
13060 cat conftest.er1 >&5
13062 rm -f conftest.er1 conftest.err
13063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13064 test $ac_status = 0; }
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13068 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13069 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13070 $as_echo_n "(cached) " >&6
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073 /* end confdefs.h. */
13086 if ac_fn_c_try_compile "$LINENO"; then :
13087 ac_compiler_gnu=yes
13091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13092 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13096 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13097 if test $ac_compiler_gnu = yes; then
13102 ac_test_CFLAGS=${CFLAGS+set}
13103 ac_save_CFLAGS=$CFLAGS
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13105 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13106 if test "${ac_cv_prog_cc_g+set}" = set; then :
13107 $as_echo_n "(cached) " >&6
13109 ac_save_c_werror_flag=$ac_c_werror_flag
13110 ac_c_werror_flag=yes
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13124 if ac_fn_c_try_compile "$LINENO"; then :
13125 ac_cv_prog_cc_g=yes
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13139 if ac_fn_c_try_compile "$LINENO"; then :
13142 ac_c_werror_flag=$ac_save_c_werror_flag
13144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13155 if ac_fn_c_try_compile "$LINENO"; then :
13156 ac_cv_prog_cc_g=yes
13158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13163 ac_c_werror_flag=$ac_save_c_werror_flag
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13166 $as_echo "$ac_cv_prog_cc_g" >&6; }
13167 if test "$ac_test_CFLAGS" = set; then
13168 CFLAGS=$ac_save_CFLAGS
13169 elif test $ac_cv_prog_cc_g = yes; then
13170 if test "$GCC" = yes; then
13176 if test "$GCC" = yes; then
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13183 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13184 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13185 $as_echo_n "(cached) " >&6
13187 ac_cv_prog_cc_c89=no
13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13191 #include <stdarg.h>
13193 #include <sys/types.h>
13194 #include <sys/stat.h>
13195 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13196 struct buf { int x; };
13197 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13198 static char *e (p, i)
13204 static char *f (char * (*g) (char **, int), char **p, ...)
13209 s = g (p, va_arg (v,int));
13214 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13215 function prototypes and stuff, but not '\xHH' hex character constants.
13216 These don't provoke an error unfortunately, instead are silently treated
13217 as 'x'. The following induces an error, until -std is added to get
13218 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13219 array size at least. It's necessary to write '\x00'==0 to get something
13220 that's true only with -std. */
13221 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13223 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13224 inside strings and character constants. */
13226 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13228 int test (int i, double x);
13229 struct s1 {int (*f) (int a);};
13230 struct s2 {int (*f) (double a);};
13231 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13237 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13242 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13243 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13245 CC="$ac_save_CC $ac_arg"
13246 if ac_fn_c_try_compile "$LINENO"; then :
13247 ac_cv_prog_cc_c89=$ac_arg
13249 rm -f core conftest.err conftest.$ac_objext
13250 test "x$ac_cv_prog_cc_c89" != "xno" && break
13252 rm -f conftest.$ac_ext
13257 case "x$ac_cv_prog_cc_c89" in
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13260 $as_echo "none needed" >&6; } ;;
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13263 $as_echo "unsupported" >&6; } ;;
13265 CC="$CC $ac_cv_prog_cc_c89"
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13267 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13269 if test "x$ac_cv_prog_cc_c89" != xno; then :
13274 ac_cpp='$CPP $CPPFLAGS'
13275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13279 depcc="$CC" am_compiler_list=
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13282 $as_echo_n "checking dependency style of $depcc... " >&6; }
13283 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13284 $as_echo_n "(cached) " >&6
13286 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13287 # We make a subdir and do the tests there. Otherwise we can end up
13288 # making bogus files that we don't know about and never remove. For
13289 # instance it was reported that on HP-UX the gcc test will end up
13290 # making a dummy file named `D' -- because `-MD' means `put the output
13293 # Copy depcomp to subdir because otherwise we won't find it if we're
13294 # using a relative directory.
13295 cp "$am_depcomp" conftest.dir
13297 # We will build objects and dependencies in a subdirectory because
13298 # it helps to detect inapplicable dependency modes. For instance
13299 # both Tru64's cc and ICC support -MD to output dependencies as a
13300 # side effect of compilation, but ICC will put the dependencies in
13301 # the current directory while Tru64 will put them in the object
13305 am_cv_CC_dependencies_compiler_type=none
13306 if test "$am_compiler_list" = ""; then
13307 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13309 am__universal=false
13310 case " $depcc " in #(
13311 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13314 for depmode in $am_compiler_list; do
13315 # Setup a source with many dependencies, because some compilers
13316 # like to wrap large dependency lists on column 80 (with \), and
13317 # we should not choose a depcomp mode which is confused by this.
13319 # We need to recreate these files for each test, as the compiler may
13320 # overwrite some of them when testing with obscure command lines.
13321 # This happens at least with the AIX C compiler.
13323 for i in 1 2 3 4 5 6; do
13324 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13325 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13326 # Solaris 8's {/usr,}/bin/sh.
13327 touch sub/conftst$i.h
13329 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13331 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13332 # mode. It turns out that the SunPro C++ compiler does not properly
13333 # handle `-M -o', and we need to detect this. Also, some Intel
13334 # versions had trouble with output in subdirs
13335 am__obj=sub/conftest.${OBJEXT-o}
13336 am__minus_obj="-o $am__obj"
13339 # This depmode causes a compiler race in universal mode.
13340 test "$am__universal" = false || continue
13343 # after this tag, mechanisms are not by side-effect, so they'll
13344 # only be used when explicitly requested
13345 if test "x$enable_dependency_tracking" = xyes; then
13351 msvisualcpp | msvcmsys)
13352 # This compiler won't grok `-c -o', but also, the minuso test has
13353 # not run yet. These depmodes are late enough in the game, and
13354 # so weak that their functioning should not be impacted.
13355 am__obj=conftest.${OBJEXT-o}
13360 if depmode=$depmode \
13361 source=sub/conftest.c object=$am__obj \
13362 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13363 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13364 >/dev/null 2>conftest.err &&
13365 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13366 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13367 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13368 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13369 # icc doesn't choke on unknown options, it will just issue warnings
13370 # or remarks (even with -Werror). So we grep stderr for any message
13371 # that says an option was ignored or not supported.
13372 # When given -MP, icc 7.0 and 7.1 complain thusly:
13373 # icc: Command line warning: ignoring option '-M'; no argument required
13374 # The diagnosis changed in icc 8.0:
13375 # icc: Command line remark: option '-MP' not supported
13376 if (grep 'ignoring option' conftest.err ||
13377 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13378 am_cv_CC_dependencies_compiler_type=$depmode
13385 rm -rf conftest.dir
13387 am_cv_CC_dependencies_compiler_type=none
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13392 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13393 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13396 test "x$enable_dependency_tracking" != xno \
13397 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13398 am__fastdepCC_TRUE=
13399 am__fastdepCC_FALSE='#'
13401 am__fastdepCC_TRUE='#'
13402 am__fastdepCC_FALSE=
13407 ac_cpp='$CXXCPP $CPPFLAGS'
13408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13411 if test -z "$CXX"; then
13412 if test -n "$CCC"; then
13415 if test -n "$ac_tool_prefix"; then
13416 for ac_prog in g++ g++3 c++ CC
13418 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13419 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13421 $as_echo_n "checking for $ac_word... " >&6; }
13422 if test "${ac_cv_prog_CXX+set}" = set; then :
13423 $as_echo_n "(cached) " >&6
13425 if test -n "$CXX"; then
13426 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13429 for as_dir in $PATH
13432 test -z "$as_dir" && as_dir=.
13433 for ac_exec_ext in '' $ac_executable_extensions; do
13434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13435 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13445 CXX=$ac_cv_prog_CXX
13446 if test -n "$CXX"; then
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13448 $as_echo "$CXX" >&6; }
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13451 $as_echo "no" >&6; }
13455 test -n "$CXX" && break
13458 if test -z "$CXX"; then
13460 for ac_prog in g++ g++3 c++ CC
13462 # Extract the first word of "$ac_prog", so it can be a program name with args.
13463 set dummy $ac_prog; ac_word=$2
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13465 $as_echo_n "checking for $ac_word... " >&6; }
13466 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13467 $as_echo_n "(cached) " >&6
13469 if test -n "$ac_ct_CXX"; then
13470 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13473 for as_dir in $PATH
13476 test -z "$as_dir" && as_dir=.
13477 for ac_exec_ext in '' $ac_executable_extensions; do
13478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13479 ac_cv_prog_ac_ct_CXX="$ac_prog"
13480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13489 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13490 if test -n "$ac_ct_CXX"; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13492 $as_echo "$ac_ct_CXX" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13495 $as_echo "no" >&6; }
13499 test -n "$ac_ct_CXX" && break
13502 if test "x$ac_ct_CXX" = x; then
13505 case $cross_compiling:$ac_tool_warned in
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13509 ac_tool_warned=yes ;;
13517 # Provide some information about the compiler.
13518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13521 for ac_option in --version -v -V -qversion; do
13522 { { ac_try="$ac_compiler $ac_option >&5"
13523 case "(($ac_try" in
13524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13525 *) ac_try_echo=$ac_try;;
13527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13528 $as_echo "$ac_try_echo"; } >&5
13529 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13531 if test -s conftest.err; then
13533 ... rest of stderr output deleted ...
13534 10q' conftest.err >conftest.er1
13535 cat conftest.er1 >&5
13537 rm -f conftest.er1 conftest.err
13538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13539 test $ac_status = 0; }
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13543 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13544 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13545 $as_echo_n "(cached) " >&6
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13561 if ac_fn_cxx_try_compile "$LINENO"; then :
13562 ac_compiler_gnu=yes
13566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13567 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13571 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13572 if test $ac_compiler_gnu = yes; then
13577 ac_test_CXXFLAGS=${CXXFLAGS+set}
13578 ac_save_CXXFLAGS=$CXXFLAGS
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13580 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13581 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13582 $as_echo_n "(cached) " >&6
13584 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13585 ac_cxx_werror_flag=yes
13586 ac_cv_prog_cxx_g=no
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13599 if ac_fn_cxx_try_compile "$LINENO"; then :
13600 ac_cv_prog_cxx_g=yes
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13614 if ac_fn_cxx_try_compile "$LINENO"; then :
13617 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13630 if ac_fn_cxx_try_compile "$LINENO"; then :
13631 ac_cv_prog_cxx_g=yes
13633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13638 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13641 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13642 if test "$ac_test_CXXFLAGS" = set; then
13643 CXXFLAGS=$ac_save_CXXFLAGS
13644 elif test $ac_cv_prog_cxx_g = yes; then
13645 if test "$GXX" = yes; then
13651 if test "$GXX" = yes; then
13658 ac_cpp='$CPP $CPPFLAGS'
13659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13663 depcc="$CXX" am_compiler_list=
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13666 $as_echo_n "checking dependency style of $depcc... " >&6; }
13667 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13668 $as_echo_n "(cached) " >&6
13670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13671 # We make a subdir and do the tests there. Otherwise we can end up
13672 # making bogus files that we don't know about and never remove. For
13673 # instance it was reported that on HP-UX the gcc test will end up
13674 # making a dummy file named `D' -- because `-MD' means `put the output
13677 # Copy depcomp to subdir because otherwise we won't find it if we're
13678 # using a relative directory.
13679 cp "$am_depcomp" conftest.dir
13681 # We will build objects and dependencies in a subdirectory because
13682 # it helps to detect inapplicable dependency modes. For instance
13683 # both Tru64's cc and ICC support -MD to output dependencies as a
13684 # side effect of compilation, but ICC will put the dependencies in
13685 # the current directory while Tru64 will put them in the object
13689 am_cv_CXX_dependencies_compiler_type=none
13690 if test "$am_compiler_list" = ""; then
13691 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13693 am__universal=false
13694 case " $depcc " in #(
13695 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13698 for depmode in $am_compiler_list; do
13699 # Setup a source with many dependencies, because some compilers
13700 # like to wrap large dependency lists on column 80 (with \), and
13701 # we should not choose a depcomp mode which is confused by this.
13703 # We need to recreate these files for each test, as the compiler may
13704 # overwrite some of them when testing with obscure command lines.
13705 # This happens at least with the AIX C compiler.
13707 for i in 1 2 3 4 5 6; do
13708 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13709 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13710 # Solaris 8's {/usr,}/bin/sh.
13711 touch sub/conftst$i.h
13713 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13715 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13716 # mode. It turns out that the SunPro C++ compiler does not properly
13717 # handle `-M -o', and we need to detect this. Also, some Intel
13718 # versions had trouble with output in subdirs
13719 am__obj=sub/conftest.${OBJEXT-o}
13720 am__minus_obj="-o $am__obj"
13723 # This depmode causes a compiler race in universal mode.
13724 test "$am__universal" = false || continue
13727 # after this tag, mechanisms are not by side-effect, so they'll
13728 # only be used when explicitly requested
13729 if test "x$enable_dependency_tracking" = xyes; then
13735 msvisualcpp | msvcmsys)
13736 # This compiler won't grok `-c -o', but also, the minuso test has
13737 # not run yet. These depmodes are late enough in the game, and
13738 # so weak that their functioning should not be impacted.
13739 am__obj=conftest.${OBJEXT-o}
13744 if depmode=$depmode \
13745 source=sub/conftest.c object=$am__obj \
13746 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13747 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13748 >/dev/null 2>conftest.err &&
13749 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13750 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13751 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13752 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13753 # icc doesn't choke on unknown options, it will just issue warnings
13754 # or remarks (even with -Werror). So we grep stderr for any message
13755 # that says an option was ignored or not supported.
13756 # When given -MP, icc 7.0 and 7.1 complain thusly:
13757 # icc: Command line warning: ignoring option '-M'; no argument required
13758 # The diagnosis changed in icc 8.0:
13759 # icc: Command line remark: option '-MP' not supported
13760 if (grep 'ignoring option' conftest.err ||
13761 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13762 am_cv_CXX_dependencies_compiler_type=$depmode
13769 rm -rf conftest.dir
13771 am_cv_CXX_dependencies_compiler_type=none
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13776 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13777 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13780 test "x$enable_dependency_tracking" != xno \
13781 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13782 am__fastdepCXX_TRUE=
13783 am__fastdepCXX_FALSE='#'
13785 am__fastdepCXX_TRUE='#'
13786 am__fastdepCXX_FALSE=
13792 ac_cpp='$CXXCPP $CPPFLAGS'
13793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13796 if test -z "$CXX"; then
13797 if test -n "$CCC"; then
13800 if test -n "$ac_tool_prefix"; then
13801 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13806 $as_echo_n "checking for $ac_word... " >&6; }
13807 if test "${ac_cv_prog_CXX+set}" = set; then :
13808 $as_echo_n "(cached) " >&6
13810 if test -n "$CXX"; then
13811 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13814 for as_dir in $PATH
13817 test -z "$as_dir" && as_dir=.
13818 for ac_exec_ext in '' $ac_executable_extensions; do
13819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13820 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13830 CXX=$ac_cv_prog_CXX
13831 if test -n "$CXX"; then
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13833 $as_echo "$CXX" >&6; }
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13836 $as_echo "no" >&6; }
13840 test -n "$CXX" && break
13843 if test -z "$CXX"; then
13845 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13847 # Extract the first word of "$ac_prog", so it can be a program name with args.
13848 set dummy $ac_prog; ac_word=$2
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13850 $as_echo_n "checking for $ac_word... " >&6; }
13851 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13852 $as_echo_n "(cached) " >&6
13854 if test -n "$ac_ct_CXX"; then
13855 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13858 for as_dir in $PATH
13861 test -z "$as_dir" && as_dir=.
13862 for ac_exec_ext in '' $ac_executable_extensions; do
13863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13864 ac_cv_prog_ac_ct_CXX="$ac_prog"
13865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13874 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13875 if test -n "$ac_ct_CXX"; then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13877 $as_echo "$ac_ct_CXX" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13880 $as_echo "no" >&6; }
13884 test -n "$ac_ct_CXX" && break
13887 if test "x$ac_ct_CXX" = x; then
13890 case $cross_compiling:$ac_tool_warned in
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13894 ac_tool_warned=yes ;;
13902 # Provide some information about the compiler.
13903 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13906 for ac_option in --version -v -V -qversion; do
13907 { { ac_try="$ac_compiler $ac_option >&5"
13908 case "(($ac_try" in
13909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13910 *) ac_try_echo=$ac_try;;
13912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13913 $as_echo "$ac_try_echo"; } >&5
13914 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13916 if test -s conftest.err; then
13918 ... rest of stderr output deleted ...
13919 10q' conftest.err >conftest.er1
13920 cat conftest.er1 >&5
13922 rm -f conftest.er1 conftest.err
13923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13924 test $ac_status = 0; }
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13928 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13929 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13930 $as_echo_n "(cached) " >&6
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13946 if ac_fn_cxx_try_compile "$LINENO"; then :
13947 ac_compiler_gnu=yes
13951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13952 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13956 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13957 if test $ac_compiler_gnu = yes; then
13962 ac_test_CXXFLAGS=${CXXFLAGS+set}
13963 ac_save_CXXFLAGS=$CXXFLAGS
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13965 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13966 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13967 $as_echo_n "(cached) " >&6
13969 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13970 ac_cxx_werror_flag=yes
13971 ac_cv_prog_cxx_g=no
13973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13984 if ac_fn_cxx_try_compile "$LINENO"; then :
13985 ac_cv_prog_cxx_g=yes
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13999 if ac_fn_cxx_try_compile "$LINENO"; then :
14002 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14015 if ac_fn_cxx_try_compile "$LINENO"; then :
14016 ac_cv_prog_cxx_g=yes
14018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14023 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14026 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14027 if test "$ac_test_CXXFLAGS" = set; then
14028 CXXFLAGS=$ac_save_CXXFLAGS
14029 elif test $ac_cv_prog_cxx_g = yes; then
14030 if test "$GXX" = yes; then
14036 if test "$GXX" = yes; then
14043 ac_cpp='$CPP $CPPFLAGS'
14044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14048 depcc="$CXX" am_compiler_list=
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14051 $as_echo_n "checking dependency style of $depcc... " >&6; }
14052 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14053 $as_echo_n "(cached) " >&6
14055 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14056 # We make a subdir and do the tests there. Otherwise we can end up
14057 # making bogus files that we don't know about and never remove. For
14058 # instance it was reported that on HP-UX the gcc test will end up
14059 # making a dummy file named `D' -- because `-MD' means `put the output
14062 # Copy depcomp to subdir because otherwise we won't find it if we're
14063 # using a relative directory.
14064 cp "$am_depcomp" conftest.dir
14066 # We will build objects and dependencies in a subdirectory because
14067 # it helps to detect inapplicable dependency modes. For instance
14068 # both Tru64's cc and ICC support -MD to output dependencies as a
14069 # side effect of compilation, but ICC will put the dependencies in
14070 # the current directory while Tru64 will put them in the object
14074 am_cv_CXX_dependencies_compiler_type=none
14075 if test "$am_compiler_list" = ""; then
14076 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14078 am__universal=false
14079 case " $depcc " in #(
14080 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14083 for depmode in $am_compiler_list; do
14084 # Setup a source with many dependencies, because some compilers
14085 # like to wrap large dependency lists on column 80 (with \), and
14086 # we should not choose a depcomp mode which is confused by this.
14088 # We need to recreate these files for each test, as the compiler may
14089 # overwrite some of them when testing with obscure command lines.
14090 # This happens at least with the AIX C compiler.
14092 for i in 1 2 3 4 5 6; do
14093 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14094 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14095 # Solaris 8's {/usr,}/bin/sh.
14096 touch sub/conftst$i.h
14098 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14100 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14101 # mode. It turns out that the SunPro C++ compiler does not properly
14102 # handle `-M -o', and we need to detect this. Also, some Intel
14103 # versions had trouble with output in subdirs
14104 am__obj=sub/conftest.${OBJEXT-o}
14105 am__minus_obj="-o $am__obj"
14108 # This depmode causes a compiler race in universal mode.
14109 test "$am__universal" = false || continue
14112 # after this tag, mechanisms are not by side-effect, so they'll
14113 # only be used when explicitly requested
14114 if test "x$enable_dependency_tracking" = xyes; then
14120 msvisualcpp | msvcmsys)
14121 # This compiler won't grok `-c -o', but also, the minuso test has
14122 # not run yet. These depmodes are late enough in the game, and
14123 # so weak that their functioning should not be impacted.
14124 am__obj=conftest.${OBJEXT-o}
14129 if depmode=$depmode \
14130 source=sub/conftest.c object=$am__obj \
14131 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14132 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14133 >/dev/null 2>conftest.err &&
14134 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14135 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14136 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14137 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14138 # icc doesn't choke on unknown options, it will just issue warnings
14139 # or remarks (even with -Werror). So we grep stderr for any message
14140 # that says an option was ignored or not supported.
14141 # When given -MP, icc 7.0 and 7.1 complain thusly:
14142 # icc: Command line warning: ignoring option '-M'; no argument required
14143 # The diagnosis changed in icc 8.0:
14144 # icc: Command line remark: option '-MP' not supported
14145 if (grep 'ignoring option' conftest.err ||
14146 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14147 am_cv_CXX_dependencies_compiler_type=$depmode
14154 rm -rf conftest.dir
14156 am_cv_CXX_dependencies_compiler_type=none
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14161 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14162 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14165 test "x$enable_dependency_tracking" != xno \
14166 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14167 am__fastdepCXX_TRUE=
14168 am__fastdepCXX_FALSE='#'
14170 am__fastdepCXX_TRUE='#'
14171 am__fastdepCXX_FALSE=
14175 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14176 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14177 (test "X$CXX" != "Xg++"))) ; then
14179 ac_cpp='$CXXCPP $CPPFLAGS'
14180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14184 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14185 if test -z "$CXXCPP"; then
14186 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14187 $as_echo_n "(cached) " >&6
14189 # Double quotes because CXXCPP needs to be expanded
14190 for CXXCPP in "$CXX -E" "/lib/cpp"
14192 ac_preproc_ok=false
14193 for ac_cxx_preproc_warn_flag in '' yes
14195 # Use a header file that comes with gcc, so configuring glibc
14196 # with a fresh cross-compiler works.
14197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14198 # <limits.h> exists even on freestanding compilers.
14199 # On the NeXT, cc -E runs the code through the compiler's parser,
14200 # not just through cpp. "Syntax error" is here to catch this case.
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 # include <limits.h>
14206 # include <assert.h>
14210 if ac_fn_cxx_try_cpp "$LINENO"; then :
14213 # Broken: fails on valid input.
14216 rm -f conftest.err conftest.i conftest.$ac_ext
14218 # OK, works on sane cases. Now check whether nonexistent headers
14219 # can be detected and how.
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 #include <ac_nonexistent.h>
14224 if ac_fn_cxx_try_cpp "$LINENO"; then :
14225 # Broken: success on invalid input.
14228 # Passes both tests.
14232 rm -f conftest.err conftest.i conftest.$ac_ext
14235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14236 rm -f conftest.i conftest.err conftest.$ac_ext
14237 if $ac_preproc_ok; then :
14242 ac_cv_prog_CXXCPP=$CXXCPP
14245 CXXCPP=$ac_cv_prog_CXXCPP
14247 ac_cv_prog_CXXCPP=$CXXCPP
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14250 $as_echo "$CXXCPP" >&6; }
14251 ac_preproc_ok=false
14252 for ac_cxx_preproc_warn_flag in '' yes
14254 # Use a header file that comes with gcc, so configuring glibc
14255 # with a fresh cross-compiler works.
14256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14257 # <limits.h> exists even on freestanding compilers.
14258 # On the NeXT, cc -E runs the code through the compiler's parser,
14259 # not just through cpp. "Syntax error" is here to catch this case.
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 # include <limits.h>
14265 # include <assert.h>
14269 if ac_fn_cxx_try_cpp "$LINENO"; then :
14272 # Broken: fails on valid input.
14275 rm -f conftest.err conftest.i conftest.$ac_ext
14277 # OK, works on sane cases. Now check whether nonexistent headers
14278 # can be detected and how.
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 #include <ac_nonexistent.h>
14283 if ac_fn_cxx_try_cpp "$LINENO"; then :
14284 # Broken: success on invalid input.
14287 # Passes both tests.
14291 rm -f conftest.err conftest.i conftest.$ac_ext
14294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14295 rm -f conftest.i conftest.err conftest.$ac_ext
14296 if $ac_preproc_ok; then :
14299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14301 _lt_caught_CXX_error=yes; }
14305 ac_cpp='$CPP $CPPFLAGS'
14306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14311 _lt_caught_CXX_error=yes
14318 ac_cpp='$CXXCPP $CPPFLAGS'
14319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14323 archive_cmds_need_lc_CXX=no
14324 allow_undefined_flag_CXX=
14325 always_export_symbols_CXX=no
14326 archive_expsym_cmds_CXX=
14327 compiler_needs_object_CXX=no
14328 export_dynamic_flag_spec_CXX=
14329 hardcode_direct_CXX=no
14330 hardcode_direct_absolute_CXX=no
14331 hardcode_libdir_flag_spec_CXX=
14332 hardcode_libdir_flag_spec_ld_CXX=
14333 hardcode_libdir_separator_CXX=
14334 hardcode_minus_L_CXX=no
14335 hardcode_shlibpath_var_CXX=unsupported
14336 hardcode_automatic_CXX=no
14337 inherit_rpath_CXX=no
14339 module_expsym_cmds_CXX=
14340 link_all_deplibs_CXX=unknown
14341 old_archive_cmds_CXX=$old_archive_cmds
14342 no_undefined_flag_CXX=
14343 whole_archive_flag_spec_CXX=
14344 enable_shared_with_static_runtimes_CXX=no
14346 # Source file extension for C++ test sources.
14349 # Object file extension for compiled C++ test sources.
14353 # No sense in running all these tests if we already determined that
14354 # the CXX compiler isn't working. Some variables (like enable_shared)
14355 # are currently assumed to apply to all compilers on this platform,
14356 # and will be corrupted by setting them based on a non-working compiler.
14357 if test "$_lt_caught_CXX_error" != yes; then
14358 # Code to be used in simple compile tests
14359 lt_simple_compile_test_code="int some_variable = 0;"
14361 # Code to be used in simple link tests
14362 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14364 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14371 # If no C compiler was specified, use CC.
14374 # If no C compiler flags were specified, use CFLAGS.
14375 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14377 # Allow CC to be a program name with arguments.
14381 # save warnings/boilerplate of simple test code
14382 ac_outfile=conftest.$ac_objext
14383 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14384 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14385 _lt_compiler_boilerplate=`cat conftest.err`
14388 ac_outfile=conftest.$ac_objext
14389 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14390 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14391 _lt_linker_boilerplate=`cat conftest.err`
14395 # Allow CC to be a program name with arguments.
14400 lt_save_with_gnu_ld=$with_gnu_ld
14401 lt_save_path_LD=$lt_cv_path_LD
14402 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14403 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14405 $as_unset lt_cv_prog_gnu_ld
14407 if test -n "${lt_cv_path_LDCXX+set}"; then
14408 lt_cv_path_LD=$lt_cv_path_LDCXX
14410 $as_unset lt_cv_path_LD
14412 test -z "${LDCXX+set}" || LD=$LDCXX
14416 for cc_temp in $compiler""; do
14418 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14419 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14424 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14427 if test -n "$compiler"; then
14428 # We don't want -fno-exception when compiling C++ code, so set the
14429 # no_builtin_flag separately
14430 if test "$GXX" = yes; then
14431 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14433 lt_prog_compiler_no_builtin_flag_CXX=
14436 if test "$GXX" = yes; then
14437 # Set up default GNU C++ configuration
14441 # Check whether --with-gnu-ld was given.
14442 if test "${with_gnu_ld+set}" = set; then :
14443 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14449 if test "$GCC" = yes; then
14450 # Check if gcc -print-prog-name=ld gives a path.
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14452 $as_echo_n "checking for ld used by $CC... " >&6; }
14455 # gcc leaves a trailing carriage return which upsets mingw
14456 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14458 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14461 # Accept absolute paths.
14463 re_direlt='/[^/][^/]*/\.\./'
14464 # Canonicalize the pathname of ld
14465 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14466 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14467 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14469 test -z "$LD" && LD="$ac_prog"
14472 # If it fails, then pretend we aren't using GCC.
14476 # If it is relative, then search for the first ld in PATH.
14477 with_gnu_ld=unknown
14480 elif test "$with_gnu_ld" = yes; then
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14482 $as_echo_n "checking for GNU ld... " >&6; }
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14485 $as_echo_n "checking for non-GNU ld... " >&6; }
14487 if test "${lt_cv_path_LD+set}" = set; then :
14488 $as_echo_n "(cached) " >&6
14490 if test -z "$LD"; then
14491 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14492 for ac_dir in $PATH; do
14494 test -z "$ac_dir" && ac_dir=.
14495 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14496 lt_cv_path_LD="$ac_dir/$ac_prog"
14497 # Check to see if the program is GNU ld. I'd rather use --version,
14498 # but apparently some variants of GNU ld only accept -v.
14499 # Break only if it was the GNU/non-GNU ld that we prefer.
14500 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14501 *GNU* | *'with BFD'*)
14502 test "$with_gnu_ld" != no && break
14505 test "$with_gnu_ld" != yes && break
14512 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14516 LD="$lt_cv_path_LD"
14517 if test -n "$LD"; then
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14519 $as_echo "$LD" >&6; }
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14522 $as_echo "no" >&6; }
14524 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14526 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14527 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14528 $as_echo_n "(cached) " >&6
14530 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14531 case `$LD -v 2>&1 </dev/null` in
14532 *GNU* | *'with BFD'*)
14533 lt_cv_prog_gnu_ld=yes
14536 lt_cv_prog_gnu_ld=no
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14541 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14542 with_gnu_ld=$lt_cv_prog_gnu_ld
14550 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14551 # archiving commands below assume that GNU ld is being used.
14552 if test "$with_gnu_ld" = yes; then
14553 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14554 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'
14556 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14557 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14559 # If archive_cmds runs LD, not CC, wlarc should be empty
14560 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14561 # investigate it a little bit more. (MM)
14564 # ancient GNU ld didn't support --whole-archive et. al.
14565 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14566 $GREP 'no-whole-archive' > /dev/null; then
14567 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14569 whole_archive_flag_spec_CXX=
14575 # A generic and very simple default shared library creation
14576 # command for GNU C++ for the case where it uses the native
14577 # linker, instead of GNU ld. If possible, this setting should
14578 # overridden to take advantage of the native linker features on
14579 # the platform it is being used on.
14580 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14583 # Commands to make compiler produce verbose output that lists
14584 # what "hidden" libraries, object files and flags are used when
14585 # linking a shared library.
14586 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14594 # PORTME: fill in a description of your system's C++ link characteristics
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14596 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14600 # FIXME: insert proper C++ library support
14604 if test "$host_cpu" = ia64; then
14605 # On IA64, the linker does run time linking by default, so we don't
14606 # have to do anything special.
14607 aix_use_runtimelinking=no
14608 exp_sym_flag='-Bexport'
14611 aix_use_runtimelinking=no
14613 # Test if we are trying to use run time linking or normal
14614 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14615 # need to do runtime linking.
14616 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14617 for ld_flag in $LDFLAGS; do
14620 aix_use_runtimelinking=yes
14628 exp_sym_flag='-bexport'
14629 no_entry_flag='-bnoentry'
14632 # When large executables or shared objects are built, AIX ld can
14633 # have problems creating the table of contents. If linking a library
14634 # or program results in "error TOC overflow" add -mminimal-toc to
14635 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14636 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14638 archive_cmds_CXX=''
14639 hardcode_direct_CXX=yes
14640 hardcode_direct_absolute_CXX=yes
14641 hardcode_libdir_separator_CXX=':'
14642 link_all_deplibs_CXX=yes
14643 file_list_spec_CXX='${wl}-f,'
14645 if test "$GXX" = yes; then
14646 case $host_os in aix4.[012]|aix4.[012].*)
14647 # We only want to do this on AIX 4.2 and lower, the check
14648 # below for broken collect2 doesn't work under 4.3+
14649 collect2name=`${CC} -print-prog-name=collect2`
14650 if test -f "$collect2name" &&
14651 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14653 # We have reworked collect2
14656 # We have old collect2
14657 hardcode_direct_CXX=unsupported
14658 # It fails to find uninstalled libraries when the uninstalled
14659 # path is not listed in the libpath. Setting hardcode_minus_L
14660 # to unsupported forces relinking
14661 hardcode_minus_L_CXX=yes
14662 hardcode_libdir_flag_spec_CXX='-L$libdir'
14663 hardcode_libdir_separator_CXX=
14666 shared_flag='-shared'
14667 if test "$aix_use_runtimelinking" = yes; then
14668 shared_flag="$shared_flag "'${wl}-G'
14672 if test "$host_cpu" = ia64; then
14673 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14674 # chokes on -Wl,-G. The following line is correct:
14677 if test "$aix_use_runtimelinking" = yes; then
14678 shared_flag='${wl}-G'
14680 shared_flag='${wl}-bM:SRE'
14685 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14686 # It seems that -bexpall does not export symbols beginning with
14687 # underscore (_), so it is better to generate a list of symbols to
14689 always_export_symbols_CXX=yes
14690 if test "$aix_use_runtimelinking" = yes; then
14691 # Warning - without using the other runtime loading flags (-brtl),
14692 # -berok will link without error, but may produce a broken library.
14693 allow_undefined_flag_CXX='-berok'
14694 # Determine the default libpath from the value encoded in an empty
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14707 if ac_fn_cxx_try_link "$LINENO"; then :
14709 lt_aix_libpath_sed='
14710 /Import File Strings/,/^$/ {
14716 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14717 # Check for a 64-bit object if we didn't find anything.
14718 if test -z "$aix_libpath"; then
14719 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14722 rm -f core conftest.err conftest.$ac_objext \
14723 conftest$ac_exeext conftest.$ac_ext
14724 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14726 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14728 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"
14730 if test "$host_cpu" = ia64; then
14731 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14732 allow_undefined_flag_CXX="-z nodefs"
14733 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"
14735 # Determine the default libpath from the value encoded in an
14736 # empty executable.
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14748 if ac_fn_cxx_try_link "$LINENO"; then :
14750 lt_aix_libpath_sed='
14751 /Import File Strings/,/^$/ {
14757 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14758 # Check for a 64-bit object if we didn't find anything.
14759 if test -z "$aix_libpath"; then
14760 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14763 rm -f core conftest.err conftest.$ac_objext \
14764 conftest$ac_exeext conftest.$ac_ext
14765 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14767 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14768 # Warning - without using the other run time loading flags,
14769 # -berok will link without error, but may produce a broken library.
14770 no_undefined_flag_CXX=' ${wl}-bernotok'
14771 allow_undefined_flag_CXX=' ${wl}-berok'
14772 # Exported symbols can be pulled into shared objects from archives
14773 whole_archive_flag_spec_CXX='$convenience'
14774 archive_cmds_need_lc_CXX=yes
14775 # This is similar to how AIX traditionally builds its shared
14777 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'
14783 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14784 allow_undefined_flag_CXX=unsupported
14785 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14786 # support --undefined. This deserves some investigation. FIXME
14787 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14794 case $cc_basename in
14796 # FIXME: insert proper C++ library support
14802 cygwin* | mingw* | pw32* | cegcc*)
14803 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14804 # as there is no search path for DLLs.
14805 hardcode_libdir_flag_spec_CXX='-L$libdir'
14806 allow_undefined_flag_CXX=unsupported
14807 always_export_symbols_CXX=no
14808 enable_shared_with_static_runtimes_CXX=yes
14810 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14811 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'
14812 # If the export-symbols file already is a .def file (1st line
14813 # is EXPORTS), use it as is; otherwise, prepend...
14814 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14815 cp $export_symbols $output_objdir/$soname.def;
14817 echo EXPORTS > $output_objdir/$soname.def;
14818 cat $export_symbols >> $output_objdir/$soname.def;
14820 $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'
14825 darwin* | rhapsody*)
14828 archive_cmds_need_lc_CXX=no
14829 hardcode_direct_CXX=no
14830 hardcode_automatic_CXX=yes
14831 hardcode_shlibpath_var_CXX=unsupported
14832 whole_archive_flag_spec_CXX=''
14833 link_all_deplibs_CXX=yes
14834 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14835 case $cc_basename in
14836 ifort*) _lt_dar_can_shared=yes ;;
14837 *) _lt_dar_can_shared=$GCC ;;
14839 if test "$_lt_dar_can_shared" = "yes"; then
14840 output_verbose_link_cmd=echo
14841 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}"
14842 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14843 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}"
14844 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}"
14845 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14846 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}"
14847 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}"
14857 case $cc_basename in
14859 # FIXME: insert proper C++ library support
14863 # Green Hills C++ Compiler
14864 # FIXME: insert proper C++ library support
14868 # FIXME: insert proper C++ library support
14875 # C++ shared libraries reported to be fairly broken before
14881 archive_cmds_need_lc_CXX=no
14884 freebsd* | dragonfly*)
14885 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14894 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14895 hardcode_libdir_separator_CXX=:
14896 export_dynamic_flag_spec_CXX='${wl}-E'
14897 hardcode_direct_CXX=yes
14898 hardcode_minus_L_CXX=yes # Not in the search PATH,
14899 # but as the default
14900 # location of the library.
14902 case $cc_basename in
14904 # FIXME: insert proper C++ library support
14908 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'
14909 # Commands to make compiler produce verbose output that lists
14910 # what "hidden" libraries, object files and flags are used when
14911 # linking a shared library.
14913 # There doesn't appear to be a way to prevent this compiler from
14914 # explicitly linking system object files so we need to strip them
14915 # from the output so that they don't get included in the library
14917 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'
14920 if test "$GXX" = yes; then
14921 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'
14923 # FIXME: insert proper C++ library support
14931 if test $with_gnu_ld = no; then
14932 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14933 hardcode_libdir_separator_CXX=:
14939 export_dynamic_flag_spec_CXX='${wl}-E'
14945 hardcode_direct_CXX=no
14946 hardcode_shlibpath_var_CXX=no
14949 hardcode_direct_CXX=yes
14950 hardcode_direct_absolute_CXX=yes
14951 hardcode_minus_L_CXX=yes # Not in the search PATH,
14952 # but as the default
14953 # location of the library.
14957 case $cc_basename in
14959 # FIXME: insert proper C++ library support
14965 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14968 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14971 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14974 # Commands to make compiler produce verbose output that lists
14975 # what "hidden" libraries, object files and flags are used when
14976 # linking a shared library.
14978 # There doesn't appear to be a way to prevent this compiler from
14979 # explicitly linking system object files so we need to strip them
14980 # from the output so that they don't get included in the library
14982 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'
14985 if test "$GXX" = yes; then
14986 if test $with_gnu_ld = no; then
14989 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14992 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14995 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'
15000 # FIXME: insert proper C++ library support
15008 hardcode_direct_CXX=no
15009 hardcode_shlibpath_var_CXX=no
15010 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15011 export_dynamic_flag_spec_CXX='${wl}-E'
15012 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15013 # Instead, shared libraries are loaded at an image base (0x10000000 by
15014 # default) and relocated if they conflict, which is a slow very memory
15015 # consuming and fragmenting process. To avoid this, we pick a random,
15016 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15017 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15018 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'
15019 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'
15022 case $cc_basename in
15025 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'
15027 # Archives containing C++ object files must be created using
15028 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15029 # necessary to make sure instantiated templates are included
15031 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15034 if test "$GXX" = yes; then
15035 if test "$with_gnu_ld" = no; then
15036 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'
15038 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'
15041 link_all_deplibs_CXX=yes
15044 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15045 hardcode_libdir_separator_CXX=:
15046 inherit_rpath_CXX=yes
15049 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15050 case $cc_basename in
15052 # Kuck and Associates, Inc. (KAI) C++ Compiler
15054 # KCC will only create a shared library if the output file
15055 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15056 # to its proper name (with version) after linking.
15057 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'
15058 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'
15059 # Commands to make compiler produce verbose output that lists
15060 # what "hidden" libraries, object files and flags are used when
15061 # linking a shared library.
15063 # There doesn't appear to be a way to prevent this compiler from
15064 # explicitly linking system object files so we need to strip them
15065 # from the output so that they don't get included in the library
15067 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'
15069 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15070 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15072 # Archives containing C++ object files must be created using
15073 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15074 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15079 # version 8.0 and above of icpc choke on multiply defined symbols
15080 # if we add $predep_objects and $postdep_objects, however 7.1 and
15081 # earlier do not add the objects themselves.
15082 case `$CC -V 2>&1` in
15084 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15085 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'
15087 *) # Version 8.0 or newer
15090 ia64*) tmp_idyn=' -i_dynamic';;
15092 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15093 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'
15096 archive_cmds_need_lc_CXX=no
15097 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15098 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15099 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15102 # Portland Group C++ compiler
15104 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15105 prelink_cmds_CXX='tpldir=Template.dir~
15107 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15108 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15109 old_archive_cmds_CXX='tpldir=Template.dir~
15111 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15112 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15114 archive_cmds_CXX='tpldir=Template.dir~
15116 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15117 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15118 archive_expsym_cmds_CXX='tpldir=Template.dir~
15120 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15121 $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'
15123 *) # Version 6 will use weak symbols
15124 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15125 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'
15129 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15130 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15131 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'
15135 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15136 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'
15138 runpath_var=LD_RUN_PATH
15139 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15140 hardcode_libdir_separator_CXX=:
15142 # Commands to make compiler produce verbose output that lists
15143 # what "hidden" libraries, object files and flags are used when
15144 # linking a shared library.
15146 # There doesn't appear to be a way to prevent this compiler from
15147 # explicitly linking system object files so we need to strip them
15148 # from the output so that they don't get included in the library
15150 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'
15153 # IBM XL 8.0 on PPC, with GNU ld
15154 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15155 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15156 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15157 if test "x$supports_anon_versioning" = xyes; then
15158 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15159 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15160 echo "local: *; };" >> $output_objdir/$libname.ver~
15161 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15165 case `$CC -V 2>&1 | sed 5q` in
15168 no_undefined_flag_CXX=' -zdefs'
15169 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15170 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'
15171 hardcode_libdir_flag_spec_CXX='-R$libdir'
15172 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'
15173 compiler_needs_object_CXX=yes
15175 # Not sure whether something based on
15176 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15178 output_verbose_link_cmd='echo'
15180 # Archives containing C++ object files must be created using
15181 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15182 # necessary to make sure instantiated templates are included
15184 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15192 # FIXME: insert proper C++ library support
15197 # FIXME: insert proper C++ library support
15202 case $cc_basename in
15204 # FIXME: insert proper C++ library support
15208 # FIXME: insert proper C++ library support
15215 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15216 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15218 hardcode_libdir_flag_spec_CXX='-R$libdir'
15219 hardcode_direct_CXX=yes
15220 hardcode_shlibpath_var_CXX=no
15222 # Workaround some broken pre-1.5 toolchains
15223 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15231 # C++ shared libraries are fairly broken
15236 if test -f /usr/libexec/ld.so; then
15237 hardcode_direct_CXX=yes
15238 hardcode_shlibpath_var_CXX=no
15239 hardcode_direct_absolute_CXX=yes
15240 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15241 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15242 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15243 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15244 export_dynamic_flag_spec_CXX='${wl}-E'
15245 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15247 output_verbose_link_cmd=echo
15253 osf3* | osf4* | osf5*)
15254 case $cc_basename in
15256 # Kuck and Associates, Inc. (KAI) C++ Compiler
15258 # KCC will only create a shared library if the output file
15259 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15260 # to its proper name (with version) after linking.
15261 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'
15263 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15264 hardcode_libdir_separator_CXX=:
15266 # Archives containing C++ object files must be created using
15267 # the KAI C++ compiler.
15269 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15270 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15274 # Rational C++ 2.4.1
15275 # FIXME: insert proper C++ library support
15281 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15282 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'
15283 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15286 allow_undefined_flag_CXX=' -expect_unresolved \*'
15287 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'
15288 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15289 echo "-hidden">> $lib.exp~
15290 $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~
15292 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15296 hardcode_libdir_separator_CXX=:
15298 # Commands to make compiler produce verbose output that lists
15299 # what "hidden" libraries, object files and flags are used when
15300 # linking a shared library.
15302 # There doesn't appear to be a way to prevent this compiler from
15303 # explicitly linking system object files so we need to strip them
15304 # from the output so that they don't get included in the library
15306 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'
15309 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15310 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15313 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'
15316 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'
15320 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15321 hardcode_libdir_separator_CXX=:
15323 # Commands to make compiler produce verbose output that lists
15324 # what "hidden" libraries, object files and flags are used when
15325 # linking a shared library.
15326 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15329 # FIXME: insert proper C++ library support
15337 # FIXME: insert proper C++ library support
15342 case $cc_basename in
15345 # FIXME: insert proper C++ library support
15350 # FIXME: insert proper C++ library support
15354 # FIXME: insert proper C++ library support
15361 case $cc_basename in
15363 # Sun C++ 4.2, 5.x and Centerline C++
15364 archive_cmds_need_lc_CXX=yes
15365 no_undefined_flag_CXX=' -zdefs'
15366 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15367 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15368 $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'
15370 hardcode_libdir_flag_spec_CXX='-R$libdir'
15371 hardcode_shlibpath_var_CXX=no
15373 solaris2.[0-5] | solaris2.[0-5].*) ;;
15375 # The compiler driver will combine and reorder linker options,
15376 # but understands `-z linker_flag'.
15377 # Supported since Solaris 2.6 (maybe 2.5.1?)
15378 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15381 link_all_deplibs_CXX=yes
15383 output_verbose_link_cmd='echo'
15385 # Archives containing C++ object files must be created using
15386 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15387 # necessary to make sure instantiated templates are included
15389 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15392 # Green Hills C++ Compiler
15393 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15395 # The C++ compiler must be used to create the archive.
15396 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15399 # GNU C++ compiler with Solaris linker
15400 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15401 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15402 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15403 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15404 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15405 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15407 # Commands to make compiler produce verbose output that lists
15408 # what "hidden" libraries, object files and flags are used when
15409 # linking a shared library.
15410 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15412 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15414 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15415 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15416 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15418 # Commands to make compiler produce verbose output that lists
15419 # what "hidden" libraries, object files and flags are used when
15420 # linking a shared library.
15421 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15424 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15426 solaris2.[0-5] | solaris2.[0-5].*) ;;
15428 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15436 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15437 no_undefined_flag_CXX='${wl}-z,text'
15438 archive_cmds_need_lc_CXX=no
15439 hardcode_shlibpath_var_CXX=no
15440 runpath_var='LD_RUN_PATH'
15442 case $cc_basename in
15444 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15445 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15448 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15449 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15454 sysv5* | sco3.2v5* | sco5v6*)
15455 # Note: We can NOT use -z defs as we might desire, because we do not
15456 # link with -lc, and that would cause any symbols used from libc to
15457 # always be unresolved, which means just about no library would
15458 # ever link correctly. If we're not using GNU ld we use -z text
15459 # though, which does catch some bad symbols but isn't as heavy-handed
15461 no_undefined_flag_CXX='${wl}-z,text'
15462 allow_undefined_flag_CXX='${wl}-z,nodefs'
15463 archive_cmds_need_lc_CXX=no
15464 hardcode_shlibpath_var_CXX=no
15465 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15466 hardcode_libdir_separator_CXX=':'
15467 link_all_deplibs_CXX=yes
15468 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15469 runpath_var='LD_RUN_PATH'
15471 case $cc_basename in
15473 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15474 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15477 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15478 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15484 case $cc_basename in
15486 # NonStop-UX NCC 3.20
15487 # FIXME: insert proper C++ library support
15491 # FIXME: insert proper C++ library support
15498 # FIXME: insert proper C++ library support
15503 # FIXME: insert proper C++ library support
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15509 $as_echo "$ld_shlibs_CXX" >&6; }
15510 test "$ld_shlibs_CXX" = no && can_build_shared=no
15516 ## There is no encapsulation within the following macros, do not change
15517 ## the running order or otherwise move them around unless you know exactly
15518 ## what you are doing...
15519 # Dependencies to place before and after the object being linked:
15520 predep_objects_CXX=
15521 postdep_objects_CXX=
15524 compiler_lib_search_path_CXX=
15526 cat > conftest.$ac_ext <<_LT_EOF
15530 Foo (void) { a = 0; }
15536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15537 (eval $ac_compile) 2>&5
15539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15540 test $ac_status = 0; }; then
15541 # Parse the compiler output and extract the necessary
15542 # objects, libraries and library flags.
15544 # Sentinel used to keep track of whether or not we are before
15545 # the conftest object file.
15546 pre_test_object_deps_done=no
15548 for p in `eval "$output_verbose_link_cmd"`; do
15552 # Some compilers place space between "-{L,R}" and the path.
15553 # Remove the space.
15554 if test $p = "-L" ||
15555 test $p = "-R"; then
15562 if test "$pre_test_object_deps_done" = no; then
15565 # Internal compiler library paths should come after those
15566 # provided the user. The postdeps already come after the
15567 # user supplied libs so there is no need to process them.
15568 if test -z "$compiler_lib_search_path_CXX"; then
15569 compiler_lib_search_path_CXX="${prev}${p}"
15571 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15574 # The "-l" case would never come before the object being
15575 # linked, so don't bother handling this case.
15578 if test -z "$postdeps_CXX"; then
15579 postdeps_CXX="${prev}${p}"
15581 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15587 # This assumes that the test object file only shows up
15588 # once in the compiler output.
15589 if test "$p" = "conftest.$objext"; then
15590 pre_test_object_deps_done=yes
15594 if test "$pre_test_object_deps_done" = no; then
15595 if test -z "$predep_objects_CXX"; then
15596 predep_objects_CXX="$p"
15598 predep_objects_CXX="$predep_objects_CXX $p"
15601 if test -z "$postdep_objects_CXX"; then
15602 postdep_objects_CXX="$p"
15604 postdep_objects_CXX="$postdep_objects_CXX $p"
15609 *) ;; # Ignore the rest.
15617 echo "libtool.m4: error: problem compiling CXX test program"
15620 $RM -f confest.$objext
15622 # PORTME: override above test on systems where it is broken
15625 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15626 # hack all around it, let's just trust "g++" to DTRT.
15627 predep_objects_CXX=
15628 postdep_objects_CXX=
15633 case `$CC -V 2>&1 | sed 5q` in
15637 # The more standards-conforming stlport4 library is
15638 # incompatible with the Cstd library. Avoid specifying
15639 # it if it's in CXXFLAGS. Ignore libCrun as
15640 # -library=stlport4 depends on it.
15641 case " $CXX $CXXFLAGS " in
15642 *" -library=stlport4 "*)
15643 solaris_use_stlport4=yes
15647 if test "$solaris_use_stlport4" != yes; then
15648 postdeps_CXX='-library=Cstd -library=Crun'
15655 case $cc_basename in
15657 # The more standards-conforming stlport4 library is
15658 # incompatible with the Cstd library. Avoid specifying
15659 # it if it's in CXXFLAGS. Ignore libCrun as
15660 # -library=stlport4 depends on it.
15661 case " $CXX $CXXFLAGS " in
15662 *" -library=stlport4 "*)
15663 solaris_use_stlport4=yes
15667 # Adding this requires a known-good setup of shared libraries for
15668 # Sun compiler versions before 5.6, else PIC objects from an old
15669 # archive will be linked into the output, leading to subtle bugs.
15670 if test "$solaris_use_stlport4" != yes; then
15671 postdeps_CXX='-library=Cstd -library=Crun'
15679 case " $postdeps_CXX " in
15680 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15682 compiler_lib_search_dirs_CXX=
15683 if test -n "${compiler_lib_search_path_CXX}"; then
15684 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15717 lt_prog_compiler_wl_CXX=
15718 lt_prog_compiler_pic_CXX=
15719 lt_prog_compiler_static_CXX=
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15722 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15724 # C++ specific cases for pic, static, wl, etc.
15725 if test "$GXX" = yes; then
15726 lt_prog_compiler_wl_CXX='-Wl,'
15727 lt_prog_compiler_static_CXX='-static'
15731 # All AIX code is PIC.
15732 if test "$host_cpu" = ia64; then
15733 # AIX 5 now supports IA64 processor
15734 lt_prog_compiler_static_CXX='-Bstatic'
15741 # see comment about AmigaOS4 .so support
15742 lt_prog_compiler_pic_CXX='-fPIC'
15745 # FIXME: we need at least 68020 code to build shared libraries, but
15746 # adding the `-m68020' flag to GCC prevents building anything better,
15748 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15753 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15754 # PIC is the default for these OSes.
15756 mingw* | cygwin* | os2* | pw32* | cegcc*)
15757 # This hack is so that the source file can tell whether it is being
15758 # built for inclusion in a dll (and should export symbols for example).
15759 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15760 # (--disable-auto-import) libraries
15761 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15763 darwin* | rhapsody*)
15764 # PIC is the default on this platform
15765 # Common symbols not allowed in MH_DYLIB files
15766 lt_prog_compiler_pic_CXX='-fno-common'
15769 # DJGPP does not support shared libraries at all
15770 lt_prog_compiler_pic_CXX=
15773 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15774 # Instead, we relocate shared libraries at runtime.
15777 if test -d /usr/nec; then
15778 lt_prog_compiler_pic_CXX=-Kconform_pic
15782 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15783 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15784 # sets the default TLS model and affects inlining.
15789 lt_prog_compiler_pic_CXX='-fPIC'
15794 # QNX uses GNU C++, but need to define -shared option too, otherwise
15795 # it will coredump.
15796 lt_prog_compiler_pic_CXX='-fPIC -shared'
15799 lt_prog_compiler_pic_CXX='-fPIC'
15805 # All AIX code is PIC.
15806 if test "$host_cpu" = ia64; then
15807 # AIX 5 now supports IA64 processor
15808 lt_prog_compiler_static_CXX='-Bstatic'
15810 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15814 case $cc_basename in
15816 # Green Hills C++ Compiler
15817 # _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"
15822 case $cc_basename in
15824 lt_prog_compiler_pic_CXX='-KPIC'
15827 # Green Hills C++ Compiler
15828 lt_prog_compiler_pic_CXX='-pic'
15834 freebsd* | dragonfly*)
15835 # FreeBSD uses GNU C++
15837 hpux9* | hpux10* | hpux11*)
15838 case $cc_basename in
15840 lt_prog_compiler_wl_CXX='-Wl,'
15841 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15842 if test "$host_cpu" != ia64; then
15843 lt_prog_compiler_pic_CXX='+Z'
15847 lt_prog_compiler_wl_CXX='-Wl,'
15848 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15854 lt_prog_compiler_pic_CXX='+Z'
15863 # This is c89, which is MS Visual C++ (no shared libs)
15864 # Anyone wants to do a port?
15866 irix5* | irix6* | nonstopux*)
15867 case $cc_basename in
15869 lt_prog_compiler_wl_CXX='-Wl,'
15870 lt_prog_compiler_static_CXX='-non_shared'
15871 # CC pic flag -KPIC is the default.
15877 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15878 case $cc_basename in
15881 lt_prog_compiler_wl_CXX='--backend -Wl,'
15882 lt_prog_compiler_pic_CXX='-fPIC'
15885 # old Intel C++ for x86_64 which still supported -KPIC.
15886 lt_prog_compiler_wl_CXX='-Wl,'
15887 lt_prog_compiler_pic_CXX='-KPIC'
15888 lt_prog_compiler_static_CXX='-static'
15891 # Intel C++, used to be incompatible with GCC.
15892 # ICC 10 doesn't accept -KPIC any more.
15893 lt_prog_compiler_wl_CXX='-Wl,'
15894 lt_prog_compiler_pic_CXX='-fPIC'
15895 lt_prog_compiler_static_CXX='-static'
15898 # Portland Group C++ compiler
15899 lt_prog_compiler_wl_CXX='-Wl,'
15900 lt_prog_compiler_pic_CXX='-fpic'
15901 lt_prog_compiler_static_CXX='-Bstatic'
15905 # Make sure the PIC flag is empty. It appears that all Alpha
15906 # Linux and Compaq Tru64 Unix objects are PIC.
15907 lt_prog_compiler_pic_CXX=
15908 lt_prog_compiler_static_CXX='-non_shared'
15911 # IBM XL 8.0 on PPC
15912 lt_prog_compiler_wl_CXX='-Wl,'
15913 lt_prog_compiler_pic_CXX='-qpic'
15914 lt_prog_compiler_static_CXX='-qstaticlink'
15917 case `$CC -V 2>&1 | sed 5q` in
15920 lt_prog_compiler_pic_CXX='-KPIC'
15921 lt_prog_compiler_static_CXX='-Bstatic'
15922 lt_prog_compiler_wl_CXX='-Qoption ld '
15933 case $cc_basename in
15935 lt_prog_compiler_pic_CXX='-W c,exportall'
15941 netbsd* | netbsdelf*-gnu)
15944 # QNX uses GNU C++, but need to define -shared option too, otherwise
15945 # it will coredump.
15946 lt_prog_compiler_pic_CXX='-fPIC -shared'
15948 osf3* | osf4* | osf5*)
15949 case $cc_basename in
15951 lt_prog_compiler_wl_CXX='--backend -Wl,'
15954 # Rational C++ 2.4.1
15955 lt_prog_compiler_pic_CXX='-pic'
15958 # Digital/Compaq C++
15959 lt_prog_compiler_wl_CXX='-Wl,'
15960 # Make sure the PIC flag is empty. It appears that all Alpha
15961 # Linux and Compaq Tru64 Unix objects are PIC.
15962 lt_prog_compiler_pic_CXX=
15963 lt_prog_compiler_static_CXX='-non_shared'
15972 case $cc_basename in
15974 # Sun C++ 4.2, 5.x and Centerline C++
15975 lt_prog_compiler_pic_CXX='-KPIC'
15976 lt_prog_compiler_static_CXX='-Bstatic'
15977 lt_prog_compiler_wl_CXX='-Qoption ld '
15980 # Green Hills C++ Compiler
15981 lt_prog_compiler_pic_CXX='-PIC'
15988 case $cc_basename in
15991 lt_prog_compiler_pic_CXX='-pic'
15992 lt_prog_compiler_static_CXX='-Bstatic'
15996 lt_prog_compiler_pic_CXX='-pic'
16002 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16003 case $cc_basename in
16005 lt_prog_compiler_wl_CXX='-Wl,'
16006 lt_prog_compiler_pic_CXX='-KPIC'
16007 lt_prog_compiler_static_CXX='-Bstatic'
16012 case $cc_basename in
16014 # NonStop-UX NCC 3.20
16015 lt_prog_compiler_pic_CXX='-KPIC'
16024 lt_prog_compiler_can_build_shared_CXX=no
16030 # For platforms which do not support PIC, -DPIC is meaningless:
16032 lt_prog_compiler_pic_CXX=
16035 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16039 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16044 # Check to make sure the PIC flag actually works.
16046 if test -n "$lt_prog_compiler_pic_CXX"; then
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16048 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16049 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16050 $as_echo_n "(cached) " >&6
16052 lt_cv_prog_compiler_pic_works_CXX=no
16053 ac_outfile=conftest.$ac_objext
16054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16055 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16056 # Insert the option either (1) after the last *FLAGS variable, or
16057 # (2) before a word containing "conftest.", or (3) at the end.
16058 # Note that $ac_compile itself does not contain backslashes and begins
16059 # with a dollar sign (not a hyphen), so the echo should work correctly.
16060 # The option is referenced via a variable to avoid confusing sed.
16061 lt_compile=`echo "$ac_compile" | $SED \
16062 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16064 -e 's:$: $lt_compiler_flag:'`
16065 (eval echo "\"\$as_me:16065: $lt_compile\"" >&5)
16066 (eval "$lt_compile" 2>conftest.err)
16068 cat conftest.err >&5
16069 echo "$as_me:16069: \$? = $ac_status" >&5
16070 if (exit $ac_status) && test -s "$ac_outfile"; then
16071 # The compiler can only warn and ignore the option if not recognized
16072 # So say no if there are warnings other than the usual output.
16073 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16074 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16075 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16076 lt_cv_prog_compiler_pic_works_CXX=yes
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16083 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16085 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16086 case $lt_prog_compiler_pic_CXX in
16088 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16091 lt_prog_compiler_pic_CXX=
16092 lt_prog_compiler_can_build_shared_CXX=no
16100 # Check to make sure the static flag actually works.
16102 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16104 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16105 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16106 $as_echo_n "(cached) " >&6
16108 lt_cv_prog_compiler_static_works_CXX=no
16109 save_LDFLAGS="$LDFLAGS"
16110 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16111 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16112 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16113 # The linker can only warn and ignore the option if not recognized
16114 # So say no if there are warnings
16115 if test -s conftest.err; then
16116 # Append any errors to the config.log.
16117 cat conftest.err 1>&5
16118 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16119 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16120 if diff conftest.exp conftest.er2 >/dev/null; then
16121 lt_cv_prog_compiler_static_works_CXX=yes
16124 lt_cv_prog_compiler_static_works_CXX=yes
16128 LDFLAGS="$save_LDFLAGS"
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16132 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16134 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16137 lt_prog_compiler_static_CXX=
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16144 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16145 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16146 $as_echo_n "(cached) " >&6
16148 lt_cv_prog_compiler_c_o_CXX=no
16149 $RM -r conftest 2>/dev/null
16153 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16155 lt_compiler_flag="-o out/conftest2.$ac_objext"
16156 # Insert the option either (1) after the last *FLAGS variable, or
16157 # (2) before a word containing "conftest.", or (3) at the end.
16158 # Note that $ac_compile itself does not contain backslashes and begins
16159 # with a dollar sign (not a hyphen), so the echo should work correctly.
16160 lt_compile=`echo "$ac_compile" | $SED \
16161 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16163 -e 's:$: $lt_compiler_flag:'`
16164 (eval echo "\"\$as_me:16164: $lt_compile\"" >&5)
16165 (eval "$lt_compile" 2>out/conftest.err)
16167 cat out/conftest.err >&5
16168 echo "$as_me:16168: \$? = $ac_status" >&5
16169 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16171 # The compiler can only warn and ignore the option if not recognized
16172 # So say no if there are warnings
16173 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16174 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16175 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16176 lt_cv_prog_compiler_c_o_CXX=yes
16181 # SGI C++ compiler will create directory out/ii_files/ for
16182 # template instantiation
16183 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16184 $RM out/* && rmdir out
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16191 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16196 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16197 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16198 $as_echo_n "(cached) " >&6
16200 lt_cv_prog_compiler_c_o_CXX=no
16201 $RM -r conftest 2>/dev/null
16205 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16207 lt_compiler_flag="-o out/conftest2.$ac_objext"
16208 # Insert the option either (1) after the last *FLAGS variable, or
16209 # (2) before a word containing "conftest.", or (3) at the end.
16210 # Note that $ac_compile itself does not contain backslashes and begins
16211 # with a dollar sign (not a hyphen), so the echo should work correctly.
16212 lt_compile=`echo "$ac_compile" | $SED \
16213 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16215 -e 's:$: $lt_compiler_flag:'`
16216 (eval echo "\"\$as_me:16216: $lt_compile\"" >&5)
16217 (eval "$lt_compile" 2>out/conftest.err)
16219 cat out/conftest.err >&5
16220 echo "$as_me:16220: \$? = $ac_status" >&5
16221 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16223 # The compiler can only warn and ignore the option if not recognized
16224 # So say no if there are warnings
16225 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16226 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16227 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16228 lt_cv_prog_compiler_c_o_CXX=yes
16233 # SGI C++ compiler will create directory out/ii_files/ for
16234 # template instantiation
16235 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16236 $RM out/* && rmdir out
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16243 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16248 hard_links="nottested"
16249 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16250 # do not overwrite the value of need_locks provided by the user
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16252 $as_echo_n "checking if we can lock with hard links... " >&6; }
16255 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16257 ln conftest.a conftest.b 2>&5 || hard_links=no
16258 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16260 $as_echo "$hard_links" >&6; }
16261 if test "$hard_links" = no; then
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16263 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16275 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16278 # If we're using GNU nm, then we don't want the "-C" option.
16279 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16280 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16281 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'
16283 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'
16287 export_symbols_cmds_CXX="$ltdll_cmds"
16289 cygwin* | mingw* | cegcc*)
16290 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'
16292 linux* | k*bsd*-gnu)
16293 link_all_deplibs_CXX=no
16296 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16299 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16302 $as_echo "$ld_shlibs_CXX" >&6; }
16303 test "$ld_shlibs_CXX" = no && can_build_shared=no
16305 with_gnu_ld_CXX=$with_gnu_ld
16313 # Do we need to explicitly link libc?
16315 case "x$archive_cmds_need_lc_CXX" in
16317 # Assume -lc should be added
16318 archive_cmds_need_lc_CXX=yes
16320 if test "$enable_shared" = yes && test "$GCC" = yes; then
16321 case $archive_cmds_CXX in
16323 # FIXME: we may have to deal with multi-command sequences.
16326 # Test whether the compiler implicitly links with -lc since on some
16327 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16328 # to ld, don't add -lc before -lgcc.
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16330 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16332 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16335 (eval $ac_compile) 2>&5
16337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16338 test $ac_status = 0; } 2>conftest.err; then
16341 libobjs=conftest.$ac_objext
16343 wl=$lt_prog_compiler_wl_CXX
16344 pic_flag=$lt_prog_compiler_pic_CXX
16350 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16351 allow_undefined_flag_CXX=
16352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16353 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16356 test $ac_status = 0; }
16358 archive_cmds_need_lc_CXX=no
16360 archive_cmds_need_lc_CXX=yes
16362 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16364 cat conftest.err 1>&5
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16368 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16439 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16441 library_names_spec=
16442 libname_spec='lib$name'
16446 postuninstall_cmds=
16450 shlibpath_overrides_runpath=unknown
16452 dynamic_linker="$host_os ld.so"
16453 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16454 need_lib_prefix=unknown
16455 hardcode_into_libs=no
16457 # when you set need_version to no, make sure it does not cause -set_version
16458 # flags to be left without arguments
16459 need_version=unknown
16464 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16465 shlibpath_var=LIBPATH
16467 # AIX 3 has no versioning support, so we append a major version to the name.
16468 soname_spec='${libname}${release}${shared_ext}$major'
16475 hardcode_into_libs=yes
16476 if test "$host_cpu" = ia64; then
16477 # AIX 5 supports IA64
16478 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16479 shlibpath_var=LD_LIBRARY_PATH
16481 # With GCC up to 2.95.x, collect2 would create an import file
16482 # for dependence libraries. The import file would start with
16483 # the line `#! .'. This would cause the generated library to
16484 # depend on `.', always an invalid library. This was fixed in
16485 # development snapshots of GCC prior to 3.0.
16487 aix4 | aix4.[01] | aix4.[01].*)
16488 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16490 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16493 can_build_shared=no
16497 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16498 # soname into executable. Probably we can add versioning support to
16499 # collect2, so additional links can be useful in future.
16500 if test "$aix_use_runtimelinking" = yes; then
16501 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16502 # instead of lib<name>.a to let people know that these are not
16503 # typical AIX shared libraries.
16504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16506 # We preserve .a as extension for shared libraries through AIX4.2
16507 # and later when we are not doing run time linking.
16508 library_names_spec='${libname}${release}.a $libname.a'
16509 soname_spec='${libname}${release}${shared_ext}$major'
16511 shlibpath_var=LIBPATH
16518 # Since July 2007 AmigaOS4 officially supports .so libraries.
16519 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16523 library_names_spec='$libname.ixlibrary $libname.a'
16524 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16525 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'
16531 library_names_spec='${libname}${shared_ext}'
16532 dynamic_linker="$host_os ld.so"
16533 shlibpath_var=LIBRARY_PATH
16539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16540 soname_spec='${libname}${release}${shared_ext}$major'
16541 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16542 shlibpath_var=LD_LIBRARY_PATH
16543 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16544 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16545 # the default ld.so.conf also contains /usr/contrib/lib and
16546 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16547 # libtool to hard-code these into programs
16550 cygwin* | mingw* | pw32* | cegcc*)
16551 version_type=windows
16556 case $GCC,$host_os in
16557 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16558 library_names_spec='$libname.dll.a'
16559 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16560 postinstall_cmds='base_file=`basename \${file}`~
16561 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16562 dldir=$destdir/`dirname \$dlpath`~
16563 test -d \$dldir || mkdir -p \$dldir~
16564 $install_prog $dir/$dlname \$dldir/$dlname~
16565 chmod a+x \$dldir/$dlname~
16566 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16567 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16569 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16570 dlpath=$dir/\$dldll~
16572 shlibpath_overrides_runpath=yes
16576 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16577 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16578 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16581 # MinGW DLLs use traditional 'lib' prefix
16582 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16583 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16584 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16585 # It is most probably a Windows format PATH printed by
16586 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16587 # path with ; separators, and with drive letters. We can handle the
16588 # drive letters (cygwin fileutils understands them), so leave them,
16589 # especially as we might pass files found there to a mingw objdump,
16590 # which wouldn't understand a cygwinified path. Ahh.
16591 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16597 # pw32 DLLs use 'pw' prefix rather than 'lib'
16598 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16604 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16607 dynamic_linker='Win32 ld.exe'
16608 # FIXME: first we should search . and the directory the executable is in
16612 darwin* | rhapsody*)
16613 dynamic_linker="$host_os dyld"
16614 version_type=darwin
16617 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16618 soname_spec='${libname}${release}${major}$shared_ext'
16619 shlibpath_overrides_runpath=yes
16620 shlibpath_var=DYLD_LIBRARY_PATH
16621 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16623 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16631 soname_spec='${libname}${release}${shared_ext}$major'
16632 shlibpath_var=LD_LIBRARY_PATH
16639 freebsd* | dragonfly*)
16640 # DragonFly does not have aout. When/if they implement a new
16641 # versioning mechanism, adjust this.
16642 if test -x /usr/bin/objformat; then
16643 objformat=`/usr/bin/objformat`
16646 freebsd[123]*) objformat=aout ;;
16647 *) objformat=elf ;;
16650 version_type=freebsd-$objformat
16651 case $version_type in
16653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16662 shlibpath_var=LD_LIBRARY_PATH
16665 shlibpath_overrides_runpath=yes
16667 freebsd3.[01]* | freebsdelf3.[01]*)
16668 shlibpath_overrides_runpath=yes
16669 hardcode_into_libs=yes
16671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16673 shlibpath_overrides_runpath=no
16674 hardcode_into_libs=yes
16676 *) # from 4.6 on, and DragonFly
16677 shlibpath_overrides_runpath=yes
16678 hardcode_into_libs=yes
16687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16688 soname_spec='${libname}${release}${shared_ext}$major'
16689 shlibpath_var=LD_LIBRARY_PATH
16690 hardcode_into_libs=yes
16693 hpux9* | hpux10* | hpux11*)
16694 # Give a soname corresponding to the major version so that dld.sl refuses to
16695 # link against other versions.
16702 hardcode_into_libs=yes
16703 dynamic_linker="$host_os dld.so"
16704 shlibpath_var=LD_LIBRARY_PATH
16705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16707 soname_spec='${libname}${release}${shared_ext}$major'
16708 if test "X$HPUX_IA64_MODE" = X32; then
16709 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16711 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16713 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16717 hardcode_into_libs=yes
16718 dynamic_linker="$host_os dld.sl"
16719 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16720 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16722 soname_spec='${libname}${release}${shared_ext}$major'
16723 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16724 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16728 dynamic_linker="$host_os dld.sl"
16729 shlibpath_var=SHLIB_PATH
16730 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16732 soname_spec='${libname}${release}${shared_ext}$major'
16735 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16736 postinstall_cmds='chmod 555 $lib'
16743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16744 soname_spec='${libname}${release}${shared_ext}$major'
16745 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16746 shlibpath_var=LD_LIBRARY_PATH
16747 shlibpath_overrides_runpath=no
16748 hardcode_into_libs=yes
16751 irix5* | irix6* | nonstopux*)
16753 nonstopux*) version_type=nonstopux ;;
16755 if test "$lt_cv_prog_gnu_ld" = yes; then
16763 soname_spec='${libname}${release}${shared_ext}$major'
16764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16766 irix5* | nonstopux*)
16767 libsuff= shlibsuff=
16770 case $LD in # libtool.m4 will add one of these switches to LD
16771 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16772 libsuff= shlibsuff= libmagic=32-bit;;
16773 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16774 libsuff=32 shlibsuff=N32 libmagic=N32;;
16775 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16776 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16777 *) libsuff= shlibsuff= libmagic=never-match;;
16781 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16782 shlibpath_overrides_runpath=no
16783 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16784 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16785 hardcode_into_libs=yes
16788 # No shared lib support for Linux oldld, aout, or coff.
16789 linux*oldld* | linux*aout* | linux*coff*)
16793 # This must be Linux ELF.
16794 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16799 soname_spec='${libname}${release}${shared_ext}$major'
16800 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16801 shlibpath_var=LD_LIBRARY_PATH
16802 shlibpath_overrides_runpath=no
16803 # Some binutils ld are patched to set DT_RUNPATH
16804 save_LDFLAGS=$LDFLAGS
16805 save_libdir=$libdir
16806 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16807 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16819 if ac_fn_cxx_try_link "$LINENO"; then :
16820 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16821 shlibpath_overrides_runpath=yes
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16826 LDFLAGS=$save_LDFLAGS
16827 libdir=$save_libdir
16829 # This implies no fast_install, which is unacceptable.
16830 # Some rework will be needed to allow for fast_install
16831 # before this can be enabled.
16832 hardcode_into_libs=yes
16834 # Append ld.so.conf contents to the search path
16835 if test -f /etc/ld.so.conf; then
16836 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' ' '`
16837 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16840 # We used to test for /lib/ld.so.1 and disable shared libraries on
16841 # powerpc, because MkLinux only supported shared libraries with the
16842 # GNU dynamic linker. Since this was broken with cross compilers,
16843 # most powerpc-linux boxes support dynamic linking these days and
16844 # people can always --disable-shared, the test was removed, and we
16845 # assume the GNU/Linux dynamic linker is in use.
16846 dynamic_linker='GNU/Linux ld.so'
16853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16854 soname_spec='${libname}${release}${shared_ext}$major'
16855 shlibpath_var=LD_LIBRARY_PATH
16856 shlibpath_overrides_runpath=no
16857 hardcode_into_libs=yes
16858 dynamic_linker='NetBSD ld.elf_so'
16865 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16867 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16868 dynamic_linker='NetBSD (a.out) ld.so'
16870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16871 soname_spec='${libname}${release}${shared_ext}$major'
16872 dynamic_linker='NetBSD ld.elf_so'
16874 shlibpath_var=LD_LIBRARY_PATH
16875 shlibpath_overrides_runpath=yes
16876 hardcode_into_libs=yes
16881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16882 shlibpath_var=LD_LIBRARY_PATH
16883 shlibpath_overrides_runpath=yes
16890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16891 soname_spec='${libname}${release}${shared_ext}$major'
16892 shlibpath_var=LD_LIBRARY_PATH
16893 shlibpath_overrides_runpath=no
16894 hardcode_into_libs=yes
16895 dynamic_linker='ldqnx.so'
16900 sys_lib_dlsearch_path_spec="/usr/lib"
16902 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16904 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16905 *) need_version=no ;;
16907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16909 shlibpath_var=LD_LIBRARY_PATH
16910 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16912 openbsd2.[89] | openbsd2.[89].*)
16913 shlibpath_overrides_runpath=no
16916 shlibpath_overrides_runpath=yes
16920 shlibpath_overrides_runpath=yes
16925 libname_spec='$name'
16928 library_names_spec='$libname${shared_ext} $libname.a'
16929 dynamic_linker='OS/2 ld.exe'
16930 shlibpath_var=LIBPATH
16933 osf3* | osf4* | osf5*)
16937 soname_spec='${libname}${release}${shared_ext}$major'
16938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16939 shlibpath_var=LD_LIBRARY_PATH
16940 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16941 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16953 soname_spec='${libname}${release}${shared_ext}$major'
16954 shlibpath_var=LD_LIBRARY_PATH
16955 shlibpath_overrides_runpath=yes
16956 hardcode_into_libs=yes
16957 # ldd complains unless libraries are executable
16958 postinstall_cmds='chmod +x $lib'
16963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16964 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16965 shlibpath_var=LD_LIBRARY_PATH
16966 shlibpath_overrides_runpath=yes
16967 if test "$with_gnu_ld" = yes; then
16975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16976 soname_spec='${libname}${release}${shared_ext}$major'
16977 shlibpath_var=LD_LIBRARY_PATH
16978 case $host_vendor in
16980 shlibpath_overrides_runpath=no
16982 runpath_var=LD_RUN_PATH
16990 shlibpath_overrides_runpath=no
16991 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16997 if test -d /usr/nec ;then
16999 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17000 soname_spec='$libname${shared_ext}.$major'
17001 shlibpath_var=LD_LIBRARY_PATH
17005 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17006 version_type=freebsd-elf
17009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17010 soname_spec='${libname}${release}${shared_ext}$major'
17011 shlibpath_var=LD_LIBRARY_PATH
17012 shlibpath_overrides_runpath=yes
17013 hardcode_into_libs=yes
17014 if test "$with_gnu_ld" = yes; then
17015 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17017 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17020 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17024 sys_lib_dlsearch_path_spec='/usr/lib'
17028 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17033 shlibpath_var=LD_LIBRARY_PATH
17034 shlibpath_overrides_runpath=no
17035 hardcode_into_libs=yes
17040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17041 soname_spec='${libname}${release}${shared_ext}$major'
17042 shlibpath_var=LD_LIBRARY_PATH
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17050 $as_echo "$dynamic_linker" >&6; }
17051 test "$dynamic_linker" = no && can_build_shared=no
17053 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17054 if test "$GCC" = yes; then
17055 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17058 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17059 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17061 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17062 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17101 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17102 hardcode_action_CXX=
17103 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17104 test -n "$runpath_var_CXX" ||
17105 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17107 # We can hardcode non-existent directories.
17108 if test "$hardcode_direct_CXX" != no &&
17109 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17110 # have to relink, otherwise we might link with an installed library
17111 # when we should be linking with a yet-to-be-installed one
17112 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17113 test "$hardcode_minus_L_CXX" != no; then
17114 # Linking always hardcodes the temporary library directory.
17115 hardcode_action_CXX=relink
17117 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17118 hardcode_action_CXX=immediate
17121 # We cannot hardcode anything, or else we can only hardcode existing
17123 hardcode_action_CXX=unsupported
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17126 $as_echo "$hardcode_action_CXX" >&6; }
17128 if test "$hardcode_action_CXX" = relink ||
17129 test "$inherit_rpath_CXX" = yes; then
17130 # Fast installation is not supported
17131 enable_fast_install=no
17132 elif test "$shlibpath_overrides_runpath" = yes ||
17133 test "$enable_shared" = no; then
17134 # Fast installation is not necessary
17135 enable_fast_install=needless
17144 fi # test -n "$compiler"
17150 with_gnu_ld=$lt_save_with_gnu_ld
17151 lt_cv_path_LDCXX=$lt_cv_path_LD
17152 lt_cv_path_LD=$lt_save_path_LD
17153 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17154 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17155 fi # test "$_lt_caught_CXX_error" != yes
17158 ac_cpp='$CPP $CPPFLAGS'
17159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17166 if test "$GCC" = "yes" ; then
17167 # AC_HAVE_GCC_VERSION(4,0,0,0,
17169 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17170 # [Define to enable class visibility control in gcc.])
17171 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17172 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17174 CFLAGS="$GCC_CFLAGS"
17175 CXXFLAGS="$GCC_CXXFLAGS"
17177 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17178 case "${host_cpu}-${host_os}" in
17180 if test "$CXX" = "CC" ; then
17181 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17187 # Checks for typedefs, structures, and compiler characteristics.
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17189 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17190 if test "${ac_cv_c_const+set}" = set; then :
17191 $as_echo_n "(cached) " >&6
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17199 /* FIXME: Include the comments suggested by Paul. */
17200 #ifndef __cplusplus
17201 /* Ultrix mips cc rejects this. */
17202 typedef int charset[2];
17204 /* SunOS 4.1.1 cc rejects this. */
17205 char const *const *pcpcc;
17207 /* NEC SVR4.0.2 mips cc rejects this. */
17208 struct point {int x, y;};
17209 static struct point const zero = {0,0};
17210 /* AIX XL C 1.02.0.0 rejects this.
17211 It does not let you subtract one const X* pointer from another in
17212 an arm of an if-expression whose if-part is not a constant
17214 const char *g = "string";
17215 pcpcc = &g + (g ? g-g : 0);
17216 /* HPUX 7.0 cc rejects these. */
17218 ppc = (char**) pcpcc;
17219 pcpcc = (char const *const *) ppc;
17220 { /* SCO 3.2v4 cc rejects this. */
17222 char const *s = 0 ? (char *) 0 : (char const *) 0;
17227 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17228 int x[] = {25, 17};
17229 const int *foo = &x[0];
17232 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17233 typedef const int *iptr;
17237 { /* AIX XL C 1.02.0.0 rejects this saying
17238 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17239 struct s { int j; const int *ap[3]; };
17240 struct s *b; b->j = 5;
17242 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17243 const int foo = 10;
17244 if (!foo) return 0;
17246 return !cs[0] && !zero.x;
17253 if ac_fn_c_try_compile "$LINENO"; then :
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17261 $as_echo "$ac_cv_c_const" >&6; }
17262 if test $ac_cv_c_const = no; then
17264 $as_echo "#define const /**/" >>confdefs.h
17268 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17269 if test "x$ac_cv_type_size_t" = x""yes; then :
17273 cat >>confdefs.h <<_ACEOF
17274 #define size_t unsigned int
17280 # Checks for library functions.
17281 for ac_func in strchr strdup strstr
17283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17285 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17286 cat >>confdefs.h <<_ACEOF
17287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17293 # The cast to long int works around a bug in the HP C Compiler
17294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17296 # This bug is HP SR number 8606223364.
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
17298 $as_echo_n "checking size of time_t... " >&6; }
17299 if test "${ac_cv_sizeof_time_t+set}" = set; then :
17300 $as_echo_n "(cached) " >&6
17302 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
17305 if test "$ac_cv_type_time_t" = yes; then
17306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17308 as_fn_error 77 "cannot compute sizeof (time_t)
17309 See \`config.log' for more details" "$LINENO" 5 ; }
17311 ac_cv_sizeof_time_t=0
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
17317 $as_echo "$ac_cv_sizeof_time_t" >&6; }
17321 cat >>confdefs.h <<_ACEOF
17322 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
17327 # checks for pthreads
17331 ac_cpp='$CPP $CPPFLAGS'
17332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17338 # We used to check for pthread.h first, but this fails if pthread.h
17339 # requires special compiler flags (e.g. on True64 or Sequent).
17340 # It gets checked for in the link test anyway.
17342 # First of all, check if the user has set any of the PTHREAD_LIBS,
17343 # etcetera environment variables, and if threads linking works using
17345 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17346 save_CFLAGS="$CFLAGS"
17347 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17349 LIBS="$PTHREAD_LIBS $LIBS"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17351 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17355 /* Override any GCC internal prototype to avoid an error.
17356 Use char because int might match the return type of a GCC
17357 builtin and then its argument prototype would still apply. */
17361 char pthread_join ();
17365 return pthread_join ();
17370 if ac_fn_c_try_link "$LINENO"; then :
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17376 $as_echo "$acx_pthread_ok" >&6; }
17377 if test x"$acx_pthread_ok" = xno; then
17382 CFLAGS="$save_CFLAGS"
17385 # We must check for the threads library under a number of different
17386 # names; the ordering is very important because some systems
17387 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17388 # libraries is broken (non-POSIX).
17390 # Create a list of thread flags to try. Items starting with a "-" are
17391 # C compiler flags, and other items are library names, except for "none"
17392 # which indicates that we try without any flags at all, and "pthread-config"
17393 # which is a program returning the flags for the Pth emulation library.
17395 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17397 # The ordering *is* (sometimes) important. Some notes on the
17398 # individual items follow:
17400 # pthreads: AIX (must check this before -lpthread)
17401 # none: in case threads are in libc; should be tried before -Kthread and
17402 # other compiler flags to prevent continual compiler warnings
17403 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17404 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17405 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17406 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17407 # -pthreads: Solaris/gcc
17408 # -mthreads: Mingw32/gcc, Lynx/gcc
17409 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17410 # doesn't hurt to check since this sometimes defines pthreads too;
17411 # also defines -D_REENTRANT)
17412 # ... -mt is also the pthreads flag for HP/aCC
17413 # pthread: Linux, etcetera
17414 # --thread-safe: KAI C++
17415 # pthread-config: use pthread-config program (for GNU Pth library)
17417 case "${host_cpu}-${host_os}" in
17420 # On Solaris (at least, for some versions), libc contains stubbed
17421 # (non-functional) versions of the pthreads routines, so link-based
17422 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17423 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17424 # a function called by this macro, so we could check for that, but
17425 # who knows whether they'll stub that too in a future libc.) So,
17426 # we'll just look for -pthreads and -lpthread first:
17428 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17432 if test x"$acx_pthread_ok" = xno; then
17433 for flag in $acx_pthread_flags; do
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17438 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17443 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17444 PTHREAD_CFLAGS="$flag"
17448 # Extract the first word of "pthread-config", so it can be a program name with args.
17449 set dummy pthread-config; ac_word=$2
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17451 $as_echo_n "checking for $ac_word... " >&6; }
17452 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17455 if test -n "$acx_pthread_config"; then
17456 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17459 for as_dir in $PATH
17462 test -z "$as_dir" && as_dir=.
17463 for ac_exec_ext in '' $ac_executable_extensions; do
17464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17465 ac_cv_prog_acx_pthread_config="yes"
17466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17473 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17476 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17477 if test -n "$acx_pthread_config"; then
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17479 $as_echo "$acx_pthread_config" >&6; }
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17482 $as_echo "no" >&6; }
17486 if test x"$acx_pthread_config" = xno; then continue; fi
17487 PTHREAD_CFLAGS="`pthread-config --cflags`"
17488 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17493 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17494 PTHREAD_LIBS="-l$flag"
17499 save_CFLAGS="$CFLAGS"
17500 LIBS="$PTHREAD_LIBS $LIBS"
17501 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17503 # Check for various functions. We must include pthread.h,
17504 # since some functions may be macros. (On the Sequent, we
17505 # need a special flag -Kthread to make this header compile.)
17506 # We check for pthread_join because it is in -lpthread on IRIX
17507 # while pthread_create is in libc. We check for pthread_attr_init
17508 # due to DEC craziness with -lpthreads. We check for
17509 # pthread_cleanup_push because it is one of the few pthread
17510 # functions on Solaris that doesn't have a non-functional libc stub.
17511 # We try pthread_create on general principles.
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 #include <pthread.h>
17518 pthread_t th; pthread_join(th, 0);
17519 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17520 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17525 if ac_fn_c_try_link "$LINENO"; then :
17528 rm -f core conftest.err conftest.$ac_objext \
17529 conftest$ac_exeext conftest.$ac_ext
17532 CFLAGS="$save_CFLAGS"
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17535 $as_echo "$acx_pthread_ok" >&6; }
17536 if test "x$acx_pthread_ok" = xyes; then
17545 # Various other checks:
17546 if test "x$acx_pthread_ok" = xyes; then
17548 LIBS="$PTHREAD_LIBS $LIBS"
17549 save_CFLAGS="$CFLAGS"
17550 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17552 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17554 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17556 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559 #include <pthread.h>
17563 int attr=$attr; return attr;
17568 if ac_fn_c_try_link "$LINENO"; then :
17569 attr_name=$attr; break
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17575 $as_echo "$attr_name" >&6; }
17576 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17578 cat >>confdefs.h <<_ACEOF
17579 #define PTHREAD_CREATE_JOINABLE $attr_name
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17585 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17587 case "${host_cpu}-${host_os}" in
17588 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
17589 *-osf* | *-hpux*) flag="-D_REENTRANT";;
17591 if test "$GCC" = "yes"; then
17592 flag="-D_REENTRANT"
17594 flag="-mt -D_REENTRANT"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17599 $as_echo "${flag}" >&6; }
17600 if test "x$flag" != xno; then
17601 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17605 CFLAGS="$save_CFLAGS"
17607 # More AIX lossage: must compile with xlc_r or cc_r
17608 if test x"$GCC" != xyes; then
17609 for ac_prog in xlc_r cc_r
17611 # Extract the first word of "$ac_prog", so it can be a program name with args.
17612 set dummy $ac_prog; ac_word=$2
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17614 $as_echo_n "checking for $ac_word... " >&6; }
17615 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
17616 $as_echo_n "(cached) " >&6
17618 if test -n "$PTHREAD_CC"; then
17619 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17622 for as_dir in $PATH
17625 test -z "$as_dir" && as_dir=.
17626 for ac_exec_ext in '' $ac_executable_extensions; do
17627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17628 ac_cv_prog_PTHREAD_CC="$ac_prog"
17629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17638 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17639 if test -n "$PTHREAD_CC"; then
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17641 $as_echo "$PTHREAD_CC" >&6; }
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17644 $as_echo "no" >&6; }
17648 test -n "$PTHREAD_CC" && break
17650 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17663 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17664 if test x"$acx_pthread_ok" = xyes; then
17665 enable_threads="pthread"
17669 enable_threads="no"
17672 ac_cpp='$CPP $CPPFLAGS'
17673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17678 if test $enable_threads != "pthread"; then
17679 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
17682 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17684 LIBS="$PTHREAD_LIBS $LIBS"
17685 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
17686 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
17691 # Check whether --with-zlib was given.
17692 if test "${with_zlib+set}" = set; then :
17693 withval=$with_zlib;
17694 if test -d "$withval" ; then
17695 CPPFLAGS="${CPPFLAGS} -I$withval/include"
17696 LDFLAGS="${LDFLAGS} -L$withval/lib"
17702 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
17703 if test "x$ac_cv_header_zlib_h" = x""yes; then :
17706 as_fn_error $? "unable to find zlib header files" "$LINENO" 5
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateInit2_ in -lz" >&5
17711 $as_echo_n "checking for deflateInit2_ in -lz... " >&6; }
17712 if test "${ac_cv_lib_z_deflateInit2_+set}" = set; then :
17713 $as_echo_n "(cached) " >&6
17715 ac_check_lib_save_LIBS=$LIBS
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17720 /* Override any GCC internal prototype to avoid an error.
17721 Use char because int might match the return type of a GCC
17722 builtin and then its argument prototype would still apply. */
17726 char deflateInit2_ ();
17730 return deflateInit2_ ();
17735 if ac_fn_c_try_link "$LINENO"; then :
17736 ac_cv_lib_z_deflateInit2_=yes
17738 ac_cv_lib_z_deflateInit2_=no
17740 rm -f core conftest.err conftest.$ac_objext \
17741 conftest$ac_exeext conftest.$ac_ext
17742 LIBS=$ac_check_lib_save_LIBS
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateInit2_" >&5
17745 $as_echo "$ac_cv_lib_z_deflateInit2_" >&6; }
17746 if test "x$ac_cv_lib_z_deflateInit2_" = x""yes; then :
17747 cat >>confdefs.h <<_ACEOF
17748 #define HAVE_LIBZ 1
17754 as_fn_error $? "unable to link with zlib library" "$LINENO" 5
17760 # Check whether --with-openssl was given.
17761 if test "${with_openssl+set}" = set; then :
17762 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
17763 SSLFLAGS="-I${with_openssl}/include"
17768 if test "x$with_openssl" = "x" ; then
17769 # Extract the first word of "pkg-config", so it can be a program name with args.
17770 set dummy pkg-config; ac_word=$2
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17772 $as_echo_n "checking for $ac_word... " >&6; }
17773 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17774 $as_echo_n "(cached) " >&6
17776 case $PKG_CONFIG in
17778 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17782 for as_dir in $PATH
17785 test -z "$as_dir" && as_dir=.
17786 for ac_exec_ext in '' $ac_executable_extensions; do
17787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17788 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17799 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17800 if test -n "$PKG_CONFIG"; then
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17802 $as_echo "$PKG_CONFIG" >&6; }
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17805 $as_echo "no" >&6; }
17809 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
17810 if pkg-config openssl ; then
17811 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
17814 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
17820 $as_echo_n "checking for OpenSSL cflags... " >&6; }
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
17822 $as_echo "$SSLFLAGS" >&6; }
17823 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
17825 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
17826 if test "x$ac_cv_header_openssl_x509_h" = x""yes; then :
17829 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17843 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
17844 if test "${ac_cv_cxx_namespaces+set}" = set; then :
17845 $as_echo_n "(cached) " >&6
17849 ac_cpp='$CXXCPP $CPPFLAGS'
17850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 namespace Outer { namespace Inner { int i = 0; }}
17860 using namespace Outer::Inner; return i;
17865 if ac_fn_cxx_try_compile "$LINENO"; then :
17866 ac_cv_cxx_namespaces=yes
17868 ac_cv_cxx_namespaces=no
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 ac_cpp='$CXXCPP $CPPFLAGS'
17873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
17880 $as_echo "$ac_cv_cxx_namespaces" >&6; }
17881 if test "$ac_cv_cxx_namespaces" = yes; then
17883 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
17888 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
17889 if test "${ac_cv_cxx_have_stl+set}" = set; then :
17890 $as_echo_n "(cached) " >&6
17894 ac_cpp='$CXXCPP $CPPFLAGS'
17895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17903 #ifdef HAVE_NAMESPACES
17904 using namespace std;
17909 list<int> x; x.push_back(5);
17910 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
17915 if ac_fn_cxx_try_compile "$LINENO"; then :
17916 ac_cv_cxx_have_stl=yes
17918 ac_cv_cxx_have_stl=no
17920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17922 ac_cpp='$CXXCPP $CPPFLAGS'
17923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
17930 $as_echo "$ac_cv_cxx_have_stl" >&6; }
17931 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
17932 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
17936 # log4shib settings (favor this version over the log4cpp code)
17937 # Extract the first word of "log4shib-config", so it can be a program name with args.
17938 set dummy log4shib-config; ac_word=$2
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17940 $as_echo_n "checking for $ac_word... " >&6; }
17941 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
17942 $as_echo_n "(cached) " >&6
17944 case $LOG4SHIB_CONFIG in
17946 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
17949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17950 for as_dir in $PATH
17953 test -z "$as_dir" && as_dir=.
17954 for ac_exec_ext in '' $ac_executable_extensions; do
17955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17956 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17967 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
17968 if test -n "$LOG4SHIB_CONFIG"; then
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
17970 $as_echo "$LOG4SHIB_CONFIG" >&6; }
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17973 $as_echo "no" >&6; }
17978 # Check whether --with-log4shib was given.
17979 if test "${with_log4shib+set}" = set; then :
17980 withval=$with_log4shib;
17981 LOG4SHIB_CONFIG="${with_log4shib}"
17982 if ! test -f "${LOG4SHIB_CONFIG}"; then
17983 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
17988 if test -f "${LOG4SHIB_CONFIG}" ; then
17989 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
17990 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
17992 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
17993 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
17996 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18002 #include <log4shib/Category.hh>
18003 #include <log4shib/CategoryStream.hh>
18007 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18012 if ac_fn_cxx_try_link "$LINENO"; then :
18014 $as_echo "#define OPENSAML_LOG4SHIB 1" >>confdefs.h
18017 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18019 rm -f core conftest.err conftest.$ac_objext \
18020 conftest$ac_exeext conftest.$ac_ext
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18023 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18025 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18028 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18029 set dummy log4cpp-config; ac_word=$2
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18031 $as_echo_n "checking for $ac_word... " >&6; }
18032 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18033 $as_echo_n "(cached) " >&6
18035 case $LOG4CPP_CONFIG in
18037 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18041 for as_dir in $PATH
18044 test -z "$as_dir" && as_dir=.
18045 for ac_exec_ext in '' $ac_executable_extensions; do
18046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18047 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18058 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18059 if test -n "$LOG4CPP_CONFIG"; then
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18061 $as_echo "$LOG4CPP_CONFIG" >&6; }
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18064 $as_echo "no" >&6; }
18069 # Check whether --with-log4cpp was given.
18070 if test "${with_log4cpp+set}" = set; then :
18071 withval=$with_log4cpp;
18072 LOG4CPP_CONFIG="${with_log4cpp}"
18073 if ! test -f "${LOG4CPP_CONFIG}"; then
18074 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18079 if test -f "${LOG4CPP_CONFIG}"; then
18080 { $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
18081 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18082 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18083 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18084 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18085 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18088 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18094 #include <log4cpp/Category.hh>
18095 #include <log4cpp/CategoryStream.hh>
18099 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18104 if ac_fn_cxx_try_link "$LINENO"; then :
18106 $as_echo "#define OPENSAML_LOG4CPP 1" >>confdefs.h
18109 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18111 rm -f core conftest.err conftest.$ac_objext \
18112 conftest$ac_exeext conftest.$ac_ext
18114 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18120 # Check whether --with-xerces was given.
18121 if test "${with_xerces+set}" = set; then :
18122 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18123 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18124 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18128 LIBS="-lxerces-c $LIBS"
18129 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18130 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18133 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18138 $as_echo_n "checking Xerces version... " >&6; }
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18141 #include <xercesc/util/XercesVersion.hpp>
18145 #if _XERCES_VERSION != 20600
18148 #error cannot use version 2.6.0
18154 if ac_fn_cxx_try_cpp "$LINENO"; then :
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18156 $as_echo "OK" >&6; }
18158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18160 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18161 See \`config.log' for more details" "$LINENO" 5 ; }
18163 rm -f conftest.err conftest.i conftest.$ac_ext
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <xercesc/util/PlatformUtils.hpp>
18170 xercesc::XMLPlatformUtils::Initialize()
18175 if ac_fn_cxx_try_link "$LINENO"; then :
18178 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18180 rm -f core conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18184 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h. */
18187 #include <xercesc/util/XMLString.hpp>
18191 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18196 if ac_fn_cxx_try_compile "$LINENO"; then :
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18198 $as_echo "yes" >&6; }
18199 $as_echo "#define OPENSAML_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18203 $as_echo "no" >&6; }
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207 # XML-Security settings
18209 # Check whether --with-xmlsec was given.
18210 if test "${with_xmlsec+set}" = set; then :
18211 withval=$with_xmlsec; if test x_$with_xmlsec != x_/usr; then
18212 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18213 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18217 LIBS="-lxml-security-c $LIBS"
18218 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18219 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18222 as_fn_error $? "unable to find xmlsec header files" "$LINENO" 5
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18227 $as_echo_n "checking XML-Security version... " >&6; }
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <xsec/utils/XSECPlatformUtils.hpp>
18234 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18237 #error need version 1.4.0 or later
18243 if ac_fn_cxx_try_cpp "$LINENO"; then :
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18245 $as_echo "OK" >&6; }
18247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18249 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18250 See \`config.log' for more details" "$LINENO" 5 ; }
18252 rm -f conftest.err conftest.i conftest.$ac_ext
18253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18254 /* end confdefs.h. */
18255 #include <xsec/utils/XSECPlatformUtils.hpp>
18259 XSECPlatformUtils::Initialise()
18264 if ac_fn_cxx_try_link "$LINENO"; then :
18267 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18269 rm -f core conftest.err conftest.$ac_objext \
18270 conftest$ac_exeext conftest.$ac_ext
18272 # XML-Tooling settings
18274 # Check whether --with-xmltooling was given.
18275 if test "${with_xmltooling+set}" = set; then :
18276 withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
18277 LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
18278 CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18279 DX_INCLUDE="${with_xmltooling}/include"
18283 LIBS="-lxmltooling $LIBS"
18284 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/XMLToolingConfig.h" "ac_cv_header_xmltooling_XMLToolingConfig_h" "$ac_includes_default"
18285 if test "x$ac_cv_header_xmltooling_XMLToolingConfig_h" = x""yes; then :
18288 as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18295 #include <xmltooling/XMLToolingConfig.h>
18296 #include <xmltooling/version.h>
18300 #if _XMLTOOLING_VERSION >= 10400
18301 xmltooling::XMLToolingConfig::getConfig();
18303 #error Need XMLTooling version 1.4 or higher
18309 if ac_fn_cxx_try_link "$LINENO"; then :
18312 as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
18314 rm -f core conftest.err conftest.$ac_objext \
18315 conftest$ac_exeext conftest.$ac_ext
18317 # Check for unit test support
18318 CXXTEST="/usr/bin/cxxtestgen.pl"
18321 # Check whether --with-cxxtest was given.
18322 if test "${with_cxxtest+set}" = set; then :
18323 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18324 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18325 CXXTESTFLAGS="-I${with_cxxtest}"
18329 if ! test -f "${CXXTEST}"; then
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18331 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18336 if test -f ${CXXTEST}; then
18337 BUILD_UNITTEST_TRUE=
18338 BUILD_UNITTEST_FALSE='#'
18340 BUILD_UNITTEST_TRUE='#'
18341 BUILD_UNITTEST_FALSE=
18346 # we need the expanded forms...
18347 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18348 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18351 $as_echo_n "checking our pkgconfig libname... " >&6; }
18352 test ".$ax_create_pkgconfig_libname" != "." || \
18353 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18354 test ".$ax_create_pkgconfig_libname" != "." || \
18355 ax_create_pkgconfig_libname="$PACKAGE"
18356 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18357 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18359 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18362 $as_echo_n "checking our pkgconfig version... " >&6; }
18363 test ".$ax_create_pkgconfig_version" != "." || \
18364 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18365 test ".$ax_create_pkgconfig_version" != "." || \
18366 ax_create_pkgconfig_version="$VERSION"
18367 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18368 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18370 $as_echo "$ax_create_pkgconfig_version" >&6; }
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18373 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18374 test ".$pkgconfig_libdir" = "." && \
18375 pkgconfig_libdir='${libdir}/pkgconfig'
18376 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18377 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18378 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18380 $as_echo "$pkgconfig_libdir" >&6; }
18381 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18383 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
18387 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
18388 test ".$pkgconfig_libfile" != "." || \
18389 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
18390 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
18391 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
18393 $as_echo "$pkgconfig_libfile" >&6; }
18394 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
18396 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
18400 $as_echo_n "checking our package / suffix... " >&6; }
18401 ax_create_pkgconfig_suffix="$program_suffix"
18402 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
18404 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
18407 $as_echo_n "checking our pkgconfig description... " >&6; }
18408 ax_create_pkgconfig_description="OpenSAML library"
18409 test ".$ax_create_pkgconfig_description" != "." || \
18410 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
18411 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
18412 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
18414 $as_echo "$ax_create_pkgconfig_description" >&6; }
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
18417 $as_echo_n "checking our pkgconfig requires... " >&6; }
18418 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
18419 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
18420 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
18422 $as_echo "$ax_create_pkgconfig_requires" >&6; }
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
18425 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
18426 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
18427 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
18428 ax_create_pkgconfig_libs="$LIBS -lsaml"
18429 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
18430 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
18432 $as_echo "$ax_create_pkgconfig_libs" >&6; }
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
18435 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
18436 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
18437 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
18438 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
18440 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
18443 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
18444 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
18445 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
18446 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
18448 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
18450 test ".$ax_create_pkgconfig_generate" != "." || \
18451 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
18452 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
18453 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
18454 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
18456 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
18458 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
18459 ax_create_pkgconfig_src_libdir=`pwd`
18460 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
18461 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18462 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
18463 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
18464 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
18465 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
18466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18470 /^X\(\/\/\)[^/].*/{
18483 test ! -d $ax_create_pkgconfig_src_libdir/src || \
18484 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
18486 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
18488 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
18491 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
18492 ax_create_pkgconfig_src_headers=`pwd`
18493 v="$ac_top_srcdir" ;
18494 test ".$v" != "." || v="$ax_spec_dir"
18495 test ".$v" != "." || v="$srcdir"
18496 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
18497 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
18498 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18499 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
18500 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
18501 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
18502 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
18503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18507 /^X\(\/\/\)[^/].*/{
18520 test ! -d $ax_create_pkgconfig_src_headers/include || \
18521 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
18523 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
18527 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
18531 LIBTOOL="$LIBTOOL --silent"
18533 # output packaging and makefiles
18534 cat >confcache <<\_ACEOF
18535 # This file is a shell script that caches the results of configure
18536 # tests run on this system so they can be shared between configure
18537 # scripts and configure runs, see configure's option --config-cache.
18538 # It is not useful on other systems. If it contains results you don't
18539 # want to keep, you may remove or edit it.
18541 # config.status only pays attention to the cache file if you give it
18542 # the --recheck option to rerun configure.
18544 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18545 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18546 # following values.
18550 # The following way of writing the cache mishandles newlines in values,
18551 # but we know of no workaround that is simple, portable, and efficient.
18552 # So, we kill variables containing newlines.
18553 # Ultrix sh set writes to stderr and can't be redirected directly,
18554 # and sets the high bit in the cache file unless we assign to the vars.
18556 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18557 eval ac_val=\$$ac_var
18561 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18562 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18565 _ | IFS | as_nl) ;; #(
18566 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18567 *) { eval $ac_var=; unset $ac_var;} ;;
18573 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18574 *${as_nl}ac_space=\ *)
18575 # `set' does not quote correctly, so add quotes: double-quote
18576 # substitution turns \\\\ into \\, and sed turns \\ into \.
18579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18582 # `set' quotes correctly as required by POSIX, so do not add quotes.
18583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18592 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18594 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18596 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18597 if test -w "$cache_file"; then
18598 test "x$cache_file" != "x/dev/null" &&
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18600 $as_echo "$as_me: updating cache $cache_file" >&6;}
18601 cat confcache >$cache_file
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18604 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18609 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18610 # Let make expand exec_prefix.
18611 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18613 DEFS=-DHAVE_CONFIG_H
18618 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18619 # 1. Remove the extension, and $U if already installed.
18620 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18621 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18622 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18623 # will be set to the directory where LIBOBJS objects are built.
18624 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18625 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18627 LIBOBJS=$ac_libobjs
18629 LTLIBOBJS=$ac_ltlibobjs
18632 if test -n "$EXEEXT"; then
18634 am__EXEEXT_FALSE='#'
18636 am__EXEEXT_TRUE='#'
18640 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18641 as_fn_error $? "conditional \"AMDEP\" was never defined.
18642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18644 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18645 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18648 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
18649 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
18650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18652 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
18653 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
18654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18656 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
18657 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
18658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18660 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
18661 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
18662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18664 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
18665 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
18666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18668 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
18669 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
18670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18672 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
18673 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
18674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18676 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
18677 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
18678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18680 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
18681 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
18682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18684 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
18685 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
18686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18688 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
18689 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
18690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18692 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
18693 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
18694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18696 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
18697 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
18698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18700 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
18701 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
18702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18704 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
18705 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
18706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18708 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
18709 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
18710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18712 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
18713 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
18714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18716 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
18717 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
18718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18720 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
18721 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
18722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18724 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
18725 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
18726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18728 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
18729 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
18730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18732 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
18733 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
18734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18736 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18737 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18740 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18741 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18744 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18745 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18748 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
18749 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
18750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18753 : ${CONFIG_STATUS=./config.status}
18755 ac_clean_files_save=$ac_clean_files
18756 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18758 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18760 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18762 # Generated by $as_me.
18763 # Run this file to recreate the current configuration.
18764 # Compiler output produced by configure, useful for debugging
18765 # configure, is in config.log if it exists.
18768 ac_cs_recheck=false
18771 SHELL=\${CONFIG_SHELL-$SHELL}
18774 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18775 ## -------------------- ##
18776 ## M4sh Initialization. ##
18777 ## -------------------- ##
18779 # Be more Bourne compatible
18780 DUALCASE=1; export DUALCASE # for MKS sh
18781 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18784 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18785 # is contrary to our usage. Disable this feature.
18786 alias -g '${1+"$@"}'='"$@"'
18787 setopt NO_GLOB_SUBST
18789 case `(set -o) 2>/dev/null` in #(
18801 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18802 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18803 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18804 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18805 # Prefer a ksh shell builtin over an external printf program on Solaris,
18806 # but without wasting forks for bash or zsh.
18807 if test -z "$BASH_VERSION$ZSH_VERSION" \
18808 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18809 as_echo='print -r --'
18810 as_echo_n='print -rn --'
18811 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18812 as_echo='printf %s\n'
18813 as_echo_n='printf %s'
18815 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18816 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18817 as_echo_n='/usr/ucb/echo -n'
18819 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18820 as_echo_n_body='eval
18824 expr "X$arg" : "X\\(.*\\)$as_nl";
18825 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18827 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18829 export as_echo_n_body
18830 as_echo_n='sh -c $as_echo_n_body as_echo'
18832 export as_echo_body
18833 as_echo='sh -c $as_echo_body as_echo'
18836 # The user is always right.
18837 if test "${PATH_SEPARATOR+set}" != set; then
18839 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18840 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18847 # We need space, tab and new line, in precisely that order. Quoting is
18848 # there to prevent editors from complaining about space-tab.
18849 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18850 # splitting by setting IFS to empty value.)
18853 # Find who we are. Look in the path if we contain no directory separator.
18855 *[\\/]* ) as_myself=$0 ;;
18856 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18857 for as_dir in $PATH
18860 test -z "$as_dir" && as_dir=.
18861 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18867 # We did not find ourselves, most probably we were run as `sh COMMAND'
18868 # in which case we are not to be found in the path.
18869 if test "x$as_myself" = x; then
18872 if test ! -f "$as_myself"; then
18873 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18877 # Unset variables that we do not need and which cause bugs (e.g. in
18878 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18879 # suppresses any "Segmentation fault" message there. '((' could
18880 # trigger a bug in pdksh 5.2.14.
18881 for as_var in BASH_ENV ENV MAIL MAILPATH
18882 do eval test x\${$as_var+set} = xset \
18883 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18896 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18899 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18900 # ----------------------------------------
18901 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18902 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18903 # script with STATUS, using 1 if that was 0.
18906 as_status=$1; test $as_status -eq 0 && as_status=1
18908 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18909 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18911 $as_echo "$as_me: error: $2" >&2
18912 as_fn_exit $as_status
18916 # as_fn_set_status STATUS
18917 # -----------------------
18918 # Set $? to STATUS, without forking.
18919 as_fn_set_status ()
18922 } # as_fn_set_status
18924 # as_fn_exit STATUS
18925 # -----------------
18926 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18930 as_fn_set_status $1
18936 # Portably unset VAR.
18939 { eval $1=; unset $1;}
18941 as_unset=as_fn_unset
18942 # as_fn_append VAR VALUE
18943 # ----------------------
18944 # Append the text in VALUE to the end of the definition contained in VAR. Take
18945 # advantage of any shell optimizations that allow amortized linear growth over
18946 # repeated appends, instead of the typical quadratic growth present in naive
18948 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18949 eval 'as_fn_append ()
18960 # as_fn_arith ARG...
18961 # ------------------
18962 # Perform arithmetic evaluation on the ARGs, and store the result in the
18963 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18964 # must be portable across $(()) and expr.
18965 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18966 eval 'as_fn_arith ()
18973 as_val=`expr "$@" || test $? -eq 1`
18978 if expr a : '\(a\)' >/dev/null 2>&1 &&
18979 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18985 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18986 as_basename=basename
18991 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18997 as_me=`$as_basename -- "$0" ||
18998 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18999 X"$0" : 'X\(//\)$' \| \
19000 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19002 sed '/^.*\/\([^/][^/]*\)\/*$/{
19016 # Avoid depending upon Character Ranges.
19017 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19018 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19019 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19020 as_cr_digits='0123456789'
19021 as_cr_alnum=$as_cr_Letters$as_cr_digits
19023 ECHO_C= ECHO_N= ECHO_T=
19024 case `echo -n x` in #(((((
19026 case `echo 'xy\c'` in
19027 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19029 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19036 rm -f conf$$ conf$$.exe conf$$.file
19037 if test -d conf$$.dir; then
19038 rm -f conf$$.dir/conf$$.file
19041 mkdir conf$$.dir 2>/dev/null
19043 if (echo >conf$$.file) 2>/dev/null; then
19044 if ln -s conf$$.file conf$$ 2>/dev/null; then
19046 # ... but there are two gotchas:
19047 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19048 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19049 # In both cases, we have to default to `cp -p'.
19050 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19052 elif ln conf$$.file conf$$ 2>/dev/null; then
19060 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19061 rmdir conf$$.dir 2>/dev/null
19066 # Create "$as_dir" as a directory, including parents if necessary.
19071 -*) as_dir=./$as_dir;;
19073 test -d "$as_dir" || eval $as_mkdir_p || {
19077 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19078 *) as_qdir=$as_dir;;
19080 as_dirs="'$as_qdir' $as_dirs"
19081 as_dir=`$as_dirname -- "$as_dir" ||
19082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19083 X"$as_dir" : 'X\(//\)[^/]' \| \
19084 X"$as_dir" : 'X\(//\)$' \| \
19085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19086 $as_echo X"$as_dir" |
19087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19091 /^X\(\/\/\)[^/].*/{
19104 test -d "$as_dir" && break
19106 test -z "$as_dirs" || eval "mkdir $as_dirs"
19107 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19111 if mkdir -p . 2>/dev/null; then
19112 as_mkdir_p='mkdir -p "$as_dir"'
19114 test -d ./-p && rmdir ./-p
19118 if test -x / >/dev/null 2>&1; then
19119 as_test_x='test -x'
19121 if ls -dL / >/dev/null 2>&1; then
19128 if test -d "$1"; then
19134 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19135 ???[sx]*):;;*)false;;esac;fi
19139 as_executable_p=$as_test_x
19141 # Sed expression to map a string onto a valid CPP name.
19142 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19144 # Sed expression to map a string onto a valid variable name.
19145 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19149 ## ----------------------------------- ##
19150 ## Main body of $CONFIG_STATUS script. ##
19151 ## ----------------------------------- ##
19153 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19156 # Save the log message, to keep $0 and so on meaningful, and to
19157 # report actual input values of CONFIG_FILES etc. instead of their
19158 # values after options handling.
19160 This file was extended by opensaml $as_me 2.4, which was
19161 generated by GNU Autoconf 2.67. Invocation command line was
19163 CONFIG_FILES = $CONFIG_FILES
19164 CONFIG_HEADERS = $CONFIG_HEADERS
19165 CONFIG_LINKS = $CONFIG_LINKS
19166 CONFIG_COMMANDS = $CONFIG_COMMANDS
19169 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19174 case $ac_config_files in *"
19175 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19178 case $ac_config_headers in *"
19179 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19184 # Files that config.status was made for.
19185 config_files="$ac_config_files"
19186 config_headers="$ac_config_headers"
19187 config_commands="$ac_config_commands"
19191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19193 \`$as_me' instantiates files and other configuration actions
19194 from templates according to the current configuration. Unless the files
19195 and actions are specified as TAGs, all are instantiated by default.
19197 Usage: $0 [OPTION]... [TAG]...
19199 -h, --help print this help, then exit
19200 -V, --version print version number and configuration settings, then exit
19201 --config print configuration, then exit
19202 -q, --quiet, --silent
19203 do not print progress messages
19204 -d, --debug don't remove temporary files
19205 --recheck update $as_me by reconfiguring in the same conditions
19206 --file=FILE[:TEMPLATE]
19207 instantiate the configuration file FILE
19208 --header=FILE[:TEMPLATE]
19209 instantiate the configuration header FILE
19211 Configuration files:
19214 Configuration headers:
19217 Configuration commands:
19220 Report bugs to <https://bugs.internet2.edu/>."
19223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19224 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19226 opensaml config.status 2.4
19227 configured by $0, generated by GNU Autoconf 2.67,
19228 with options \\"\$ac_cs_config\\"
19230 Copyright (C) 2010 Free Software Foundation, Inc.
19231 This config.status script is free software; the Free Software Foundation
19232 gives unlimited permission to copy, distribute and modify it."
19239 test -n "\$AWK" || AWK=awk
19242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19243 # The default lists apply if the user does not specify any file.
19249 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19250 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19254 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19266 # Handling of the options.
19267 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19269 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19270 $as_echo "$ac_cs_version"; exit ;;
19271 --config | --confi | --conf | --con | --co | --c )
19272 $as_echo "$ac_cs_config"; exit ;;
19273 --debug | --debu | --deb | --de | --d | -d )
19275 --file | --fil | --fi | --f )
19278 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19279 '') as_fn_error $? "missing file argument" ;;
19281 as_fn_append CONFIG_FILES " '$ac_optarg'"
19282 ac_need_defaults=false;;
19283 --header | --heade | --head | --hea )
19286 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19288 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19289 ac_need_defaults=false;;
19291 # Conflict between --help and --header
19292 as_fn_error $? "ambiguous option: \`$1'
19293 Try \`$0 --help' for more information.";;
19294 --help | --hel | -h )
19295 $as_echo "$ac_cs_usage"; exit ;;
19296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19297 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19300 # This is an error.
19301 -*) as_fn_error $? "unrecognized option: \`$1'
19302 Try \`$0 --help' for more information." ;;
19304 *) as_fn_append ac_config_targets " $1"
19305 ac_need_defaults=false ;;
19311 ac_configure_extra_args=
19313 if $ac_cs_silent; then
19315 ac_configure_extra_args="$ac_configure_extra_args --silent"
19319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19320 if \$ac_cs_recheck; then
19321 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19323 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19324 CONFIG_SHELL='$SHELL'
19325 export CONFIG_SHELL
19330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19334 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19335 ## Running $as_me. ##
19341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19345 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19348 # The HP-UX ksh and POSIX shell print the target directory to stdout
19349 # if CDPATH is set.
19350 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19352 sed_quote_subst='$sed_quote_subst'
19353 double_quote_subst='$double_quote_subst'
19354 delay_variable_subst='$delay_variable_subst'
19355 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19356 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19357 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19358 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19359 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19360 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19361 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19362 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19363 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19364 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19365 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19366 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19367 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19368 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19369 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19370 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19371 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19372 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19373 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19374 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19375 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19376 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19377 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19378 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19379 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19380 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19381 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19382 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19383 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19384 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19385 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19386 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19387 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19388 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19389 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19390 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19391 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19392 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19393 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19394 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19395 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19396 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19397 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19398 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19399 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"`'
19400 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"`'
19401 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19402 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19403 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19404 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19405 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19406 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19407 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19408 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19409 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19410 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19411 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19412 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19413 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19414 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19415 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19416 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19417 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19418 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19419 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19420 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19421 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19422 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19423 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19424 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19425 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19426 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19427 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19428 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19429 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19430 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19431 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19432 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19433 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19434 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19435 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19436 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19437 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19438 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19439 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19440 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19441 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19442 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19443 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19444 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19445 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19446 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19447 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19448 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19449 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19450 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19451 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19452 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19453 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19454 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19455 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19456 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19457 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19458 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19459 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19460 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19461 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19462 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19463 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19464 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19465 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19466 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19467 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19468 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19469 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19470 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19471 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19472 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19473 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19474 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19475 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19476 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
19477 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
19478 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
19479 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19480 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19481 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19482 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19483 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19484 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19485 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19486 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19487 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19488 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19489 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19490 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19491 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19492 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19493 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19494 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19495 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19496 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19497 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19498 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19499 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19500 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19501 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19502 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19503 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19504 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19505 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19506 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19507 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19508 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19509 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19510 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19511 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19512 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19513 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19514 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19515 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19516 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19517 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19518 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19519 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19520 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19521 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19522 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19523 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19524 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19525 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19528 LTCFLAGS='$LTCFLAGS'
19529 compiler='$compiler_DEFAULT'
19531 # Quote evaled strings.
19543 deplibs_check_method \
19552 lt_cv_sys_global_symbol_pipe \
19553 lt_cv_sys_global_symbol_to_cdecl \
19554 lt_cv_sys_global_symbol_to_c_name_address \
19555 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19558 lt_prog_compiler_no_builtin_flag \
19559 lt_prog_compiler_wl \
19560 lt_prog_compiler_pic \
19561 lt_prog_compiler_static \
19562 lt_cv_prog_compiler_c_o \
19570 export_dynamic_flag_spec \
19571 whole_archive_flag_spec \
19572 compiler_needs_object \
19574 allow_undefined_flag \
19575 no_undefined_flag \
19576 hardcode_libdir_flag_spec \
19577 hardcode_libdir_flag_spec_ld \
19578 hardcode_libdir_separator \
19583 variables_saved_for_relink \
19585 library_names_spec \
19590 compiler_lib_search_dirs \
19595 compiler_lib_search_path \
19598 lt_prog_compiler_no_builtin_flag_CXX \
19599 lt_prog_compiler_wl_CXX \
19600 lt_prog_compiler_pic_CXX \
19601 lt_prog_compiler_static_CXX \
19602 lt_cv_prog_compiler_c_o_CXX \
19603 export_dynamic_flag_spec_CXX \
19604 whole_archive_flag_spec_CXX \
19605 compiler_needs_object_CXX \
19607 allow_undefined_flag_CXX \
19608 no_undefined_flag_CXX \
19609 hardcode_libdir_flag_spec_CXX \
19610 hardcode_libdir_flag_spec_ld_CXX \
19611 hardcode_libdir_separator_CXX \
19612 fix_srcfile_path_CXX \
19613 exclude_expsyms_CXX \
19614 include_expsyms_CXX \
19615 file_list_spec_CXX \
19616 compiler_lib_search_dirs_CXX \
19617 predep_objects_CXX \
19618 postdep_objects_CXX \
19621 compiler_lib_search_path_CXX; do
19622 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19623 *[\\\\\\\`\\"\\\$]*)
19624 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19627 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19632 # Double-quote double-evaled strings.
19633 for var in reload_cmds \
19634 old_postinstall_cmds \
19635 old_postuninstall_cmds \
19637 extract_expsyms_cmds \
19638 old_archive_from_new_cmds \
19639 old_archive_from_expsyms_cmds \
19641 archive_expsym_cmds \
19643 module_expsym_cmds \
19644 export_symbols_cmds \
19647 postuninstall_cmds \
19649 sys_lib_search_path_spec \
19650 sys_lib_dlsearch_path_spec \
19651 old_archive_cmds_CXX \
19652 old_archive_from_new_cmds_CXX \
19653 old_archive_from_expsyms_cmds_CXX \
19655 archive_expsym_cmds_CXX \
19657 module_expsym_cmds_CXX \
19658 export_symbols_cmds_CXX \
19659 prelink_cmds_CXX; do
19660 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19661 *[\\\\\\\`\\"\\\$]*)
19662 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19665 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19670 # Fix-up fallback echo if it was mangled by the above quoting rules.
19672 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19676 ac_aux_dir='$ac_aux_dir'
19677 xsi_shell='$xsi_shell'
19678 lt_shell_append='$lt_shell_append'
19680 # See if we are running on zsh, and set the options which allow our
19681 # commands through without removal of \ escapes INIT.
19682 if test -n "\${ZSH_VERSION+set}" ; then
19683 setopt NO_GLOB_SUBST
19689 TIMESTAMP='$TIMESTAMP'
19698 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
19699 pkgconfig_prefix='$prefix'
19700 pkgconfig_execprefix='$exec_prefix'
19701 pkgconfig_bindir='$bindir'
19702 pkgconfig_libdir='$libdir'
19703 pkgconfig_includedir='$includedir'
19704 pkgconfig_datarootdir='$datarootdir'
19705 pkgconfig_datadir='$datadir'
19706 pkgconfig_sysconfdir='$sysconfdir'
19707 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
19708 pkgconfig_package='$PACKAGE_NAME'
19709 pkgconfig_libname='$ax_create_pkgconfig_libname'
19710 pkgconfig_description='$ax_create_pkgconfig_description'
19711 pkgconfig_version='$ax_create_pkgconfig_version'
19712 pkgconfig_requires='$ax_create_pkgconfig_requires'
19713 pkgconfig_libs='$ax_create_pkgconfig_libs'
19714 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
19715 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
19716 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
19717 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
19722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19724 # Handling of arguments.
19725 for ac_config_target in $ac_config_targets
19727 case $ac_config_target in
19728 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19729 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19730 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19731 "opensaml.spec") CONFIG_FILES="$CONFIG_FILES opensaml.spec" ;;
19732 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
19733 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
19734 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19735 "saml/Makefile") CONFIG_FILES="$CONFIG_FILES saml/Makefile" ;;
19736 "samltest/Makefile") CONFIG_FILES="$CONFIG_FILES samltest/Makefile" ;;
19737 "samlsign/Makefile") CONFIG_FILES="$CONFIG_FILES samlsign/Makefile" ;;
19738 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
19739 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19740 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
19742 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
19747 # If the user did not use the arguments to specify the items to instantiate,
19748 # then the envvar interface is used. Set only those that are not.
19749 # We use the long form for the default assignment because of an extremely
19750 # bizarre bug on SunOS 4.1.3.
19751 if $ac_need_defaults; then
19752 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19753 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19754 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19757 # Have a temporary directory for convenience. Make it in the build tree
19758 # simply because there is no reason against having it here, and in addition,
19759 # creating and moving files from /tmp can sometimes cause problems.
19760 # Hook for its removal unless debugging.
19761 # Note that there is a small window in which the directory will not be cleaned:
19762 # after its creation but before its name has been assigned to `$tmp'.
19766 trap 'exit_status=$?
19767 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19769 trap 'as_fn_exit 1' 1 2 13 15
19771 # Create a (secure) tmp directory for tmp files.
19774 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19775 test -n "$tmp" && test -d "$tmp"
19778 tmp=./conf$$-$RANDOM
19779 (umask 077 && mkdir "$tmp")
19780 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19782 # Set up the scripts for CONFIG_FILES section.
19783 # No need to generate them if there are no CONFIG_FILES.
19784 # This happens for instance with `./config.status config.h'.
19785 if test -n "$CONFIG_FILES"; then
19788 ac_cr=`echo X | tr X '\015'`
19789 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19790 # But we know of no other shell where ac_cr would be empty at this
19791 # point, so we can use a bashism as a fallback.
19792 if test "x$ac_cr" = x; then
19793 eval ac_cr=\$\'\\r\'
19795 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19796 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19799 ac_cs_awk_cr=$ac_cr
19802 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19807 echo "cat >conf$$subs.awk <<_ACEOF" &&
19808 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19810 } >conf$$subs.sh ||
19811 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19812 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19814 for ac_last_try in false false false false false :; do
19815 . ./conf$$subs.sh ||
19816 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19818 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19819 if test $ac_delim_n = $ac_delim_num; then
19821 elif $ac_last_try; then
19822 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19824 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19827 rm -f conf$$subs.sh
19829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19830 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
19834 s/^/S["/; s/!.*/"]=/
19844 s/\(.\{148\}\)..*/\1/
19846 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19851 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19858 s/\(.\{148\}\)..*/\1/
19860 s/["\\]/\\&/g; s/^/"/; s/$/"/
19864 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19869 ' <conf$$subs.awk | sed '
19874 ' >>$CONFIG_STATUS || ac_write_fail=1
19875 rm -f conf$$subs.awk
19876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19878 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
19879 for (key in S) S_is_set[key] = 1
19885 nfields = split(line, field, "@")
19887 len = length(field[1])
19888 for (i = 2; i < nfields; i++) {
19890 keylen = length(key)
19891 if (S_is_set[key]) {
19893 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19894 len += length(value) + length(field[++i])
19905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19906 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19907 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19910 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19911 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19914 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19915 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19916 # trailing colons and then remove the whole line if VPATH becomes empty
19917 # (actually we leave an empty line to preserve line numbers).
19918 if test "x$srcdir" = x.; then
19919 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19938 fi # test -n "$CONFIG_FILES"
19940 # Set up the scripts for CONFIG_HEADERS section.
19941 # No need to generate them if there are no CONFIG_HEADERS.
19942 # This happens for instance with `./config.status Makefile'.
19943 if test -n "$CONFIG_HEADERS"; then
19944 cat >"$tmp/defines.awk" <<\_ACAWK ||
19948 # Transform confdefs.h into an awk script `defines.awk', embedded as
19949 # here-document in config.status, that substitutes the proper values into
19950 # config.h.in to produce config.h.
19952 # Create a delimiter string that does not exist in confdefs.h, to ease
19953 # handling of long lines.
19955 for ac_last_try in false false :; do
19956 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19957 if test -z "$ac_t"; then
19959 elif $ac_last_try; then
19960 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19962 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19966 # For the awk script, D is an array of macro values keyed by name,
19967 # likewise P contains macro parameters if any. Preserve backslash
19968 # newline sequences.
19970 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19972 s/.\{148\}/&'"$ac_delim"'/g
19975 s/^[ ]*#[ ]*define[ ][ ]*/ /
19982 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19984 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19988 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19989 D["\1"]=" \3\\\\\\n"\\/p
19991 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19996 s/.\{148\}/&'"$ac_delim"'/g
20001 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20004 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20006 ' <confdefs.h | sed '
20007 s/'"$ac_delim"'/"\\\
20008 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20011 for (key in D) D_is_set[key] = 1
20014 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20016 split(line, arg, " ")
20017 if (arg[1] == "#") {
20021 defundef = substr(arg[1], 2)
20024 split(mac1, mac2, "(") #)
20026 prefix = substr(line, 1, index(line, defundef) - 1)
20027 if (D_is_set[macro]) {
20028 # Preserve the white space surrounding the "#".
20029 print prefix "define", macro P[macro] D[macro]
20032 # Replace #undef with comments. This is necessary, for example,
20033 # in the case of _POSIX_SOURCE, which is predefined and required
20034 # on some systems where configure will not decide to define it.
20035 if (defundef == "undef") {
20036 print "/*", prefix defundef, macro, "*/"
20044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20045 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20046 fi # test -n "$CONFIG_HEADERS"
20049 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20054 :[FHLC]) ac_mode=$ac_tag; continue;;
20056 case $ac_mode$ac_tag in
20058 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
20059 :[FH]-) ac_tag=-:-;;
20060 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20077 -) ac_f="$tmp/stdin";;
20078 *) # Look for the file first in the build tree, then in the source tree
20079 # (if the path is not absolute). The absolute path cannot be DOS-style,
20080 # because $ac_f cannot contain `:'.
20084 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20086 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20088 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20089 as_fn_append ac_file_inputs " '$ac_f'"
20092 # Let's still pretend it is `configure' which instantiates (i.e., don't
20093 # use $as_me), people would be surprised to read:
20094 # /* config.h. Generated by config.status. */
20095 configure_input='Generated from '`
20096 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20098 if test x"$ac_file" != x-; then
20099 configure_input="$ac_file. $configure_input"
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20101 $as_echo "$as_me: creating $ac_file" >&6;}
20103 # Neutralize special characters interpreted by sed in replacement strings.
20104 case $configure_input in #(
20105 *\&* | *\|* | *\\* )
20106 ac_sed_conf_input=`$as_echo "$configure_input" |
20107 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20108 *) ac_sed_conf_input=$configure_input;;
20112 *:-:* | *:-) cat >"$tmp/stdin" \
20113 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20118 ac_dir=`$as_dirname -- "$ac_file" ||
20119 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20120 X"$ac_file" : 'X\(//\)[^/]' \| \
20121 X"$ac_file" : 'X\(//\)$' \| \
20122 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20123 $as_echo X"$ac_file" |
20124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20128 /^X\(\/\/\)[^/].*/{
20141 as_dir="$ac_dir"; as_fn_mkdir_p
20145 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20147 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20148 # A ".." for each directory in $ac_dir_suffix.
20149 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20150 case $ac_top_builddir_sub in
20151 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20152 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20155 ac_abs_top_builddir=$ac_pwd
20156 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20157 # for backward compatibility:
20158 ac_top_builddir=$ac_top_build_prefix
20161 .) # We are building in place.
20163 ac_top_srcdir=$ac_top_builddir_sub
20164 ac_abs_top_srcdir=$ac_pwd ;;
20165 [\\/]* | ?:[\\/]* ) # Absolute name.
20166 ac_srcdir=$srcdir$ac_dir_suffix;
20167 ac_top_srcdir=$srcdir
20168 ac_abs_top_srcdir=$srcdir ;;
20169 *) # Relative name.
20170 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20171 ac_top_srcdir=$ac_top_build_prefix$srcdir
20172 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20174 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20184 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20185 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20187 ac_MKDIR_P=$MKDIR_P
20189 [\\/$]* | ?:[\\/]* ) ;;
20190 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20195 # If the template does not know about datarootdir, expand it.
20196 # FIXME: This hack should be removed a few years after 2.60.
20197 ac_datarootdir_hack=; ac_datarootdir_seen=
20208 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20209 *datarootdir*) ac_datarootdir_seen=yes;;
20210 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20212 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20215 ac_datarootdir_hack='
20216 s&@datadir@&$datadir&g
20217 s&@docdir@&$docdir&g
20218 s&@infodir@&$infodir&g
20219 s&@localedir@&$localedir&g
20220 s&@mandir@&$mandir&g
20221 s&\\\${datarootdir}&$datarootdir&g' ;;
20225 # Neutralize VPATH when `$srcdir' = `.'.
20226 # Shell code in configure.ac might set extrasub.
20227 # FIXME: do we really want to maintain this feature?
20228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20229 ac_sed_extra="$ac_vpsub
20232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20234 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20235 s|@configure_input@|$ac_sed_conf_input|;t t
20236 s&@top_builddir@&$ac_top_builddir_sub&;t t
20237 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20238 s&@srcdir@&$ac_srcdir&;t t
20239 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20240 s&@top_srcdir@&$ac_top_srcdir&;t t
20241 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20242 s&@builddir@&$ac_builddir&;t t
20243 s&@abs_builddir@&$ac_abs_builddir&;t t
20244 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20245 s&@INSTALL@&$ac_INSTALL&;t t
20246 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20247 $ac_datarootdir_hack
20249 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
20250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20252 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20253 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20254 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20256 which seems to be undefined. Please make sure it is defined" >&5
20257 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20258 which seems to be undefined. Please make sure it is defined" >&2;}
20262 -) cat "$tmp/out" && rm -f "$tmp/out";;
20263 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20271 if test x"$ac_file" != x-; then
20273 $as_echo "/* $configure_input */" \
20274 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20275 } >"$tmp/config.h" \
20276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20277 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20279 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20282 mv "$tmp/config.h" "$ac_file" \
20283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20286 $as_echo "/* $configure_input */" \
20287 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20288 || as_fn_error $? "could not create -" "$LINENO" 5
20290 # Compute "$ac_file"'s index in $config_headers.
20293 for _am_header in $config_headers :; do
20294 case $_am_header in
20295 $_am_arg | $_am_arg:* )
20298 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20301 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20302 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20303 X"$_am_arg" : 'X\(//\)[^/]' \| \
20304 X"$_am_arg" : 'X\(//\)$' \| \
20305 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20306 $as_echo X"$_am_arg" |
20307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20311 /^X\(\/\/\)[^/].*/{
20323 s/.*/./; q'`/stamp-h$_am_stamp_count
20326 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20327 $as_echo "$as_me: executing $ac_file commands" >&6;}
20332 case $ac_file$ac_mode in
20333 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20334 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20335 # are listed without --file. Let's play safe and only enable the eval
20336 # if we detect the quoting.
20337 case $CONFIG_FILES in
20338 *\'*) eval set x "$CONFIG_FILES" ;;
20339 *) set x $CONFIG_FILES ;;
20344 # Strip MF so we end up with the name of the file.
20345 mf=`echo "$mf" | sed -e 's/:.*$//'`
20346 # Check whether this is an Automake generated Makefile or not.
20347 # We used to match only the files named `Makefile.in', but
20348 # some people rename them; so instead we look at the file content.
20349 # Grep'ing the first line is not enough: some people post-process
20350 # each Makefile.in and add a new line on top of each file to say so.
20351 # Grep'ing the whole file is not good either: AIX grep has a line
20352 # limit of 2048, but all sed's we know have understand at least 4000.
20353 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20354 dirpart=`$as_dirname -- "$mf" ||
20355 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20356 X"$mf" : 'X\(//\)[^/]' \| \
20357 X"$mf" : 'X\(//\)$' \| \
20358 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20364 /^X\(\/\/\)[^/].*/{
20380 # Extract the definition of DEPDIR, am__include, and am__quote
20381 # from the Makefile without running `make'.
20382 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20383 test -z "$DEPDIR" && continue
20384 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20385 test -z "am__include" && continue
20386 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20387 # When using ansi2knr, U may be empty or an underscore; expand it
20388 U=`sed -n 's/^U = //p' < "$mf"`
20389 # Find all dependency output files, they are included files with
20390 # $(DEPDIR) in their names. We invoke sed twice because it is the
20391 # simplest approach to changing $(DEPDIR) to its actual value in the
20393 for file in `sed -n "
20394 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20395 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20396 # Make sure the directory exists.
20397 test -f "$dirpart/$file" && continue
20398 fdir=`$as_dirname -- "$file" ||
20399 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20400 X"$file" : 'X\(//\)[^/]' \| \
20401 X"$file" : 'X\(//\)$' \| \
20402 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20403 $as_echo X"$file" |
20404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20408 /^X\(\/\/\)[^/].*/{
20421 as_dir=$dirpart/$fdir; as_fn_mkdir_p
20422 # echo "creating $dirpart/$file"
20423 echo '# dummy' > "$dirpart/$file"
20430 # See if we are running on zsh, and set the options which allow our
20431 # commands through without removal of \ escapes.
20432 if test -n "${ZSH_VERSION+set}" ; then
20433 setopt NO_GLOB_SUBST
20436 cfgfile="${ofile}T"
20437 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20440 cat <<_LT_EOF >> "$cfgfile"
20443 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20444 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20445 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20446 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20448 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20449 # 2006, 2007, 2008 Free Software Foundation, Inc.
20450 # Written by Gordon Matzigkeit, 1996
20452 # This file is part of GNU Libtool.
20454 # GNU Libtool is free software; you can redistribute it and/or
20455 # modify it under the terms of the GNU General Public License as
20456 # published by the Free Software Foundation; either version 2 of
20457 # the License, or (at your option) any later version.
20459 # As a special exception to the GNU General Public License,
20460 # if you distribute this file as part of a program or library that
20461 # is built using GNU Libtool, you may include this file under the
20462 # same distribution terms that you use for the rest of that program.
20464 # GNU Libtool is distributed in the hope that it will be useful,
20465 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20466 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20467 # GNU General Public License for more details.
20469 # You should have received a copy of the GNU General Public License
20470 # along with GNU Libtool; see the file COPYING. If not, a copy
20471 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20472 # obtained by writing to the Free Software Foundation, Inc.,
20473 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20476 # The names of the tagged configurations supported by this script.
20477 available_tags="CXX "
20479 # ### BEGIN LIBTOOL CONFIG
20481 # Whether or not to build static libraries.
20482 build_old_libs=$enable_static
20484 # Which release of libtool.m4 was used?
20485 macro_version=$macro_version
20486 macro_revision=$macro_revision
20488 # Whether or not to build shared libraries.
20489 build_libtool_libs=$enable_shared
20491 # What type of objects to build.
20494 # Whether or not to optimize for fast installation.
20495 fast_install=$enable_fast_install
20498 host_alias=$host_alias
20502 # The build system.
20503 build_alias=$build_alias
20507 # A sed program that does not truncate output.
20510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20511 Xsed="\$SED -e 1s/^X//"
20513 # A grep program that handles long lines.
20519 # A literal string matcher.
20522 # A BSD- or MS-compatible name lister.
20525 # Whether we need soft or hard links.
20528 # What is the maximum length of a command?
20529 max_cmd_len=$max_cmd_len
20531 # Object file suffix (normally "o").
20534 # Executable file suffix (normally "").
20537 # whether the shell understands "unset".
20540 # turn spaces into newlines.
20543 # turn newlines into spaces.
20546 # How to create reloadable object files.
20547 reload_flag=$lt_reload_flag
20548 reload_cmds=$lt_reload_cmds
20550 # An object symbol dumper.
20551 OBJDUMP=$lt_OBJDUMP
20553 # Method to check whether dependent libraries are shared objects.
20554 deplibs_check_method=$lt_deplibs_check_method
20556 # Command to use when deplibs_check_method == "file_magic".
20557 file_magic_cmd=$lt_file_magic_cmd
20561 AR_FLAGS=$lt_AR_FLAGS
20563 # A symbol stripping program.
20566 # Commands used to install an old-style archive.
20568 old_postinstall_cmds=$lt_old_postinstall_cmds
20569 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20574 # LTCC compiler flags.
20575 LTCFLAGS=$lt_CFLAGS
20577 # Take the output of nm and produce a listing of raw symbols and C names.
20578 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20580 # Transform the output of nm in a proper C declaration.
20581 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20583 # Transform the output of nm in a C name address pair.
20584 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20586 # Transform the output of nm in a C name address pair when lib prefix is needed.
20587 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20589 # The name of the directory that contains temporary libtool files.
20592 # Shell to use when invoking shell scripts.
20595 # An echo program that does not interpret backslashes.
20598 # Used to examine libraries when file_magic_cmd begins with "file".
20599 MAGIC_CMD=$MAGIC_CMD
20601 # Must we lock files when doing compilation?
20602 need_locks=$lt_need_locks
20604 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20605 DSYMUTIL=$lt_DSYMUTIL
20607 # Tool to change global to local symbols on Mac OS X.
20610 # Tool to manipulate fat objects and archives on Mac OS X.
20613 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20616 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20617 OTOOL64=$lt_OTOOL64
20619 # Old archive suffix (normally "a").
20622 # Shared library suffix (normally ".so").
20623 shrext_cmds=$lt_shrext_cmds
20625 # The commands to extract the exported symbol list from a shared archive.
20626 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20628 # Variables whose values should be saved in libtool wrapper scripts and
20629 # restored at link time.
20630 variables_saved_for_relink=$lt_variables_saved_for_relink
20632 # Do we need the "lib" prefix for modules?
20633 need_lib_prefix=$need_lib_prefix
20635 # Do we need a version for libraries?
20636 need_version=$need_version
20638 # Library versioning type.
20639 version_type=$version_type
20641 # Shared library runtime path variable.
20642 runpath_var=$runpath_var
20644 # Shared library path variable.
20645 shlibpath_var=$shlibpath_var
20647 # Is shlibpath searched before the hard-coded library search path?
20648 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20650 # Format of library name prefix.
20651 libname_spec=$lt_libname_spec
20653 # List of archive names. First name is the real one, the rest are links.
20654 # The last name is the one that the linker finds with -lNAME
20655 library_names_spec=$lt_library_names_spec
20657 # The coded name of the library, if different from the real name.
20658 soname_spec=$lt_soname_spec
20660 # Command to use after installation of a shared archive.
20661 postinstall_cmds=$lt_postinstall_cmds
20663 # Command to use after uninstallation of a shared archive.
20664 postuninstall_cmds=$lt_postuninstall_cmds
20666 # Commands used to finish a libtool library installation in a directory.
20667 finish_cmds=$lt_finish_cmds
20669 # As "finish_cmds", except a single script fragment to be evaled but
20671 finish_eval=$lt_finish_eval
20673 # Whether we should hardcode library paths into libraries.
20674 hardcode_into_libs=$hardcode_into_libs
20676 # Compile-time system search path for libraries.
20677 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20679 # Run-time system search path for libraries.
20680 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20682 # Whether dlopen is supported.
20683 dlopen_support=$enable_dlopen
20685 # Whether dlopen of programs is supported.
20686 dlopen_self=$enable_dlopen_self
20688 # Whether dlopen of statically linked programs is supported.
20689 dlopen_self_static=$enable_dlopen_self_static
20691 # Commands to strip libraries.
20692 old_striplib=$lt_old_striplib
20693 striplib=$lt_striplib
20696 # The linker used to build libraries.
20699 # Commands used to build an old-style archive.
20700 old_archive_cmds=$lt_old_archive_cmds
20702 # A language specific compiler.
20705 # Is the compiler the GNU compiler?
20708 # Compiler flag to turn off builtin functions.
20709 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20711 # How to pass a linker flag through the compiler.
20712 wl=$lt_lt_prog_compiler_wl
20714 # Additional compiler flags for building library objects.
20715 pic_flag=$lt_lt_prog_compiler_pic
20717 # Compiler flag to prevent dynamic linking.
20718 link_static_flag=$lt_lt_prog_compiler_static
20720 # Does compiler simultaneously support -c and -o options?
20721 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20723 # Whether or not to add -lc for building shared libraries.
20724 build_libtool_need_lc=$archive_cmds_need_lc
20726 # Whether or not to disallow shared libs when runtime libs are static.
20727 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20729 # Compiler flag to allow reflexive dlopens.
20730 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20732 # Compiler flag to generate shared objects directly from archives.
20733 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20735 # Whether the compiler copes with passing no objects directly.
20736 compiler_needs_object=$lt_compiler_needs_object
20738 # Create an old-style archive from a shared archive.
20739 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20741 # Create a temporary old-style archive to link instead of a shared archive.
20742 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20744 # Commands used to build a shared archive.
20745 archive_cmds=$lt_archive_cmds
20746 archive_expsym_cmds=$lt_archive_expsym_cmds
20748 # Commands used to build a loadable module if different from building
20749 # a shared archive.
20750 module_cmds=$lt_module_cmds
20751 module_expsym_cmds=$lt_module_expsym_cmds
20753 # Whether we are building with GNU ld or not.
20754 with_gnu_ld=$lt_with_gnu_ld
20756 # Flag that allows shared libraries with undefined symbols to be built.
20757 allow_undefined_flag=$lt_allow_undefined_flag
20759 # Flag that enforces no undefined symbols.
20760 no_undefined_flag=$lt_no_undefined_flag
20762 # Flag to hardcode \$libdir into a binary during linking.
20763 # This must work even if \$libdir does not exist
20764 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20766 # If ld is used when linking, flag to hardcode \$libdir into a binary
20767 # during linking. This must work even if \$libdir does not exist.
20768 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20770 # Whether we need a single "-rpath" flag with a separated argument.
20771 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20774 # DIR into the resulting binary.
20775 hardcode_direct=$hardcode_direct
20777 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20778 # DIR into the resulting binary and the resulting library dependency is
20779 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20780 # library is relocated.
20781 hardcode_direct_absolute=$hardcode_direct_absolute
20783 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20784 # into the resulting binary.
20785 hardcode_minus_L=$hardcode_minus_L
20787 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20788 # into the resulting binary.
20789 hardcode_shlibpath_var=$hardcode_shlibpath_var
20791 # Set to "yes" if building a shared library automatically hardcodes DIR
20792 # into the library and all subsequent libraries and executables linked
20794 hardcode_automatic=$hardcode_automatic
20796 # Set to yes if linker adds runtime paths of dependent libraries
20797 # to runtime path list.
20798 inherit_rpath=$inherit_rpath
20800 # Whether libtool must link a program against all its dependency libraries.
20801 link_all_deplibs=$link_all_deplibs
20803 # Fix the shell variable \$srcfile for the compiler.
20804 fix_srcfile_path=$lt_fix_srcfile_path
20806 # Set to "yes" if exported symbols are required.
20807 always_export_symbols=$always_export_symbols
20809 # The commands to list exported symbols.
20810 export_symbols_cmds=$lt_export_symbols_cmds
20812 # Symbols that should not be listed in the preloaded symbols.
20813 exclude_expsyms=$lt_exclude_expsyms
20815 # Symbols that must always be exported.
20816 include_expsyms=$lt_include_expsyms
20818 # Commands necessary for linking programs (against libraries) with templates.
20819 prelink_cmds=$lt_prelink_cmds
20821 # Specify filename containing input files.
20822 file_list_spec=$lt_file_list_spec
20824 # How to hardcode a shared library path into an executable.
20825 hardcode_action=$hardcode_action
20827 # The directories searched by this compiler when creating a shared library.
20828 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20830 # Dependencies to place before and after the objects being linked to
20831 # create a shared library.
20832 predep_objects=$lt_predep_objects
20833 postdep_objects=$lt_postdep_objects
20834 predeps=$lt_predeps
20835 postdeps=$lt_postdeps
20837 # The library search path used internally by the compiler when linking
20838 # a shared library.
20839 compiler_lib_search_path=$lt_compiler_lib_search_path
20841 # ### END LIBTOOL CONFIG
20847 cat <<\_LT_EOF >> "$cfgfile"
20848 # AIX sometimes has problems with the GCC collect2 program. For some
20849 # reason, if we set the COLLECT_NAMES environment variable, the problems
20850 # vanish in a puff of smoke.
20851 if test "X${COLLECT_NAMES+set}" != Xset; then
20853 export COLLECT_NAMES
20860 ltmain="$ac_aux_dir/ltmain.sh"
20863 # We use sed instead of cat because bash on DJGPP gets confused if
20864 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20865 # text mode, it properly converts lines to CR/LF. This bash problem
20866 # is reportedly fixed, but why not run on old versions too?
20867 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20868 || (rm -f "$cfgfile"; exit 1)
20872 cat << \_LT_EOF >> "$cfgfile"
20874 # func_dirname file append nondir_replacement
20875 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20876 # otherwise set result to NONDIR_REPLACEMENT.
20880 */*) func_dirname_result="${1%/*}${2}" ;;
20881 * ) func_dirname_result="${3}" ;;
20885 # func_basename file
20888 func_basename_result="${1##*/}"
20891 # func_dirname_and_basename file append nondir_replacement
20892 # perform func_basename and func_dirname in a single function
20894 # dirname: Compute the dirname of FILE. If nonempty,
20895 # add APPEND to the result, otherwise set result
20896 # to NONDIR_REPLACEMENT.
20897 # value returned in "$func_dirname_result"
20898 # basename: Compute filename of FILE.
20899 # value retuned in "$func_basename_result"
20900 # Implementation must be kept synchronized with func_dirname
20901 # and func_basename. For efficiency, we do not delegate to
20902 # those functions but instead duplicate the functionality here.
20903 func_dirname_and_basename ()
20906 */*) func_dirname_result="${1%/*}${2}" ;;
20907 * ) func_dirname_result="${3}" ;;
20909 func_basename_result="${1##*/}"
20912 # func_stripname prefix suffix name
20913 # strip PREFIX and SUFFIX off of NAME.
20914 # PREFIX and SUFFIX must not contain globbing or regex special
20915 # characters, hashes, percent signs, but SUFFIX may contain a leading
20916 # dot (in which case that matches only a dot).
20919 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20920 # positional parameters, so assign one to ordinary parameter first.
20921 func_stripname_result=${3}
20922 func_stripname_result=${func_stripname_result#"${1}"}
20923 func_stripname_result=${func_stripname_result%"${2}"}
20929 func_opt_split_opt=${1%%=*}
20930 func_opt_split_arg=${1#*=}
20937 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20938 *) func_lo2o_result=${1} ;;
20942 # func_xform libobj-or-source
20945 func_xform_result=${1%.*}.lo
20948 # func_arith arithmetic-term...
20951 func_arith_result=$(( $* ))
20955 # STRING may not start with a hyphen.
20958 func_len_result=${#1}
20963 *) # Bourne compatible functions.
20964 cat << \_LT_EOF >> "$cfgfile"
20966 # func_dirname file append nondir_replacement
20967 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20968 # otherwise set result to NONDIR_REPLACEMENT.
20971 # Extract subdirectory from the argument.
20972 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20973 if test "X$func_dirname_result" = "X${1}"; then
20974 func_dirname_result="${3}"
20976 func_dirname_result="$func_dirname_result${2}"
20980 # func_basename file
20983 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20987 # func_stripname prefix suffix name
20988 # strip PREFIX and SUFFIX off of NAME.
20989 # PREFIX and SUFFIX must not contain globbing or regex special
20990 # characters, hashes, percent signs, but SUFFIX may contain a leading
20991 # dot (in which case that matches only a dot).
20992 # func_strip_suffix prefix name
20996 .*) func_stripname_result=`$ECHO "X${3}" \
20997 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20998 *) func_stripname_result=`$ECHO "X${3}" \
20999 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21004 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21005 my_sed_long_arg='1s/^-[^=]*=//'
21010 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21011 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21017 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21020 # func_xform libobj-or-source
21023 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21026 # func_arith arithmetic-term...
21029 func_arith_result=`expr "$@"`
21033 # STRING may not start with a hyphen.
21036 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21042 case $lt_shell_append in
21044 cat << \_LT_EOF >> "$cfgfile"
21046 # func_append var value
21047 # Append VALUE to the end of shell variable VAR.
21055 cat << \_LT_EOF >> "$cfgfile"
21057 # func_append var value
21058 # Append VALUE to the end of shell variable VAR.
21069 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21070 || (rm -f "$cfgfile"; exit 1)
21072 mv -f "$cfgfile" "$ofile" ||
21073 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21077 cat <<_LT_EOF >> "$ofile"
21079 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21081 # The linker used to build libraries.
21084 # Commands used to build an old-style archive.
21085 old_archive_cmds=$lt_old_archive_cmds_CXX
21087 # A language specific compiler.
21088 CC=$lt_compiler_CXX
21090 # Is the compiler the GNU compiler?
21093 # Compiler flag to turn off builtin functions.
21094 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21096 # How to pass a linker flag through the compiler.
21097 wl=$lt_lt_prog_compiler_wl_CXX
21099 # Additional compiler flags for building library objects.
21100 pic_flag=$lt_lt_prog_compiler_pic_CXX
21102 # Compiler flag to prevent dynamic linking.
21103 link_static_flag=$lt_lt_prog_compiler_static_CXX
21105 # Does compiler simultaneously support -c and -o options?
21106 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21108 # Whether or not to add -lc for building shared libraries.
21109 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21111 # Whether or not to disallow shared libs when runtime libs are static.
21112 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21114 # Compiler flag to allow reflexive dlopens.
21115 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21117 # Compiler flag to generate shared objects directly from archives.
21118 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21120 # Whether the compiler copes with passing no objects directly.
21121 compiler_needs_object=$lt_compiler_needs_object_CXX
21123 # Create an old-style archive from a shared archive.
21124 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21126 # Create a temporary old-style archive to link instead of a shared archive.
21127 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21129 # Commands used to build a shared archive.
21130 archive_cmds=$lt_archive_cmds_CXX
21131 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21133 # Commands used to build a loadable module if different from building
21134 # a shared archive.
21135 module_cmds=$lt_module_cmds_CXX
21136 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21138 # Whether we are building with GNU ld or not.
21139 with_gnu_ld=$lt_with_gnu_ld_CXX
21141 # Flag that allows shared libraries with undefined symbols to be built.
21142 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21144 # Flag that enforces no undefined symbols.
21145 no_undefined_flag=$lt_no_undefined_flag_CXX
21147 # Flag to hardcode \$libdir into a binary during linking.
21148 # This must work even if \$libdir does not exist
21149 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21151 # If ld is used when linking, flag to hardcode \$libdir into a binary
21152 # during linking. This must work even if \$libdir does not exist.
21153 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21155 # Whether we need a single "-rpath" flag with a separated argument.
21156 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21158 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21159 # DIR into the resulting binary.
21160 hardcode_direct=$hardcode_direct_CXX
21162 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21163 # DIR into the resulting binary and the resulting library dependency is
21164 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21165 # library is relocated.
21166 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21168 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21169 # into the resulting binary.
21170 hardcode_minus_L=$hardcode_minus_L_CXX
21172 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21173 # into the resulting binary.
21174 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21176 # Set to "yes" if building a shared library automatically hardcodes DIR
21177 # into the library and all subsequent libraries and executables linked
21179 hardcode_automatic=$hardcode_automatic_CXX
21181 # Set to yes if linker adds runtime paths of dependent libraries
21182 # to runtime path list.
21183 inherit_rpath=$inherit_rpath_CXX
21185 # Whether libtool must link a program against all its dependency libraries.
21186 link_all_deplibs=$link_all_deplibs_CXX
21188 # Fix the shell variable \$srcfile for the compiler.
21189 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21191 # Set to "yes" if exported symbols are required.
21192 always_export_symbols=$always_export_symbols_CXX
21194 # The commands to list exported symbols.
21195 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21197 # Symbols that should not be listed in the preloaded symbols.
21198 exclude_expsyms=$lt_exclude_expsyms_CXX
21200 # Symbols that must always be exported.
21201 include_expsyms=$lt_include_expsyms_CXX
21203 # Commands necessary for linking programs (against libraries) with templates.
21204 prelink_cmds=$lt_prelink_cmds_CXX
21206 # Specify filename containing input files.
21207 file_list_spec=$lt_file_list_spec_CXX
21209 # How to hardcode a shared library path into an executable.
21210 hardcode_action=$hardcode_action_CXX
21212 # The directories searched by this compiler when creating a shared library.
21213 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21215 # Dependencies to place before and after the objects being linked to
21216 # create a shared library.
21217 predep_objects=$lt_predep_objects_CXX
21218 postdep_objects=$lt_postdep_objects_CXX
21219 predeps=$lt_predeps_CXX
21220 postdeps=$lt_postdeps_CXX
21222 # The library search path used internally by the compiler when linking
21223 # a shared library.
21224 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21226 # ### END LIBTOOL TAG CONFIG: CXX
21230 "$ax_create_pkgconfig_generate":C)
21231 pkgconfig_generate="$ax_create_pkgconfig_generate"
21232 if test ! -f "$pkgconfig_generate.in"
21233 then generate="true"
21234 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21235 then generate="true"
21236 else generate="false";
21238 if $generate ; then
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21240 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21241 cat > $pkgconfig_generate.in <<AXEOF
21242 # generated by configure / remove this line to disable regeneration
21244 exec_prefix=@exec_prefix@
21247 datarootdir=@datarootdir@
21249 sysconfdir=@sysconfdir@
21250 includedir=@includedir@
21254 Name: @PACKAGE_NAME@
21255 Description: @PACKAGE_DESCRIPTION@
21256 Version: @PACKAGE_VERSION@
21257 Requires: @PACKAGE_REQUIRES@
21258 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21259 Cflags: -I\${includedir} @CPPFLAGS@
21261 fi # DONE generate $pkgconfig_generate.in
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21263 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21264 cat >conftest.sed <<AXEOF
21265 s|@prefix@|${pkgconfig_prefix}|
21266 s|@exec_prefix@|${pkgconfig_execprefix}|
21267 s|@bindir@|${pkgconfig_bindir}|
21268 s|@libdir@|${pkgconfig_libdir}|
21269 s|@datarootdir@|${pkgconfig_datarootdir}|
21270 s|@datadir@|${pkgconfig_datadir}|
21271 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21272 s|@includedir@|${pkgconfig_includedir}|
21273 s|@suffix@|${pkgconfig_suffix}|
21274 s|@PACKAGE@|${pkgconfig_package}|
21275 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21276 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21277 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21278 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21279 s|@LIBS@|${pkgconfig_libs}|
21280 s|@LDFLAGS@|${pkgconfig_ldflags}|
21281 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21283 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
21284 if test ! -s $pkgconfig_generate ; then
21285 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21286 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21287 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21289 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21290 cat >conftest.sed <<AXEOF
21291 s|@prefix@|${pkgconfig_prefix}|
21292 s|@exec_prefix@|${pkgconfig_execprefix}|
21293 s|@bindir@|${pkgconfig_bindir}|
21294 s|@libdir@|${pkgconfig_src_libdir}|
21295 s|@datarootdir@|${pkgconfig_datarootdir}|
21296 s|@datadir@|${pkgconfig_datadir}|
21297 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21298 s|@includedir@|${pkgconfig_src_headers}|
21299 s|@suffix@|${pkgconfig_suffix}|
21300 s|@PACKAGE@|${pkgconfig_package}|
21301 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21302 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21303 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21304 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21305 s|@LIBS@|${pkgconfig_libs}|
21306 s|@LDFLAGS@|${pkgconfig_ldflags}|
21307 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21309 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21310 if test ! -s $pkgconfig_uninstalled ; then
21311 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21312 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21313 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21314 if test ".$pkgconfig_requires_add" != "." ; then
21315 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21316 else pkgconfig_requires_add=":" ; fi
21317 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21319 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21320 cat >conftest.sed <<AXEOF
21321 s|@prefix@|\"${pkgconfig_prefix}\"|
21322 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
21323 s|@bindir@|\"${pkgconfig_bindir}\"|
21324 s|@libdir@|\"${pkgconfig_src_libdir}\"|
21325 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
21326 s|@datadir@|\"${pkgconfig_datadir}\"|
21327 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
21328 s|@includedir@|\"${pkgconfig_src_headers}\"|
21329 s|@suffix@|\"${pkgconfig_suffix}\"|
21330 s|@PACKAGE@|\"${pkgconfig_package}\"|
21331 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
21332 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
21333 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
21334 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
21335 s|@LIBS@|\"${pkgconfig_libs}\"|
21336 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
21337 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
21338 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21339 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21340 s>Version: *>\\;\\; --modversion|--version) echo >
21341 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21342 s>Libs: *>\\;\\; --libs) echo >
21343 s>Cflags: *>\\;\\; --cflags) echo >
21345 $pkgconfig_requires_add
21347 $pkgconfig_requires_add\\
21348 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21349 ;; --uninstalled) exit 0 \\
21352 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21353 if test ! -s $pkgconfig_uninstalled ; then
21354 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21355 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21364 ac_clean_files=$ac_clean_files_save
21366 test $ac_write_fail = 0 ||
21367 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21370 # configure is writing to config.log, and then calls config.status.
21371 # config.status does its own redirection, appending to config.log.
21372 # Unfortunately, on DOS this fails, as config.log is still kept open
21373 # by configure, so config.status won't be able to write to it; its
21374 # output is simply discarded. So we exec the FD to /dev/null,
21375 # effectively closing config.log, so it can be properly (re)opened and
21376 # appended to by config.status. When coming back to configure, we
21377 # need to make the FD available again.
21378 if test "$no_create" != yes; then
21380 ac_config_status_args=
21381 test "$silent" = yes &&
21382 ac_config_status_args="$ac_config_status_args --quiet"
21384 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21386 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21387 # would make configure fail if this is the last instruction.
21388 $ac_cs_success || as_fn_exit 1
21390 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21392 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}