2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for xmltooling 1.5.1.
5 # Report bugs to <https://issues.shibboleth.net/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: https://issues.shibboleth.net/ about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='xmltooling'
703 PACKAGE_TARNAME='xmltooling'
704 PACKAGE_VERSION='1.5.1'
705 PACKAGE_STRING='xmltooling 1.5.1'
706 PACKAGE_BUGREPORT='https://issues.shibboleth.net/'
709 ac_unique_file="xmltooling"
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
764 DISTCHECK_CONFIGURE_FLAGS
877 INSTALL_STRIP_PROGRAM
919 program_transform_name
932 enable_option_checking
937 enable_dependency_tracking
960 ac_precious_vars='build_alias
977 # Initialize some variables set by options.
979 ac_init_version=false
980 ac_unrecognized_opts=
982 # The variables have the same names as the options, with
983 # dashes changed to underlines.
991 program_transform_name=s,x,x,
999 # Installation directory options.
1000 # These are left unexpanded so users can "make install exec_prefix=/foo"
1001 # and all the variables that are supposed to be based on exec_prefix
1002 # by default will actually change.
1003 # Use braces instead of parens because sh, perl, etc. also accept them.
1004 # (The list follows the same order as the GNU Coding Standards.)
1005 bindir='${exec_prefix}/bin'
1006 sbindir='${exec_prefix}/sbin'
1007 libexecdir='${exec_prefix}/libexec'
1008 datarootdir='${prefix}/share'
1009 datadir='${datarootdir}'
1010 sysconfdir='${prefix}/etc'
1011 sharedstatedir='${prefix}/com'
1012 localstatedir='${prefix}/var'
1013 includedir='${prefix}/include'
1014 oldincludedir='/usr/include'
1015 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1016 infodir='${datarootdir}/info'
1021 libdir='${exec_prefix}/lib'
1022 localedir='${datarootdir}/locale'
1023 mandir='${datarootdir}/man'
1029 # If the previous option needs an argument, assign it.
1030 if test -n "$ac_prev"; then
1031 eval $ac_prev=\$ac_option
1037 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1042 # Accept the important Cygnus configure options, so we can diagnose typos.
1044 case $ac_dashdash$ac_option in
1048 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1050 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1051 bindir=$ac_optarg ;;
1053 -build | --build | --buil | --bui | --bu)
1054 ac_prev=build_alias ;;
1055 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1056 build_alias=$ac_optarg ;;
1058 -cache-file | --cache-file | --cache-fil | --cache-fi \
1059 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1060 ac_prev=cache_file ;;
1061 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1062 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1063 cache_file=$ac_optarg ;;
1065 --config-cache | -C)
1066 cache_file=config.cache ;;
1068 -datadir | --datadir | --datadi | --datad)
1070 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1071 datadir=$ac_optarg ;;
1073 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1074 | --dataroo | --dataro | --datar)
1075 ac_prev=datarootdir ;;
1076 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1077 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1078 datarootdir=$ac_optarg ;;
1080 -disable-* | --disable-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid feature name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1089 "enable_$ac_useropt"
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval enable_$ac_useropt=no ;;
1096 -docdir | --docdir | --docdi | --doc | --do)
1098 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1099 docdir=$ac_optarg ;;
1101 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1103 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1104 dvidir=$ac_optarg ;;
1106 -enable-* | --enable-*)
1107 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110 as_fn_error $? "invalid feature name: $ac_useropt"
1111 ac_useropt_orig=$ac_useropt
1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1115 "enable_$ac_useropt"
1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1118 ac_unrecognized_sep=', ';;
1120 eval enable_$ac_useropt=\$ac_optarg ;;
1122 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1123 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1124 | --exec | --exe | --ex)
1125 ac_prev=exec_prefix ;;
1126 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1127 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1128 | --exec=* | --exe=* | --ex=*)
1129 exec_prefix=$ac_optarg ;;
1131 -gas | --gas | --ga | --g)
1132 # Obsolete; use --with-gas.
1135 -help | --help | --hel | --he | -h)
1136 ac_init_help=long ;;
1137 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1138 ac_init_help=recursive ;;
1139 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1140 ac_init_help=short ;;
1142 -host | --host | --hos | --ho)
1143 ac_prev=host_alias ;;
1144 -host=* | --host=* | --hos=* | --ho=*)
1145 host_alias=$ac_optarg ;;
1147 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1149 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1151 htmldir=$ac_optarg ;;
1153 -includedir | --includedir | --includedi | --included | --include \
1154 | --includ | --inclu | --incl | --inc)
1155 ac_prev=includedir ;;
1156 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1157 | --includ=* | --inclu=* | --incl=* | --inc=*)
1158 includedir=$ac_optarg ;;
1160 -infodir | --infodir | --infodi | --infod | --info | --inf)
1162 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1163 infodir=$ac_optarg ;;
1165 -libdir | --libdir | --libdi | --libd)
1167 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1168 libdir=$ac_optarg ;;
1170 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1171 | --libexe | --libex | --libe)
1172 ac_prev=libexecdir ;;
1173 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1174 | --libexe=* | --libex=* | --libe=*)
1175 libexecdir=$ac_optarg ;;
1177 -localedir | --localedir | --localedi | --localed | --locale)
1178 ac_prev=localedir ;;
1179 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1180 localedir=$ac_optarg ;;
1182 -localstatedir | --localstatedir | --localstatedi | --localstated \
1183 | --localstate | --localstat | --localsta | --localst | --locals)
1184 ac_prev=localstatedir ;;
1185 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1186 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1187 localstatedir=$ac_optarg ;;
1189 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1191 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1192 mandir=$ac_optarg ;;
1194 -nfp | --nfp | --nf)
1195 # Obsolete; use --without-fp.
1198 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1199 | --no-cr | --no-c | -n)
1202 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1203 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1206 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1207 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1208 | --oldin | --oldi | --old | --ol | --o)
1209 ac_prev=oldincludedir ;;
1210 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1211 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1212 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1213 oldincludedir=$ac_optarg ;;
1215 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1217 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1218 prefix=$ac_optarg ;;
1220 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1221 | --program-pre | --program-pr | --program-p)
1222 ac_prev=program_prefix ;;
1223 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1224 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1225 program_prefix=$ac_optarg ;;
1227 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1228 | --program-suf | --program-su | --program-s)
1229 ac_prev=program_suffix ;;
1230 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1231 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1232 program_suffix=$ac_optarg ;;
1234 -program-transform-name | --program-transform-name \
1235 | --program-transform-nam | --program-transform-na \
1236 | --program-transform-n | --program-transform- \
1237 | --program-transform | --program-transfor \
1238 | --program-transfo | --program-transf \
1239 | --program-trans | --program-tran \
1240 | --progr-tra | --program-tr | --program-t)
1241 ac_prev=program_transform_name ;;
1242 -program-transform-name=* | --program-transform-name=* \
1243 | --program-transform-nam=* | --program-transform-na=* \
1244 | --program-transform-n=* | --program-transform-=* \
1245 | --program-transform=* | --program-transfor=* \
1246 | --program-transfo=* | --program-transf=* \
1247 | --program-trans=* | --program-tran=* \
1248 | --progr-tra=* | --program-tr=* | --program-t=*)
1249 program_transform_name=$ac_optarg ;;
1251 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1253 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1254 pdfdir=$ac_optarg ;;
1256 -psdir | --psdir | --psdi | --psd | --ps)
1258 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1261 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1262 | -silent | --silent | --silen | --sile | --sil)
1265 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1267 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1269 sbindir=$ac_optarg ;;
1271 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1272 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1273 | --sharedst | --shareds | --shared | --share | --shar \
1275 ac_prev=sharedstatedir ;;
1276 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1277 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1278 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1280 sharedstatedir=$ac_optarg ;;
1282 -site | --site | --sit)
1284 -site=* | --site=* | --sit=*)
1287 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1289 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1290 srcdir=$ac_optarg ;;
1292 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1293 | --syscon | --sysco | --sysc | --sys | --sy)
1294 ac_prev=sysconfdir ;;
1295 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1296 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1297 sysconfdir=$ac_optarg ;;
1299 -target | --target | --targe | --targ | --tar | --ta | --t)
1300 ac_prev=target_alias ;;
1301 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1302 target_alias=$ac_optarg ;;
1304 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1307 -version | --version | --versio | --versi | --vers | -V)
1308 ac_init_version=: ;;
1311 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1312 # Reject names that are not valid shell variable names.
1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1314 as_fn_error $? "invalid package name: $ac_useropt"
1315 ac_useropt_orig=$ac_useropt
1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1322 ac_unrecognized_sep=', ';;
1324 eval with_$ac_useropt=\$ac_optarg ;;
1326 -without-* | --without-*)
1327 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1328 # Reject names that are not valid shell variable names.
1329 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1330 as_fn_error $? "invalid package name: $ac_useropt"
1331 ac_useropt_orig=$ac_useropt
1332 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1333 case $ac_user_opts in
1337 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1338 ac_unrecognized_sep=', ';;
1340 eval with_$ac_useropt=no ;;
1343 # Obsolete; use --with-x.
1346 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1347 | --x-incl | --x-inc | --x-in | --x-i)
1348 ac_prev=x_includes ;;
1349 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1350 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1351 x_includes=$ac_optarg ;;
1353 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1354 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1355 ac_prev=x_libraries ;;
1356 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1357 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1358 x_libraries=$ac_optarg ;;
1360 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1361 Try \`$0 --help' for more information"
1365 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1366 # Reject names that are not valid shell variable names.
1367 case $ac_envvar in #(
1368 '' | [0-9]* | *[!_$as_cr_alnum]* )
1369 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1371 eval $ac_envvar=\$ac_optarg
1372 export $ac_envvar ;;
1375 # FIXME: should be removed in autoconf 3.0.
1376 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1377 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1378 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1379 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1385 if test -n "$ac_prev"; then
1386 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1387 as_fn_error $? "missing argument to $ac_option"
1390 if test -n "$ac_unrecognized_opts"; then
1391 case $enable_option_checking in
1393 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1394 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1398 # Check all directory arguments for consistency.
1399 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1400 datadir sysconfdir sharedstatedir localstatedir includedir \
1401 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1402 libdir localedir mandir
1404 eval ac_val=\$$ac_var
1405 # Remove trailing slashes.
1408 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1409 eval $ac_var=\$ac_val;;
1411 # Be sure to have absolute directory names.
1413 [\\/$]* | ?:[\\/]* ) continue;;
1414 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1416 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1419 # There might be people who depend on the old broken behavior: `$host'
1420 # used to hold the argument of --host etc.
1421 # FIXME: To remove some day.
1424 target=$target_alias
1426 # FIXME: To remove some day.
1427 if test "x$host_alias" != x; then
1428 if test "x$build_alias" = x; then
1429 cross_compiling=maybe
1430 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1431 If a cross compiler is detected then cross compile mode will be used" >&2
1432 elif test "x$build_alias" != "x$host_alias"; then
1438 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1440 test "$silent" = yes && exec 6>/dev/null
1443 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1444 ac_ls_di=`ls -di .` &&
1445 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1446 as_fn_error $? "working directory cannot be determined"
1447 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1448 as_fn_error $? "pwd does not report name of working directory"
1451 # Find the source files, if location was not specified.
1452 if test -z "$srcdir"; then
1453 ac_srcdir_defaulted=yes
1454 # Try the directory containing this script, then the parent directory.
1455 ac_confdir=`$as_dirname -- "$as_myself" ||
1456 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1457 X"$as_myself" : 'X\(//\)[^/]' \| \
1458 X"$as_myself" : 'X\(//\)$' \| \
1459 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1460 $as_echo X"$as_myself" |
1461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1479 if test ! -r "$srcdir/$ac_unique_file"; then
1483 ac_srcdir_defaulted=no
1485 if test ! -r "$srcdir/$ac_unique_file"; then
1486 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1487 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1489 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1491 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1493 # When building in place, set srcdir=.
1494 if test "$ac_abs_confdir" = "$ac_pwd"; then
1497 # Remove unnecessary trailing slashes from srcdir.
1498 # Double slashes in file names in object file debugging info
1499 # mess up M-x gdb in Emacs.
1501 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1503 for ac_var in $ac_precious_vars; do
1504 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1505 eval ac_env_${ac_var}_value=\$${ac_var}
1506 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1507 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1511 # Report the --help message.
1513 if test "$ac_init_help" = "long"; then
1514 # Omit some internal or obsolete options to make the list less imposing.
1515 # This message is too long to be a string in the A/UX 3.1 sh.
1517 \`configure' configures xmltooling 1.5.1 to adapt to many kinds of systems.
1519 Usage: $0 [OPTION]... [VAR=VALUE]...
1521 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1522 VAR=VALUE. See below for descriptions of some of the useful variables.
1524 Defaults for the options are specified in brackets.
1527 -h, --help display this help and exit
1528 --help=short display options specific to this package
1529 --help=recursive display the short help of all the included packages
1530 -V, --version display version information and exit
1531 -q, --quiet, --silent do not print \`checking ...' messages
1532 --cache-file=FILE cache test results in FILE [disabled]
1533 -C, --config-cache alias for \`--cache-file=config.cache'
1534 -n, --no-create do not create output files
1535 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1537 Installation directories:
1538 --prefix=PREFIX install architecture-independent files in PREFIX
1539 [$ac_default_prefix]
1540 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1543 By default, \`make install' will install all the files in
1544 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1545 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1546 for instance \`--prefix=\$HOME'.
1548 For better control, use the options below.
1550 Fine tuning of the installation directories:
1551 --bindir=DIR user executables [EPREFIX/bin]
1552 --sbindir=DIR system admin executables [EPREFIX/sbin]
1553 --libexecdir=DIR program executables [EPREFIX/libexec]
1554 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1555 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1556 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1557 --libdir=DIR object code libraries [EPREFIX/lib]
1558 --includedir=DIR C header files [PREFIX/include]
1559 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1560 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1561 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1562 --infodir=DIR info documentation [DATAROOTDIR/info]
1563 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1564 --mandir=DIR man documentation [DATAROOTDIR/man]
1565 --docdir=DIR documentation root [DATAROOTDIR/doc/xmltooling]
1566 --htmldir=DIR html documentation [DOCDIR]
1567 --dvidir=DIR dvi documentation [DOCDIR]
1568 --pdfdir=DIR pdf documentation [DOCDIR]
1569 --psdir=DIR ps documentation [DOCDIR]
1575 --program-prefix=PREFIX prepend PREFIX to installed program names
1576 --program-suffix=SUFFIX append SUFFIX to installed program names
1577 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1580 --build=BUILD configure for building on BUILD [guessed]
1581 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1585 if test -n "$ac_init_help"; then
1586 case $ac_init_help in
1587 short | recursive ) echo "Configuration of xmltooling 1.5.1:";;
1592 --disable-option-checking ignore unrecognized --enable/--with options
1593 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1594 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1595 --enable-static[=PKGS] build static libraries [default=no]
1596 --enable-shared[=PKGS] build shared libraries [default=yes]
1597 --enable-fast-install[=PKGS]
1598 optimize for fast installation [default=yes]
1599 --disable-dependency-tracking speeds up one-time build
1600 --enable-dependency-tracking do not reject slow dependency extractors
1601 --disable-libtool-lock avoid locking (might break parallel builds)
1602 --disable-doxygen-doc don't generate any doxygen documentation
1603 --enable-doxygen-dot generate graphics for doxygen documentation
1604 --enable-doxygen-man generate doxygen manual pages
1605 --enable-doxygen-rtf generate doxygen RTF documentation
1606 --enable-doxygen-xml generate doxygen XML documentation
1607 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1608 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1610 --disable-doxygen-html don't generate doxygen plain HTML documentation
1611 --enable-doxygen-ps generate doxygen PostScript documentation
1612 --enable-doxygen-pdf generate doxygen PDF documentation
1613 --enable-debug Have GCC compile with symbols (Default = no)
1616 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1617 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1618 --with-pic try to use only PIC/non-PIC objects [default=use
1620 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1621 --with-boost=DIR prefix of Boost [guess]
1622 --with-log4shib=PATH where log4shib-config is installed
1623 --with-log4cpp=PATH where log4cpp-config is installed
1624 --with-xerces=PATH where xerces-c is installed
1625 --with-xmlsec=PATH where xmlsec is installed
1626 --with-openssl=PATH where openssl is installed
1627 --with-curl=PATH where curl-config is installed
1628 --with-cxxtest=PATH where cxxtest is installed
1630 Some influential environment variables:
1631 CC C compiler command
1632 CFLAGS C compiler flags
1633 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1634 nonstandard directory <lib dir>
1635 LIBS libraries to pass to the linker, e.g. -l<library>
1636 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1637 you have headers in a nonstandard directory <include dir>
1640 a4wide (default), a4, letter, legal or executive
1641 CXX C++ compiler command
1642 CXXFLAGS C++ compiler flags
1643 CXXCPP C++ preprocessor
1644 BOOST_ROOT Location of Boost installation
1646 Use these variables to override the choices made by `configure' or to help
1647 it to find libraries and programs with nonstandard names/locations.
1649 Report bugs to <https://issues.shibboleth.net/>.
1654 if test "$ac_init_help" = "recursive"; then
1655 # If there are subdirs, report their specific --help.
1656 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1657 test -d "$ac_dir" ||
1658 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1665 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1666 # A ".." for each directory in $ac_dir_suffix.
1667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1668 case $ac_top_builddir_sub in
1669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1673 ac_abs_top_builddir=$ac_pwd
1674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1675 # for backward compatibility:
1676 ac_top_builddir=$ac_top_build_prefix
1679 .) # We are building in place.
1681 ac_top_srcdir=$ac_top_builddir_sub
1682 ac_abs_top_srcdir=$ac_pwd ;;
1683 [\\/]* | ?:[\\/]* ) # Absolute name.
1684 ac_srcdir=$srcdir$ac_dir_suffix;
1685 ac_top_srcdir=$srcdir
1686 ac_abs_top_srcdir=$srcdir ;;
1688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1689 ac_top_srcdir=$ac_top_build_prefix$srcdir
1690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1694 cd "$ac_dir" || { ac_status=$?; continue; }
1695 # Check for guested configure.
1696 if test -f "$ac_srcdir/configure.gnu"; then
1698 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1699 elif test -f "$ac_srcdir/configure"; then
1701 $SHELL "$ac_srcdir/configure" --help=recursive
1703 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1705 cd "$ac_pwd" || { ac_status=$?; break; }
1709 test -n "$ac_init_help" && exit $ac_status
1710 if $ac_init_version; then
1712 xmltooling configure 1.5.1
1713 generated by GNU Autoconf 2.67
1715 Copyright (C) 2010 Free Software Foundation, Inc.
1716 This configure script is free software; the Free Software Foundation
1717 gives unlimited permission to copy, distribute and modify it.
1722 ## ------------------------ ##
1723 ## Autoconf initialization. ##
1724 ## ------------------------ ##
1726 # ac_fn_c_try_compile LINENO
1727 # --------------------------
1728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1729 ac_fn_c_try_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext
1733 if { { ac_try="$ac_compile"
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_compile") 2>conftest.err
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest.$ac_objext; then :
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 as_fn_set_status $ac_retval
1762 } # ac_fn_c_try_compile
1764 # ac_fn_c_try_link LINENO
1765 # -----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded.
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext conftest$ac_exeext
1771 if { { ac_try="$ac_link"
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>conftest.err
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest$ac_exeext && {
1790 test "$cross_compiling" = yes ||
1791 $as_test_x conftest$ac_exeext
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1800 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802 # interfere with the next link command; also delete a directory that is
1803 # left behind by Apple's compiler. We do this before executing the actions.
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 as_fn_set_status $ac_retval
1808 } # ac_fn_c_try_link
1810 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1811 # -------------------------------------------------------
1812 # Tests whether HEADER exists and can be compiled using the include files in
1813 # INCLUDES, setting the cache variable VAR accordingly.
1814 ac_fn_c_check_header_compile ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818 $as_echo_n "checking for $2... " >&6; }
1819 if eval "test \"\${$3+set}\"" = set; then :
1820 $as_echo_n "(cached) " >&6
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1827 if ac_fn_c_try_compile "$LINENO"; then :
1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 } # ac_fn_c_check_header_compile
1841 # ac_fn_c_try_cpp LINENO
1842 # ----------------------
1843 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 if { { ac_try="$ac_cpp conftest.$ac_ext"
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } > conftest.i && {
1863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874 as_fn_set_status $ac_retval
1878 # ac_fn_c_try_run LINENO
1879 # ----------------------
1880 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1881 # that executables *can* be run.
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 if { { ac_try="$ac_link"
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_link") 2>&5
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1896 { { case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_try") 2>&5
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; }; }; then :
1908 $as_echo "$as_me: program exited with status $ac_status" >&5
1909 $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1912 ac_retval=$ac_status
1914 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916 as_fn_set_status $ac_retval
1920 # ac_fn_c_check_func LINENO FUNC VAR
1921 # ----------------------------------
1922 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1923 ac_fn_c_check_func ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927 $as_echo_n "checking for $2... " >&6; }
1928 if eval "test \"\${$3+set}\"" = set; then :
1929 $as_echo_n "(cached) " >&6
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1933 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1935 #define $2 innocuous_$2
1937 /* System header to define __stub macros and hopefully few prototypes,
1938 which can conflict with char $2 (); below.
1939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1940 <limits.h> exists even on freestanding compilers. */
1943 # include <limits.h>
1945 # include <assert.h>
1950 /* Override any GCC internal prototype to avoid an error.
1951 Use char because int might match the return type of a GCC
1952 builtin and then its argument prototype would still apply. */
1957 /* The GNU C library defines this for functions which it implements
1958 to always fail with ENOSYS. Some functions are actually named
1959 something starting with __ and the normal name is an alias. */
1960 #if defined __stub_$2 || defined __stub___$2
1972 if ac_fn_c_try_link "$LINENO"; then :
1977 rm -f core conftest.err conftest.$ac_objext \
1978 conftest$ac_exeext conftest.$ac_ext
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985 } # ac_fn_c_check_func
1987 # ac_fn_cxx_try_compile LINENO
1988 # ----------------------------
1989 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1990 ac_fn_cxx_try_compile ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 rm -f conftest.$ac_objext
1994 if { { ac_try="$ac_compile"
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_compile") 2>conftest.err
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } && {
2010 test -z "$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2012 } && test -s conftest.$ac_objext; then :
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2020 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2021 as_fn_set_status $ac_retval
2023 } # ac_fn_cxx_try_compile
2025 # ac_fn_cxx_try_cpp LINENO
2026 # ------------------------
2027 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_cpp ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 if { { ac_try="$ac_cpp conftest.$ac_ext"
2033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034 *) ac_try_echo=$ac_try;;
2036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037 $as_echo "$ac_try_echo"; } >&5
2038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2040 if test -s conftest.err; then
2041 grep -v '^ *+' conftest.err >conftest.er1
2042 cat conftest.er1 >&5
2043 mv -f conftest.er1 conftest.err
2045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2046 test $ac_status = 0; } > conftest.i && {
2047 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2048 test ! -s conftest.err
2052 $as_echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2058 as_fn_set_status $ac_retval
2060 } # ac_fn_cxx_try_cpp
2062 # ac_fn_cxx_try_link LINENO
2063 # -------------------------
2064 # Try to link conftest.$ac_ext, and return whether this succeeded.
2065 ac_fn_cxx_try_link ()
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 rm -f conftest.$ac_objext conftest$ac_exeext
2069 if { { ac_try="$ac_link"
2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072 *) ac_try_echo=$ac_try;;
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_link") 2>conftest.err
2078 if test -s conftest.err; then
2079 grep -v '^ *+' conftest.err >conftest.er1
2080 cat conftest.er1 >&5
2081 mv -f conftest.er1 conftest.err
2083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084 test $ac_status = 0; } && {
2085 test -z "$ac_cxx_werror_flag" ||
2086 test ! -s conftest.err
2087 } && test -s conftest$ac_exeext && {
2088 test "$cross_compiling" = yes ||
2089 $as_test_x conftest$ac_exeext
2093 $as_echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.$ac_ext >&5
2098 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2099 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2100 # interfere with the next link command; also delete a directory that is
2101 # left behind by Apple's compiler. We do this before executing the actions.
2102 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2103 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2104 as_fn_set_status $ac_retval
2106 } # ac_fn_cxx_try_link
2108 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2109 # -------------------------------------------
2110 # Tests whether TYPE exists after having included INCLUDES, setting cache
2111 # variable VAR accordingly.
2112 ac_fn_c_check_type ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if eval "test \"\${$3+set}\"" = set; then :
2118 $as_echo_n "(cached) " >&6
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2133 if ac_fn_c_try_compile "$LINENO"; then :
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2146 if ac_fn_c_try_compile "$LINENO"; then :
2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160 } # ac_fn_c_check_type
2162 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2163 # --------------------------------------------
2164 # Tries to find the compile-time value of EXPR in a program that includes
2165 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2167 ac_fn_c_compute_int ()
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 if test "$cross_compiling" = yes; then
2171 # Depending upon the size, compute the lo and hi bounds.
2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h. */
2178 static int test_array [1 - 2 * !(($2) >= 0)];
2185 if ac_fn_c_try_compile "$LINENO"; then :
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2194 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2201 if ac_fn_c_try_compile "$LINENO"; then :
2202 ac_hi=$ac_mid; break
2204 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2205 if test $ac_lo -le $ac_mid; then
2209 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2220 static int test_array [1 - 2 * !(($2) < 0)];
2227 if ac_fn_c_try_compile "$LINENO"; then :
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2236 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2243 if ac_fn_c_try_compile "$LINENO"; then :
2244 ac_lo=$ac_mid; break
2246 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2247 if test $ac_mid -le $ac_hi; then
2251 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2261 # Binary search between lo and hi bounds.
2262 while test "x$ac_lo" != "x$ac_hi"; do
2263 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2270 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2277 if ac_fn_c_try_compile "$LINENO"; then :
2280 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2285 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2290 /* end confdefs.h. */
2292 static long int longval () { return $2; }
2293 static unsigned long int ulongval () { return $2; }
2300 FILE *f = fopen ("conftest.val", "w");
2305 long int i = longval ();
2308 fprintf (f, "%ld", i);
2312 unsigned long int i = ulongval ();
2315 fprintf (f, "%lu", i);
2317 /* Do not output a trailing newline, as this causes \r\n confusion
2318 on some platforms. */
2319 return ferror (f) || fclose (f) != 0;
2325 if ac_fn_c_try_run "$LINENO"; then :
2326 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2331 conftest.$ac_objext conftest.beam conftest.$ac_ext
2335 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2336 as_fn_set_status $ac_retval
2338 } # ac_fn_c_compute_int
2340 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2341 # -------------------------------------------------------
2342 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2343 # the include files in INCLUDES and setting the cache variable VAR
2345 ac_fn_c_check_header_mongrel ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 if eval "test \"\${$3+set}\"" = set; then :
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2350 $as_echo_n "checking for $2... " >&6; }
2351 if eval "test \"\${$3+set}\"" = set; then :
2352 $as_echo_n "(cached) " >&6
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2356 $as_echo "$ac_res" >&6; }
2358 # Is the header compilable?
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2360 $as_echo_n "checking $2 usability... " >&6; }
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2366 if ac_fn_c_try_compile "$LINENO"; then :
2367 ac_header_compiler=yes
2369 ac_header_compiler=no
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2373 $as_echo "$ac_header_compiler" >&6; }
2375 # Is the header present?
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2377 $as_echo_n "checking $2 presence... " >&6; }
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2382 if ac_fn_c_try_cpp "$LINENO"; then :
2383 ac_header_preproc=yes
2385 ac_header_preproc=no
2387 rm -f conftest.err conftest.i conftest.$ac_ext
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2389 $as_echo "$ac_header_preproc" >&6; }
2391 # So? What about this header?
2392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2395 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2397 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2401 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2403 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2405 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2407 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2409 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2410 ( $as_echo "## --------------------------------------------- ##
2411 ## Report this to https://issues.shibboleth.net/ ##
2412 ## --------------------------------------------- ##"
2413 ) | sed "s/^/$as_me: WARNING: /" >&2
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2417 $as_echo_n "checking for $2... " >&6; }
2418 if eval "test \"\${$3+set}\"" = set; then :
2419 $as_echo_n "(cached) " >&6
2421 eval "$3=\$ac_header_compiler"
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2425 $as_echo "$ac_res" >&6; }
2427 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2429 } # ac_fn_c_check_header_mongrel
2431 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2432 # ---------------------------------------------------------
2433 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2434 # the include files in INCLUDES and setting the cache variable VAR
2436 ac_fn_cxx_check_header_mongrel ()
2438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2439 if eval "test \"\${$3+set}\"" = set; then :
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2441 $as_echo_n "checking for $2... " >&6; }
2442 if eval "test \"\${$3+set}\"" = set; then :
2443 $as_echo_n "(cached) " >&6
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2447 $as_echo "$ac_res" >&6; }
2449 # Is the header compilable?
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2451 $as_echo_n "checking $2 usability... " >&6; }
2452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2453 /* end confdefs.h. */
2457 if ac_fn_cxx_try_compile "$LINENO"; then :
2458 ac_header_compiler=yes
2460 ac_header_compiler=no
2462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2464 $as_echo "$ac_header_compiler" >&6; }
2466 # Is the header present?
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2468 $as_echo_n "checking $2 presence... " >&6; }
2469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2473 if ac_fn_cxx_try_cpp "$LINENO"; then :
2474 ac_header_preproc=yes
2476 ac_header_preproc=no
2478 rm -f conftest.err conftest.i conftest.$ac_ext
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2480 $as_echo "$ac_header_preproc" >&6; }
2482 # So? What about this header?
2483 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2486 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2488 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2492 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2494 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2496 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2498 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2500 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2501 ( $as_echo "## --------------------------------------------- ##
2502 ## Report this to https://issues.shibboleth.net/ ##
2503 ## --------------------------------------------- ##"
2504 ) | sed "s/^/$as_me: WARNING: /" >&2
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2508 $as_echo_n "checking for $2... " >&6; }
2509 if eval "test \"\${$3+set}\"" = set; then :
2510 $as_echo_n "(cached) " >&6
2512 eval "$3=\$ac_header_compiler"
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2516 $as_echo "$ac_res" >&6; }
2518 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2520 } # ac_fn_cxx_check_header_mongrel
2522 # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
2523 # -----------------------------------------------
2524 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2526 ac_fn_cxx_check_decl ()
2528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 as_decl_name=`echo $2|sed 's/ *(.*//'`
2530 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2532 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2533 if eval "test \"\${$3+set}\"" = set; then :
2534 $as_echo_n "(cached) " >&6
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2542 #ifndef $as_decl_name
2544 (void) $as_decl_use;
2546 (void) $as_decl_name;
2554 if ac_fn_cxx_try_compile "$LINENO"; then :
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2566 } # ac_fn_cxx_check_decl
2568 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2569 # ---------------------------------------------
2570 # Tests whether TYPE exists after having included INCLUDES, setting cache
2571 # variable VAR accordingly.
2572 ac_fn_cxx_check_type ()
2574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2576 $as_echo_n "checking for $2... " >&6; }
2577 if eval "test \"\${$3+set}\"" = set; then :
2578 $as_echo_n "(cached) " >&6
2581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582 /* end confdefs.h. */
2593 if ac_fn_cxx_try_compile "$LINENO"; then :
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2606 if ac_fn_cxx_try_compile "$LINENO"; then :
2611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2617 $as_echo "$ac_res" >&6; }
2618 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2620 } # ac_fn_cxx_check_type
2621 cat >config.log <<_ACEOF
2622 This file contains any messages produced by compilers while
2623 running configure, to aid debugging if configure makes a mistake.
2625 It was created by xmltooling $as_me 1.5.1, which was
2626 generated by GNU Autoconf 2.67. Invocation command line was
2638 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2639 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2640 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2641 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2642 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2644 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2645 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2647 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2648 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2649 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2650 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2651 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2652 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2653 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir=.
2662 $as_echo "PATH: $as_dir"
2678 # Keep a trace of the command line.
2679 # Strip out --no-create and --no-recursion so they do not pile up.
2680 # Strip out --silent because we don't want to record it for future runs.
2681 # Also quote any args containing shell meta-characters.
2682 # Make two passes to allow for proper duplicate-argument suppression.
2686 ac_must_keep_next=false
2692 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2694 | -silent | --silent | --silen | --sile | --sil)
2697 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2700 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2702 as_fn_append ac_configure_args1 " '$ac_arg'"
2703 if test $ac_must_keep_next = true; then
2704 ac_must_keep_next=false # Got value, back to normal.
2707 *=* | --config-cache | -C | -disable-* | --disable-* \
2708 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2709 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2710 | -with-* | --with-* | -without-* | --without-* | --x)
2711 case "$ac_configure_args0 " in
2712 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2715 -* ) ac_must_keep_next=true ;;
2718 as_fn_append ac_configure_args " '$ac_arg'"
2723 { ac_configure_args0=; unset ac_configure_args0;}
2724 { ac_configure_args1=; unset ac_configure_args1;}
2726 # When interrupted or exit'd, cleanup temporary files, and complete
2727 # config.log. We remove comments because anyway the quotes in there
2728 # would cause problems or look ugly.
2729 # WARNING: Use '\'' to represent an apostrophe within the trap.
2730 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2731 trap 'exit_status=$?
2732 # Save into config.log some information that might help in debugging.
2736 $as_echo "## ---------------- ##
2737 ## Cache variables. ##
2738 ## ---------------- ##"
2740 # The following way of writing the cache mishandles newlines in values,
2742 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2743 eval ac_val=\$$ac_var
2747 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2748 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2751 _ | IFS | as_nl) ;; #(
2752 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2753 *) { eval $ac_var=; unset $ac_var;} ;;
2758 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2759 *${as_nl}ac_space=\ *)
2761 "s/'\''/'\''\\\\'\'''\''/g;
2762 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2765 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2772 $as_echo "## ----------------- ##
2773 ## Output variables. ##
2774 ## ----------------- ##"
2776 for ac_var in $ac_subst_vars
2778 eval ac_val=\$$ac_var
2780 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2782 $as_echo "$ac_var='\''$ac_val'\''"
2786 if test -n "$ac_subst_files"; then
2787 $as_echo "## ------------------- ##
2788 ## File substitutions. ##
2789 ## ------------------- ##"
2791 for ac_var in $ac_subst_files
2793 eval ac_val=\$$ac_var
2795 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2797 $as_echo "$ac_var='\''$ac_val'\''"
2802 if test -s confdefs.h; then
2803 $as_echo "## ----------- ##
2810 test "$ac_signal" != 0 &&
2811 $as_echo "$as_me: caught signal $ac_signal"
2812 $as_echo "$as_me: exit $exit_status"
2814 rm -f core *.core core.conftest.* &&
2815 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2818 for ac_signal in 1 2 13 15; do
2819 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2823 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2824 rm -f -r conftest* confdefs.h
2826 $as_echo "/* confdefs.h */" > confdefs.h
2828 # Predefined preprocessor variables.
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE_NAME "$PACKAGE_NAME"
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_STRING "$PACKAGE_STRING"
2846 cat >>confdefs.h <<_ACEOF
2847 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2850 cat >>confdefs.h <<_ACEOF
2851 #define PACKAGE_URL "$PACKAGE_URL"
2855 # Let the site file select an alternate cache file if it wants to.
2856 # Prefer an explicitly selected file to automatically selected ones.
2859 if test -n "$CONFIG_SITE"; then
2860 # We do not want a PATH search for config.site.
2861 case $CONFIG_SITE in #((
2862 -*) ac_site_file1=./$CONFIG_SITE;;
2863 */*) ac_site_file1=$CONFIG_SITE;;
2864 *) ac_site_file1=./$CONFIG_SITE;;
2866 elif test "x$prefix" != xNONE; then
2867 ac_site_file1=$prefix/share/config.site
2868 ac_site_file2=$prefix/etc/config.site
2870 ac_site_file1=$ac_default_prefix/share/config.site
2871 ac_site_file2=$ac_default_prefix/etc/config.site
2873 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2875 test "x$ac_site_file" = xNONE && continue
2876 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2878 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2879 sed 's/^/| /' "$ac_site_file" >&5
2881 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2883 as_fn_error $? "failed to load site script $ac_site_file
2884 See \`config.log' for more details" "$LINENO" 5 ; }
2888 if test -r "$cache_file"; then
2889 # Some versions of bash will fail to source /dev/null (special files
2890 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2891 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2893 $as_echo "$as_me: loading cache $cache_file" >&6;}
2895 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2896 *) . "./$cache_file";;
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2901 $as_echo "$as_me: creating cache $cache_file" >&6;}
2905 # Check that the precious variables saved in the cache have kept the same
2907 ac_cache_corrupted=false
2908 for ac_var in $ac_precious_vars; do
2909 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2910 eval ac_new_set=\$ac_env_${ac_var}_set
2911 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2912 eval ac_new_val=\$ac_env_${ac_var}_value
2913 case $ac_old_set,$ac_new_set in
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2916 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2917 ac_cache_corrupted=: ;;
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2920 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2921 ac_cache_corrupted=: ;;
2924 if test "x$ac_old_val" != "x$ac_new_val"; then
2925 # differences in whitespace do not lead to failure.
2926 ac_old_val_w=`echo x $ac_old_val`
2927 ac_new_val_w=`echo x $ac_new_val`
2928 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2930 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2931 ac_cache_corrupted=:
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2934 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2935 eval $ac_var=\$ac_old_val
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2938 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2940 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2943 # Pass precious variables to config.status.
2944 if test "$ac_new_set" = set; then
2946 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2947 *) ac_arg=$ac_var=$ac_new_val ;;
2949 case " $ac_configure_args " in
2950 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2951 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2955 if $ac_cache_corrupted; then
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2959 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2960 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2962 ## -------------------- ##
2963 ## Main body of script. ##
2964 ## -------------------- ##
2967 ac_cpp='$CPP $CPPFLAGS'
2968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2975 for ac_dir in build-aux "$srcdir"/build-aux; do
2976 if test -f "$ac_dir/install-sh"; then
2978 ac_install_sh="$ac_aux_dir/install-sh -c"
2980 elif test -f "$ac_dir/install.sh"; then
2982 ac_install_sh="$ac_aux_dir/install.sh -c"
2984 elif test -f "$ac_dir/shtool"; then
2986 ac_install_sh="$ac_aux_dir/shtool install -c"
2990 if test -z "$ac_aux_dir"; then
2991 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2994 # These three variables are undocumented and unsupported,
2995 # and are intended to be withdrawn in a future Autoconf release.
2996 # They can cause serious problems if a builder's source tree is in a directory
2997 # whose full name contains unusual characters.
2998 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2999 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3000 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3004 am__api_version='1.11'
3006 # Find a good install program. We prefer a C program (faster),
3007 # so one script is as good as another. But avoid the broken or
3008 # incompatible versions:
3009 # SysV /etc/install, /usr/sbin/install
3010 # SunOS /usr/etc/install
3011 # IRIX /sbin/install
3013 # AmigaOS /C/install, which installs bootblocks on floppy discs
3014 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3015 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3016 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3017 # OS/2's system install, which has a completely different semantic
3018 # ./install, which can be erroneously created by make from ./install.sh.
3019 # Reject install programs that cannot install multiple files.
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3021 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3022 if test -z "$INSTALL"; then
3023 if test "${ac_cv_path_install+set}" = set; then :
3024 $as_echo_n "(cached) " >&6
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 # Account for people who put trailing slashes in PATH elements.
3032 case $as_dir/ in #((
3033 ./ | .// | /[cC]/* | \
3034 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3035 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3038 # OSF1 and SCO ODT 3.0 have their own names for install.
3039 # Don't use installbsd from OSF since it installs stuff as root
3041 for ac_prog in ginstall scoinst install; do
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3044 if test $ac_prog = install &&
3045 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3046 # AIX install. It has an incompatible calling convention.
3048 elif test $ac_prog = install &&
3049 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3050 # program-specific install script used by HP pwplus--don't use.
3053 rm -rf conftest.one conftest.two conftest.dir
3054 echo one > conftest.one
3055 echo two > conftest.two
3057 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3058 test -s conftest.one && test -s conftest.two &&
3059 test -s conftest.dir/conftest.one &&
3060 test -s conftest.dir/conftest.two
3062 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3075 rm -rf conftest.one conftest.two conftest.dir
3078 if test "${ac_cv_path_install+set}" = set; then
3079 INSTALL=$ac_cv_path_install
3081 # As a last resort, use the slow shell script. Don't cache a
3082 # value for INSTALL within a source directory, because that will
3083 # break other packages using the cache if that directory is
3084 # removed, or if the value is a relative name.
3085 INSTALL=$ac_install_sh
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3089 $as_echo "$INSTALL" >&6; }
3091 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3092 # It thinks the first close brace ends the variable substitution.
3093 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3095 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3097 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3100 $as_echo_n "checking whether build environment is sane... " >&6; }
3103 echo timestamp > conftest.file
3104 # Reject unsafe characters in $srcdir or the absolute working directory
3105 # name. Accept space and tab only in the latter.
3109 *[\\\"\#\$\&\'\`$am_lf]*)
3110 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3113 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3114 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3117 # Do `set' in a subshell so we don't clobber the current shell's
3118 # arguments. Must try -L first in case configure is actually a
3119 # symlink; some systems play weird games with the mod time of symlinks
3120 # (eg FreeBSD returns the mod time of the symlink's containing
3123 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3124 if test "$*" = "X"; then
3126 set X `ls -t "$srcdir/configure" conftest.file`
3129 if test "$*" != "X $srcdir/configure conftest.file" \
3130 && test "$*" != "X conftest.file $srcdir/configure"; then
3132 # If neither matched, then we have a broken ls. This can happen
3133 # if, for instance, CONFIG_SHELL is bash and it inherits a
3134 # broken ls alias from the environment. This has actually
3135 # happened. Such a system could not be considered "sane".
3136 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3137 alias in your environment" "$LINENO" 5
3140 test "$2" = conftest.file
3146 as_fn_error $? "newly created file is older than distributed files!
3147 Check your system clock" "$LINENO" 5
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3150 $as_echo "yes" >&6; }
3151 test "$program_prefix" != NONE &&
3152 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3153 # Use a double $ so make ignores it.
3154 test "$program_suffix" != NONE &&
3155 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3156 # Double any \ or $.
3157 # By default was `s,x,x', remove it if useless.
3158 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3159 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3161 # expand $ac_aux_dir to an absolute path
3162 am_aux_dir=`cd $ac_aux_dir && pwd`
3164 if test x"${MISSING+set}" != xset; then
3167 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3169 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3172 # Use eval to expand $SHELL
3173 if eval "$MISSING --run true"; then
3174 am_missing_run="$MISSING --run "
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3178 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3181 if test x"${install_sh}" != xset; then
3184 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3186 install_sh="\${SHELL} $am_aux_dir/install-sh"
3190 # Installed binaries are usually stripped using `strip' when the user
3191 # run `make install-strip'. However `strip' might not be the right
3192 # tool to use in cross-compilation environments, therefore Automake
3193 # will honor the `STRIP' environment variable to overrule this program.
3194 if test "$cross_compiling" != no; then
3195 if test -n "$ac_tool_prefix"; then
3196 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3197 set dummy ${ac_tool_prefix}strip; ac_word=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if test "${ac_cv_prog_STRIP+set}" = set; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$STRIP"; then
3204 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 STRIP=$ac_cv_prog_STRIP
3224 if test -n "$STRIP"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3226 $as_echo "$STRIP" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3234 if test -z "$ac_cv_prog_STRIP"; then
3236 # Extract the first word of "strip", so it can be a program name with args.
3237 set dummy strip; ac_word=$2
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$ac_ct_STRIP"; then
3244 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 test -z "$as_dir" && as_dir=.
3251 for ac_exec_ext in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_ac_ct_STRIP="strip"
3254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3264 if test -n "$ac_ct_STRIP"; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3266 $as_echo "$ac_ct_STRIP" >&6; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3272 if test "x$ac_ct_STRIP" = x; then
3275 case $cross_compiling:$ac_tool_warned in
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3279 ac_tool_warned=yes ;;
3284 STRIP="$ac_cv_prog_STRIP"
3288 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3291 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3292 if test -z "$MKDIR_P"; then
3293 if test "${ac_cv_path_mkdir+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3300 test -z "$as_dir" && as_dir=.
3301 for ac_prog in mkdir gmkdir; do
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3304 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3305 'mkdir (GNU coreutils) '* | \
3306 'mkdir (coreutils) '* | \
3307 'mkdir (fileutils) '4.1*)
3308 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3318 test -d ./--version && rmdir ./--version
3319 if test "${ac_cv_path_mkdir+set}" = set; then
3320 MKDIR_P="$ac_cv_path_mkdir -p"
3322 # As a last resort, use the slow shell script. Don't cache a
3323 # value for MKDIR_P within a source directory, because that will
3324 # break other packages using the cache if that directory is
3325 # removed, or if the value is a relative name.
3326 MKDIR_P="$ac_install_sh -d"
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3330 $as_echo "$MKDIR_P" >&6; }
3334 [\\/$]* | ?:[\\/]*) ;;
3335 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3338 for ac_prog in gawk mawk nawk awk
3340 # Extract the first word of "$ac_prog", so it can be a program name with args.
3341 set dummy $ac_prog; ac_word=$2
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 $as_echo_n "checking for $ac_word... " >&6; }
3344 if test "${ac_cv_prog_AWK+set}" = set; then :
3345 $as_echo_n "(cached) " >&6
3347 if test -n "$AWK"; then
3348 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357 ac_cv_prog_AWK="$ac_prog"
3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 if test -n "$AWK"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3370 $as_echo "$AWK" >&6; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3377 test -n "$AWK" && break
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3381 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3383 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3384 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3385 $as_echo_n "(cached) " >&6
3387 cat >conftest.make <<\_ACEOF
3390 @echo '@@@%%%=$(MAKE)=@@@%%%'
3392 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3393 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3395 eval ac_cv_prog_make_${ac_make}_set=yes;;
3397 eval ac_cv_prog_make_${ac_make}_set=no;;
3401 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3403 $as_echo "yes" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3408 SET_MAKE="MAKE=${MAKE-make}"
3411 rm -rf .tst 2>/dev/null
3412 mkdir .tst 2>/dev/null
3413 if test -d .tst; then
3418 rmdir .tst 2>/dev/null
3420 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3421 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3422 # is not polluted with repeated "-I."
3423 am__isrc=' -I$(srcdir)'
3424 # test to see if srcdir already configured
3425 if test -f $srcdir/config.status; then
3426 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3430 # test whether we have cygpath
3431 if test -z "$CYGPATH_W"; then
3432 if (cygpath --version) >/dev/null 2>/dev/null; then
3433 CYGPATH_W='cygpath -w'
3440 # Define the identity of the package.
3441 PACKAGE='xmltooling'
3445 cat >>confdefs.h <<_ACEOF
3446 #define PACKAGE "$PACKAGE"
3450 cat >>confdefs.h <<_ACEOF
3451 #define VERSION "$VERSION"
3454 # Some tools Automake needs.
3456 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3459 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3462 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3465 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3468 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3470 # We need awk for the "check" target. The system "awk" is bad on
3472 # Always define AMTAR for backward compatibility.
3474 AMTAR=${AMTAR-"${am_missing_run}tar"}
3476 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3482 # Check whether --enable-static was given.
3483 if test "${enable_static+set}" = set; then :
3484 enableval=$enable_static; p=${PACKAGE-default}
3486 yes) enable_static=yes ;;
3487 no) enable_static=no ;;
3490 # Look at the argument we got. We use all the common list separators.
3491 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3492 for pkg in $enableval; do
3494 if test "X$pkg" = "X$p"; then
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3516 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3521 macro_version='2.2.6b'
3522 macro_revision='1.3017'
3536 ltmain="$ac_aux_dir/ltmain.sh"
3538 # Make sure we can run config.sub.
3539 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3540 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3543 $as_echo_n "checking build system type... " >&6; }
3544 if test "${ac_cv_build+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 ac_build_alias=$build_alias
3548 test "x$ac_build_alias" = x &&
3549 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3550 test "x$ac_build_alias" = x &&
3551 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3552 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3553 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3557 $as_echo "$ac_cv_build" >&6; }
3558 case $ac_cv_build in
3560 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3563 ac_save_IFS=$IFS; IFS='-'
3569 # Remember, the first character of IFS is used to create $*,
3570 # except with old shells:
3573 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3577 $as_echo_n "checking host system type... " >&6; }
3578 if test "${ac_cv_host+set}" = set; then :
3579 $as_echo_n "(cached) " >&6
3581 if test "x$host_alias" = x; then
3582 ac_cv_host=$ac_cv_build
3584 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3585 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3590 $as_echo "$ac_cv_host" >&6; }
3593 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3596 ac_save_IFS=$IFS; IFS='-'
3602 # Remember, the first character of IFS is used to create $*,
3603 # except with old shells:
3606 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3609 DEPDIR="${am__leading_dot}deps"
3611 ac_config_commands="$ac_config_commands depfiles"
3614 am_make=${MAKE-make}
3615 cat > confinc << 'END'
3617 @echo this is the am__doit target
3620 # If we don't find an include directive, just comment out the code.
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3622 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3626 # First try GNU make style include.
3627 echo "include confinc" > confmf
3628 # Ignore all kinds of additional output from `make'.
3629 case `$am_make -s -f confmf 2> /dev/null` in #(
3630 *the\ am__doit\ target*)
3636 # Now try BSD make style include.
3637 if test "$am__include" = "#"; then
3638 echo '.include "confinc"' > confmf
3639 case `$am_make -s -f confmf 2> /dev/null` in #(
3640 *the\ am__doit\ target*)
3641 am__include=.include
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3650 $as_echo "$_am_result" >&6; }
3651 rm -f confinc confmf
3653 # Check whether --enable-dependency-tracking was given.
3654 if test "${enable_dependency_tracking+set}" = set; then :
3655 enableval=$enable_dependency_tracking;
3658 if test "x$enable_dependency_tracking" != xno; then
3659 am_depcomp="$ac_aux_dir/depcomp"
3662 if test "x$enable_dependency_tracking" != xno; then
3672 ac_cpp='$CPP $CPPFLAGS'
3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676 if test -n "$ac_tool_prefix"; then
3677 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3678 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_CC+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3684 if test -n "$CC"; then
3685 ac_cv_prog_CC="$CC" # Let the user override the test.
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 if test -n "$CC"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3707 $as_echo "$CC" >&6; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3715 if test -z "$ac_cv_prog_CC"; then
3717 # Extract the first word of "gcc", so it can be a program name with args.
3718 set dummy gcc; ac_word=$2
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3722 $as_echo_n "(cached) " >&6
3724 if test -n "$ac_ct_CC"; then
3725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir=.
3732 for ac_exec_ext in '' $ac_executable_extensions; do
3733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734 ac_cv_prog_ac_ct_CC="gcc"
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3745 if test -n "$ac_ct_CC"; then
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3747 $as_echo "$ac_ct_CC" >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3753 if test "x$ac_ct_CC" = x; then
3756 case $cross_compiling:$ac_tool_warned in
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3760 ac_tool_warned=yes ;;
3768 if test -z "$CC"; then
3769 if test -n "$ac_tool_prefix"; then
3770 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3771 set dummy ${ac_tool_prefix}cc; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if test "${ac_cv_prog_CC+set}" = set; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$CC"; then
3778 ac_cv_prog_CC="$CC" # Let the user override the test.
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3787 ac_cv_prog_CC="${ac_tool_prefix}cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 if test -n "$CC"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3800 $as_echo "$CC" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3809 if test -z "$CC"; then
3810 # Extract the first word of "cc", so it can be a program name with args.
3811 set dummy cc; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if test "${ac_cv_prog_CC+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC="$CC" # Let the user override the test.
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3828 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3829 ac_prog_rejected=yes
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test $ac_prog_rejected = yes; then
3841 # We found a bogon in the path, so make sure we never use it.
3842 set dummy $ac_cv_prog_CC
3844 if test $# != 0; then
3845 # We chose a different compiler from the bogus one.
3846 # However, it has the same basename, so the bogon will be chosen
3847 # first if we set CC to just the basename; use the full file name.
3849 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3865 if test -z "$CC"; then
3866 if test -n "$ac_tool_prefix"; then
3867 for ac_prog in cl.exe
3869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_CC+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$CC"; then
3877 ac_cv_prog_CC="$CC" # Let the user override the test.
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 if test -n "$CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3899 $as_echo "$CC" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3906 test -n "$CC" && break
3909 if test -z "$CC"; then
3911 for ac_prog in cl.exe
3913 # Extract the first word of "$ac_prog", so it can be a program name with args.
3914 set dummy $ac_prog; ac_word=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3918 $as_echo_n "(cached) " >&6
3920 if test -n "$ac_ct_CC"; then
3921 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3930 ac_cv_prog_ac_ct_CC="$ac_prog"
3931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3941 if test -n "$ac_ct_CC"; then
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3943 $as_echo "$ac_ct_CC" >&6; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3950 test -n "$ac_ct_CC" && break
3953 if test "x$ac_ct_CC" = x; then
3956 case $cross_compiling:$ac_tool_warned in
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3960 ac_tool_warned=yes ;;
3969 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3971 as_fn_error $? "no acceptable C compiler found in \$PATH
3972 See \`config.log' for more details" "$LINENO" 5 ; }
3974 # Provide some information about the compiler.
3975 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3978 for ac_option in --version -v -V -qversion; do
3979 { { ac_try="$ac_compiler $ac_option >&5"
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3988 if test -s conftest.err; then
3990 ... rest of stderr output deleted ...
3991 10q' conftest.err >conftest.er1
3992 cat conftest.er1 >&5
3994 rm -f conftest.er1 conftest.err
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4010 ac_clean_files_save=$ac_clean_files
4011 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4012 # Try to create an executable without -o first, disregard a.out.
4013 # It will help us diagnose broken compilers, and finding out an intuition
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4016 $as_echo_n "checking whether the C compiler works... " >&6; }
4017 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4019 # The possible output files:
4020 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4023 for ac_file in $ac_files
4026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4027 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4032 if { { ac_try="$ac_link_default"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link_default") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4044 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4045 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4046 # so that the user can short-circuit this test for compilers unknown to
4048 for ac_file in $ac_files ''
4050 test -f "$ac_file" || continue
4052 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4055 # We found the default executable, but exeext='' is most
4059 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4061 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4063 # We set ac_cv_exeext here because the later test for it is not
4064 # safe: cross compilers may not add the suffix if given an `-o'
4065 # argument, so we may need to know it at that point already.
4066 # Even if this section looks crufty: it has the advantage of
4073 test "$ac_cv_exeext" = no && ac_cv_exeext=
4078 if test -z "$ac_file"; then :
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4081 $as_echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.$ac_ext >&5
4084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 as_fn_error 77 "C compiler cannot create executables
4087 See \`config.log' for more details" "$LINENO" 5 ; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4090 $as_echo "yes" >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4093 $as_echo_n "checking for C compiler default output file name... " >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4095 $as_echo "$ac_file" >&6; }
4096 ac_exeext=$ac_cv_exeext
4098 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4099 ac_clean_files=$ac_clean_files_save
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4101 $as_echo_n "checking for suffix of executables... " >&6; }
4102 if { { ac_try="$ac_link"
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_link") 2>&5
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4114 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4115 # work properly (i.e., refer to `conftest.exe'), while it won't with
4117 for ac_file in conftest.exe conftest conftest.*; do
4118 test -f "$ac_file" || continue
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4121 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4129 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4130 See \`config.log' for more details" "$LINENO" 5 ; }
4132 rm -f conftest conftest$ac_cv_exeext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4134 $as_echo "$ac_cv_exeext" >&6; }
4136 rm -f conftest.$ac_ext
4137 EXEEXT=$ac_cv_exeext
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4145 FILE *f = fopen ("conftest.out", "w");
4146 return ferror (f) || fclose (f) != 0;
4152 ac_clean_files="$ac_clean_files conftest.out"
4153 # Check that the compiler produces executables we can run. If not, either
4154 # the compiler is broken, or we cross compile.
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4156 $as_echo_n "checking whether we are cross compiling... " >&6; }
4157 if test "$cross_compiling" != yes; then
4158 { { ac_try="$ac_link"
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4164 $as_echo "$ac_try_echo"; } >&5
4165 (eval "$ac_link") 2>&5
4167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4168 test $ac_status = 0; }
4169 if { ac_try='./conftest$ac_cv_exeext'
4170 { { case "(($ac_try" in
4171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4175 $as_echo "$ac_try_echo"; } >&5
4176 (eval "$ac_try") 2>&5
4178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4179 test $ac_status = 0; }; }; then
4182 if test "$cross_compiling" = maybe; then
4185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4187 as_fn_error $? "cannot run C compiled programs.
4188 If you meant to cross compile, use \`--host'.
4189 See \`config.log' for more details" "$LINENO" 5 ; }
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4194 $as_echo "$cross_compiling" >&6; }
4196 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4197 ac_clean_files=$ac_clean_files_save
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4199 $as_echo_n "checking for suffix of object files... " >&6; }
4200 if test "${ac_cv_objext+set}" = set; then :
4201 $as_echo_n "(cached) " >&6
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4214 rm -f conftest.o conftest.obj
4215 if { { ac_try="$ac_compile"
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4221 $as_echo "$ac_try_echo"; } >&5
4222 (eval "$ac_compile") 2>&5
4224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4225 test $ac_status = 0; }; then :
4226 for ac_file in conftest.o conftest.obj conftest.*; do
4227 test -f "$ac_file" || continue;
4229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4230 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4235 $as_echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error $? "cannot compute suffix of object files: cannot compile
4241 See \`config.log' for more details" "$LINENO" 5 ; }
4243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4246 $as_echo "$ac_cv_objext" >&6; }
4247 OBJEXT=$ac_cv_objext
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4250 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4251 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4252 $as_echo_n "(cached) " >&6
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4268 if ac_fn_c_try_compile "$LINENO"; then :
4273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4278 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4279 if test $ac_compiler_gnu = yes; then
4284 ac_test_CFLAGS=${CFLAGS+set}
4285 ac_save_CFLAGS=$CFLAGS
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4287 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4288 if test "${ac_cv_prog_cc_g+set}" = set; then :
4289 $as_echo_n "(cached) " >&6
4291 ac_save_c_werror_flag=$ac_c_werror_flag
4292 ac_c_werror_flag=yes
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4306 if ac_fn_c_try_compile "$LINENO"; then :
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4321 if ac_fn_c_try_compile "$LINENO"; then :
4324 ac_c_werror_flag=$ac_save_c_werror_flag
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4337 if ac_fn_c_try_compile "$LINENO"; then :
4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 ac_c_werror_flag=$ac_save_c_werror_flag
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4348 $as_echo "$ac_cv_prog_cc_g" >&6; }
4349 if test "$ac_test_CFLAGS" = set; then
4350 CFLAGS=$ac_save_CFLAGS
4351 elif test $ac_cv_prog_cc_g = yes; then
4352 if test "$GCC" = yes; then
4358 if test "$GCC" = yes; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4365 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4366 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4367 $as_echo_n "(cached) " >&6
4369 ac_cv_prog_cc_c89=no
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4375 #include <sys/types.h>
4376 #include <sys/stat.h>
4377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4378 struct buf { int x; };
4379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4380 static char *e (p, i)
4386 static char *f (char * (*g) (char **, int), char **p, ...)
4391 s = g (p, va_arg (v,int));
4396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4397 function prototypes and stuff, but not '\xHH' hex character constants.
4398 These don't provoke an error unfortunately, instead are silently treated
4399 as 'x'. The following induces an error, until -std is added to get
4400 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4401 array size at least. It's necessary to write '\x00'==0 to get something
4402 that's true only with -std. */
4403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4405 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4406 inside strings and character constants. */
4408 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4410 int test (int i, double x);
4411 struct s1 {int (*f) (int a);};
4412 struct s2 {int (*f) (double a);};
4413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4419 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4424 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4425 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4427 CC="$ac_save_CC $ac_arg"
4428 if ac_fn_c_try_compile "$LINENO"; then :
4429 ac_cv_prog_cc_c89=$ac_arg
4431 rm -f core conftest.err conftest.$ac_objext
4432 test "x$ac_cv_prog_cc_c89" != "xno" && break
4434 rm -f conftest.$ac_ext
4439 case "x$ac_cv_prog_cc_c89" in
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4442 $as_echo "none needed" >&6; } ;;
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4445 $as_echo "unsupported" >&6; } ;;
4447 CC="$CC $ac_cv_prog_cc_c89"
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4449 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4451 if test "x$ac_cv_prog_cc_c89" != xno; then :
4456 ac_cpp='$CPP $CPPFLAGS'
4457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4461 depcc="$CC" am_compiler_list=
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4464 $as_echo_n "checking dependency style of $depcc... " >&6; }
4465 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4469 # We make a subdir and do the tests there. Otherwise we can end up
4470 # making bogus files that we don't know about and never remove. For
4471 # instance it was reported that on HP-UX the gcc test will end up
4472 # making a dummy file named `D' -- because `-MD' means `put the output
4475 # Copy depcomp to subdir because otherwise we won't find it if we're
4476 # using a relative directory.
4477 cp "$am_depcomp" conftest.dir
4479 # We will build objects and dependencies in a subdirectory because
4480 # it helps to detect inapplicable dependency modes. For instance
4481 # both Tru64's cc and ICC support -MD to output dependencies as a
4482 # side effect of compilation, but ICC will put the dependencies in
4483 # the current directory while Tru64 will put them in the object
4487 am_cv_CC_dependencies_compiler_type=none
4488 if test "$am_compiler_list" = ""; then
4489 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4492 case " $depcc " in #(
4493 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4496 for depmode in $am_compiler_list; do
4497 # Setup a source with many dependencies, because some compilers
4498 # like to wrap large dependency lists on column 80 (with \), and
4499 # we should not choose a depcomp mode which is confused by this.
4501 # We need to recreate these files for each test, as the compiler may
4502 # overwrite some of them when testing with obscure command lines.
4503 # This happens at least with the AIX C compiler.
4505 for i in 1 2 3 4 5 6; do
4506 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4507 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4508 # Solaris 8's {/usr,}/bin/sh.
4509 touch sub/conftst$i.h
4511 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4513 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4514 # mode. It turns out that the SunPro C++ compiler does not properly
4515 # handle `-M -o', and we need to detect this. Also, some Intel
4516 # versions had trouble with output in subdirs
4517 am__obj=sub/conftest.${OBJEXT-o}
4518 am__minus_obj="-o $am__obj"
4521 # This depmode causes a compiler race in universal mode.
4522 test "$am__universal" = false || continue
4525 # after this tag, mechanisms are not by side-effect, so they'll
4526 # only be used when explicitly requested
4527 if test "x$enable_dependency_tracking" = xyes; then
4533 msvisualcpp | msvcmsys)
4534 # This compiler won't grok `-c -o', but also, the minuso test has
4535 # not run yet. These depmodes are late enough in the game, and
4536 # so weak that their functioning should not be impacted.
4537 am__obj=conftest.${OBJEXT-o}
4542 if depmode=$depmode \
4543 source=sub/conftest.c object=$am__obj \
4544 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4545 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4546 >/dev/null 2>conftest.err &&
4547 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4548 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4549 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4550 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4551 # icc doesn't choke on unknown options, it will just issue warnings
4552 # or remarks (even with -Werror). So we grep stderr for any message
4553 # that says an option was ignored or not supported.
4554 # When given -MP, icc 7.0 and 7.1 complain thusly:
4555 # icc: Command line warning: ignoring option '-M'; no argument required
4556 # The diagnosis changed in icc 8.0:
4557 # icc: Command line remark: option '-MP' not supported
4558 if (grep 'ignoring option' conftest.err ||
4559 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4560 am_cv_CC_dependencies_compiler_type=$depmode
4569 am_cv_CC_dependencies_compiler_type=none
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4574 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4575 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4578 test "x$enable_dependency_tracking" != xno \
4579 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4581 am__fastdepCC_FALSE='#'
4583 am__fastdepCC_TRUE='#'
4584 am__fastdepCC_FALSE=
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4589 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4590 if test "${ac_cv_path_SED+set}" = set; then :
4591 $as_echo_n "(cached) " >&6
4593 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4594 for ac_i in 1 2 3 4 5 6 7; do
4595 ac_script="$ac_script$as_nl$ac_script"
4597 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4598 { ac_script=; unset ac_script;}
4599 if test -z "$SED"; then
4600 ac_path_SED_found=false
4601 # Loop through the user's path and test for each of PROGNAME-LIST
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 test -z "$as_dir" && as_dir=.
4607 for ac_prog in sed gsed; do
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4610 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4611 # Check for GNU ac_path_SED and select it if it is found.
4612 # Check for GNU $ac_path_SED
4613 case `"$ac_path_SED" --version 2>&1` in
4615 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4618 $as_echo_n 0123456789 >"conftest.in"
4621 cat "conftest.in" "conftest.in" >"conftest.tmp"
4622 mv "conftest.tmp" "conftest.in"
4623 cp "conftest.in" "conftest.nl"
4624 $as_echo '' >> "conftest.nl"
4625 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4626 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4627 as_fn_arith $ac_count + 1 && ac_count=$as_val
4628 if test $ac_count -gt ${ac_path_SED_max-0}; then
4629 # Best one so far, save it but keep looking for a better one
4630 ac_cv_path_SED="$ac_path_SED"
4631 ac_path_SED_max=$ac_count
4633 # 10*(2^10) chars as input seems more than enough
4634 test $ac_count -gt 10 && break
4636 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4639 $ac_path_SED_found && break 3
4644 if test -z "$ac_cv_path_SED"; then
4645 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4653 $as_echo "$ac_cv_path_SED" >&6; }
4654 SED="$ac_cv_path_SED"
4657 test -z "$SED" && SED=sed
4658 Xsed="$SED -e 1s/^X//"
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4671 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4672 if test "${ac_cv_path_GREP+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -z "$GREP"; then
4676 ac_path_GREP_found=false
4677 # Loop through the user's path and test for each of PROGNAME-LIST
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4682 test -z "$as_dir" && as_dir=.
4683 for ac_prog in grep ggrep; do
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4686 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4687 # Check for GNU ac_path_GREP and select it if it is found.
4688 # Check for GNU $ac_path_GREP
4689 case `"$ac_path_GREP" --version 2>&1` in
4691 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4694 $as_echo_n 0123456789 >"conftest.in"
4697 cat "conftest.in" "conftest.in" >"conftest.tmp"
4698 mv "conftest.tmp" "conftest.in"
4699 cp "conftest.in" "conftest.nl"
4700 $as_echo 'GREP' >> "conftest.nl"
4701 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4703 as_fn_arith $ac_count + 1 && ac_count=$as_val
4704 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4705 # Best one so far, save it but keep looking for a better one
4706 ac_cv_path_GREP="$ac_path_GREP"
4707 ac_path_GREP_max=$ac_count
4709 # 10*(2^10) chars as input seems more than enough
4710 test $ac_count -gt 10 && break
4712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4715 $ac_path_GREP_found && break 3
4720 if test -z "$ac_cv_path_GREP"; then
4721 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4724 ac_cv_path_GREP=$GREP
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4729 $as_echo "$ac_cv_path_GREP" >&6; }
4730 GREP="$ac_cv_path_GREP"
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4734 $as_echo_n "checking for egrep... " >&6; }
4735 if test "${ac_cv_path_EGREP+set}" = set; then :
4736 $as_echo_n "(cached) " >&6
4738 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4739 then ac_cv_path_EGREP="$GREP -E"
4741 if test -z "$EGREP"; then
4742 ac_path_EGREP_found=false
4743 # Loop through the user's path and test for each of PROGNAME-LIST
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4748 test -z "$as_dir" && as_dir=.
4749 for ac_prog in egrep; do
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4752 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4753 # Check for GNU ac_path_EGREP and select it if it is found.
4754 # Check for GNU $ac_path_EGREP
4755 case `"$ac_path_EGREP" --version 2>&1` in
4757 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4760 $as_echo_n 0123456789 >"conftest.in"
4763 cat "conftest.in" "conftest.in" >"conftest.tmp"
4764 mv "conftest.tmp" "conftest.in"
4765 cp "conftest.in" "conftest.nl"
4766 $as_echo 'EGREP' >> "conftest.nl"
4767 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4768 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4769 as_fn_arith $ac_count + 1 && ac_count=$as_val
4770 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4771 # Best one so far, save it but keep looking for a better one
4772 ac_cv_path_EGREP="$ac_path_EGREP"
4773 ac_path_EGREP_max=$ac_count
4775 # 10*(2^10) chars as input seems more than enough
4776 test $ac_count -gt 10 && break
4778 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 $ac_path_EGREP_found && break 3
4786 if test -z "$ac_cv_path_EGREP"; then
4787 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4790 ac_cv_path_EGREP=$EGREP
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4796 $as_echo "$ac_cv_path_EGREP" >&6; }
4797 EGREP="$ac_cv_path_EGREP"
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4801 $as_echo_n "checking for fgrep... " >&6; }
4802 if test "${ac_cv_path_FGREP+set}" = set; then :
4803 $as_echo_n "(cached) " >&6
4805 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4806 then ac_cv_path_FGREP="$GREP -F"
4808 if test -z "$FGREP"; then
4809 ac_path_FGREP_found=false
4810 # Loop through the user's path and test for each of PROGNAME-LIST
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4815 test -z "$as_dir" && as_dir=.
4816 for ac_prog in fgrep; do
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4819 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4820 # Check for GNU ac_path_FGREP and select it if it is found.
4821 # Check for GNU $ac_path_FGREP
4822 case `"$ac_path_FGREP" --version 2>&1` in
4824 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4827 $as_echo_n 0123456789 >"conftest.in"
4830 cat "conftest.in" "conftest.in" >"conftest.tmp"
4831 mv "conftest.tmp" "conftest.in"
4832 cp "conftest.in" "conftest.nl"
4833 $as_echo 'FGREP' >> "conftest.nl"
4834 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4836 as_fn_arith $ac_count + 1 && ac_count=$as_val
4837 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4838 # Best one so far, save it but keep looking for a better one
4839 ac_cv_path_FGREP="$ac_path_FGREP"
4840 ac_path_FGREP_max=$ac_count
4842 # 10*(2^10) chars as input seems more than enough
4843 test $ac_count -gt 10 && break
4845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4848 $ac_path_FGREP_found && break 3
4853 if test -z "$ac_cv_path_FGREP"; then
4854 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4857 ac_cv_path_FGREP=$FGREP
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4863 $as_echo "$ac_cv_path_FGREP" >&6; }
4864 FGREP="$ac_cv_path_FGREP"
4867 test -z "$GREP" && GREP=grep
4887 # Check whether --with-gnu-ld was given.
4888 if test "${with_gnu_ld+set}" = set; then :
4889 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4895 if test "$GCC" = yes; then
4896 # Check if gcc -print-prog-name=ld gives a path.
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4898 $as_echo_n "checking for ld used by $CC... " >&6; }
4901 # gcc leaves a trailing carriage return which upsets mingw
4902 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4904 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4907 # Accept absolute paths.
4909 re_direlt='/[^/][^/]*/\.\./'
4910 # Canonicalize the pathname of ld
4911 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4912 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4913 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4915 test -z "$LD" && LD="$ac_prog"
4918 # If it fails, then pretend we aren't using GCC.
4922 # If it is relative, then search for the first ld in PATH.
4926 elif test "$with_gnu_ld" = yes; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4928 $as_echo_n "checking for GNU ld... " >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4931 $as_echo_n "checking for non-GNU ld... " >&6; }
4933 if test "${lt_cv_path_LD+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4936 if test -z "$LD"; then
4937 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4938 for ac_dir in $PATH; do
4940 test -z "$ac_dir" && ac_dir=.
4941 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4942 lt_cv_path_LD="$ac_dir/$ac_prog"
4943 # Check to see if the program is GNU ld. I'd rather use --version,
4944 # but apparently some variants of GNU ld only accept -v.
4945 # Break only if it was the GNU/non-GNU ld that we prefer.
4946 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4947 *GNU* | *'with BFD'*)
4948 test "$with_gnu_ld" != no && break
4951 test "$with_gnu_ld" != yes && break
4958 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4963 if test -n "$LD"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4965 $as_echo "$LD" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4970 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4972 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4973 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4976 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4977 case `$LD -v 2>&1 </dev/null` in
4978 *GNU* | *'with BFD'*)
4979 lt_cv_prog_gnu_ld=yes
4982 lt_cv_prog_gnu_ld=no
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4987 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4988 with_gnu_ld=$lt_cv_prog_gnu_ld
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4999 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5000 if test "${lt_cv_path_NM+set}" = set; then :
5001 $as_echo_n "(cached) " >&6
5003 if test -n "$NM"; then
5004 # Let the user override the test.
5007 lt_nm_to_check="${ac_tool_prefix}nm"
5008 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5009 lt_nm_to_check="$lt_nm_to_check nm"
5011 for lt_tmp_nm in $lt_nm_to_check; do
5012 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5013 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5015 test -z "$ac_dir" && ac_dir=.
5016 tmp_nm="$ac_dir/$lt_tmp_nm"
5017 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5018 # Check to see if the nm accepts a BSD-compat flag.
5019 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5020 # nm: unknown option "B" ignored
5021 # Tru64's nm complains that /dev/null is an invalid object file
5022 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5023 */dev/null* | *'Invalid file or object type'*)
5024 lt_cv_path_NM="$tmp_nm -B"
5028 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5030 lt_cv_path_NM="$tmp_nm -p"
5034 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5035 continue # so that we can try to find one that supports BSD flags
5044 : ${lt_cv_path_NM=no}
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5048 $as_echo "$lt_cv_path_NM" >&6; }
5049 if test "$lt_cv_path_NM" != "no"; then
5052 # Didn't find any BSD compatible name lister, look for dumpbin.
5053 if test -n "$ac_tool_prefix"; then
5054 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5057 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$DUMPBIN"; then
5064 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 DUMPBIN=$ac_cv_prog_DUMPBIN
5084 if test -n "$DUMPBIN"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5086 $as_echo "$DUMPBIN" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5093 test -n "$DUMPBIN" && break
5096 if test -z "$DUMPBIN"; then
5097 ac_ct_DUMPBIN=$DUMPBIN
5098 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5100 # Extract the first word of "$ac_prog", so it can be a program name with args.
5101 set dummy $ac_prog; ac_word=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5105 $as_echo_n "(cached) " >&6
5107 if test -n "$ac_ct_DUMPBIN"; then
5108 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5128 if test -n "$ac_ct_DUMPBIN"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5130 $as_echo "$ac_ct_DUMPBIN" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5137 test -n "$ac_ct_DUMPBIN" && break
5140 if test "x$ac_ct_DUMPBIN" = x; then
5143 case $cross_compiling:$ac_tool_warned in
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5147 ac_tool_warned=yes ;;
5149 DUMPBIN=$ac_ct_DUMPBIN
5154 if test "$DUMPBIN" != ":"; then
5158 test -z "$NM" && NM=nm
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5166 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5167 if test "${lt_cv_nm_interface+set}" = set; then :
5168 $as_echo_n "(cached) " >&6
5170 lt_cv_nm_interface="BSD nm"
5171 echo "int some_variable = 0;" > conftest.$ac_ext
5172 (eval echo "\"\$as_me:5172: $ac_compile\"" >&5)
5173 (eval "$ac_compile" 2>conftest.err)
5174 cat conftest.err >&5
5175 (eval echo "\"\$as_me:5175: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5176 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5177 cat conftest.err >&5
5178 (eval echo "\"\$as_me:5178: output\"" >&5)
5179 cat conftest.out >&5
5180 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5181 lt_cv_nm_interface="MS dumpbin"
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5186 $as_echo "$lt_cv_nm_interface" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5189 $as_echo_n "checking whether ln -s works... " >&6; }
5191 if test "$LN_S" = "ln -s"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5193 $as_echo "yes" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5196 $as_echo "no, using $LN_S" >&6; }
5199 # find the maximum length of command line arguments
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5201 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5202 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5210 # On DJGPP, this test can blow up pretty badly due to problems in libc
5211 # (any single argument exceeding 2000 bytes causes a buffer overrun
5212 # during glob expansion). Even if it were fixed, the result of this
5213 # check would be larger than it should be.
5214 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5218 # Under GNU Hurd, this test is not required because there is
5219 # no limit to the length of command line arguments.
5220 # Libtool will interpret -1 as no limit whatsoever
5221 lt_cv_sys_max_cmd_len=-1;
5224 cygwin* | mingw* | cegcc*)
5225 # On Win9x/ME, this test blows up -- it succeeds, but takes
5226 # about 5 minutes as the teststring grows exponentially.
5227 # Worse, since 9x/ME are not pre-emptively multitasking,
5228 # you end up with a "frozen" computer, even though with patience
5229 # the test eventually succeeds (with a max line length of 256k).
5230 # Instead, let's just punt: use the minimum linelength reported by
5231 # all of the supported platforms: 8192 (on NT/2K/XP).
5232 lt_cv_sys_max_cmd_len=8192;
5236 # On AmigaOS with pdksh, this test takes hours, literally.
5237 # So we just punt and use a minimum line length of 8192.
5238 lt_cv_sys_max_cmd_len=8192;
5241 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5242 # This has been around since 386BSD, at least. Likely further.
5243 if test -x /sbin/sysctl; then
5244 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5245 elif test -x /usr/sbin/sysctl; then
5246 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5248 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5250 # And add a safety zone
5251 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5252 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5256 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5257 lt_cv_sys_max_cmd_len=196608
5261 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5262 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5263 # nice to cause kernel panics so lets avoid the loop below.
5264 # First set a reasonable default.
5265 lt_cv_sys_max_cmd_len=16384
5267 if test -x /sbin/sysconfig; then
5268 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5269 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5274 lt_cv_sys_max_cmd_len=102400
5276 sysv5* | sco5v6* | sysv4.2uw2*)
5277 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5278 if test -n "$kargmax"; then
5279 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5281 lt_cv_sys_max_cmd_len=32768
5285 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5286 if test -n "$lt_cv_sys_max_cmd_len"; then
5287 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5288 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5290 # Make teststring a little bigger before we do anything with it.
5291 # a 1K string should be a reasonable start.
5292 for i in 1 2 3 4 5 6 7 8 ; do
5293 teststring=$teststring$teststring
5295 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5296 # If test is not a shell built-in, we'll probably end up computing a
5297 # maximum length that is only half of the actual maximum length, but
5299 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5300 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5301 test $i != 17 # 1/2 MB should be enough
5304 teststring=$teststring$teststring
5306 # Only check the string length outside the loop.
5307 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5309 # Add a significant safety factor because C++ compilers can tack on
5310 # massive amounts of additional arguments before passing them to the
5311 # linker. It appears as though 1/2 is a usable value.
5312 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5319 if test -n $lt_cv_sys_max_cmd_len ; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5321 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5324 $as_echo "none" >&6; }
5326 max_cmd_len=$lt_cv_sys_max_cmd_len
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5338 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5339 # Try some XSI features
5342 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5344 && eval 'test $(( 1 + 1 )) -eq 2 \
5345 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5348 $as_echo "$xsi_shell" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5352 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5354 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5356 && lt_shell_append=yes
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5358 $as_echo "$lt_shell_append" >&6; }
5361 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5371 # test EBCDIC or ASCII
5372 case `echo X|tr X '\101'` in
5373 A) # ASCII based system
5374 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5375 lt_SP2NL='tr \040 \012'
5376 lt_NL2SP='tr \015\012 \040\040'
5378 *) # EBCDIC based system
5379 lt_SP2NL='tr \100 \n'
5380 lt_NL2SP='tr \r\n \100\100'
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5393 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5394 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5397 lt_cv_ld_reload_flag='-r'
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5400 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5401 reload_flag=$lt_cv_ld_reload_flag
5402 case $reload_flag in
5404 *) reload_flag=" $reload_flag" ;;
5406 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5409 if test "$GCC" = yes; then
5410 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5412 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$OBJDUMP"; then
5434 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 OBJDUMP=$ac_cv_prog_OBJDUMP
5454 if test -n "$OBJDUMP"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5456 $as_echo "$OBJDUMP" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_OBJDUMP"; then
5465 ac_ct_OBJDUMP=$OBJDUMP
5466 # Extract the first word of "objdump", so it can be a program name with args.
5467 set dummy objdump; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5473 if test -n "$ac_ct_OBJDUMP"; then
5474 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5494 if test -n "$ac_ct_OBJDUMP"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5496 $as_echo "$ac_ct_OBJDUMP" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_OBJDUMP" = x; then
5505 case $cross_compiling:$ac_tool_warned in
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5511 OBJDUMP=$ac_ct_OBJDUMP
5514 OBJDUMP="$ac_cv_prog_OBJDUMP"
5517 test -z "$OBJDUMP" && OBJDUMP=objdump
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5528 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5529 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5530 $as_echo_n "(cached) " >&6
5532 lt_cv_file_magic_cmd='$MAGIC_CMD'
5533 lt_cv_file_magic_test_file=
5534 lt_cv_deplibs_check_method='unknown'
5535 # Need to set the preceding variable on all platforms that support
5536 # interlibrary dependencies.
5537 # 'none' -- dependencies not supported.
5538 # `unknown' -- same as none, but documents that we really don't know.
5539 # 'pass_all' -- all dependencies passed with no checks.
5540 # 'test_compile' -- check by making test program.
5541 # 'file_magic [[regex]]' -- check by looking for files in library path
5542 # which responds to the $file_magic_cmd with a given extended regex.
5543 # If you have `file' or equivalent on your system and you're not sure
5544 # whether `pass_all' will *always* work, you probably want this one.
5548 lt_cv_deplibs_check_method=pass_all
5552 lt_cv_deplibs_check_method=pass_all
5556 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5557 lt_cv_file_magic_cmd='/usr/bin/file -L'
5558 lt_cv_file_magic_test_file=/shlib/libc.so
5562 # func_win32_libid is a shell function defined in ltmain.sh
5563 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5564 lt_cv_file_magic_cmd='func_win32_libid'
5568 # Base MSYS/MinGW do not provide the 'file' command needed by
5569 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5570 # unless we find 'file', for example because we are cross-compiling.
5571 if ( file / ) >/dev/null 2>&1; then
5572 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5573 lt_cv_file_magic_cmd='func_win32_libid'
5575 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5576 lt_cv_file_magic_cmd='$OBJDUMP -f'
5581 # use the weaker test based on 'objdump'. See mingw*.
5582 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5583 lt_cv_file_magic_cmd='$OBJDUMP -f'
5586 darwin* | rhapsody*)
5587 lt_cv_deplibs_check_method=pass_all
5590 freebsd* | dragonfly*)
5591 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5594 # Not sure whether the presence of OpenBSD here was a mistake.
5595 # Let's accept both of them until this is cleared up.
5596 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5597 lt_cv_file_magic_cmd=/usr/bin/file
5598 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5602 lt_cv_deplibs_check_method=pass_all
5607 lt_cv_deplibs_check_method=pass_all
5610 hpux10.20* | hpux11*)
5611 lt_cv_file_magic_cmd=/usr/bin/file
5614 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5615 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5618 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]'
5619 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5622 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5623 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5629 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5630 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5633 irix5* | irix6* | nonstopux*)
5635 *-32|*"-32 ") libmagic=32-bit;;
5636 *-n32|*"-n32 ") libmagic=N32;;
5637 *-64|*"-64 ") libmagic=64-bit;;
5638 *) libmagic=never-match;;
5640 lt_cv_deplibs_check_method=pass_all
5643 # This must be Linux ELF.
5644 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5645 lt_cv_deplibs_check_method=pass_all
5648 netbsd* | netbsdelf*-gnu)
5649 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5650 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5652 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5657 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5658 lt_cv_file_magic_cmd=/usr/bin/file
5659 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5663 lt_cv_deplibs_check_method=pass_all
5667 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5668 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5670 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5674 osf3* | osf4* | osf5*)
5675 lt_cv_deplibs_check_method=pass_all
5679 lt_cv_deplibs_check_method=pass_all
5683 lt_cv_deplibs_check_method=pass_all
5686 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5687 lt_cv_deplibs_check_method=pass_all
5691 case $host_vendor in
5693 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]'
5694 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5697 lt_cv_deplibs_check_method=pass_all
5700 lt_cv_file_magic_cmd='/bin/file'
5701 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5704 lt_cv_file_magic_cmd='/bin/file'
5705 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5706 lt_cv_file_magic_test_file=/lib/libc.so
5709 lt_cv_deplibs_check_method=pass_all
5712 lt_cv_deplibs_check_method=pass_all
5718 lt_cv_deplibs_check_method=pass_all
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5724 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5725 file_magic_cmd=$lt_cv_file_magic_cmd
5726 deplibs_check_method=$lt_cv_deplibs_check_method
5727 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5740 if test -n "$ac_tool_prefix"; then
5741 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5742 set dummy ${ac_tool_prefix}ar; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if test "${ac_cv_prog_AR+set}" = set; then :
5746 $as_echo_n "(cached) " >&6
5748 if test -n "$AR"; then
5749 ac_cv_prog_AR="$AR" # Let the user override the test.
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_AR="${ac_tool_prefix}ar"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 if test -n "$AR"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5771 $as_echo "$AR" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5779 if test -z "$ac_cv_prog_AR"; then
5781 # Extract the first word of "ar", so it can be a program name with args.
5782 set dummy ar; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5786 $as_echo_n "(cached) " >&6
5788 if test -n "$ac_ct_AR"; then
5789 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5798 ac_cv_prog_ac_ct_AR="ar"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5809 if test -n "$ac_ct_AR"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5811 $as_echo "$ac_ct_AR" >&6; }
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5817 if test "x$ac_ct_AR" = x; then
5820 case $cross_compiling:$ac_tool_warned in
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5824 ac_tool_warned=yes ;;
5832 test -z "$AR" && AR=ar
5833 test -z "$AR_FLAGS" && AR_FLAGS=cru
5845 if test -n "$ac_tool_prefix"; then
5846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5847 set dummy ${ac_tool_prefix}strip; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if test "${ac_cv_prog_STRIP+set}" = set; then :
5851 $as_echo_n "(cached) " >&6
5853 if test -n "$STRIP"; then
5854 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 STRIP=$ac_cv_prog_STRIP
5874 if test -n "$STRIP"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5876 $as_echo "$STRIP" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5884 if test -z "$ac_cv_prog_STRIP"; then
5886 # Extract the first word of "strip", so it can be a program name with args.
5887 set dummy strip; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5891 $as_echo_n "(cached) " >&6
5893 if test -n "$ac_ct_STRIP"; then
5894 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_ac_ct_STRIP="strip"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5914 if test -n "$ac_ct_STRIP"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5916 $as_echo "$ac_ct_STRIP" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5922 if test "x$ac_ct_STRIP" = x; then
5925 case $cross_compiling:$ac_tool_warned in
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5929 ac_tool_warned=yes ;;
5934 STRIP="$ac_cv_prog_STRIP"
5937 test -z "$STRIP" && STRIP=:
5944 if test -n "$ac_tool_prefix"; then
5945 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5946 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948 $as_echo_n "checking for $ac_word... " >&6; }
5949 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5950 $as_echo_n "(cached) " >&6
5952 if test -n "$RANLIB"; then
5953 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5962 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 RANLIB=$ac_cv_prog_RANLIB
5973 if test -n "$RANLIB"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5975 $as_echo "$RANLIB" >&6; }
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5983 if test -z "$ac_cv_prog_RANLIB"; then
5984 ac_ct_RANLIB=$RANLIB
5985 # Extract the first word of "ranlib", so it can be a program name with args.
5986 set dummy ranlib; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 $as_echo_n "checking for $ac_word... " >&6; }
5989 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5990 $as_echo_n "(cached) " >&6
5992 if test -n "$ac_ct_RANLIB"; then
5993 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6002 ac_cv_prog_ac_ct_RANLIB="ranlib"
6003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6013 if test -n "$ac_ct_RANLIB"; then
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6015 $as_echo "$ac_ct_RANLIB" >&6; }
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018 $as_echo "no" >&6; }
6021 if test "x$ac_ct_RANLIB" = x; then
6024 case $cross_compiling:$ac_tool_warned in
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6028 ac_tool_warned=yes ;;
6030 RANLIB=$ac_ct_RANLIB
6033 RANLIB="$ac_cv_prog_RANLIB"
6036 test -z "$RANLIB" && RANLIB=:
6043 # Determine commands to create old-style static archives.
6044 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6045 old_postinstall_cmds='chmod 644 $oldlib'
6046 old_postuninstall_cmds=
6048 if test -n "$RANLIB"; then
6051 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6054 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6057 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6093 # If no C compiler was specified, use CC.
6096 # If no C compiler flags were specified, use CFLAGS.
6097 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6099 # Allow CC to be a program name with arguments.
6103 # Check for command to grab the raw symbol name followed by C symbol from nm.
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6105 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6106 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6107 $as_echo_n "(cached) " >&6
6110 # These are sane defaults that work on at least a few old systems.
6111 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6113 # Character class describing NM global symbol codes.
6114 symcode='[BCDEGRST]'
6116 # Regexp to match symbols that can be accessed directly from C.
6117 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6119 # Define system-specific variables.
6124 cygwin* | mingw* | pw32* | cegcc*)
6125 symcode='[ABCDGISTW]'
6128 if test "$host_cpu" = ia64; then
6129 symcode='[ABCDEGRST]'
6133 symcode='[BCDEGRST]'
6136 symcode='[BCDEGQRST]'
6147 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6155 # If we're using GNU nm, then use its standard symbol codes.
6156 case `$NM -V 2>&1` in
6157 *GNU* | *'with BFD'*)
6158 symcode='[ABCDGIRSTW]' ;;
6161 # Transform an extracted symbol line into a proper C declaration.
6162 # Some systems (esp. on ia64) link data and code symbols differently,
6163 # so use this general approach.
6164 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6166 # Transform an extracted symbol line into symbol name and symbol address
6167 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6168 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'"
6170 # Handle CRLF in mingw tool chain
6174 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6178 # Try without a prefix underscore, then with it.
6179 for ac_symprfx in "" "_"; do
6181 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6182 symxfrm="\\1 $ac_symprfx\\2 \\2"
6184 # Write the raw and C identifiers.
6185 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6186 # Fake it for dumpbin and say T for any non-static function
6187 # and D for any global variable.
6188 # Also find C++ and __fastcall symbols from MSVC++,
6189 # which start with @ or ?.
6190 lt_cv_sys_global_symbol_pipe="$AWK '"\
6191 " {last_section=section; section=\$ 3};"\
6192 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6193 " \$ 0!~/External *\|/{next};"\
6194 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6195 " {if(hide[section]) next};"\
6196 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6197 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6198 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6199 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6200 " ' prfx=^$ac_symprfx"
6202 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6205 # Check to see that the pipe works correctly.
6209 cat > conftest.$ac_ext <<_LT_EOF
6214 void nm_test_func(void);
6215 void nm_test_func(void){}
6219 int main(){nm_test_var='a';nm_test_func();return(0);}
6222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6223 (eval $ac_compile) 2>&5
6225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6226 test $ac_status = 0; }; then
6227 # Now try to grab the symbols.
6229 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6230 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6233 test $ac_status = 0; } && test -s "$nlist"; then
6234 # Try sorting and uniquifying the output.
6235 if sort "$nlist" | uniq > "$nlist"T; then
6236 mv -f "$nlist"T "$nlist"
6241 # Make sure that we snagged all the symbols we need.
6242 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6243 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6244 cat <<_LT_EOF > conftest.$ac_ext
6250 # Now generate the symbol file.
6251 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6253 cat <<_LT_EOF >> conftest.$ac_ext
6255 /* The mapping between symbol names and symbols. */
6260 lt__PROGRAM__LTX_preloaded_symbols[] =
6262 { "@PROGRAM@", (void *) 0 },
6264 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6265 cat <<\_LT_EOF >> conftest.$ac_ext
6269 /* This works around a problem in FreeBSD linker */
6270 #ifdef FREEBSD_WORKAROUND
6271 static const void *lt_preloaded_setup() {
6272 return lt__PROGRAM__LTX_preloaded_symbols;
6280 # Now try linking the two files.
6281 mv conftest.$ac_objext conftstm.$ac_objext
6282 lt_save_LIBS="$LIBS"
6283 lt_save_CFLAGS="$CFLAGS"
6284 LIBS="conftstm.$ac_objext"
6285 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6287 (eval $ac_link) 2>&5
6289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6290 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6293 LIBS="$lt_save_LIBS"
6294 CFLAGS="$lt_save_CFLAGS"
6296 echo "cannot find nm_test_func in $nlist" >&5
6299 echo "cannot find nm_test_var in $nlist" >&5
6302 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6305 echo "$progname: failed program was:" >&5
6306 cat conftest.$ac_ext >&5
6308 rm -rf conftest* conftst*
6310 # Do not use the global_symbol_pipe unless it works.
6311 if test "$pipe_works" = yes; then
6314 lt_cv_sys_global_symbol_pipe=
6320 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6321 lt_cv_sys_global_symbol_to_cdecl=
6323 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6325 $as_echo "failed" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6328 $as_echo "ok" >&6; }
6353 # Check whether --enable-libtool-lock was given.
6354 if test "${enable_libtool_lock+set}" = set; then :
6355 enableval=$enable_libtool_lock;
6358 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6360 # Some flags need to be propagated to the compiler or linker for good
6364 # Find out which ABI we are using.
6365 echo 'int i;' > conftest.$ac_ext
6366 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6367 (eval $ac_compile) 2>&5
6369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6370 test $ac_status = 0; }; then
6371 case `/usr/bin/file conftest.$ac_objext` in
6383 # Find out which ABI we are using.
6384 echo '#line 6384 "configure"' > conftest.$ac_ext
6385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6386 (eval $ac_compile) 2>&5
6388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6389 test $ac_status = 0; }; then
6390 if test "$lt_cv_prog_gnu_ld" = yes; then
6391 case `/usr/bin/file conftest.$ac_objext` in
6393 LD="${LD-ld} -melf32bsmip"
6396 LD="${LD-ld} -melf32bmipn32"
6399 LD="${LD-ld} -melf64bmip"
6403 case `/usr/bin/file conftest.$ac_objext` in
6419 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6420 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6421 # Find out which ABI we are using.
6422 echo 'int i;' > conftest.$ac_ext
6423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6424 (eval $ac_compile) 2>&5
6426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6427 test $ac_status = 0; }; then
6428 case `/usr/bin/file conftest.o` in
6431 x86_64-*kfreebsd*-gnu)
6432 LD="${LD-ld} -m elf_i386_fbsd"
6435 LD="${LD-ld} -m elf_i386"
6437 ppc64-*linux*|powerpc64-*linux*)
6438 LD="${LD-ld} -m elf32ppclinux"
6441 LD="${LD-ld} -m elf_s390"
6444 LD="${LD-ld} -m elf32_sparc"
6450 x86_64-*kfreebsd*-gnu)
6451 LD="${LD-ld} -m elf_x86_64_fbsd"
6454 LD="${LD-ld} -m elf_x86_64"
6456 ppc*-*linux*|powerpc*-*linux*)
6457 LD="${LD-ld} -m elf64ppc"
6459 s390*-*linux*|s390*-*tpf*)
6460 LD="${LD-ld} -m elf64_s390"
6463 LD="${LD-ld} -m elf64_sparc"
6473 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6474 SAVE_CFLAGS="$CFLAGS"
6475 CFLAGS="$CFLAGS -belf"
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6477 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6478 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6479 $as_echo_n "(cached) " >&6
6482 ac_cpp='$CPP $CPPFLAGS'
6483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6498 if ac_fn_c_try_link "$LINENO"; then :
6499 lt_cv_cc_needs_belf=yes
6501 lt_cv_cc_needs_belf=no
6503 rm -f core conftest.err conftest.$ac_objext \
6504 conftest$ac_exeext conftest.$ac_ext
6506 ac_cpp='$CPP $CPPFLAGS'
6507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6513 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6514 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6515 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6516 CFLAGS="$SAVE_CFLAGS"
6520 # Find out which ABI we are using.
6521 echo 'int i;' > conftest.$ac_ext
6522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6523 (eval $ac_compile) 2>&5
6525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6526 test $ac_status = 0; }; then
6527 case `/usr/bin/file conftest.o` in
6529 case $lt_cv_prog_gnu_ld in
6530 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6532 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6544 need_locks="$enable_libtool_lock"
6548 rhapsody* | darwin*)
6549 if test -n "$ac_tool_prefix"; then
6550 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6551 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6557 if test -n "$DSYMUTIL"; then
6558 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6578 if test -n "$DSYMUTIL"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6580 $as_echo "$DSYMUTIL" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6588 if test -z "$ac_cv_prog_DSYMUTIL"; then
6589 ac_ct_DSYMUTIL=$DSYMUTIL
6590 # Extract the first word of "dsymutil", so it can be a program name with args.
6591 set dummy dsymutil; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6595 $as_echo_n "(cached) " >&6
6597 if test -n "$ac_ct_DSYMUTIL"; then
6598 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6618 if test -n "$ac_ct_DSYMUTIL"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6620 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6626 if test "x$ac_ct_DSYMUTIL" = x; then
6629 case $cross_compiling:$ac_tool_warned in
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6633 ac_tool_warned=yes ;;
6635 DSYMUTIL=$ac_ct_DSYMUTIL
6638 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6641 if test -n "$ac_tool_prefix"; then
6642 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6643 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6647 $as_echo_n "(cached) " >&6
6649 if test -n "$NMEDIT"; then
6650 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6659 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 NMEDIT=$ac_cv_prog_NMEDIT
6670 if test -n "$NMEDIT"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6672 $as_echo "$NMEDIT" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6680 if test -z "$ac_cv_prog_NMEDIT"; then
6681 ac_ct_NMEDIT=$NMEDIT
6682 # Extract the first word of "nmedit", so it can be a program name with args.
6683 set dummy nmedit; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6687 $as_echo_n "(cached) " >&6
6689 if test -n "$ac_ct_NMEDIT"; then
6690 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6710 if test -n "$ac_ct_NMEDIT"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6712 $as_echo "$ac_ct_NMEDIT" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6718 if test "x$ac_ct_NMEDIT" = x; then
6721 case $cross_compiling:$ac_tool_warned in
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725 ac_tool_warned=yes ;;
6727 NMEDIT=$ac_ct_NMEDIT
6730 NMEDIT="$ac_cv_prog_NMEDIT"
6733 if test -n "$ac_tool_prefix"; then
6734 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6735 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 $as_echo_n "checking for $ac_word... " >&6; }
6738 if test "${ac_cv_prog_LIPO+set}" = set; then :
6739 $as_echo_n "(cached) " >&6
6741 if test -n "$LIPO"; then
6742 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir=.
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6751 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761 LIPO=$ac_cv_prog_LIPO
6762 if test -n "$LIPO"; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6764 $as_echo "$LIPO" >&6; }
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 $as_echo "no" >&6; }
6772 if test -z "$ac_cv_prog_LIPO"; then
6774 # Extract the first word of "lipo", so it can be a program name with args.
6775 set dummy lipo; ac_word=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6779 $as_echo_n "(cached) " >&6
6781 if test -n "$ac_ct_LIPO"; then
6782 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir=.
6789 for ac_exec_ext in '' $ac_executable_extensions; do
6790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791 ac_cv_prog_ac_ct_LIPO="lipo"
6792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6802 if test -n "$ac_ct_LIPO"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6804 $as_echo "$ac_ct_LIPO" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6810 if test "x$ac_ct_LIPO" = x; then
6813 case $cross_compiling:$ac_tool_warned in
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817 ac_tool_warned=yes ;;
6822 LIPO="$ac_cv_prog_LIPO"
6825 if test -n "$ac_tool_prefix"; then
6826 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6827 set dummy ${ac_tool_prefix}otool; ac_word=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6831 $as_echo_n "(cached) " >&6
6833 if test -n "$OTOOL"; then
6834 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir=.
6841 for ac_exec_ext in '' $ac_executable_extensions; do
6842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6843 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853 OTOOL=$ac_cv_prog_OTOOL
6854 if test -n "$OTOOL"; then
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6856 $as_echo "$OTOOL" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6864 if test -z "$ac_cv_prog_OTOOL"; then
6866 # Extract the first word of "otool", so it can be a program name with args.
6867 set dummy otool; ac_word=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6871 $as_echo_n "(cached) " >&6
6873 if test -n "$ac_ct_OTOOL"; then
6874 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 test -z "$as_dir" && as_dir=.
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883 ac_cv_prog_ac_ct_OTOOL="otool"
6884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6894 if test -n "$ac_ct_OTOOL"; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6896 $as_echo "$ac_ct_OTOOL" >&6; }
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6902 if test "x$ac_ct_OTOOL" = x; then
6905 case $cross_compiling:$ac_tool_warned in
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6909 ac_tool_warned=yes ;;
6914 OTOOL="$ac_cv_prog_OTOOL"
6917 if test -n "$ac_tool_prefix"; then
6918 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6919 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6923 $as_echo_n "(cached) " >&6
6925 if test -n "$OTOOL64"; then
6926 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6945 OTOOL64=$ac_cv_prog_OTOOL64
6946 if test -n "$OTOOL64"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6948 $as_echo "$OTOOL64" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6956 if test -z "$ac_cv_prog_OTOOL64"; then
6957 ac_ct_OTOOL64=$OTOOL64
6958 # Extract the first word of "otool64", so it can be a program name with args.
6959 set dummy otool64; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6963 $as_echo_n "(cached) " >&6
6965 if test -n "$ac_ct_OTOOL64"; then
6966 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir=.
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975 ac_cv_prog_ac_ct_OTOOL64="otool64"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6986 if test -n "$ac_ct_OTOOL64"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6988 $as_echo "$ac_ct_OTOOL64" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6994 if test "x$ac_ct_OTOOL64" = x; then
6997 case $cross_compiling:$ac_tool_warned in
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7001 ac_tool_warned=yes ;;
7003 OTOOL64=$ac_ct_OTOOL64
7006 OTOOL64="$ac_cv_prog_OTOOL64"
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7036 $as_echo_n "checking for -single_module linker flag... " >&6; }
7037 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7038 $as_echo_n "(cached) " >&6
7040 lt_cv_apple_cc_single_mod=no
7041 if test -z "${LT_MULTI_MODULE}"; then
7042 # By default we will add the -single_module flag. You can override
7043 # by either setting the environment variable LT_MULTI_MODULE
7044 # non-empty at configure time, or by adding -multi_module to the
7046 rm -rf libconftest.dylib*
7047 echo "int foo(void){return 1;}" > conftest.c
7048 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7049 -dynamiclib -Wl,-single_module conftest.c" >&5
7050 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7051 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7053 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7054 lt_cv_apple_cc_single_mod=yes
7056 cat conftest.err >&5
7058 rm -rf libconftest.dylib*
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7063 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7065 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7066 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7067 $as_echo_n "(cached) " >&6
7069 lt_cv_ld_exported_symbols_list=no
7070 save_LDFLAGS=$LDFLAGS
7071 echo "_main" > conftest.sym
7072 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7084 if ac_fn_c_try_link "$LINENO"; then :
7085 lt_cv_ld_exported_symbols_list=yes
7087 lt_cv_ld_exported_symbols_list=no
7089 rm -f core conftest.err conftest.$ac_objext \
7090 conftest$ac_exeext conftest.$ac_ext
7091 LDFLAGS="$save_LDFLAGS"
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7095 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7097 rhapsody* | darwin1.[012])
7098 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7100 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7101 darwin*) # darwin 5.x on
7102 # if running on 10.5 or later, the deployment target defaults
7103 # to the OS version, if on x86, and 10.4, the deployment
7104 # target defaults to 10.4. Don't you love it?
7105 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7106 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7107 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7109 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7111 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7115 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7116 _lt_dar_single_mod='$single_module'
7118 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7119 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7121 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7123 if test "$DSYMUTIL" != ":"; then
7124 _lt_dsymutil='~$DSYMUTIL $lib || :'
7132 ac_cpp='$CPP $CPPFLAGS'
7133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7137 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7138 # On Suns, sometimes $CPP names a directory.
7139 if test -n "$CPP" && test -d "$CPP"; then
7142 if test -z "$CPP"; then
7143 if test "${ac_cv_prog_CPP+set}" = set; then :
7144 $as_echo_n "(cached) " >&6
7146 # Double quotes because CPP needs to be expanded
7147 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7150 for ac_c_preproc_warn_flag in '' yes
7152 # Use a header file that comes with gcc, so configuring glibc
7153 # with a fresh cross-compiler works.
7154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7155 # <limits.h> exists even on freestanding compilers.
7156 # On the NeXT, cc -E runs the code through the compiler's parser,
7157 # not just through cpp. "Syntax error" is here to catch this case.
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7161 # include <limits.h>
7163 # include <assert.h>
7167 if ac_fn_c_try_cpp "$LINENO"; then :
7170 # Broken: fails on valid input.
7173 rm -f conftest.err conftest.i conftest.$ac_ext
7175 # OK, works on sane cases. Now check whether nonexistent headers
7176 # can be detected and how.
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7179 #include <ac_nonexistent.h>
7181 if ac_fn_c_try_cpp "$LINENO"; then :
7182 # Broken: success on invalid input.
7185 # Passes both tests.
7189 rm -f conftest.err conftest.i conftest.$ac_ext
7192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7193 rm -f conftest.i conftest.err conftest.$ac_ext
7194 if $ac_preproc_ok; then :
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7207 $as_echo "$CPP" >&6; }
7209 for ac_c_preproc_warn_flag in '' yes
7211 # Use a header file that comes with gcc, so configuring glibc
7212 # with a fresh cross-compiler works.
7213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7214 # <limits.h> exists even on freestanding compilers.
7215 # On the NeXT, cc -E runs the code through the compiler's parser,
7216 # not just through cpp. "Syntax error" is here to catch this case.
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7220 # include <limits.h>
7222 # include <assert.h>
7226 if ac_fn_c_try_cpp "$LINENO"; then :
7229 # Broken: fails on valid input.
7232 rm -f conftest.err conftest.i conftest.$ac_ext
7234 # OK, works on sane cases. Now check whether nonexistent headers
7235 # can be detected and how.
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <ac_nonexistent.h>
7240 if ac_fn_c_try_cpp "$LINENO"; then :
7241 # Broken: success on invalid input.
7244 # Passes both tests.
7248 rm -f conftest.err conftest.i conftest.$ac_ext
7251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7252 rm -f conftest.i conftest.err conftest.$ac_ext
7253 if $ac_preproc_ok; then :
7256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7258 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7259 See \`config.log' for more details" "$LINENO" 5 ; }
7263 ac_cpp='$CPP $CPPFLAGS'
7264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7270 $as_echo_n "checking for ANSI C header files... " >&6; }
7271 if test "${ac_cv_header_stdc+set}" = set; then :
7272 $as_echo_n "(cached) " >&6
7274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7275 /* end confdefs.h. */
7289 if ac_fn_c_try_compile "$LINENO"; then :
7290 ac_cv_header_stdc=yes
7292 ac_cv_header_stdc=no
7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7296 if test $ac_cv_header_stdc = yes; then
7297 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7304 $EGREP "memchr" >/dev/null 2>&1; then :
7307 ac_cv_header_stdc=no
7313 if test $ac_cv_header_stdc = yes; then
7314 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316 /* end confdefs.h. */
7320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7321 $EGREP "free" >/dev/null 2>&1; then :
7324 ac_cv_header_stdc=no
7330 if test $ac_cv_header_stdc = yes; then
7331 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7332 if test "$cross_compiling" = yes; then :
7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7339 #if ((' ' & 0x0FF) == 0x020)
7340 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7341 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7343 # define ISLOWER(c) \
7344 (('a' <= (c) && (c) <= 'i') \
7345 || ('j' <= (c) && (c) <= 'r') \
7346 || ('s' <= (c) && (c) <= 'z'))
7347 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7350 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7355 for (i = 0; i < 256; i++)
7356 if (XOR (islower (i), ISLOWER (i))
7357 || toupper (i) != TOUPPER (i))
7362 if ac_fn_c_try_run "$LINENO"; then :
7365 ac_cv_header_stdc=no
7367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7368 conftest.$ac_objext conftest.beam conftest.$ac_ext
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7374 $as_echo "$ac_cv_header_stdc" >&6; }
7375 if test $ac_cv_header_stdc = yes; then
7377 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7381 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7382 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7383 inttypes.h stdint.h unistd.h
7385 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7386 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7388 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7389 cat >>confdefs.h <<_ACEOF
7390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7398 for ac_header in dlfcn.h
7400 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7402 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7403 cat >>confdefs.h <<_ACEOF
7404 #define HAVE_DLFCN_H 1
7423 # Check whether --enable-shared was given.
7424 if test "${enable_shared+set}" = set; then :
7425 enableval=$enable_shared; p=${PACKAGE-default}
7427 yes) enable_shared=yes ;;
7428 no) enable_shared=no ;;
7431 # Look at the argument we got. We use all the common list separators.
7432 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7433 for pkg in $enableval; do
7435 if test "X$pkg" = "X$p"; then
7456 # Check whether --with-pic was given.
7457 if test "${with_pic+set}" = set; then :
7458 withval=$with_pic; pic_mode="$withval"
7464 test -z "$pic_mode" && pic_mode=default
7472 # Check whether --enable-fast-install was given.
7473 if test "${enable_fast_install+set}" = set; then :
7474 enableval=$enable_fast_install; p=${PACKAGE-default}
7476 yes) enable_fast_install=yes ;;
7477 no) enable_fast_install=no ;;
7479 enable_fast_install=no
7480 # Look at the argument we got. We use all the common list separators.
7481 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7482 for pkg in $enableval; do
7484 if test "X$pkg" = "X$p"; then
7485 enable_fast_install=yes
7492 enable_fast_install=yes
7505 # This can be used to rebuild libtool when needed
7506 LIBTOOL_DEPS="$ltmain"
7508 # Always use our own libtool.
7509 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7535 test -z "$LN_S" && LN_S="ln -s"
7550 if test -n "${ZSH_VERSION+set}" ; then
7551 setopt NO_GLOB_SUBST
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7555 $as_echo_n "checking for objdir... " >&6; }
7556 if test "${lt_cv_objdir+set}" = set; then :
7557 $as_echo_n "(cached) " >&6
7559 rm -f .libs 2>/dev/null
7560 mkdir .libs 2>/dev/null
7561 if test -d .libs; then
7564 # MS-DOS does not allow filenames that begin with a dot.
7567 rmdir .libs 2>/dev/null
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7570 $as_echo "$lt_cv_objdir" >&6; }
7571 objdir=$lt_cv_objdir
7577 cat >>confdefs.h <<_ACEOF
7578 #define LT_OBJDIR "$lt_cv_objdir/"
7599 # AIX sometimes has problems with the GCC collect2 program. For some
7600 # reason, if we set the COLLECT_NAMES environment variable, the problems
7601 # vanish in a puff of smoke.
7602 if test "X${COLLECT_NAMES+set}" != Xset; then
7604 export COLLECT_NAMES
7609 # Sed substitution that helps us do robust quoting. It backslashifies
7610 # metacharacters that are still active within double-quoted strings.
7611 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7613 # Same as above, but do not quote variable references.
7614 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7616 # Sed substitution to delay expansion of an escaped shell variable in a
7617 # double_quote_subst'ed string.
7618 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7620 # Sed substitution to delay expansion of an escaped single quote.
7621 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7623 # Sed substitution to avoid accidental globbing in evaled expressions
7624 no_glob_subst='s/\*/\\\*/g'
7628 can_build_shared=yes
7630 # All known linkers require a `.a' archive for static linking (except MSVC,
7631 # which needs '.lib').
7634 with_gnu_ld="$lt_cv_prog_gnu_ld"
7637 old_CFLAGS="$CFLAGS"
7639 # Set sane defaults for various variables
7640 test -z "$CC" && CC=cc
7641 test -z "$LTCC" && LTCC=$CC
7642 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7643 test -z "$LD" && LD=ld
7644 test -z "$ac_objext" && ac_objext=o
7646 for cc_temp in $compiler""; do
7648 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7649 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7654 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7657 # Only perform the check for file, if the check method requires it
7658 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7659 case $deplibs_check_method in
7661 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7663 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7664 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7665 $as_echo_n "(cached) " >&6
7669 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7672 lt_save_MAGIC_CMD="$MAGIC_CMD"
7673 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7674 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7675 for ac_dir in $ac_dummy; do
7677 test -z "$ac_dir" && ac_dir=.
7678 if test -f $ac_dir/${ac_tool_prefix}file; then
7679 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7680 if test -n "$file_magic_test_file"; then
7681 case $deplibs_check_method in
7683 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7684 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7685 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7686 $EGREP "$file_magic_regex" > /dev/null; then
7691 *** Warning: the command libtool uses to detect shared libraries,
7692 *** $file_magic_cmd, produces output that libtool cannot recognize.
7693 *** The result is that libtool may fail to recognize shared libraries
7694 *** as such. This will affect the creation of libtool libraries that
7695 *** depend on shared libraries, but programs linked with such libtool
7696 *** libraries will work regardless of this problem. Nevertheless, you
7697 *** may want to report the problem to your system manager and/or to
7698 *** bug-libtool@gnu.org
7708 MAGIC_CMD="$lt_save_MAGIC_CMD"
7713 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7714 if test -n "$MAGIC_CMD"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7716 $as_echo "$MAGIC_CMD" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7726 if test -z "$lt_cv_path_MAGIC_CMD"; then
7727 if test -n "$ac_tool_prefix"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7729 $as_echo_n "checking for file... " >&6; }
7730 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7731 $as_echo_n "(cached) " >&6
7735 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7738 lt_save_MAGIC_CMD="$MAGIC_CMD"
7739 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7740 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7741 for ac_dir in $ac_dummy; do
7743 test -z "$ac_dir" && ac_dir=.
7744 if test -f $ac_dir/file; then
7745 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7746 if test -n "$file_magic_test_file"; then
7747 case $deplibs_check_method in
7749 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7750 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7751 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7752 $EGREP "$file_magic_regex" > /dev/null; then
7757 *** Warning: the command libtool uses to detect shared libraries,
7758 *** $file_magic_cmd, produces output that libtool cannot recognize.
7759 *** The result is that libtool may fail to recognize shared libraries
7760 *** as such. This will affect the creation of libtool libraries that
7761 *** depend on shared libraries, but programs linked with such libtool
7762 *** libraries will work regardless of this problem. Nevertheless, you
7763 *** may want to report the problem to your system manager and/or to
7764 *** bug-libtool@gnu.org
7774 MAGIC_CMD="$lt_save_MAGIC_CMD"
7779 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7780 if test -n "$MAGIC_CMD"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7782 $as_echo "$MAGIC_CMD" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7798 # Use C for the default configuration in the libtool script
7802 ac_cpp='$CPP $CPPFLAGS'
7803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7808 # Source file extension for C test sources.
7811 # Object file extension for compiled C test sources.
7815 # Code to be used in simple compile tests
7816 lt_simple_compile_test_code="int some_variable = 0;"
7818 # Code to be used in simple link tests
7819 lt_simple_link_test_code='int main(){return(0);}'
7827 # If no C compiler was specified, use CC.
7830 # If no C compiler flags were specified, use CFLAGS.
7831 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7833 # Allow CC to be a program name with arguments.
7836 # Save the default compiler, since it gets overwritten when the other
7837 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7838 compiler_DEFAULT=$CC
7840 # save warnings/boilerplate of simple test code
7841 ac_outfile=conftest.$ac_objext
7842 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7843 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7844 _lt_compiler_boilerplate=`cat conftest.err`
7847 ac_outfile=conftest.$ac_objext
7848 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7849 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7850 _lt_linker_boilerplate=`cat conftest.err`
7855 ## There is no encapsulation within the following macros, do not change
7856 ## the running order or otherwise move them around unless you know exactly
7857 ## what you are doing...
7858 if test -n "$compiler"; then
7860 lt_prog_compiler_no_builtin_flag=
7862 if test "$GCC" = yes; then
7863 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7866 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7867 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7868 $as_echo_n "(cached) " >&6
7870 lt_cv_prog_compiler_rtti_exceptions=no
7871 ac_outfile=conftest.$ac_objext
7872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7873 lt_compiler_flag="-fno-rtti -fno-exceptions"
7874 # Insert the option either (1) after the last *FLAGS variable, or
7875 # (2) before a word containing "conftest.", or (3) at the end.
7876 # Note that $ac_compile itself does not contain backslashes and begins
7877 # with a dollar sign (not a hyphen), so the echo should work correctly.
7878 # The option is referenced via a variable to avoid confusing sed.
7879 lt_compile=`echo "$ac_compile" | $SED \
7880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7882 -e 's:$: $lt_compiler_flag:'`
7883 (eval echo "\"\$as_me:7883: $lt_compile\"" >&5)
7884 (eval "$lt_compile" 2>conftest.err)
7886 cat conftest.err >&5
7887 echo "$as_me:7887: \$? = $ac_status" >&5
7888 if (exit $ac_status) && test -s "$ac_outfile"; then
7889 # The compiler can only warn and ignore the option if not recognized
7890 # So say no if there are warnings other than the usual output.
7891 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7892 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7893 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7894 lt_cv_prog_compiler_rtti_exceptions=yes
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7901 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7903 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7904 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7916 lt_prog_compiler_wl=
7917 lt_prog_compiler_pic=
7918 lt_prog_compiler_static=
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7921 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7923 if test "$GCC" = yes; then
7924 lt_prog_compiler_wl='-Wl,'
7925 lt_prog_compiler_static='-static'
7929 # All AIX code is PIC.
7930 if test "$host_cpu" = ia64; then
7931 # AIX 5 now supports IA64 processor
7932 lt_prog_compiler_static='-Bstatic'
7939 # see comment about AmigaOS4 .so support
7940 lt_prog_compiler_pic='-fPIC'
7943 # FIXME: we need at least 68020 code to build shared libraries, but
7944 # adding the `-m68020' flag to GCC prevents building anything better,
7946 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7951 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7952 # PIC is the default for these OSes.
7955 mingw* | cygwin* | pw32* | os2* | cegcc*)
7956 # This hack is so that the source file can tell whether it is being
7957 # built for inclusion in a dll (and should export symbols for example).
7958 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7959 # (--disable-auto-import) libraries
7960 lt_prog_compiler_pic='-DDLL_EXPORT'
7963 darwin* | rhapsody*)
7964 # PIC is the default on this platform
7965 # Common symbols not allowed in MH_DYLIB files
7966 lt_prog_compiler_pic='-fno-common'
7970 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7971 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7972 # sets the default TLS model and affects inlining.
7978 lt_prog_compiler_pic='-fPIC'
7984 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7985 # Instead, we relocate shared libraries at runtime.
7989 # Just because we use GCC doesn't mean we suddenly get shared libraries
7990 # on systems that don't support them.
7991 lt_prog_compiler_can_build_shared=no
7996 # QNX uses GNU C++, but need to define -shared option too, otherwise
7998 lt_prog_compiler_pic='-fPIC -shared'
8002 if test -d /usr/nec; then
8003 lt_prog_compiler_pic=-Kconform_pic
8008 lt_prog_compiler_pic='-fPIC'
8012 # PORTME Check for flag to pass linker flags through the system compiler.
8015 lt_prog_compiler_wl='-Wl,'
8016 if test "$host_cpu" = ia64; then
8017 # AIX 5 now supports IA64 processor
8018 lt_prog_compiler_static='-Bstatic'
8020 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8024 mingw* | cygwin* | pw32* | os2* | cegcc*)
8025 # This hack is so that the source file can tell whether it is being
8026 # built for inclusion in a dll (and should export symbols for example).
8027 lt_prog_compiler_pic='-DDLL_EXPORT'
8030 hpux9* | hpux10* | hpux11*)
8031 lt_prog_compiler_wl='-Wl,'
8032 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8039 lt_prog_compiler_pic='+Z'
8042 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8043 lt_prog_compiler_static='${wl}-a ${wl}archive'
8046 irix5* | irix6* | nonstopux*)
8047 lt_prog_compiler_wl='-Wl,'
8048 # PIC (with -KPIC) is the default.
8049 lt_prog_compiler_static='-non_shared'
8052 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8053 case $cc_basename in
8054 # old Intel for x86_64 which still supported -KPIC.
8056 lt_prog_compiler_wl='-Wl,'
8057 lt_prog_compiler_pic='-KPIC'
8058 lt_prog_compiler_static='-static'
8060 # icc used to be incompatible with GCC.
8061 # ICC 10 doesn't accept -KPIC any more.
8063 lt_prog_compiler_wl='-Wl,'
8064 lt_prog_compiler_pic='-fPIC'
8065 lt_prog_compiler_static='-static'
8067 # Lahey Fortran 8.1.
8069 lt_prog_compiler_wl='-Wl,'
8070 lt_prog_compiler_pic='--shared'
8071 lt_prog_compiler_static='--static'
8073 pgcc* | pgf77* | pgf90* | pgf95*)
8074 # Portland Group compilers (*not* the Pentium gcc compiler,
8075 # which looks to be a dead project)
8076 lt_prog_compiler_wl='-Wl,'
8077 lt_prog_compiler_pic='-fpic'
8078 lt_prog_compiler_static='-Bstatic'
8081 lt_prog_compiler_wl='-Wl,'
8082 # All Alpha code is PIC.
8083 lt_prog_compiler_static='-non_shared'
8086 # IBM XL C 8.0/Fortran 10.1 on PPC
8087 lt_prog_compiler_wl='-Wl,'
8088 lt_prog_compiler_pic='-qpic'
8089 lt_prog_compiler_static='-qstaticlink'
8092 case `$CC -V 2>&1 | sed 5q` in
8095 lt_prog_compiler_pic='-KPIC'
8096 lt_prog_compiler_static='-Bstatic'
8097 lt_prog_compiler_wl='-Wl,'
8100 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8101 lt_prog_compiler_pic='-KPIC'
8102 lt_prog_compiler_static='-Bstatic'
8103 lt_prog_compiler_wl=''
8111 lt_prog_compiler_pic='-KPIC'
8112 lt_prog_compiler_static='-Bstatic'
8116 # QNX uses GNU C++, but need to define -shared option too, otherwise
8118 lt_prog_compiler_pic='-fPIC -shared'
8121 osf3* | osf4* | osf5*)
8122 lt_prog_compiler_wl='-Wl,'
8123 # All OSF/1 code is PIC.
8124 lt_prog_compiler_static='-non_shared'
8128 lt_prog_compiler_static='-non_shared'
8132 lt_prog_compiler_pic='-KPIC'
8133 lt_prog_compiler_static='-Bstatic'
8134 case $cc_basename in
8136 lt_prog_compiler_wl='-Qoption ld ';;
8138 lt_prog_compiler_wl='-Wl,';;
8143 lt_prog_compiler_wl='-Qoption ld '
8144 lt_prog_compiler_pic='-PIC'
8145 lt_prog_compiler_static='-Bstatic'
8148 sysv4 | sysv4.2uw2* | sysv4.3*)
8149 lt_prog_compiler_wl='-Wl,'
8150 lt_prog_compiler_pic='-KPIC'
8151 lt_prog_compiler_static='-Bstatic'
8155 if test -d /usr/nec ;then
8156 lt_prog_compiler_pic='-Kconform_pic'
8157 lt_prog_compiler_static='-Bstatic'
8161 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8162 lt_prog_compiler_wl='-Wl,'
8163 lt_prog_compiler_pic='-KPIC'
8164 lt_prog_compiler_static='-Bstatic'
8168 lt_prog_compiler_wl='-Wl,'
8169 lt_prog_compiler_can_build_shared=no
8173 lt_prog_compiler_pic='-pic'
8174 lt_prog_compiler_static='-Bstatic'
8178 lt_prog_compiler_can_build_shared=no
8184 # For platforms which do not support PIC, -DPIC is meaningless:
8186 lt_prog_compiler_pic=
8189 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8193 $as_echo "$lt_prog_compiler_pic" >&6; }
8201 # Check to make sure the PIC flag actually works.
8203 if test -n "$lt_prog_compiler_pic"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8205 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8206 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8207 $as_echo_n "(cached) " >&6
8209 lt_cv_prog_compiler_pic_works=no
8210 ac_outfile=conftest.$ac_objext
8211 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8212 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8213 # Insert the option either (1) after the last *FLAGS variable, or
8214 # (2) before a word containing "conftest.", or (3) at the end.
8215 # Note that $ac_compile itself does not contain backslashes and begins
8216 # with a dollar sign (not a hyphen), so the echo should work correctly.
8217 # The option is referenced via a variable to avoid confusing sed.
8218 lt_compile=`echo "$ac_compile" | $SED \
8219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8221 -e 's:$: $lt_compiler_flag:'`
8222 (eval echo "\"\$as_me:8222: $lt_compile\"" >&5)
8223 (eval "$lt_compile" 2>conftest.err)
8225 cat conftest.err >&5
8226 echo "$as_me:8226: \$? = $ac_status" >&5
8227 if (exit $ac_status) && test -s "$ac_outfile"; then
8228 # The compiler can only warn and ignore the option if not recognized
8229 # So say no if there are warnings other than the usual output.
8230 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8231 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8232 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8233 lt_cv_prog_compiler_pic_works=yes
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8240 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8242 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8243 case $lt_prog_compiler_pic in
8245 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8248 lt_prog_compiler_pic=
8249 lt_prog_compiler_can_build_shared=no
8260 # Check to make sure the static flag actually works.
8262 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8264 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8265 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8266 $as_echo_n "(cached) " >&6
8268 lt_cv_prog_compiler_static_works=no
8269 save_LDFLAGS="$LDFLAGS"
8270 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8271 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8272 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8273 # The linker can only warn and ignore the option if not recognized
8274 # So say no if there are warnings
8275 if test -s conftest.err; then
8276 # Append any errors to the config.log.
8277 cat conftest.err 1>&5
8278 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8279 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8280 if diff conftest.exp conftest.er2 >/dev/null; then
8281 lt_cv_prog_compiler_static_works=yes
8284 lt_cv_prog_compiler_static_works=yes
8288 LDFLAGS="$save_LDFLAGS"
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8292 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8294 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8297 lt_prog_compiler_static=
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8308 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8309 $as_echo_n "(cached) " >&6
8311 lt_cv_prog_compiler_c_o=no
8312 $RM -r conftest 2>/dev/null
8316 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8318 lt_compiler_flag="-o out/conftest2.$ac_objext"
8319 # Insert the option either (1) after the last *FLAGS variable, or
8320 # (2) before a word containing "conftest.", or (3) at the end.
8321 # Note that $ac_compile itself does not contain backslashes and begins
8322 # with a dollar sign (not a hyphen), so the echo should work correctly.
8323 lt_compile=`echo "$ac_compile" | $SED \
8324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8326 -e 's:$: $lt_compiler_flag:'`
8327 (eval echo "\"\$as_me:8327: $lt_compile\"" >&5)
8328 (eval "$lt_compile" 2>out/conftest.err)
8330 cat out/conftest.err >&5
8331 echo "$as_me:8331: \$? = $ac_status" >&5
8332 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8334 # The compiler can only warn and ignore the option if not recognized
8335 # So say no if there are warnings
8336 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8337 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8338 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8339 lt_cv_prog_compiler_c_o=yes
8344 # SGI C++ compiler will create directory out/ii_files/ for
8345 # template instantiation
8346 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8347 $RM out/* && rmdir out
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8354 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8362 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8363 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8364 $as_echo_n "(cached) " >&6
8366 lt_cv_prog_compiler_c_o=no
8367 $RM -r conftest 2>/dev/null
8371 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8373 lt_compiler_flag="-o out/conftest2.$ac_objext"
8374 # Insert the option either (1) after the last *FLAGS variable, or
8375 # (2) before a word containing "conftest.", or (3) at the end.
8376 # Note that $ac_compile itself does not contain backslashes and begins
8377 # with a dollar sign (not a hyphen), so the echo should work correctly.
8378 lt_compile=`echo "$ac_compile" | $SED \
8379 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8381 -e 's:$: $lt_compiler_flag:'`
8382 (eval echo "\"\$as_me:8382: $lt_compile\"" >&5)
8383 (eval "$lt_compile" 2>out/conftest.err)
8385 cat out/conftest.err >&5
8386 echo "$as_me:8386: \$? = $ac_status" >&5
8387 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8389 # The compiler can only warn and ignore the option if not recognized
8390 # So say no if there are warnings
8391 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8392 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8393 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8394 lt_cv_prog_compiler_c_o=yes
8399 # SGI C++ compiler will create directory out/ii_files/ for
8400 # template instantiation
8401 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8402 $RM out/* && rmdir out
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8409 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8414 hard_links="nottested"
8415 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8416 # do not overwrite the value of need_locks provided by the user
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8418 $as_echo_n "checking if we can lock with hard links... " >&6; }
8421 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8423 ln conftest.a conftest.b 2>&5 || hard_links=no
8424 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8426 $as_echo "$hard_links" >&6; }
8427 if test "$hard_links" = no; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8429 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8442 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8445 allow_undefined_flag=
8446 always_export_symbols=no
8448 archive_expsym_cmds=
8449 compiler_needs_object=no
8450 enable_shared_with_static_runtimes=no
8451 export_dynamic_flag_spec=
8452 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8453 hardcode_automatic=no
8455 hardcode_direct_absolute=no
8456 hardcode_libdir_flag_spec=
8457 hardcode_libdir_flag_spec_ld=
8458 hardcode_libdir_separator=
8460 hardcode_shlibpath_var=unsupported
8462 link_all_deplibs=unknown
8465 old_archive_from_new_cmds=
8466 old_archive_from_expsyms_cmds=
8467 thread_safe_flag_spec=
8468 whole_archive_flag_spec=
8469 # include_expsyms should be a list of space-separated symbols to be *always*
8470 # included in the symbol list
8472 # exclude_expsyms can be an extended regexp of symbols to exclude
8473 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8474 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8475 # as well as any symbol that contains `d'.
8476 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8477 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8478 # platforms (ab)use it in PIC code, but their linkers get confused if
8479 # the symbol is explicitly referenced. Since portable code cannot
8480 # rely on this symbol name, it's probably fine to never include it in
8481 # preloaded symbol tables.
8482 # Exclude shared library initialization/finalization symbols.
8483 extract_expsyms_cmds=
8486 cygwin* | mingw* | pw32* | cegcc*)
8487 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8488 # When not using gcc, we currently assume that we are using
8489 # Microsoft Visual C++.
8490 if test "$GCC" != yes; then
8495 # we just hope/assume this is gcc and not c89 (= MSVC++)
8501 linux* | k*bsd*-gnu)
8507 if test "$with_gnu_ld" = yes; then
8508 # If archive_cmds runs LD, not CC, wlarc should be empty
8511 # Set some defaults for GNU ld with shared library support. These
8512 # are reset later if shared libraries are not supported. Putting them
8513 # here allows them to be overridden if necessary.
8514 runpath_var=LD_RUN_PATH
8515 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8516 export_dynamic_flag_spec='${wl}--export-dynamic'
8517 # ancient GNU ld didn't support --whole-archive et. al.
8518 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8519 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8521 whole_archive_flag_spec=
8523 supports_anon_versioning=no
8524 case `$LD -v 2>&1` in
8525 *GNU\ gold*) supports_anon_versioning=yes ;;
8526 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8527 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8528 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8529 *\ 2.11.*) ;; # other 2.11 versions
8530 *) supports_anon_versioning=yes ;;
8533 # See if GNU ld supports shared libraries.
8536 # On AIX/PPC, the GNU linker is very broken
8537 if test "$host_cpu" != ia64; then
8541 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8542 *** to be unable to reliably create shared libraries on AIX.
8543 *** Therefore, libtool is disabling shared libraries support. If you
8544 *** really care for shared libraries, you may want to modify your PATH
8545 *** so that a non-GNU linker is found, and then restart.
8554 # see comment about AmigaOS4 .so support
8555 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8556 archive_expsym_cmds=''
8559 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)'
8560 hardcode_libdir_flag_spec='-L$libdir'
8561 hardcode_minus_L=yes
8567 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8568 allow_undefined_flag=unsupported
8569 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8570 # support --undefined. This deserves some investigation. FIXME
8571 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8577 cygwin* | mingw* | pw32* | cegcc*)
8578 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8579 # as there is no search path for DLLs.
8580 hardcode_libdir_flag_spec='-L$libdir'
8581 allow_undefined_flag=unsupported
8582 always_export_symbols=no
8583 enable_shared_with_static_runtimes=yes
8584 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8586 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8587 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8588 # If the export-symbols file already is a .def file (1st line
8589 # is EXPORTS), use it as is; otherwise, prepend...
8590 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8591 cp $export_symbols $output_objdir/$soname.def;
8593 echo EXPORTS > $output_objdir/$soname.def;
8594 cat $export_symbols >> $output_objdir/$soname.def;
8596 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8604 hardcode_shlibpath_var=no
8605 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8606 export_dynamic_flag_spec='${wl}-E'
8607 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8608 # Instead, shared libraries are loaded at an image base (0x10000000 by
8609 # default) and relocated if they conflict, which is a slow very memory
8610 # consuming and fragmenting process. To avoid this, we pick a random,
8611 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8612 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8613 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8614 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'
8617 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8619 if test "$host_os" = linux-dietlibc; then
8620 case $cc_basename in
8621 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8624 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8625 && test "$tmp_diet" = no
8628 tmp_sharedflag='-shared'
8629 case $cc_basename,$host_cpu in
8630 pgcc*) # Portland Group C compiler
8631 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'
8632 tmp_addflag=' $pic_flag'
8634 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8635 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'
8636 tmp_addflag=' $pic_flag -Mnomain' ;;
8637 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8638 tmp_addflag=' -i_dynamic' ;;
8639 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8640 tmp_addflag=' -i_dynamic -nofor_main' ;;
8641 ifc* | ifort*) # Intel Fortran compiler
8642 tmp_addflag=' -nofor_main' ;;
8643 lf95*) # Lahey Fortran 8.1
8644 whole_archive_flag_spec=
8645 tmp_sharedflag='--shared' ;;
8646 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8647 tmp_sharedflag='-qmkshrobj'
8650 case `$CC -V 2>&1 | sed 5q` in
8651 *Sun\ C*) # Sun C 5.9
8652 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'
8653 compiler_needs_object=yes
8654 tmp_sharedflag='-G' ;;
8655 *Sun\ F*) # Sun Fortran 8.3
8656 tmp_sharedflag='-G' ;;
8658 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8660 if test "x$supports_anon_versioning" = xyes; then
8661 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8662 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8663 echo "local: *; };" >> $output_objdir/$libname.ver~
8664 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8667 case $cc_basename in
8669 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8670 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8671 hardcode_libdir_flag_spec=
8672 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8673 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8674 if test "x$supports_anon_versioning" = xyes; then
8675 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8676 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8677 echo "local: *; };" >> $output_objdir/$libname.ver~
8678 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8687 netbsd* | netbsdelf*-gnu)
8688 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8689 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8692 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8693 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8698 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8702 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8703 *** create shared libraries on Solaris systems. Therefore, libtool
8704 *** is disabling shared libraries support. We urge you to upgrade GNU
8705 *** binutils to release 2.9.1 or newer. Another option is to modify
8706 *** your PATH or compiler configuration so that the native linker is
8707 *** used, and then restart.
8710 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8711 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8712 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8718 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8719 case `$LD -v 2>&1` in
8720 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8724 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8725 *** reliably create shared libraries on SCO systems. Therefore, libtool
8726 *** is disabling shared libraries support. We urge you to upgrade GNU
8727 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8728 *** your PATH or compiler configuration so that the native linker is
8729 *** used, and then restart.
8734 # For security reasons, it is highly recommended that you always
8735 # use absolute paths for naming shared libraries, and exclude the
8736 # DT_RUNPATH tag from executables and libraries. But doing so
8737 # requires that you compile everything twice, which is a pain.
8738 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8741 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8750 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8753 hardcode_shlibpath_var=no
8757 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8758 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8759 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8766 if test "$ld_shlibs" = no; then
8768 hardcode_libdir_flag_spec=
8769 export_dynamic_flag_spec=
8770 whole_archive_flag_spec=
8773 # PORTME fill in a description of your system's linker (not GNU ld)
8776 allow_undefined_flag=unsupported
8777 always_export_symbols=yes
8778 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'
8779 # Note: this linker hardcodes the directories in LIBPATH if there
8780 # are no directories specified by -L.
8781 hardcode_minus_L=yes
8782 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8783 # Neither direct hardcoding nor static linking is supported with a
8785 hardcode_direct=unsupported
8790 if test "$host_cpu" = ia64; then
8791 # On IA64, the linker does run time linking by default, so we don't
8792 # have to do anything special.
8793 aix_use_runtimelinking=no
8794 exp_sym_flag='-Bexport'
8797 # If we're using GNU nm, then we don't want the "-C" option.
8798 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8799 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8800 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'
8802 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'
8804 aix_use_runtimelinking=no
8806 # Test if we are trying to use run time linking or normal
8807 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8808 # need to do runtime linking.
8809 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8810 for ld_flag in $LDFLAGS; do
8811 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8812 aix_use_runtimelinking=yes
8819 exp_sym_flag='-bexport'
8820 no_entry_flag='-bnoentry'
8823 # When large executables or shared objects are built, AIX ld can
8824 # have problems creating the table of contents. If linking a library
8825 # or program results in "error TOC overflow" add -mminimal-toc to
8826 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8827 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8831 hardcode_direct_absolute=yes
8832 hardcode_libdir_separator=':'
8833 link_all_deplibs=yes
8834 file_list_spec='${wl}-f,'
8836 if test "$GCC" = yes; then
8837 case $host_os in aix4.[012]|aix4.[012].*)
8838 # We only want to do this on AIX 4.2 and lower, the check
8839 # below for broken collect2 doesn't work under 4.3+
8840 collect2name=`${CC} -print-prog-name=collect2`
8841 if test -f "$collect2name" &&
8842 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8844 # We have reworked collect2
8847 # We have old collect2
8848 hardcode_direct=unsupported
8849 # It fails to find uninstalled libraries when the uninstalled
8850 # path is not listed in the libpath. Setting hardcode_minus_L
8851 # to unsupported forces relinking
8852 hardcode_minus_L=yes
8853 hardcode_libdir_flag_spec='-L$libdir'
8854 hardcode_libdir_separator=
8858 shared_flag='-shared'
8859 if test "$aix_use_runtimelinking" = yes; then
8860 shared_flag="$shared_flag "'${wl}-G'
8865 if test "$host_cpu" = ia64; then
8866 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8867 # chokes on -Wl,-G. The following line is correct:
8870 if test "$aix_use_runtimelinking" = yes; then
8871 shared_flag='${wl}-G'
8873 shared_flag='${wl}-bM:SRE'
8878 export_dynamic_flag_spec='${wl}-bexpall'
8879 # It seems that -bexpall does not export symbols beginning with
8880 # underscore (_), so it is better to generate a list of symbols to export.
8881 always_export_symbols=yes
8882 if test "$aix_use_runtimelinking" = yes; then
8883 # Warning - without using the other runtime loading flags (-brtl),
8884 # -berok will link without error, but may produce a broken library.
8885 allow_undefined_flag='-berok'
8886 # Determine the default libpath from the value encoded in an
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8899 if ac_fn_c_try_link "$LINENO"; then :
8901 lt_aix_libpath_sed='
8902 /Import File Strings/,/^$/ {
8908 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8909 # Check for a 64-bit object if we didn't find anything.
8910 if test -z "$aix_libpath"; then
8911 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8914 rm -f core conftest.err conftest.$ac_objext \
8915 conftest$ac_exeext conftest.$ac_ext
8916 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8918 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8919 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"
8921 if test "$host_cpu" = ia64; then
8922 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8923 allow_undefined_flag="-z nodefs"
8924 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"
8926 # Determine the default libpath from the value encoded in an
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8939 if ac_fn_c_try_link "$LINENO"; then :
8941 lt_aix_libpath_sed='
8942 /Import File Strings/,/^$/ {
8948 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8949 # Check for a 64-bit object if we didn't find anything.
8950 if test -z "$aix_libpath"; then
8951 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8954 rm -f core conftest.err conftest.$ac_objext \
8955 conftest$ac_exeext conftest.$ac_ext
8956 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8958 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8959 # Warning - without using the other run time loading flags,
8960 # -berok will link without error, but may produce a broken library.
8961 no_undefined_flag=' ${wl}-bernotok'
8962 allow_undefined_flag=' ${wl}-berok'
8963 # Exported symbols can be pulled into shared objects from archives
8964 whole_archive_flag_spec='$convenience'
8965 archive_cmds_need_lc=yes
8966 # This is similar to how AIX traditionally builds its shared libraries.
8967 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'
8975 # see comment about AmigaOS4 .so support
8976 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8977 archive_expsym_cmds=''
8980 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)'
8981 hardcode_libdir_flag_spec='-L$libdir'
8982 hardcode_minus_L=yes
8988 export_dynamic_flag_spec=-rdynamic
8991 cygwin* | mingw* | pw32* | cegcc*)
8992 # When not using gcc, we currently assume that we are using
8993 # Microsoft Visual C++.
8994 # hardcode_libdir_flag_spec is actually meaningless, as there is
8995 # no search path for DLLs.
8996 hardcode_libdir_flag_spec=' '
8997 allow_undefined_flag=unsupported
8998 # Tell ltmain to make .lib files, not .a files.
9000 # Tell ltmain to make .dll files, not .so files.
9002 # FIXME: Setting linknames here is a bad hack.
9003 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9004 # The linker will automatically build a .lib file if we build a DLL.
9005 old_archive_from_new_cmds='true'
9006 # FIXME: Should let the user specify the lib program.
9007 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9008 fix_srcfile_path='`cygpath -w "$srcfile"`'
9009 enable_shared_with_static_runtimes=yes
9012 darwin* | rhapsody*)
9015 archive_cmds_need_lc=no
9017 hardcode_automatic=yes
9018 hardcode_shlibpath_var=unsupported
9019 whole_archive_flag_spec=''
9020 link_all_deplibs=yes
9021 allow_undefined_flag="$_lt_dar_allow_undefined"
9022 case $cc_basename in
9023 ifort*) _lt_dar_can_shared=yes ;;
9024 *) _lt_dar_can_shared=$GCC ;;
9026 if test "$_lt_dar_can_shared" = "yes"; then
9027 output_verbose_link_cmd=echo
9028 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9029 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9030 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}"
9031 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}"
9040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9041 hardcode_libdir_flag_spec='-L$libdir'
9042 hardcode_shlibpath_var=no
9049 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9050 # support. Future versions do this automatically, but an explicit c++rt0.o
9051 # does not break anything, and helps significantly (at the cost of a little
9054 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9055 hardcode_libdir_flag_spec='-R$libdir'
9057 hardcode_shlibpath_var=no
9060 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9062 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9064 hardcode_minus_L=yes
9065 hardcode_shlibpath_var=no
9068 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9069 freebsd* | dragonfly*)
9070 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9071 hardcode_libdir_flag_spec='-R$libdir'
9073 hardcode_shlibpath_var=no
9077 if test "$GCC" = yes; then
9078 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'
9080 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'
9082 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9083 hardcode_libdir_separator=:
9086 # hardcode_minus_L: Not really in the search PATH,
9087 # but as the default location of the library.
9088 hardcode_minus_L=yes
9089 export_dynamic_flag_spec='${wl}-E'
9093 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9094 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9096 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9098 if test "$with_gnu_ld" = no; then
9099 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9100 hardcode_libdir_flag_spec_ld='+b $libdir'
9101 hardcode_libdir_separator=:
9103 hardcode_direct_absolute=yes
9104 export_dynamic_flag_spec='${wl}-E'
9105 # hardcode_minus_L: Not really in the search PATH,
9106 # but as the default location of the library.
9107 hardcode_minus_L=yes
9112 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9115 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9118 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9121 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9127 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9130 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9133 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9137 if test "$with_gnu_ld" = no; then
9138 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9139 hardcode_libdir_separator=:
9144 hardcode_shlibpath_var=no
9148 hardcode_direct_absolute=yes
9149 export_dynamic_flag_spec='${wl}-E'
9151 # hardcode_minus_L: Not really in the search PATH,
9152 # but as the default location of the library.
9153 hardcode_minus_L=yes
9159 irix5* | irix6* | nonstopux*)
9160 if test "$GCC" = yes; then
9161 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'
9162 # Try to use the -exported_symbol ld option, if it does not
9163 # work, assume that -exports_file does not work either and
9164 # implicitly export all symbols.
9165 save_LDFLAGS="$LDFLAGS"
9166 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 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'
9175 rm -f core conftest.err conftest.$ac_objext \
9176 conftest$ac_exeext conftest.$ac_ext
9177 LDFLAGS="$save_LDFLAGS"
9179 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'
9180 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'
9182 archive_cmds_need_lc='no'
9183 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9184 hardcode_libdir_separator=:
9186 link_all_deplibs=yes
9189 netbsd* | netbsdelf*-gnu)
9190 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9191 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9193 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9195 hardcode_libdir_flag_spec='-R$libdir'
9197 hardcode_shlibpath_var=no
9201 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9203 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9204 hardcode_libdir_separator=:
9205 hardcode_shlibpath_var=no
9212 if test -f /usr/libexec/ld.so; then
9214 hardcode_shlibpath_var=no
9215 hardcode_direct_absolute=yes
9216 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9217 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9218 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9219 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9220 export_dynamic_flag_spec='${wl}-E'
9223 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9224 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9225 hardcode_libdir_flag_spec='-R$libdir'
9228 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9229 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 hardcode_minus_L=yes
9241 allow_undefined_flag=unsupported
9242 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'
9243 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9247 if test "$GCC" = yes; then
9248 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9249 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'
9251 allow_undefined_flag=' -expect_unresolved \*'
9252 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'
9254 archive_cmds_need_lc='no'
9255 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256 hardcode_libdir_separator=:
9259 osf4* | osf5*) # as osf3* with the addition of -msym flag
9260 if test "$GCC" = yes; then
9261 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9262 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'
9263 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9265 allow_undefined_flag=' -expect_unresolved \*'
9266 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'
9267 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~
9268 $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'
9270 # Both c and cxx compiler support -rpath directly
9271 hardcode_libdir_flag_spec='-rpath $libdir'
9273 archive_cmds_need_lc='no'
9274 hardcode_libdir_separator=:
9278 no_undefined_flag=' -z defs'
9279 if test "$GCC" = yes; then
9281 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9282 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9283 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9285 case `$CC -V 2>&1` in
9288 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9289 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9290 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9294 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9296 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9300 hardcode_libdir_flag_spec='-R$libdir'
9301 hardcode_shlibpath_var=no
9303 solaris2.[0-5] | solaris2.[0-5].*) ;;
9305 # The compiler driver will combine and reorder linker options,
9306 # but understands `-z linker_flag'. GCC discards it without `$wl',
9307 # but is careful enough not to reorder.
9308 # Supported since Solaris 2.6 (maybe 2.5.1?)
9309 if test "$GCC" = yes; then
9310 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9312 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9316 link_all_deplibs=yes
9320 if test "x$host_vendor" = xsequent; then
9321 # Use $CC to link under sequent, because it throws in some extra .o
9322 # files that make .init and .fini sections work.
9323 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9325 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9327 hardcode_libdir_flag_spec='-L$libdir'
9329 hardcode_minus_L=yes
9330 hardcode_shlibpath_var=no
9334 case $host_vendor in
9336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9337 hardcode_direct=yes # is this really true???
9340 ## LD is ld it makes a PLAMLIB
9341 ## CC just makes a GrossModule.
9342 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9343 reload_cmds='$CC -r -o $output$reload_objs'
9347 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9351 runpath_var='LD_RUN_PATH'
9352 hardcode_shlibpath_var=no
9356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9357 hardcode_shlibpath_var=no
9358 export_dynamic_flag_spec='-Bexport'
9362 if test -d /usr/nec; then
9363 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9364 hardcode_shlibpath_var=no
9365 runpath_var=LD_RUN_PATH
9366 hardcode_runpath_var=yes
9371 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9372 no_undefined_flag='${wl}-z,text'
9373 archive_cmds_need_lc=no
9374 hardcode_shlibpath_var=no
9375 runpath_var='LD_RUN_PATH'
9377 if test "$GCC" = yes; then
9378 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9381 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9386 sysv5* | sco3.2v5* | sco5v6*)
9387 # Note: We can NOT use -z defs as we might desire, because we do not
9388 # link with -lc, and that would cause any symbols used from libc to
9389 # always be unresolved, which means just about no library would
9390 # ever link correctly. If we're not using GNU ld we use -z text
9391 # though, which does catch some bad symbols but isn't as heavy-handed
9393 no_undefined_flag='${wl}-z,text'
9394 allow_undefined_flag='${wl}-z,nodefs'
9395 archive_cmds_need_lc=no
9396 hardcode_shlibpath_var=no
9397 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9398 hardcode_libdir_separator=':'
9399 link_all_deplibs=yes
9400 export_dynamic_flag_spec='${wl}-Bexport'
9401 runpath_var='LD_RUN_PATH'
9403 if test "$GCC" = yes; then
9404 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9407 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9413 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414 hardcode_libdir_flag_spec='-L$libdir'
9415 hardcode_shlibpath_var=no
9423 if test x$host_vendor = xsni; then
9425 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9426 export_dynamic_flag_spec='${wl}-Blargedynsym'
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9433 $as_echo "$ld_shlibs" >&6; }
9434 test "$ld_shlibs" = no && can_build_shared=no
9436 with_gnu_ld=$with_gnu_ld
9453 # Do we need to explicitly link libc?
9455 case "x$archive_cmds_need_lc" in
9457 # Assume -lc should be added
9458 archive_cmds_need_lc=yes
9460 if test "$enable_shared" = yes && test "$GCC" = yes; then
9461 case $archive_cmds in
9463 # FIXME: we may have to deal with multi-command sequences.
9466 # Test whether the compiler implicitly links with -lc since on some
9467 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9468 # to ld, don't add -lc before -lgcc.
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9470 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9475 (eval $ac_compile) 2>&5
9477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9478 test $ac_status = 0; } 2>conftest.err; then
9481 libobjs=conftest.$ac_objext
9483 wl=$lt_prog_compiler_wl
9484 pic_flag=$lt_prog_compiler_pic
9490 lt_save_allow_undefined_flag=$allow_undefined_flag
9491 allow_undefined_flag=
9492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9493 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9496 test $ac_status = 0; }
9498 archive_cmds_need_lc=no
9500 archive_cmds_need_lc=yes
9502 allow_undefined_flag=$lt_save_allow_undefined_flag
9504 cat conftest.err 1>&5
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9508 $as_echo "$archive_cmds_need_lc" >&6; }
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9672 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9674 if test "$GCC" = yes; then
9676 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9677 *) lt_awk_arg="/^libraries:/" ;;
9679 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9680 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9681 # if the path contains ";" then we assume it to be the separator
9682 # otherwise default to the standard path separator (i.e. ":") - it is
9683 # assumed that no part of a normal pathname contains ";" but that should
9684 # okay in the real world where ";" in dirpaths is itself problematic.
9685 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9687 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9689 # Ok, now we have the path, separated by spaces, we can step through it
9690 # and add multilib dir if necessary.
9691 lt_tmp_lt_search_path_spec=
9692 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9693 for lt_sys_path in $lt_search_path_spec; do
9694 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9695 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9697 test -d "$lt_sys_path" && \
9698 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9701 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9702 BEGIN {RS=" "; FS="/|\n";} {
9705 for (lt_i = NF; lt_i > 0; lt_i--) {
9706 if ($lt_i != "" && $lt_i != ".") {
9707 if ($lt_i == "..") {
9710 if (lt_count == 0) {
9711 lt_foo="/" $lt_i lt_foo;
9718 if (lt_foo != "") { lt_freq[lt_foo]++; }
9719 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9721 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9723 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9726 libname_spec='lib$name'
9734 shlibpath_overrides_runpath=unknown
9736 dynamic_linker="$host_os ld.so"
9737 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9738 need_lib_prefix=unknown
9739 hardcode_into_libs=no
9741 # when you set need_version to no, make sure it does not cause -set_version
9742 # flags to be left without arguments
9743 need_version=unknown
9748 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9749 shlibpath_var=LIBPATH
9751 # AIX 3 has no versioning support, so we append a major version to the name.
9752 soname_spec='${libname}${release}${shared_ext}$major'
9759 hardcode_into_libs=yes
9760 if test "$host_cpu" = ia64; then
9761 # AIX 5 supports IA64
9762 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9763 shlibpath_var=LD_LIBRARY_PATH
9765 # With GCC up to 2.95.x, collect2 would create an import file
9766 # for dependence libraries. The import file would start with
9767 # the line `#! .'. This would cause the generated library to
9768 # depend on `.', always an invalid library. This was fixed in
9769 # development snapshots of GCC prior to 3.0.
9771 aix4 | aix4.[01] | aix4.[01].*)
9772 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9774 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9781 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9782 # soname into executable. Probably we can add versioning support to
9783 # collect2, so additional links can be useful in future.
9784 if test "$aix_use_runtimelinking" = yes; then
9785 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9786 # instead of lib<name>.a to let people know that these are not
9787 # typical AIX shared libraries.
9788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9790 # We preserve .a as extension for shared libraries through AIX4.2
9791 # and later when we are not doing run time linking.
9792 library_names_spec='${libname}${release}.a $libname.a'
9793 soname_spec='${libname}${release}${shared_ext}$major'
9795 shlibpath_var=LIBPATH
9802 # Since July 2007 AmigaOS4 officially supports .so libraries.
9803 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807 library_names_spec='$libname.ixlibrary $libname.a'
9808 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9809 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'
9815 library_names_spec='${libname}${shared_ext}'
9816 dynamic_linker="$host_os ld.so"
9817 shlibpath_var=LIBRARY_PATH
9823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9824 soname_spec='${libname}${release}${shared_ext}$major'
9825 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9826 shlibpath_var=LD_LIBRARY_PATH
9827 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9828 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9829 # the default ld.so.conf also contains /usr/contrib/lib and
9830 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9831 # libtool to hard-code these into programs
9834 cygwin* | mingw* | pw32* | cegcc*)
9835 version_type=windows
9840 case $GCC,$host_os in
9841 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9842 library_names_spec='$libname.dll.a'
9843 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9844 postinstall_cmds='base_file=`basename \${file}`~
9845 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9846 dldir=$destdir/`dirname \$dlpath`~
9847 test -d \$dldir || mkdir -p \$dldir~
9848 $install_prog $dir/$dlname \$dldir/$dlname~
9849 chmod a+x \$dldir/$dlname~
9850 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9851 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9853 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9854 dlpath=$dir/\$dldll~
9856 shlibpath_overrides_runpath=yes
9860 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9861 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9862 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9865 # MinGW DLLs use traditional 'lib' prefix
9866 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9867 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9868 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9869 # It is most probably a Windows format PATH printed by
9870 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9871 # path with ; separators, and with drive letters. We can handle the
9872 # drive letters (cygwin fileutils understands them), so leave them,
9873 # especially as we might pass files found there to a mingw objdump,
9874 # which wouldn't understand a cygwinified path. Ahh.
9875 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9877 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9881 # pw32 DLLs use 'pw' prefix rather than 'lib'
9882 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9888 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9891 dynamic_linker='Win32 ld.exe'
9892 # FIXME: first we should search . and the directory the executable is in
9896 darwin* | rhapsody*)
9897 dynamic_linker="$host_os dyld"
9901 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9902 soname_spec='${libname}${release}${major}$shared_ext'
9903 shlibpath_overrides_runpath=yes
9904 shlibpath_var=DYLD_LIBRARY_PATH
9905 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9907 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9908 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9916 soname_spec='${libname}${release}${shared_ext}$major'
9917 shlibpath_var=LD_LIBRARY_PATH
9924 freebsd* | dragonfly*)
9925 # DragonFly does not have aout. When/if they implement a new
9926 # versioning mechanism, adjust this.
9927 if test -x /usr/bin/objformat; then
9928 objformat=`/usr/bin/objformat`
9931 freebsd[123]*) objformat=aout ;;
9935 version_type=freebsd-$objformat
9936 case $version_type in
9938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9943 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9947 shlibpath_var=LD_LIBRARY_PATH
9950 shlibpath_overrides_runpath=yes
9952 freebsd3.[01]* | freebsdelf3.[01]*)
9953 shlibpath_overrides_runpath=yes
9954 hardcode_into_libs=yes
9956 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9957 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9958 shlibpath_overrides_runpath=no
9959 hardcode_into_libs=yes
9961 *) # from 4.6 on, and DragonFly
9962 shlibpath_overrides_runpath=yes
9963 hardcode_into_libs=yes
9972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9973 soname_spec='${libname}${release}${shared_ext}$major'
9974 shlibpath_var=LD_LIBRARY_PATH
9975 hardcode_into_libs=yes
9978 hpux9* | hpux10* | hpux11*)
9979 # Give a soname corresponding to the major version so that dld.sl refuses to
9980 # link against other versions.
9987 hardcode_into_libs=yes
9988 dynamic_linker="$host_os dld.so"
9989 shlibpath_var=LD_LIBRARY_PATH
9990 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992 soname_spec='${libname}${release}${shared_ext}$major'
9993 if test "X$HPUX_IA64_MODE" = X32; then
9994 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9996 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9998 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10002 hardcode_into_libs=yes
10003 dynamic_linker="$host_os dld.sl"
10004 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10005 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10007 soname_spec='${libname}${release}${shared_ext}$major'
10008 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10009 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10013 dynamic_linker="$host_os dld.sl"
10014 shlibpath_var=SHLIB_PATH
10015 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10017 soname_spec='${libname}${release}${shared_ext}$major'
10020 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10021 postinstall_cmds='chmod 555 $lib'
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10031 shlibpath_var=LD_LIBRARY_PATH
10032 shlibpath_overrides_runpath=no
10033 hardcode_into_libs=yes
10036 irix5* | irix6* | nonstopux*)
10038 nonstopux*) version_type=nonstopux ;;
10040 if test "$lt_cv_prog_gnu_ld" = yes; then
10048 soname_spec='${libname}${release}${shared_ext}$major'
10049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10051 irix5* | nonstopux*)
10052 libsuff= shlibsuff=
10055 case $LD in # libtool.m4 will add one of these switches to LD
10056 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10057 libsuff= shlibsuff= libmagic=32-bit;;
10058 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10059 libsuff=32 shlibsuff=N32 libmagic=N32;;
10060 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10061 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10062 *) libsuff= shlibsuff= libmagic=never-match;;
10066 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10067 shlibpath_overrides_runpath=no
10068 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10069 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10070 hardcode_into_libs=yes
10073 # No shared lib support for Linux oldld, aout, or coff.
10074 linux*oldld* | linux*aout* | linux*coff*)
10078 # This must be Linux ELF.
10079 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10084 soname_spec='${libname}${release}${shared_ext}$major'
10085 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10086 shlibpath_var=LD_LIBRARY_PATH
10087 shlibpath_overrides_runpath=no
10088 # Some binutils ld are patched to set DT_RUNPATH
10089 save_LDFLAGS=$LDFLAGS
10090 save_libdir=$libdir
10091 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10092 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10106 shlibpath_overrides_runpath=yes
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 LDFLAGS=$save_LDFLAGS
10112 libdir=$save_libdir
10114 # This implies no fast_install, which is unacceptable.
10115 # Some rework will be needed to allow for fast_install
10116 # before this can be enabled.
10117 hardcode_into_libs=yes
10119 # Append ld.so.conf contents to the search path
10120 if test -f /etc/ld.so.conf; then
10121 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' ' '`
10122 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10125 # We used to test for /lib/ld.so.1 and disable shared libraries on
10126 # powerpc, because MkLinux only supported shared libraries with the
10127 # GNU dynamic linker. Since this was broken with cross compilers,
10128 # most powerpc-linux boxes support dynamic linking these days and
10129 # people can always --disable-shared, the test was removed, and we
10130 # assume the GNU/Linux dynamic linker is in use.
10131 dynamic_linker='GNU/Linux ld.so'
10138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10139 soname_spec='${libname}${release}${shared_ext}$major'
10140 shlibpath_var=LD_LIBRARY_PATH
10141 shlibpath_overrides_runpath=no
10142 hardcode_into_libs=yes
10143 dynamic_linker='NetBSD ld.elf_so'
10150 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10152 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10153 dynamic_linker='NetBSD (a.out) ld.so'
10155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10156 soname_spec='${libname}${release}${shared_ext}$major'
10157 dynamic_linker='NetBSD ld.elf_so'
10159 shlibpath_var=LD_LIBRARY_PATH
10160 shlibpath_overrides_runpath=yes
10161 hardcode_into_libs=yes
10166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10167 shlibpath_var=LD_LIBRARY_PATH
10168 shlibpath_overrides_runpath=yes
10175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176 soname_spec='${libname}${release}${shared_ext}$major'
10177 shlibpath_var=LD_LIBRARY_PATH
10178 shlibpath_overrides_runpath=no
10179 hardcode_into_libs=yes
10180 dynamic_linker='ldqnx.so'
10185 sys_lib_dlsearch_path_spec="/usr/lib"
10187 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10189 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10190 *) need_version=no ;;
10192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10193 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10194 shlibpath_var=LD_LIBRARY_PATH
10195 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10197 openbsd2.[89] | openbsd2.[89].*)
10198 shlibpath_overrides_runpath=no
10201 shlibpath_overrides_runpath=yes
10205 shlibpath_overrides_runpath=yes
10210 libname_spec='$name'
10213 library_names_spec='$libname${shared_ext} $libname.a'
10214 dynamic_linker='OS/2 ld.exe'
10215 shlibpath_var=LIBPATH
10218 osf3* | osf4* | osf5*)
10222 soname_spec='${libname}${release}${shared_ext}$major'
10223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10224 shlibpath_var=LD_LIBRARY_PATH
10225 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10226 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10238 soname_spec='${libname}${release}${shared_ext}$major'
10239 shlibpath_var=LD_LIBRARY_PATH
10240 shlibpath_overrides_runpath=yes
10241 hardcode_into_libs=yes
10242 # ldd complains unless libraries are executable
10243 postinstall_cmds='chmod +x $lib'
10248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10249 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10250 shlibpath_var=LD_LIBRARY_PATH
10251 shlibpath_overrides_runpath=yes
10252 if test "$with_gnu_ld" = yes; then
10260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10261 soname_spec='${libname}${release}${shared_ext}$major'
10262 shlibpath_var=LD_LIBRARY_PATH
10263 case $host_vendor in
10265 shlibpath_overrides_runpath=no
10267 runpath_var=LD_RUN_PATH
10275 shlibpath_overrides_runpath=no
10276 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10282 if test -d /usr/nec ;then
10284 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10285 soname_spec='$libname${shared_ext}.$major'
10286 shlibpath_var=LD_LIBRARY_PATH
10290 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10291 version_type=freebsd-elf
10294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10295 soname_spec='${libname}${release}${shared_ext}$major'
10296 shlibpath_var=LD_LIBRARY_PATH
10297 shlibpath_overrides_runpath=yes
10298 hardcode_into_libs=yes
10299 if test "$with_gnu_ld" = yes; then
10300 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10302 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10305 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10309 sys_lib_dlsearch_path_spec='/usr/lib'
10313 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 shlibpath_var=LD_LIBRARY_PATH
10319 shlibpath_overrides_runpath=no
10320 hardcode_into_libs=yes
10325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326 soname_spec='${libname}${release}${shared_ext}$major'
10327 shlibpath_var=LD_LIBRARY_PATH
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10335 $as_echo "$dynamic_linker" >&6; }
10336 test "$dynamic_linker" = no && can_build_shared=no
10338 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10339 if test "$GCC" = yes; then
10340 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10343 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10344 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10346 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10347 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10437 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10439 if test -n "$hardcode_libdir_flag_spec" ||
10440 test -n "$runpath_var" ||
10441 test "X$hardcode_automatic" = "Xyes" ; then
10443 # We can hardcode non-existent directories.
10444 if test "$hardcode_direct" != no &&
10445 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10446 # have to relink, otherwise we might link with an installed library
10447 # when we should be linking with a yet-to-be-installed one
10448 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10449 test "$hardcode_minus_L" != no; then
10450 # Linking always hardcodes the temporary library directory.
10451 hardcode_action=relink
10453 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10454 hardcode_action=immediate
10457 # We cannot hardcode anything, or else we can only hardcode existing
10459 hardcode_action=unsupported
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10462 $as_echo "$hardcode_action" >&6; }
10464 if test "$hardcode_action" = relink ||
10465 test "$inherit_rpath" = yes; then
10466 # Fast installation is not supported
10467 enable_fast_install=no
10468 elif test "$shlibpath_overrides_runpath" = yes ||
10469 test "$enable_shared" = no; then
10470 # Fast installation is not necessary
10471 enable_fast_install=needless
10479 if test "x$enable_dlopen" != xyes; then
10480 enable_dlopen=unknown
10481 enable_dlopen_self=unknown
10482 enable_dlopen_self_static=unknown
10489 lt_cv_dlopen="load_add_on"
10491 lt_cv_dlopen_self=yes
10494 mingw* | pw32* | cegcc*)
10495 lt_cv_dlopen="LoadLibrary"
10500 lt_cv_dlopen="dlopen"
10505 # if libdl is installed we need to link against it
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10507 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10508 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10509 $as_echo_n "(cached) " >&6
10511 ac_check_lib_save_LIBS=$LIBS
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10531 if ac_fn_c_try_link "$LINENO"; then :
10532 ac_cv_lib_dl_dlopen=yes
10534 ac_cv_lib_dl_dlopen=no
10536 rm -f core conftest.err conftest.$ac_objext \
10537 conftest$ac_exeext conftest.$ac_ext
10538 LIBS=$ac_check_lib_save_LIBS
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10541 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10542 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10543 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10546 lt_cv_dlopen="dyld"
10548 lt_cv_dlopen_self=yes
10555 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10556 if test "x$ac_cv_func_shl_load" = x""yes; then :
10557 lt_cv_dlopen="shl_load"
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10560 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10561 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10562 $as_echo_n "(cached) " >&6
10564 ac_check_lib_save_LIBS=$LIBS
10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10579 return shl_load ();
10584 if ac_fn_c_try_link "$LINENO"; then :
10585 ac_cv_lib_dld_shl_load=yes
10587 ac_cv_lib_dld_shl_load=no
10589 rm -f core conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_lib_save_LIBS
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10594 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10595 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10596 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10598 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10599 if test "x$ac_cv_func_dlopen" = x""yes; then :
10600 lt_cv_dlopen="dlopen"
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10603 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10604 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10605 $as_echo_n "(cached) " >&6
10607 ac_check_lib_save_LIBS=$LIBS
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10612 /* Override any GCC internal prototype to avoid an error.
10613 Use char because int might match the return type of a GCC
10614 builtin and then its argument prototype would still apply. */
10627 if ac_fn_c_try_link "$LINENO"; then :
10628 ac_cv_lib_dl_dlopen=yes
10630 ac_cv_lib_dl_dlopen=no
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 LIBS=$ac_check_lib_save_LIBS
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10637 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10638 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10639 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10642 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10643 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10644 $as_echo_n "(cached) " >&6
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-lsvld $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 ac_cv_lib_svld_dlopen=yes
10669 ac_cv_lib_svld_dlopen=no
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 LIBS=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10676 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10677 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10678 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10681 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10682 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10683 $as_echo_n "(cached) " >&6
10685 ac_check_lib_save_LIBS=$LIBS
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10690 /* Override any GCC internal prototype to avoid an error.
10691 Use char because int might match the return type of a GCC
10692 builtin and then its argument prototype would still apply. */
10700 return dld_link ();
10705 if ac_fn_c_try_link "$LINENO"; then :
10706 ac_cv_lib_dld_dld_link=yes
10708 ac_cv_lib_dld_dld_link=no
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_lib_save_LIBS
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10715 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10716 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10717 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10738 if test "x$lt_cv_dlopen" != xno; then
10744 case $lt_cv_dlopen in
10746 save_CPPFLAGS="$CPPFLAGS"
10747 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10749 save_LDFLAGS="$LDFLAGS"
10750 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10753 LIBS="$lt_cv_dlopen_libs $LIBS"
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10756 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10757 if test "${lt_cv_dlopen_self+set}" = set; then :
10758 $as_echo_n "(cached) " >&6
10760 if test "$cross_compiling" = yes; then :
10761 lt_cv_dlopen_self=cross
10763 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10764 lt_status=$lt_dlunknown
10765 cat > conftest.$ac_ext <<_LT_EOF
10766 #line 10766 "configure"
10767 #include "confdefs.h"
10776 # define LT_DLGLOBAL RTLD_GLOBAL
10779 # define LT_DLGLOBAL DL_GLOBAL
10781 # define LT_DLGLOBAL 0
10785 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10786 find out it does not work in some platform. */
10787 #ifndef LT_DLLAZY_OR_NOW
10789 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10792 # define LT_DLLAZY_OR_NOW DL_LAZY
10795 # define LT_DLLAZY_OR_NOW RTLD_NOW
10798 # define LT_DLLAZY_OR_NOW DL_NOW
10800 # define LT_DLLAZY_OR_NOW 0
10807 void fnord() { int i=42;}
10810 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10811 int status = $lt_dlunknown;
10815 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10816 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10817 /* dlclose (self); */
10825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10826 (eval $ac_link) 2>&5
10828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10829 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10830 (./conftest; exit; ) >&5 2>/dev/null
10832 case x$lt_status in
10833 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10834 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10835 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10838 # compilation failed
10839 lt_cv_dlopen_self=no
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10847 $as_echo "$lt_cv_dlopen_self" >&6; }
10849 if test "x$lt_cv_dlopen_self" = xyes; then
10850 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10852 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10853 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10854 $as_echo_n "(cached) " >&6
10856 if test "$cross_compiling" = yes; then :
10857 lt_cv_dlopen_self_static=cross
10859 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10860 lt_status=$lt_dlunknown
10861 cat > conftest.$ac_ext <<_LT_EOF
10862 #line 10862 "configure"
10863 #include "confdefs.h"
10872 # define LT_DLGLOBAL RTLD_GLOBAL
10875 # define LT_DLGLOBAL DL_GLOBAL
10877 # define LT_DLGLOBAL 0
10881 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10882 find out it does not work in some platform. */
10883 #ifndef LT_DLLAZY_OR_NOW
10885 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10888 # define LT_DLLAZY_OR_NOW DL_LAZY
10891 # define LT_DLLAZY_OR_NOW RTLD_NOW
10894 # define LT_DLLAZY_OR_NOW DL_NOW
10896 # define LT_DLLAZY_OR_NOW 0
10903 void fnord() { int i=42;}
10906 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10907 int status = $lt_dlunknown;
10911 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10912 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10913 /* dlclose (self); */
10921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10922 (eval $ac_link) 2>&5
10924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10925 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10926 (./conftest; exit; ) >&5 2>/dev/null
10928 case x$lt_status in
10929 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10930 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10931 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10934 # compilation failed
10935 lt_cv_dlopen_self_static=no
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10943 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10946 CPPFLAGS="$save_CPPFLAGS"
10947 LDFLAGS="$save_LDFLAGS"
10952 case $lt_cv_dlopen_self in
10953 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10954 *) enable_dlopen_self=unknown ;;
10957 case $lt_cv_dlopen_self_static in
10958 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10959 *) enable_dlopen_self_static=unknown ;;
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10982 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10983 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10984 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10985 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10987 $as_echo "yes" >&6; }
10989 # FIXME - insert some real tests, host_os isn't really good enough
10992 if test -n "$STRIP" ; then
10993 striplib="$STRIP -x"
10994 old_striplib="$STRIP -S"
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10996 $as_echo "yes" >&6; }
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10999 $as_echo "no" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11004 $as_echo "no" >&6; }
11020 # Report which library types will actually be built
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11022 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11024 $as_echo "$can_build_shared" >&6; }
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11027 $as_echo_n "checking whether to build shared libraries... " >&6; }
11028 test "$can_build_shared" = "no" && enable_shared=no
11030 # On AIX, shared libraries and static libraries use the same namespace, and
11031 # are all built from PIC.
11034 test "$enable_shared" = yes && enable_static=no
11035 if test -n "$RANLIB"; then
11036 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11037 postinstall_cmds='$RANLIB $lib'
11042 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11043 test "$enable_shared" = yes && enable_static=no
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11048 $as_echo "$enable_shared" >&6; }
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11051 $as_echo_n "checking whether to build static libraries... " >&6; }
11052 # Make sure either enable_shared or enable_static is yes.
11053 test "$enable_shared" = yes || enable_static=yes
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11055 $as_echo "$enable_static" >&6; }
11062 ac_cpp='$CPP $CPPFLAGS'
11063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11081 ac_config_commands="$ac_config_commands libtool"
11086 # Only expand once:
11102 DX_PROJECT=xmltooling
11104 DX_CONFIG=doxygen.cfg
11109 # Environment variables used inside doxygen.cfg:
11110 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11112 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11114 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11116 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11123 # Check whether --enable-doxygen-doc was given.
11124 if test "${enable_doxygen_doc+set}" = set; then :
11125 enableval=$enable_doxygen_doc;
11126 case "$enableval" in
11138 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11150 if test "$DX_FLAG_doc" = 1; then
11152 if test -n "$ac_tool_prefix"; then
11153 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11154 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11156 $as_echo_n "checking for $ac_word... " >&6; }
11157 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11158 $as_echo_n "(cached) " >&6
11160 case $DX_DOXYGEN in
11162 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11166 for as_dir in $PATH
11169 test -z "$as_dir" && as_dir=.
11170 for ac_exec_ext in '' $ac_executable_extensions; do
11171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11172 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11183 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11184 if test -n "$DX_DOXYGEN"; then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11186 $as_echo "$DX_DOXYGEN" >&6; }
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11189 $as_echo "no" >&6; }
11194 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11195 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11196 # Extract the first word of "doxygen", so it can be a program name with args.
11197 set dummy doxygen; ac_word=$2
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11199 $as_echo_n "checking for $ac_word... " >&6; }
11200 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11201 $as_echo_n "(cached) " >&6
11203 case $ac_pt_DX_DOXYGEN in
11205 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11209 for as_dir in $PATH
11212 test -z "$as_dir" && as_dir=.
11213 for ac_exec_ext in '' $ac_executable_extensions; do
11214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11215 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11226 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11227 if test -n "$ac_pt_DX_DOXYGEN"; then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11229 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11232 $as_echo "no" >&6; }
11235 if test "x$ac_pt_DX_DOXYGEN" = x; then
11238 case $cross_compiling:$ac_tool_warned in
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11242 ac_tool_warned=yes ;;
11244 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11247 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11250 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11252 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11258 if test -n "$ac_tool_prefix"; then
11259 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11260 set dummy ${ac_tool_prefix}perl; ac_word=$2
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11262 $as_echo_n "checking for $ac_word... " >&6; }
11263 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11264 $as_echo_n "(cached) " >&6
11268 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11272 for as_dir in $PATH
11275 test -z "$as_dir" && as_dir=.
11276 for ac_exec_ext in '' $ac_executable_extensions; do
11277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11278 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11289 DX_PERL=$ac_cv_path_DX_PERL
11290 if test -n "$DX_PERL"; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11292 $as_echo "$DX_PERL" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295 $as_echo "no" >&6; }
11300 if test -z "$ac_cv_path_DX_PERL"; then
11301 ac_pt_DX_PERL=$DX_PERL
11302 # Extract the first word of "perl", so it can be a program name with args.
11303 set dummy perl; ac_word=$2
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11305 $as_echo_n "checking for $ac_word... " >&6; }
11306 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11307 $as_echo_n "(cached) " >&6
11309 case $ac_pt_DX_PERL in
11311 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11315 for as_dir in $PATH
11318 test -z "$as_dir" && as_dir=.
11319 for ac_exec_ext in '' $ac_executable_extensions; do
11320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11321 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11332 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11333 if test -n "$ac_pt_DX_PERL"; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11335 $as_echo "$ac_pt_DX_PERL" >&6; }
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11338 $as_echo "no" >&6; }
11341 if test "x$ac_pt_DX_PERL" = x; then
11344 case $cross_compiling:$ac_tool_warned in
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11348 ac_tool_warned=yes ;;
11350 DX_PERL=$ac_pt_DX_PERL
11353 DX_PERL="$ac_cv_path_DX_PERL"
11356 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11358 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11365 if test "$DX_FLAG_doc" = 1; then
11368 DX_COND_doc_FALSE='#'
11370 DX_COND_doc_TRUE='#'
11374 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
11380 DX_COND_doc_FALSE='#'
11382 DX_COND_doc_TRUE='#'
11391 # Dot for graphics:
11395 # Check whether --enable-doxygen-dot was given.
11396 if test "${enable_doxygen_dot+set}" = set; then :
11397 enableval=$enable_doxygen_dot;
11398 case "$enableval" in
11404 test "$DX_FLAG_doc" = "1" \
11405 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
11413 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
11422 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
11428 if test "$DX_FLAG_dot" = 1; then
11430 if test -n "$ac_tool_prefix"; then
11431 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
11432 set dummy ${ac_tool_prefix}dot; ac_word=$2
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11434 $as_echo_n "checking for $ac_word... " >&6; }
11435 if test "${ac_cv_path_DX_DOT+set}" = set; then :
11436 $as_echo_n "(cached) " >&6
11440 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11444 for as_dir in $PATH
11447 test -z "$as_dir" && as_dir=.
11448 for ac_exec_ext in '' $ac_executable_extensions; do
11449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11450 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11461 DX_DOT=$ac_cv_path_DX_DOT
11462 if test -n "$DX_DOT"; then
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
11464 $as_echo "$DX_DOT" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11467 $as_echo "no" >&6; }
11472 if test -z "$ac_cv_path_DX_DOT"; then
11473 ac_pt_DX_DOT=$DX_DOT
11474 # Extract the first word of "dot", so it can be a program name with args.
11475 set dummy dot; ac_word=$2
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11477 $as_echo_n "checking for $ac_word... " >&6; }
11478 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
11479 $as_echo_n "(cached) " >&6
11481 case $ac_pt_DX_DOT in
11483 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
11486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11487 for as_dir in $PATH
11490 test -z "$as_dir" && as_dir=.
11491 for ac_exec_ext in '' $ac_executable_extensions; do
11492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11493 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11504 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
11505 if test -n "$ac_pt_DX_DOT"; then
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
11507 $as_echo "$ac_pt_DX_DOT" >&6; }
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11510 $as_echo "no" >&6; }
11513 if test "x$ac_pt_DX_DOT" = x; then
11516 case $cross_compiling:$ac_tool_warned in
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11520 ac_tool_warned=yes ;;
11522 DX_DOT=$ac_pt_DX_DOT
11525 DX_DOT="$ac_cv_path_DX_DOT"
11528 if test "$DX_FLAG_dot$DX_DOT" = 1; then
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
11530 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
11537 if test "$DX_FLAG_dot" = 1; then
11540 DX_COND_dot_FALSE='#'
11542 DX_COND_dot_TRUE='#'
11546 DX_ENV="$DX_ENV HAVE_DOT='YES'"
11548 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
11554 DX_COND_dot_FALSE='#'
11556 DX_COND_dot_TRUE='#'
11560 DX_ENV="$DX_ENV HAVE_DOT='NO'"
11566 # Man pages generation:
11570 # Check whether --enable-doxygen-man was given.
11571 if test "${enable_doxygen_man+set}" = set; then :
11572 enableval=$enable_doxygen_man;
11573 case "$enableval" in
11579 test "$DX_FLAG_doc" = "1" \
11580 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
11588 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
11597 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
11603 if test "$DX_FLAG_man" = 1; then
11607 if test "$DX_FLAG_man" = 1; then
11610 DX_COND_man_FALSE='#'
11612 DX_COND_man_TRUE='#'
11616 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
11622 DX_COND_man_FALSE='#'
11624 DX_COND_man_TRUE='#'
11628 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
11634 # RTF file generation:
11638 # Check whether --enable-doxygen-rtf was given.
11639 if test "${enable_doxygen_rtf+set}" = set; then :
11640 enableval=$enable_doxygen_rtf;
11641 case "$enableval" in
11647 test "$DX_FLAG_doc" = "1" \
11648 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
11656 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
11665 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
11671 if test "$DX_FLAG_rtf" = 1; then
11675 if test "$DX_FLAG_rtf" = 1; then
11678 DX_COND_rtf_FALSE='#'
11680 DX_COND_rtf_TRUE='#'
11684 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
11690 DX_COND_rtf_FALSE='#'
11692 DX_COND_rtf_TRUE='#'
11696 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
11702 # XML file generation:
11706 # Check whether --enable-doxygen-xml was given.
11707 if test "${enable_doxygen_xml+set}" = set; then :
11708 enableval=$enable_doxygen_xml;
11709 case "$enableval" in
11715 test "$DX_FLAG_doc" = "1" \
11716 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
11724 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
11733 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
11739 if test "$DX_FLAG_xml" = 1; then
11743 if test "$DX_FLAG_xml" = 1; then
11746 DX_COND_xml_FALSE='#'
11748 DX_COND_xml_TRUE='#'
11752 DX_ENV="$DX_ENV GENERATE_XML='YES'"
11758 DX_COND_xml_FALSE='#'
11760 DX_COND_xml_TRUE='#'
11764 DX_ENV="$DX_ENV GENERATE_XML='NO'"
11770 # (Compressed) HTML help generation:
11774 # Check whether --enable-doxygen-chm was given.
11775 if test "${enable_doxygen_chm+set}" = set; then :
11776 enableval=$enable_doxygen_chm;
11777 case "$enableval" in
11783 test "$DX_FLAG_doc" = "1" \
11784 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
11792 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
11801 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
11807 if test "$DX_FLAG_chm" = 1; then
11809 if test -n "$ac_tool_prefix"; then
11810 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
11811 set dummy ${ac_tool_prefix}hhc; ac_word=$2
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11813 $as_echo_n "checking for $ac_word... " >&6; }
11814 if test "${ac_cv_path_DX_HHC+set}" = set; then :
11815 $as_echo_n "(cached) " >&6
11819 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
11822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11823 for as_dir in $PATH
11826 test -z "$as_dir" && as_dir=.
11827 for ac_exec_ext in '' $ac_executable_extensions; do
11828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11829 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11840 DX_HHC=$ac_cv_path_DX_HHC
11841 if test -n "$DX_HHC"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
11843 $as_echo "$DX_HHC" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11851 if test -z "$ac_cv_path_DX_HHC"; then
11852 ac_pt_DX_HHC=$DX_HHC
11853 # Extract the first word of "hhc", so it can be a program name with args.
11854 set dummy hhc; ac_word=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11856 $as_echo_n "checking for $ac_word... " >&6; }
11857 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
11858 $as_echo_n "(cached) " >&6
11860 case $ac_pt_DX_HHC in
11862 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
11865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11866 for as_dir in $PATH
11869 test -z "$as_dir" && as_dir=.
11870 for ac_exec_ext in '' $ac_executable_extensions; do
11871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11872 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11883 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
11884 if test -n "$ac_pt_DX_HHC"; then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
11886 $as_echo "$ac_pt_DX_HHC" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11889 $as_echo "no" >&6; }
11892 if test "x$ac_pt_DX_HHC" = x; then
11895 case $cross_compiling:$ac_tool_warned in
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11899 ac_tool_warned=yes ;;
11901 DX_HHC=$ac_pt_DX_HHC
11904 DX_HHC="$ac_cv_path_DX_HHC"
11907 if test "$DX_FLAG_chm$DX_HHC" = 1; then
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
11909 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
11916 if test "$DX_FLAG_chm" = 1; then
11919 DX_COND_chm_FALSE='#'
11921 DX_COND_chm_TRUE='#'
11925 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
11927 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11929 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
11935 DX_COND_chm_FALSE='#'
11937 DX_COND_chm_TRUE='#'
11941 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
11947 # Seperate CHI file generation.
11951 # Check whether --enable-doxygen-chi was given.
11952 if test "${enable_doxygen_chi+set}" = set; then :
11953 enableval=$enable_doxygen_chi;
11954 case "$enableval" in
11960 test "$DX_FLAG_chm" = "1" \
11961 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
11969 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
11978 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
11984 if test "$DX_FLAG_chi" = 1; then
11988 if test "$DX_FLAG_chi" = 1; then
11991 DX_COND_chi_FALSE='#'
11993 DX_COND_chi_TRUE='#'
11997 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12003 DX_COND_chi_FALSE='#'
12005 DX_COND_chi_TRUE='#'
12009 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12015 # Plain HTML pages generation:
12019 # Check whether --enable-doxygen-html was given.
12020 if test "${enable_doxygen_html+set}" = set; then :
12021 enableval=$enable_doxygen_html;
12022 case "$enableval" in
12028 test "$DX_FLAG_doc" = "1" \
12029 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12031 test "$DX_FLAG_chm" = "0" \
12032 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12040 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12049 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12052 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12058 if test "$DX_FLAG_html" = 1; then
12062 if test "$DX_FLAG_html" = 1; then
12065 DX_COND_html_FALSE='#'
12067 DX_COND_html_TRUE='#'
12068 DX_COND_html_FALSE=
12071 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12077 DX_COND_html_FALSE='#'
12079 DX_COND_html_TRUE='#'
12080 DX_COND_html_FALSE=
12083 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12089 # PostScript file generation:
12093 # Check whether --enable-doxygen-ps was given.
12094 if test "${enable_doxygen_ps+set}" = set; then :
12095 enableval=$enable_doxygen_ps;
12096 case "$enableval" in
12102 test "$DX_FLAG_doc" = "1" \
12103 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12111 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12120 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12126 if test "$DX_FLAG_ps" = 1; then
12128 if test -n "$ac_tool_prefix"; then
12129 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12130 set dummy ${ac_tool_prefix}latex; ac_word=$2
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12132 $as_echo_n "checking for $ac_word... " >&6; }
12133 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12134 $as_echo_n "(cached) " >&6
12138 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $PATH
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12148 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12159 DX_LATEX=$ac_cv_path_DX_LATEX
12160 if test -n "$DX_LATEX"; then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12162 $as_echo "$DX_LATEX" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12165 $as_echo "no" >&6; }
12170 if test -z "$ac_cv_path_DX_LATEX"; then
12171 ac_pt_DX_LATEX=$DX_LATEX
12172 # Extract the first word of "latex", so it can be a program name with args.
12173 set dummy latex; ac_word=$2
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12175 $as_echo_n "checking for $ac_word... " >&6; }
12176 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12177 $as_echo_n "(cached) " >&6
12179 case $ac_pt_DX_LATEX in
12181 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12185 for as_dir in $PATH
12188 test -z "$as_dir" && as_dir=.
12189 for ac_exec_ext in '' $ac_executable_extensions; do
12190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12191 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12202 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12203 if test -n "$ac_pt_DX_LATEX"; then
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12205 $as_echo "$ac_pt_DX_LATEX" >&6; }
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 $as_echo "no" >&6; }
12211 if test "x$ac_pt_DX_LATEX" = x; then
12214 case $cross_compiling:$ac_tool_warned in
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12218 ac_tool_warned=yes ;;
12220 DX_LATEX=$ac_pt_DX_LATEX
12223 DX_LATEX="$ac_cv_path_DX_LATEX"
12226 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12228 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12234 if test -n "$ac_tool_prefix"; then
12235 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12236 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12238 $as_echo_n "checking for $ac_word... " >&6; }
12239 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12240 $as_echo_n "(cached) " >&6
12242 case $DX_MAKEINDEX in
12244 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12248 for as_dir in $PATH
12251 test -z "$as_dir" && as_dir=.
12252 for ac_exec_ext in '' $ac_executable_extensions; do
12253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12254 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12265 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12266 if test -n "$DX_MAKEINDEX"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12268 $as_echo "$DX_MAKEINDEX" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12276 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12277 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12278 # Extract the first word of "makeindex", so it can be a program name with args.
12279 set dummy makeindex; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281 $as_echo_n "checking for $ac_word... " >&6; }
12282 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12283 $as_echo_n "(cached) " >&6
12285 case $ac_pt_DX_MAKEINDEX in
12287 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291 for as_dir in $PATH
12294 test -z "$as_dir" && as_dir=.
12295 for ac_exec_ext in '' $ac_executable_extensions; do
12296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12297 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12308 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12309 if test -n "$ac_pt_DX_MAKEINDEX"; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12311 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12317 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12320 case $cross_compiling:$ac_tool_warned in
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12324 ac_tool_warned=yes ;;
12326 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12329 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12332 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12334 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12340 if test -n "$ac_tool_prefix"; then
12341 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12342 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12344 $as_echo_n "checking for $ac_word... " >&6; }
12345 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
12346 $as_echo_n "(cached) " >&6
12350 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12357 test -z "$as_dir" && as_dir=.
12358 for ac_exec_ext in '' $ac_executable_extensions; do
12359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12360 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 DX_DVIPS=$ac_cv_path_DX_DVIPS
12372 if test -n "$DX_DVIPS"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
12374 $as_echo "$DX_DVIPS" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12382 if test -z "$ac_cv_path_DX_DVIPS"; then
12383 ac_pt_DX_DVIPS=$DX_DVIPS
12384 # Extract the first word of "dvips", so it can be a program name with args.
12385 set dummy dvips; ac_word=$2
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12387 $as_echo_n "checking for $ac_word... " >&6; }
12388 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
12389 $as_echo_n "(cached) " >&6
12391 case $ac_pt_DX_DVIPS in
12393 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397 for as_dir in $PATH
12400 test -z "$as_dir" && as_dir=.
12401 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12403 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12414 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12415 if test -n "$ac_pt_DX_DVIPS"; then
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
12417 $as_echo "$ac_pt_DX_DVIPS" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12420 $as_echo "no" >&6; }
12423 if test "x$ac_pt_DX_DVIPS" = x; then
12426 case $cross_compiling:$ac_tool_warned in
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12430 ac_tool_warned=yes ;;
12432 DX_DVIPS=$ac_pt_DX_DVIPS
12435 DX_DVIPS="$ac_cv_path_DX_DVIPS"
12438 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12440 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12446 if test -n "$ac_tool_prefix"; then
12447 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12448 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12450 $as_echo_n "checking for $ac_word... " >&6; }
12451 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12452 $as_echo_n "(cached) " >&6
12456 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12460 for as_dir in $PATH
12463 test -z "$as_dir" && as_dir=.
12464 for ac_exec_ext in '' $ac_executable_extensions; do
12465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12466 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12477 DX_EGREP=$ac_cv_path_DX_EGREP
12478 if test -n "$DX_EGREP"; then
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12480 $as_echo "$DX_EGREP" >&6; }
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12483 $as_echo "no" >&6; }
12488 if test -z "$ac_cv_path_DX_EGREP"; then
12489 ac_pt_DX_EGREP=$DX_EGREP
12490 # Extract the first word of "egrep", so it can be a program name with args.
12491 set dummy egrep; ac_word=$2
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12493 $as_echo_n "checking for $ac_word... " >&6; }
12494 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12495 $as_echo_n "(cached) " >&6
12497 case $ac_pt_DX_EGREP in
12499 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12503 for as_dir in $PATH
12506 test -z "$as_dir" && as_dir=.
12507 for ac_exec_ext in '' $ac_executable_extensions; do
12508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12509 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12520 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12521 if test -n "$ac_pt_DX_EGREP"; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12523 $as_echo "$ac_pt_DX_EGREP" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12526 $as_echo "no" >&6; }
12529 if test "x$ac_pt_DX_EGREP" = x; then
12532 case $cross_compiling:$ac_tool_warned in
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12536 ac_tool_warned=yes ;;
12538 DX_EGREP=$ac_pt_DX_EGREP
12541 DX_EGREP="$ac_cv_path_DX_EGREP"
12544 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
12546 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
12553 if test "$DX_FLAG_ps" = 1; then
12556 DX_COND_ps_FALSE='#'
12558 DX_COND_ps_TRUE='#'
12567 DX_COND_ps_FALSE='#'
12569 DX_COND_ps_TRUE='#'
12578 # PDF file generation:
12582 # Check whether --enable-doxygen-pdf was given.
12583 if test "${enable_doxygen_pdf+set}" = set; then :
12584 enableval=$enable_doxygen_pdf;
12585 case "$enableval" in
12591 test "$DX_FLAG_doc" = "1" \
12592 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
12600 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
12609 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
12615 if test "$DX_FLAG_pdf" = 1; then
12617 if test -n "$ac_tool_prefix"; then
12618 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
12619 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12621 $as_echo_n "checking for $ac_word... " >&6; }
12622 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
12623 $as_echo_n "(cached) " >&6
12625 case $DX_PDFLATEX in
12627 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
12630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12631 for as_dir in $PATH
12634 test -z "$as_dir" && as_dir=.
12635 for ac_exec_ext in '' $ac_executable_extensions; do
12636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12637 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12648 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
12649 if test -n "$DX_PDFLATEX"; then
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
12651 $as_echo "$DX_PDFLATEX" >&6; }
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12654 $as_echo "no" >&6; }
12659 if test -z "$ac_cv_path_DX_PDFLATEX"; then
12660 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
12661 # Extract the first word of "pdflatex", so it can be a program name with args.
12662 set dummy pdflatex; ac_word=$2
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12664 $as_echo_n "checking for $ac_word... " >&6; }
12665 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
12666 $as_echo_n "(cached) " >&6
12668 case $ac_pt_DX_PDFLATEX in
12670 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
12673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12674 for as_dir in $PATH
12677 test -z "$as_dir" && as_dir=.
12678 for ac_exec_ext in '' $ac_executable_extensions; do
12679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12680 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12691 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
12692 if test -n "$ac_pt_DX_PDFLATEX"; then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
12694 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12697 $as_echo "no" >&6; }
12700 if test "x$ac_pt_DX_PDFLATEX" = x; then
12703 case $cross_compiling:$ac_tool_warned in
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12707 ac_tool_warned=yes ;;
12709 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
12712 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
12715 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
12717 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
12723 if test -n "$ac_tool_prefix"; then
12724 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12725 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12729 $as_echo_n "(cached) " >&6
12731 case $DX_MAKEINDEX in
12733 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12740 test -z "$as_dir" && as_dir=.
12741 for ac_exec_ext in '' $ac_executable_extensions; do
12742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12743 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12755 if test -n "$DX_MAKEINDEX"; then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12757 $as_echo "$DX_MAKEINDEX" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12765 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12766 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12767 # Extract the first word of "makeindex", so it can be a program name with args.
12768 set dummy makeindex; ac_word=$2
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12770 $as_echo_n "checking for $ac_word... " >&6; }
12771 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12772 $as_echo_n "(cached) " >&6
12774 case $ac_pt_DX_MAKEINDEX in
12776 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12780 for as_dir in $PATH
12783 test -z "$as_dir" && as_dir=.
12784 for ac_exec_ext in '' $ac_executable_extensions; do
12785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12786 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12797 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12798 if test -n "$ac_pt_DX_MAKEINDEX"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12800 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12806 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12809 case $cross_compiling:$ac_tool_warned in
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12813 ac_tool_warned=yes ;;
12815 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12818 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12821 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
12823 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
12829 if test -n "$ac_tool_prefix"; then
12830 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12831 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12833 $as_echo_n "checking for $ac_word... " >&6; }
12834 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12835 $as_echo_n "(cached) " >&6
12839 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12860 DX_EGREP=$ac_cv_path_DX_EGREP
12861 if test -n "$DX_EGREP"; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12863 $as_echo "$DX_EGREP" >&6; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866 $as_echo "no" >&6; }
12871 if test -z "$ac_cv_path_DX_EGREP"; then
12872 ac_pt_DX_EGREP=$DX_EGREP
12873 # Extract the first word of "egrep", so it can be a program name with args.
12874 set dummy egrep; ac_word=$2
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12876 $as_echo_n "checking for $ac_word... " >&6; }
12877 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12878 $as_echo_n "(cached) " >&6
12880 case $ac_pt_DX_EGREP in
12882 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12886 for as_dir in $PATH
12889 test -z "$as_dir" && as_dir=.
12890 for ac_exec_ext in '' $ac_executable_extensions; do
12891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12892 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12903 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12904 if test -n "$ac_pt_DX_EGREP"; then
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12906 $as_echo "$ac_pt_DX_EGREP" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12909 $as_echo "no" >&6; }
12912 if test "x$ac_pt_DX_EGREP" = x; then
12915 case $cross_compiling:$ac_tool_warned in
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12919 ac_tool_warned=yes ;;
12921 DX_EGREP=$ac_pt_DX_EGREP
12924 DX_EGREP="$ac_cv_path_DX_EGREP"
12927 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
12929 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
12936 if test "$DX_FLAG_pdf" = 1; then
12939 DX_COND_pdf_FALSE='#'
12941 DX_COND_pdf_TRUE='#'
12950 DX_COND_pdf_FALSE='#'
12952 DX_COND_pdf_TRUE='#'
12961 # LaTeX generation for PS and/or PDF:
12962 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
12964 DX_COND_latex_TRUE=
12965 DX_COND_latex_FALSE='#'
12967 DX_COND_latex_TRUE='#'
12968 DX_COND_latex_FALSE=
12971 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
12975 DX_COND_latex_TRUE=
12976 DX_COND_latex_FALSE='#'
12978 DX_COND_latex_TRUE='#'
12979 DX_COND_latex_FALSE=
12982 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
12986 # Paper size for PS and/or PDF:
12988 case "$DOXYGEN_PAPER_SIZE" in
12991 DOXYGEN_PAPER_SIZE=""
12994 a4wide|a4|letter|legal|executive)
12995 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
12999 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13004 #echo DX_FLAG_doc=$DX_FLAG_doc
13005 #echo DX_FLAG_dot=$DX_FLAG_dot
13006 #echo DX_FLAG_man=$DX_FLAG_man
13007 #echo DX_FLAG_html=$DX_FLAG_html
13008 #echo DX_FLAG_chm=$DX_FLAG_chm
13009 #echo DX_FLAG_chi=$DX_FLAG_chi
13010 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13011 #echo DX_FLAG_xml=$DX_FLAG_xml
13012 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13013 #echo DX_FLAG_ps=$DX_FLAG_ps
13014 #echo DX_ENV=$DX_ENV
13017 # Check whether --enable-debug was given.
13018 if test "${enable_debug+set}" = set; then :
13019 enableval=$enable_debug; enable_debug=$enableval
13025 if test "$enable_debug" = "yes" ; then
13026 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
13027 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
13029 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
13030 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
13033 ac_config_headers="$ac_config_headers config.h xmltooling/config_pub.h"
13035 ac_config_files="$ac_config_files xmltooling.spec"
13037 ac_config_files="$ac_config_files Makefile xmltooling/Makefile xmltoolingtest/Makefile schemas/Makefile doc/Makefile"
13041 ac_cpp='$CPP $CPPFLAGS'
13042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13045 if test -n "$ac_tool_prefix"; then
13046 for ac_prog in gcc gcc3 cc
13048 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13049 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13051 $as_echo_n "checking for $ac_word... " >&6; }
13052 if test "${ac_cv_prog_CC+set}" = set; then :
13053 $as_echo_n "(cached) " >&6
13055 if test -n "$CC"; then
13056 ac_cv_prog_CC="$CC" # Let the user override the test.
13058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13059 for as_dir in $PATH
13062 test -z "$as_dir" && as_dir=.
13063 for ac_exec_ext in '' $ac_executable_extensions; do
13064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13065 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13076 if test -n "$CC"; then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13078 $as_echo "$CC" >&6; }
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081 $as_echo "no" >&6; }
13085 test -n "$CC" && break
13088 if test -z "$CC"; then
13090 for ac_prog in gcc gcc3 cc
13092 # Extract the first word of "$ac_prog", so it can be a program name with args.
13093 set dummy $ac_prog; ac_word=$2
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13095 $as_echo_n "checking for $ac_word... " >&6; }
13096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13097 $as_echo_n "(cached) " >&6
13099 if test -n "$ac_ct_CC"; then
13100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13103 for as_dir in $PATH
13106 test -z "$as_dir" && as_dir=.
13107 for ac_exec_ext in '' $ac_executable_extensions; do
13108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13109 ac_cv_prog_ac_ct_CC="$ac_prog"
13110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13120 if test -n "$ac_ct_CC"; then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13122 $as_echo "$ac_ct_CC" >&6; }
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13129 test -n "$ac_ct_CC" && break
13132 if test "x$ac_ct_CC" = x; then
13135 case $cross_compiling:$ac_tool_warned in
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13139 ac_tool_warned=yes ;;
13146 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13148 as_fn_error $? "no acceptable C compiler found in \$PATH
13149 See \`config.log' for more details" "$LINENO" 5 ; }
13151 # Provide some information about the compiler.
13152 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13155 for ac_option in --version -v -V -qversion; do
13156 { { ac_try="$ac_compiler $ac_option >&5"
13157 case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13162 $as_echo "$ac_try_echo"; } >&5
13163 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13165 if test -s conftest.err; then
13167 ... rest of stderr output deleted ...
13168 10q' conftest.err >conftest.er1
13169 cat conftest.er1 >&5
13171 rm -f conftest.er1 conftest.err
13172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13173 test $ac_status = 0; }
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13177 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13178 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13179 $as_echo_n "(cached) " >&6
13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h. */
13195 if ac_fn_c_try_compile "$LINENO"; then :
13196 ac_compiler_gnu=yes
13200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13201 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13205 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13206 if test $ac_compiler_gnu = yes; then
13211 ac_test_CFLAGS=${CFLAGS+set}
13212 ac_save_CFLAGS=$CFLAGS
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13214 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13215 if test "${ac_cv_prog_cc_g+set}" = set; then :
13216 $as_echo_n "(cached) " >&6
13218 ac_save_c_werror_flag=$ac_c_werror_flag
13219 ac_c_werror_flag=yes
13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h. */
13233 if ac_fn_c_try_compile "$LINENO"; then :
13234 ac_cv_prog_cc_g=yes
13237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13238 /* end confdefs.h. */
13248 if ac_fn_c_try_compile "$LINENO"; then :
13251 ac_c_werror_flag=$ac_save_c_werror_flag
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13264 if ac_fn_c_try_compile "$LINENO"; then :
13265 ac_cv_prog_cc_g=yes
13267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13272 ac_c_werror_flag=$ac_save_c_werror_flag
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13275 $as_echo "$ac_cv_prog_cc_g" >&6; }
13276 if test "$ac_test_CFLAGS" = set; then
13277 CFLAGS=$ac_save_CFLAGS
13278 elif test $ac_cv_prog_cc_g = yes; then
13279 if test "$GCC" = yes; then
13285 if test "$GCC" = yes; then
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13292 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13293 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13294 $as_echo_n "(cached) " >&6
13296 ac_cv_prog_cc_c89=no
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13300 #include <stdarg.h>
13302 #include <sys/types.h>
13303 #include <sys/stat.h>
13304 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13305 struct buf { int x; };
13306 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13307 static char *e (p, i)
13313 static char *f (char * (*g) (char **, int), char **p, ...)
13318 s = g (p, va_arg (v,int));
13323 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13324 function prototypes and stuff, but not '\xHH' hex character constants.
13325 These don't provoke an error unfortunately, instead are silently treated
13326 as 'x'. The following induces an error, until -std is added to get
13327 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13328 array size at least. It's necessary to write '\x00'==0 to get something
13329 that's true only with -std. */
13330 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13332 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13333 inside strings and character constants. */
13335 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13337 int test (int i, double x);
13338 struct s1 {int (*f) (int a);};
13339 struct s2 {int (*f) (double a);};
13340 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13346 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13351 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13352 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13354 CC="$ac_save_CC $ac_arg"
13355 if ac_fn_c_try_compile "$LINENO"; then :
13356 ac_cv_prog_cc_c89=$ac_arg
13358 rm -f core conftest.err conftest.$ac_objext
13359 test "x$ac_cv_prog_cc_c89" != "xno" && break
13361 rm -f conftest.$ac_ext
13366 case "x$ac_cv_prog_cc_c89" in
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13369 $as_echo "none needed" >&6; } ;;
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13372 $as_echo "unsupported" >&6; } ;;
13374 CC="$CC $ac_cv_prog_cc_c89"
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13376 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13378 if test "x$ac_cv_prog_cc_c89" != xno; then :
13383 ac_cpp='$CPP $CPPFLAGS'
13384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13388 depcc="$CC" am_compiler_list=
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13391 $as_echo_n "checking dependency style of $depcc... " >&6; }
13392 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13393 $as_echo_n "(cached) " >&6
13395 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13396 # We make a subdir and do the tests there. Otherwise we can end up
13397 # making bogus files that we don't know about and never remove. For
13398 # instance it was reported that on HP-UX the gcc test will end up
13399 # making a dummy file named `D' -- because `-MD' means `put the output
13402 # Copy depcomp to subdir because otherwise we won't find it if we're
13403 # using a relative directory.
13404 cp "$am_depcomp" conftest.dir
13406 # We will build objects and dependencies in a subdirectory because
13407 # it helps to detect inapplicable dependency modes. For instance
13408 # both Tru64's cc and ICC support -MD to output dependencies as a
13409 # side effect of compilation, but ICC will put the dependencies in
13410 # the current directory while Tru64 will put them in the object
13414 am_cv_CC_dependencies_compiler_type=none
13415 if test "$am_compiler_list" = ""; then
13416 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13418 am__universal=false
13419 case " $depcc " in #(
13420 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13423 for depmode in $am_compiler_list; do
13424 # Setup a source with many dependencies, because some compilers
13425 # like to wrap large dependency lists on column 80 (with \), and
13426 # we should not choose a depcomp mode which is confused by this.
13428 # We need to recreate these files for each test, as the compiler may
13429 # overwrite some of them when testing with obscure command lines.
13430 # This happens at least with the AIX C compiler.
13432 for i in 1 2 3 4 5 6; do
13433 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13434 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13435 # Solaris 8's {/usr,}/bin/sh.
13436 touch sub/conftst$i.h
13438 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13440 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13441 # mode. It turns out that the SunPro C++ compiler does not properly
13442 # handle `-M -o', and we need to detect this. Also, some Intel
13443 # versions had trouble with output in subdirs
13444 am__obj=sub/conftest.${OBJEXT-o}
13445 am__minus_obj="-o $am__obj"
13448 # This depmode causes a compiler race in universal mode.
13449 test "$am__universal" = false || continue
13452 # after this tag, mechanisms are not by side-effect, so they'll
13453 # only be used when explicitly requested
13454 if test "x$enable_dependency_tracking" = xyes; then
13460 msvisualcpp | msvcmsys)
13461 # This compiler won't grok `-c -o', but also, the minuso test has
13462 # not run yet. These depmodes are late enough in the game, and
13463 # so weak that their functioning should not be impacted.
13464 am__obj=conftest.${OBJEXT-o}
13469 if depmode=$depmode \
13470 source=sub/conftest.c object=$am__obj \
13471 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13472 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13473 >/dev/null 2>conftest.err &&
13474 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13475 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13476 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13477 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13478 # icc doesn't choke on unknown options, it will just issue warnings
13479 # or remarks (even with -Werror). So we grep stderr for any message
13480 # that says an option was ignored or not supported.
13481 # When given -MP, icc 7.0 and 7.1 complain thusly:
13482 # icc: Command line warning: ignoring option '-M'; no argument required
13483 # The diagnosis changed in icc 8.0:
13484 # icc: Command line remark: option '-MP' not supported
13485 if (grep 'ignoring option' conftest.err ||
13486 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13487 am_cv_CC_dependencies_compiler_type=$depmode
13494 rm -rf conftest.dir
13496 am_cv_CC_dependencies_compiler_type=none
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13501 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13502 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13505 test "x$enable_dependency_tracking" != xno \
13506 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13507 am__fastdepCC_TRUE=
13508 am__fastdepCC_FALSE='#'
13510 am__fastdepCC_TRUE='#'
13511 am__fastdepCC_FALSE=
13516 ac_cpp='$CXXCPP $CPPFLAGS'
13517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13520 if test -z "$CXX"; then
13521 if test -n "$CCC"; then
13524 if test -n "$ac_tool_prefix"; then
13525 for ac_prog in g++ g++3 c++ CC
13527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13530 $as_echo_n "checking for $ac_word... " >&6; }
13531 if test "${ac_cv_prog_CXX+set}" = set; then :
13532 $as_echo_n "(cached) " >&6
13534 if test -n "$CXX"; then
13535 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13538 for as_dir in $PATH
13541 test -z "$as_dir" && as_dir=.
13542 for ac_exec_ext in '' $ac_executable_extensions; do
13543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13544 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13554 CXX=$ac_cv_prog_CXX
13555 if test -n "$CXX"; then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13557 $as_echo "$CXX" >&6; }
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13560 $as_echo "no" >&6; }
13564 test -n "$CXX" && break
13567 if test -z "$CXX"; then
13569 for ac_prog in g++ g++3 c++ CC
13571 # Extract the first word of "$ac_prog", so it can be a program name with args.
13572 set dummy $ac_prog; ac_word=$2
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13574 $as_echo_n "checking for $ac_word... " >&6; }
13575 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13576 $as_echo_n "(cached) " >&6
13578 if test -n "$ac_ct_CXX"; then
13579 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13582 for as_dir in $PATH
13585 test -z "$as_dir" && as_dir=.
13586 for ac_exec_ext in '' $ac_executable_extensions; do
13587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13588 ac_cv_prog_ac_ct_CXX="$ac_prog"
13589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13598 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13599 if test -n "$ac_ct_CXX"; then
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13601 $as_echo "$ac_ct_CXX" >&6; }
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13604 $as_echo "no" >&6; }
13608 test -n "$ac_ct_CXX" && break
13611 if test "x$ac_ct_CXX" = x; then
13614 case $cross_compiling:$ac_tool_warned in
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13618 ac_tool_warned=yes ;;
13626 # Provide some information about the compiler.
13627 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13630 for ac_option in --version -v -V -qversion; do
13631 { { ac_try="$ac_compiler $ac_option >&5"
13632 case "(($ac_try" in
13633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13634 *) ac_try_echo=$ac_try;;
13636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13637 $as_echo "$ac_try_echo"; } >&5
13638 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13640 if test -s conftest.err; then
13642 ... rest of stderr output deleted ...
13643 10q' conftest.err >conftest.er1
13644 cat conftest.er1 >&5
13646 rm -f conftest.er1 conftest.err
13647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13648 test $ac_status = 0; }
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13652 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13653 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13654 $as_echo_n "(cached) " >&6
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13670 if ac_fn_cxx_try_compile "$LINENO"; then :
13671 ac_compiler_gnu=yes
13675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13676 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13680 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13681 if test $ac_compiler_gnu = yes; then
13686 ac_test_CXXFLAGS=${CXXFLAGS+set}
13687 ac_save_CXXFLAGS=$CXXFLAGS
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13689 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13690 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13691 $as_echo_n "(cached) " >&6
13693 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13694 ac_cxx_werror_flag=yes
13695 ac_cv_prog_cxx_g=no
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13708 if ac_fn_cxx_try_compile "$LINENO"; then :
13709 ac_cv_prog_cxx_g=yes
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13723 if ac_fn_cxx_try_compile "$LINENO"; then :
13726 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13739 if ac_fn_cxx_try_compile "$LINENO"; then :
13740 ac_cv_prog_cxx_g=yes
13742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13747 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13750 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13751 if test "$ac_test_CXXFLAGS" = set; then
13752 CXXFLAGS=$ac_save_CXXFLAGS
13753 elif test $ac_cv_prog_cxx_g = yes; then
13754 if test "$GXX" = yes; then
13760 if test "$GXX" = yes; then
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 depcc="$CXX" am_compiler_list=
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13775 $as_echo_n "checking dependency style of $depcc... " >&6; }
13776 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13777 $as_echo_n "(cached) " >&6
13779 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13780 # We make a subdir and do the tests there. Otherwise we can end up
13781 # making bogus files that we don't know about and never remove. For
13782 # instance it was reported that on HP-UX the gcc test will end up
13783 # making a dummy file named `D' -- because `-MD' means `put the output
13786 # Copy depcomp to subdir because otherwise we won't find it if we're
13787 # using a relative directory.
13788 cp "$am_depcomp" conftest.dir
13790 # We will build objects and dependencies in a subdirectory because
13791 # it helps to detect inapplicable dependency modes. For instance
13792 # both Tru64's cc and ICC support -MD to output dependencies as a
13793 # side effect of compilation, but ICC will put the dependencies in
13794 # the current directory while Tru64 will put them in the object
13798 am_cv_CXX_dependencies_compiler_type=none
13799 if test "$am_compiler_list" = ""; then
13800 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13802 am__universal=false
13803 case " $depcc " in #(
13804 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13807 for depmode in $am_compiler_list; do
13808 # Setup a source with many dependencies, because some compilers
13809 # like to wrap large dependency lists on column 80 (with \), and
13810 # we should not choose a depcomp mode which is confused by this.
13812 # We need to recreate these files for each test, as the compiler may
13813 # overwrite some of them when testing with obscure command lines.
13814 # This happens at least with the AIX C compiler.
13816 for i in 1 2 3 4 5 6; do
13817 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13818 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13819 # Solaris 8's {/usr,}/bin/sh.
13820 touch sub/conftst$i.h
13822 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13824 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13825 # mode. It turns out that the SunPro C++ compiler does not properly
13826 # handle `-M -o', and we need to detect this. Also, some Intel
13827 # versions had trouble with output in subdirs
13828 am__obj=sub/conftest.${OBJEXT-o}
13829 am__minus_obj="-o $am__obj"
13832 # This depmode causes a compiler race in universal mode.
13833 test "$am__universal" = false || continue
13836 # after this tag, mechanisms are not by side-effect, so they'll
13837 # only be used when explicitly requested
13838 if test "x$enable_dependency_tracking" = xyes; then
13844 msvisualcpp | msvcmsys)
13845 # This compiler won't grok `-c -o', but also, the minuso test has
13846 # not run yet. These depmodes are late enough in the game, and
13847 # so weak that their functioning should not be impacted.
13848 am__obj=conftest.${OBJEXT-o}
13853 if depmode=$depmode \
13854 source=sub/conftest.c object=$am__obj \
13855 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13856 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13857 >/dev/null 2>conftest.err &&
13858 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13859 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13860 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13861 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13862 # icc doesn't choke on unknown options, it will just issue warnings
13863 # or remarks (even with -Werror). So we grep stderr for any message
13864 # that says an option was ignored or not supported.
13865 # When given -MP, icc 7.0 and 7.1 complain thusly:
13866 # icc: Command line warning: ignoring option '-M'; no argument required
13867 # The diagnosis changed in icc 8.0:
13868 # icc: Command line remark: option '-MP' not supported
13869 if (grep 'ignoring option' conftest.err ||
13870 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13871 am_cv_CXX_dependencies_compiler_type=$depmode
13878 rm -rf conftest.dir
13880 am_cv_CXX_dependencies_compiler_type=none
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13885 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13886 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13889 test "x$enable_dependency_tracking" != xno \
13890 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13891 am__fastdepCXX_TRUE=
13892 am__fastdepCXX_FALSE='#'
13894 am__fastdepCXX_TRUE='#'
13895 am__fastdepCXX_FALSE=
13901 ac_cpp='$CXXCPP $CPPFLAGS'
13902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13905 if test -z "$CXX"; then
13906 if test -n "$CCC"; then
13909 if test -n "$ac_tool_prefix"; then
13910 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13915 $as_echo_n "checking for $ac_word... " >&6; }
13916 if test "${ac_cv_prog_CXX+set}" = set; then :
13917 $as_echo_n "(cached) " >&6
13919 if test -n "$CXX"; then
13920 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13923 for as_dir in $PATH
13926 test -z "$as_dir" && as_dir=.
13927 for ac_exec_ext in '' $ac_executable_extensions; do
13928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13929 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13939 CXX=$ac_cv_prog_CXX
13940 if test -n "$CXX"; then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13942 $as_echo "$CXX" >&6; }
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13945 $as_echo "no" >&6; }
13949 test -n "$CXX" && break
13952 if test -z "$CXX"; then
13954 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13956 # Extract the first word of "$ac_prog", so it can be a program name with args.
13957 set dummy $ac_prog; ac_word=$2
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13959 $as_echo_n "checking for $ac_word... " >&6; }
13960 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13961 $as_echo_n "(cached) " >&6
13963 if test -n "$ac_ct_CXX"; then
13964 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13967 for as_dir in $PATH
13970 test -z "$as_dir" && as_dir=.
13971 for ac_exec_ext in '' $ac_executable_extensions; do
13972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13973 ac_cv_prog_ac_ct_CXX="$ac_prog"
13974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13983 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13984 if test -n "$ac_ct_CXX"; then
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13986 $as_echo "$ac_ct_CXX" >&6; }
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13989 $as_echo "no" >&6; }
13993 test -n "$ac_ct_CXX" && break
13996 if test "x$ac_ct_CXX" = x; then
13999 case $cross_compiling:$ac_tool_warned in
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14003 ac_tool_warned=yes ;;
14011 # Provide some information about the compiler.
14012 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14015 for ac_option in --version -v -V -qversion; do
14016 { { ac_try="$ac_compiler $ac_option >&5"
14017 case "(($ac_try" in
14018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14019 *) ac_try_echo=$ac_try;;
14021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14022 $as_echo "$ac_try_echo"; } >&5
14023 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14025 if test -s conftest.err; then
14027 ... rest of stderr output deleted ...
14028 10q' conftest.err >conftest.er1
14029 cat conftest.er1 >&5
14031 rm -f conftest.er1 conftest.err
14032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14033 test $ac_status = 0; }
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14037 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14038 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14055 if ac_fn_cxx_try_compile "$LINENO"; then :
14056 ac_compiler_gnu=yes
14060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14061 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14065 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14066 if test $ac_compiler_gnu = yes; then
14071 ac_test_CXXFLAGS=${CXXFLAGS+set}
14072 ac_save_CXXFLAGS=$CXXFLAGS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14074 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14075 if test "${ac_cv_prog_cxx_g+set}" = set; then :
14076 $as_echo_n "(cached) " >&6
14078 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14079 ac_cxx_werror_flag=yes
14080 ac_cv_prog_cxx_g=no
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14093 if ac_fn_cxx_try_compile "$LINENO"; then :
14094 ac_cv_prog_cxx_g=yes
14097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14108 if ac_fn_cxx_try_compile "$LINENO"; then :
14111 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14124 if ac_fn_cxx_try_compile "$LINENO"; then :
14125 ac_cv_prog_cxx_g=yes
14127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14132 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14135 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14136 if test "$ac_test_CXXFLAGS" = set; then
14137 CXXFLAGS=$ac_save_CXXFLAGS
14138 elif test $ac_cv_prog_cxx_g = yes; then
14139 if test "$GXX" = yes; then
14145 if test "$GXX" = yes; then
14152 ac_cpp='$CPP $CPPFLAGS'
14153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14157 depcc="$CXX" am_compiler_list=
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14160 $as_echo_n "checking dependency style of $depcc... " >&6; }
14161 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14162 $as_echo_n "(cached) " >&6
14164 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14165 # We make a subdir and do the tests there. Otherwise we can end up
14166 # making bogus files that we don't know about and never remove. For
14167 # instance it was reported that on HP-UX the gcc test will end up
14168 # making a dummy file named `D' -- because `-MD' means `put the output
14171 # Copy depcomp to subdir because otherwise we won't find it if we're
14172 # using a relative directory.
14173 cp "$am_depcomp" conftest.dir
14175 # We will build objects and dependencies in a subdirectory because
14176 # it helps to detect inapplicable dependency modes. For instance
14177 # both Tru64's cc and ICC support -MD to output dependencies as a
14178 # side effect of compilation, but ICC will put the dependencies in
14179 # the current directory while Tru64 will put them in the object
14183 am_cv_CXX_dependencies_compiler_type=none
14184 if test "$am_compiler_list" = ""; then
14185 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14187 am__universal=false
14188 case " $depcc " in #(
14189 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14192 for depmode in $am_compiler_list; do
14193 # Setup a source with many dependencies, because some compilers
14194 # like to wrap large dependency lists on column 80 (with \), and
14195 # we should not choose a depcomp mode which is confused by this.
14197 # We need to recreate these files for each test, as the compiler may
14198 # overwrite some of them when testing with obscure command lines.
14199 # This happens at least with the AIX C compiler.
14201 for i in 1 2 3 4 5 6; do
14202 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14203 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14204 # Solaris 8's {/usr,}/bin/sh.
14205 touch sub/conftst$i.h
14207 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14209 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14210 # mode. It turns out that the SunPro C++ compiler does not properly
14211 # handle `-M -o', and we need to detect this. Also, some Intel
14212 # versions had trouble with output in subdirs
14213 am__obj=sub/conftest.${OBJEXT-o}
14214 am__minus_obj="-o $am__obj"
14217 # This depmode causes a compiler race in universal mode.
14218 test "$am__universal" = false || continue
14221 # after this tag, mechanisms are not by side-effect, so they'll
14222 # only be used when explicitly requested
14223 if test "x$enable_dependency_tracking" = xyes; then
14229 msvisualcpp | msvcmsys)
14230 # This compiler won't grok `-c -o', but also, the minuso test has
14231 # not run yet. These depmodes are late enough in the game, and
14232 # so weak that their functioning should not be impacted.
14233 am__obj=conftest.${OBJEXT-o}
14238 if depmode=$depmode \
14239 source=sub/conftest.c object=$am__obj \
14240 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14241 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14242 >/dev/null 2>conftest.err &&
14243 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14244 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14245 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14246 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14247 # icc doesn't choke on unknown options, it will just issue warnings
14248 # or remarks (even with -Werror). So we grep stderr for any message
14249 # that says an option was ignored or not supported.
14250 # When given -MP, icc 7.0 and 7.1 complain thusly:
14251 # icc: Command line warning: ignoring option '-M'; no argument required
14252 # The diagnosis changed in icc 8.0:
14253 # icc: Command line remark: option '-MP' not supported
14254 if (grep 'ignoring option' conftest.err ||
14255 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14256 am_cv_CXX_dependencies_compiler_type=$depmode
14263 rm -rf conftest.dir
14265 am_cv_CXX_dependencies_compiler_type=none
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14270 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14271 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14274 test "x$enable_dependency_tracking" != xno \
14275 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14276 am__fastdepCXX_TRUE=
14277 am__fastdepCXX_FALSE='#'
14279 am__fastdepCXX_TRUE='#'
14280 am__fastdepCXX_FALSE=
14284 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14285 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14286 (test "X$CXX" != "Xg++"))) ; then
14288 ac_cpp='$CXXCPP $CPPFLAGS'
14289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14293 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14294 if test -z "$CXXCPP"; then
14295 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14296 $as_echo_n "(cached) " >&6
14298 # Double quotes because CXXCPP needs to be expanded
14299 for CXXCPP in "$CXX -E" "/lib/cpp"
14301 ac_preproc_ok=false
14302 for ac_cxx_preproc_warn_flag in '' yes
14304 # Use a header file that comes with gcc, so configuring glibc
14305 # with a fresh cross-compiler works.
14306 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14307 # <limits.h> exists even on freestanding compilers.
14308 # On the NeXT, cc -E runs the code through the compiler's parser,
14309 # not just through cpp. "Syntax error" is here to catch this case.
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 # include <limits.h>
14315 # include <assert.h>
14319 if ac_fn_cxx_try_cpp "$LINENO"; then :
14322 # Broken: fails on valid input.
14325 rm -f conftest.err conftest.i conftest.$ac_ext
14327 # OK, works on sane cases. Now check whether nonexistent headers
14328 # can be detected and how.
14329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h. */
14331 #include <ac_nonexistent.h>
14333 if ac_fn_cxx_try_cpp "$LINENO"; then :
14334 # Broken: success on invalid input.
14337 # Passes both tests.
14341 rm -f conftest.err conftest.i conftest.$ac_ext
14344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14345 rm -f conftest.i conftest.err conftest.$ac_ext
14346 if $ac_preproc_ok; then :
14351 ac_cv_prog_CXXCPP=$CXXCPP
14354 CXXCPP=$ac_cv_prog_CXXCPP
14356 ac_cv_prog_CXXCPP=$CXXCPP
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14359 $as_echo "$CXXCPP" >&6; }
14360 ac_preproc_ok=false
14361 for ac_cxx_preproc_warn_flag in '' yes
14363 # Use a header file that comes with gcc, so configuring glibc
14364 # with a fresh cross-compiler works.
14365 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14366 # <limits.h> exists even on freestanding compilers.
14367 # On the NeXT, cc -E runs the code through the compiler's parser,
14368 # not just through cpp. "Syntax error" is here to catch this case.
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 # include <limits.h>
14374 # include <assert.h>
14378 if ac_fn_cxx_try_cpp "$LINENO"; then :
14381 # Broken: fails on valid input.
14384 rm -f conftest.err conftest.i conftest.$ac_ext
14386 # OK, works on sane cases. Now check whether nonexistent headers
14387 # can be detected and how.
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 #include <ac_nonexistent.h>
14392 if ac_fn_cxx_try_cpp "$LINENO"; then :
14393 # Broken: success on invalid input.
14396 # Passes both tests.
14400 rm -f conftest.err conftest.i conftest.$ac_ext
14403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14404 rm -f conftest.i conftest.err conftest.$ac_ext
14405 if $ac_preproc_ok; then :
14408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14410 _lt_caught_CXX_error=yes; }
14414 ac_cpp='$CPP $CPPFLAGS'
14415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14420 _lt_caught_CXX_error=yes
14427 ac_cpp='$CXXCPP $CPPFLAGS'
14428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14432 archive_cmds_need_lc_CXX=no
14433 allow_undefined_flag_CXX=
14434 always_export_symbols_CXX=no
14435 archive_expsym_cmds_CXX=
14436 compiler_needs_object_CXX=no
14437 export_dynamic_flag_spec_CXX=
14438 hardcode_direct_CXX=no
14439 hardcode_direct_absolute_CXX=no
14440 hardcode_libdir_flag_spec_CXX=
14441 hardcode_libdir_flag_spec_ld_CXX=
14442 hardcode_libdir_separator_CXX=
14443 hardcode_minus_L_CXX=no
14444 hardcode_shlibpath_var_CXX=unsupported
14445 hardcode_automatic_CXX=no
14446 inherit_rpath_CXX=no
14448 module_expsym_cmds_CXX=
14449 link_all_deplibs_CXX=unknown
14450 old_archive_cmds_CXX=$old_archive_cmds
14451 no_undefined_flag_CXX=
14452 whole_archive_flag_spec_CXX=
14453 enable_shared_with_static_runtimes_CXX=no
14455 # Source file extension for C++ test sources.
14458 # Object file extension for compiled C++ test sources.
14462 # No sense in running all these tests if we already determined that
14463 # the CXX compiler isn't working. Some variables (like enable_shared)
14464 # are currently assumed to apply to all compilers on this platform,
14465 # and will be corrupted by setting them based on a non-working compiler.
14466 if test "$_lt_caught_CXX_error" != yes; then
14467 # Code to be used in simple compile tests
14468 lt_simple_compile_test_code="int some_variable = 0;"
14470 # Code to be used in simple link tests
14471 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14473 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14480 # If no C compiler was specified, use CC.
14483 # If no C compiler flags were specified, use CFLAGS.
14484 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14486 # Allow CC to be a program name with arguments.
14490 # save warnings/boilerplate of simple test code
14491 ac_outfile=conftest.$ac_objext
14492 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14493 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14494 _lt_compiler_boilerplate=`cat conftest.err`
14497 ac_outfile=conftest.$ac_objext
14498 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14499 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14500 _lt_linker_boilerplate=`cat conftest.err`
14504 # Allow CC to be a program name with arguments.
14509 lt_save_with_gnu_ld=$with_gnu_ld
14510 lt_save_path_LD=$lt_cv_path_LD
14511 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14512 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14514 $as_unset lt_cv_prog_gnu_ld
14516 if test -n "${lt_cv_path_LDCXX+set}"; then
14517 lt_cv_path_LD=$lt_cv_path_LDCXX
14519 $as_unset lt_cv_path_LD
14521 test -z "${LDCXX+set}" || LD=$LDCXX
14525 for cc_temp in $compiler""; do
14527 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14528 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14533 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14536 if test -n "$compiler"; then
14537 # We don't want -fno-exception when compiling C++ code, so set the
14538 # no_builtin_flag separately
14539 if test "$GXX" = yes; then
14540 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14542 lt_prog_compiler_no_builtin_flag_CXX=
14545 if test "$GXX" = yes; then
14546 # Set up default GNU C++ configuration
14550 # Check whether --with-gnu-ld was given.
14551 if test "${with_gnu_ld+set}" = set; then :
14552 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14558 if test "$GCC" = yes; then
14559 # Check if gcc -print-prog-name=ld gives a path.
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14561 $as_echo_n "checking for ld used by $CC... " >&6; }
14564 # gcc leaves a trailing carriage return which upsets mingw
14565 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14567 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14570 # Accept absolute paths.
14572 re_direlt='/[^/][^/]*/\.\./'
14573 # Canonicalize the pathname of ld
14574 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14575 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14576 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14578 test -z "$LD" && LD="$ac_prog"
14581 # If it fails, then pretend we aren't using GCC.
14585 # If it is relative, then search for the first ld in PATH.
14586 with_gnu_ld=unknown
14589 elif test "$with_gnu_ld" = yes; then
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14591 $as_echo_n "checking for GNU ld... " >&6; }
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14594 $as_echo_n "checking for non-GNU ld... " >&6; }
14596 if test "${lt_cv_path_LD+set}" = set; then :
14597 $as_echo_n "(cached) " >&6
14599 if test -z "$LD"; then
14600 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14601 for ac_dir in $PATH; do
14603 test -z "$ac_dir" && ac_dir=.
14604 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14605 lt_cv_path_LD="$ac_dir/$ac_prog"
14606 # Check to see if the program is GNU ld. I'd rather use --version,
14607 # but apparently some variants of GNU ld only accept -v.
14608 # Break only if it was the GNU/non-GNU ld that we prefer.
14609 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14610 *GNU* | *'with BFD'*)
14611 test "$with_gnu_ld" != no && break
14614 test "$with_gnu_ld" != yes && break
14621 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14625 LD="$lt_cv_path_LD"
14626 if test -n "$LD"; then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14628 $as_echo "$LD" >&6; }
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14631 $as_echo "no" >&6; }
14633 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14635 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14636 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14637 $as_echo_n "(cached) " >&6
14639 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14640 case `$LD -v 2>&1 </dev/null` in
14641 *GNU* | *'with BFD'*)
14642 lt_cv_prog_gnu_ld=yes
14645 lt_cv_prog_gnu_ld=no
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14650 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14651 with_gnu_ld=$lt_cv_prog_gnu_ld
14659 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14660 # archiving commands below assume that GNU ld is being used.
14661 if test "$with_gnu_ld" = yes; then
14662 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14663 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'
14665 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14666 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14668 # If archive_cmds runs LD, not CC, wlarc should be empty
14669 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14670 # investigate it a little bit more. (MM)
14673 # ancient GNU ld didn't support --whole-archive et. al.
14674 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14675 $GREP 'no-whole-archive' > /dev/null; then
14676 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14678 whole_archive_flag_spec_CXX=
14684 # A generic and very simple default shared library creation
14685 # command for GNU C++ for the case where it uses the native
14686 # linker, instead of GNU ld. If possible, this setting should
14687 # overridden to take advantage of the native linker features on
14688 # the platform it is being used on.
14689 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14692 # Commands to make compiler produce verbose output that lists
14693 # what "hidden" libraries, object files and flags are used when
14694 # linking a shared library.
14695 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14703 # PORTME: fill in a description of your system's C++ link characteristics
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14705 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14709 # FIXME: insert proper C++ library support
14713 if test "$host_cpu" = ia64; then
14714 # On IA64, the linker does run time linking by default, so we don't
14715 # have to do anything special.
14716 aix_use_runtimelinking=no
14717 exp_sym_flag='-Bexport'
14720 aix_use_runtimelinking=no
14722 # Test if we are trying to use run time linking or normal
14723 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14724 # need to do runtime linking.
14725 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14726 for ld_flag in $LDFLAGS; do
14729 aix_use_runtimelinking=yes
14737 exp_sym_flag='-bexport'
14738 no_entry_flag='-bnoentry'
14741 # When large executables or shared objects are built, AIX ld can
14742 # have problems creating the table of contents. If linking a library
14743 # or program results in "error TOC overflow" add -mminimal-toc to
14744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14747 archive_cmds_CXX=''
14748 hardcode_direct_CXX=yes
14749 hardcode_direct_absolute_CXX=yes
14750 hardcode_libdir_separator_CXX=':'
14751 link_all_deplibs_CXX=yes
14752 file_list_spec_CXX='${wl}-f,'
14754 if test "$GXX" = yes; then
14755 case $host_os in aix4.[012]|aix4.[012].*)
14756 # We only want to do this on AIX 4.2 and lower, the check
14757 # below for broken collect2 doesn't work under 4.3+
14758 collect2name=`${CC} -print-prog-name=collect2`
14759 if test -f "$collect2name" &&
14760 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14762 # We have reworked collect2
14765 # We have old collect2
14766 hardcode_direct_CXX=unsupported
14767 # It fails to find uninstalled libraries when the uninstalled
14768 # path is not listed in the libpath. Setting hardcode_minus_L
14769 # to unsupported forces relinking
14770 hardcode_minus_L_CXX=yes
14771 hardcode_libdir_flag_spec_CXX='-L$libdir'
14772 hardcode_libdir_separator_CXX=
14775 shared_flag='-shared'
14776 if test "$aix_use_runtimelinking" = yes; then
14777 shared_flag="$shared_flag "'${wl}-G'
14781 if test "$host_cpu" = ia64; then
14782 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14783 # chokes on -Wl,-G. The following line is correct:
14786 if test "$aix_use_runtimelinking" = yes; then
14787 shared_flag='${wl}-G'
14789 shared_flag='${wl}-bM:SRE'
14794 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14795 # It seems that -bexpall does not export symbols beginning with
14796 # underscore (_), so it is better to generate a list of symbols to
14798 always_export_symbols_CXX=yes
14799 if test "$aix_use_runtimelinking" = yes; then
14800 # Warning - without using the other runtime loading flags (-brtl),
14801 # -berok will link without error, but may produce a broken library.
14802 allow_undefined_flag_CXX='-berok'
14803 # Determine the default libpath from the value encoded in an empty
14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14806 /* end confdefs.h. */
14816 if ac_fn_cxx_try_link "$LINENO"; then :
14818 lt_aix_libpath_sed='
14819 /Import File Strings/,/^$/ {
14825 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14826 # Check for a 64-bit object if we didn't find anything.
14827 if test -z "$aix_libpath"; then
14828 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14831 rm -f core conftest.err conftest.$ac_objext \
14832 conftest$ac_exeext conftest.$ac_ext
14833 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14835 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14837 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"
14839 if test "$host_cpu" = ia64; then
14840 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14841 allow_undefined_flag_CXX="-z nodefs"
14842 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"
14844 # Determine the default libpath from the value encoded in an
14845 # empty executable.
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14857 if ac_fn_cxx_try_link "$LINENO"; then :
14859 lt_aix_libpath_sed='
14860 /Import File Strings/,/^$/ {
14866 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14867 # Check for a 64-bit object if we didn't find anything.
14868 if test -z "$aix_libpath"; then
14869 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14876 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14877 # Warning - without using the other run time loading flags,
14878 # -berok will link without error, but may produce a broken library.
14879 no_undefined_flag_CXX=' ${wl}-bernotok'
14880 allow_undefined_flag_CXX=' ${wl}-berok'
14881 # Exported symbols can be pulled into shared objects from archives
14882 whole_archive_flag_spec_CXX='$convenience'
14883 archive_cmds_need_lc_CXX=yes
14884 # This is similar to how AIX traditionally builds its shared
14886 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'
14892 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14893 allow_undefined_flag_CXX=unsupported
14894 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14895 # support --undefined. This deserves some investigation. FIXME
14896 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14903 case $cc_basename in
14905 # FIXME: insert proper C++ library support
14911 cygwin* | mingw* | pw32* | cegcc*)
14912 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14913 # as there is no search path for DLLs.
14914 hardcode_libdir_flag_spec_CXX='-L$libdir'
14915 allow_undefined_flag_CXX=unsupported
14916 always_export_symbols_CXX=no
14917 enable_shared_with_static_runtimes_CXX=yes
14919 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14920 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'
14921 # If the export-symbols file already is a .def file (1st line
14922 # is EXPORTS), use it as is; otherwise, prepend...
14923 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14924 cp $export_symbols $output_objdir/$soname.def;
14926 echo EXPORTS > $output_objdir/$soname.def;
14927 cat $export_symbols >> $output_objdir/$soname.def;
14929 $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'
14934 darwin* | rhapsody*)
14937 archive_cmds_need_lc_CXX=no
14938 hardcode_direct_CXX=no
14939 hardcode_automatic_CXX=yes
14940 hardcode_shlibpath_var_CXX=unsupported
14941 whole_archive_flag_spec_CXX=''
14942 link_all_deplibs_CXX=yes
14943 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14944 case $cc_basename in
14945 ifort*) _lt_dar_can_shared=yes ;;
14946 *) _lt_dar_can_shared=$GCC ;;
14948 if test "$_lt_dar_can_shared" = "yes"; then
14949 output_verbose_link_cmd=echo
14950 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}"
14951 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14952 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}"
14953 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}"
14954 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14955 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}"
14956 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}"
14966 case $cc_basename in
14968 # FIXME: insert proper C++ library support
14972 # Green Hills C++ Compiler
14973 # FIXME: insert proper C++ library support
14977 # FIXME: insert proper C++ library support
14984 # C++ shared libraries reported to be fairly broken before
14990 archive_cmds_need_lc_CXX=no
14993 freebsd* | dragonfly*)
14994 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15003 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15004 hardcode_libdir_separator_CXX=:
15005 export_dynamic_flag_spec_CXX='${wl}-E'
15006 hardcode_direct_CXX=yes
15007 hardcode_minus_L_CXX=yes # Not in the search PATH,
15008 # but as the default
15009 # location of the library.
15011 case $cc_basename in
15013 # FIXME: insert proper C++ library support
15017 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'
15018 # Commands to make compiler produce verbose output that lists
15019 # what "hidden" libraries, object files and flags are used when
15020 # linking a shared library.
15022 # There doesn't appear to be a way to prevent this compiler from
15023 # explicitly linking system object files so we need to strip them
15024 # from the output so that they don't get included in the library
15026 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'
15029 if test "$GXX" = yes; then
15030 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'
15032 # FIXME: insert proper C++ library support
15040 if test $with_gnu_ld = no; then
15041 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15042 hardcode_libdir_separator_CXX=:
15048 export_dynamic_flag_spec_CXX='${wl}-E'
15054 hardcode_direct_CXX=no
15055 hardcode_shlibpath_var_CXX=no
15058 hardcode_direct_CXX=yes
15059 hardcode_direct_absolute_CXX=yes
15060 hardcode_minus_L_CXX=yes # Not in the search PATH,
15061 # but as the default
15062 # location of the library.
15066 case $cc_basename in
15068 # FIXME: insert proper C++ library support
15074 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15077 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15080 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15083 # Commands to make compiler produce verbose output that lists
15084 # what "hidden" libraries, object files and flags are used when
15085 # linking a shared library.
15087 # There doesn't appear to be a way to prevent this compiler from
15088 # explicitly linking system object files so we need to strip them
15089 # from the output so that they don't get included in the library
15091 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'
15094 if test "$GXX" = yes; then
15095 if test $with_gnu_ld = no; then
15098 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15101 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15104 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'
15109 # FIXME: insert proper C++ library support
15117 hardcode_direct_CXX=no
15118 hardcode_shlibpath_var_CXX=no
15119 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15120 export_dynamic_flag_spec_CXX='${wl}-E'
15121 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15122 # Instead, shared libraries are loaded at an image base (0x10000000 by
15123 # default) and relocated if they conflict, which is a slow very memory
15124 # consuming and fragmenting process. To avoid this, we pick a random,
15125 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15126 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15127 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'
15128 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'
15131 case $cc_basename in
15134 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'
15136 # Archives containing C++ object files must be created using
15137 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15138 # necessary to make sure instantiated templates are included
15140 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15143 if test "$GXX" = yes; then
15144 if test "$with_gnu_ld" = no; then
15145 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'
15147 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'
15150 link_all_deplibs_CXX=yes
15153 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15154 hardcode_libdir_separator_CXX=:
15155 inherit_rpath_CXX=yes
15158 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15159 case $cc_basename in
15161 # Kuck and Associates, Inc. (KAI) C++ Compiler
15163 # KCC will only create a shared library if the output file
15164 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15165 # to its proper name (with version) after linking.
15166 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'
15167 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'
15168 # Commands to make compiler produce verbose output that lists
15169 # what "hidden" libraries, object files and flags are used when
15170 # linking a shared library.
15172 # There doesn't appear to be a way to prevent this compiler from
15173 # explicitly linking system object files so we need to strip them
15174 # from the output so that they don't get included in the library
15176 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'
15178 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15179 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15181 # Archives containing C++ object files must be created using
15182 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15183 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15188 # version 8.0 and above of icpc choke on multiply defined symbols
15189 # if we add $predep_objects and $postdep_objects, however 7.1 and
15190 # earlier do not add the objects themselves.
15191 case `$CC -V 2>&1` in
15193 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15194 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'
15196 *) # Version 8.0 or newer
15199 ia64*) tmp_idyn=' -i_dynamic';;
15201 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15202 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'
15205 archive_cmds_need_lc_CXX=no
15206 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15207 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15208 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15211 # Portland Group C++ compiler
15213 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15214 prelink_cmds_CXX='tpldir=Template.dir~
15216 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15217 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15218 old_archive_cmds_CXX='tpldir=Template.dir~
15220 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15221 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15223 archive_cmds_CXX='tpldir=Template.dir~
15225 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15226 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15227 archive_expsym_cmds_CXX='tpldir=Template.dir~
15229 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15230 $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'
15232 *) # Version 6 will use weak symbols
15233 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15234 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'
15238 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15239 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15240 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'
15244 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15245 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'
15247 runpath_var=LD_RUN_PATH
15248 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15249 hardcode_libdir_separator_CXX=:
15251 # Commands to make compiler produce verbose output that lists
15252 # what "hidden" libraries, object files and flags are used when
15253 # linking a shared library.
15255 # There doesn't appear to be a way to prevent this compiler from
15256 # explicitly linking system object files so we need to strip them
15257 # from the output so that they don't get included in the library
15259 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'
15262 # IBM XL 8.0 on PPC, with GNU ld
15263 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15264 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15265 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15266 if test "x$supports_anon_versioning" = xyes; then
15267 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15268 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15269 echo "local: *; };" >> $output_objdir/$libname.ver~
15270 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15274 case `$CC -V 2>&1 | sed 5q` in
15277 no_undefined_flag_CXX=' -zdefs'
15278 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15279 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'
15280 hardcode_libdir_flag_spec_CXX='-R$libdir'
15281 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'
15282 compiler_needs_object_CXX=yes
15284 # Not sure whether something based on
15285 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15287 output_verbose_link_cmd='echo'
15289 # Archives containing C++ object files must be created using
15290 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15291 # necessary to make sure instantiated templates are included
15293 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15301 # FIXME: insert proper C++ library support
15306 # FIXME: insert proper C++ library support
15311 case $cc_basename in
15313 # FIXME: insert proper C++ library support
15317 # FIXME: insert proper C++ library support
15324 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15325 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15327 hardcode_libdir_flag_spec_CXX='-R$libdir'
15328 hardcode_direct_CXX=yes
15329 hardcode_shlibpath_var_CXX=no
15331 # Workaround some broken pre-1.5 toolchains
15332 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15340 # C++ shared libraries are fairly broken
15345 if test -f /usr/libexec/ld.so; then
15346 hardcode_direct_CXX=yes
15347 hardcode_shlibpath_var_CXX=no
15348 hardcode_direct_absolute_CXX=yes
15349 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15350 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15351 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15352 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15353 export_dynamic_flag_spec_CXX='${wl}-E'
15354 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15356 output_verbose_link_cmd=echo
15362 osf3* | osf4* | osf5*)
15363 case $cc_basename in
15365 # Kuck and Associates, Inc. (KAI) C++ Compiler
15367 # KCC will only create a shared library if the output file
15368 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15369 # to its proper name (with version) after linking.
15370 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'
15372 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15373 hardcode_libdir_separator_CXX=:
15375 # Archives containing C++ object files must be created using
15376 # the KAI C++ compiler.
15378 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15379 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15383 # Rational C++ 2.4.1
15384 # FIXME: insert proper C++ library support
15390 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15391 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'
15392 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15395 allow_undefined_flag_CXX=' -expect_unresolved \*'
15396 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'
15397 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15398 echo "-hidden">> $lib.exp~
15399 $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~
15401 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15405 hardcode_libdir_separator_CXX=:
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.
15411 # There doesn't appear to be a way to prevent this compiler from
15412 # explicitly linking system object files so we need to strip them
15413 # from the output so that they don't get included in the library
15415 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'
15418 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15419 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15422 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'
15425 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'
15429 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15430 hardcode_libdir_separator_CXX=:
15432 # Commands to make compiler produce verbose output that lists
15433 # what "hidden" libraries, object files and flags are used when
15434 # linking a shared library.
15435 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15438 # FIXME: insert proper C++ library support
15446 # FIXME: insert proper C++ library support
15451 case $cc_basename in
15454 # FIXME: insert proper C++ library support
15459 # FIXME: insert proper C++ library support
15463 # FIXME: insert proper C++ library support
15470 case $cc_basename in
15472 # Sun C++ 4.2, 5.x and Centerline C++
15473 archive_cmds_need_lc_CXX=yes
15474 no_undefined_flag_CXX=' -zdefs'
15475 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15476 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15477 $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'
15479 hardcode_libdir_flag_spec_CXX='-R$libdir'
15480 hardcode_shlibpath_var_CXX=no
15482 solaris2.[0-5] | solaris2.[0-5].*) ;;
15484 # The compiler driver will combine and reorder linker options,
15485 # but understands `-z linker_flag'.
15486 # Supported since Solaris 2.6 (maybe 2.5.1?)
15487 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15490 link_all_deplibs_CXX=yes
15492 output_verbose_link_cmd='echo'
15494 # Archives containing C++ object files must be created using
15495 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15496 # necessary to make sure instantiated templates are included
15498 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15501 # Green Hills C++ Compiler
15502 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15504 # The C++ compiler must be used to create the archive.
15505 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15508 # GNU C++ compiler with Solaris linker
15509 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15510 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15511 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15512 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15513 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15514 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15516 # Commands to make compiler produce verbose output that lists
15517 # what "hidden" libraries, object files and flags are used when
15518 # linking a shared library.
15519 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15521 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15523 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15524 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15525 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15527 # Commands to make compiler produce verbose output that lists
15528 # what "hidden" libraries, object files and flags are used when
15529 # linking a shared library.
15530 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15533 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15535 solaris2.[0-5] | solaris2.[0-5].*) ;;
15537 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15545 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15546 no_undefined_flag_CXX='${wl}-z,text'
15547 archive_cmds_need_lc_CXX=no
15548 hardcode_shlibpath_var_CXX=no
15549 runpath_var='LD_RUN_PATH'
15551 case $cc_basename in
15553 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15554 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15557 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15558 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15563 sysv5* | sco3.2v5* | sco5v6*)
15564 # Note: We can NOT use -z defs as we might desire, because we do not
15565 # link with -lc, and that would cause any symbols used from libc to
15566 # always be unresolved, which means just about no library would
15567 # ever link correctly. If we're not using GNU ld we use -z text
15568 # though, which does catch some bad symbols but isn't as heavy-handed
15570 no_undefined_flag_CXX='${wl}-z,text'
15571 allow_undefined_flag_CXX='${wl}-z,nodefs'
15572 archive_cmds_need_lc_CXX=no
15573 hardcode_shlibpath_var_CXX=no
15574 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15575 hardcode_libdir_separator_CXX=':'
15576 link_all_deplibs_CXX=yes
15577 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15578 runpath_var='LD_RUN_PATH'
15580 case $cc_basename in
15582 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15583 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15586 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15587 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15593 case $cc_basename in
15595 # NonStop-UX NCC 3.20
15596 # FIXME: insert proper C++ library support
15600 # FIXME: insert proper C++ library support
15607 # FIXME: insert proper C++ library support
15612 # FIXME: insert proper C++ library support
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15618 $as_echo "$ld_shlibs_CXX" >&6; }
15619 test "$ld_shlibs_CXX" = no && can_build_shared=no
15625 ## There is no encapsulation within the following macros, do not change
15626 ## the running order or otherwise move them around unless you know exactly
15627 ## what you are doing...
15628 # Dependencies to place before and after the object being linked:
15629 predep_objects_CXX=
15630 postdep_objects_CXX=
15633 compiler_lib_search_path_CXX=
15635 cat > conftest.$ac_ext <<_LT_EOF
15639 Foo (void) { a = 0; }
15645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15646 (eval $ac_compile) 2>&5
15648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15649 test $ac_status = 0; }; then
15650 # Parse the compiler output and extract the necessary
15651 # objects, libraries and library flags.
15653 # Sentinel used to keep track of whether or not we are before
15654 # the conftest object file.
15655 pre_test_object_deps_done=no
15657 for p in `eval "$output_verbose_link_cmd"`; do
15661 # Some compilers place space between "-{L,R}" and the path.
15662 # Remove the space.
15663 if test $p = "-L" ||
15664 test $p = "-R"; then
15671 if test "$pre_test_object_deps_done" = no; then
15674 # Internal compiler library paths should come after those
15675 # provided the user. The postdeps already come after the
15676 # user supplied libs so there is no need to process them.
15677 if test -z "$compiler_lib_search_path_CXX"; then
15678 compiler_lib_search_path_CXX="${prev}${p}"
15680 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15683 # The "-l" case would never come before the object being
15684 # linked, so don't bother handling this case.
15687 if test -z "$postdeps_CXX"; then
15688 postdeps_CXX="${prev}${p}"
15690 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15696 # This assumes that the test object file only shows up
15697 # once in the compiler output.
15698 if test "$p" = "conftest.$objext"; then
15699 pre_test_object_deps_done=yes
15703 if test "$pre_test_object_deps_done" = no; then
15704 if test -z "$predep_objects_CXX"; then
15705 predep_objects_CXX="$p"
15707 predep_objects_CXX="$predep_objects_CXX $p"
15710 if test -z "$postdep_objects_CXX"; then
15711 postdep_objects_CXX="$p"
15713 postdep_objects_CXX="$postdep_objects_CXX $p"
15718 *) ;; # Ignore the rest.
15726 echo "libtool.m4: error: problem compiling CXX test program"
15729 $RM -f confest.$objext
15731 # PORTME: override above test on systems where it is broken
15734 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15735 # hack all around it, let's just trust "g++" to DTRT.
15736 predep_objects_CXX=
15737 postdep_objects_CXX=
15742 case `$CC -V 2>&1 | sed 5q` in
15746 # The more standards-conforming stlport4 library is
15747 # incompatible with the Cstd library. Avoid specifying
15748 # it if it's in CXXFLAGS. Ignore libCrun as
15749 # -library=stlport4 depends on it.
15750 case " $CXX $CXXFLAGS " in
15751 *" -library=stlport4 "*)
15752 solaris_use_stlport4=yes
15756 if test "$solaris_use_stlport4" != yes; then
15757 postdeps_CXX='-library=Cstd -library=Crun'
15764 case $cc_basename in
15766 # The more standards-conforming stlport4 library is
15767 # incompatible with the Cstd library. Avoid specifying
15768 # it if it's in CXXFLAGS. Ignore libCrun as
15769 # -library=stlport4 depends on it.
15770 case " $CXX $CXXFLAGS " in
15771 *" -library=stlport4 "*)
15772 solaris_use_stlport4=yes
15776 # Adding this requires a known-good setup of shared libraries for
15777 # Sun compiler versions before 5.6, else PIC objects from an old
15778 # archive will be linked into the output, leading to subtle bugs.
15779 if test "$solaris_use_stlport4" != yes; then
15780 postdeps_CXX='-library=Cstd -library=Crun'
15788 case " $postdeps_CXX " in
15789 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15791 compiler_lib_search_dirs_CXX=
15792 if test -n "${compiler_lib_search_path_CXX}"; then
15793 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15826 lt_prog_compiler_wl_CXX=
15827 lt_prog_compiler_pic_CXX=
15828 lt_prog_compiler_static_CXX=
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15831 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15833 # C++ specific cases for pic, static, wl, etc.
15834 if test "$GXX" = yes; then
15835 lt_prog_compiler_wl_CXX='-Wl,'
15836 lt_prog_compiler_static_CXX='-static'
15840 # All AIX code is PIC.
15841 if test "$host_cpu" = ia64; then
15842 # AIX 5 now supports IA64 processor
15843 lt_prog_compiler_static_CXX='-Bstatic'
15850 # see comment about AmigaOS4 .so support
15851 lt_prog_compiler_pic_CXX='-fPIC'
15854 # FIXME: we need at least 68020 code to build shared libraries, but
15855 # adding the `-m68020' flag to GCC prevents building anything better,
15857 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15862 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15863 # PIC is the default for these OSes.
15865 mingw* | cygwin* | os2* | pw32* | cegcc*)
15866 # This hack is so that the source file can tell whether it is being
15867 # built for inclusion in a dll (and should export symbols for example).
15868 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15869 # (--disable-auto-import) libraries
15870 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15872 darwin* | rhapsody*)
15873 # PIC is the default on this platform
15874 # Common symbols not allowed in MH_DYLIB files
15875 lt_prog_compiler_pic_CXX='-fno-common'
15878 # DJGPP does not support shared libraries at all
15879 lt_prog_compiler_pic_CXX=
15882 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15883 # Instead, we relocate shared libraries at runtime.
15886 if test -d /usr/nec; then
15887 lt_prog_compiler_pic_CXX=-Kconform_pic
15891 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15892 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15893 # sets the default TLS model and affects inlining.
15898 lt_prog_compiler_pic_CXX='-fPIC'
15903 # QNX uses GNU C++, but need to define -shared option too, otherwise
15904 # it will coredump.
15905 lt_prog_compiler_pic_CXX='-fPIC -shared'
15908 lt_prog_compiler_pic_CXX='-fPIC'
15914 # All AIX code is PIC.
15915 if test "$host_cpu" = ia64; then
15916 # AIX 5 now supports IA64 processor
15917 lt_prog_compiler_static_CXX='-Bstatic'
15919 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15923 case $cc_basename in
15925 # Green Hills C++ Compiler
15926 # _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"
15931 case $cc_basename in
15933 lt_prog_compiler_pic_CXX='-KPIC'
15936 # Green Hills C++ Compiler
15937 lt_prog_compiler_pic_CXX='-pic'
15943 freebsd* | dragonfly*)
15944 # FreeBSD uses GNU C++
15946 hpux9* | hpux10* | hpux11*)
15947 case $cc_basename in
15949 lt_prog_compiler_wl_CXX='-Wl,'
15950 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15951 if test "$host_cpu" != ia64; then
15952 lt_prog_compiler_pic_CXX='+Z'
15956 lt_prog_compiler_wl_CXX='-Wl,'
15957 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15963 lt_prog_compiler_pic_CXX='+Z'
15972 # This is c89, which is MS Visual C++ (no shared libs)
15973 # Anyone wants to do a port?
15975 irix5* | irix6* | nonstopux*)
15976 case $cc_basename in
15978 lt_prog_compiler_wl_CXX='-Wl,'
15979 lt_prog_compiler_static_CXX='-non_shared'
15980 # CC pic flag -KPIC is the default.
15986 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15987 case $cc_basename in
15990 lt_prog_compiler_wl_CXX='--backend -Wl,'
15991 lt_prog_compiler_pic_CXX='-fPIC'
15994 # old Intel C++ for x86_64 which still supported -KPIC.
15995 lt_prog_compiler_wl_CXX='-Wl,'
15996 lt_prog_compiler_pic_CXX='-KPIC'
15997 lt_prog_compiler_static_CXX='-static'
16000 # Intel C++, used to be incompatible with GCC.
16001 # ICC 10 doesn't accept -KPIC any more.
16002 lt_prog_compiler_wl_CXX='-Wl,'
16003 lt_prog_compiler_pic_CXX='-fPIC'
16004 lt_prog_compiler_static_CXX='-static'
16007 # Portland Group C++ compiler
16008 lt_prog_compiler_wl_CXX='-Wl,'
16009 lt_prog_compiler_pic_CXX='-fpic'
16010 lt_prog_compiler_static_CXX='-Bstatic'
16014 # Make sure the PIC flag is empty. It appears that all Alpha
16015 # Linux and Compaq Tru64 Unix objects are PIC.
16016 lt_prog_compiler_pic_CXX=
16017 lt_prog_compiler_static_CXX='-non_shared'
16020 # IBM XL 8.0 on PPC
16021 lt_prog_compiler_wl_CXX='-Wl,'
16022 lt_prog_compiler_pic_CXX='-qpic'
16023 lt_prog_compiler_static_CXX='-qstaticlink'
16026 case `$CC -V 2>&1 | sed 5q` in
16029 lt_prog_compiler_pic_CXX='-KPIC'
16030 lt_prog_compiler_static_CXX='-Bstatic'
16031 lt_prog_compiler_wl_CXX='-Qoption ld '
16042 case $cc_basename in
16044 lt_prog_compiler_pic_CXX='-W c,exportall'
16050 netbsd* | netbsdelf*-gnu)
16053 # QNX uses GNU C++, but need to define -shared option too, otherwise
16054 # it will coredump.
16055 lt_prog_compiler_pic_CXX='-fPIC -shared'
16057 osf3* | osf4* | osf5*)
16058 case $cc_basename in
16060 lt_prog_compiler_wl_CXX='--backend -Wl,'
16063 # Rational C++ 2.4.1
16064 lt_prog_compiler_pic_CXX='-pic'
16067 # Digital/Compaq C++
16068 lt_prog_compiler_wl_CXX='-Wl,'
16069 # Make sure the PIC flag is empty. It appears that all Alpha
16070 # Linux and Compaq Tru64 Unix objects are PIC.
16071 lt_prog_compiler_pic_CXX=
16072 lt_prog_compiler_static_CXX='-non_shared'
16081 case $cc_basename in
16083 # Sun C++ 4.2, 5.x and Centerline C++
16084 lt_prog_compiler_pic_CXX='-KPIC'
16085 lt_prog_compiler_static_CXX='-Bstatic'
16086 lt_prog_compiler_wl_CXX='-Qoption ld '
16089 # Green Hills C++ Compiler
16090 lt_prog_compiler_pic_CXX='-PIC'
16097 case $cc_basename in
16100 lt_prog_compiler_pic_CXX='-pic'
16101 lt_prog_compiler_static_CXX='-Bstatic'
16105 lt_prog_compiler_pic_CXX='-pic'
16111 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16112 case $cc_basename in
16114 lt_prog_compiler_wl_CXX='-Wl,'
16115 lt_prog_compiler_pic_CXX='-KPIC'
16116 lt_prog_compiler_static_CXX='-Bstatic'
16121 case $cc_basename in
16123 # NonStop-UX NCC 3.20
16124 lt_prog_compiler_pic_CXX='-KPIC'
16133 lt_prog_compiler_can_build_shared_CXX=no
16139 # For platforms which do not support PIC, -DPIC is meaningless:
16141 lt_prog_compiler_pic_CXX=
16144 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16148 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16153 # Check to make sure the PIC flag actually works.
16155 if test -n "$lt_prog_compiler_pic_CXX"; then
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16157 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16158 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16159 $as_echo_n "(cached) " >&6
16161 lt_cv_prog_compiler_pic_works_CXX=no
16162 ac_outfile=conftest.$ac_objext
16163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16164 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16165 # Insert the option either (1) after the last *FLAGS variable, or
16166 # (2) before a word containing "conftest.", or (3) at the end.
16167 # Note that $ac_compile itself does not contain backslashes and begins
16168 # with a dollar sign (not a hyphen), so the echo should work correctly.
16169 # The option is referenced via a variable to avoid confusing sed.
16170 lt_compile=`echo "$ac_compile" | $SED \
16171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16173 -e 's:$: $lt_compiler_flag:'`
16174 (eval echo "\"\$as_me:16174: $lt_compile\"" >&5)
16175 (eval "$lt_compile" 2>conftest.err)
16177 cat conftest.err >&5
16178 echo "$as_me:16178: \$? = $ac_status" >&5
16179 if (exit $ac_status) && test -s "$ac_outfile"; then
16180 # The compiler can only warn and ignore the option if not recognized
16181 # So say no if there are warnings other than the usual output.
16182 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16183 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16184 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16185 lt_cv_prog_compiler_pic_works_CXX=yes
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16192 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16194 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16195 case $lt_prog_compiler_pic_CXX in
16197 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16200 lt_prog_compiler_pic_CXX=
16201 lt_prog_compiler_can_build_shared_CXX=no
16209 # Check to make sure the static flag actually works.
16211 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16213 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16214 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16215 $as_echo_n "(cached) " >&6
16217 lt_cv_prog_compiler_static_works_CXX=no
16218 save_LDFLAGS="$LDFLAGS"
16219 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16220 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16221 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16222 # The linker can only warn and ignore the option if not recognized
16223 # So say no if there are warnings
16224 if test -s conftest.err; then
16225 # Append any errors to the config.log.
16226 cat conftest.err 1>&5
16227 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16228 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16229 if diff conftest.exp conftest.er2 >/dev/null; then
16230 lt_cv_prog_compiler_static_works_CXX=yes
16233 lt_cv_prog_compiler_static_works_CXX=yes
16237 LDFLAGS="$save_LDFLAGS"
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16241 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16243 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16246 lt_prog_compiler_static_CXX=
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16253 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16254 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16255 $as_echo_n "(cached) " >&6
16257 lt_cv_prog_compiler_c_o_CXX=no
16258 $RM -r conftest 2>/dev/null
16262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16264 lt_compiler_flag="-o out/conftest2.$ac_objext"
16265 # Insert the option either (1) after the last *FLAGS variable, or
16266 # (2) before a word containing "conftest.", or (3) at the end.
16267 # Note that $ac_compile itself does not contain backslashes and begins
16268 # with a dollar sign (not a hyphen), so the echo should work correctly.
16269 lt_compile=`echo "$ac_compile" | $SED \
16270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16272 -e 's:$: $lt_compiler_flag:'`
16273 (eval echo "\"\$as_me:16273: $lt_compile\"" >&5)
16274 (eval "$lt_compile" 2>out/conftest.err)
16276 cat out/conftest.err >&5
16277 echo "$as_me:16277: \$? = $ac_status" >&5
16278 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16280 # The compiler can only warn and ignore the option if not recognized
16281 # So say no if there are warnings
16282 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16283 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16284 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16285 lt_cv_prog_compiler_c_o_CXX=yes
16290 # SGI C++ compiler will create directory out/ii_files/ for
16291 # template instantiation
16292 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16293 $RM out/* && rmdir out
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16300 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16305 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16306 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16307 $as_echo_n "(cached) " >&6
16309 lt_cv_prog_compiler_c_o_CXX=no
16310 $RM -r conftest 2>/dev/null
16314 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16316 lt_compiler_flag="-o out/conftest2.$ac_objext"
16317 # Insert the option either (1) after the last *FLAGS variable, or
16318 # (2) before a word containing "conftest.", or (3) at the end.
16319 # Note that $ac_compile itself does not contain backslashes and begins
16320 # with a dollar sign (not a hyphen), so the echo should work correctly.
16321 lt_compile=`echo "$ac_compile" | $SED \
16322 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16323 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16324 -e 's:$: $lt_compiler_flag:'`
16325 (eval echo "\"\$as_me:16325: $lt_compile\"" >&5)
16326 (eval "$lt_compile" 2>out/conftest.err)
16328 cat out/conftest.err >&5
16329 echo "$as_me:16329: \$? = $ac_status" >&5
16330 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16332 # The compiler can only warn and ignore the option if not recognized
16333 # So say no if there are warnings
16334 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16335 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16336 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16337 lt_cv_prog_compiler_c_o_CXX=yes
16342 # SGI C++ compiler will create directory out/ii_files/ for
16343 # template instantiation
16344 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16345 $RM out/* && rmdir out
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16352 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16357 hard_links="nottested"
16358 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16359 # do not overwrite the value of need_locks provided by the user
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16361 $as_echo_n "checking if we can lock with hard links... " >&6; }
16364 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16366 ln conftest.a conftest.b 2>&5 || hard_links=no
16367 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16369 $as_echo "$hard_links" >&6; }
16370 if test "$hard_links" = no; then
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16372 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16382 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16384 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16387 # If we're using GNU nm, then we don't want the "-C" option.
16388 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16389 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16390 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'
16392 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'
16396 export_symbols_cmds_CXX="$ltdll_cmds"
16398 cygwin* | mingw* | cegcc*)
16399 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'
16401 linux* | k*bsd*-gnu)
16402 link_all_deplibs_CXX=no
16405 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16408 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16411 $as_echo "$ld_shlibs_CXX" >&6; }
16412 test "$ld_shlibs_CXX" = no && can_build_shared=no
16414 with_gnu_ld_CXX=$with_gnu_ld
16422 # Do we need to explicitly link libc?
16424 case "x$archive_cmds_need_lc_CXX" in
16426 # Assume -lc should be added
16427 archive_cmds_need_lc_CXX=yes
16429 if test "$enable_shared" = yes && test "$GCC" = yes; then
16430 case $archive_cmds_CXX in
16432 # FIXME: we may have to deal with multi-command sequences.
16435 # Test whether the compiler implicitly links with -lc since on some
16436 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16437 # to ld, don't add -lc before -lgcc.
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16439 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16441 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16444 (eval $ac_compile) 2>&5
16446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16447 test $ac_status = 0; } 2>conftest.err; then
16450 libobjs=conftest.$ac_objext
16452 wl=$lt_prog_compiler_wl_CXX
16453 pic_flag=$lt_prog_compiler_pic_CXX
16459 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16460 allow_undefined_flag_CXX=
16461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16462 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16465 test $ac_status = 0; }
16467 archive_cmds_need_lc_CXX=no
16469 archive_cmds_need_lc_CXX=yes
16471 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16473 cat conftest.err 1>&5
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16477 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16548 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16550 library_names_spec=
16551 libname_spec='lib$name'
16555 postuninstall_cmds=
16559 shlibpath_overrides_runpath=unknown
16561 dynamic_linker="$host_os ld.so"
16562 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16563 need_lib_prefix=unknown
16564 hardcode_into_libs=no
16566 # when you set need_version to no, make sure it does not cause -set_version
16567 # flags to be left without arguments
16568 need_version=unknown
16573 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16574 shlibpath_var=LIBPATH
16576 # AIX 3 has no versioning support, so we append a major version to the name.
16577 soname_spec='${libname}${release}${shared_ext}$major'
16584 hardcode_into_libs=yes
16585 if test "$host_cpu" = ia64; then
16586 # AIX 5 supports IA64
16587 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16588 shlibpath_var=LD_LIBRARY_PATH
16590 # With GCC up to 2.95.x, collect2 would create an import file
16591 # for dependence libraries. The import file would start with
16592 # the line `#! .'. This would cause the generated library to
16593 # depend on `.', always an invalid library. This was fixed in
16594 # development snapshots of GCC prior to 3.0.
16596 aix4 | aix4.[01] | aix4.[01].*)
16597 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16599 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16602 can_build_shared=no
16606 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16607 # soname into executable. Probably we can add versioning support to
16608 # collect2, so additional links can be useful in future.
16609 if test "$aix_use_runtimelinking" = yes; then
16610 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16611 # instead of lib<name>.a to let people know that these are not
16612 # typical AIX shared libraries.
16613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16615 # We preserve .a as extension for shared libraries through AIX4.2
16616 # and later when we are not doing run time linking.
16617 library_names_spec='${libname}${release}.a $libname.a'
16618 soname_spec='${libname}${release}${shared_ext}$major'
16620 shlibpath_var=LIBPATH
16627 # Since July 2007 AmigaOS4 officially supports .so libraries.
16628 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16632 library_names_spec='$libname.ixlibrary $libname.a'
16633 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16634 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'
16640 library_names_spec='${libname}${shared_ext}'
16641 dynamic_linker="$host_os ld.so"
16642 shlibpath_var=LIBRARY_PATH
16648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16649 soname_spec='${libname}${release}${shared_ext}$major'
16650 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16651 shlibpath_var=LD_LIBRARY_PATH
16652 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16653 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16654 # the default ld.so.conf also contains /usr/contrib/lib and
16655 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16656 # libtool to hard-code these into programs
16659 cygwin* | mingw* | pw32* | cegcc*)
16660 version_type=windows
16665 case $GCC,$host_os in
16666 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16667 library_names_spec='$libname.dll.a'
16668 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16669 postinstall_cmds='base_file=`basename \${file}`~
16670 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16671 dldir=$destdir/`dirname \$dlpath`~
16672 test -d \$dldir || mkdir -p \$dldir~
16673 $install_prog $dir/$dlname \$dldir/$dlname~
16674 chmod a+x \$dldir/$dlname~
16675 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16676 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16678 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16679 dlpath=$dir/\$dldll~
16681 shlibpath_overrides_runpath=yes
16685 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16686 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16687 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16690 # MinGW DLLs use traditional 'lib' prefix
16691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16692 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16693 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16694 # It is most probably a Windows format PATH printed by
16695 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16696 # path with ; separators, and with drive letters. We can handle the
16697 # drive letters (cygwin fileutils understands them), so leave them,
16698 # especially as we might pass files found there to a mingw objdump,
16699 # which wouldn't understand a cygwinified path. Ahh.
16700 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16702 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16706 # pw32 DLLs use 'pw' prefix rather than 'lib'
16707 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16713 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16716 dynamic_linker='Win32 ld.exe'
16717 # FIXME: first we should search . and the directory the executable is in
16721 darwin* | rhapsody*)
16722 dynamic_linker="$host_os dyld"
16723 version_type=darwin
16726 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16727 soname_spec='${libname}${release}${major}$shared_ext'
16728 shlibpath_overrides_runpath=yes
16729 shlibpath_var=DYLD_LIBRARY_PATH
16730 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16732 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16740 soname_spec='${libname}${release}${shared_ext}$major'
16741 shlibpath_var=LD_LIBRARY_PATH
16748 freebsd* | dragonfly*)
16749 # DragonFly does not have aout. When/if they implement a new
16750 # versioning mechanism, adjust this.
16751 if test -x /usr/bin/objformat; then
16752 objformat=`/usr/bin/objformat`
16755 freebsd[123]*) objformat=aout ;;
16756 *) objformat=elf ;;
16759 version_type=freebsd-$objformat
16760 case $version_type in
16762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16767 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16771 shlibpath_var=LD_LIBRARY_PATH
16774 shlibpath_overrides_runpath=yes
16776 freebsd3.[01]* | freebsdelf3.[01]*)
16777 shlibpath_overrides_runpath=yes
16778 hardcode_into_libs=yes
16780 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16781 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16782 shlibpath_overrides_runpath=no
16783 hardcode_into_libs=yes
16785 *) # from 4.6 on, and DragonFly
16786 shlibpath_overrides_runpath=yes
16787 hardcode_into_libs=yes
16796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16797 soname_spec='${libname}${release}${shared_ext}$major'
16798 shlibpath_var=LD_LIBRARY_PATH
16799 hardcode_into_libs=yes
16802 hpux9* | hpux10* | hpux11*)
16803 # Give a soname corresponding to the major version so that dld.sl refuses to
16804 # link against other versions.
16811 hardcode_into_libs=yes
16812 dynamic_linker="$host_os dld.so"
16813 shlibpath_var=LD_LIBRARY_PATH
16814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16816 soname_spec='${libname}${release}${shared_ext}$major'
16817 if test "X$HPUX_IA64_MODE" = X32; then
16818 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16820 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16822 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16826 hardcode_into_libs=yes
16827 dynamic_linker="$host_os dld.sl"
16828 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16829 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16831 soname_spec='${libname}${release}${shared_ext}$major'
16832 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16833 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16837 dynamic_linker="$host_os dld.sl"
16838 shlibpath_var=SHLIB_PATH
16839 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16841 soname_spec='${libname}${release}${shared_ext}$major'
16844 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16845 postinstall_cmds='chmod 555 $lib'
16852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16853 soname_spec='${libname}${release}${shared_ext}$major'
16854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16855 shlibpath_var=LD_LIBRARY_PATH
16856 shlibpath_overrides_runpath=no
16857 hardcode_into_libs=yes
16860 irix5* | irix6* | nonstopux*)
16862 nonstopux*) version_type=nonstopux ;;
16864 if test "$lt_cv_prog_gnu_ld" = yes; then
16872 soname_spec='${libname}${release}${shared_ext}$major'
16873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16875 irix5* | nonstopux*)
16876 libsuff= shlibsuff=
16879 case $LD in # libtool.m4 will add one of these switches to LD
16880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16881 libsuff= shlibsuff= libmagic=32-bit;;
16882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16883 libsuff=32 shlibsuff=N32 libmagic=N32;;
16884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16886 *) libsuff= shlibsuff= libmagic=never-match;;
16890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16891 shlibpath_overrides_runpath=no
16892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16894 hardcode_into_libs=yes
16897 # No shared lib support for Linux oldld, aout, or coff.
16898 linux*oldld* | linux*aout* | linux*coff*)
16902 # This must be Linux ELF.
16903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16908 soname_spec='${libname}${release}${shared_ext}$major'
16909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16910 shlibpath_var=LD_LIBRARY_PATH
16911 shlibpath_overrides_runpath=no
16912 # Some binutils ld are patched to set DT_RUNPATH
16913 save_LDFLAGS=$LDFLAGS
16914 save_libdir=$libdir
16915 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16916 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16928 if ac_fn_cxx_try_link "$LINENO"; then :
16929 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16930 shlibpath_overrides_runpath=yes
16933 rm -f core conftest.err conftest.$ac_objext \
16934 conftest$ac_exeext conftest.$ac_ext
16935 LDFLAGS=$save_LDFLAGS
16936 libdir=$save_libdir
16938 # This implies no fast_install, which is unacceptable.
16939 # Some rework will be needed to allow for fast_install
16940 # before this can be enabled.
16941 hardcode_into_libs=yes
16943 # Append ld.so.conf contents to the search path
16944 if test -f /etc/ld.so.conf; then
16945 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' ' '`
16946 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16949 # We used to test for /lib/ld.so.1 and disable shared libraries on
16950 # powerpc, because MkLinux only supported shared libraries with the
16951 # GNU dynamic linker. Since this was broken with cross compilers,
16952 # most powerpc-linux boxes support dynamic linking these days and
16953 # people can always --disable-shared, the test was removed, and we
16954 # assume the GNU/Linux dynamic linker is in use.
16955 dynamic_linker='GNU/Linux ld.so'
16962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16963 soname_spec='${libname}${release}${shared_ext}$major'
16964 shlibpath_var=LD_LIBRARY_PATH
16965 shlibpath_overrides_runpath=no
16966 hardcode_into_libs=yes
16967 dynamic_linker='NetBSD ld.elf_so'
16974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16977 dynamic_linker='NetBSD (a.out) ld.so'
16979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16980 soname_spec='${libname}${release}${shared_ext}$major'
16981 dynamic_linker='NetBSD ld.elf_so'
16983 shlibpath_var=LD_LIBRARY_PATH
16984 shlibpath_overrides_runpath=yes
16985 hardcode_into_libs=yes
16990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16991 shlibpath_var=LD_LIBRARY_PATH
16992 shlibpath_overrides_runpath=yes
16999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17000 soname_spec='${libname}${release}${shared_ext}$major'
17001 shlibpath_var=LD_LIBRARY_PATH
17002 shlibpath_overrides_runpath=no
17003 hardcode_into_libs=yes
17004 dynamic_linker='ldqnx.so'
17009 sys_lib_dlsearch_path_spec="/usr/lib"
17011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17013 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17014 *) need_version=no ;;
17016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17018 shlibpath_var=LD_LIBRARY_PATH
17019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17021 openbsd2.[89] | openbsd2.[89].*)
17022 shlibpath_overrides_runpath=no
17025 shlibpath_overrides_runpath=yes
17029 shlibpath_overrides_runpath=yes
17034 libname_spec='$name'
17037 library_names_spec='$libname${shared_ext} $libname.a'
17038 dynamic_linker='OS/2 ld.exe'
17039 shlibpath_var=LIBPATH
17042 osf3* | osf4* | osf5*)
17046 soname_spec='${libname}${release}${shared_ext}$major'
17047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17048 shlibpath_var=LD_LIBRARY_PATH
17049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17062 soname_spec='${libname}${release}${shared_ext}$major'
17063 shlibpath_var=LD_LIBRARY_PATH
17064 shlibpath_overrides_runpath=yes
17065 hardcode_into_libs=yes
17066 # ldd complains unless libraries are executable
17067 postinstall_cmds='chmod +x $lib'
17072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17074 shlibpath_var=LD_LIBRARY_PATH
17075 shlibpath_overrides_runpath=yes
17076 if test "$with_gnu_ld" = yes; then
17084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17085 soname_spec='${libname}${release}${shared_ext}$major'
17086 shlibpath_var=LD_LIBRARY_PATH
17087 case $host_vendor in
17089 shlibpath_overrides_runpath=no
17091 runpath_var=LD_RUN_PATH
17099 shlibpath_overrides_runpath=no
17100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17106 if test -d /usr/nec ;then
17108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17109 soname_spec='$libname${shared_ext}.$major'
17110 shlibpath_var=LD_LIBRARY_PATH
17114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17115 version_type=freebsd-elf
17118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17119 soname_spec='${libname}${release}${shared_ext}$major'
17120 shlibpath_var=LD_LIBRARY_PATH
17121 shlibpath_overrides_runpath=yes
17122 hardcode_into_libs=yes
17123 if test "$with_gnu_ld" = yes; then
17124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17133 sys_lib_dlsearch_path_spec='/usr/lib'
17137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17142 shlibpath_var=LD_LIBRARY_PATH
17143 shlibpath_overrides_runpath=no
17144 hardcode_into_libs=yes
17149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17150 soname_spec='${libname}${release}${shared_ext}$major'
17151 shlibpath_var=LD_LIBRARY_PATH
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17159 $as_echo "$dynamic_linker" >&6; }
17160 test "$dynamic_linker" = no && can_build_shared=no
17162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17163 if test "$GCC" = yes; then
17164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17210 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17211 hardcode_action_CXX=
17212 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17213 test -n "$runpath_var_CXX" ||
17214 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17216 # We can hardcode non-existent directories.
17217 if test "$hardcode_direct_CXX" != no &&
17218 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17219 # have to relink, otherwise we might link with an installed library
17220 # when we should be linking with a yet-to-be-installed one
17221 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17222 test "$hardcode_minus_L_CXX" != no; then
17223 # Linking always hardcodes the temporary library directory.
17224 hardcode_action_CXX=relink
17226 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17227 hardcode_action_CXX=immediate
17230 # We cannot hardcode anything, or else we can only hardcode existing
17232 hardcode_action_CXX=unsupported
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17235 $as_echo "$hardcode_action_CXX" >&6; }
17237 if test "$hardcode_action_CXX" = relink ||
17238 test "$inherit_rpath_CXX" = yes; then
17239 # Fast installation is not supported
17240 enable_fast_install=no
17241 elif test "$shlibpath_overrides_runpath" = yes ||
17242 test "$enable_shared" = no; then
17243 # Fast installation is not necessary
17244 enable_fast_install=needless
17253 fi # test -n "$compiler"
17259 with_gnu_ld=$lt_save_with_gnu_ld
17260 lt_cv_path_LDCXX=$lt_cv_path_LD
17261 lt_cv_path_LD=$lt_save_path_LD
17262 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17263 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17264 fi # test "$_lt_caught_CXX_error" != yes
17267 ac_cpp='$CPP $CPPFLAGS'
17268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17275 if test "$GCC" = "yes" ; then
17276 # AC_HAVE_GCC_VERSION(4,0,0,0,
17278 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17279 # [Define to enable class visibility control in gcc.])
17280 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17281 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17283 CFLAGS="-Wall $GCC_CFLAGS"
17284 CXXFLAGS="-Wall $GCC_CXXFLAGS"
17287 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17288 # Also enables POSIX semantics for some functions.
17289 case "${host_cpu}-${host_os}" in
17291 CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
17292 CXXFLAGS="$CXXFLAGS -D_POSIX_PTHREAD_SEMANTICS"
17293 if test "$CXX" = "CC" ; then
17294 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17299 # Checks for typedefs, structures, and compiler characteristics.
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17301 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17302 if test "${ac_cv_c_const+set}" = set; then :
17303 $as_echo_n "(cached) " >&6
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17311 /* FIXME: Include the comments suggested by Paul. */
17312 #ifndef __cplusplus
17313 /* Ultrix mips cc rejects this. */
17314 typedef int charset[2];
17316 /* SunOS 4.1.1 cc rejects this. */
17317 char const *const *pcpcc;
17319 /* NEC SVR4.0.2 mips cc rejects this. */
17320 struct point {int x, y;};
17321 static struct point const zero = {0,0};
17322 /* AIX XL C 1.02.0.0 rejects this.
17323 It does not let you subtract one const X* pointer from another in
17324 an arm of an if-expression whose if-part is not a constant
17326 const char *g = "string";
17327 pcpcc = &g + (g ? g-g : 0);
17328 /* HPUX 7.0 cc rejects these. */
17330 ppc = (char**) pcpcc;
17331 pcpcc = (char const *const *) ppc;
17332 { /* SCO 3.2v4 cc rejects this. */
17334 char const *s = 0 ? (char *) 0 : (char const *) 0;
17339 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17340 int x[] = {25, 17};
17341 const int *foo = &x[0];
17344 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17345 typedef const int *iptr;
17349 { /* AIX XL C 1.02.0.0 rejects this saying
17350 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17351 struct s { int j; const int *ap[3]; };
17352 struct s *b; b->j = 5;
17354 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17355 const int foo = 10;
17356 if (!foo) return 0;
17358 return !cs[0] && !zero.x;
17365 if ac_fn_c_try_compile "$LINENO"; then :
17370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17373 $as_echo "$ac_cv_c_const" >&6; }
17374 if test $ac_cv_c_const = no; then
17376 $as_echo "#define const /**/" >>confdefs.h
17380 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17381 if test "x$ac_cv_type_size_t" = x""yes; then :
17385 cat >>confdefs.h <<_ACEOF
17386 #define size_t unsigned int
17391 # The cast to long int works around a bug in the HP C Compiler
17392 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17393 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17394 # This bug is HP SR number 8606223364.
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
17396 $as_echo_n "checking size of long... " >&6; }
17397 if test "${ac_cv_sizeof_long+set}" = set; then :
17398 $as_echo_n "(cached) " >&6
17400 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
17403 if test "$ac_cv_type_long" = yes; then
17404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17406 as_fn_error 77 "cannot compute sizeof (long)
17407 See \`config.log' for more details" "$LINENO" 5 ; }
17409 ac_cv_sizeof_long=0
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
17415 $as_echo "$ac_cv_sizeof_long" >&6; }
17419 cat >>confdefs.h <<_ACEOF
17420 #define SIZEOF_LONG $ac_cv_sizeof_long
17425 # Checks for library functions.
17426 for ac_func in strchr strdup strstr timegm gmtime_r strcasecmp
17428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17431 cat >>confdefs.h <<_ACEOF
17432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17438 for ac_header in dlfcn.h
17440 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
17441 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
17442 cat >>confdefs.h <<_ACEOF
17443 #define HAVE_DLFCN_H 1
17450 ac_fn_c_check_func "$LINENO" "dlclose" "ac_cv_func_dlclose"
17451 if test "x$ac_cv_func_dlclose" = x""yes; then :
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17455 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17456 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
17457 $as_echo_n "(cached) " >&6
17459 ac_check_lib_save_LIBS=$LIBS
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17464 /* Override any GCC internal prototype to avoid an error.
17465 Use char because int might match the return type of a GCC
17466 builtin and then its argument prototype would still apply. */
17479 if ac_fn_c_try_link "$LINENO"; then :
17480 ac_cv_lib_dl_dlopen=yes
17482 ac_cv_lib_dl_dlopen=no
17484 rm -f core conftest.err conftest.$ac_objext \
17485 conftest$ac_exeext conftest.$ac_ext
17486 LIBS=$ac_check_lib_save_LIBS
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17489 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17490 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
17491 cat >>confdefs.h <<_ACEOF
17492 #define HAVE_LIBDL 1
17502 # checks for pthreads
17506 ac_cpp='$CPP $CPPFLAGS'
17507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513 # We used to check for pthread.h first, but this fails if pthread.h
17514 # requires special compiler flags (e.g. on True64 or Sequent).
17515 # It gets checked for in the link test anyway.
17517 # First of all, check if the user has set any of the PTHREAD_LIBS,
17518 # etcetera environment variables, and if threads linking works using
17520 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17521 save_CFLAGS="$CFLAGS"
17522 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17524 LIBS="$PTHREAD_LIBS $LIBS"
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17526 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17530 /* Override any GCC internal prototype to avoid an error.
17531 Use char because int might match the return type of a GCC
17532 builtin and then its argument prototype would still apply. */
17536 char pthread_join ();
17540 return pthread_join ();
17545 if ac_fn_c_try_link "$LINENO"; then :
17548 rm -f core conftest.err conftest.$ac_objext \
17549 conftest$ac_exeext conftest.$ac_ext
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17551 $as_echo "$acx_pthread_ok" >&6; }
17552 if test x"$acx_pthread_ok" = xno; then
17557 CFLAGS="$save_CFLAGS"
17560 # We must check for the threads library under a number of different
17561 # names; the ordering is very important because some systems
17562 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17563 # libraries is broken (non-POSIX).
17565 # Create a list of thread flags to try. Items starting with a "-" are
17566 # C compiler flags, and other items are library names, except for "none"
17567 # which indicates that we try without any flags at all, and "pthread-config"
17568 # which is a program returning the flags for the Pth emulation library.
17570 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17572 # The ordering *is* (sometimes) important. Some notes on the
17573 # individual items follow:
17575 # pthreads: AIX (must check this before -lpthread)
17576 # none: in case threads are in libc; should be tried before -Kthread and
17577 # other compiler flags to prevent continual compiler warnings
17578 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17579 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17580 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17581 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17582 # -pthreads: Solaris/gcc
17583 # -mthreads: Mingw32/gcc, Lynx/gcc
17584 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17585 # doesn't hurt to check since this sometimes defines pthreads too;
17586 # also defines -D_REENTRANT)
17587 # ... -mt is also the pthreads flag for HP/aCC
17588 # pthread: Linux, etcetera
17589 # --thread-safe: KAI C++
17590 # pthread-config: use pthread-config program (for GNU Pth library)
17592 case "${host_cpu}-${host_os}" in
17595 # On Solaris (at least, for some versions), libc contains stubbed
17596 # (non-functional) versions of the pthreads routines, so link-based
17597 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17598 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17599 # a function called by this macro, so we could check for that, but
17600 # who knows whether they'll stub that too in a future libc.) So,
17601 # we'll just look for -pthreads and -lpthread first:
17603 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17607 if test x"$acx_pthread_ok" = xno; then
17608 for flag in $acx_pthread_flags; do
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17613 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17618 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17619 PTHREAD_CFLAGS="$flag"
17623 # Extract the first word of "pthread-config", so it can be a program name with args.
17624 set dummy pthread-config; ac_word=$2
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17626 $as_echo_n "checking for $ac_word... " >&6; }
17627 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
17628 $as_echo_n "(cached) " >&6
17630 if test -n "$acx_pthread_config"; then
17631 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17634 for as_dir in $PATH
17637 test -z "$as_dir" && as_dir=.
17638 for ac_exec_ext in '' $ac_executable_extensions; do
17639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17640 ac_cv_prog_acx_pthread_config="yes"
17641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17648 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17651 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17652 if test -n "$acx_pthread_config"; then
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17654 $as_echo "$acx_pthread_config" >&6; }
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17657 $as_echo "no" >&6; }
17661 if test x"$acx_pthread_config" = xno; then continue; fi
17662 PTHREAD_CFLAGS="`pthread-config --cflags`"
17663 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17668 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17669 PTHREAD_LIBS="-l$flag"
17674 save_CFLAGS="$CFLAGS"
17675 LIBS="$PTHREAD_LIBS $LIBS"
17676 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17678 # Check for various functions. We must include pthread.h,
17679 # since some functions may be macros. (On the Sequent, we
17680 # need a special flag -Kthread to make this header compile.)
17681 # We check for pthread_join because it is in -lpthread on IRIX
17682 # while pthread_create is in libc. We check for pthread_attr_init
17683 # due to DEC craziness with -lpthreads. We check for
17684 # pthread_cleanup_push because it is one of the few pthread
17685 # functions on Solaris that doesn't have a non-functional libc stub.
17686 # We try pthread_create on general principles.
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17689 #include <pthread.h>
17693 pthread_t th; pthread_join(th, 0);
17694 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17695 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17700 if ac_fn_c_try_link "$LINENO"; then :
17703 rm -f core conftest.err conftest.$ac_objext \
17704 conftest$ac_exeext conftest.$ac_ext
17707 CFLAGS="$save_CFLAGS"
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17710 $as_echo "$acx_pthread_ok" >&6; }
17711 if test "x$acx_pthread_ok" = xyes; then
17720 # Various other checks:
17721 if test "x$acx_pthread_ok" = xyes; then
17723 LIBS="$PTHREAD_LIBS $LIBS"
17724 save_CFLAGS="$CFLAGS"
17725 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17727 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17729 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17731 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 #include <pthread.h>
17738 int attr=$attr; return attr;
17743 if ac_fn_c_try_link "$LINENO"; then :
17744 attr_name=$attr; break
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17750 $as_echo "$attr_name" >&6; }
17751 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17753 cat >>confdefs.h <<_ACEOF
17754 #define PTHREAD_CREATE_JOINABLE $attr_name
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17760 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17762 case "${host_cpu}-${host_os}" in
17763 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
17764 *-osf* | *-hpux*) flag="-D_REENTRANT";;
17766 if test "$GCC" = "yes"; then
17767 flag="-D_REENTRANT"
17769 flag="-mt -D_REENTRANT"
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17774 $as_echo "${flag}" >&6; }
17775 if test "x$flag" != xno; then
17776 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17780 CFLAGS="$save_CFLAGS"
17782 # More AIX lossage: must compile with xlc_r or cc_r
17783 if test x"$GCC" != xyes; then
17784 for ac_prog in xlc_r cc_r
17786 # Extract the first word of "$ac_prog", so it can be a program name with args.
17787 set dummy $ac_prog; ac_word=$2
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17789 $as_echo_n "checking for $ac_word... " >&6; }
17790 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
17791 $as_echo_n "(cached) " >&6
17793 if test -n "$PTHREAD_CC"; then
17794 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17797 for as_dir in $PATH
17800 test -z "$as_dir" && as_dir=.
17801 for ac_exec_ext in '' $ac_executable_extensions; do
17802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17803 ac_cv_prog_PTHREAD_CC="$ac_prog"
17804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17813 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17814 if test -n "$PTHREAD_CC"; then
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17816 $as_echo "$PTHREAD_CC" >&6; }
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17819 $as_echo "no" >&6; }
17823 test -n "$PTHREAD_CC" && break
17825 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17838 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17839 if test x"$acx_pthread_ok" = xyes; then
17840 enable_threads="pthread"
17844 enable_threads="no"
17847 ac_cpp='$CPP $CPPFLAGS'
17848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17853 if test $enable_threads != "pthread"; then
17854 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
17857 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17859 if test "$enable_threads" = "pthread"; then
17860 BUILD_PTHREAD_TRUE=
17861 BUILD_PTHREAD_FALSE='#'
17863 BUILD_PTHREAD_TRUE='#'
17864 BUILD_PTHREAD_FALSE=
17867 LIBS="$PTHREAD_LIBS $LIBS"
17868 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
17869 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
17872 for ac_func in pthread_rwlock_init
17874 ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
17875 if test "x$ac_cv_func_pthread_rwlock_init" = x""yes; then :
17876 cat >>confdefs.h <<_ACEOF
17877 #define HAVE_PTHREAD_RWLOCK_INIT 1
17885 ac_cpp='$CXXCPP $CPPFLAGS'
17886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17893 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
17894 if test "${ac_cv_cxx_namespaces+set}" = set; then :
17895 $as_echo_n "(cached) " >&6
17899 ac_cpp='$CXXCPP $CPPFLAGS'
17900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17906 namespace Outer { namespace Inner { int i = 0; }}
17910 using namespace Outer::Inner; return i;
17915 if ac_fn_cxx_try_compile "$LINENO"; then :
17916 ac_cv_cxx_namespaces=yes
17918 ac_cv_cxx_namespaces=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_namespaces" >&5
17930 $as_echo "$ac_cv_cxx_namespaces" >&6; }
17931 if test "$ac_cv_cxx_namespaces" = yes; then
17933 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
17938 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
17939 if test "${ac_cv_cxx_have_stl+set}" = set; then :
17940 $as_echo_n "(cached) " >&6
17944 ac_cpp='$CXXCPP $CPPFLAGS'
17945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950 /* end confdefs.h. */
17953 #ifdef HAVE_NAMESPACES
17954 using namespace std;
17959 list<int> x; x.push_back(5);
17960 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
17965 if ac_fn_cxx_try_compile "$LINENO"; then :
17966 ac_cv_cxx_have_stl=yes
17968 ac_cv_cxx_have_stl=no
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 ac_cpp='$CXXCPP $CPPFLAGS'
17973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
17980 $as_echo "$ac_cv_cxx_have_stl" >&6; }
17981 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
17982 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
17988 echo "$as_me: this is boost.m4 serial 16" >&5
17989 boost_save_IFS=$IFS
17992 set x $boost_version_req 0 0 0
17993 IFS=$boost_save_IFS
17995 boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
17996 boost_version_req_string=$1.$2.$3
17998 # Check whether --with-boost was given.
17999 if test "${with_boost+set}" = set; then :
18000 withval=$with_boost;
18002 # If BOOST_ROOT is set and the user has not provided a value to
18003 # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
18004 if test x"$BOOST_ROOT" != x; then
18005 if test x"$with_boost" = x; then
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
18007 $as_echo "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
18008 with_boost=$BOOST_ROOT
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
18011 $as_echo "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
18014 DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
18015 boost_save_CPPFLAGS=$CPPFLAGS
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
18017 $as_echo_n "checking for Boost headers version >= $boost_version_req_string... " >&6; }
18018 if test "${boost_cv_inc_path+set}" = set; then :
18019 $as_echo_n "(cached) " >&6
18021 boost_cv_inc_path=no
18023 ac_cpp='$CXXCPP $CPPFLAGS'
18024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <boost/version.hpp>
18030 #if !defined BOOST_VERSION
18031 # error BOOST_VERSION is not defined
18032 #elif BOOST_VERSION < $boost_version_req
18033 # error Boost headers version < $boost_version_req
18044 # If the user provided a value to --with-boost, use it and only it.
18045 case $with_boost in #(
18046 ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
18047 /usr/include C:/Boost/include;; #(
18048 *) set x "$with_boost/include" "$with_boost";;
18053 # Without --layout=system, Boost (or at least some versions) installs
18054 # itself in <prefix>/include/boost-<version>. This inner loop helps to
18055 # find headers in such directories.
18057 # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
18058 # order followed by ${boost_dir}. The final '.' is a sentinel for
18059 # searching $boost_dir" itself. Entries are whitespace separated.
18061 # I didn't indent this loop on purpose (to avoid over-indented code)
18062 boost_layout_system_search_list=`cd "$boost_dir" 2>/dev/null \
18063 && ls -1 | "${GREP}" '^boost-' | sort -rn -t- -k2 \
18065 for boost_inc in $boost_layout_system_search_list
18067 if test x"$boost_inc" != x.; then
18068 boost_inc="$boost_dir/$boost_inc"
18070 boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
18072 if test x"$boost_inc" != x; then
18073 # We are going to check whether the version of Boost installed
18074 # in $boost_inc is usable by running a compilation that
18075 # #includes it. But if we pass a -I/some/path in which Boost
18076 # is not installed, the compiler will just skip this -I and
18077 # use other locations (either from CPPFLAGS, or from its list
18078 # of system include directories). As a result we would use
18079 # header installed on the machine instead of the /some/path
18080 # specified by the user. So in that precise case (trying
18081 # $boost_inc), make sure the version.hpp exists.
18083 # Use test -e as there can be symlinks.
18084 test -e "$boost_inc/boost/version.hpp" || continue
18085 CPPFLAGS="$CPPFLAGS -I$boost_inc"
18087 if ac_fn_cxx_try_compile "$LINENO"; then :
18088 boost_cv_inc_path=yes
18090 boost_cv_version=no
18092 rm -f core conftest.err conftest.$ac_objext
18093 if test x"$boost_cv_inc_path" = xyes; then
18094 if test x"$boost_inc" != x; then
18095 boost_cv_inc_path=$boost_inc
18102 ac_cpp='$CXXCPP $CPPFLAGS'
18103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
18109 $as_echo "$boost_cv_inc_path" >&6; }
18110 case $boost_cv_inc_path in #(
18112 boost_errmsg="cannot find Boost headers version >= $boost_version_req_string"
18113 as_fn_error $? "$boost_errmsg" "$LINENO" 5
18120 BOOST_CPPFLAGS="-I$boost_cv_inc_path"
18123 if test x"$boost_cv_inc_path" != xno; then
18125 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
18128 $as_echo_n "checking for Boost's header version... " >&6; }
18129 if test "${boost_cv_lib_version+set}" = set; then :
18130 $as_echo_n "(cached) " >&6
18132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18133 /* end confdefs.h. */
18134 #include <boost/version.hpp>
18135 boost_lib_version = BOOST_LIB_VERSION
18137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18139 $SED -n -e "/^boost_lib_version = /{s///;s/\"//g;p;q;}" >conftest.i 2>&1; then :
18140 boost_cv_lib_version=`cat conftest.i`
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
18146 $as_echo "$boost_cv_lib_version" >&6; }
18147 # e.g. "134" for 1_34_1 or "135" for 1_35
18148 boost_major_version=`echo "$boost_cv_lib_version" | $SED 's/_//;s/_.*//;s/ //'`
18149 case $boost_major_version in #(
18151 as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5
18155 CPPFLAGS=$boost_save_CPPFLAGS
18157 if test x"$boost_cv_inc_path" = xno; then
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/bind.hpp" >&5
18159 $as_echo "$as_me: Boost not available, not searching for boost/bind.hpp" >&6;}
18162 ac_cpp='$CXXCPP $CPPFLAGS'
18163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18166 boost_save_CPPFLAGS=$CPPFLAGS
18167 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18168 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/bind.hpp" "ac_cv_header_boost_bind_hpp" "$ac_includes_default"
18169 if test "x$ac_cv_header_boost_bind_hpp" = x""yes; then :
18171 $as_echo "#define HAVE_BOOST_BIND_HPP 1" >>confdefs.h
18174 as_fn_error $? "cannot find boost/bind.hpp" "$LINENO" 5
18178 CPPFLAGS=$boost_save_CPPFLAGS
18180 ac_cpp='$CXXCPP $CPPFLAGS'
18181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187 if test x"$boost_cv_inc_path" = xno; then
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/cast.hpp" >&5
18189 $as_echo "$as_me: Boost not available, not searching for boost/cast.hpp" >&6;}
18192 ac_cpp='$CXXCPP $CPPFLAGS'
18193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18196 boost_save_CPPFLAGS=$CPPFLAGS
18197 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18198 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/cast.hpp" "ac_cv_header_boost_cast_hpp" "$ac_includes_default"
18199 if test "x$ac_cv_header_boost_cast_hpp" = x""yes; then :
18201 $as_echo "#define HAVE_BOOST_CAST_HPP 1" >>confdefs.h
18204 as_fn_error $? "cannot find boost/cast.hpp" "$LINENO" 5
18208 CPPFLAGS=$boost_save_CPPFLAGS
18210 ac_cpp='$CXXCPP $CPPFLAGS'
18211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18216 if test x"$boost_cv_inc_path" = xno; then
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/lexical_cast.hpp" >&5
18218 $as_echo "$as_me: Boost not available, not searching for boost/lexical_cast.hpp" >&6;}
18221 ac_cpp='$CXXCPP $CPPFLAGS'
18222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18225 boost_save_CPPFLAGS=$CPPFLAGS
18226 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18227 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/lexical_cast.hpp" "ac_cv_header_boost_lexical_cast_hpp" "$ac_includes_default"
18228 if test "x$ac_cv_header_boost_lexical_cast_hpp" = x""yes; then :
18230 $as_echo "#define HAVE_BOOST_LEXICAL_CAST_HPP 1" >>confdefs.h
18233 as_fn_error $? "cannot find boost/lexical_cast.hpp" "$LINENO" 5
18237 CPPFLAGS=$boost_save_CPPFLAGS
18239 ac_cpp='$CXXCPP $CPPFLAGS'
18240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18247 if test x"$boost_cv_inc_path" = xno; then
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/lambda/lambda.hpp" >&5
18249 $as_echo "$as_me: Boost not available, not searching for boost/lambda/lambda.hpp" >&6;}
18252 ac_cpp='$CXXCPP $CPPFLAGS'
18253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18256 boost_save_CPPFLAGS=$CPPFLAGS
18257 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18258 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/lambda/lambda.hpp" "ac_cv_header_boost_lambda_lambda_hpp" "$ac_includes_default"
18259 if test "x$ac_cv_header_boost_lambda_lambda_hpp" = x""yes; then :
18261 $as_echo "#define HAVE_BOOST_LAMBDA_LAMBDA_HPP 1" >>confdefs.h
18264 as_fn_error $? "cannot find boost/lambda/lambda.hpp" "$LINENO" 5
18268 CPPFLAGS=$boost_save_CPPFLAGS
18270 ac_cpp='$CXXCPP $CPPFLAGS'
18271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18277 if test x"$boost_cv_inc_path" = xno; then
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/ptr_container/ptr_vector.hpp" >&5
18279 $as_echo "$as_me: Boost not available, not searching for boost/ptr_container/ptr_vector.hpp" >&6;}
18282 ac_cpp='$CXXCPP $CPPFLAGS'
18283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18286 boost_save_CPPFLAGS=$CPPFLAGS
18287 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18288 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/ptr_container/ptr_vector.hpp" "ac_cv_header_boost_ptr_container_ptr_vector_hpp" "$ac_includes_default"
18289 if test "x$ac_cv_header_boost_ptr_container_ptr_vector_hpp" = x""yes; then :
18291 $as_echo "#define HAVE_BOOST_PTR_CONTAINER_PTR_VECTOR_HPP 1" >>confdefs.h
18294 as_fn_error $? "cannot find boost/ptr_container/ptr_vector.hpp" "$LINENO" 5
18298 CPPFLAGS=$boost_save_CPPFLAGS
18300 ac_cpp='$CXXCPP $CPPFLAGS'
18301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18307 if test x"$boost_cv_inc_path" = xno; then
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/scoped_ptr.hpp" >&5
18309 $as_echo "$as_me: Boost not available, not searching for boost/scoped_ptr.hpp" >&6;}
18312 ac_cpp='$CXXCPP $CPPFLAGS'
18313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18316 boost_save_CPPFLAGS=$CPPFLAGS
18317 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18318 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/scoped_ptr.hpp" "ac_cv_header_boost_scoped_ptr_hpp" "$ac_includes_default"
18319 if test "x$ac_cv_header_boost_scoped_ptr_hpp" = x""yes; then :
18321 $as_echo "#define HAVE_BOOST_SCOPED_PTR_HPP 1" >>confdefs.h
18324 as_fn_error $? "cannot find boost/scoped_ptr.hpp" "$LINENO" 5
18328 CPPFLAGS=$boost_save_CPPFLAGS
18330 ac_cpp='$CXXCPP $CPPFLAGS'
18331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18336 if test x"$boost_cv_inc_path" = xno; then
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/shared_ptr.hpp" >&5
18338 $as_echo "$as_me: Boost not available, not searching for boost/shared_ptr.hpp" >&6;}
18341 ac_cpp='$CXXCPP $CPPFLAGS'
18342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18345 boost_save_CPPFLAGS=$CPPFLAGS
18346 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18347 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
18348 if test "x$ac_cv_header_boost_shared_ptr_hpp" = x""yes; then :
18350 $as_echo "#define HAVE_BOOST_SHARED_PTR_HPP 1" >>confdefs.h
18353 as_fn_error $? "cannot find boost/shared_ptr.hpp" "$LINENO" 5
18357 CPPFLAGS=$boost_save_CPPFLAGS
18359 ac_cpp='$CXXCPP $CPPFLAGS'
18360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18367 if test x"$boost_cv_inc_path" = xno; then
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/algorithm/string.hpp" >&5
18369 $as_echo "$as_me: Boost not available, not searching for boost/algorithm/string.hpp" >&6;}
18372 ac_cpp='$CXXCPP $CPPFLAGS'
18373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18376 boost_save_CPPFLAGS=$CPPFLAGS
18377 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18378 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/algorithm/string.hpp" "ac_cv_header_boost_algorithm_string_hpp" "$ac_includes_default"
18379 if test "x$ac_cv_header_boost_algorithm_string_hpp" = x""yes; then :
18381 $as_echo "#define HAVE_BOOST_ALGORITHM_STRING_HPP 1" >>confdefs.h
18384 as_fn_error $? "cannot find boost/algorithm/string.hpp" "$LINENO" 5
18388 CPPFLAGS=$boost_save_CPPFLAGS
18390 ac_cpp='$CXXCPP $CPPFLAGS'
18391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18398 if test x"$boost_cv_inc_path" = xno; then
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/tokenizer.hpp" >&5
18400 $as_echo "$as_me: Boost not available, not searching for boost/tokenizer.hpp" >&6;}
18403 ac_cpp='$CXXCPP $CPPFLAGS'
18404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18407 boost_save_CPPFLAGS=$CPPFLAGS
18408 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18409 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/tokenizer.hpp" "ac_cv_header_boost_tokenizer_hpp" "$ac_includes_default"
18410 if test "x$ac_cv_header_boost_tokenizer_hpp" = x""yes; then :
18412 $as_echo "#define HAVE_BOOST_TOKENIZER_HPP 1" >>confdefs.h
18415 as_fn_error $? "cannot find boost/tokenizer.hpp" "$LINENO" 5
18419 CPPFLAGS=$boost_save_CPPFLAGS
18421 ac_cpp='$CXXCPP $CPPFLAGS'
18422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18428 CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS"
18430 # are covariant methods allowed?
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18438 class base { public: virtual base *GetPtr( void ) { return this; } };
18439 class derived: virtual public base { public: virtual derived *GetPtr( void ) { return this; } };
18445 if ac_fn_cxx_try_link "$LINENO"; then :
18447 $as_echo "#define HAVE_COVARIANT_RETURNS 1" >>confdefs.h
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18453 # is nullptr supported?
18454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* end confdefs.h. */
18460 const char* ptr = nullptr;
18465 if ac_fn_cxx_try_compile "$LINENO"; then :
18467 $as_echo "#define HAVE_NULLPTR 1" >>confdefs.h
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18472 # log4shib settings (favor this version over the log4cpp code)
18473 # Extract the first word of "log4shib-config", so it can be a program name with args.
18474 set dummy log4shib-config; ac_word=$2
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18476 $as_echo_n "checking for $ac_word... " >&6; }
18477 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
18478 $as_echo_n "(cached) " >&6
18480 case $LOG4SHIB_CONFIG in
18482 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18486 for as_dir in $PATH
18489 test -z "$as_dir" && as_dir=.
18490 for ac_exec_ext in '' $ac_executable_extensions; do
18491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18492 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18503 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18504 if test -n "$LOG4SHIB_CONFIG"; then
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18506 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18509 $as_echo "no" >&6; }
18514 # Check whether --with-log4shib was given.
18515 if test "${with_log4shib+set}" = set; then :
18516 withval=$with_log4shib;
18517 LOG4SHIB_CONFIG="${with_log4shib}"
18518 if ! test -f "${LOG4SHIB_CONFIG}" ; then
18519 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18524 if test -f "${LOG4SHIB_CONFIG}" ; then
18525 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18526 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18527 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18528 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
18531 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #include <log4shib/Category.hh>
18538 #include <log4shib/CategoryStream.hh>
18542 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18547 if ac_fn_cxx_try_link "$LINENO"; then :
18549 $as_echo "#define XMLTOOLING_LOG4SHIB 1" >>confdefs.h
18552 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18554 rm -f core conftest.err conftest.$ac_objext \
18555 conftest$ac_exeext conftest.$ac_ext
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18558 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18560 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18563 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18564 set dummy log4cpp-config; ac_word=$2
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18566 $as_echo_n "checking for $ac_word... " >&6; }
18567 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18568 $as_echo_n "(cached) " >&6
18570 case $LOG4CPP_CONFIG in
18572 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18576 for as_dir in $PATH
18579 test -z "$as_dir" && as_dir=.
18580 for ac_exec_ext in '' $ac_executable_extensions; do
18581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18582 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18593 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18594 if test -n "$LOG4CPP_CONFIG"; then
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18596 $as_echo "$LOG4CPP_CONFIG" >&6; }
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18599 $as_echo "no" >&6; }
18604 # Check whether --with-log4cpp was given.
18605 if test "${with_log4cpp+set}" = set; then :
18606 withval=$with_log4cpp;
18607 LOG4CPP_CONFIG="${with_log4cpp}"
18608 if ! test -f "${LOG4CPP_CONFIG}" ; then
18609 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18614 if test -f "${LOG4CPP_CONFIG}"; then
18615 { $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
18616 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18617 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18618 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18619 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18620 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18623 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 #include <log4cpp/Category.hh>
18630 #include <log4cpp/CategoryStream.hh>
18634 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18639 if ac_fn_cxx_try_link "$LINENO"; then :
18641 $as_echo "#define XMLTOOLING_LOG4CPP 1" >>confdefs.h
18644 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18646 rm -f core conftest.err conftest.$ac_objext \
18647 conftest$ac_exeext conftest.$ac_ext
18649 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18655 # Check whether --with-xerces was given.
18656 if test "${with_xerces+set}" = set; then :
18657 withval=$with_xerces;
18662 if test x_$with_xerces != x_/usr; then
18663 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18664 LIBS="-L${with_xerces}/lib -lxerces-c $LIBS"
18666 LIBS="-lxerces-c $LIBS"
18669 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18670 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18673 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18678 $as_echo_n "checking Xerces version... " >&6; }
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #include <xercesc/util/XercesVersion.hpp>
18685 #if _XERCES_VERSION != 20600
18688 #error cannot use version 2.6.0
18694 if ac_fn_cxx_try_cpp "$LINENO"; then :
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18696 $as_echo "OK" >&6; }
18698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18700 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18701 See \`config.log' for more details" "$LINENO" 5 ; }
18703 rm -f conftest.err conftest.i conftest.$ac_ext
18704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h. */
18706 #include <xercesc/util/PlatformUtils.hpp>
18710 xercesc::XMLPlatformUtils::Initialize()
18715 if ac_fn_cxx_try_link "$LINENO"; then :
18718 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces is 64-bit clean" >&5
18724 $as_echo_n "checking whether Xerces is 64-bit clean... " >&6; }
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18727 #include <xercesc/framework/MemBufInputSource.hpp>
18731 using namespace XERCES_CPP_NAMESPACE; XMLFilePos testvar;
18736 if ac_fn_cxx_try_compile "$LINENO"; then :
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18738 $as_echo "yes" >&6; }
18739 $as_echo "#define XMLTOOLING_XERCESC_64BITSAFE 1" >>confdefs.h
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18743 $as_echo "no" >&6; }
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces BinInputStream requires getContentType" >&5
18748 $as_echo_n "checking whether Xerces BinInputStream requires getContentType... " >&6; }
18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18750 /* end confdefs.h. */
18751 #include <xercesc/util/BinMemInputStream.hpp>
18755 using namespace XERCES_CPP_NAMESPACE; XMLByte buf[1024]; BinMemInputStream in(buf,1024); in.getContentType();
18760 if ac_fn_cxx_try_compile "$LINENO"; then :
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18762 $as_echo "yes" >&6; }
18763 $as_echo "#define XMLTOOLING_XERCESC_INPUTSTREAM_HAS_CONTENTTYPE 1" >>confdefs.h
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18767 $as_echo "no" >&6; }
18769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMLS API is compliant" >&5
18772 $as_echo_n "checking whether Xerces DOMLS API is compliant... " >&6; }
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 #include <xercesc/dom/DOM.hpp>
18779 using namespace XERCES_CPP_NAMESPACE;
18780 DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(NULL);
18781 DOMLSSerializer *ls = ((DOMImplementationLS*)impl)->createLSSerializer();
18786 if ac_fn_cxx_try_compile "$LINENO"; then :
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18788 $as_echo "yes" >&6; }
18789 $as_echo "#define XMLTOOLING_XERCESC_COMPLIANT_DOMLS 1" >>confdefs.h
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18793 $as_echo "no" >&6; }
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces has setIdAttribute(XMLCh*, bool)" >&5
18798 $as_echo_n "checking whether Xerces has setIdAttribute(XMLCh*, bool)... " >&6; }
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 #include <xercesc/dom/DOM.hpp>
18805 using namespace XERCES_CPP_NAMESPACE; DOMElement * elt; elt->setIdAttribute(NULL, false);
18810 if ac_fn_cxx_try_compile "$LINENO"; then :
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18812 $as_echo "yes" >&6; }
18813 $as_echo "#define XMLTOOLING_XERCESC_BOOLSETIDATTRIBUTE 1" >>confdefs.h
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18817 $as_echo "no" >&6; }
18819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18822 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18824 /* end confdefs.h. */
18825 #include <xercesc/util/XMLString.hpp>
18829 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18834 if ac_fn_cxx_try_compile "$LINENO"; then :
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18836 $as_echo "yes" >&6; }
18837 $as_echo "#define XMLTOOLING_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18841 $as_echo "no" >&6; }
18843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845 # XML-Security settings
18847 # Check whether --with-xmlsec was given.
18848 if test "${with_xmlsec+set}" = set; then :
18849 withval=$with_xmlsec;
18855 if test x_$with_xmlsec != x_no; then
18857 # OpenSSL settings (need to do this first in case it's in a different spot from xmlsec)
18859 # Check whether --with-openssl was given.
18860 if test "${with_openssl+set}" = set; then :
18861 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18862 SSLFLAGS="-I${with_openssl}/include"
18863 SSLLIBS="-L${with_openssl}/lib -lcrypto -lssl"
18865 SSLLIBS="-lcrypto -lssl"
18870 if test "x$SSLLIBS" = "x" ; then
18871 # Extract the first word of "pkg-config", so it can be a program name with args.
18872 set dummy pkg-config; ac_word=$2
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18874 $as_echo_n "checking for $ac_word... " >&6; }
18875 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18876 $as_echo_n "(cached) " >&6
18878 case $PKG_CONFIG in
18880 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18884 for as_dir in $PATH
18887 test -z "$as_dir" && as_dir=.
18888 for ac_exec_ext in '' $ac_executable_extensions; do
18889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18890 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18901 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18902 if test -n "$PKG_CONFIG"; then
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18904 $as_echo "$PKG_CONFIG" >&6; }
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18907 $as_echo "no" >&6; }
18911 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18912 if pkg-config openssl ; then
18913 SSLLIBS="`$PKG_CONFIG --libs openssl`"
18914 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18917 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18922 if test "x$SSLLIBS" = "x" ; then
18923 SSLLIBS="-lcrypto -lssl"
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18927 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18929 $as_echo "$SSLFLAGS" >&6; }
18930 CPPFLAGS="$CPPFLAGS $SSLFLAGS"
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
18932 $as_echo_n "checking for OpenSSL libraries... " >&6; }
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLLIBS" >&5
18934 $as_echo "$SSLLIBS" >&6; }
18935 XMLSEC_LIBS="$XMLSEC_LIBS $SSLLIBS"
18937 # save and append master libs
18939 LIBS="$XMLSEC_LIBS $LIBS"
18941 ac_fn_cxx_check_header_mongrel "$LINENO" "openssl/pem.h" "ac_cv_header_openssl_pem_h" "$ac_includes_default"
18942 if test "x$ac_cv_header_openssl_pem_h" = x""yes; then :
18945 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_CRYPTO_string" >&5
18950 $as_echo_n "checking for ERR_load_CRYPTO_string... " >&6; }
18951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18952 /* end confdefs.h. */
18954 /* Override any GCC internal prototype to avoid an error.
18955 Use char because int might match the return type of a GCC
18956 builtin and then its argument prototype would still apply. */
18960 char ERR_load_CRYPTO_strings ();
18964 return ERR_load_CRYPTO_strings ();
18969 if ac_fn_cxx_try_link "$LINENO"; then :
18972 as_fn_error $? "unable to link with openssl libraries" "$LINENO" 5
18974 rm -f core conftest.err conftest.$ac_objext \
18975 conftest$ac_exeext conftest.$ac_ext
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18977 $as_echo "yes" >&6; }
18979 ac_fn_cxx_check_decl "$LINENO" "EVP_sha512" "ac_cv_have_decl_EVP_sha512" "#include <openssl/evp.h>
18981 if test "x$ac_cv_have_decl_EVP_sha512" = x""yes; then :
18983 $as_echo "#define XMLTOOLING_OPENSSL_HAVE_SHA2 1" >>confdefs.h
18987 ac_fn_cxx_check_decl "$LINENO" "EVP_PKEY_set1_EC_KEY" "ac_cv_have_decl_EVP_PKEY_set1_EC_KEY" "#include <openssl/evp.h>
18989 if test "x$ac_cv_have_decl_EVP_PKEY_set1_EC_KEY" = x""yes; then :
18991 $as_echo "#define XMLTOOLING_OPENSSL_HAVE_EC 1" >>confdefs.h
18996 # restore master libs
18999 if test x_$with_xmlsec != x_/usr; then
19000 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
19001 XMLSEC_LIBS="-L${with_xmlsec}/lib -lxml-security-c $XMLSEC_LIBS"
19003 XMLSEC_LIBS="-lxml-security-c $XMLSEC_LIBS"
19006 # save and append master libs
19008 LIBS="$XMLSEC_LIBS $LIBS"
19010 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
19011 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
19014 as_fn_error $? "unable to find XML-Security header files" "$LINENO" 5
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
19019 $as_echo_n "checking XML-Security version... " >&6; }
19020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19021 /* end confdefs.h. */
19022 #include <xsec/utils/XSECPlatformUtils.hpp>
19026 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
19029 #error need version 1.4.0 or later
19035 if ac_fn_cxx_try_cpp "$LINENO"; then :
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
19037 $as_echo "OK" >&6; }
19039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19041 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
19042 See \`config.log' for more details" "$LINENO" 5 ; }
19044 rm -f conftest.err conftest.i conftest.$ac_ext
19046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19048 #include <xsec/utils/XSECPlatformUtils.hpp>
19052 XSECPlatformUtils::Initialise()
19057 if ac_fn_cxx_try_link "$LINENO"; then :
19060 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
19062 rm -f core conftest.err conftest.$ac_objext \
19063 conftest$ac_exeext conftest.$ac_ext
19064 ac_fn_cxx_check_type "$LINENO" "xsecsize_t" "ac_cv_type_xsecsize_t" "$ac_includes_default"
19065 if test "x$ac_cv_type_xsecsize_t" = x""yes; then :
19067 $as_echo "#define HAVE_XSECSIZE_T 1" >>confdefs.h
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C has multiple CRL support" >&5
19073 $as_echo_n "checking whether XML-Security-C has multiple CRL support... " >&6; }
19074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19076 #include <xsec/dsig/DSIGKeyInfoX509.hpp>
19080 DSIGKeyInfoX509* klist; klist->getX509CRLListSize();
19085 if ac_fn_cxx_try_compile "$LINENO"; then :
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19087 $as_echo "yes" >&6; }
19088 $as_echo "#define XMLTOOLING_XMLSEC_MULTIPLECRL 1" >>confdefs.h
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19092 $as_echo "no" >&6; }
19094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C exposes the signature algorithm URI" >&5
19097 $as_echo_n "checking whether XML-Security-C exposes the signature algorithm URI... " >&6; }
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 #include <xsec/dsig/DSIGSignature.hpp>
19104 DSIGSignature* sig; sig->getAlgorithmURI();
19109 if ac_fn_cxx_try_compile "$LINENO"; then :
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19111 $as_echo "yes" >&6; }
19112 $as_echo "#define XMLTOOLING_XMLSEC_SIGALGORITHM 1" >>confdefs.h
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19116 $as_echo "no" >&6; }
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes ECC support" >&5
19121 $as_echo_n "checking whether XML-Security-C includes ECC support... " >&6; }
19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h. */
19124 #include <xsec/dsig/DSIGKeyInfoValue.hpp>
19128 DSIGKeyInfoValue* info; info->getECNamedCurve();
19133 if ac_fn_cxx_try_compile "$LINENO"; then :
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19135 $as_echo "yes" >&6; }
19136 $as_echo "#define XMLTOOLING_XMLSEC_ECC 1" >>confdefs.h
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19140 $as_echo "no" >&6; }
19142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes C14N 1.1 support" >&5
19145 $as_echo_n "checking whether XML-Security-C includes C14N 1.1 support... " >&6; }
19146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19148 #include <xsec/dsig/DSIGConstants.hpp>
19152 transformType t = TRANSFORM_C14N11;
19157 if ac_fn_cxx_try_compile "$LINENO"; then :
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19159 $as_echo "yes" >&6; }
19160 $as_echo "#define XMLTOOLING_XMLSEC_C14N11 1" >>confdefs.h
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19164 $as_echo "no" >&6; }
19166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes debug logging support" >&5
19169 $as_echo_n "checking whether XML-Security-C includes debug logging support... " >&6; }
19170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h. */
19172 #include <xsec/utils/XSECPlatformUtils.hpp>
19176 XSECPlatformUtils::SetReferenceLoggingSink(NULL)
19181 if ac_fn_cxx_try_compile "$LINENO"; then :
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19183 $as_echo "yes" >&6; }
19184 $as_echo "#define XMLTOOLING_XMLSEC_DEBUGLOGGING 1" >>confdefs.h
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19188 $as_echo "no" >&6; }
19190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192 # restore master libs
19196 # Extract the first word of "curl-config", so it can be a program name with args.
19197 set dummy curl-config; ac_word=$2
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19199 $as_echo_n "checking for $ac_word... " >&6; }
19200 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then :
19201 $as_echo_n "(cached) " >&6
19203 case $CURL_CONFIG in
19205 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
19208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19209 for as_dir in $PATH
19212 test -z "$as_dir" && as_dir=.
19213 for ac_exec_ext in '' $ac_executable_extensions; do
19214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19215 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19226 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
19227 if test -n "$CURL_CONFIG"; then
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5
19229 $as_echo "$CURL_CONFIG" >&6; }
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19232 $as_echo "no" >&6; }
19237 # Check whether --with-curl was given.
19238 if test "${with_curl+set}" = set; then :
19239 withval=$with_curl;
19240 CURL_CONFIG="${with_curl}"
19241 if ! test -f "${CURL_CONFIG}" ; then
19242 CURL_CONFIG="${with_curl}/bin/curl-config"
19247 if test -f "${CURL_CONFIG}" ; then
19248 CPPFLAGS="`${CURL_CONFIG} --cflags` $CPPFLAGS"
19249 XMLSEC_LIBS="`${CURL_CONFIG} --libs` $XMLSEC_LIBS"
19251 as_fn_error $? "curl-config not found, may need to use --with-curl option" "$LINENO" 5
19254 # save and append master libs
19256 LIBS="$XMLSEC_LIBS $LIBS"
19258 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
19259 if test "x$ac_cv_header_curl_curl_h" = x""yes; then :
19262 as_fn_error $? "unable to find libcurl header files" "$LINENO" 5
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 #include <curl/curl.h>
19272 curl_global_init(CURL_GLOBAL_ALL)
19277 if ac_fn_cxx_try_link "$LINENO"; then :
19280 as_fn_error $? "unable to link with libcurl" "$LINENO" 5
19282 rm -f core conftest.err conftest.$ac_objext \
19283 conftest$ac_exeext conftest.$ac_ext
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURLOPT_SSL_CTX_FUNCTION in curl.h" >&5
19285 $as_echo_n "checking for CURLOPT_SSL_CTX_FUNCTION in curl.h... " >&6; }
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 #include <curl/curl.h>
19291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19292 $EGREP "CURLOPT_SSL_CTX_FUNCTION" >/dev/null 2>&1; then :
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19294 $as_echo "yes" >&6; }
19296 as_fn_error $? "need libcurl that supports CURLOPT_SSL_CTX_FUNCTION" "$LINENO" 5
19300 ac_fn_cxx_check_type "$LINENO" "curl_off_t" "ac_cv_type_curl_off_t" "#include <curl/curl.h>
19302 if test "x$ac_cv_type_curl_off_t" = x""yes; then :
19304 $as_echo "#define HAVE_CURL_OFF_T 1" >>confdefs.h
19309 # restore master libs
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
19315 $as_echo "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
19317 $as_echo "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
19320 if test x_$with_xmlsec != x_no; then
19322 BUILD_XMLSEC_FALSE='#'
19324 BUILD_XMLSEC_TRUE='#'
19325 BUILD_XMLSEC_FALSE=
19329 # Does the STL in use help or screw us?
19330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19336 std::basic_string<unsigned short> foo; foo=foo+(unsigned short)65
19341 if ac_fn_cxx_try_link "$LINENO"; then :
19343 $as_echo "#define HAVE_GOOD_STL 1" >>confdefs.h
19346 rm -f core conftest.err conftest.$ac_objext \
19347 conftest$ac_exeext conftest.$ac_ext
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19354 std::iterator_traits<std::vector<int>::iterator>::value_type foo=0
19359 if ac_fn_cxx_try_link "$LINENO"; then :
19361 $as_echo "#define HAVE_ITERATOR_TRAITS 1" >>confdefs.h
19364 rm -f core conftest.err conftest.$ac_objext \
19365 conftest$ac_exeext conftest.$ac_ext
19367 # Check for unit test support
19368 CXXTEST="/usr/bin/cxxtestgen.pl"
19371 # Check whether --with-cxxtest was given.
19372 if test "${with_cxxtest+set}" = set; then :
19373 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
19374 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
19375 CXXTESTFLAGS="-I${with_cxxtest}"
19379 if ! test -f "${CXXTEST}"; then
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
19381 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
19386 if test -f ${CXXTEST}; then
19387 BUILD_UNITTEST_TRUE=
19388 BUILD_UNITTEST_FALSE='#'
19390 BUILD_UNITTEST_TRUE='#'
19391 BUILD_UNITTEST_FALSE=
19396 # we need the expanded forms...
19397 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
19401 $as_echo_n "checking our pkgconfig libname... " >&6; }
19402 test ".$ax_create_pkgconfig_libname" != "." || \
19403 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
19404 test ".$ax_create_pkgconfig_libname" != "." || \
19405 ax_create_pkgconfig_libname="$PACKAGE"
19406 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
19407 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
19409 $as_echo "$ax_create_pkgconfig_libname" >&6; }
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
19412 $as_echo_n "checking our pkgconfig version... " >&6; }
19413 test ".$ax_create_pkgconfig_version" != "." || \
19414 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
19415 test ".$ax_create_pkgconfig_version" != "." || \
19416 ax_create_pkgconfig_version="$VERSION"
19417 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
19418 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
19420 $as_echo "$ax_create_pkgconfig_version" >&6; }
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
19423 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
19424 test ".$pkgconfig_libdir" = "." && \
19425 pkgconfig_libdir='${libdir}/pkgconfig'
19426 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
19427 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
19428 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
19430 $as_echo "$pkgconfig_libdir" >&6; }
19431 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
19433 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
19437 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
19438 test ".$pkgconfig_libfile" != "." || \
19439 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
19440 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
19441 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
19443 $as_echo "$pkgconfig_libfile" >&6; }
19444 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
19446 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
19450 $as_echo_n "checking our package / suffix... " >&6; }
19451 ax_create_pkgconfig_suffix="$program_suffix"
19452 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
19454 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19457 $as_echo_n "checking our pkgconfig description... " >&6; }
19458 ax_create_pkgconfig_description="OpenSAML XMLTooling-C library"
19459 test ".$ax_create_pkgconfig_description" != "." || \
19460 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19461 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19462 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19464 $as_echo "$ax_create_pkgconfig_description" >&6; }
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19467 $as_echo_n "checking our pkgconfig requires... " >&6; }
19468 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19469 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19470 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19472 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19475 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19476 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19477 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19478 ax_create_pkgconfig_libs="$XMLSEC_LIBS -lxmltooling"
19479 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19480 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19482 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19485 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19486 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19487 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19488 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19490 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19493 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19494 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19495 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19496 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19498 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19500 test ".$ax_create_pkgconfig_generate" != "." || \
19501 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19502 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19503 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19504 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19506 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19508 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19509 ax_create_pkgconfig_src_libdir=`pwd`
19510 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19511 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19512 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19513 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19514 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19515 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19520 /^X\(\/\/\)[^/].*/{
19533 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19534 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19536 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19538 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19541 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19542 ax_create_pkgconfig_src_headers=`pwd`
19543 v="$ac_top_srcdir" ;
19544 test ".$v" != "." || v="$ax_spec_dir"
19545 test ".$v" != "." || v="$srcdir"
19546 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19547 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19548 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19549 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19550 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19551 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19552 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19557 /^X\(\/\/\)[^/].*/{
19570 test ! -d $ax_create_pkgconfig_src_headers/include || \
19571 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19573 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19577 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19580 LIBTOOL="$LIBTOOL --silent"
19582 # output packaging and makefiles
19583 cat >confcache <<\_ACEOF
19584 # This file is a shell script that caches the results of configure
19585 # tests run on this system so they can be shared between configure
19586 # scripts and configure runs, see configure's option --config-cache.
19587 # It is not useful on other systems. If it contains results you don't
19588 # want to keep, you may remove or edit it.
19590 # config.status only pays attention to the cache file if you give it
19591 # the --recheck option to rerun configure.
19593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19595 # following values.
19599 # The following way of writing the cache mishandles newlines in values,
19600 # but we know of no workaround that is simple, portable, and efficient.
19601 # So, we kill variables containing newlines.
19602 # Ultrix sh set writes to stderr and can't be redirected directly,
19603 # and sets the high bit in the cache file unless we assign to the vars.
19605 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19606 eval ac_val=\$$ac_var
19610 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19614 _ | IFS | as_nl) ;; #(
19615 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19616 *) { eval $ac_var=; unset $ac_var;} ;;
19622 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19623 *${as_nl}ac_space=\ *)
19624 # `set' does not quote correctly, so add quotes: double-quote
19625 # substitution turns \\\\ into \\, and sed turns \\ into \.
19628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19631 # `set' quotes correctly as required by POSIX, so do not add quotes.
19632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19643 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19645 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19646 if test -w "$cache_file"; then
19647 test "x$cache_file" != "x/dev/null" &&
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19649 $as_echo "$as_me: updating cache $cache_file" >&6;}
19650 cat confcache >$cache_file
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19653 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19658 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19659 # Let make expand exec_prefix.
19660 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19662 DEFS=-DHAVE_CONFIG_H
19667 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19668 # 1. Remove the extension, and $U if already installed.
19669 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19670 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19671 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19672 # will be set to the directory where LIBOBJS objects are built.
19673 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19674 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19676 LIBOBJS=$ac_libobjs
19678 LTLIBOBJS=$ac_ltlibobjs
19681 if test -n "$EXEEXT"; then
19683 am__EXEEXT_FALSE='#'
19685 am__EXEEXT_TRUE='#'
19689 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19690 as_fn_error $? "conditional \"AMDEP\" was never defined.
19691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19693 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19694 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19697 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19698 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19701 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19702 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19705 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19706 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19709 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19710 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19713 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19714 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19717 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19718 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19721 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19722 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19725 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19726 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19729 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19730 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19733 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19734 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19737 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19738 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19741 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19742 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19745 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19746 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19749 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19750 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19753 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19754 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19757 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19758 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19761 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19762 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19765 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19766 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19769 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19770 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19773 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19774 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19777 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19778 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19781 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19782 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19785 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19786 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19789 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19790 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19793 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19794 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19797 if test -z "${BUILD_PTHREAD_TRUE}" && test -z "${BUILD_PTHREAD_FALSE}"; then
19798 as_fn_error $? "conditional \"BUILD_PTHREAD\" was never defined.
19799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19801 if test -z "${BUILD_XMLSEC_TRUE}" && test -z "${BUILD_XMLSEC_FALSE}"; then
19802 as_fn_error $? "conditional \"BUILD_XMLSEC\" was never defined.
19803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19805 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19806 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19810 : ${CONFIG_STATUS=./config.status}
19812 ac_clean_files_save=$ac_clean_files
19813 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19815 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19817 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19819 # Generated by $as_me.
19820 # Run this file to recreate the current configuration.
19821 # Compiler output produced by configure, useful for debugging
19822 # configure, is in config.log if it exists.
19825 ac_cs_recheck=false
19828 SHELL=\${CONFIG_SHELL-$SHELL}
19831 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19832 ## -------------------- ##
19833 ## M4sh Initialization. ##
19834 ## -------------------- ##
19836 # Be more Bourne compatible
19837 DUALCASE=1; export DUALCASE # for MKS sh
19838 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19841 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19842 # is contrary to our usage. Disable this feature.
19843 alias -g '${1+"$@"}'='"$@"'
19844 setopt NO_GLOB_SUBST
19846 case `(set -o) 2>/dev/null` in #(
19858 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19859 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19860 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19861 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19862 # Prefer a ksh shell builtin over an external printf program on Solaris,
19863 # but without wasting forks for bash or zsh.
19864 if test -z "$BASH_VERSION$ZSH_VERSION" \
19865 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19866 as_echo='print -r --'
19867 as_echo_n='print -rn --'
19868 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19869 as_echo='printf %s\n'
19870 as_echo_n='printf %s'
19872 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19873 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19874 as_echo_n='/usr/ucb/echo -n'
19876 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19877 as_echo_n_body='eval
19881 expr "X$arg" : "X\\(.*\\)$as_nl";
19882 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19884 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19886 export as_echo_n_body
19887 as_echo_n='sh -c $as_echo_n_body as_echo'
19889 export as_echo_body
19890 as_echo='sh -c $as_echo_body as_echo'
19893 # The user is always right.
19894 if test "${PATH_SEPARATOR+set}" != set; then
19896 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19897 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19904 # We need space, tab and new line, in precisely that order. Quoting is
19905 # there to prevent editors from complaining about space-tab.
19906 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19907 # splitting by setting IFS to empty value.)
19910 # Find who we are. Look in the path if we contain no directory separator.
19912 *[\\/]* ) as_myself=$0 ;;
19913 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19914 for as_dir in $PATH
19917 test -z "$as_dir" && as_dir=.
19918 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19924 # We did not find ourselves, most probably we were run as `sh COMMAND'
19925 # in which case we are not to be found in the path.
19926 if test "x$as_myself" = x; then
19929 if test ! -f "$as_myself"; then
19930 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19934 # Unset variables that we do not need and which cause bugs (e.g. in
19935 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19936 # suppresses any "Segmentation fault" message there. '((' could
19937 # trigger a bug in pdksh 5.2.14.
19938 for as_var in BASH_ENV ENV MAIL MAILPATH
19939 do eval test x\${$as_var+set} = xset \
19940 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19953 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19956 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19957 # ----------------------------------------
19958 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19959 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19960 # script with STATUS, using 1 if that was 0.
19963 as_status=$1; test $as_status -eq 0 && as_status=1
19965 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19966 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19968 $as_echo "$as_me: error: $2" >&2
19969 as_fn_exit $as_status
19973 # as_fn_set_status STATUS
19974 # -----------------------
19975 # Set $? to STATUS, without forking.
19976 as_fn_set_status ()
19979 } # as_fn_set_status
19981 # as_fn_exit STATUS
19982 # -----------------
19983 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19987 as_fn_set_status $1
19993 # Portably unset VAR.
19996 { eval $1=; unset $1;}
19998 as_unset=as_fn_unset
19999 # as_fn_append VAR VALUE
20000 # ----------------------
20001 # Append the text in VALUE to the end of the definition contained in VAR. Take
20002 # advantage of any shell optimizations that allow amortized linear growth over
20003 # repeated appends, instead of the typical quadratic growth present in naive
20005 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20006 eval 'as_fn_append ()
20017 # as_fn_arith ARG...
20018 # ------------------
20019 # Perform arithmetic evaluation on the ARGs, and store the result in the
20020 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20021 # must be portable across $(()) and expr.
20022 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20023 eval 'as_fn_arith ()
20030 as_val=`expr "$@" || test $? -eq 1`
20035 if expr a : '\(a\)' >/dev/null 2>&1 &&
20036 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20042 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20043 as_basename=basename
20048 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20054 as_me=`$as_basename -- "$0" ||
20055 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20056 X"$0" : 'X\(//\)$' \| \
20057 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20059 sed '/^.*\/\([^/][^/]*\)\/*$/{
20073 # Avoid depending upon Character Ranges.
20074 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20075 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20076 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20077 as_cr_digits='0123456789'
20078 as_cr_alnum=$as_cr_Letters$as_cr_digits
20080 ECHO_C= ECHO_N= ECHO_T=
20081 case `echo -n x` in #(((((
20083 case `echo 'xy\c'` in
20084 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20086 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20093 rm -f conf$$ conf$$.exe conf$$.file
20094 if test -d conf$$.dir; then
20095 rm -f conf$$.dir/conf$$.file
20098 mkdir conf$$.dir 2>/dev/null
20100 if (echo >conf$$.file) 2>/dev/null; then
20101 if ln -s conf$$.file conf$$ 2>/dev/null; then
20103 # ... but there are two gotchas:
20104 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20105 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20106 # In both cases, we have to default to `cp -p'.
20107 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20109 elif ln conf$$.file conf$$ 2>/dev/null; then
20117 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20118 rmdir conf$$.dir 2>/dev/null
20123 # Create "$as_dir" as a directory, including parents if necessary.
20128 -*) as_dir=./$as_dir;;
20130 test -d "$as_dir" || eval $as_mkdir_p || {
20134 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20135 *) as_qdir=$as_dir;;
20137 as_dirs="'$as_qdir' $as_dirs"
20138 as_dir=`$as_dirname -- "$as_dir" ||
20139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20140 X"$as_dir" : 'X\(//\)[^/]' \| \
20141 X"$as_dir" : 'X\(//\)$' \| \
20142 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20143 $as_echo X"$as_dir" |
20144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20148 /^X\(\/\/\)[^/].*/{
20161 test -d "$as_dir" && break
20163 test -z "$as_dirs" || eval "mkdir $as_dirs"
20164 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20168 if mkdir -p . 2>/dev/null; then
20169 as_mkdir_p='mkdir -p "$as_dir"'
20171 test -d ./-p && rmdir ./-p
20175 if test -x / >/dev/null 2>&1; then
20176 as_test_x='test -x'
20178 if ls -dL / >/dev/null 2>&1; then
20185 if test -d "$1"; then
20191 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20192 ???[sx]*):;;*)false;;esac;fi
20196 as_executable_p=$as_test_x
20198 # Sed expression to map a string onto a valid CPP name.
20199 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20201 # Sed expression to map a string onto a valid variable name.
20202 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20206 ## ----------------------------------- ##
20207 ## Main body of $CONFIG_STATUS script. ##
20208 ## ----------------------------------- ##
20210 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20213 # Save the log message, to keep $0 and so on meaningful, and to
20214 # report actual input values of CONFIG_FILES etc. instead of their
20215 # values after options handling.
20217 This file was extended by xmltooling $as_me 1.5.1, which was
20218 generated by GNU Autoconf 2.67. Invocation command line was
20220 CONFIG_FILES = $CONFIG_FILES
20221 CONFIG_HEADERS = $CONFIG_HEADERS
20222 CONFIG_LINKS = $CONFIG_LINKS
20223 CONFIG_COMMANDS = $CONFIG_COMMANDS
20226 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20231 case $ac_config_files in *"
20232 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20235 case $ac_config_headers in *"
20236 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20241 # Files that config.status was made for.
20242 config_files="$ac_config_files"
20243 config_headers="$ac_config_headers"
20244 config_commands="$ac_config_commands"
20248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20250 \`$as_me' instantiates files and other configuration actions
20251 from templates according to the current configuration. Unless the files
20252 and actions are specified as TAGs, all are instantiated by default.
20254 Usage: $0 [OPTION]... [TAG]...
20256 -h, --help print this help, then exit
20257 -V, --version print version number and configuration settings, then exit
20258 --config print configuration, then exit
20259 -q, --quiet, --silent
20260 do not print progress messages
20261 -d, --debug don't remove temporary files
20262 --recheck update $as_me by reconfiguring in the same conditions
20263 --file=FILE[:TEMPLATE]
20264 instantiate the configuration file FILE
20265 --header=FILE[:TEMPLATE]
20266 instantiate the configuration header FILE
20268 Configuration files:
20271 Configuration headers:
20274 Configuration commands:
20277 Report bugs to <https://issues.shibboleth.net/>."
20280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20281 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20283 xmltooling config.status 1.5.1
20284 configured by $0, generated by GNU Autoconf 2.67,
20285 with options \\"\$ac_cs_config\\"
20287 Copyright (C) 2010 Free Software Foundation, Inc.
20288 This config.status script is free software; the Free Software Foundation
20289 gives unlimited permission to copy, distribute and modify it."
20296 test -n "\$AWK" || AWK=awk
20299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20300 # The default lists apply if the user does not specify any file.
20306 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20307 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20311 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20323 # Handling of the options.
20324 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20326 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20327 $as_echo "$ac_cs_version"; exit ;;
20328 --config | --confi | --conf | --con | --co | --c )
20329 $as_echo "$ac_cs_config"; exit ;;
20330 --debug | --debu | --deb | --de | --d | -d )
20332 --file | --fil | --fi | --f )
20335 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20336 '') as_fn_error $? "missing file argument" ;;
20338 as_fn_append CONFIG_FILES " '$ac_optarg'"
20339 ac_need_defaults=false;;
20340 --header | --heade | --head | --hea )
20343 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20345 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20346 ac_need_defaults=false;;
20348 # Conflict between --help and --header
20349 as_fn_error $? "ambiguous option: \`$1'
20350 Try \`$0 --help' for more information.";;
20351 --help | --hel | -h )
20352 $as_echo "$ac_cs_usage"; exit ;;
20353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20354 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20357 # This is an error.
20358 -*) as_fn_error $? "unrecognized option: \`$1'
20359 Try \`$0 --help' for more information." ;;
20361 *) as_fn_append ac_config_targets " $1"
20362 ac_need_defaults=false ;;
20368 ac_configure_extra_args=
20370 if $ac_cs_silent; then
20372 ac_configure_extra_args="$ac_configure_extra_args --silent"
20376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20377 if \$ac_cs_recheck; then
20378 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20380 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20381 CONFIG_SHELL='$SHELL'
20382 export CONFIG_SHELL
20387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20391 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20392 ## Running $as_me. ##
20398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20402 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20405 # The HP-UX ksh and POSIX shell print the target directory to stdout
20406 # if CDPATH is set.
20407 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20409 sed_quote_subst='$sed_quote_subst'
20410 double_quote_subst='$double_quote_subst'
20411 delay_variable_subst='$delay_variable_subst'
20412 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20413 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20414 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20415 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20416 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20417 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20418 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20419 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20420 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20421 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20422 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20423 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20424 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20425 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20426 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20427 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20428 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20429 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20430 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20431 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20432 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20433 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20434 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20435 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20436 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20437 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20438 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20439 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20440 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20441 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20442 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20443 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20444 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20445 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20446 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20447 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20448 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20449 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20450 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20451 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20452 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20453 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20454 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20455 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20456 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"`'
20457 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"`'
20458 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20459 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20460 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20461 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20462 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20463 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20464 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20465 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20466 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20467 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20468 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20469 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20470 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20471 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20472 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20473 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20474 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20475 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20476 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20477 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20478 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20479 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20480 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20481 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20482 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20483 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20484 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20485 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20486 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20487 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20488 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20489 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20490 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20491 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20492 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20493 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20494 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20495 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20496 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20497 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20498 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20499 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20500 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20501 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20502 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20503 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20504 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20505 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20506 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20507 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20508 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20509 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20510 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20511 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20512 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20513 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20514 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20515 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20516 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20517 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20518 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20519 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20520 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20521 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20522 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20523 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20524 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20525 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20526 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20527 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20528 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20529 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20530 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20531 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20532 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20533 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20534 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20535 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20536 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20537 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20538 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20539 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20540 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20541 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20542 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20543 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20544 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20545 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20546 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20547 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20548 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20549 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20550 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20551 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20552 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20553 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20554 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20555 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20556 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20557 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20558 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20559 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20560 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20561 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20562 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20563 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20564 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20565 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20566 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20567 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20568 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20569 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20570 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20571 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20572 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20573 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20574 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20575 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20576 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20577 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20578 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20579 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20580 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20581 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20582 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20585 LTCFLAGS='$LTCFLAGS'
20586 compiler='$compiler_DEFAULT'
20588 # Quote evaled strings.
20600 deplibs_check_method \
20609 lt_cv_sys_global_symbol_pipe \
20610 lt_cv_sys_global_symbol_to_cdecl \
20611 lt_cv_sys_global_symbol_to_c_name_address \
20612 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20615 lt_prog_compiler_no_builtin_flag \
20616 lt_prog_compiler_wl \
20617 lt_prog_compiler_pic \
20618 lt_prog_compiler_static \
20619 lt_cv_prog_compiler_c_o \
20627 export_dynamic_flag_spec \
20628 whole_archive_flag_spec \
20629 compiler_needs_object \
20631 allow_undefined_flag \
20632 no_undefined_flag \
20633 hardcode_libdir_flag_spec \
20634 hardcode_libdir_flag_spec_ld \
20635 hardcode_libdir_separator \
20640 variables_saved_for_relink \
20642 library_names_spec \
20647 compiler_lib_search_dirs \
20652 compiler_lib_search_path \
20655 lt_prog_compiler_no_builtin_flag_CXX \
20656 lt_prog_compiler_wl_CXX \
20657 lt_prog_compiler_pic_CXX \
20658 lt_prog_compiler_static_CXX \
20659 lt_cv_prog_compiler_c_o_CXX \
20660 export_dynamic_flag_spec_CXX \
20661 whole_archive_flag_spec_CXX \
20662 compiler_needs_object_CXX \
20664 allow_undefined_flag_CXX \
20665 no_undefined_flag_CXX \
20666 hardcode_libdir_flag_spec_CXX \
20667 hardcode_libdir_flag_spec_ld_CXX \
20668 hardcode_libdir_separator_CXX \
20669 fix_srcfile_path_CXX \
20670 exclude_expsyms_CXX \
20671 include_expsyms_CXX \
20672 file_list_spec_CXX \
20673 compiler_lib_search_dirs_CXX \
20674 predep_objects_CXX \
20675 postdep_objects_CXX \
20678 compiler_lib_search_path_CXX; do
20679 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20680 *[\\\\\\\`\\"\\\$]*)
20681 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20684 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20689 # Double-quote double-evaled strings.
20690 for var in reload_cmds \
20691 old_postinstall_cmds \
20692 old_postuninstall_cmds \
20694 extract_expsyms_cmds \
20695 old_archive_from_new_cmds \
20696 old_archive_from_expsyms_cmds \
20698 archive_expsym_cmds \
20700 module_expsym_cmds \
20701 export_symbols_cmds \
20704 postuninstall_cmds \
20706 sys_lib_search_path_spec \
20707 sys_lib_dlsearch_path_spec \
20708 old_archive_cmds_CXX \
20709 old_archive_from_new_cmds_CXX \
20710 old_archive_from_expsyms_cmds_CXX \
20712 archive_expsym_cmds_CXX \
20714 module_expsym_cmds_CXX \
20715 export_symbols_cmds_CXX \
20716 prelink_cmds_CXX; do
20717 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20718 *[\\\\\\\`\\"\\\$]*)
20719 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20722 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20727 # Fix-up fallback echo if it was mangled by the above quoting rules.
20729 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20733 ac_aux_dir='$ac_aux_dir'
20734 xsi_shell='$xsi_shell'
20735 lt_shell_append='$lt_shell_append'
20737 # See if we are running on zsh, and set the options which allow our
20738 # commands through without removal of \ escapes INIT.
20739 if test -n "\${ZSH_VERSION+set}" ; then
20740 setopt NO_GLOB_SUBST
20746 TIMESTAMP='$TIMESTAMP'
20755 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20756 pkgconfig_prefix='$prefix'
20757 pkgconfig_execprefix='$exec_prefix'
20758 pkgconfig_bindir='$bindir'
20759 pkgconfig_libdir='$libdir'
20760 pkgconfig_includedir='$includedir'
20761 pkgconfig_datarootdir='$datarootdir'
20762 pkgconfig_datadir='$datadir'
20763 pkgconfig_sysconfdir='$sysconfdir'
20764 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20765 pkgconfig_package='$PACKAGE_NAME'
20766 pkgconfig_libname='$ax_create_pkgconfig_libname'
20767 pkgconfig_description='$ax_create_pkgconfig_description'
20768 pkgconfig_version='$ax_create_pkgconfig_version'
20769 pkgconfig_requires='$ax_create_pkgconfig_requires'
20770 pkgconfig_libs='$ax_create_pkgconfig_libs'
20771 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20772 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20773 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20774 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20781 # Handling of arguments.
20782 for ac_config_target in $ac_config_targets
20784 case $ac_config_target in
20785 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20786 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20787 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20788 "xmltooling/config_pub.h") CONFIG_HEADERS="$CONFIG_HEADERS xmltooling/config_pub.h" ;;
20789 "xmltooling.spec") CONFIG_FILES="$CONFIG_FILES xmltooling.spec" ;;
20790 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20791 "xmltooling/Makefile") CONFIG_FILES="$CONFIG_FILES xmltooling/Makefile" ;;
20792 "xmltoolingtest/Makefile") CONFIG_FILES="$CONFIG_FILES xmltoolingtest/Makefile" ;;
20793 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20794 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20795 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20797 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20802 # If the user did not use the arguments to specify the items to instantiate,
20803 # then the envvar interface is used. Set only those that are not.
20804 # We use the long form for the default assignment because of an extremely
20805 # bizarre bug on SunOS 4.1.3.
20806 if $ac_need_defaults; then
20807 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20808 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20809 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20812 # Have a temporary directory for convenience. Make it in the build tree
20813 # simply because there is no reason against having it here, and in addition,
20814 # creating and moving files from /tmp can sometimes cause problems.
20815 # Hook for its removal unless debugging.
20816 # Note that there is a small window in which the directory will not be cleaned:
20817 # after its creation but before its name has been assigned to `$tmp'.
20821 trap 'exit_status=$?
20822 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20824 trap 'as_fn_exit 1' 1 2 13 15
20826 # Create a (secure) tmp directory for tmp files.
20829 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20830 test -n "$tmp" && test -d "$tmp"
20833 tmp=./conf$$-$RANDOM
20834 (umask 077 && mkdir "$tmp")
20835 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20837 # Set up the scripts for CONFIG_FILES section.
20838 # No need to generate them if there are no CONFIG_FILES.
20839 # This happens for instance with `./config.status config.h'.
20840 if test -n "$CONFIG_FILES"; then
20843 ac_cr=`echo X | tr X '\015'`
20844 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20845 # But we know of no other shell where ac_cr would be empty at this
20846 # point, so we can use a bashism as a fallback.
20847 if test "x$ac_cr" = x; then
20848 eval ac_cr=\$\'\\r\'
20850 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20851 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20854 ac_cs_awk_cr=$ac_cr
20857 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20862 echo "cat >conf$$subs.awk <<_ACEOF" &&
20863 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20865 } >conf$$subs.sh ||
20866 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20867 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20869 for ac_last_try in false false false false false :; do
20870 . ./conf$$subs.sh ||
20871 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20873 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20874 if test $ac_delim_n = $ac_delim_num; then
20876 elif $ac_last_try; then
20877 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20879 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20882 rm -f conf$$subs.sh
20884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20885 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
20889 s/^/S["/; s/!.*/"]=/
20899 s/\(.\{148\}\)..*/\1/
20901 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20906 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20913 s/\(.\{148\}\)..*/\1/
20915 s/["\\]/\\&/g; s/^/"/; s/$/"/
20919 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20924 ' <conf$$subs.awk | sed '
20929 ' >>$CONFIG_STATUS || ac_write_fail=1
20930 rm -f conf$$subs.awk
20931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20933 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
20934 for (key in S) S_is_set[key] = 1
20940 nfields = split(line, field, "@")
20942 len = length(field[1])
20943 for (i = 2; i < nfields; i++) {
20945 keylen = length(key)
20946 if (S_is_set[key]) {
20948 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20949 len += length(value) + length(field[++i])
20960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20961 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20962 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20965 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20966 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20969 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20970 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20971 # trailing colons and then remove the whole line if VPATH becomes empty
20972 # (actually we leave an empty line to preserve line numbers).
20973 if test "x$srcdir" = x.; then
20974 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20993 fi # test -n "$CONFIG_FILES"
20995 # Set up the scripts for CONFIG_HEADERS section.
20996 # No need to generate them if there are no CONFIG_HEADERS.
20997 # This happens for instance with `./config.status Makefile'.
20998 if test -n "$CONFIG_HEADERS"; then
20999 cat >"$tmp/defines.awk" <<\_ACAWK ||
21003 # Transform confdefs.h into an awk script `defines.awk', embedded as
21004 # here-document in config.status, that substitutes the proper values into
21005 # config.h.in to produce config.h.
21007 # Create a delimiter string that does not exist in confdefs.h, to ease
21008 # handling of long lines.
21010 for ac_last_try in false false :; do
21011 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
21012 if test -z "$ac_t"; then
21014 elif $ac_last_try; then
21015 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21017 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21021 # For the awk script, D is an array of macro values keyed by name,
21022 # likewise P contains macro parameters if any. Preserve backslash
21023 # newline sequences.
21025 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21027 s/.\{148\}/&'"$ac_delim"'/g
21030 s/^[ ]*#[ ]*define[ ][ ]*/ /
21037 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21039 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21043 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21044 D["\1"]=" \3\\\\\\n"\\/p
21046 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21051 s/.\{148\}/&'"$ac_delim"'/g
21056 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21059 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21061 ' <confdefs.h | sed '
21062 s/'"$ac_delim"'/"\\\
21063 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21066 for (key in D) D_is_set[key] = 1
21069 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21071 split(line, arg, " ")
21072 if (arg[1] == "#") {
21076 defundef = substr(arg[1], 2)
21079 split(mac1, mac2, "(") #)
21081 prefix = substr(line, 1, index(line, defundef) - 1)
21082 if (D_is_set[macro]) {
21083 # Preserve the white space surrounding the "#".
21084 print prefix "define", macro P[macro] D[macro]
21087 # Replace #undef with comments. This is necessary, for example,
21088 # in the case of _POSIX_SOURCE, which is predefined and required
21089 # on some systems where configure will not decide to define it.
21090 if (defundef == "undef") {
21091 print "/*", prefix defundef, macro, "*/"
21099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21100 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21101 fi # test -n "$CONFIG_HEADERS"
21104 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21109 :[FHLC]) ac_mode=$ac_tag; continue;;
21111 case $ac_mode$ac_tag in
21113 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
21114 :[FH]-) ac_tag=-:-;;
21115 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21132 -) ac_f="$tmp/stdin";;
21133 *) # Look for the file first in the build tree, then in the source tree
21134 # (if the path is not absolute). The absolute path cannot be DOS-style,
21135 # because $ac_f cannot contain `:'.
21139 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21141 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
21143 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21144 as_fn_append ac_file_inputs " '$ac_f'"
21147 # Let's still pretend it is `configure' which instantiates (i.e., don't
21148 # use $as_me), people would be surprised to read:
21149 # /* config.h. Generated by config.status. */
21150 configure_input='Generated from '`
21151 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21153 if test x"$ac_file" != x-; then
21154 configure_input="$ac_file. $configure_input"
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21156 $as_echo "$as_me: creating $ac_file" >&6;}
21158 # Neutralize special characters interpreted by sed in replacement strings.
21159 case $configure_input in #(
21160 *\&* | *\|* | *\\* )
21161 ac_sed_conf_input=`$as_echo "$configure_input" |
21162 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21163 *) ac_sed_conf_input=$configure_input;;
21167 *:-:* | *:-) cat >"$tmp/stdin" \
21168 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21173 ac_dir=`$as_dirname -- "$ac_file" ||
21174 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21175 X"$ac_file" : 'X\(//\)[^/]' \| \
21176 X"$ac_file" : 'X\(//\)$' \| \
21177 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21178 $as_echo X"$ac_file" |
21179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21183 /^X\(\/\/\)[^/].*/{
21196 as_dir="$ac_dir"; as_fn_mkdir_p
21200 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21203 # A ".." for each directory in $ac_dir_suffix.
21204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21205 case $ac_top_builddir_sub in
21206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21210 ac_abs_top_builddir=$ac_pwd
21211 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21212 # for backward compatibility:
21213 ac_top_builddir=$ac_top_build_prefix
21216 .) # We are building in place.
21218 ac_top_srcdir=$ac_top_builddir_sub
21219 ac_abs_top_srcdir=$ac_pwd ;;
21220 [\\/]* | ?:[\\/]* ) # Absolute name.
21221 ac_srcdir=$srcdir$ac_dir_suffix;
21222 ac_top_srcdir=$srcdir
21223 ac_abs_top_srcdir=$srcdir ;;
21224 *) # Relative name.
21225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21226 ac_top_srcdir=$ac_top_build_prefix$srcdir
21227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21229 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21242 ac_MKDIR_P=$MKDIR_P
21244 [\\/$]* | ?:[\\/]* ) ;;
21245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21250 # If the template does not know about datarootdir, expand it.
21251 # FIXME: This hack should be removed a few years after 2.60.
21252 ac_datarootdir_hack=; ac_datarootdir_seen=
21263 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21264 *datarootdir*) ac_datarootdir_seen=yes;;
21265 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21267 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21270 ac_datarootdir_hack='
21271 s&@datadir@&$datadir&g
21272 s&@docdir@&$docdir&g
21273 s&@infodir@&$infodir&g
21274 s&@localedir@&$localedir&g
21275 s&@mandir@&$mandir&g
21276 s&\\\${datarootdir}&$datarootdir&g' ;;
21280 # Neutralize VPATH when `$srcdir' = `.'.
21281 # Shell code in configure.ac might set extrasub.
21282 # FIXME: do we really want to maintain this feature?
21283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21284 ac_sed_extra="$ac_vpsub
21287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21290 s|@configure_input@|$ac_sed_conf_input|;t t
21291 s&@top_builddir@&$ac_top_builddir_sub&;t t
21292 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21293 s&@srcdir@&$ac_srcdir&;t t
21294 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21295 s&@top_srcdir@&$ac_top_srcdir&;t t
21296 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21297 s&@builddir@&$ac_builddir&;t t
21298 s&@abs_builddir@&$ac_abs_builddir&;t t
21299 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21300 s&@INSTALL@&$ac_INSTALL&;t t
21301 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21302 $ac_datarootdir_hack
21304 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
21305 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21307 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21308 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21309 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21311 which seems to be undefined. Please make sure it is defined" >&5
21312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21313 which seems to be undefined. Please make sure it is defined" >&2;}
21317 -) cat "$tmp/out" && rm -f "$tmp/out";;
21318 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21326 if test x"$ac_file" != x-; then
21328 $as_echo "/* $configure_input */" \
21329 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21330 } >"$tmp/config.h" \
21331 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21332 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21334 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21337 mv "$tmp/config.h" "$ac_file" \
21338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21341 $as_echo "/* $configure_input */" \
21342 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
21343 || as_fn_error $? "could not create -" "$LINENO" 5
21345 # Compute "$ac_file"'s index in $config_headers.
21348 for _am_header in $config_headers :; do
21349 case $_am_header in
21350 $_am_arg | $_am_arg:* )
21353 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21356 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21357 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21358 X"$_am_arg" : 'X\(//\)[^/]' \| \
21359 X"$_am_arg" : 'X\(//\)$' \| \
21360 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21361 $as_echo X"$_am_arg" |
21362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21366 /^X\(\/\/\)[^/].*/{
21378 s/.*/./; q'`/stamp-h$_am_stamp_count
21381 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21382 $as_echo "$as_me: executing $ac_file commands" >&6;}
21387 case $ac_file$ac_mode in
21388 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21389 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21390 # are listed without --file. Let's play safe and only enable the eval
21391 # if we detect the quoting.
21392 case $CONFIG_FILES in
21393 *\'*) eval set x "$CONFIG_FILES" ;;
21394 *) set x $CONFIG_FILES ;;
21399 # Strip MF so we end up with the name of the file.
21400 mf=`echo "$mf" | sed -e 's/:.*$//'`
21401 # Check whether this is an Automake generated Makefile or not.
21402 # We used to match only the files named `Makefile.in', but
21403 # some people rename them; so instead we look at the file content.
21404 # Grep'ing the first line is not enough: some people post-process
21405 # each Makefile.in and add a new line on top of each file to say so.
21406 # Grep'ing the whole file is not good either: AIX grep has a line
21407 # limit of 2048, but all sed's we know have understand at least 4000.
21408 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21409 dirpart=`$as_dirname -- "$mf" ||
21410 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21411 X"$mf" : 'X\(//\)[^/]' \| \
21412 X"$mf" : 'X\(//\)$' \| \
21413 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21419 /^X\(\/\/\)[^/].*/{
21435 # Extract the definition of DEPDIR, am__include, and am__quote
21436 # from the Makefile without running `make'.
21437 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21438 test -z "$DEPDIR" && continue
21439 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21440 test -z "am__include" && continue
21441 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21442 # When using ansi2knr, U may be empty or an underscore; expand it
21443 U=`sed -n 's/^U = //p' < "$mf"`
21444 # Find all dependency output files, they are included files with
21445 # $(DEPDIR) in their names. We invoke sed twice because it is the
21446 # simplest approach to changing $(DEPDIR) to its actual value in the
21448 for file in `sed -n "
21449 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21450 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21451 # Make sure the directory exists.
21452 test -f "$dirpart/$file" && continue
21453 fdir=`$as_dirname -- "$file" ||
21454 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21455 X"$file" : 'X\(//\)[^/]' \| \
21456 X"$file" : 'X\(//\)$' \| \
21457 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21458 $as_echo X"$file" |
21459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21463 /^X\(\/\/\)[^/].*/{
21476 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21477 # echo "creating $dirpart/$file"
21478 echo '# dummy' > "$dirpart/$file"
21485 # See if we are running on zsh, and set the options which allow our
21486 # commands through without removal of \ escapes.
21487 if test -n "${ZSH_VERSION+set}" ; then
21488 setopt NO_GLOB_SUBST
21491 cfgfile="${ofile}T"
21492 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21495 cat <<_LT_EOF >> "$cfgfile"
21498 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21499 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21500 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21501 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21503 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21504 # 2006, 2007, 2008 Free Software Foundation, Inc.
21505 # Written by Gordon Matzigkeit, 1996
21507 # This file is part of GNU Libtool.
21509 # GNU Libtool is free software; you can redistribute it and/or
21510 # modify it under the terms of the GNU General Public License as
21511 # published by the Free Software Foundation; either version 2 of
21512 # the License, or (at your option) any later version.
21514 # As a special exception to the GNU General Public License,
21515 # if you distribute this file as part of a program or library that
21516 # is built using GNU Libtool, you may include this file under the
21517 # same distribution terms that you use for the rest of that program.
21519 # GNU Libtool is distributed in the hope that it will be useful,
21520 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21521 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21522 # GNU General Public License for more details.
21524 # You should have received a copy of the GNU General Public License
21525 # along with GNU Libtool; see the file COPYING. If not, a copy
21526 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21527 # obtained by writing to the Free Software Foundation, Inc.,
21528 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21531 # The names of the tagged configurations supported by this script.
21532 available_tags="CXX "
21534 # ### BEGIN LIBTOOL CONFIG
21536 # Whether or not to build static libraries.
21537 build_old_libs=$enable_static
21539 # Which release of libtool.m4 was used?
21540 macro_version=$macro_version
21541 macro_revision=$macro_revision
21543 # Whether or not to build shared libraries.
21544 build_libtool_libs=$enable_shared
21546 # What type of objects to build.
21549 # Whether or not to optimize for fast installation.
21550 fast_install=$enable_fast_install
21553 host_alias=$host_alias
21557 # The build system.
21558 build_alias=$build_alias
21562 # A sed program that does not truncate output.
21565 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21566 Xsed="\$SED -e 1s/^X//"
21568 # A grep program that handles long lines.
21574 # A literal string matcher.
21577 # A BSD- or MS-compatible name lister.
21580 # Whether we need soft or hard links.
21583 # What is the maximum length of a command?
21584 max_cmd_len=$max_cmd_len
21586 # Object file suffix (normally "o").
21589 # Executable file suffix (normally "").
21592 # whether the shell understands "unset".
21595 # turn spaces into newlines.
21598 # turn newlines into spaces.
21601 # How to create reloadable object files.
21602 reload_flag=$lt_reload_flag
21603 reload_cmds=$lt_reload_cmds
21605 # An object symbol dumper.
21606 OBJDUMP=$lt_OBJDUMP
21608 # Method to check whether dependent libraries are shared objects.
21609 deplibs_check_method=$lt_deplibs_check_method
21611 # Command to use when deplibs_check_method == "file_magic".
21612 file_magic_cmd=$lt_file_magic_cmd
21616 AR_FLAGS=$lt_AR_FLAGS
21618 # A symbol stripping program.
21621 # Commands used to install an old-style archive.
21623 old_postinstall_cmds=$lt_old_postinstall_cmds
21624 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21629 # LTCC compiler flags.
21630 LTCFLAGS=$lt_CFLAGS
21632 # Take the output of nm and produce a listing of raw symbols and C names.
21633 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21635 # Transform the output of nm in a proper C declaration.
21636 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21638 # Transform the output of nm in a C name address pair.
21639 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21641 # Transform the output of nm in a C name address pair when lib prefix is needed.
21642 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21644 # The name of the directory that contains temporary libtool files.
21647 # Shell to use when invoking shell scripts.
21650 # An echo program that does not interpret backslashes.
21653 # Used to examine libraries when file_magic_cmd begins with "file".
21654 MAGIC_CMD=$MAGIC_CMD
21656 # Must we lock files when doing compilation?
21657 need_locks=$lt_need_locks
21659 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21660 DSYMUTIL=$lt_DSYMUTIL
21662 # Tool to change global to local symbols on Mac OS X.
21665 # Tool to manipulate fat objects and archives on Mac OS X.
21668 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21671 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21672 OTOOL64=$lt_OTOOL64
21674 # Old archive suffix (normally "a").
21677 # Shared library suffix (normally ".so").
21678 shrext_cmds=$lt_shrext_cmds
21680 # The commands to extract the exported symbol list from a shared archive.
21681 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21683 # Variables whose values should be saved in libtool wrapper scripts and
21684 # restored at link time.
21685 variables_saved_for_relink=$lt_variables_saved_for_relink
21687 # Do we need the "lib" prefix for modules?
21688 need_lib_prefix=$need_lib_prefix
21690 # Do we need a version for libraries?
21691 need_version=$need_version
21693 # Library versioning type.
21694 version_type=$version_type
21696 # Shared library runtime path variable.
21697 runpath_var=$runpath_var
21699 # Shared library path variable.
21700 shlibpath_var=$shlibpath_var
21702 # Is shlibpath searched before the hard-coded library search path?
21703 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21705 # Format of library name prefix.
21706 libname_spec=$lt_libname_spec
21708 # List of archive names. First name is the real one, the rest are links.
21709 # The last name is the one that the linker finds with -lNAME
21710 library_names_spec=$lt_library_names_spec
21712 # The coded name of the library, if different from the real name.
21713 soname_spec=$lt_soname_spec
21715 # Command to use after installation of a shared archive.
21716 postinstall_cmds=$lt_postinstall_cmds
21718 # Command to use after uninstallation of a shared archive.
21719 postuninstall_cmds=$lt_postuninstall_cmds
21721 # Commands used to finish a libtool library installation in a directory.
21722 finish_cmds=$lt_finish_cmds
21724 # As "finish_cmds", except a single script fragment to be evaled but
21726 finish_eval=$lt_finish_eval
21728 # Whether we should hardcode library paths into libraries.
21729 hardcode_into_libs=$hardcode_into_libs
21731 # Compile-time system search path for libraries.
21732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21734 # Run-time system search path for libraries.
21735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21737 # Whether dlopen is supported.
21738 dlopen_support=$enable_dlopen
21740 # Whether dlopen of programs is supported.
21741 dlopen_self=$enable_dlopen_self
21743 # Whether dlopen of statically linked programs is supported.
21744 dlopen_self_static=$enable_dlopen_self_static
21746 # Commands to strip libraries.
21747 old_striplib=$lt_old_striplib
21748 striplib=$lt_striplib
21751 # The linker used to build libraries.
21754 # Commands used to build an old-style archive.
21755 old_archive_cmds=$lt_old_archive_cmds
21757 # A language specific compiler.
21760 # Is the compiler the GNU compiler?
21763 # Compiler flag to turn off builtin functions.
21764 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21766 # How to pass a linker flag through the compiler.
21767 wl=$lt_lt_prog_compiler_wl
21769 # Additional compiler flags for building library objects.
21770 pic_flag=$lt_lt_prog_compiler_pic
21772 # Compiler flag to prevent dynamic linking.
21773 link_static_flag=$lt_lt_prog_compiler_static
21775 # Does compiler simultaneously support -c and -o options?
21776 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21778 # Whether or not to add -lc for building shared libraries.
21779 build_libtool_need_lc=$archive_cmds_need_lc
21781 # Whether or not to disallow shared libs when runtime libs are static.
21782 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21784 # Compiler flag to allow reflexive dlopens.
21785 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21787 # Compiler flag to generate shared objects directly from archives.
21788 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21790 # Whether the compiler copes with passing no objects directly.
21791 compiler_needs_object=$lt_compiler_needs_object
21793 # Create an old-style archive from a shared archive.
21794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21796 # Create a temporary old-style archive to link instead of a shared archive.
21797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21799 # Commands used to build a shared archive.
21800 archive_cmds=$lt_archive_cmds
21801 archive_expsym_cmds=$lt_archive_expsym_cmds
21803 # Commands used to build a loadable module if different from building
21804 # a shared archive.
21805 module_cmds=$lt_module_cmds
21806 module_expsym_cmds=$lt_module_expsym_cmds
21808 # Whether we are building with GNU ld or not.
21809 with_gnu_ld=$lt_with_gnu_ld
21811 # Flag that allows shared libraries with undefined symbols to be built.
21812 allow_undefined_flag=$lt_allow_undefined_flag
21814 # Flag that enforces no undefined symbols.
21815 no_undefined_flag=$lt_no_undefined_flag
21817 # Flag to hardcode \$libdir into a binary during linking.
21818 # This must work even if \$libdir does not exist
21819 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21821 # If ld is used when linking, flag to hardcode \$libdir into a binary
21822 # during linking. This must work even if \$libdir does not exist.
21823 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21825 # Whether we need a single "-rpath" flag with a separated argument.
21826 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21829 # DIR into the resulting binary.
21830 hardcode_direct=$hardcode_direct
21832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21833 # DIR into the resulting binary and the resulting library dependency is
21834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21835 # library is relocated.
21836 hardcode_direct_absolute=$hardcode_direct_absolute
21838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21839 # into the resulting binary.
21840 hardcode_minus_L=$hardcode_minus_L
21842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21843 # into the resulting binary.
21844 hardcode_shlibpath_var=$hardcode_shlibpath_var
21846 # Set to "yes" if building a shared library automatically hardcodes DIR
21847 # into the library and all subsequent libraries and executables linked
21849 hardcode_automatic=$hardcode_automatic
21851 # Set to yes if linker adds runtime paths of dependent libraries
21852 # to runtime path list.
21853 inherit_rpath=$inherit_rpath
21855 # Whether libtool must link a program against all its dependency libraries.
21856 link_all_deplibs=$link_all_deplibs
21858 # Fix the shell variable \$srcfile for the compiler.
21859 fix_srcfile_path=$lt_fix_srcfile_path
21861 # Set to "yes" if exported symbols are required.
21862 always_export_symbols=$always_export_symbols
21864 # The commands to list exported symbols.
21865 export_symbols_cmds=$lt_export_symbols_cmds
21867 # Symbols that should not be listed in the preloaded symbols.
21868 exclude_expsyms=$lt_exclude_expsyms
21870 # Symbols that must always be exported.
21871 include_expsyms=$lt_include_expsyms
21873 # Commands necessary for linking programs (against libraries) with templates.
21874 prelink_cmds=$lt_prelink_cmds
21876 # Specify filename containing input files.
21877 file_list_spec=$lt_file_list_spec
21879 # How to hardcode a shared library path into an executable.
21880 hardcode_action=$hardcode_action
21882 # The directories searched by this compiler when creating a shared library.
21883 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21885 # Dependencies to place before and after the objects being linked to
21886 # create a shared library.
21887 predep_objects=$lt_predep_objects
21888 postdep_objects=$lt_postdep_objects
21889 predeps=$lt_predeps
21890 postdeps=$lt_postdeps
21892 # The library search path used internally by the compiler when linking
21893 # a shared library.
21894 compiler_lib_search_path=$lt_compiler_lib_search_path
21896 # ### END LIBTOOL CONFIG
21902 cat <<\_LT_EOF >> "$cfgfile"
21903 # AIX sometimes has problems with the GCC collect2 program. For some
21904 # reason, if we set the COLLECT_NAMES environment variable, the problems
21905 # vanish in a puff of smoke.
21906 if test "X${COLLECT_NAMES+set}" != Xset; then
21908 export COLLECT_NAMES
21915 ltmain="$ac_aux_dir/ltmain.sh"
21918 # We use sed instead of cat because bash on DJGPP gets confused if
21919 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21920 # text mode, it properly converts lines to CR/LF. This bash problem
21921 # is reportedly fixed, but why not run on old versions too?
21922 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21923 || (rm -f "$cfgfile"; exit 1)
21927 cat << \_LT_EOF >> "$cfgfile"
21929 # func_dirname file append nondir_replacement
21930 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21931 # otherwise set result to NONDIR_REPLACEMENT.
21935 */*) func_dirname_result="${1%/*}${2}" ;;
21936 * ) func_dirname_result="${3}" ;;
21940 # func_basename file
21943 func_basename_result="${1##*/}"
21946 # func_dirname_and_basename file append nondir_replacement
21947 # perform func_basename and func_dirname in a single function
21949 # dirname: Compute the dirname of FILE. If nonempty,
21950 # add APPEND to the result, otherwise set result
21951 # to NONDIR_REPLACEMENT.
21952 # value returned in "$func_dirname_result"
21953 # basename: Compute filename of FILE.
21954 # value retuned in "$func_basename_result"
21955 # Implementation must be kept synchronized with func_dirname
21956 # and func_basename. For efficiency, we do not delegate to
21957 # those functions but instead duplicate the functionality here.
21958 func_dirname_and_basename ()
21961 */*) func_dirname_result="${1%/*}${2}" ;;
21962 * ) func_dirname_result="${3}" ;;
21964 func_basename_result="${1##*/}"
21967 # func_stripname prefix suffix name
21968 # strip PREFIX and SUFFIX off of NAME.
21969 # PREFIX and SUFFIX must not contain globbing or regex special
21970 # characters, hashes, percent signs, but SUFFIX may contain a leading
21971 # dot (in which case that matches only a dot).
21974 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21975 # positional parameters, so assign one to ordinary parameter first.
21976 func_stripname_result=${3}
21977 func_stripname_result=${func_stripname_result#"${1}"}
21978 func_stripname_result=${func_stripname_result%"${2}"}
21984 func_opt_split_opt=${1%%=*}
21985 func_opt_split_arg=${1#*=}
21992 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21993 *) func_lo2o_result=${1} ;;
21997 # func_xform libobj-or-source
22000 func_xform_result=${1%.*}.lo
22003 # func_arith arithmetic-term...
22006 func_arith_result=$(( $* ))
22010 # STRING may not start with a hyphen.
22013 func_len_result=${#1}
22018 *) # Bourne compatible functions.
22019 cat << \_LT_EOF >> "$cfgfile"
22021 # func_dirname file append nondir_replacement
22022 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22023 # otherwise set result to NONDIR_REPLACEMENT.
22026 # Extract subdirectory from the argument.
22027 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22028 if test "X$func_dirname_result" = "X${1}"; then
22029 func_dirname_result="${3}"
22031 func_dirname_result="$func_dirname_result${2}"
22035 # func_basename file
22038 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
22042 # func_stripname prefix suffix name
22043 # strip PREFIX and SUFFIX off of NAME.
22044 # PREFIX and SUFFIX must not contain globbing or regex special
22045 # characters, hashes, percent signs, but SUFFIX may contain a leading
22046 # dot (in which case that matches only a dot).
22047 # func_strip_suffix prefix name
22051 .*) func_stripname_result=`$ECHO "X${3}" \
22052 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22053 *) func_stripname_result=`$ECHO "X${3}" \
22054 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22059 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
22060 my_sed_long_arg='1s/^-[^=]*=//'
22065 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22066 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22072 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22075 # func_xform libobj-or-source
22078 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22081 # func_arith arithmetic-term...
22084 func_arith_result=`expr "$@"`
22088 # STRING may not start with a hyphen.
22091 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22097 case $lt_shell_append in
22099 cat << \_LT_EOF >> "$cfgfile"
22101 # func_append var value
22102 # Append VALUE to the end of shell variable VAR.
22110 cat << \_LT_EOF >> "$cfgfile"
22112 # func_append var value
22113 # Append VALUE to the end of shell variable VAR.
22124 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22125 || (rm -f "$cfgfile"; exit 1)
22127 mv -f "$cfgfile" "$ofile" ||
22128 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22132 cat <<_LT_EOF >> "$ofile"
22134 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22136 # The linker used to build libraries.
22139 # Commands used to build an old-style archive.
22140 old_archive_cmds=$lt_old_archive_cmds_CXX
22142 # A language specific compiler.
22143 CC=$lt_compiler_CXX
22145 # Is the compiler the GNU compiler?
22148 # Compiler flag to turn off builtin functions.
22149 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22151 # How to pass a linker flag through the compiler.
22152 wl=$lt_lt_prog_compiler_wl_CXX
22154 # Additional compiler flags for building library objects.
22155 pic_flag=$lt_lt_prog_compiler_pic_CXX
22157 # Compiler flag to prevent dynamic linking.
22158 link_static_flag=$lt_lt_prog_compiler_static_CXX
22160 # Does compiler simultaneously support -c and -o options?
22161 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22163 # Whether or not to add -lc for building shared libraries.
22164 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22166 # Whether or not to disallow shared libs when runtime libs are static.
22167 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22169 # Compiler flag to allow reflexive dlopens.
22170 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22172 # Compiler flag to generate shared objects directly from archives.
22173 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22175 # Whether the compiler copes with passing no objects directly.
22176 compiler_needs_object=$lt_compiler_needs_object_CXX
22178 # Create an old-style archive from a shared archive.
22179 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22181 # Create a temporary old-style archive to link instead of a shared archive.
22182 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22184 # Commands used to build a shared archive.
22185 archive_cmds=$lt_archive_cmds_CXX
22186 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22188 # Commands used to build a loadable module if different from building
22189 # a shared archive.
22190 module_cmds=$lt_module_cmds_CXX
22191 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22193 # Whether we are building with GNU ld or not.
22194 with_gnu_ld=$lt_with_gnu_ld_CXX
22196 # Flag that allows shared libraries with undefined symbols to be built.
22197 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22199 # Flag that enforces no undefined symbols.
22200 no_undefined_flag=$lt_no_undefined_flag_CXX
22202 # Flag to hardcode \$libdir into a binary during linking.
22203 # This must work even if \$libdir does not exist
22204 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22206 # If ld is used when linking, flag to hardcode \$libdir into a binary
22207 # during linking. This must work even if \$libdir does not exist.
22208 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22210 # Whether we need a single "-rpath" flag with a separated argument.
22211 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22213 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22214 # DIR into the resulting binary.
22215 hardcode_direct=$hardcode_direct_CXX
22217 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22218 # DIR into the resulting binary and the resulting library dependency is
22219 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22220 # library is relocated.
22221 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22223 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22224 # into the resulting binary.
22225 hardcode_minus_L=$hardcode_minus_L_CXX
22227 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22228 # into the resulting binary.
22229 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22231 # Set to "yes" if building a shared library automatically hardcodes DIR
22232 # into the library and all subsequent libraries and executables linked
22234 hardcode_automatic=$hardcode_automatic_CXX
22236 # Set to yes if linker adds runtime paths of dependent libraries
22237 # to runtime path list.
22238 inherit_rpath=$inherit_rpath_CXX
22240 # Whether libtool must link a program against all its dependency libraries.
22241 link_all_deplibs=$link_all_deplibs_CXX
22243 # Fix the shell variable \$srcfile for the compiler.
22244 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22246 # Set to "yes" if exported symbols are required.
22247 always_export_symbols=$always_export_symbols_CXX
22249 # The commands to list exported symbols.
22250 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22252 # Symbols that should not be listed in the preloaded symbols.
22253 exclude_expsyms=$lt_exclude_expsyms_CXX
22255 # Symbols that must always be exported.
22256 include_expsyms=$lt_include_expsyms_CXX
22258 # Commands necessary for linking programs (against libraries) with templates.
22259 prelink_cmds=$lt_prelink_cmds_CXX
22261 # Specify filename containing input files.
22262 file_list_spec=$lt_file_list_spec_CXX
22264 # How to hardcode a shared library path into an executable.
22265 hardcode_action=$hardcode_action_CXX
22267 # The directories searched by this compiler when creating a shared library.
22268 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22270 # Dependencies to place before and after the objects being linked to
22271 # create a shared library.
22272 predep_objects=$lt_predep_objects_CXX
22273 postdep_objects=$lt_postdep_objects_CXX
22274 predeps=$lt_predeps_CXX
22275 postdeps=$lt_postdeps_CXX
22277 # The library search path used internally by the compiler when linking
22278 # a shared library.
22279 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22281 # ### END LIBTOOL TAG CONFIG: CXX
22285 "$ax_create_pkgconfig_generate":C)
22286 pkgconfig_generate="$ax_create_pkgconfig_generate"
22287 if test ! -f "$pkgconfig_generate.in"
22288 then generate="true"
22289 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
22290 then generate="true"
22291 else generate="false";
22293 if $generate ; then
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
22295 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
22296 cat > $pkgconfig_generate.in <<AXEOF
22297 # generated by configure / remove this line to disable regeneration
22299 exec_prefix=@exec_prefix@
22302 datarootdir=@datarootdir@
22304 sysconfdir=@sysconfdir@
22305 includedir=@includedir@
22309 Name: @PACKAGE_NAME@
22310 Description: @PACKAGE_DESCRIPTION@
22311 Version: @PACKAGE_VERSION@
22312 Requires: @PACKAGE_REQUIRES@
22313 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
22314 Cflags: -I\${includedir} @CPPFLAGS@
22316 fi # DONE generate $pkgconfig_generate.in
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
22318 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
22319 cat >conftest.sed <<AXEOF
22320 s|@prefix@|${pkgconfig_prefix}|
22321 s|@exec_prefix@|${pkgconfig_execprefix}|
22322 s|@bindir@|${pkgconfig_bindir}|
22323 s|@libdir@|${pkgconfig_libdir}|
22324 s|@datarootdir@|${pkgconfig_datarootdir}|
22325 s|@datadir@|${pkgconfig_datadir}|
22326 s|@sysconfdir@|${pkgconfig_sysconfdir}|
22327 s|@includedir@|${pkgconfig_includedir}|
22328 s|@suffix@|${pkgconfig_suffix}|
22329 s|@PACKAGE@|${pkgconfig_package}|
22330 s|@PACKAGE_NAME@|${pkgconfig_libname}|
22331 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
22332 s|@PACKAGE_VERSION@|${pkgconfig_version}|
22333 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
22334 s|@LIBS@|${pkgconfig_libs}|
22335 s|@LDFLAGS@|${pkgconfig_ldflags}|
22336 s|@CPPFLAGS@|${pkgconfig_cppflags}|
22338 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
22339 if test ! -s $pkgconfig_generate ; then
22340 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
22341 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
22342 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
22344 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
22345 cat >conftest.sed <<AXEOF
22346 s|@prefix@|${pkgconfig_prefix}|
22347 s|@exec_prefix@|${pkgconfig_execprefix}|
22348 s|@bindir@|${pkgconfig_bindir}|
22349 s|@libdir@|${pkgconfig_src_libdir}|
22350 s|@datarootdir@|${pkgconfig_datarootdir}|
22351 s|@datadir@|${pkgconfig_datadir}|
22352 s|@sysconfdir@|${pkgconfig_sysconfdir}|
22353 s|@includedir@|${pkgconfig_src_headers}|
22354 s|@suffix@|${pkgconfig_suffix}|
22355 s|@PACKAGE@|${pkgconfig_package}|
22356 s|@PACKAGE_NAME@|${pkgconfig_libname}|
22357 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
22358 s|@PACKAGE_VERSION@|${pkgconfig_version}|
22359 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
22360 s|@LIBS@|${pkgconfig_libs}|
22361 s|@LDFLAGS@|${pkgconfig_ldflags}|
22362 s|@CPPFLAGS@|${pkgconfig_cppflags}|
22364 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
22365 if test ! -s $pkgconfig_uninstalled ; then
22366 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22367 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22368 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
22369 if test ".$pkgconfig_requires_add" != "." ; then
22370 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
22371 else pkgconfig_requires_add=":" ; fi
22372 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
22374 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
22375 cat >conftest.sed <<AXEOF
22376 s|@prefix@|\"${pkgconfig_prefix}\"|
22377 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
22378 s|@bindir@|\"${pkgconfig_bindir}\"|
22379 s|@libdir@|\"${pkgconfig_src_libdir}\"|
22380 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
22381 s|@datadir@|\"${pkgconfig_datadir}\"|
22382 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
22383 s|@includedir@|\"${pkgconfig_src_headers}\"|
22384 s|@suffix@|\"${pkgconfig_suffix}\"|
22385 s|@PACKAGE@|\"${pkgconfig_package}\"|
22386 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
22387 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
22388 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
22389 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
22390 s|@LIBS@|\"${pkgconfig_libs}\"|
22391 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
22392 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
22393 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
22394 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
22395 s>Version: *>\\;\\; --modversion|--version) echo >
22396 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
22397 s>Libs: *>\\;\\; --libs) echo >
22398 s>Cflags: *>\\;\\; --cflags) echo >
22400 $pkgconfig_requires_add
22402 $pkgconfig_requires_add\\
22403 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
22404 ;; --uninstalled) exit 0 \\
22407 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
22408 if test ! -s $pkgconfig_uninstalled ; then
22409 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22410 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22419 ac_clean_files=$ac_clean_files_save
22421 test $ac_write_fail = 0 ||
22422 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22425 # configure is writing to config.log, and then calls config.status.
22426 # config.status does its own redirection, appending to config.log.
22427 # Unfortunately, on DOS this fails, as config.log is still kept open
22428 # by configure, so config.status won't be able to write to it; its
22429 # output is simply discarded. So we exec the FD to /dev/null,
22430 # effectively closing config.log, so it can be properly (re)opened and
22431 # appended to by config.status. When coming back to configure, we
22432 # need to make the FD available again.
22433 if test "$no_create" != yes; then
22435 ac_config_status_args=
22436 test "$silent" = yes &&
22437 ac_config_status_args="$ac_config_status_args --quiet"
22439 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22441 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22442 # would make configure fail if this is the last instruction.
22443 $ac_cs_success || as_fn_exit 1
22445 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22447 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}