2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for xmltooling 1.4.
5 # Report bugs to <https://bugs.internet2.edu/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: https://bugs.internet2.edu/ about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='xmltooling'
703 PACKAGE_TARNAME='xmltooling'
704 PACKAGE_VERSION='1.4'
705 PACKAGE_STRING='xmltooling 1.4'
706 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
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
874 INSTALL_STRIP_PROGRAM
916 program_transform_name
929 enable_option_checking
934 enable_dependency_tracking
956 ac_precious_vars='build_alias
972 # Initialize some variables set by options.
974 ac_init_version=false
975 ac_unrecognized_opts=
977 # The variables have the same names as the options, with
978 # dashes changed to underlines.
986 program_transform_name=s,x,x,
994 # Installation directory options.
995 # These are left unexpanded so users can "make install exec_prefix=/foo"
996 # and all the variables that are supposed to be based on exec_prefix
997 # by default will actually change.
998 # Use braces instead of parens because sh, perl, etc. also accept them.
999 # (The list follows the same order as the GNU Coding Standards.)
1000 bindir='${exec_prefix}/bin'
1001 sbindir='${exec_prefix}/sbin'
1002 libexecdir='${exec_prefix}/libexec'
1003 datarootdir='${prefix}/share'
1004 datadir='${datarootdir}'
1005 sysconfdir='${prefix}/etc'
1006 sharedstatedir='${prefix}/com'
1007 localstatedir='${prefix}/var'
1008 includedir='${prefix}/include'
1009 oldincludedir='/usr/include'
1010 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1011 infodir='${datarootdir}/info'
1016 libdir='${exec_prefix}/lib'
1017 localedir='${datarootdir}/locale'
1018 mandir='${datarootdir}/man'
1024 # If the previous option needs an argument, assign it.
1025 if test -n "$ac_prev"; then
1026 eval $ac_prev=\$ac_option
1032 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1037 # Accept the important Cygnus configure options, so we can diagnose typos.
1039 case $ac_dashdash$ac_option in
1043 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1045 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1046 bindir=$ac_optarg ;;
1048 -build | --build | --buil | --bui | --bu)
1049 ac_prev=build_alias ;;
1050 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1051 build_alias=$ac_optarg ;;
1053 -cache-file | --cache-file | --cache-fil | --cache-fi \
1054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1055 ac_prev=cache_file ;;
1056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1058 cache_file=$ac_optarg ;;
1060 --config-cache | -C)
1061 cache_file=config.cache ;;
1063 -datadir | --datadir | --datadi | --datad)
1065 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1066 datadir=$ac_optarg ;;
1068 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1069 | --dataroo | --dataro | --datar)
1070 ac_prev=datarootdir ;;
1071 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1072 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1073 datarootdir=$ac_optarg ;;
1075 -disable-* | --disable-*)
1076 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 as_fn_error $? "invalid feature name: $ac_useropt"
1080 ac_useropt_orig=$ac_useropt
1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1084 "enable_$ac_useropt"
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1087 ac_unrecognized_sep=', ';;
1089 eval enable_$ac_useropt=no ;;
1091 -docdir | --docdir | --docdi | --doc | --do)
1093 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1094 docdir=$ac_optarg ;;
1096 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1098 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1099 dvidir=$ac_optarg ;;
1101 -enable-* | --enable-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 as_fn_error $? "invalid feature name: $ac_useropt"
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1110 "enable_$ac_useropt"
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1115 eval enable_$ac_useropt=\$ac_optarg ;;
1117 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1118 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1119 | --exec | --exe | --ex)
1120 ac_prev=exec_prefix ;;
1121 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1122 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1123 | --exec=* | --exe=* | --ex=*)
1124 exec_prefix=$ac_optarg ;;
1126 -gas | --gas | --ga | --g)
1127 # Obsolete; use --with-gas.
1130 -help | --help | --hel | --he | -h)
1131 ac_init_help=long ;;
1132 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1133 ac_init_help=recursive ;;
1134 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1135 ac_init_help=short ;;
1137 -host | --host | --hos | --ho)
1138 ac_prev=host_alias ;;
1139 -host=* | --host=* | --hos=* | --ho=*)
1140 host_alias=$ac_optarg ;;
1142 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1144 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1146 htmldir=$ac_optarg ;;
1148 -includedir | --includedir | --includedi | --included | --include \
1149 | --includ | --inclu | --incl | --inc)
1150 ac_prev=includedir ;;
1151 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1152 | --includ=* | --inclu=* | --incl=* | --inc=*)
1153 includedir=$ac_optarg ;;
1155 -infodir | --infodir | --infodi | --infod | --info | --inf)
1157 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1158 infodir=$ac_optarg ;;
1160 -libdir | --libdir | --libdi | --libd)
1162 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1163 libdir=$ac_optarg ;;
1165 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1166 | --libexe | --libex | --libe)
1167 ac_prev=libexecdir ;;
1168 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1169 | --libexe=* | --libex=* | --libe=*)
1170 libexecdir=$ac_optarg ;;
1172 -localedir | --localedir | --localedi | --localed | --locale)
1173 ac_prev=localedir ;;
1174 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1175 localedir=$ac_optarg ;;
1177 -localstatedir | --localstatedir | --localstatedi | --localstated \
1178 | --localstate | --localstat | --localsta | --localst | --locals)
1179 ac_prev=localstatedir ;;
1180 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1181 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1182 localstatedir=$ac_optarg ;;
1184 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1186 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1187 mandir=$ac_optarg ;;
1189 -nfp | --nfp | --nf)
1190 # Obsolete; use --without-fp.
1193 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1194 | --no-cr | --no-c | -n)
1197 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1198 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1201 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1202 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1203 | --oldin | --oldi | --old | --ol | --o)
1204 ac_prev=oldincludedir ;;
1205 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1206 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1207 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1208 oldincludedir=$ac_optarg ;;
1210 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1212 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1213 prefix=$ac_optarg ;;
1215 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1216 | --program-pre | --program-pr | --program-p)
1217 ac_prev=program_prefix ;;
1218 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1219 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1220 program_prefix=$ac_optarg ;;
1222 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1223 | --program-suf | --program-su | --program-s)
1224 ac_prev=program_suffix ;;
1225 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1226 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1227 program_suffix=$ac_optarg ;;
1229 -program-transform-name | --program-transform-name \
1230 | --program-transform-nam | --program-transform-na \
1231 | --program-transform-n | --program-transform- \
1232 | --program-transform | --program-transfor \
1233 | --program-transfo | --program-transf \
1234 | --program-trans | --program-tran \
1235 | --progr-tra | --program-tr | --program-t)
1236 ac_prev=program_transform_name ;;
1237 -program-transform-name=* | --program-transform-name=* \
1238 | --program-transform-nam=* | --program-transform-na=* \
1239 | --program-transform-n=* | --program-transform-=* \
1240 | --program-transform=* | --program-transfor=* \
1241 | --program-transfo=* | --program-transf=* \
1242 | --program-trans=* | --program-tran=* \
1243 | --progr-tra=* | --program-tr=* | --program-t=*)
1244 program_transform_name=$ac_optarg ;;
1246 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1248 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1249 pdfdir=$ac_optarg ;;
1251 -psdir | --psdir | --psdi | --psd | --ps)
1253 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257 | -silent | --silent | --silen | --sile | --sil)
1260 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1262 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1264 sbindir=$ac_optarg ;;
1266 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1267 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1268 | --sharedst | --shareds | --shared | --share | --shar \
1270 ac_prev=sharedstatedir ;;
1271 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1272 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1273 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1275 sharedstatedir=$ac_optarg ;;
1277 -site | --site | --sit)
1279 -site=* | --site=* | --sit=*)
1282 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1284 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1285 srcdir=$ac_optarg ;;
1287 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1288 | --syscon | --sysco | --sysc | --sys | --sy)
1289 ac_prev=sysconfdir ;;
1290 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1291 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1292 sysconfdir=$ac_optarg ;;
1294 -target | --target | --targe | --targ | --tar | --ta | --t)
1295 ac_prev=target_alias ;;
1296 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1297 target_alias=$ac_optarg ;;
1299 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1302 -version | --version | --versio | --versi | --vers | -V)
1303 ac_init_version=: ;;
1306 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1307 # Reject names that are not valid shell variable names.
1308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1309 as_fn_error $? "invalid package name: $ac_useropt"
1310 ac_useropt_orig=$ac_useropt
1311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in
1316 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1317 ac_unrecognized_sep=', ';;
1319 eval with_$ac_useropt=\$ac_optarg ;;
1321 -without-* | --without-*)
1322 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1325 as_fn_error $? "invalid package name: $ac_useropt"
1326 ac_useropt_orig=$ac_useropt
1327 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1328 case $ac_user_opts in
1332 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1333 ac_unrecognized_sep=', ';;
1335 eval with_$ac_useropt=no ;;
1338 # Obsolete; use --with-x.
1341 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1342 | --x-incl | --x-inc | --x-in | --x-i)
1343 ac_prev=x_includes ;;
1344 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1345 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1346 x_includes=$ac_optarg ;;
1348 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1349 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1350 ac_prev=x_libraries ;;
1351 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1352 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1353 x_libraries=$ac_optarg ;;
1355 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1356 Try \`$0 --help' for more information"
1360 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1361 # Reject names that are not valid shell variable names.
1362 case $ac_envvar in #(
1363 '' | [0-9]* | *[!_$as_cr_alnum]* )
1364 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1366 eval $ac_envvar=\$ac_optarg
1367 export $ac_envvar ;;
1370 # FIXME: should be removed in autoconf 3.0.
1371 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1372 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1374 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1380 if test -n "$ac_prev"; then
1381 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1382 as_fn_error $? "missing argument to $ac_option"
1385 if test -n "$ac_unrecognized_opts"; then
1386 case $enable_option_checking in
1388 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1389 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1393 # Check all directory arguments for consistency.
1394 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1395 datadir sysconfdir sharedstatedir localstatedir includedir \
1396 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1397 libdir localedir mandir
1399 eval ac_val=\$$ac_var
1400 # Remove trailing slashes.
1403 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1404 eval $ac_var=\$ac_val;;
1406 # Be sure to have absolute directory names.
1408 [\\/$]* | ?:[\\/]* ) continue;;
1409 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1411 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1414 # There might be people who depend on the old broken behavior: `$host'
1415 # used to hold the argument of --host etc.
1416 # FIXME: To remove some day.
1419 target=$target_alias
1421 # FIXME: To remove some day.
1422 if test "x$host_alias" != x; then
1423 if test "x$build_alias" = x; then
1424 cross_compiling=maybe
1425 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1426 If a cross compiler is detected then cross compile mode will be used" >&2
1427 elif test "x$build_alias" != "x$host_alias"; then
1433 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1435 test "$silent" = yes && exec 6>/dev/null
1438 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1439 ac_ls_di=`ls -di .` &&
1440 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1441 as_fn_error $? "working directory cannot be determined"
1442 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1443 as_fn_error $? "pwd does not report name of working directory"
1446 # Find the source files, if location was not specified.
1447 if test -z "$srcdir"; then
1448 ac_srcdir_defaulted=yes
1449 # Try the directory containing this script, then the parent directory.
1450 ac_confdir=`$as_dirname -- "$as_myself" ||
1451 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1452 X"$as_myself" : 'X\(//\)[^/]' \| \
1453 X"$as_myself" : 'X\(//\)$' \| \
1454 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1455 $as_echo X"$as_myself" |
1456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1478 ac_srcdir_defaulted=no
1480 if test ! -r "$srcdir/$ac_unique_file"; then
1481 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1482 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1484 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1486 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1488 # When building in place, set srcdir=.
1489 if test "$ac_abs_confdir" = "$ac_pwd"; then
1492 # Remove unnecessary trailing slashes from srcdir.
1493 # Double slashes in file names in object file debugging info
1494 # mess up M-x gdb in Emacs.
1496 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1498 for ac_var in $ac_precious_vars; do
1499 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1500 eval ac_env_${ac_var}_value=\$${ac_var}
1501 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1502 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1506 # Report the --help message.
1508 if test "$ac_init_help" = "long"; then
1509 # Omit some internal or obsolete options to make the list less imposing.
1510 # This message is too long to be a string in the A/UX 3.1 sh.
1512 \`configure' configures xmltooling 1.4 to adapt to many kinds of systems.
1514 Usage: $0 [OPTION]... [VAR=VALUE]...
1516 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1517 VAR=VALUE. See below for descriptions of some of the useful variables.
1519 Defaults for the options are specified in brackets.
1522 -h, --help display this help and exit
1523 --help=short display options specific to this package
1524 --help=recursive display the short help of all the included packages
1525 -V, --version display version information and exit
1526 -q, --quiet, --silent do not print \`checking ...' messages
1527 --cache-file=FILE cache test results in FILE [disabled]
1528 -C, --config-cache alias for \`--cache-file=config.cache'
1529 -n, --no-create do not create output files
1530 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1532 Installation directories:
1533 --prefix=PREFIX install architecture-independent files in PREFIX
1534 [$ac_default_prefix]
1535 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1538 By default, \`make install' will install all the files in
1539 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1540 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1541 for instance \`--prefix=\$HOME'.
1543 For better control, use the options below.
1545 Fine tuning of the installation directories:
1546 --bindir=DIR user executables [EPREFIX/bin]
1547 --sbindir=DIR system admin executables [EPREFIX/sbin]
1548 --libexecdir=DIR program executables [EPREFIX/libexec]
1549 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1550 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1551 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1552 --libdir=DIR object code libraries [EPREFIX/lib]
1553 --includedir=DIR C header files [PREFIX/include]
1554 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1555 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1556 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1557 --infodir=DIR info documentation [DATAROOTDIR/info]
1558 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1559 --mandir=DIR man documentation [DATAROOTDIR/man]
1560 --docdir=DIR documentation root [DATAROOTDIR/doc/xmltooling]
1561 --htmldir=DIR html documentation [DOCDIR]
1562 --dvidir=DIR dvi documentation [DOCDIR]
1563 --pdfdir=DIR pdf documentation [DOCDIR]
1564 --psdir=DIR ps documentation [DOCDIR]
1570 --program-prefix=PREFIX prepend PREFIX to installed program names
1571 --program-suffix=SUFFIX append SUFFIX to installed program names
1572 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1575 --build=BUILD configure for building on BUILD [guessed]
1576 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1580 if test -n "$ac_init_help"; then
1581 case $ac_init_help in
1582 short | recursive ) echo "Configuration of xmltooling 1.4:";;
1587 --disable-option-checking ignore unrecognized --enable/--with options
1588 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1589 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1590 --enable-static[=PKGS] build static libraries [default=no]
1591 --enable-shared[=PKGS] build shared libraries [default=yes]
1592 --enable-fast-install[=PKGS]
1593 optimize for fast installation [default=yes]
1594 --disable-dependency-tracking speeds up one-time build
1595 --enable-dependency-tracking do not reject slow dependency extractors
1596 --disable-libtool-lock avoid locking (might break parallel builds)
1597 --disable-doxygen-doc don't generate any doxygen documentation
1598 --disable-doxygen-dot don't generate graphics for doxygen documentation
1599 --enable-doxygen-man generate doxygen manual pages
1600 --enable-doxygen-rtf generate doxygen RTF documentation
1601 --enable-doxygen-xml generate doxygen XML documentation
1602 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1603 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1605 --disable-doxygen-html don't generate doxygen plain HTML documentation
1606 --enable-doxygen-ps generate doxygen PostScript documentation
1607 --enable-doxygen-pdf generate doxygen PDF documentation
1608 --enable-debug Have GCC compile with symbols (Default = no)
1611 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1612 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1613 --with-pic try to use only PIC/non-PIC objects [default=use
1615 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1616 --with-log4shib=PATH where log4shib-config is installed
1617 --with-log4cpp=PATH where log4cpp-config is installed
1618 --with-xerces=PATH where xerces-c is installed
1619 --with-xmlsec=PATH where xmlsec is installed
1620 --with-openssl=PATH where openssl is installed
1621 --with-curl=PATH where curl-config is installed
1622 --with-cxxtest=PATH where cxxtest is installed
1624 Some influential environment variables:
1625 CC C compiler command
1626 CFLAGS C compiler flags
1627 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1628 nonstandard directory <lib dir>
1629 LIBS libraries to pass to the linker, e.g. -l<library>
1630 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1631 you have headers in a nonstandard directory <include dir>
1634 a4wide (default), a4, letter, legal or executive
1635 CXX C++ compiler command
1636 CXXFLAGS C++ compiler flags
1637 CXXCPP C++ preprocessor
1639 Use these variables to override the choices made by `configure' or to help
1640 it to find libraries and programs with nonstandard names/locations.
1642 Report bugs to <https://bugs.internet2.edu/>.
1647 if test "$ac_init_help" = "recursive"; then
1648 # If there are subdirs, report their specific --help.
1649 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1650 test -d "$ac_dir" ||
1651 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1656 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1659 # A ".." for each directory in $ac_dir_suffix.
1660 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1661 case $ac_top_builddir_sub in
1662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1666 ac_abs_top_builddir=$ac_pwd
1667 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1668 # for backward compatibility:
1669 ac_top_builddir=$ac_top_build_prefix
1672 .) # We are building in place.
1674 ac_top_srcdir=$ac_top_builddir_sub
1675 ac_abs_top_srcdir=$ac_pwd ;;
1676 [\\/]* | ?:[\\/]* ) # Absolute name.
1677 ac_srcdir=$srcdir$ac_dir_suffix;
1678 ac_top_srcdir=$srcdir
1679 ac_abs_top_srcdir=$srcdir ;;
1681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1682 ac_top_srcdir=$ac_top_build_prefix$srcdir
1683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1685 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1687 cd "$ac_dir" || { ac_status=$?; continue; }
1688 # Check for guested configure.
1689 if test -f "$ac_srcdir/configure.gnu"; then
1691 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1692 elif test -f "$ac_srcdir/configure"; then
1694 $SHELL "$ac_srcdir/configure" --help=recursive
1696 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1698 cd "$ac_pwd" || { ac_status=$?; break; }
1702 test -n "$ac_init_help" && exit $ac_status
1703 if $ac_init_version; then
1705 xmltooling configure 1.4
1706 generated by GNU Autoconf 2.67
1708 Copyright (C) 2010 Free Software Foundation, Inc.
1709 This configure script is free software; the Free Software Foundation
1710 gives unlimited permission to copy, distribute and modify it.
1715 ## ------------------------ ##
1716 ## Autoconf initialization. ##
1717 ## ------------------------ ##
1719 # ac_fn_c_try_compile LINENO
1720 # --------------------------
1721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_compile ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 rm -f conftest.$ac_objext
1726 if { { ac_try="$ac_compile"
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_compile") 2>conftest.err
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest.$ac_objext; then :
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1752 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1753 as_fn_set_status $ac_retval
1755 } # ac_fn_c_try_compile
1757 # ac_fn_c_try_link LINENO
1758 # -----------------------
1759 # Try to link conftest.$ac_ext, and return whether this succeeded.
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 rm -f conftest.$ac_objext conftest$ac_exeext
1764 if { { ac_try="$ac_link"
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_link") 2>conftest.err
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest$ac_exeext && {
1783 test "$cross_compiling" = yes ||
1784 $as_test_x conftest$ac_exeext
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1793 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1794 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1795 # interfere with the next link command; also delete a directory that is
1796 # left behind by Apple's compiler. We do this before executing the actions.
1797 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 as_fn_set_status $ac_retval
1801 } # ac_fn_c_try_link
1803 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1804 # -------------------------------------------------------
1805 # Tests whether HEADER exists and can be compiled using the include files in
1806 # INCLUDES, setting the cache variable VAR accordingly.
1807 ac_fn_c_check_header_compile ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval "test \"\${$3+set}\"" = set; then :
1813 $as_echo_n "(cached) " >&6
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1820 if ac_fn_c_try_compile "$LINENO"; then :
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 $as_echo "$ac_res" >&6; }
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 } # ac_fn_c_check_header_compile
1834 # ac_fn_c_try_cpp LINENO
1835 # ----------------------
1836 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 if { { ac_try="$ac_cpp conftest.$ac_ext"
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } > conftest.i && {
1856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 as_fn_set_status $ac_retval
1871 # ac_fn_c_try_run LINENO
1872 # ----------------------
1873 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1874 # that executables *can* be run.
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 if { { ac_try="$ac_link"
1880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_link") 2>&5
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1889 { { case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_try") 2>&5
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; }; }; then :
1901 $as_echo "$as_me: program exited with status $ac_status" >&5
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1905 ac_retval=$ac_status
1907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 as_fn_set_status $ac_retval
1913 # ac_fn_c_check_func LINENO FUNC VAR
1914 # ----------------------------------
1915 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1916 ac_fn_c_check_func ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1920 $as_echo_n "checking for $2... " >&6; }
1921 if eval "test \"\${$3+set}\"" = set; then :
1922 $as_echo_n "(cached) " >&6
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1926 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1928 #define $2 innocuous_$2
1930 /* System header to define __stub macros and hopefully few prototypes,
1931 which can conflict with char $2 (); below.
1932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1933 <limits.h> exists even on freestanding compilers. */
1936 # include <limits.h>
1938 # include <assert.h>
1943 /* Override any GCC internal prototype to avoid an error.
1944 Use char because int might match the return type of a GCC
1945 builtin and then its argument prototype would still apply. */
1950 /* The GNU C library defines this for functions which it implements
1951 to always fail with ENOSYS. Some functions are actually named
1952 something starting with __ and the normal name is an alias. */
1953 #if defined __stub_$2 || defined __stub___$2
1965 if ac_fn_c_try_link "$LINENO"; then :
1970 rm -f core conftest.err conftest.$ac_objext \
1971 conftest$ac_exeext conftest.$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978 } # ac_fn_c_check_func
1980 # ac_fn_cxx_try_compile LINENO
1981 # ----------------------------
1982 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1983 ac_fn_cxx_try_compile ()
1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 rm -f conftest.$ac_objext
1987 if { { ac_try="$ac_compile"
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_compile") 2>conftest.err
1996 if test -s conftest.err; then
1997 grep -v '^ *+' conftest.err >conftest.er1
1998 cat conftest.er1 >&5
1999 mv -f conftest.er1 conftest.err
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } && {
2003 test -z "$ac_cxx_werror_flag" ||
2004 test ! -s conftest.err
2005 } && test -s conftest.$ac_objext; then :
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 as_fn_set_status $ac_retval
2016 } # ac_fn_cxx_try_compile
2018 # ac_fn_cxx_try_cpp LINENO
2019 # ------------------------
2020 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_cpp ()
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 if { { ac_try="$ac_cpp conftest.$ac_ext"
2026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2027 *) ac_try_echo=$ac_try;;
2029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2030 $as_echo "$ac_try_echo"; } >&5
2031 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2033 if test -s conftest.err; then
2034 grep -v '^ *+' conftest.err >conftest.er1
2035 cat conftest.er1 >&5
2036 mv -f conftest.er1 conftest.err
2038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2039 test $ac_status = 0; } > conftest.i && {
2040 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2041 test ! -s conftest.err
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2051 as_fn_set_status $ac_retval
2053 } # ac_fn_cxx_try_cpp
2055 # ac_fn_cxx_try_link LINENO
2056 # -------------------------
2057 # Try to link conftest.$ac_ext, and return whether this succeeded.
2058 ac_fn_cxx_try_link ()
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 rm -f conftest.$ac_objext conftest$ac_exeext
2062 if { { ac_try="$ac_link"
2064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2065 *) ac_try_echo=$ac_try;;
2067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2068 $as_echo "$ac_try_echo"; } >&5
2069 (eval "$ac_link") 2>conftest.err
2071 if test -s conftest.err; then
2072 grep -v '^ *+' conftest.err >conftest.er1
2073 cat conftest.er1 >&5
2074 mv -f conftest.er1 conftest.err
2076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2077 test $ac_status = 0; } && {
2078 test -z "$ac_cxx_werror_flag" ||
2079 test ! -s conftest.err
2080 } && test -s conftest$ac_exeext && {
2081 test "$cross_compiling" = yes ||
2082 $as_test_x conftest$ac_exeext
2086 $as_echo "$as_me: failed program was:" >&5
2087 sed 's/^/| /' conftest.$ac_ext >&5
2091 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2092 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2093 # interfere with the next link command; also delete a directory that is
2094 # left behind by Apple's compiler. We do this before executing the actions.
2095 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2096 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2097 as_fn_set_status $ac_retval
2099 } # ac_fn_cxx_try_link
2101 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2102 # -------------------------------------------
2103 # Tests whether TYPE exists after having included INCLUDES, setting cache
2104 # variable VAR accordingly.
2105 ac_fn_c_check_type ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if eval "test \"\${$3+set}\"" = set; then :
2111 $as_echo_n "(cached) " >&6
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2139 if ac_fn_c_try_compile "$LINENO"; then :
2144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2151 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2153 } # ac_fn_c_check_type
2155 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2156 # --------------------------------------------
2157 # Tries to find the compile-time value of EXPR in a program that includes
2158 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2160 ac_fn_c_compute_int ()
2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2163 if test "$cross_compiling" = yes; then
2164 # Depending upon the size, compute the lo and hi bounds.
2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2171 static int test_array [1 - 2 * !(($2) >= 0)];
2178 if ac_fn_c_try_compile "$LINENO"; then :
2181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h. */
2187 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195 ac_hi=$ac_mid; break
2197 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2198 if test $ac_lo -le $ac_mid; then
2202 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2213 static int test_array [1 - 2 * !(($2) < 0)];
2220 if ac_fn_c_try_compile "$LINENO"; then :
2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2229 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2236 if ac_fn_c_try_compile "$LINENO"; then :
2237 ac_lo=$ac_mid; break
2239 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2240 if test $ac_mid -le $ac_hi; then
2244 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2254 # Binary search between lo and hi bounds.
2255 while test "x$ac_lo" != "x$ac_hi"; do
2256 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h. */
2263 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2270 if ac_fn_c_try_compile "$LINENO"; then :
2273 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2278 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2285 static long int longval () { return $2; }
2286 static unsigned long int ulongval () { return $2; }
2293 FILE *f = fopen ("conftest.val", "w");
2298 long int i = longval ();
2301 fprintf (f, "%ld", i);
2305 unsigned long int i = ulongval ();
2308 fprintf (f, "%lu", i);
2310 /* Do not output a trailing newline, as this causes \r\n confusion
2311 on some platforms. */
2312 return ferror (f) || fclose (f) != 0;
2318 if ac_fn_c_try_run "$LINENO"; then :
2319 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2324 conftest.$ac_objext conftest.beam conftest.$ac_ext
2328 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2329 as_fn_set_status $ac_retval
2331 } # ac_fn_c_compute_int
2333 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2334 # -------------------------------------------------------
2335 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2336 # the include files in INCLUDES and setting the cache variable VAR
2338 ac_fn_c_check_header_mongrel ()
2340 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2341 if eval "test \"\${$3+set}\"" = set; then :
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2343 $as_echo_n "checking for $2... " >&6; }
2344 if eval "test \"\${$3+set}\"" = set; then :
2345 $as_echo_n "(cached) " >&6
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2349 $as_echo "$ac_res" >&6; }
2351 # Is the header compilable?
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2353 $as_echo_n "checking $2 usability... " >&6; }
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2359 if ac_fn_c_try_compile "$LINENO"; then :
2360 ac_header_compiler=yes
2362 ac_header_compiler=no
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2366 $as_echo "$ac_header_compiler" >&6; }
2368 # Is the header present?
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2370 $as_echo_n "checking $2 presence... " >&6; }
2371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2375 if ac_fn_c_try_cpp "$LINENO"; then :
2376 ac_header_preproc=yes
2378 ac_header_preproc=no
2380 rm -f conftest.err conftest.i conftest.$ac_ext
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2382 $as_echo "$ac_header_preproc" >&6; }
2384 # So? What about this header?
2385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2388 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2390 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2394 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2396 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2398 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2400 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2402 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2403 ( $as_echo "## ------------------------------------------ ##
2404 ## Report this to https://bugs.internet2.edu/ ##
2405 ## ------------------------------------------ ##"
2406 ) | sed "s/^/$as_me: WARNING: /" >&2
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2410 $as_echo_n "checking for $2... " >&6; }
2411 if eval "test \"\${$3+set}\"" = set; then :
2412 $as_echo_n "(cached) " >&6
2414 eval "$3=\$ac_header_compiler"
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2418 $as_echo "$ac_res" >&6; }
2420 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2422 } # ac_fn_c_check_header_mongrel
2424 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2425 # ---------------------------------------------------------
2426 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2427 # the include files in INCLUDES and setting the cache variable VAR
2429 ac_fn_cxx_check_header_mongrel ()
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 if eval "test \"\${$3+set}\"" = set; then :
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2434 $as_echo_n "checking for $2... " >&6; }
2435 if eval "test \"\${$3+set}\"" = set; then :
2436 $as_echo_n "(cached) " >&6
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2440 $as_echo "$ac_res" >&6; }
2442 # Is the header compilable?
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2444 $as_echo_n "checking $2 usability... " >&6; }
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2450 if ac_fn_cxx_try_compile "$LINENO"; then :
2451 ac_header_compiler=yes
2453 ac_header_compiler=no
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2457 $as_echo "$ac_header_compiler" >&6; }
2459 # Is the header present?
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2461 $as_echo_n "checking $2 presence... " >&6; }
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 if ac_fn_cxx_try_cpp "$LINENO"; then :
2467 ac_header_preproc=yes
2469 ac_header_preproc=no
2471 rm -f conftest.err conftest.i conftest.$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2473 $as_echo "$ac_header_preproc" >&6; }
2475 # So? What about this header?
2476 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2479 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2485 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2487 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2489 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2491 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2493 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2494 ( $as_echo "## ------------------------------------------ ##
2495 ## Report this to https://bugs.internet2.edu/ ##
2496 ## ------------------------------------------ ##"
2497 ) | sed "s/^/$as_me: WARNING: /" >&2
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2501 $as_echo_n "checking for $2... " >&6; }
2502 if eval "test \"\${$3+set}\"" = set; then :
2503 $as_echo_n "(cached) " >&6
2505 eval "$3=\$ac_header_compiler"
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; }
2511 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2513 } # ac_fn_cxx_check_header_mongrel
2515 # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
2516 # -----------------------------------------------
2517 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2519 ac_fn_cxx_check_decl ()
2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2522 as_decl_name=`echo $2|sed 's/ *(.*//'`
2523 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2525 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2526 if eval "test \"\${$3+set}\"" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2535 #ifndef $as_decl_name
2537 (void) $as_decl_use;
2539 (void) $as_decl_name;
2547 if ac_fn_cxx_try_compile "$LINENO"; then :
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2556 $as_echo "$ac_res" >&6; }
2557 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2559 } # ac_fn_cxx_check_decl
2561 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2562 # ---------------------------------------------
2563 # Tests whether TYPE exists after having included INCLUDES, setting cache
2564 # variable VAR accordingly.
2565 ac_fn_cxx_check_type ()
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2569 $as_echo_n "checking for $2... " >&6; }
2570 if eval "test \"\${$3+set}\"" = set; then :
2571 $as_echo_n "(cached) " >&6
2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2586 if ac_fn_cxx_try_compile "$LINENO"; then :
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2599 if ac_fn_cxx_try_compile "$LINENO"; then :
2604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 $as_echo "$ac_res" >&6; }
2611 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2613 } # ac_fn_cxx_check_type
2614 cat >config.log <<_ACEOF
2615 This file contains any messages produced by compilers while
2616 running configure, to aid debugging if configure makes a mistake.
2618 It was created by xmltooling $as_me 1.4, which was
2619 generated by GNU Autoconf 2.67. Invocation command line was
2631 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2632 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2633 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2634 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2635 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2637 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2638 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2640 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2641 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2642 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2643 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2644 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2645 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2646 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 $as_echo "PATH: $as_dir"
2671 # Keep a trace of the command line.
2672 # Strip out --no-create and --no-recursion so they do not pile up.
2673 # Strip out --silent because we don't want to record it for future runs.
2674 # Also quote any args containing shell meta-characters.
2675 # Make two passes to allow for proper duplicate-argument suppression.
2679 ac_must_keep_next=false
2685 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2687 | -silent | --silent | --silen | --sile | --sil)
2690 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2693 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2695 as_fn_append ac_configure_args1 " '$ac_arg'"
2696 if test $ac_must_keep_next = true; then
2697 ac_must_keep_next=false # Got value, back to normal.
2700 *=* | --config-cache | -C | -disable-* | --disable-* \
2701 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2702 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2703 | -with-* | --with-* | -without-* | --without-* | --x)
2704 case "$ac_configure_args0 " in
2705 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2708 -* ) ac_must_keep_next=true ;;
2711 as_fn_append ac_configure_args " '$ac_arg'"
2716 { ac_configure_args0=; unset ac_configure_args0;}
2717 { ac_configure_args1=; unset ac_configure_args1;}
2719 # When interrupted or exit'd, cleanup temporary files, and complete
2720 # config.log. We remove comments because anyway the quotes in there
2721 # would cause problems or look ugly.
2722 # WARNING: Use '\'' to represent an apostrophe within the trap.
2723 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2724 trap 'exit_status=$?
2725 # Save into config.log some information that might help in debugging.
2729 $as_echo "## ---------------- ##
2730 ## Cache variables. ##
2731 ## ---------------- ##"
2733 # The following way of writing the cache mishandles newlines in values,
2735 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2736 eval ac_val=\$$ac_var
2740 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2741 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2744 _ | IFS | as_nl) ;; #(
2745 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2746 *) { eval $ac_var=; unset $ac_var;} ;;
2751 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2752 *${as_nl}ac_space=\ *)
2754 "s/'\''/'\''\\\\'\'''\''/g;
2755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2758 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2765 $as_echo "## ----------------- ##
2766 ## Output variables. ##
2767 ## ----------------- ##"
2769 for ac_var in $ac_subst_vars
2771 eval ac_val=\$$ac_var
2773 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2775 $as_echo "$ac_var='\''$ac_val'\''"
2779 if test -n "$ac_subst_files"; then
2780 $as_echo "## ------------------- ##
2781 ## File substitutions. ##
2782 ## ------------------- ##"
2784 for ac_var in $ac_subst_files
2786 eval ac_val=\$$ac_var
2788 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2790 $as_echo "$ac_var='\''$ac_val'\''"
2795 if test -s confdefs.h; then
2796 $as_echo "## ----------- ##
2803 test "$ac_signal" != 0 &&
2804 $as_echo "$as_me: caught signal $ac_signal"
2805 $as_echo "$as_me: exit $exit_status"
2807 rm -f core *.core core.conftest.* &&
2808 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2811 for ac_signal in 1 2 13 15; do
2812 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2816 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2817 rm -f -r conftest* confdefs.h
2819 $as_echo "/* confdefs.h */" > confdefs.h
2821 # Predefined preprocessor variables.
2823 cat >>confdefs.h <<_ACEOF
2824 #define PACKAGE_NAME "$PACKAGE_NAME"
2827 cat >>confdefs.h <<_ACEOF
2828 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2831 cat >>confdefs.h <<_ACEOF
2832 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2835 cat >>confdefs.h <<_ACEOF
2836 #define PACKAGE_STRING "$PACKAGE_STRING"
2839 cat >>confdefs.h <<_ACEOF
2840 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2843 cat >>confdefs.h <<_ACEOF
2844 #define PACKAGE_URL "$PACKAGE_URL"
2848 # Let the site file select an alternate cache file if it wants to.
2849 # Prefer an explicitly selected file to automatically selected ones.
2852 if test -n "$CONFIG_SITE"; then
2853 # We do not want a PATH search for config.site.
2854 case $CONFIG_SITE in #((
2855 -*) ac_site_file1=./$CONFIG_SITE;;
2856 */*) ac_site_file1=$CONFIG_SITE;;
2857 *) ac_site_file1=./$CONFIG_SITE;;
2859 elif test "x$prefix" != xNONE; then
2860 ac_site_file1=$prefix/share/config.site
2861 ac_site_file2=$prefix/etc/config.site
2863 ac_site_file1=$ac_default_prefix/share/config.site
2864 ac_site_file2=$ac_default_prefix/etc/config.site
2866 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2868 test "x$ac_site_file" = xNONE && continue
2869 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2871 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2872 sed 's/^/| /' "$ac_site_file" >&5
2874 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2876 as_fn_error $? "failed to load site script $ac_site_file
2877 See \`config.log' for more details" "$LINENO" 5 ; }
2881 if test -r "$cache_file"; then
2882 # Some versions of bash will fail to source /dev/null (special files
2883 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2884 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2886 $as_echo "$as_me: loading cache $cache_file" >&6;}
2888 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2889 *) . "./$cache_file";;
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2894 $as_echo "$as_me: creating cache $cache_file" >&6;}
2898 # Check that the precious variables saved in the cache have kept the same
2900 ac_cache_corrupted=false
2901 for ac_var in $ac_precious_vars; do
2902 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2903 eval ac_new_set=\$ac_env_${ac_var}_set
2904 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2905 eval ac_new_val=\$ac_env_${ac_var}_value
2906 case $ac_old_set,$ac_new_set in
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2909 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2910 ac_cache_corrupted=: ;;
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2913 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2914 ac_cache_corrupted=: ;;
2917 if test "x$ac_old_val" != "x$ac_new_val"; then
2918 # differences in whitespace do not lead to failure.
2919 ac_old_val_w=`echo x $ac_old_val`
2920 ac_new_val_w=`echo x $ac_new_val`
2921 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2923 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2924 ac_cache_corrupted=:
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2927 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2928 eval $ac_var=\$ac_old_val
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2931 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2933 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2936 # Pass precious variables to config.status.
2937 if test "$ac_new_set" = set; then
2939 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2940 *) ac_arg=$ac_var=$ac_new_val ;;
2942 case " $ac_configure_args " in
2943 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2944 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2948 if $ac_cache_corrupted; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2952 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2953 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2955 ## -------------------- ##
2956 ## Main body of script. ##
2957 ## -------------------- ##
2960 ac_cpp='$CPP $CPPFLAGS'
2961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2968 for ac_dir in build-aux "$srcdir"/build-aux; do
2969 if test -f "$ac_dir/install-sh"; then
2971 ac_install_sh="$ac_aux_dir/install-sh -c"
2973 elif test -f "$ac_dir/install.sh"; then
2975 ac_install_sh="$ac_aux_dir/install.sh -c"
2977 elif test -f "$ac_dir/shtool"; then
2979 ac_install_sh="$ac_aux_dir/shtool install -c"
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2997 am__api_version='1.11'
2999 # Find a good install program. We prefer a C program (faster),
3000 # so one script is as good as another. But avoid the broken or
3001 # incompatible versions:
3002 # SysV /etc/install, /usr/sbin/install
3003 # SunOS /usr/etc/install
3004 # IRIX /sbin/install
3006 # AmigaOS /C/install, which installs bootblocks on floppy discs
3007 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3008 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3009 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3010 # OS/2's system install, which has a completely different semantic
3011 # ./install, which can be erroneously created by make from ./install.sh.
3012 # Reject install programs that cannot install multiple files.
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3014 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3015 if test -z "$INSTALL"; then
3016 if test "${ac_cv_path_install+set}" = set; then :
3017 $as_echo_n "(cached) " >&6
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 # Account for people who put trailing slashes in PATH elements.
3025 case $as_dir/ in #((
3026 ./ | .// | /[cC]/* | \
3027 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3028 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3031 # OSF1 and SCO ODT 3.0 have their own names for install.
3032 # Don't use installbsd from OSF since it installs stuff as root
3034 for ac_prog in ginstall scoinst install; do
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3037 if test $ac_prog = install &&
3038 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3039 # AIX install. It has an incompatible calling convention.
3041 elif test $ac_prog = install &&
3042 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3043 # program-specific install script used by HP pwplus--don't use.
3046 rm -rf conftest.one conftest.two conftest.dir
3047 echo one > conftest.one
3048 echo two > conftest.two
3050 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3051 test -s conftest.one && test -s conftest.two &&
3052 test -s conftest.dir/conftest.one &&
3053 test -s conftest.dir/conftest.two
3055 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3068 rm -rf conftest.one conftest.two conftest.dir
3071 if test "${ac_cv_path_install+set}" = set; then
3072 INSTALL=$ac_cv_path_install
3074 # As a last resort, use the slow shell script. Don't cache a
3075 # value for INSTALL within a source directory, because that will
3076 # break other packages using the cache if that directory is
3077 # removed, or if the value is a relative name.
3078 INSTALL=$ac_install_sh
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3082 $as_echo "$INSTALL" >&6; }
3084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3085 # It thinks the first close brace ends the variable substitution.
3086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3090 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3093 $as_echo_n "checking whether build environment is sane... " >&6; }
3096 echo timestamp > conftest.file
3097 # Reject unsafe characters in $srcdir or the absolute working directory
3098 # name. Accept space and tab only in the latter.
3102 *[\\\"\#\$\&\'\`$am_lf]*)
3103 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3106 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3107 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3110 # Do `set' in a subshell so we don't clobber the current shell's
3111 # arguments. Must try -L first in case configure is actually a
3112 # symlink; some systems play weird games with the mod time of symlinks
3113 # (eg FreeBSD returns the mod time of the symlink's containing
3116 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3117 if test "$*" = "X"; then
3119 set X `ls -t "$srcdir/configure" conftest.file`
3122 if test "$*" != "X $srcdir/configure conftest.file" \
3123 && test "$*" != "X conftest.file $srcdir/configure"; then
3125 # If neither matched, then we have a broken ls. This can happen
3126 # if, for instance, CONFIG_SHELL is bash and it inherits a
3127 # broken ls alias from the environment. This has actually
3128 # happened. Such a system could not be considered "sane".
3129 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3130 alias in your environment" "$LINENO" 5
3133 test "$2" = conftest.file
3139 as_fn_error $? "newly created file is older than distributed files!
3140 Check your system clock" "$LINENO" 5
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3143 $as_echo "yes" >&6; }
3144 test "$program_prefix" != NONE &&
3145 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3146 # Use a double $ so make ignores it.
3147 test "$program_suffix" != NONE &&
3148 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3149 # Double any \ or $.
3150 # By default was `s,x,x', remove it if useless.
3151 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3152 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3154 # expand $ac_aux_dir to an absolute path
3155 am_aux_dir=`cd $ac_aux_dir && pwd`
3157 if test x"${MISSING+set}" != xset; then
3160 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3162 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3165 # Use eval to expand $SHELL
3166 if eval "$MISSING --run true"; then
3167 am_missing_run="$MISSING --run "
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3171 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3174 if test x"${install_sh}" != xset; then
3177 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3179 install_sh="\${SHELL} $am_aux_dir/install-sh"
3183 # Installed binaries are usually stripped using `strip' when the user
3184 # run `make install-strip'. However `strip' might not be the right
3185 # tool to use in cross-compilation environments, therefore Automake
3186 # will honor the `STRIP' environment variable to overrule this program.
3187 if test "$cross_compiling" != no; then
3188 if test -n "$ac_tool_prefix"; then
3189 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3190 set dummy ${ac_tool_prefix}strip; ac_word=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if test "${ac_cv_prog_STRIP+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3196 if test -n "$STRIP"; then
3197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 STRIP=$ac_cv_prog_STRIP
3217 if test -n "$STRIP"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3219 $as_echo "$STRIP" >&6; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3227 if test -z "$ac_cv_prog_STRIP"; then
3229 # Extract the first word of "strip", so it can be a program name with args.
3230 set dummy strip; ac_word=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3234 $as_echo_n "(cached) " >&6
3236 if test -n "$ac_ct_STRIP"; then
3237 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir=.
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3246 ac_cv_prog_ac_ct_STRIP="strip"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3257 if test -n "$ac_ct_STRIP"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3259 $as_echo "$ac_ct_STRIP" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3265 if test "x$ac_ct_STRIP" = x; then
3268 case $cross_compiling:$ac_tool_warned in
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3272 ac_tool_warned=yes ;;
3277 STRIP="$ac_cv_prog_STRIP"
3281 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3284 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3285 if test -z "$MKDIR_P"; then
3286 if test "${ac_cv_path_mkdir+set}" = set; then :
3287 $as_echo_n "(cached) " >&6
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3293 test -z "$as_dir" && as_dir=.
3294 for ac_prog in mkdir gmkdir; do
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3297 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3298 'mkdir (GNU coreutils) '* | \
3299 'mkdir (coreutils) '* | \
3300 'mkdir (fileutils) '4.1*)
3301 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3311 test -d ./--version && rmdir ./--version
3312 if test "${ac_cv_path_mkdir+set}" = set; then
3313 MKDIR_P="$ac_cv_path_mkdir -p"
3315 # As a last resort, use the slow shell script. Don't cache a
3316 # value for MKDIR_P within a source directory, because that will
3317 # break other packages using the cache if that directory is
3318 # removed, or if the value is a relative name.
3319 MKDIR_P="$ac_install_sh -d"
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3323 $as_echo "$MKDIR_P" >&6; }
3327 [\\/$]* | ?:[\\/]*) ;;
3328 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3331 for ac_prog in gawk mawk nawk awk
3333 # Extract the first word of "$ac_prog", so it can be a program name with args.
3334 set dummy $ac_prog; ac_word=$2
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336 $as_echo_n "checking for $ac_word... " >&6; }
3337 if test "${ac_cv_prog_AWK+set}" = set; then :
3338 $as_echo_n "(cached) " >&6
3340 if test -n "$AWK"; then
3341 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 test -z "$as_dir" && as_dir=.
3348 for ac_exec_ext in '' $ac_executable_extensions; do
3349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3350 ac_cv_prog_AWK="$ac_prog"
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361 if test -n "$AWK"; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3363 $as_echo "$AWK" >&6; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366 $as_echo "no" >&6; }
3370 test -n "$AWK" && break
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3374 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3376 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3377 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3378 $as_echo_n "(cached) " >&6
3380 cat >conftest.make <<\_ACEOF
3383 @echo '@@@%%%=$(MAKE)=@@@%%%'
3385 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3386 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3388 eval ac_cv_prog_make_${ac_make}_set=yes;;
3390 eval ac_cv_prog_make_${ac_make}_set=no;;
3394 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3396 $as_echo "yes" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3401 SET_MAKE="MAKE=${MAKE-make}"
3404 rm -rf .tst 2>/dev/null
3405 mkdir .tst 2>/dev/null
3406 if test -d .tst; then
3411 rmdir .tst 2>/dev/null
3413 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3414 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3415 # is not polluted with repeated "-I."
3416 am__isrc=' -I$(srcdir)'
3417 # test to see if srcdir already configured
3418 if test -f $srcdir/config.status; then
3419 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3423 # test whether we have cygpath
3424 if test -z "$CYGPATH_W"; then
3425 if (cygpath --version) >/dev/null 2>/dev/null; then
3426 CYGPATH_W='cygpath -w'
3433 # Define the identity of the package.
3434 PACKAGE='xmltooling'
3438 cat >>confdefs.h <<_ACEOF
3439 #define PACKAGE "$PACKAGE"
3443 cat >>confdefs.h <<_ACEOF
3444 #define VERSION "$VERSION"
3447 # Some tools Automake needs.
3449 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3452 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3455 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3458 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3461 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3463 # We need awk for the "check" target. The system "awk" is bad on
3465 # Always define AMTAR for backward compatibility.
3467 AMTAR=${AMTAR-"${am_missing_run}tar"}
3469 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3475 # Check whether --enable-static was given.
3476 if test "${enable_static+set}" = set; then :
3477 enableval=$enable_static; p=${PACKAGE-default}
3479 yes) enable_static=yes ;;
3480 no) enable_static=no ;;
3483 # Look at the argument we got. We use all the common list separators.
3484 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3485 for pkg in $enableval; do
3487 if test "X$pkg" = "X$p"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3509 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3514 macro_version='2.2.6b'
3515 macro_revision='1.3017'
3529 ltmain="$ac_aux_dir/ltmain.sh"
3531 # Make sure we can run config.sub.
3532 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3533 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3536 $as_echo_n "checking build system type... " >&6; }
3537 if test "${ac_cv_build+set}" = set; then :
3538 $as_echo_n "(cached) " >&6
3540 ac_build_alias=$build_alias
3541 test "x$ac_build_alias" = x &&
3542 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3543 test "x$ac_build_alias" = x &&
3544 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3545 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3546 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3550 $as_echo "$ac_cv_build" >&6; }
3551 case $ac_cv_build in
3553 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3556 ac_save_IFS=$IFS; IFS='-'
3562 # Remember, the first character of IFS is used to create $*,
3563 # except with old shells:
3566 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3570 $as_echo_n "checking host system type... " >&6; }
3571 if test "${ac_cv_host+set}" = set; then :
3572 $as_echo_n "(cached) " >&6
3574 if test "x$host_alias" = x; then
3575 ac_cv_host=$ac_cv_build
3577 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3578 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3583 $as_echo "$ac_cv_host" >&6; }
3586 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3589 ac_save_IFS=$IFS; IFS='-'
3595 # Remember, the first character of IFS is used to create $*,
3596 # except with old shells:
3599 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3602 DEPDIR="${am__leading_dot}deps"
3604 ac_config_commands="$ac_config_commands depfiles"
3607 am_make=${MAKE-make}
3608 cat > confinc << 'END'
3610 @echo this is the am__doit target
3613 # If we don't find an include directive, just comment out the code.
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3615 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3619 # First try GNU make style include.
3620 echo "include confinc" > confmf
3621 # Ignore all kinds of additional output from `make'.
3622 case `$am_make -s -f confmf 2> /dev/null` in #(
3623 *the\ am__doit\ target*)
3629 # Now try BSD make style include.
3630 if test "$am__include" = "#"; then
3631 echo '.include "confinc"' > confmf
3632 case `$am_make -s -f confmf 2> /dev/null` in #(
3633 *the\ am__doit\ target*)
3634 am__include=.include
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3643 $as_echo "$_am_result" >&6; }
3644 rm -f confinc confmf
3646 # Check whether --enable-dependency-tracking was given.
3647 if test "${enable_dependency_tracking+set}" = set; then :
3648 enableval=$enable_dependency_tracking;
3651 if test "x$enable_dependency_tracking" != xno; then
3652 am_depcomp="$ac_aux_dir/depcomp"
3655 if test "x$enable_dependency_tracking" != xno; then
3665 ac_cpp='$CPP $CPPFLAGS'
3666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if test "${ac_cv_prog_CC+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3708 if test -z "$ac_cv_prog_CC"; then
3710 # Extract the first word of "gcc", so it can be a program name with args.
3711 set dummy gcc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$ac_ct_CC"; then
3718 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3727 ac_cv_prog_ac_ct_CC="gcc"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3738 if test -n "$ac_ct_CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3740 $as_echo "$ac_ct_CC" >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3746 if test "x$ac_ct_CC" = x; then
3749 case $cross_compiling:$ac_tool_warned in
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3753 ac_tool_warned=yes ;;
3761 if test -z "$CC"; then
3762 if test -n "$ac_tool_prefix"; then
3763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3764 set dummy ${ac_tool_prefix}cc; ac_word=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if test "${ac_cv_prog_CC+set}" = set; then :
3768 $as_echo_n "(cached) " >&6
3770 if test -n "$CC"; then
3771 ac_cv_prog_CC="$CC" # Let the user override the test.
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir=.
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780 ac_cv_prog_CC="${ac_tool_prefix}cc"
3781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 if test -n "$CC"; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3793 $as_echo "$CC" >&6; }
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 $as_echo "no" >&6; }
3802 if test -z "$CC"; then
3803 # Extract the first word of "cc", so it can be a program name with args.
3804 set dummy cc; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if test "${ac_cv_prog_CC+set}" = set; then :
3808 $as_echo_n "(cached) " >&6
3810 if test -n "$CC"; then
3811 ac_cv_prog_CC="$CC" # Let the user override the test.
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir=.
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3822 ac_prog_rejected=yes
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 if test $ac_prog_rejected = yes; then
3834 # We found a bogon in the path, so make sure we never use it.
3835 set dummy $ac_cv_prog_CC
3837 if test $# != 0; then
3838 # We chose a different compiler from the bogus one.
3839 # However, it has the same basename, so the bogon will be chosen
3840 # first if we set CC to just the basename; use the full file name.
3842 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3848 if test -n "$CC"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3850 $as_echo "$CC" >&6; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3858 if test -z "$CC"; then
3859 if test -n "$ac_tool_prefix"; then
3860 for ac_prog in cl.exe
3862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3865 $as_echo_n "checking for $ac_word... " >&6; }
3866 if test "${ac_cv_prog_CC+set}" = set; then :
3867 $as_echo_n "(cached) " >&6
3869 if test -n "$CC"; then
3870 ac_cv_prog_CC="$CC" # Let the user override the test.
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876 test -z "$as_dir" && as_dir=.
3877 for ac_exec_ext in '' $ac_executable_extensions; do
3878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3879 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 if test -n "$CC"; then
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3892 $as_echo "$CC" >&6; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3895 $as_echo "no" >&6; }
3899 test -n "$CC" && break
3902 if test -z "$CC"; then
3904 for ac_prog in cl.exe
3906 # Extract the first word of "$ac_prog", so it can be a program name with args.
3907 set dummy $ac_prog; ac_word=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3911 $as_echo_n "(cached) " >&6
3913 if test -n "$ac_ct_CC"; then
3914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920 test -z "$as_dir" && as_dir=.
3921 for ac_exec_ext in '' $ac_executable_extensions; do
3922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923 ac_cv_prog_ac_ct_CC="$ac_prog"
3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3934 if test -n "$ac_ct_CC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3936 $as_echo "$ac_ct_CC" >&6; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3943 test -n "$ac_ct_CC" && break
3946 if test "x$ac_ct_CC" = x; then
3949 case $cross_compiling:$ac_tool_warned in
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3953 ac_tool_warned=yes ;;
3962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3964 as_fn_error $? "no acceptable C compiler found in \$PATH
3965 See \`config.log' for more details" "$LINENO" 5 ; }
3967 # Provide some information about the compiler.
3968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3971 for ac_option in --version -v -V -qversion; do
3972 { { ac_try="$ac_compiler $ac_option >&5"
3974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3978 $as_echo "$ac_try_echo"; } >&5
3979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3981 if test -s conftest.err; then
3983 ... rest of stderr output deleted ...
3984 10q' conftest.err >conftest.er1
3985 cat conftest.er1 >&5
3987 rm -f conftest.er1 conftest.err
3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989 test $ac_status = 0; }
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
4003 ac_clean_files_save=$ac_clean_files
4004 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4005 # Try to create an executable without -o first, disregard a.out.
4006 # It will help us diagnose broken compilers, and finding out an intuition
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4009 $as_echo_n "checking whether the C compiler works... " >&6; }
4010 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4012 # The possible output files:
4013 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4016 for ac_file in $ac_files
4019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4020 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4025 if { { ac_try="$ac_link_default"
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_link_default") 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }; then :
4036 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4037 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4038 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4039 # so that the user can short-circuit this test for compilers unknown to
4041 for ac_file in $ac_files ''
4043 test -f "$ac_file" || continue
4045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4048 # We found the default executable, but exeext='' is most
4052 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4054 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4056 # We set ac_cv_exeext here because the later test for it is not
4057 # safe: cross compilers may not add the suffix if given an `-o'
4058 # argument, so we may need to know it at that point already.
4059 # Even if this section looks crufty: it has the advantage of
4066 test "$ac_cv_exeext" = no && ac_cv_exeext=
4071 if test -z "$ac_file"; then :
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4074 $as_echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.$ac_ext >&5
4077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4079 as_fn_error 77 "C compiler cannot create executables
4080 See \`config.log' for more details" "$LINENO" 5 ; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4083 $as_echo "yes" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4086 $as_echo_n "checking for C compiler default output file name... " >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4088 $as_echo "$ac_file" >&6; }
4089 ac_exeext=$ac_cv_exeext
4091 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4092 ac_clean_files=$ac_clean_files_save
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4094 $as_echo_n "checking for suffix of executables... " >&6; }
4095 if { { ac_try="$ac_link"
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_link") 2>&5
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; then :
4106 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4107 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4108 # work properly (i.e., refer to `conftest.exe'), while it won't with
4110 for ac_file in conftest.exe conftest conftest.*; do
4111 test -f "$ac_file" || continue
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4114 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4123 See \`config.log' for more details" "$LINENO" 5 ; }
4125 rm -f conftest conftest$ac_cv_exeext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4127 $as_echo "$ac_cv_exeext" >&6; }
4129 rm -f conftest.$ac_ext
4130 EXEEXT=$ac_cv_exeext
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4138 FILE *f = fopen ("conftest.out", "w");
4139 return ferror (f) || fclose (f) != 0;
4145 ac_clean_files="$ac_clean_files conftest.out"
4146 # Check that the compiler produces executables we can run. If not, either
4147 # the compiler is broken, or we cross compile.
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4149 $as_echo_n "checking whether we are cross compiling... " >&6; }
4150 if test "$cross_compiling" != yes; then
4151 { { ac_try="$ac_link"
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4157 $as_echo "$ac_try_echo"; } >&5
4158 (eval "$ac_link") 2>&5
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }
4162 if { ac_try='./conftest$ac_cv_exeext'
4163 { { case "(($ac_try" in
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$ac_try_echo"; } >&5
4169 (eval "$ac_try") 2>&5
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }; }; then
4175 if test "$cross_compiling" = maybe; then
4178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4180 as_fn_error $? "cannot run C compiled programs.
4181 If you meant to cross compile, use \`--host'.
4182 See \`config.log' for more details" "$LINENO" 5 ; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4187 $as_echo "$cross_compiling" >&6; }
4189 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4190 ac_clean_files=$ac_clean_files_save
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4192 $as_echo_n "checking for suffix of object files... " >&6; }
4193 if test "${ac_cv_objext+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 rm -f conftest.o conftest.obj
4208 if { { ac_try="$ac_compile"
4210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4211 *) ac_try_echo=$ac_try;;
4213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4214 $as_echo "$ac_try_echo"; } >&5
4215 (eval "$ac_compile") 2>&5
4217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4218 test $ac_status = 0; }; then :
4219 for ac_file in conftest.o conftest.obj conftest.*; do
4220 test -f "$ac_file" || continue;
4222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4223 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4228 $as_echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4233 as_fn_error $? "cannot compute suffix of object files: cannot compile
4234 See \`config.log' for more details" "$LINENO" 5 ; }
4236 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4239 $as_echo "$ac_cv_objext" >&6; }
4240 OBJEXT=$ac_cv_objext
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4243 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4244 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4245 $as_echo_n "(cached) " >&6
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4261 if ac_fn_c_try_compile "$LINENO"; then :
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4267 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4271 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4272 if test $ac_compiler_gnu = yes; then
4277 ac_test_CFLAGS=${CFLAGS+set}
4278 ac_save_CFLAGS=$CFLAGS
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4280 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4281 if test "${ac_cv_prog_cc_g+set}" = set; then :
4282 $as_echo_n "(cached) " >&6
4284 ac_save_c_werror_flag=$ac_c_werror_flag
4285 ac_c_werror_flag=yes
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4299 if ac_fn_c_try_compile "$LINENO"; then :
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4314 if ac_fn_c_try_compile "$LINENO"; then :
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4330 if ac_fn_c_try_compile "$LINENO"; then :
4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4338 ac_c_werror_flag=$ac_save_c_werror_flag
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4341 $as_echo "$ac_cv_prog_cc_g" >&6; }
4342 if test "$ac_test_CFLAGS" = set; then
4343 CFLAGS=$ac_save_CFLAGS
4344 elif test $ac_cv_prog_cc_g = yes; then
4345 if test "$GCC" = yes; then
4351 if test "$GCC" = yes; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4358 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4359 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4362 ac_cv_prog_cc_c89=no
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4368 #include <sys/types.h>
4369 #include <sys/stat.h>
4370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4371 struct buf { int x; };
4372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4373 static char *e (p, i)
4379 static char *f (char * (*g) (char **, int), char **p, ...)
4384 s = g (p, va_arg (v,int));
4389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4390 function prototypes and stuff, but not '\xHH' hex character constants.
4391 These don't provoke an error unfortunately, instead are silently treated
4392 as 'x'. The following induces an error, until -std is added to get
4393 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4394 array size at least. It's necessary to write '\x00'==0 to get something
4395 that's true only with -std. */
4396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4398 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4399 inside strings and character constants. */
4401 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4403 int test (int i, double x);
4404 struct s1 {int (*f) (int a);};
4405 struct s2 {int (*f) (double a);};
4406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4412 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4417 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4418 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4420 CC="$ac_save_CC $ac_arg"
4421 if ac_fn_c_try_compile "$LINENO"; then :
4422 ac_cv_prog_cc_c89=$ac_arg
4424 rm -f core conftest.err conftest.$ac_objext
4425 test "x$ac_cv_prog_cc_c89" != "xno" && break
4427 rm -f conftest.$ac_ext
4432 case "x$ac_cv_prog_cc_c89" in
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4435 $as_echo "none needed" >&6; } ;;
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4438 $as_echo "unsupported" >&6; } ;;
4440 CC="$CC $ac_cv_prog_cc_c89"
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4442 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4444 if test "x$ac_cv_prog_cc_c89" != xno; then :
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4454 depcc="$CC" am_compiler_list=
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4457 $as_echo_n "checking dependency style of $depcc... " >&6; }
4458 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4462 # We make a subdir and do the tests there. Otherwise we can end up
4463 # making bogus files that we don't know about and never remove. For
4464 # instance it was reported that on HP-UX the gcc test will end up
4465 # making a dummy file named `D' -- because `-MD' means `put the output
4468 # Copy depcomp to subdir because otherwise we won't find it if we're
4469 # using a relative directory.
4470 cp "$am_depcomp" conftest.dir
4472 # We will build objects and dependencies in a subdirectory because
4473 # it helps to detect inapplicable dependency modes. For instance
4474 # both Tru64's cc and ICC support -MD to output dependencies as a
4475 # side effect of compilation, but ICC will put the dependencies in
4476 # the current directory while Tru64 will put them in the object
4480 am_cv_CC_dependencies_compiler_type=none
4481 if test "$am_compiler_list" = ""; then
4482 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4485 case " $depcc " in #(
4486 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4489 for depmode in $am_compiler_list; do
4490 # Setup a source with many dependencies, because some compilers
4491 # like to wrap large dependency lists on column 80 (with \), and
4492 # we should not choose a depcomp mode which is confused by this.
4494 # We need to recreate these files for each test, as the compiler may
4495 # overwrite some of them when testing with obscure command lines.
4496 # This happens at least with the AIX C compiler.
4498 for i in 1 2 3 4 5 6; do
4499 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4500 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4501 # Solaris 8's {/usr,}/bin/sh.
4502 touch sub/conftst$i.h
4504 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4506 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4507 # mode. It turns out that the SunPro C++ compiler does not properly
4508 # handle `-M -o', and we need to detect this. Also, some Intel
4509 # versions had trouble with output in subdirs
4510 am__obj=sub/conftest.${OBJEXT-o}
4511 am__minus_obj="-o $am__obj"
4514 # This depmode causes a compiler race in universal mode.
4515 test "$am__universal" = false || continue
4518 # after this tag, mechanisms are not by side-effect, so they'll
4519 # only be used when explicitly requested
4520 if test "x$enable_dependency_tracking" = xyes; then
4526 msvisualcpp | msvcmsys)
4527 # This compiler won't grok `-c -o', but also, the minuso test has
4528 # not run yet. These depmodes are late enough in the game, and
4529 # so weak that their functioning should not be impacted.
4530 am__obj=conftest.${OBJEXT-o}
4535 if depmode=$depmode \
4536 source=sub/conftest.c object=$am__obj \
4537 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4538 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4539 >/dev/null 2>conftest.err &&
4540 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4541 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4542 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4543 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4544 # icc doesn't choke on unknown options, it will just issue warnings
4545 # or remarks (even with -Werror). So we grep stderr for any message
4546 # that says an option was ignored or not supported.
4547 # When given -MP, icc 7.0 and 7.1 complain thusly:
4548 # icc: Command line warning: ignoring option '-M'; no argument required
4549 # The diagnosis changed in icc 8.0:
4550 # icc: Command line remark: option '-MP' not supported
4551 if (grep 'ignoring option' conftest.err ||
4552 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4553 am_cv_CC_dependencies_compiler_type=$depmode
4562 am_cv_CC_dependencies_compiler_type=none
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4567 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4568 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4571 test "x$enable_dependency_tracking" != xno \
4572 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4574 am__fastdepCC_FALSE='#'
4576 am__fastdepCC_TRUE='#'
4577 am__fastdepCC_FALSE=
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4582 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4583 if test "${ac_cv_path_SED+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4586 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4587 for ac_i in 1 2 3 4 5 6 7; do
4588 ac_script="$ac_script$as_nl$ac_script"
4590 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4591 { ac_script=; unset ac_script;}
4592 if test -z "$SED"; then
4593 ac_path_SED_found=false
4594 # Loop through the user's path and test for each of PROGNAME-LIST
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 test -z "$as_dir" && as_dir=.
4600 for ac_prog in sed gsed; do
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4603 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4604 # Check for GNU ac_path_SED and select it if it is found.
4605 # Check for GNU $ac_path_SED
4606 case `"$ac_path_SED" --version 2>&1` in
4608 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4611 $as_echo_n 0123456789 >"conftest.in"
4614 cat "conftest.in" "conftest.in" >"conftest.tmp"
4615 mv "conftest.tmp" "conftest.in"
4616 cp "conftest.in" "conftest.nl"
4617 $as_echo '' >> "conftest.nl"
4618 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4619 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4620 as_fn_arith $ac_count + 1 && ac_count=$as_val
4621 if test $ac_count -gt ${ac_path_SED_max-0}; then
4622 # Best one so far, save it but keep looking for a better one
4623 ac_cv_path_SED="$ac_path_SED"
4624 ac_path_SED_max=$ac_count
4626 # 10*(2^10) chars as input seems more than enough
4627 test $ac_count -gt 10 && break
4629 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4632 $ac_path_SED_found && break 3
4637 if test -z "$ac_cv_path_SED"; then
4638 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4646 $as_echo "$ac_cv_path_SED" >&6; }
4647 SED="$ac_cv_path_SED"
4650 test -z "$SED" && SED=sed
4651 Xsed="$SED -e 1s/^X//"
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4664 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4665 if test "${ac_cv_path_GREP+set}" = set; then :
4666 $as_echo_n "(cached) " >&6
4668 if test -z "$GREP"; then
4669 ac_path_GREP_found=false
4670 # Loop through the user's path and test for each of PROGNAME-LIST
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4675 test -z "$as_dir" && as_dir=.
4676 for ac_prog in grep ggrep; do
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4679 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4680 # Check for GNU ac_path_GREP and select it if it is found.
4681 # Check for GNU $ac_path_GREP
4682 case `"$ac_path_GREP" --version 2>&1` in
4684 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4687 $as_echo_n 0123456789 >"conftest.in"
4690 cat "conftest.in" "conftest.in" >"conftest.tmp"
4691 mv "conftest.tmp" "conftest.in"
4692 cp "conftest.in" "conftest.nl"
4693 $as_echo 'GREP' >> "conftest.nl"
4694 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4695 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4696 as_fn_arith $ac_count + 1 && ac_count=$as_val
4697 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4698 # Best one so far, save it but keep looking for a better one
4699 ac_cv_path_GREP="$ac_path_GREP"
4700 ac_path_GREP_max=$ac_count
4702 # 10*(2^10) chars as input seems more than enough
4703 test $ac_count -gt 10 && break
4705 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4708 $ac_path_GREP_found && break 3
4713 if test -z "$ac_cv_path_GREP"; then
4714 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4717 ac_cv_path_GREP=$GREP
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4722 $as_echo "$ac_cv_path_GREP" >&6; }
4723 GREP="$ac_cv_path_GREP"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4727 $as_echo_n "checking for egrep... " >&6; }
4728 if test "${ac_cv_path_EGREP+set}" = set; then :
4729 $as_echo_n "(cached) " >&6
4731 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4732 then ac_cv_path_EGREP="$GREP -E"
4734 if test -z "$EGREP"; then
4735 ac_path_EGREP_found=false
4736 # Loop through the user's path and test for each of PROGNAME-LIST
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4741 test -z "$as_dir" && as_dir=.
4742 for ac_prog in egrep; do
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4745 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4746 # Check for GNU ac_path_EGREP and select it if it is found.
4747 # Check for GNU $ac_path_EGREP
4748 case `"$ac_path_EGREP" --version 2>&1` in
4750 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4753 $as_echo_n 0123456789 >"conftest.in"
4756 cat "conftest.in" "conftest.in" >"conftest.tmp"
4757 mv "conftest.tmp" "conftest.in"
4758 cp "conftest.in" "conftest.nl"
4759 $as_echo 'EGREP' >> "conftest.nl"
4760 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4762 as_fn_arith $ac_count + 1 && ac_count=$as_val
4763 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4764 # Best one so far, save it but keep looking for a better one
4765 ac_cv_path_EGREP="$ac_path_EGREP"
4766 ac_path_EGREP_max=$ac_count
4768 # 10*(2^10) chars as input seems more than enough
4769 test $ac_count -gt 10 && break
4771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4774 $ac_path_EGREP_found && break 3
4779 if test -z "$ac_cv_path_EGREP"; then
4780 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783 ac_cv_path_EGREP=$EGREP
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4789 $as_echo "$ac_cv_path_EGREP" >&6; }
4790 EGREP="$ac_cv_path_EGREP"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4794 $as_echo_n "checking for fgrep... " >&6; }
4795 if test "${ac_cv_path_FGREP+set}" = set; then :
4796 $as_echo_n "(cached) " >&6
4798 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4799 then ac_cv_path_FGREP="$GREP -F"
4801 if test -z "$FGREP"; then
4802 ac_path_FGREP_found=false
4803 # Loop through the user's path and test for each of PROGNAME-LIST
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4808 test -z "$as_dir" && as_dir=.
4809 for ac_prog in fgrep; do
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4812 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4813 # Check for GNU ac_path_FGREP and select it if it is found.
4814 # Check for GNU $ac_path_FGREP
4815 case `"$ac_path_FGREP" --version 2>&1` in
4817 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4820 $as_echo_n 0123456789 >"conftest.in"
4823 cat "conftest.in" "conftest.in" >"conftest.tmp"
4824 mv "conftest.tmp" "conftest.in"
4825 cp "conftest.in" "conftest.nl"
4826 $as_echo 'FGREP' >> "conftest.nl"
4827 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4828 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4829 as_fn_arith $ac_count + 1 && ac_count=$as_val
4830 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4831 # Best one so far, save it but keep looking for a better one
4832 ac_cv_path_FGREP="$ac_path_FGREP"
4833 ac_path_FGREP_max=$ac_count
4835 # 10*(2^10) chars as input seems more than enough
4836 test $ac_count -gt 10 && break
4838 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4841 $ac_path_FGREP_found && break 3
4846 if test -z "$ac_cv_path_FGREP"; then
4847 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4850 ac_cv_path_FGREP=$FGREP
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4856 $as_echo "$ac_cv_path_FGREP" >&6; }
4857 FGREP="$ac_cv_path_FGREP"
4860 test -z "$GREP" && GREP=grep
4880 # Check whether --with-gnu-ld was given.
4881 if test "${with_gnu_ld+set}" = set; then :
4882 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4888 if test "$GCC" = yes; then
4889 # Check if gcc -print-prog-name=ld gives a path.
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4891 $as_echo_n "checking for ld used by $CC... " >&6; }
4894 # gcc leaves a trailing carriage return which upsets mingw
4895 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4897 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4900 # Accept absolute paths.
4902 re_direlt='/[^/][^/]*/\.\./'
4903 # Canonicalize the pathname of ld
4904 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4905 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4906 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4908 test -z "$LD" && LD="$ac_prog"
4911 # If it fails, then pretend we aren't using GCC.
4915 # If it is relative, then search for the first ld in PATH.
4919 elif test "$with_gnu_ld" = yes; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4921 $as_echo_n "checking for GNU ld... " >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4924 $as_echo_n "checking for non-GNU ld... " >&6; }
4926 if test "${lt_cv_path_LD+set}" = set; then :
4927 $as_echo_n "(cached) " >&6
4929 if test -z "$LD"; then
4930 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4931 for ac_dir in $PATH; do
4933 test -z "$ac_dir" && ac_dir=.
4934 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4935 lt_cv_path_LD="$ac_dir/$ac_prog"
4936 # Check to see if the program is GNU ld. I'd rather use --version,
4937 # but apparently some variants of GNU ld only accept -v.
4938 # Break only if it was the GNU/non-GNU ld that we prefer.
4939 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4940 *GNU* | *'with BFD'*)
4941 test "$with_gnu_ld" != no && break
4944 test "$with_gnu_ld" != yes && break
4951 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4956 if test -n "$LD"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4958 $as_echo "$LD" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4963 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4965 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4966 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4970 case `$LD -v 2>&1 </dev/null` in
4971 *GNU* | *'with BFD'*)
4972 lt_cv_prog_gnu_ld=yes
4975 lt_cv_prog_gnu_ld=no
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4980 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4981 with_gnu_ld=$lt_cv_prog_gnu_ld
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4992 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4993 if test "${lt_cv_path_NM+set}" = set; then :
4994 $as_echo_n "(cached) " >&6
4996 if test -n "$NM"; then
4997 # Let the user override the test.
5000 lt_nm_to_check="${ac_tool_prefix}nm"
5001 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5002 lt_nm_to_check="$lt_nm_to_check nm"
5004 for lt_tmp_nm in $lt_nm_to_check; do
5005 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5006 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5008 test -z "$ac_dir" && ac_dir=.
5009 tmp_nm="$ac_dir/$lt_tmp_nm"
5010 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5011 # Check to see if the nm accepts a BSD-compat flag.
5012 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5013 # nm: unknown option "B" ignored
5014 # Tru64's nm complains that /dev/null is an invalid object file
5015 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5016 */dev/null* | *'Invalid file or object type'*)
5017 lt_cv_path_NM="$tmp_nm -B"
5021 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5023 lt_cv_path_NM="$tmp_nm -p"
5027 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5028 continue # so that we can try to find one that supports BSD flags
5037 : ${lt_cv_path_NM=no}
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5041 $as_echo "$lt_cv_path_NM" >&6; }
5042 if test "$lt_cv_path_NM" != "no"; then
5045 # Didn't find any BSD compatible name lister, look for dumpbin.
5046 if test -n "$ac_tool_prefix"; then
5047 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -n "$DUMPBIN"; then
5057 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 DUMPBIN=$ac_cv_prog_DUMPBIN
5077 if test -n "$DUMPBIN"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5079 $as_echo "$DUMPBIN" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5086 test -n "$DUMPBIN" && break
5089 if test -z "$DUMPBIN"; then
5090 ac_ct_DUMPBIN=$DUMPBIN
5091 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5093 # Extract the first word of "$ac_prog", so it can be a program name with args.
5094 set dummy $ac_prog; ac_word=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$ac_ct_DUMPBIN"; then
5101 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 test -z "$as_dir" && as_dir=.
5108 for ac_exec_ext in '' $ac_executable_extensions; do
5109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5110 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5121 if test -n "$ac_ct_DUMPBIN"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5123 $as_echo "$ac_ct_DUMPBIN" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5130 test -n "$ac_ct_DUMPBIN" && break
5133 if test "x$ac_ct_DUMPBIN" = x; then
5136 case $cross_compiling:$ac_tool_warned in
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5140 ac_tool_warned=yes ;;
5142 DUMPBIN=$ac_ct_DUMPBIN
5147 if test "$DUMPBIN" != ":"; then
5151 test -z "$NM" && NM=nm
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5159 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5160 if test "${lt_cv_nm_interface+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5163 lt_cv_nm_interface="BSD nm"
5164 echo "int some_variable = 0;" > conftest.$ac_ext
5165 (eval echo "\"\$as_me:5165: $ac_compile\"" >&5)
5166 (eval "$ac_compile" 2>conftest.err)
5167 cat conftest.err >&5
5168 (eval echo "\"\$as_me:5168: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5169 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5170 cat conftest.err >&5
5171 (eval echo "\"\$as_me:5171: output\"" >&5)
5172 cat conftest.out >&5
5173 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5174 lt_cv_nm_interface="MS dumpbin"
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5179 $as_echo "$lt_cv_nm_interface" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5182 $as_echo_n "checking whether ln -s works... " >&6; }
5184 if test "$LN_S" = "ln -s"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5186 $as_echo "yes" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5189 $as_echo "no, using $LN_S" >&6; }
5192 # find the maximum length of command line arguments
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5194 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5195 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5196 $as_echo_n "(cached) " >&6
5203 # On DJGPP, this test can blow up pretty badly due to problems in libc
5204 # (any single argument exceeding 2000 bytes causes a buffer overrun
5205 # during glob expansion). Even if it were fixed, the result of this
5206 # check would be larger than it should be.
5207 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5211 # Under GNU Hurd, this test is not required because there is
5212 # no limit to the length of command line arguments.
5213 # Libtool will interpret -1 as no limit whatsoever
5214 lt_cv_sys_max_cmd_len=-1;
5217 cygwin* | mingw* | cegcc*)
5218 # On Win9x/ME, this test blows up -- it succeeds, but takes
5219 # about 5 minutes as the teststring grows exponentially.
5220 # Worse, since 9x/ME are not pre-emptively multitasking,
5221 # you end up with a "frozen" computer, even though with patience
5222 # the test eventually succeeds (with a max line length of 256k).
5223 # Instead, let's just punt: use the minimum linelength reported by
5224 # all of the supported platforms: 8192 (on NT/2K/XP).
5225 lt_cv_sys_max_cmd_len=8192;
5229 # On AmigaOS with pdksh, this test takes hours, literally.
5230 # So we just punt and use a minimum line length of 8192.
5231 lt_cv_sys_max_cmd_len=8192;
5234 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5235 # This has been around since 386BSD, at least. Likely further.
5236 if test -x /sbin/sysctl; then
5237 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5238 elif test -x /usr/sbin/sysctl; then
5239 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5241 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5243 # And add a safety zone
5244 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5245 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5249 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5250 lt_cv_sys_max_cmd_len=196608
5254 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5255 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5256 # nice to cause kernel panics so lets avoid the loop below.
5257 # First set a reasonable default.
5258 lt_cv_sys_max_cmd_len=16384
5260 if test -x /sbin/sysconfig; then
5261 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5262 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5267 lt_cv_sys_max_cmd_len=102400
5269 sysv5* | sco5v6* | sysv4.2uw2*)
5270 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5271 if test -n "$kargmax"; then
5272 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5274 lt_cv_sys_max_cmd_len=32768
5278 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5279 if test -n "$lt_cv_sys_max_cmd_len"; then
5280 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5281 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5283 # Make teststring a little bigger before we do anything with it.
5284 # a 1K string should be a reasonable start.
5285 for i in 1 2 3 4 5 6 7 8 ; do
5286 teststring=$teststring$teststring
5288 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5289 # If test is not a shell built-in, we'll probably end up computing a
5290 # maximum length that is only half of the actual maximum length, but
5292 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5293 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5294 test $i != 17 # 1/2 MB should be enough
5297 teststring=$teststring$teststring
5299 # Only check the string length outside the loop.
5300 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5302 # Add a significant safety factor because C++ compilers can tack on
5303 # massive amounts of additional arguments before passing them to the
5304 # linker. It appears as though 1/2 is a usable value.
5305 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5312 if test -n $lt_cv_sys_max_cmd_len ; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5314 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5317 $as_echo "none" >&6; }
5319 max_cmd_len=$lt_cv_sys_max_cmd_len
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5331 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5332 # Try some XSI features
5335 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5337 && eval 'test $(( 1 + 1 )) -eq 2 \
5338 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5341 $as_echo "$xsi_shell" >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5345 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5347 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5349 && lt_shell_append=yes
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5351 $as_echo "$lt_shell_append" >&6; }
5354 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5364 # test EBCDIC or ASCII
5365 case `echo X|tr X '\101'` in
5366 A) # ASCII based system
5367 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5368 lt_SP2NL='tr \040 \012'
5369 lt_NL2SP='tr \015\012 \040\040'
5371 *) # EBCDIC based system
5372 lt_SP2NL='tr \100 \n'
5373 lt_NL2SP='tr \r\n \100\100'
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5386 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5387 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5388 $as_echo_n "(cached) " >&6
5390 lt_cv_ld_reload_flag='-r'
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5393 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5394 reload_flag=$lt_cv_ld_reload_flag
5395 case $reload_flag in
5397 *) reload_flag=" $reload_flag" ;;
5399 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5402 if test "$GCC" = yes; then
5403 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5405 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5424 $as_echo_n "(cached) " >&6
5426 if test -n "$OBJDUMP"; then
5427 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 OBJDUMP=$ac_cv_prog_OBJDUMP
5447 if test -n "$OBJDUMP"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5449 $as_echo "$OBJDUMP" >&6; }
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_OBJDUMP"; then
5458 ac_ct_OBJDUMP=$OBJDUMP
5459 # Extract the first word of "objdump", so it can be a program name with args.
5460 set dummy objdump; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -n "$ac_ct_OBJDUMP"; then
5467 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5476 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5487 if test -n "$ac_ct_OBJDUMP"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5489 $as_echo "$ac_ct_OBJDUMP" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_OBJDUMP" = x; then
5498 case $cross_compiling:$ac_tool_warned in
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5504 OBJDUMP=$ac_ct_OBJDUMP
5507 OBJDUMP="$ac_cv_prog_OBJDUMP"
5510 test -z "$OBJDUMP" && OBJDUMP=objdump
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5521 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5522 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5523 $as_echo_n "(cached) " >&6
5525 lt_cv_file_magic_cmd='$MAGIC_CMD'
5526 lt_cv_file_magic_test_file=
5527 lt_cv_deplibs_check_method='unknown'
5528 # Need to set the preceding variable on all platforms that support
5529 # interlibrary dependencies.
5530 # 'none' -- dependencies not supported.
5531 # `unknown' -- same as none, but documents that we really don't know.
5532 # 'pass_all' -- all dependencies passed with no checks.
5533 # 'test_compile' -- check by making test program.
5534 # 'file_magic [[regex]]' -- check by looking for files in library path
5535 # which responds to the $file_magic_cmd with a given extended regex.
5536 # If you have `file' or equivalent on your system and you're not sure
5537 # whether `pass_all' will *always* work, you probably want this one.
5541 lt_cv_deplibs_check_method=pass_all
5545 lt_cv_deplibs_check_method=pass_all
5549 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5550 lt_cv_file_magic_cmd='/usr/bin/file -L'
5551 lt_cv_file_magic_test_file=/shlib/libc.so
5555 # func_win32_libid is a shell function defined in ltmain.sh
5556 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5557 lt_cv_file_magic_cmd='func_win32_libid'
5561 # Base MSYS/MinGW do not provide the 'file' command needed by
5562 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5563 # unless we find 'file', for example because we are cross-compiling.
5564 if ( file / ) >/dev/null 2>&1; then
5565 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5566 lt_cv_file_magic_cmd='func_win32_libid'
5568 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5569 lt_cv_file_magic_cmd='$OBJDUMP -f'
5574 # use the weaker test based on 'objdump'. See mingw*.
5575 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5576 lt_cv_file_magic_cmd='$OBJDUMP -f'
5579 darwin* | rhapsody*)
5580 lt_cv_deplibs_check_method=pass_all
5583 freebsd* | dragonfly*)
5584 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5587 # Not sure whether the presence of OpenBSD here was a mistake.
5588 # Let's accept both of them until this is cleared up.
5589 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5590 lt_cv_file_magic_cmd=/usr/bin/file
5591 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5595 lt_cv_deplibs_check_method=pass_all
5600 lt_cv_deplibs_check_method=pass_all
5603 hpux10.20* | hpux11*)
5604 lt_cv_file_magic_cmd=/usr/bin/file
5607 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5608 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5611 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]'
5612 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5615 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5616 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5622 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5623 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5626 irix5* | irix6* | nonstopux*)
5628 *-32|*"-32 ") libmagic=32-bit;;
5629 *-n32|*"-n32 ") libmagic=N32;;
5630 *-64|*"-64 ") libmagic=64-bit;;
5631 *) libmagic=never-match;;
5633 lt_cv_deplibs_check_method=pass_all
5636 # This must be Linux ELF.
5637 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5638 lt_cv_deplibs_check_method=pass_all
5641 netbsd* | netbsdelf*-gnu)
5642 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5645 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5650 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5651 lt_cv_file_magic_cmd=/usr/bin/file
5652 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5656 lt_cv_deplibs_check_method=pass_all
5660 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5663 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5667 osf3* | osf4* | osf5*)
5668 lt_cv_deplibs_check_method=pass_all
5672 lt_cv_deplibs_check_method=pass_all
5676 lt_cv_deplibs_check_method=pass_all
5679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5680 lt_cv_deplibs_check_method=pass_all
5684 case $host_vendor in
5686 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]'
5687 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5690 lt_cv_deplibs_check_method=pass_all
5693 lt_cv_file_magic_cmd='/bin/file'
5694 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5697 lt_cv_file_magic_cmd='/bin/file'
5698 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5699 lt_cv_file_magic_test_file=/lib/libc.so
5702 lt_cv_deplibs_check_method=pass_all
5705 lt_cv_deplibs_check_method=pass_all
5711 lt_cv_deplibs_check_method=pass_all
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5717 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5718 file_magic_cmd=$lt_cv_file_magic_cmd
5719 deplibs_check_method=$lt_cv_deplibs_check_method
5720 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5733 if test -n "$ac_tool_prefix"; then
5734 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5735 set dummy ${ac_tool_prefix}ar; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if test "${ac_cv_prog_AR+set}" = set; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$AR"; then
5742 ac_cv_prog_AR="$AR" # Let the user override the test.
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir=.
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751 ac_cv_prog_AR="${ac_tool_prefix}ar"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 if test -n "$AR"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5764 $as_echo "$AR" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5772 if test -z "$ac_cv_prog_AR"; then
5774 # Extract the first word of "ar", so it can be a program name with args.
5775 set dummy ar; ac_word=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5779 $as_echo_n "(cached) " >&6
5781 if test -n "$ac_ct_AR"; then
5782 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir=.
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5791 ac_cv_prog_ac_ct_AR="ar"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5802 if test -n "$ac_ct_AR"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5804 $as_echo "$ac_ct_AR" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5810 if test "x$ac_ct_AR" = x; then
5813 case $cross_compiling:$ac_tool_warned in
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5817 ac_tool_warned=yes ;;
5825 test -z "$AR" && AR=ar
5826 test -z "$AR_FLAGS" && AR_FLAGS=cru
5838 if test -n "$ac_tool_prefix"; then
5839 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5840 set dummy ${ac_tool_prefix}strip; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if test "${ac_cv_prog_STRIP+set}" = set; then :
5844 $as_echo_n "(cached) " >&6
5846 if test -n "$STRIP"; then
5847 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 STRIP=$ac_cv_prog_STRIP
5867 if test -n "$STRIP"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5869 $as_echo "$STRIP" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5877 if test -z "$ac_cv_prog_STRIP"; then
5879 # Extract the first word of "strip", so it can be a program name with args.
5880 set dummy strip; ac_word=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882 $as_echo_n "checking for $ac_word... " >&6; }
5883 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5886 if test -n "$ac_ct_STRIP"; then
5887 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5896 ac_cv_prog_ac_ct_STRIP="strip"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5907 if test -n "$ac_ct_STRIP"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5909 $as_echo "$ac_ct_STRIP" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5915 if test "x$ac_ct_STRIP" = x; then
5918 case $cross_compiling:$ac_tool_warned in
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5922 ac_tool_warned=yes ;;
5927 STRIP="$ac_cv_prog_STRIP"
5930 test -z "$STRIP" && STRIP=:
5937 if test -n "$ac_tool_prefix"; then
5938 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5939 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5943 $as_echo_n "(cached) " >&6
5945 if test -n "$RANLIB"; then
5946 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir=.
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 RANLIB=$ac_cv_prog_RANLIB
5966 if test -n "$RANLIB"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5968 $as_echo "$RANLIB" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5976 if test -z "$ac_cv_prog_RANLIB"; then
5977 ac_ct_RANLIB=$RANLIB
5978 # Extract the first word of "ranlib", so it can be a program name with args.
5979 set dummy ranlib; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5983 $as_echo_n "(cached) " >&6
5985 if test -n "$ac_ct_RANLIB"; then
5986 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5995 ac_cv_prog_ac_ct_RANLIB="ranlib"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6006 if test -n "$ac_ct_RANLIB"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6008 $as_echo "$ac_ct_RANLIB" >&6; }
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6014 if test "x$ac_ct_RANLIB" = x; then
6017 case $cross_compiling:$ac_tool_warned in
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6021 ac_tool_warned=yes ;;
6023 RANLIB=$ac_ct_RANLIB
6026 RANLIB="$ac_cv_prog_RANLIB"
6029 test -z "$RANLIB" && RANLIB=:
6036 # Determine commands to create old-style static archives.
6037 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6038 old_postinstall_cmds='chmod 644 $oldlib'
6039 old_postuninstall_cmds=
6041 if test -n "$RANLIB"; then
6044 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6047 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6050 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6086 # If no C compiler was specified, use CC.
6089 # If no C compiler flags were specified, use CFLAGS.
6090 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6092 # Allow CC to be a program name with arguments.
6096 # Check for command to grab the raw symbol name followed by C symbol from nm.
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6098 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6099 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6100 $as_echo_n "(cached) " >&6
6103 # These are sane defaults that work on at least a few old systems.
6104 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6106 # Character class describing NM global symbol codes.
6107 symcode='[BCDEGRST]'
6109 # Regexp to match symbols that can be accessed directly from C.
6110 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6112 # Define system-specific variables.
6117 cygwin* | mingw* | pw32* | cegcc*)
6118 symcode='[ABCDGISTW]'
6121 if test "$host_cpu" = ia64; then
6122 symcode='[ABCDEGRST]'
6126 symcode='[BCDEGRST]'
6129 symcode='[BCDEGQRST]'
6140 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6148 # If we're using GNU nm, then use its standard symbol codes.
6149 case `$NM -V 2>&1` in
6150 *GNU* | *'with BFD'*)
6151 symcode='[ABCDGIRSTW]' ;;
6154 # Transform an extracted symbol line into a proper C declaration.
6155 # Some systems (esp. on ia64) link data and code symbols differently,
6156 # so use this general approach.
6157 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6159 # Transform an extracted symbol line into symbol name and symbol address
6160 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6161 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'"
6163 # Handle CRLF in mingw tool chain
6167 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6171 # Try without a prefix underscore, then with it.
6172 for ac_symprfx in "" "_"; do
6174 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6175 symxfrm="\\1 $ac_symprfx\\2 \\2"
6177 # Write the raw and C identifiers.
6178 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6179 # Fake it for dumpbin and say T for any non-static function
6180 # and D for any global variable.
6181 # Also find C++ and __fastcall symbols from MSVC++,
6182 # which start with @ or ?.
6183 lt_cv_sys_global_symbol_pipe="$AWK '"\
6184 " {last_section=section; section=\$ 3};"\
6185 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6186 " \$ 0!~/External *\|/{next};"\
6187 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6188 " {if(hide[section]) next};"\
6189 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6190 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6191 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6192 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6193 " ' prfx=^$ac_symprfx"
6195 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6198 # Check to see that the pipe works correctly.
6202 cat > conftest.$ac_ext <<_LT_EOF
6207 void nm_test_func(void);
6208 void nm_test_func(void){}
6212 int main(){nm_test_var='a';nm_test_func();return(0);}
6215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6216 (eval $ac_compile) 2>&5
6218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6219 test $ac_status = 0; }; then
6220 # Now try to grab the symbols.
6222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6223 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6226 test $ac_status = 0; } && test -s "$nlist"; then
6227 # Try sorting and uniquifying the output.
6228 if sort "$nlist" | uniq > "$nlist"T; then
6229 mv -f "$nlist"T "$nlist"
6234 # Make sure that we snagged all the symbols we need.
6235 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6236 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6237 cat <<_LT_EOF > conftest.$ac_ext
6243 # Now generate the symbol file.
6244 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6246 cat <<_LT_EOF >> conftest.$ac_ext
6248 /* The mapping between symbol names and symbols. */
6253 lt__PROGRAM__LTX_preloaded_symbols[] =
6255 { "@PROGRAM@", (void *) 0 },
6257 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6258 cat <<\_LT_EOF >> conftest.$ac_ext
6262 /* This works around a problem in FreeBSD linker */
6263 #ifdef FREEBSD_WORKAROUND
6264 static const void *lt_preloaded_setup() {
6265 return lt__PROGRAM__LTX_preloaded_symbols;
6273 # Now try linking the two files.
6274 mv conftest.$ac_objext conftstm.$ac_objext
6275 lt_save_LIBS="$LIBS"
6276 lt_save_CFLAGS="$CFLAGS"
6277 LIBS="conftstm.$ac_objext"
6278 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6280 (eval $ac_link) 2>&5
6282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6283 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6286 LIBS="$lt_save_LIBS"
6287 CFLAGS="$lt_save_CFLAGS"
6289 echo "cannot find nm_test_func in $nlist" >&5
6292 echo "cannot find nm_test_var in $nlist" >&5
6295 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6298 echo "$progname: failed program was:" >&5
6299 cat conftest.$ac_ext >&5
6301 rm -rf conftest* conftst*
6303 # Do not use the global_symbol_pipe unless it works.
6304 if test "$pipe_works" = yes; then
6307 lt_cv_sys_global_symbol_pipe=
6313 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6314 lt_cv_sys_global_symbol_to_cdecl=
6316 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6318 $as_echo "failed" >&6; }
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6321 $as_echo "ok" >&6; }
6346 # Check whether --enable-libtool-lock was given.
6347 if test "${enable_libtool_lock+set}" = set; then :
6348 enableval=$enable_libtool_lock;
6351 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6353 # Some flags need to be propagated to the compiler or linker for good
6357 # Find out which ABI we are using.
6358 echo 'int i;' > conftest.$ac_ext
6359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6360 (eval $ac_compile) 2>&5
6362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6363 test $ac_status = 0; }; then
6364 case `/usr/bin/file conftest.$ac_objext` in
6376 # Find out which ABI we are using.
6377 echo '#line 6377 "configure"' > conftest.$ac_ext
6378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6379 (eval $ac_compile) 2>&5
6381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6382 test $ac_status = 0; }; then
6383 if test "$lt_cv_prog_gnu_ld" = yes; then
6384 case `/usr/bin/file conftest.$ac_objext` in
6386 LD="${LD-ld} -melf32bsmip"
6389 LD="${LD-ld} -melf32bmipn32"
6392 LD="${LD-ld} -melf64bmip"
6396 case `/usr/bin/file conftest.$ac_objext` in
6412 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6413 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6414 # Find out which ABI we are using.
6415 echo 'int i;' > conftest.$ac_ext
6416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6417 (eval $ac_compile) 2>&5
6419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6420 test $ac_status = 0; }; then
6421 case `/usr/bin/file conftest.o` in
6424 x86_64-*kfreebsd*-gnu)
6425 LD="${LD-ld} -m elf_i386_fbsd"
6428 LD="${LD-ld} -m elf_i386"
6430 ppc64-*linux*|powerpc64-*linux*)
6431 LD="${LD-ld} -m elf32ppclinux"
6434 LD="${LD-ld} -m elf_s390"
6437 LD="${LD-ld} -m elf32_sparc"
6443 x86_64-*kfreebsd*-gnu)
6444 LD="${LD-ld} -m elf_x86_64_fbsd"
6447 LD="${LD-ld} -m elf_x86_64"
6449 ppc*-*linux*|powerpc*-*linux*)
6450 LD="${LD-ld} -m elf64ppc"
6452 s390*-*linux*|s390*-*tpf*)
6453 LD="${LD-ld} -m elf64_s390"
6456 LD="${LD-ld} -m elf64_sparc"
6466 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6467 SAVE_CFLAGS="$CFLAGS"
6468 CFLAGS="$CFLAGS -belf"
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6470 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6471 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6472 $as_echo_n "(cached) " >&6
6475 ac_cpp='$CPP $CPPFLAGS'
6476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6491 if ac_fn_c_try_link "$LINENO"; then :
6492 lt_cv_cc_needs_belf=yes
6494 lt_cv_cc_needs_belf=no
6496 rm -f core conftest.err conftest.$ac_objext \
6497 conftest$ac_exeext conftest.$ac_ext
6499 ac_cpp='$CPP $CPPFLAGS'
6500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6506 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6507 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6508 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6509 CFLAGS="$SAVE_CFLAGS"
6513 # Find out which ABI we are using.
6514 echo 'int i;' > conftest.$ac_ext
6515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6516 (eval $ac_compile) 2>&5
6518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6519 test $ac_status = 0; }; then
6520 case `/usr/bin/file conftest.o` in
6522 case $lt_cv_prog_gnu_ld in
6523 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6525 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6537 need_locks="$enable_libtool_lock"
6541 rhapsody* | darwin*)
6542 if test -n "$ac_tool_prefix"; then
6543 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6548 $as_echo_n "(cached) " >&6
6550 if test -n "$DSYMUTIL"; then
6551 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6571 if test -n "$DSYMUTIL"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6573 $as_echo "$DSYMUTIL" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6581 if test -z "$ac_cv_prog_DSYMUTIL"; then
6582 ac_ct_DSYMUTIL=$DSYMUTIL
6583 # Extract the first word of "dsymutil", so it can be a program name with args.
6584 set dummy dsymutil; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6588 $as_echo_n "(cached) " >&6
6590 if test -n "$ac_ct_DSYMUTIL"; then
6591 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6600 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6611 if test -n "$ac_ct_DSYMUTIL"; then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6613 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6619 if test "x$ac_ct_DSYMUTIL" = x; then
6622 case $cross_compiling:$ac_tool_warned in
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6626 ac_tool_warned=yes ;;
6628 DSYMUTIL=$ac_ct_DSYMUTIL
6631 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6634 if test -n "$ac_tool_prefix"; then
6635 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6636 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6640 $as_echo_n "(cached) " >&6
6642 if test -n "$NMEDIT"; then
6643 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6652 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 NMEDIT=$ac_cv_prog_NMEDIT
6663 if test -n "$NMEDIT"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6665 $as_echo "$NMEDIT" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6673 if test -z "$ac_cv_prog_NMEDIT"; then
6674 ac_ct_NMEDIT=$NMEDIT
6675 # Extract the first word of "nmedit", so it can be a program name with args.
6676 set dummy nmedit; ac_word=$2
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6678 $as_echo_n "checking for $ac_word... " >&6; }
6679 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6680 $as_echo_n "(cached) " >&6
6682 if test -n "$ac_ct_NMEDIT"; then
6683 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir=.
6690 for ac_exec_ext in '' $ac_executable_extensions; do
6691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6692 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6703 if test -n "$ac_ct_NMEDIT"; then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6705 $as_echo "$ac_ct_NMEDIT" >&6; }
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6708 $as_echo "no" >&6; }
6711 if test "x$ac_ct_NMEDIT" = x; then
6714 case $cross_compiling:$ac_tool_warned in
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6718 ac_tool_warned=yes ;;
6720 NMEDIT=$ac_ct_NMEDIT
6723 NMEDIT="$ac_cv_prog_NMEDIT"
6726 if test -n "$ac_tool_prefix"; then
6727 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6728 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if test "${ac_cv_prog_LIPO+set}" = set; then :
6732 $as_echo_n "(cached) " >&6
6734 if test -n "$LIPO"; then
6735 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 test -z "$as_dir" && as_dir=.
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6744 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 LIPO=$ac_cv_prog_LIPO
6755 if test -n "$LIPO"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6757 $as_echo "$LIPO" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6765 if test -z "$ac_cv_prog_LIPO"; then
6767 # Extract the first word of "lipo", so it can be a program name with args.
6768 set dummy lipo; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6772 $as_echo_n "(cached) " >&6
6774 if test -n "$ac_ct_LIPO"; then
6775 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781 test -z "$as_dir" && as_dir=.
6782 for ac_exec_ext in '' $ac_executable_extensions; do
6783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6784 ac_cv_prog_ac_ct_LIPO="lipo"
6785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6795 if test -n "$ac_ct_LIPO"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6797 $as_echo "$ac_ct_LIPO" >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6803 if test "x$ac_ct_LIPO" = x; then
6806 case $cross_compiling:$ac_tool_warned in
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6810 ac_tool_warned=yes ;;
6815 LIPO="$ac_cv_prog_LIPO"
6818 if test -n "$ac_tool_prefix"; then
6819 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6820 set dummy ${ac_tool_prefix}otool; ac_word=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6824 $as_echo_n "(cached) " >&6
6826 if test -n "$OTOOL"; then
6827 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir=.
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6836 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 OTOOL=$ac_cv_prog_OTOOL
6847 if test -n "$OTOOL"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6849 $as_echo "$OTOOL" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6857 if test -z "$ac_cv_prog_OTOOL"; then
6859 # Extract the first word of "otool", so it can be a program name with args.
6860 set dummy otool; ac_word=$2
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 $as_echo_n "checking for $ac_word... " >&6; }
6863 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6864 $as_echo_n "(cached) " >&6
6866 if test -n "$ac_ct_OTOOL"; then
6867 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873 test -z "$as_dir" && as_dir=.
6874 for ac_exec_ext in '' $ac_executable_extensions; do
6875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6876 ac_cv_prog_ac_ct_OTOOL="otool"
6877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6887 if test -n "$ac_ct_OTOOL"; then
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6889 $as_echo "$ac_ct_OTOOL" >&6; }
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 $as_echo "no" >&6; }
6895 if test "x$ac_ct_OTOOL" = x; then
6898 case $cross_compiling:$ac_tool_warned in
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned=yes ;;
6907 OTOOL="$ac_cv_prog_OTOOL"
6910 if test -n "$ac_tool_prefix"; then
6911 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6912 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6916 $as_echo_n "(cached) " >&6
6918 if test -n "$OTOOL64"; then
6919 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 test -z "$as_dir" && as_dir=.
6926 for ac_exec_ext in '' $ac_executable_extensions; do
6927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6928 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 OTOOL64=$ac_cv_prog_OTOOL64
6939 if test -n "$OTOOL64"; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6941 $as_echo "$OTOOL64" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6949 if test -z "$ac_cv_prog_OTOOL64"; then
6950 ac_ct_OTOOL64=$OTOOL64
6951 # Extract the first word of "otool64", so it can be a program name with args.
6952 set dummy otool64; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6956 $as_echo_n "(cached) " >&6
6958 if test -n "$ac_ct_OTOOL64"; then
6959 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6968 ac_cv_prog_ac_ct_OTOOL64="otool64"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6979 if test -n "$ac_ct_OTOOL64"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6981 $as_echo "$ac_ct_OTOOL64" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6987 if test "x$ac_ct_OTOOL64" = x; then
6990 case $cross_compiling:$ac_tool_warned in
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6994 ac_tool_warned=yes ;;
6996 OTOOL64=$ac_ct_OTOOL64
6999 OTOOL64="$ac_cv_prog_OTOOL64"
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7029 $as_echo_n "checking for -single_module linker flag... " >&6; }
7030 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7031 $as_echo_n "(cached) " >&6
7033 lt_cv_apple_cc_single_mod=no
7034 if test -z "${LT_MULTI_MODULE}"; then
7035 # By default we will add the -single_module flag. You can override
7036 # by either setting the environment variable LT_MULTI_MODULE
7037 # non-empty at configure time, or by adding -multi_module to the
7039 rm -rf libconftest.dylib*
7040 echo "int foo(void){return 1;}" > conftest.c
7041 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7042 -dynamiclib -Wl,-single_module conftest.c" >&5
7043 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7044 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7046 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7047 lt_cv_apple_cc_single_mod=yes
7049 cat conftest.err >&5
7051 rm -rf libconftest.dylib*
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7056 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7058 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7059 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7060 $as_echo_n "(cached) " >&6
7062 lt_cv_ld_exported_symbols_list=no
7063 save_LDFLAGS=$LDFLAGS
7064 echo "_main" > conftest.sym
7065 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7077 if ac_fn_c_try_link "$LINENO"; then :
7078 lt_cv_ld_exported_symbols_list=yes
7080 lt_cv_ld_exported_symbols_list=no
7082 rm -f core conftest.err conftest.$ac_objext \
7083 conftest$ac_exeext conftest.$ac_ext
7084 LDFLAGS="$save_LDFLAGS"
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7088 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7090 rhapsody* | darwin1.[012])
7091 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7093 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7094 darwin*) # darwin 5.x on
7095 # if running on 10.5 or later, the deployment target defaults
7096 # to the OS version, if on x86, and 10.4, the deployment
7097 # target defaults to 10.4. Don't you love it?
7098 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7099 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7100 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7102 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7104 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7108 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7109 _lt_dar_single_mod='$single_module'
7111 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7112 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7114 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7116 if test "$DSYMUTIL" != ":"; then
7117 _lt_dsymutil='~$DSYMUTIL $lib || :'
7125 ac_cpp='$CPP $CPPFLAGS'
7126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7130 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7131 # On Suns, sometimes $CPP names a directory.
7132 if test -n "$CPP" && test -d "$CPP"; then
7135 if test -z "$CPP"; then
7136 if test "${ac_cv_prog_CPP+set}" = set; then :
7137 $as_echo_n "(cached) " >&6
7139 # Double quotes because CPP needs to be expanded
7140 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7143 for ac_c_preproc_warn_flag in '' yes
7145 # Use a header file that comes with gcc, so configuring glibc
7146 # with a fresh cross-compiler works.
7147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7148 # <limits.h> exists even on freestanding compilers.
7149 # On the NeXT, cc -E runs the code through the compiler's parser,
7150 # not just through cpp. "Syntax error" is here to catch this case.
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7154 # include <limits.h>
7156 # include <assert.h>
7160 if ac_fn_c_try_cpp "$LINENO"; then :
7163 # Broken: fails on valid input.
7166 rm -f conftest.err conftest.i conftest.$ac_ext
7168 # OK, works on sane cases. Now check whether nonexistent headers
7169 # can be detected and how.
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7172 #include <ac_nonexistent.h>
7174 if ac_fn_c_try_cpp "$LINENO"; then :
7175 # Broken: success on invalid input.
7178 # Passes both tests.
7182 rm -f conftest.err conftest.i conftest.$ac_ext
7185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7186 rm -f conftest.i conftest.err conftest.$ac_ext
7187 if $ac_preproc_ok; then :
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7200 $as_echo "$CPP" >&6; }
7202 for ac_c_preproc_warn_flag in '' yes
7204 # Use a header file that comes with gcc, so configuring glibc
7205 # with a fresh cross-compiler works.
7206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7207 # <limits.h> exists even on freestanding compilers.
7208 # On the NeXT, cc -E runs the code through the compiler's parser,
7209 # not just through cpp. "Syntax error" is here to catch this case.
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7213 # include <limits.h>
7215 # include <assert.h>
7219 if ac_fn_c_try_cpp "$LINENO"; then :
7222 # Broken: fails on valid input.
7225 rm -f conftest.err conftest.i conftest.$ac_ext
7227 # OK, works on sane cases. Now check whether nonexistent headers
7228 # can be detected and how.
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7231 #include <ac_nonexistent.h>
7233 if ac_fn_c_try_cpp "$LINENO"; then :
7234 # Broken: success on invalid input.
7237 # Passes both tests.
7241 rm -f conftest.err conftest.i conftest.$ac_ext
7244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7245 rm -f conftest.i conftest.err conftest.$ac_ext
7246 if $ac_preproc_ok; then :
7249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7251 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7252 See \`config.log' for more details" "$LINENO" 5 ; }
7256 ac_cpp='$CPP $CPPFLAGS'
7257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7263 $as_echo_n "checking for ANSI C header files... " >&6; }
7264 if test "${ac_cv_header_stdc+set}" = set; then :
7265 $as_echo_n "(cached) " >&6
7267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h. */
7282 if ac_fn_c_try_compile "$LINENO"; then :
7283 ac_cv_header_stdc=yes
7285 ac_cv_header_stdc=no
7287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7289 if test $ac_cv_header_stdc = yes; then
7290 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7297 $EGREP "memchr" >/dev/null 2>&1; then :
7300 ac_cv_header_stdc=no
7306 if test $ac_cv_header_stdc = yes; then
7307 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7314 $EGREP "free" >/dev/null 2>&1; then :
7317 ac_cv_header_stdc=no
7323 if test $ac_cv_header_stdc = yes; then
7324 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7325 if test "$cross_compiling" = yes; then :
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7332 #if ((' ' & 0x0FF) == 0x020)
7333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7336 # define ISLOWER(c) \
7337 (('a' <= (c) && (c) <= 'i') \
7338 || ('j' <= (c) && (c) <= 'r') \
7339 || ('s' <= (c) && (c) <= 'z'))
7340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7348 for (i = 0; i < 256; i++)
7349 if (XOR (islower (i), ISLOWER (i))
7350 || toupper (i) != TOUPPER (i))
7355 if ac_fn_c_try_run "$LINENO"; then :
7358 ac_cv_header_stdc=no
7360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7361 conftest.$ac_objext conftest.beam conftest.$ac_ext
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7367 $as_echo "$ac_cv_header_stdc" >&6; }
7368 if test $ac_cv_header_stdc = yes; then
7370 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7375 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7376 inttypes.h stdint.h unistd.h
7378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7382 cat >>confdefs.h <<_ACEOF
7383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7391 for ac_header in dlfcn.h
7393 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7395 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7396 cat >>confdefs.h <<_ACEOF
7397 #define HAVE_DLFCN_H 1
7416 # Check whether --enable-shared was given.
7417 if test "${enable_shared+set}" = set; then :
7418 enableval=$enable_shared; p=${PACKAGE-default}
7420 yes) enable_shared=yes ;;
7421 no) enable_shared=no ;;
7424 # Look at the argument we got. We use all the common list separators.
7425 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7426 for pkg in $enableval; do
7428 if test "X$pkg" = "X$p"; then
7449 # Check whether --with-pic was given.
7450 if test "${with_pic+set}" = set; then :
7451 withval=$with_pic; pic_mode="$withval"
7457 test -z "$pic_mode" && pic_mode=default
7465 # Check whether --enable-fast-install was given.
7466 if test "${enable_fast_install+set}" = set; then :
7467 enableval=$enable_fast_install; p=${PACKAGE-default}
7469 yes) enable_fast_install=yes ;;
7470 no) enable_fast_install=no ;;
7472 enable_fast_install=no
7473 # Look at the argument we got. We use all the common list separators.
7474 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7475 for pkg in $enableval; do
7477 if test "X$pkg" = "X$p"; then
7478 enable_fast_install=yes
7485 enable_fast_install=yes
7498 # This can be used to rebuild libtool when needed
7499 LIBTOOL_DEPS="$ltmain"
7501 # Always use our own libtool.
7502 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7528 test -z "$LN_S" && LN_S="ln -s"
7543 if test -n "${ZSH_VERSION+set}" ; then
7544 setopt NO_GLOB_SUBST
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7548 $as_echo_n "checking for objdir... " >&6; }
7549 if test "${lt_cv_objdir+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7552 rm -f .libs 2>/dev/null
7553 mkdir .libs 2>/dev/null
7554 if test -d .libs; then
7557 # MS-DOS does not allow filenames that begin with a dot.
7560 rmdir .libs 2>/dev/null
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7563 $as_echo "$lt_cv_objdir" >&6; }
7564 objdir=$lt_cv_objdir
7570 cat >>confdefs.h <<_ACEOF
7571 #define LT_OBJDIR "$lt_cv_objdir/"
7592 # AIX sometimes has problems with the GCC collect2 program. For some
7593 # reason, if we set the COLLECT_NAMES environment variable, the problems
7594 # vanish in a puff of smoke.
7595 if test "X${COLLECT_NAMES+set}" != Xset; then
7597 export COLLECT_NAMES
7602 # Sed substitution that helps us do robust quoting. It backslashifies
7603 # metacharacters that are still active within double-quoted strings.
7604 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7606 # Same as above, but do not quote variable references.
7607 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7609 # Sed substitution to delay expansion of an escaped shell variable in a
7610 # double_quote_subst'ed string.
7611 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7613 # Sed substitution to delay expansion of an escaped single quote.
7614 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7616 # Sed substitution to avoid accidental globbing in evaled expressions
7617 no_glob_subst='s/\*/\\\*/g'
7621 can_build_shared=yes
7623 # All known linkers require a `.a' archive for static linking (except MSVC,
7624 # which needs '.lib').
7627 with_gnu_ld="$lt_cv_prog_gnu_ld"
7630 old_CFLAGS="$CFLAGS"
7632 # Set sane defaults for various variables
7633 test -z "$CC" && CC=cc
7634 test -z "$LTCC" && LTCC=$CC
7635 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7636 test -z "$LD" && LD=ld
7637 test -z "$ac_objext" && ac_objext=o
7639 for cc_temp in $compiler""; do
7641 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7642 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7647 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7650 # Only perform the check for file, if the check method requires it
7651 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7652 case $deplibs_check_method in
7654 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7656 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7657 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7658 $as_echo_n "(cached) " >&6
7662 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7665 lt_save_MAGIC_CMD="$MAGIC_CMD"
7666 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7667 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7668 for ac_dir in $ac_dummy; do
7670 test -z "$ac_dir" && ac_dir=.
7671 if test -f $ac_dir/${ac_tool_prefix}file; then
7672 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7673 if test -n "$file_magic_test_file"; then
7674 case $deplibs_check_method in
7676 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7677 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7678 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7679 $EGREP "$file_magic_regex" > /dev/null; then
7684 *** Warning: the command libtool uses to detect shared libraries,
7685 *** $file_magic_cmd, produces output that libtool cannot recognize.
7686 *** The result is that libtool may fail to recognize shared libraries
7687 *** as such. This will affect the creation of libtool libraries that
7688 *** depend on shared libraries, but programs linked with such libtool
7689 *** libraries will work regardless of this problem. Nevertheless, you
7690 *** may want to report the problem to your system manager and/or to
7691 *** bug-libtool@gnu.org
7701 MAGIC_CMD="$lt_save_MAGIC_CMD"
7706 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7707 if test -n "$MAGIC_CMD"; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7709 $as_echo "$MAGIC_CMD" >&6; }
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7712 $as_echo "no" >&6; }
7719 if test -z "$lt_cv_path_MAGIC_CMD"; then
7720 if test -n "$ac_tool_prefix"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7722 $as_echo_n "checking for file... " >&6; }
7723 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7724 $as_echo_n "(cached) " >&6
7728 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7731 lt_save_MAGIC_CMD="$MAGIC_CMD"
7732 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7733 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7734 for ac_dir in $ac_dummy; do
7736 test -z "$ac_dir" && ac_dir=.
7737 if test -f $ac_dir/file; then
7738 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7739 if test -n "$file_magic_test_file"; then
7740 case $deplibs_check_method in
7742 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7743 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7744 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7745 $EGREP "$file_magic_regex" > /dev/null; then
7750 *** Warning: the command libtool uses to detect shared libraries,
7751 *** $file_magic_cmd, produces output that libtool cannot recognize.
7752 *** The result is that libtool may fail to recognize shared libraries
7753 *** as such. This will affect the creation of libtool libraries that
7754 *** depend on shared libraries, but programs linked with such libtool
7755 *** libraries will work regardless of this problem. Nevertheless, you
7756 *** may want to report the problem to your system manager and/or to
7757 *** bug-libtool@gnu.org
7767 MAGIC_CMD="$lt_save_MAGIC_CMD"
7772 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7773 if test -n "$MAGIC_CMD"; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7775 $as_echo "$MAGIC_CMD" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778 $as_echo "no" >&6; }
7791 # Use C for the default configuration in the libtool script
7795 ac_cpp='$CPP $CPPFLAGS'
7796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7801 # Source file extension for C test sources.
7804 # Object file extension for compiled C test sources.
7808 # Code to be used in simple compile tests
7809 lt_simple_compile_test_code="int some_variable = 0;"
7811 # Code to be used in simple link tests
7812 lt_simple_link_test_code='int main(){return(0);}'
7820 # If no C compiler was specified, use CC.
7823 # If no C compiler flags were specified, use CFLAGS.
7824 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7826 # Allow CC to be a program name with arguments.
7829 # Save the default compiler, since it gets overwritten when the other
7830 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7831 compiler_DEFAULT=$CC
7833 # save warnings/boilerplate of simple test code
7834 ac_outfile=conftest.$ac_objext
7835 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7836 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7837 _lt_compiler_boilerplate=`cat conftest.err`
7840 ac_outfile=conftest.$ac_objext
7841 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7842 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7843 _lt_linker_boilerplate=`cat conftest.err`
7848 ## There is no encapsulation within the following macros, do not change
7849 ## the running order or otherwise move them around unless you know exactly
7850 ## what you are doing...
7851 if test -n "$compiler"; then
7853 lt_prog_compiler_no_builtin_flag=
7855 if test "$GCC" = yes; then
7856 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7859 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7860 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7861 $as_echo_n "(cached) " >&6
7863 lt_cv_prog_compiler_rtti_exceptions=no
7864 ac_outfile=conftest.$ac_objext
7865 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7866 lt_compiler_flag="-fno-rtti -fno-exceptions"
7867 # Insert the option either (1) after the last *FLAGS variable, or
7868 # (2) before a word containing "conftest.", or (3) at the end.
7869 # Note that $ac_compile itself does not contain backslashes and begins
7870 # with a dollar sign (not a hyphen), so the echo should work correctly.
7871 # The option is referenced via a variable to avoid confusing sed.
7872 lt_compile=`echo "$ac_compile" | $SED \
7873 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7875 -e 's:$: $lt_compiler_flag:'`
7876 (eval echo "\"\$as_me:7876: $lt_compile\"" >&5)
7877 (eval "$lt_compile" 2>conftest.err)
7879 cat conftest.err >&5
7880 echo "$as_me:7880: \$? = $ac_status" >&5
7881 if (exit $ac_status) && test -s "$ac_outfile"; then
7882 # The compiler can only warn and ignore the option if not recognized
7883 # So say no if there are warnings other than the usual output.
7884 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7885 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7886 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7887 lt_cv_prog_compiler_rtti_exceptions=yes
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7894 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7896 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7897 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7909 lt_prog_compiler_wl=
7910 lt_prog_compiler_pic=
7911 lt_prog_compiler_static=
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7914 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7916 if test "$GCC" = yes; then
7917 lt_prog_compiler_wl='-Wl,'
7918 lt_prog_compiler_static='-static'
7922 # All AIX code is PIC.
7923 if test "$host_cpu" = ia64; then
7924 # AIX 5 now supports IA64 processor
7925 lt_prog_compiler_static='-Bstatic'
7932 # see comment about AmigaOS4 .so support
7933 lt_prog_compiler_pic='-fPIC'
7936 # FIXME: we need at least 68020 code to build shared libraries, but
7937 # adding the `-m68020' flag to GCC prevents building anything better,
7939 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7944 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7945 # PIC is the default for these OSes.
7948 mingw* | cygwin* | pw32* | os2* | cegcc*)
7949 # This hack is so that the source file can tell whether it is being
7950 # built for inclusion in a dll (and should export symbols for example).
7951 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7952 # (--disable-auto-import) libraries
7953 lt_prog_compiler_pic='-DDLL_EXPORT'
7956 darwin* | rhapsody*)
7957 # PIC is the default on this platform
7958 # Common symbols not allowed in MH_DYLIB files
7959 lt_prog_compiler_pic='-fno-common'
7963 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7964 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7965 # sets the default TLS model and affects inlining.
7971 lt_prog_compiler_pic='-fPIC'
7977 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7978 # Instead, we relocate shared libraries at runtime.
7982 # Just because we use GCC doesn't mean we suddenly get shared libraries
7983 # on systems that don't support them.
7984 lt_prog_compiler_can_build_shared=no
7989 # QNX uses GNU C++, but need to define -shared option too, otherwise
7991 lt_prog_compiler_pic='-fPIC -shared'
7995 if test -d /usr/nec; then
7996 lt_prog_compiler_pic=-Kconform_pic
8001 lt_prog_compiler_pic='-fPIC'
8005 # PORTME Check for flag to pass linker flags through the system compiler.
8008 lt_prog_compiler_wl='-Wl,'
8009 if test "$host_cpu" = ia64; then
8010 # AIX 5 now supports IA64 processor
8011 lt_prog_compiler_static='-Bstatic'
8013 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8017 mingw* | cygwin* | pw32* | os2* | cegcc*)
8018 # This hack is so that the source file can tell whether it is being
8019 # built for inclusion in a dll (and should export symbols for example).
8020 lt_prog_compiler_pic='-DDLL_EXPORT'
8023 hpux9* | hpux10* | hpux11*)
8024 lt_prog_compiler_wl='-Wl,'
8025 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8032 lt_prog_compiler_pic='+Z'
8035 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8036 lt_prog_compiler_static='${wl}-a ${wl}archive'
8039 irix5* | irix6* | nonstopux*)
8040 lt_prog_compiler_wl='-Wl,'
8041 # PIC (with -KPIC) is the default.
8042 lt_prog_compiler_static='-non_shared'
8045 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8046 case $cc_basename in
8047 # old Intel for x86_64 which still supported -KPIC.
8049 lt_prog_compiler_wl='-Wl,'
8050 lt_prog_compiler_pic='-KPIC'
8051 lt_prog_compiler_static='-static'
8053 # icc used to be incompatible with GCC.
8054 # ICC 10 doesn't accept -KPIC any more.
8056 lt_prog_compiler_wl='-Wl,'
8057 lt_prog_compiler_pic='-fPIC'
8058 lt_prog_compiler_static='-static'
8060 # Lahey Fortran 8.1.
8062 lt_prog_compiler_wl='-Wl,'
8063 lt_prog_compiler_pic='--shared'
8064 lt_prog_compiler_static='--static'
8066 pgcc* | pgf77* | pgf90* | pgf95*)
8067 # Portland Group compilers (*not* the Pentium gcc compiler,
8068 # which looks to be a dead project)
8069 lt_prog_compiler_wl='-Wl,'
8070 lt_prog_compiler_pic='-fpic'
8071 lt_prog_compiler_static='-Bstatic'
8074 lt_prog_compiler_wl='-Wl,'
8075 # All Alpha code is PIC.
8076 lt_prog_compiler_static='-non_shared'
8079 # IBM XL C 8.0/Fortran 10.1 on PPC
8080 lt_prog_compiler_wl='-Wl,'
8081 lt_prog_compiler_pic='-qpic'
8082 lt_prog_compiler_static='-qstaticlink'
8085 case `$CC -V 2>&1 | sed 5q` in
8088 lt_prog_compiler_pic='-KPIC'
8089 lt_prog_compiler_static='-Bstatic'
8090 lt_prog_compiler_wl='-Wl,'
8093 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8094 lt_prog_compiler_pic='-KPIC'
8095 lt_prog_compiler_static='-Bstatic'
8096 lt_prog_compiler_wl=''
8104 lt_prog_compiler_pic='-KPIC'
8105 lt_prog_compiler_static='-Bstatic'
8109 # QNX uses GNU C++, but need to define -shared option too, otherwise
8111 lt_prog_compiler_pic='-fPIC -shared'
8114 osf3* | osf4* | osf5*)
8115 lt_prog_compiler_wl='-Wl,'
8116 # All OSF/1 code is PIC.
8117 lt_prog_compiler_static='-non_shared'
8121 lt_prog_compiler_static='-non_shared'
8125 lt_prog_compiler_pic='-KPIC'
8126 lt_prog_compiler_static='-Bstatic'
8127 case $cc_basename in
8129 lt_prog_compiler_wl='-Qoption ld ';;
8131 lt_prog_compiler_wl='-Wl,';;
8136 lt_prog_compiler_wl='-Qoption ld '
8137 lt_prog_compiler_pic='-PIC'
8138 lt_prog_compiler_static='-Bstatic'
8141 sysv4 | sysv4.2uw2* | sysv4.3*)
8142 lt_prog_compiler_wl='-Wl,'
8143 lt_prog_compiler_pic='-KPIC'
8144 lt_prog_compiler_static='-Bstatic'
8148 if test -d /usr/nec ;then
8149 lt_prog_compiler_pic='-Kconform_pic'
8150 lt_prog_compiler_static='-Bstatic'
8154 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8155 lt_prog_compiler_wl='-Wl,'
8156 lt_prog_compiler_pic='-KPIC'
8157 lt_prog_compiler_static='-Bstatic'
8161 lt_prog_compiler_wl='-Wl,'
8162 lt_prog_compiler_can_build_shared=no
8166 lt_prog_compiler_pic='-pic'
8167 lt_prog_compiler_static='-Bstatic'
8171 lt_prog_compiler_can_build_shared=no
8177 # For platforms which do not support PIC, -DPIC is meaningless:
8179 lt_prog_compiler_pic=
8182 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8186 $as_echo "$lt_prog_compiler_pic" >&6; }
8194 # Check to make sure the PIC flag actually works.
8196 if test -n "$lt_prog_compiler_pic"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8198 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8199 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8200 $as_echo_n "(cached) " >&6
8202 lt_cv_prog_compiler_pic_works=no
8203 ac_outfile=conftest.$ac_objext
8204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8205 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8206 # Insert the option either (1) after the last *FLAGS variable, or
8207 # (2) before a word containing "conftest.", or (3) at the end.
8208 # Note that $ac_compile itself does not contain backslashes and begins
8209 # with a dollar sign (not a hyphen), so the echo should work correctly.
8210 # The option is referenced via a variable to avoid confusing sed.
8211 lt_compile=`echo "$ac_compile" | $SED \
8212 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8214 -e 's:$: $lt_compiler_flag:'`
8215 (eval echo "\"\$as_me:8215: $lt_compile\"" >&5)
8216 (eval "$lt_compile" 2>conftest.err)
8218 cat conftest.err >&5
8219 echo "$as_me:8219: \$? = $ac_status" >&5
8220 if (exit $ac_status) && test -s "$ac_outfile"; then
8221 # The compiler can only warn and ignore the option if not recognized
8222 # So say no if there are warnings other than the usual output.
8223 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8224 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8225 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8226 lt_cv_prog_compiler_pic_works=yes
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8233 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8235 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8236 case $lt_prog_compiler_pic in
8238 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8241 lt_prog_compiler_pic=
8242 lt_prog_compiler_can_build_shared=no
8253 # Check to make sure the static flag actually works.
8255 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8257 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8258 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8259 $as_echo_n "(cached) " >&6
8261 lt_cv_prog_compiler_static_works=no
8262 save_LDFLAGS="$LDFLAGS"
8263 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8264 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8265 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8266 # The linker can only warn and ignore the option if not recognized
8267 # So say no if there are warnings
8268 if test -s conftest.err; then
8269 # Append any errors to the config.log.
8270 cat conftest.err 1>&5
8271 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8272 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8273 if diff conftest.exp conftest.er2 >/dev/null; then
8274 lt_cv_prog_compiler_static_works=yes
8277 lt_cv_prog_compiler_static_works=yes
8281 LDFLAGS="$save_LDFLAGS"
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8285 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8287 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8290 lt_prog_compiler_static=
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8300 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8301 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8302 $as_echo_n "(cached) " >&6
8304 lt_cv_prog_compiler_c_o=no
8305 $RM -r conftest 2>/dev/null
8309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8311 lt_compiler_flag="-o out/conftest2.$ac_objext"
8312 # Insert the option either (1) after the last *FLAGS variable, or
8313 # (2) before a word containing "conftest.", or (3) at the end.
8314 # Note that $ac_compile itself does not contain backslashes and begins
8315 # with a dollar sign (not a hyphen), so the echo should work correctly.
8316 lt_compile=`echo "$ac_compile" | $SED \
8317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8319 -e 's:$: $lt_compiler_flag:'`
8320 (eval echo "\"\$as_me:8320: $lt_compile\"" >&5)
8321 (eval "$lt_compile" 2>out/conftest.err)
8323 cat out/conftest.err >&5
8324 echo "$as_me:8324: \$? = $ac_status" >&5
8325 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8327 # The compiler can only warn and ignore the option if not recognized
8328 # So say no if there are warnings
8329 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8330 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8331 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8332 lt_cv_prog_compiler_c_o=yes
8337 # SGI C++ compiler will create directory out/ii_files/ for
8338 # template instantiation
8339 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8340 $RM out/* && rmdir out
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8347 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8355 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8356 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8357 $as_echo_n "(cached) " >&6
8359 lt_cv_prog_compiler_c_o=no
8360 $RM -r conftest 2>/dev/null
8364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8366 lt_compiler_flag="-o out/conftest2.$ac_objext"
8367 # Insert the option either (1) after the last *FLAGS variable, or
8368 # (2) before a word containing "conftest.", or (3) at the end.
8369 # Note that $ac_compile itself does not contain backslashes and begins
8370 # with a dollar sign (not a hyphen), so the echo should work correctly.
8371 lt_compile=`echo "$ac_compile" | $SED \
8372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8374 -e 's:$: $lt_compiler_flag:'`
8375 (eval echo "\"\$as_me:8375: $lt_compile\"" >&5)
8376 (eval "$lt_compile" 2>out/conftest.err)
8378 cat out/conftest.err >&5
8379 echo "$as_me:8379: \$? = $ac_status" >&5
8380 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8382 # The compiler can only warn and ignore the option if not recognized
8383 # So say no if there are warnings
8384 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8385 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8386 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8387 lt_cv_prog_compiler_c_o=yes
8392 # SGI C++ compiler will create directory out/ii_files/ for
8393 # template instantiation
8394 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8395 $RM out/* && rmdir out
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8402 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8407 hard_links="nottested"
8408 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8409 # do not overwrite the value of need_locks provided by the user
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8411 $as_echo_n "checking if we can lock with hard links... " >&6; }
8414 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8416 ln conftest.a conftest.b 2>&5 || hard_links=no
8417 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8419 $as_echo "$hard_links" >&6; }
8420 if test "$hard_links" = no; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8422 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8435 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8438 allow_undefined_flag=
8439 always_export_symbols=no
8441 archive_expsym_cmds=
8442 compiler_needs_object=no
8443 enable_shared_with_static_runtimes=no
8444 export_dynamic_flag_spec=
8445 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8446 hardcode_automatic=no
8448 hardcode_direct_absolute=no
8449 hardcode_libdir_flag_spec=
8450 hardcode_libdir_flag_spec_ld=
8451 hardcode_libdir_separator=
8453 hardcode_shlibpath_var=unsupported
8455 link_all_deplibs=unknown
8458 old_archive_from_new_cmds=
8459 old_archive_from_expsyms_cmds=
8460 thread_safe_flag_spec=
8461 whole_archive_flag_spec=
8462 # include_expsyms should be a list of space-separated symbols to be *always*
8463 # included in the symbol list
8465 # exclude_expsyms can be an extended regexp of symbols to exclude
8466 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8467 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8468 # as well as any symbol that contains `d'.
8469 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8470 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8471 # platforms (ab)use it in PIC code, but their linkers get confused if
8472 # the symbol is explicitly referenced. Since portable code cannot
8473 # rely on this symbol name, it's probably fine to never include it in
8474 # preloaded symbol tables.
8475 # Exclude shared library initialization/finalization symbols.
8476 extract_expsyms_cmds=
8479 cygwin* | mingw* | pw32* | cegcc*)
8480 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8481 # When not using gcc, we currently assume that we are using
8482 # Microsoft Visual C++.
8483 if test "$GCC" != yes; then
8488 # we just hope/assume this is gcc and not c89 (= MSVC++)
8494 linux* | k*bsd*-gnu)
8500 if test "$with_gnu_ld" = yes; then
8501 # If archive_cmds runs LD, not CC, wlarc should be empty
8504 # Set some defaults for GNU ld with shared library support. These
8505 # are reset later if shared libraries are not supported. Putting them
8506 # here allows them to be overridden if necessary.
8507 runpath_var=LD_RUN_PATH
8508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8509 export_dynamic_flag_spec='${wl}--export-dynamic'
8510 # ancient GNU ld didn't support --whole-archive et. al.
8511 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8512 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8514 whole_archive_flag_spec=
8516 supports_anon_versioning=no
8517 case `$LD -v 2>&1` in
8518 *GNU\ gold*) supports_anon_versioning=yes ;;
8519 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8520 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8521 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8522 *\ 2.11.*) ;; # other 2.11 versions
8523 *) supports_anon_versioning=yes ;;
8526 # See if GNU ld supports shared libraries.
8529 # On AIX/PPC, the GNU linker is very broken
8530 if test "$host_cpu" != ia64; then
8534 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8535 *** to be unable to reliably create shared libraries on AIX.
8536 *** Therefore, libtool is disabling shared libraries support. If you
8537 *** really care for shared libraries, you may want to modify your PATH
8538 *** so that a non-GNU linker is found, and then restart.
8547 # see comment about AmigaOS4 .so support
8548 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549 archive_expsym_cmds=''
8552 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)'
8553 hardcode_libdir_flag_spec='-L$libdir'
8554 hardcode_minus_L=yes
8560 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8561 allow_undefined_flag=unsupported
8562 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8563 # support --undefined. This deserves some investigation. FIXME
8564 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8570 cygwin* | mingw* | pw32* | cegcc*)
8571 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8572 # as there is no search path for DLLs.
8573 hardcode_libdir_flag_spec='-L$libdir'
8574 allow_undefined_flag=unsupported
8575 always_export_symbols=no
8576 enable_shared_with_static_runtimes=yes
8577 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8579 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8580 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8581 # If the export-symbols file already is a .def file (1st line
8582 # is EXPORTS), use it as is; otherwise, prepend...
8583 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8584 cp $export_symbols $output_objdir/$soname.def;
8586 echo EXPORTS > $output_objdir/$soname.def;
8587 cat $export_symbols >> $output_objdir/$soname.def;
8589 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8597 hardcode_shlibpath_var=no
8598 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599 export_dynamic_flag_spec='${wl}-E'
8600 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8601 # Instead, shared libraries are loaded at an image base (0x10000000 by
8602 # default) and relocated if they conflict, which is a slow very memory
8603 # consuming and fragmenting process. To avoid this, we pick a random,
8604 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8605 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8606 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8607 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'
8610 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8612 if test "$host_os" = linux-dietlibc; then
8613 case $cc_basename in
8614 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8617 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8618 && test "$tmp_diet" = no
8621 tmp_sharedflag='-shared'
8622 case $cc_basename,$host_cpu in
8623 pgcc*) # Portland Group C compiler
8624 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'
8625 tmp_addflag=' $pic_flag'
8627 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8628 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'
8629 tmp_addflag=' $pic_flag -Mnomain' ;;
8630 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8631 tmp_addflag=' -i_dynamic' ;;
8632 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8633 tmp_addflag=' -i_dynamic -nofor_main' ;;
8634 ifc* | ifort*) # Intel Fortran compiler
8635 tmp_addflag=' -nofor_main' ;;
8636 lf95*) # Lahey Fortran 8.1
8637 whole_archive_flag_spec=
8638 tmp_sharedflag='--shared' ;;
8639 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8640 tmp_sharedflag='-qmkshrobj'
8643 case `$CC -V 2>&1 | sed 5q` in
8644 *Sun\ C*) # Sun C 5.9
8645 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'
8646 compiler_needs_object=yes
8647 tmp_sharedflag='-G' ;;
8648 *Sun\ F*) # Sun Fortran 8.3
8649 tmp_sharedflag='-G' ;;
8651 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8653 if test "x$supports_anon_versioning" = xyes; then
8654 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8655 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8656 echo "local: *; };" >> $output_objdir/$libname.ver~
8657 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8660 case $cc_basename in
8662 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8663 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8664 hardcode_libdir_flag_spec=
8665 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8666 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8667 if test "x$supports_anon_versioning" = xyes; then
8668 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8669 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8670 echo "local: *; };" >> $output_objdir/$libname.ver~
8671 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8680 netbsd* | netbsdelf*-gnu)
8681 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8682 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8685 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8691 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8695 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8696 *** create shared libraries on Solaris systems. Therefore, libtool
8697 *** is disabling shared libraries support. We urge you to upgrade GNU
8698 *** binutils to release 2.9.1 or newer. Another option is to modify
8699 *** your PATH or compiler configuration so that the native linker is
8700 *** used, and then restart.
8703 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8711 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8712 case `$LD -v 2>&1` in
8713 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8717 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8718 *** reliably create shared libraries on SCO systems. Therefore, libtool
8719 *** is disabling shared libraries support. We urge you to upgrade GNU
8720 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8721 *** your PATH or compiler configuration so that the native linker is
8722 *** used, and then restart.
8727 # For security reasons, it is highly recommended that you always
8728 # use absolute paths for naming shared libraries, and exclude the
8729 # DT_RUNPATH tag from executables and libraries. But doing so
8730 # requires that you compile everything twice, which is a pain.
8731 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8732 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8743 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8746 hardcode_shlibpath_var=no
8750 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8751 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8752 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8759 if test "$ld_shlibs" = no; then
8761 hardcode_libdir_flag_spec=
8762 export_dynamic_flag_spec=
8763 whole_archive_flag_spec=
8766 # PORTME fill in a description of your system's linker (not GNU ld)
8769 allow_undefined_flag=unsupported
8770 always_export_symbols=yes
8771 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'
8772 # Note: this linker hardcodes the directories in LIBPATH if there
8773 # are no directories specified by -L.
8774 hardcode_minus_L=yes
8775 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8776 # Neither direct hardcoding nor static linking is supported with a
8778 hardcode_direct=unsupported
8783 if test "$host_cpu" = ia64; then
8784 # On IA64, the linker does run time linking by default, so we don't
8785 # have to do anything special.
8786 aix_use_runtimelinking=no
8787 exp_sym_flag='-Bexport'
8790 # If we're using GNU nm, then we don't want the "-C" option.
8791 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8792 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8793 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'
8795 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'
8797 aix_use_runtimelinking=no
8799 # Test if we are trying to use run time linking or normal
8800 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8801 # need to do runtime linking.
8802 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8803 for ld_flag in $LDFLAGS; do
8804 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8805 aix_use_runtimelinking=yes
8812 exp_sym_flag='-bexport'
8813 no_entry_flag='-bnoentry'
8816 # When large executables or shared objects are built, AIX ld can
8817 # have problems creating the table of contents. If linking a library
8818 # or program results in "error TOC overflow" add -mminimal-toc to
8819 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8820 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8824 hardcode_direct_absolute=yes
8825 hardcode_libdir_separator=':'
8826 link_all_deplibs=yes
8827 file_list_spec='${wl}-f,'
8829 if test "$GCC" = yes; then
8830 case $host_os in aix4.[012]|aix4.[012].*)
8831 # We only want to do this on AIX 4.2 and lower, the check
8832 # below for broken collect2 doesn't work under 4.3+
8833 collect2name=`${CC} -print-prog-name=collect2`
8834 if test -f "$collect2name" &&
8835 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8837 # We have reworked collect2
8840 # We have old collect2
8841 hardcode_direct=unsupported
8842 # It fails to find uninstalled libraries when the uninstalled
8843 # path is not listed in the libpath. Setting hardcode_minus_L
8844 # to unsupported forces relinking
8845 hardcode_minus_L=yes
8846 hardcode_libdir_flag_spec='-L$libdir'
8847 hardcode_libdir_separator=
8851 shared_flag='-shared'
8852 if test "$aix_use_runtimelinking" = yes; then
8853 shared_flag="$shared_flag "'${wl}-G'
8858 if test "$host_cpu" = ia64; then
8859 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8860 # chokes on -Wl,-G. The following line is correct:
8863 if test "$aix_use_runtimelinking" = yes; then
8864 shared_flag='${wl}-G'
8866 shared_flag='${wl}-bM:SRE'
8871 export_dynamic_flag_spec='${wl}-bexpall'
8872 # It seems that -bexpall does not export symbols beginning with
8873 # underscore (_), so it is better to generate a list of symbols to export.
8874 always_export_symbols=yes
8875 if test "$aix_use_runtimelinking" = yes; then
8876 # Warning - without using the other runtime loading flags (-brtl),
8877 # -berok will link without error, but may produce a broken library.
8878 allow_undefined_flag='-berok'
8879 # Determine the default libpath from the value encoded in an
8881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8882 /* end confdefs.h. */
8892 if ac_fn_c_try_link "$LINENO"; then :
8894 lt_aix_libpath_sed='
8895 /Import File Strings/,/^$/ {
8901 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8902 # Check for a 64-bit object if we didn't find anything.
8903 if test -z "$aix_libpath"; then
8904 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8911 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8912 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"
8914 if test "$host_cpu" = ia64; then
8915 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8916 allow_undefined_flag="-z nodefs"
8917 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"
8919 # Determine the default libpath from the value encoded in an
8921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8932 if ac_fn_c_try_link "$LINENO"; then :
8934 lt_aix_libpath_sed='
8935 /Import File Strings/,/^$/ {
8941 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8942 # Check for a 64-bit object if we didn't find anything.
8943 if test -z "$aix_libpath"; then
8944 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8947 rm -f core conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8949 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8951 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8952 # Warning - without using the other run time loading flags,
8953 # -berok will link without error, but may produce a broken library.
8954 no_undefined_flag=' ${wl}-bernotok'
8955 allow_undefined_flag=' ${wl}-berok'
8956 # Exported symbols can be pulled into shared objects from archives
8957 whole_archive_flag_spec='$convenience'
8958 archive_cmds_need_lc=yes
8959 # This is similar to how AIX traditionally builds its shared libraries.
8960 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'
8968 # see comment about AmigaOS4 .so support
8969 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970 archive_expsym_cmds=''
8973 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)'
8974 hardcode_libdir_flag_spec='-L$libdir'
8975 hardcode_minus_L=yes
8981 export_dynamic_flag_spec=-rdynamic
8984 cygwin* | mingw* | pw32* | cegcc*)
8985 # When not using gcc, we currently assume that we are using
8986 # Microsoft Visual C++.
8987 # hardcode_libdir_flag_spec is actually meaningless, as there is
8988 # no search path for DLLs.
8989 hardcode_libdir_flag_spec=' '
8990 allow_undefined_flag=unsupported
8991 # Tell ltmain to make .lib files, not .a files.
8993 # Tell ltmain to make .dll files, not .so files.
8995 # FIXME: Setting linknames here is a bad hack.
8996 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8997 # The linker will automatically build a .lib file if we build a DLL.
8998 old_archive_from_new_cmds='true'
8999 # FIXME: Should let the user specify the lib program.
9000 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9001 fix_srcfile_path='`cygpath -w "$srcfile"`'
9002 enable_shared_with_static_runtimes=yes
9005 darwin* | rhapsody*)
9008 archive_cmds_need_lc=no
9010 hardcode_automatic=yes
9011 hardcode_shlibpath_var=unsupported
9012 whole_archive_flag_spec=''
9013 link_all_deplibs=yes
9014 allow_undefined_flag="$_lt_dar_allow_undefined"
9015 case $cc_basename in
9016 ifort*) _lt_dar_can_shared=yes ;;
9017 *) _lt_dar_can_shared=$GCC ;;
9019 if test "$_lt_dar_can_shared" = "yes"; then
9020 output_verbose_link_cmd=echo
9021 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9022 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9023 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}"
9024 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}"
9033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9034 hardcode_libdir_flag_spec='-L$libdir'
9035 hardcode_shlibpath_var=no
9042 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9043 # support. Future versions do this automatically, but an explicit c++rt0.o
9044 # does not break anything, and helps significantly (at the cost of a little
9047 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9048 hardcode_libdir_flag_spec='-R$libdir'
9050 hardcode_shlibpath_var=no
9053 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9055 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9057 hardcode_minus_L=yes
9058 hardcode_shlibpath_var=no
9061 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9062 freebsd* | dragonfly*)
9063 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9064 hardcode_libdir_flag_spec='-R$libdir'
9066 hardcode_shlibpath_var=no
9070 if test "$GCC" = yes; then
9071 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'
9073 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'
9075 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9076 hardcode_libdir_separator=:
9079 # hardcode_minus_L: Not really in the search PATH,
9080 # but as the default location of the library.
9081 hardcode_minus_L=yes
9082 export_dynamic_flag_spec='${wl}-E'
9086 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9087 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9089 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9091 if test "$with_gnu_ld" = no; then
9092 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9093 hardcode_libdir_flag_spec_ld='+b $libdir'
9094 hardcode_libdir_separator=:
9096 hardcode_direct_absolute=yes
9097 export_dynamic_flag_spec='${wl}-E'
9098 # hardcode_minus_L: Not really in the search PATH,
9099 # but as the default location of the library.
9100 hardcode_minus_L=yes
9105 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9108 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9111 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9126 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9130 if test "$with_gnu_ld" = no; then
9131 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9132 hardcode_libdir_separator=:
9137 hardcode_shlibpath_var=no
9141 hardcode_direct_absolute=yes
9142 export_dynamic_flag_spec='${wl}-E'
9144 # hardcode_minus_L: Not really in the search PATH,
9145 # but as the default location of the library.
9146 hardcode_minus_L=yes
9152 irix5* | irix6* | nonstopux*)
9153 if test "$GCC" = yes; then
9154 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'
9155 # Try to use the -exported_symbol ld option, if it does not
9156 # work, assume that -exports_file does not work either and
9157 # implicitly export all symbols.
9158 save_LDFLAGS="$LDFLAGS"
9159 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 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'
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9170 LDFLAGS="$save_LDFLAGS"
9172 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'
9173 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'
9175 archive_cmds_need_lc='no'
9176 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9177 hardcode_libdir_separator=:
9179 link_all_deplibs=yes
9182 netbsd* | netbsdelf*-gnu)
9183 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9184 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9186 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9188 hardcode_libdir_flag_spec='-R$libdir'
9190 hardcode_shlibpath_var=no
9194 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9196 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9197 hardcode_libdir_separator=:
9198 hardcode_shlibpath_var=no
9205 if test -f /usr/libexec/ld.so; then
9207 hardcode_shlibpath_var=no
9208 hardcode_direct_absolute=yes
9209 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9210 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9211 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9212 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9213 export_dynamic_flag_spec='${wl}-E'
9216 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9217 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9218 hardcode_libdir_flag_spec='-R$libdir'
9221 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9222 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9232 hardcode_libdir_flag_spec='-L$libdir'
9233 hardcode_minus_L=yes
9234 allow_undefined_flag=unsupported
9235 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'
9236 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9240 if test "$GCC" = yes; then
9241 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9242 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'
9244 allow_undefined_flag=' -expect_unresolved \*'
9245 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'
9247 archive_cmds_need_lc='no'
9248 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9249 hardcode_libdir_separator=:
9252 osf4* | osf5*) # as osf3* with the addition of -msym flag
9253 if test "$GCC" = yes; then
9254 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9255 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'
9256 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9258 allow_undefined_flag=' -expect_unresolved \*'
9259 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'
9260 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~
9261 $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'
9263 # Both c and cxx compiler support -rpath directly
9264 hardcode_libdir_flag_spec='-rpath $libdir'
9266 archive_cmds_need_lc='no'
9267 hardcode_libdir_separator=:
9271 no_undefined_flag=' -z defs'
9272 if test "$GCC" = yes; then
9274 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9275 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9276 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9278 case `$CC -V 2>&1` in
9281 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9282 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9283 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9287 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9288 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9289 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9293 hardcode_libdir_flag_spec='-R$libdir'
9294 hardcode_shlibpath_var=no
9296 solaris2.[0-5] | solaris2.[0-5].*) ;;
9298 # The compiler driver will combine and reorder linker options,
9299 # but understands `-z linker_flag'. GCC discards it without `$wl',
9300 # but is careful enough not to reorder.
9301 # Supported since Solaris 2.6 (maybe 2.5.1?)
9302 if test "$GCC" = yes; then
9303 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9305 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9309 link_all_deplibs=yes
9313 if test "x$host_vendor" = xsequent; then
9314 # Use $CC to link under sequent, because it throws in some extra .o
9315 # files that make .init and .fini sections work.
9316 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9318 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9320 hardcode_libdir_flag_spec='-L$libdir'
9322 hardcode_minus_L=yes
9323 hardcode_shlibpath_var=no
9327 case $host_vendor in
9329 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9330 hardcode_direct=yes # is this really true???
9333 ## LD is ld it makes a PLAMLIB
9334 ## CC just makes a GrossModule.
9335 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9336 reload_cmds='$CC -r -o $output$reload_objs'
9340 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9341 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9344 runpath_var='LD_RUN_PATH'
9345 hardcode_shlibpath_var=no
9349 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9350 hardcode_shlibpath_var=no
9351 export_dynamic_flag_spec='-Bexport'
9355 if test -d /usr/nec; then
9356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9357 hardcode_shlibpath_var=no
9358 runpath_var=LD_RUN_PATH
9359 hardcode_runpath_var=yes
9364 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9365 no_undefined_flag='${wl}-z,text'
9366 archive_cmds_need_lc=no
9367 hardcode_shlibpath_var=no
9368 runpath_var='LD_RUN_PATH'
9370 if test "$GCC" = yes; then
9371 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9372 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9374 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9375 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9379 sysv5* | sco3.2v5* | sco5v6*)
9380 # Note: We can NOT use -z defs as we might desire, because we do not
9381 # link with -lc, and that would cause any symbols used from libc to
9382 # always be unresolved, which means just about no library would
9383 # ever link correctly. If we're not using GNU ld we use -z text
9384 # though, which does catch some bad symbols but isn't as heavy-handed
9386 no_undefined_flag='${wl}-z,text'
9387 allow_undefined_flag='${wl}-z,nodefs'
9388 archive_cmds_need_lc=no
9389 hardcode_shlibpath_var=no
9390 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9391 hardcode_libdir_separator=':'
9392 link_all_deplibs=yes
9393 export_dynamic_flag_spec='${wl}-Bexport'
9394 runpath_var='LD_RUN_PATH'
9396 if test "$GCC" = yes; then
9397 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9398 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9401 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9406 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9407 hardcode_libdir_flag_spec='-L$libdir'
9408 hardcode_shlibpath_var=no
9416 if test x$host_vendor = xsni; then
9418 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9419 export_dynamic_flag_spec='${wl}-Blargedynsym'
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9426 $as_echo "$ld_shlibs" >&6; }
9427 test "$ld_shlibs" = no && can_build_shared=no
9429 with_gnu_ld=$with_gnu_ld
9446 # Do we need to explicitly link libc?
9448 case "x$archive_cmds_need_lc" in
9450 # Assume -lc should be added
9451 archive_cmds_need_lc=yes
9453 if test "$enable_shared" = yes && test "$GCC" = yes; then
9454 case $archive_cmds in
9456 # FIXME: we may have to deal with multi-command sequences.
9459 # Test whether the compiler implicitly links with -lc since on some
9460 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9461 # to ld, don't add -lc before -lgcc.
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9463 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9468 (eval $ac_compile) 2>&5
9470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9471 test $ac_status = 0; } 2>conftest.err; then
9474 libobjs=conftest.$ac_objext
9476 wl=$lt_prog_compiler_wl
9477 pic_flag=$lt_prog_compiler_pic
9483 lt_save_allow_undefined_flag=$allow_undefined_flag
9484 allow_undefined_flag=
9485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9486 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9489 test $ac_status = 0; }
9491 archive_cmds_need_lc=no
9493 archive_cmds_need_lc=yes
9495 allow_undefined_flag=$lt_save_allow_undefined_flag
9497 cat conftest.err 1>&5
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9501 $as_echo "$archive_cmds_need_lc" >&6; }
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9665 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9667 if test "$GCC" = yes; then
9669 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9670 *) lt_awk_arg="/^libraries:/" ;;
9672 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9673 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9674 # if the path contains ";" then we assume it to be the separator
9675 # otherwise default to the standard path separator (i.e. ":") - it is
9676 # assumed that no part of a normal pathname contains ";" but that should
9677 # okay in the real world where ";" in dirpaths is itself problematic.
9678 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9680 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9682 # Ok, now we have the path, separated by spaces, we can step through it
9683 # and add multilib dir if necessary.
9684 lt_tmp_lt_search_path_spec=
9685 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9686 for lt_sys_path in $lt_search_path_spec; do
9687 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9688 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9690 test -d "$lt_sys_path" && \
9691 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9694 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9695 BEGIN {RS=" "; FS="/|\n";} {
9698 for (lt_i = NF; lt_i > 0; lt_i--) {
9699 if ($lt_i != "" && $lt_i != ".") {
9700 if ($lt_i == "..") {
9703 if (lt_count == 0) {
9704 lt_foo="/" $lt_i lt_foo;
9711 if (lt_foo != "") { lt_freq[lt_foo]++; }
9712 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9714 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9716 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9719 libname_spec='lib$name'
9727 shlibpath_overrides_runpath=unknown
9729 dynamic_linker="$host_os ld.so"
9730 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9731 need_lib_prefix=unknown
9732 hardcode_into_libs=no
9734 # when you set need_version to no, make sure it does not cause -set_version
9735 # flags to be left without arguments
9736 need_version=unknown
9741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9742 shlibpath_var=LIBPATH
9744 # AIX 3 has no versioning support, so we append a major version to the name.
9745 soname_spec='${libname}${release}${shared_ext}$major'
9752 hardcode_into_libs=yes
9753 if test "$host_cpu" = ia64; then
9754 # AIX 5 supports IA64
9755 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9756 shlibpath_var=LD_LIBRARY_PATH
9758 # With GCC up to 2.95.x, collect2 would create an import file
9759 # for dependence libraries. The import file would start with
9760 # the line `#! .'. This would cause the generated library to
9761 # depend on `.', always an invalid library. This was fixed in
9762 # development snapshots of GCC prior to 3.0.
9764 aix4 | aix4.[01] | aix4.[01].*)
9765 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9767 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9774 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9775 # soname into executable. Probably we can add versioning support to
9776 # collect2, so additional links can be useful in future.
9777 if test "$aix_use_runtimelinking" = yes; then
9778 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9779 # instead of lib<name>.a to let people know that these are not
9780 # typical AIX shared libraries.
9781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9783 # We preserve .a as extension for shared libraries through AIX4.2
9784 # and later when we are not doing run time linking.
9785 library_names_spec='${libname}${release}.a $libname.a'
9786 soname_spec='${libname}${release}${shared_ext}$major'
9788 shlibpath_var=LIBPATH
9795 # Since July 2007 AmigaOS4 officially supports .so libraries.
9796 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9800 library_names_spec='$libname.ixlibrary $libname.a'
9801 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9802 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'
9808 library_names_spec='${libname}${shared_ext}'
9809 dynamic_linker="$host_os ld.so"
9810 shlibpath_var=LIBRARY_PATH
9816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9817 soname_spec='${libname}${release}${shared_ext}$major'
9818 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9819 shlibpath_var=LD_LIBRARY_PATH
9820 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9821 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9822 # the default ld.so.conf also contains /usr/contrib/lib and
9823 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9824 # libtool to hard-code these into programs
9827 cygwin* | mingw* | pw32* | cegcc*)
9828 version_type=windows
9833 case $GCC,$host_os in
9834 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9835 library_names_spec='$libname.dll.a'
9836 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9837 postinstall_cmds='base_file=`basename \${file}`~
9838 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9839 dldir=$destdir/`dirname \$dlpath`~
9840 test -d \$dldir || mkdir -p \$dldir~
9841 $install_prog $dir/$dlname \$dldir/$dlname~
9842 chmod a+x \$dldir/$dlname~
9843 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9844 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9846 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9847 dlpath=$dir/\$dldll~
9849 shlibpath_overrides_runpath=yes
9853 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9854 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9855 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9858 # MinGW DLLs use traditional 'lib' prefix
9859 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9860 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9861 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9862 # It is most probably a Windows format PATH printed by
9863 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9864 # path with ; separators, and with drive letters. We can handle the
9865 # drive letters (cygwin fileutils understands them), so leave them,
9866 # especially as we might pass files found there to a mingw objdump,
9867 # which wouldn't understand a cygwinified path. Ahh.
9868 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9870 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9874 # pw32 DLLs use 'pw' prefix rather than 'lib'
9875 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9881 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9884 dynamic_linker='Win32 ld.exe'
9885 # FIXME: first we should search . and the directory the executable is in
9889 darwin* | rhapsody*)
9890 dynamic_linker="$host_os dyld"
9894 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9895 soname_spec='${libname}${release}${major}$shared_ext'
9896 shlibpath_overrides_runpath=yes
9897 shlibpath_var=DYLD_LIBRARY_PATH
9898 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9900 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9901 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9909 soname_spec='${libname}${release}${shared_ext}$major'
9910 shlibpath_var=LD_LIBRARY_PATH
9917 freebsd* | dragonfly*)
9918 # DragonFly does not have aout. When/if they implement a new
9919 # versioning mechanism, adjust this.
9920 if test -x /usr/bin/objformat; then
9921 objformat=`/usr/bin/objformat`
9924 freebsd[123]*) objformat=aout ;;
9928 version_type=freebsd-$objformat
9929 case $version_type in
9931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9936 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9940 shlibpath_var=LD_LIBRARY_PATH
9943 shlibpath_overrides_runpath=yes
9945 freebsd3.[01]* | freebsdelf3.[01]*)
9946 shlibpath_overrides_runpath=yes
9947 hardcode_into_libs=yes
9949 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9950 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9951 shlibpath_overrides_runpath=no
9952 hardcode_into_libs=yes
9954 *) # from 4.6 on, and DragonFly
9955 shlibpath_overrides_runpath=yes
9956 hardcode_into_libs=yes
9965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9966 soname_spec='${libname}${release}${shared_ext}$major'
9967 shlibpath_var=LD_LIBRARY_PATH
9968 hardcode_into_libs=yes
9971 hpux9* | hpux10* | hpux11*)
9972 # Give a soname corresponding to the major version so that dld.sl refuses to
9973 # link against other versions.
9980 hardcode_into_libs=yes
9981 dynamic_linker="$host_os dld.so"
9982 shlibpath_var=LD_LIBRARY_PATH
9983 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9985 soname_spec='${libname}${release}${shared_ext}$major'
9986 if test "X$HPUX_IA64_MODE" = X32; then
9987 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9989 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9991 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9995 hardcode_into_libs=yes
9996 dynamic_linker="$host_os dld.sl"
9997 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9998 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10000 soname_spec='${libname}${release}${shared_ext}$major'
10001 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10002 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10006 dynamic_linker="$host_os dld.sl"
10007 shlibpath_var=SHLIB_PATH
10008 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10010 soname_spec='${libname}${release}${shared_ext}$major'
10013 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10014 postinstall_cmds='chmod 555 $lib'
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10022 soname_spec='${libname}${release}${shared_ext}$major'
10023 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10024 shlibpath_var=LD_LIBRARY_PATH
10025 shlibpath_overrides_runpath=no
10026 hardcode_into_libs=yes
10029 irix5* | irix6* | nonstopux*)
10031 nonstopux*) version_type=nonstopux ;;
10033 if test "$lt_cv_prog_gnu_ld" = yes; then
10041 soname_spec='${libname}${release}${shared_ext}$major'
10042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10044 irix5* | nonstopux*)
10045 libsuff= shlibsuff=
10048 case $LD in # libtool.m4 will add one of these switches to LD
10049 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10050 libsuff= shlibsuff= libmagic=32-bit;;
10051 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10052 libsuff=32 shlibsuff=N32 libmagic=N32;;
10053 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10054 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10055 *) libsuff= shlibsuff= libmagic=never-match;;
10059 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10060 shlibpath_overrides_runpath=no
10061 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10062 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10063 hardcode_into_libs=yes
10066 # No shared lib support for Linux oldld, aout, or coff.
10067 linux*oldld* | linux*aout* | linux*coff*)
10071 # This must be Linux ELF.
10072 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10077 soname_spec='${libname}${release}${shared_ext}$major'
10078 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10079 shlibpath_var=LD_LIBRARY_PATH
10080 shlibpath_overrides_runpath=no
10081 # Some binutils ld are patched to set DT_RUNPATH
10082 save_LDFLAGS=$LDFLAGS
10083 save_libdir=$libdir
10084 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10085 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10099 shlibpath_overrides_runpath=yes
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 LDFLAGS=$save_LDFLAGS
10105 libdir=$save_libdir
10107 # This implies no fast_install, which is unacceptable.
10108 # Some rework will be needed to allow for fast_install
10109 # before this can be enabled.
10110 hardcode_into_libs=yes
10112 # Append ld.so.conf contents to the search path
10113 if test -f /etc/ld.so.conf; then
10114 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' ' '`
10115 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10118 # We used to test for /lib/ld.so.1 and disable shared libraries on
10119 # powerpc, because MkLinux only supported shared libraries with the
10120 # GNU dynamic linker. Since this was broken with cross compilers,
10121 # most powerpc-linux boxes support dynamic linking these days and
10122 # people can always --disable-shared, the test was removed, and we
10123 # assume the GNU/Linux dynamic linker is in use.
10124 dynamic_linker='GNU/Linux ld.so'
10131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10132 soname_spec='${libname}${release}${shared_ext}$major'
10133 shlibpath_var=LD_LIBRARY_PATH
10134 shlibpath_overrides_runpath=no
10135 hardcode_into_libs=yes
10136 dynamic_linker='NetBSD ld.elf_so'
10143 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10145 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10146 dynamic_linker='NetBSD (a.out) ld.so'
10148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10149 soname_spec='${libname}${release}${shared_ext}$major'
10150 dynamic_linker='NetBSD ld.elf_so'
10152 shlibpath_var=LD_LIBRARY_PATH
10153 shlibpath_overrides_runpath=yes
10154 hardcode_into_libs=yes
10159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10160 shlibpath_var=LD_LIBRARY_PATH
10161 shlibpath_overrides_runpath=yes
10168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10169 soname_spec='${libname}${release}${shared_ext}$major'
10170 shlibpath_var=LD_LIBRARY_PATH
10171 shlibpath_overrides_runpath=no
10172 hardcode_into_libs=yes
10173 dynamic_linker='ldqnx.so'
10178 sys_lib_dlsearch_path_spec="/usr/lib"
10180 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10182 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10183 *) need_version=no ;;
10185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10186 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10187 shlibpath_var=LD_LIBRARY_PATH
10188 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10190 openbsd2.[89] | openbsd2.[89].*)
10191 shlibpath_overrides_runpath=no
10194 shlibpath_overrides_runpath=yes
10198 shlibpath_overrides_runpath=yes
10203 libname_spec='$name'
10206 library_names_spec='$libname${shared_ext} $libname.a'
10207 dynamic_linker='OS/2 ld.exe'
10208 shlibpath_var=LIBPATH
10211 osf3* | osf4* | osf5*)
10215 soname_spec='${libname}${release}${shared_ext}$major'
10216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10217 shlibpath_var=LD_LIBRARY_PATH
10218 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10219 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10231 soname_spec='${libname}${release}${shared_ext}$major'
10232 shlibpath_var=LD_LIBRARY_PATH
10233 shlibpath_overrides_runpath=yes
10234 hardcode_into_libs=yes
10235 # ldd complains unless libraries are executable
10236 postinstall_cmds='chmod +x $lib'
10241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10242 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10243 shlibpath_var=LD_LIBRARY_PATH
10244 shlibpath_overrides_runpath=yes
10245 if test "$with_gnu_ld" = yes; then
10253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10254 soname_spec='${libname}${release}${shared_ext}$major'
10255 shlibpath_var=LD_LIBRARY_PATH
10256 case $host_vendor in
10258 shlibpath_overrides_runpath=no
10260 runpath_var=LD_RUN_PATH
10268 shlibpath_overrides_runpath=no
10269 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10275 if test -d /usr/nec ;then
10277 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10278 soname_spec='$libname${shared_ext}.$major'
10279 shlibpath_var=LD_LIBRARY_PATH
10283 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10284 version_type=freebsd-elf
10287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10288 soname_spec='${libname}${release}${shared_ext}$major'
10289 shlibpath_var=LD_LIBRARY_PATH
10290 shlibpath_overrides_runpath=yes
10291 hardcode_into_libs=yes
10292 if test "$with_gnu_ld" = yes; then
10293 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10295 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10298 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10302 sys_lib_dlsearch_path_spec='/usr/lib'
10306 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10311 shlibpath_var=LD_LIBRARY_PATH
10312 shlibpath_overrides_runpath=no
10313 hardcode_into_libs=yes
10318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10319 soname_spec='${libname}${release}${shared_ext}$major'
10320 shlibpath_var=LD_LIBRARY_PATH
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10328 $as_echo "$dynamic_linker" >&6; }
10329 test "$dynamic_linker" = no && can_build_shared=no
10331 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10332 if test "$GCC" = yes; then
10333 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10336 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10337 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10339 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10340 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10430 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10432 if test -n "$hardcode_libdir_flag_spec" ||
10433 test -n "$runpath_var" ||
10434 test "X$hardcode_automatic" = "Xyes" ; then
10436 # We can hardcode non-existent directories.
10437 if test "$hardcode_direct" != no &&
10438 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10439 # have to relink, otherwise we might link with an installed library
10440 # when we should be linking with a yet-to-be-installed one
10441 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10442 test "$hardcode_minus_L" != no; then
10443 # Linking always hardcodes the temporary library directory.
10444 hardcode_action=relink
10446 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10447 hardcode_action=immediate
10450 # We cannot hardcode anything, or else we can only hardcode existing
10452 hardcode_action=unsupported
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10455 $as_echo "$hardcode_action" >&6; }
10457 if test "$hardcode_action" = relink ||
10458 test "$inherit_rpath" = yes; then
10459 # Fast installation is not supported
10460 enable_fast_install=no
10461 elif test "$shlibpath_overrides_runpath" = yes ||
10462 test "$enable_shared" = no; then
10463 # Fast installation is not necessary
10464 enable_fast_install=needless
10472 if test "x$enable_dlopen" != xyes; then
10473 enable_dlopen=unknown
10474 enable_dlopen_self=unknown
10475 enable_dlopen_self_static=unknown
10482 lt_cv_dlopen="load_add_on"
10484 lt_cv_dlopen_self=yes
10487 mingw* | pw32* | cegcc*)
10488 lt_cv_dlopen="LoadLibrary"
10493 lt_cv_dlopen="dlopen"
10498 # if libdl is installed we need to link against it
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10500 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10501 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10502 $as_echo_n "(cached) " >&6
10504 ac_check_lib_save_LIBS=$LIBS
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 ac_cv_lib_dl_dlopen=yes
10527 ac_cv_lib_dl_dlopen=no
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 LIBS=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10534 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10535 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10536 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10539 lt_cv_dlopen="dyld"
10541 lt_cv_dlopen_self=yes
10548 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10549 if test "x$ac_cv_func_shl_load" = x""yes; then :
10550 lt_cv_dlopen="shl_load"
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10553 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10554 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10555 $as_echo_n "(cached) " >&6
10557 ac_check_lib_save_LIBS=$LIBS
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10572 return shl_load ();
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_lib_dld_shl_load=yes
10580 ac_cv_lib_dld_shl_load=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_lib_save_LIBS
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10587 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10588 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10589 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10591 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10592 if test "x$ac_cv_func_dlopen" = x""yes; then :
10593 lt_cv_dlopen="dlopen"
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10596 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10597 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10598 $as_echo_n "(cached) " >&6
10600 ac_check_lib_save_LIBS=$LIBS
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10605 /* Override any GCC internal prototype to avoid an error.
10606 Use char because int might match the return type of a GCC
10607 builtin and then its argument prototype would still apply. */
10620 if ac_fn_c_try_link "$LINENO"; then :
10621 ac_cv_lib_dl_dlopen=yes
10623 ac_cv_lib_dl_dlopen=no
10625 rm -f core conftest.err conftest.$ac_objext \
10626 conftest$ac_exeext conftest.$ac_ext
10627 LIBS=$ac_check_lib_save_LIBS
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10630 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10631 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10632 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10635 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10636 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10639 ac_check_lib_save_LIBS=$LIBS
10640 LIBS="-lsvld $LIBS"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 ac_cv_lib_svld_dlopen=yes
10662 ac_cv_lib_svld_dlopen=no
10664 rm -f core conftest.err conftest.$ac_objext \
10665 conftest$ac_exeext conftest.$ac_ext
10666 LIBS=$ac_check_lib_save_LIBS
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10669 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10670 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10671 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10674 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10675 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10676 $as_echo_n "(cached) " >&6
10678 ac_check_lib_save_LIBS=$LIBS
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10693 return dld_link ();
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 ac_cv_lib_dld_dld_link=yes
10701 ac_cv_lib_dld_dld_link=no
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10708 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10709 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10710 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10731 if test "x$lt_cv_dlopen" != xno; then
10737 case $lt_cv_dlopen in
10739 save_CPPFLAGS="$CPPFLAGS"
10740 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10742 save_LDFLAGS="$LDFLAGS"
10743 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10746 LIBS="$lt_cv_dlopen_libs $LIBS"
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10749 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10750 if test "${lt_cv_dlopen_self+set}" = set; then :
10751 $as_echo_n "(cached) " >&6
10753 if test "$cross_compiling" = yes; then :
10754 lt_cv_dlopen_self=cross
10756 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10757 lt_status=$lt_dlunknown
10758 cat > conftest.$ac_ext <<_LT_EOF
10759 #line 10759 "configure"
10760 #include "confdefs.h"
10769 # define LT_DLGLOBAL RTLD_GLOBAL
10772 # define LT_DLGLOBAL DL_GLOBAL
10774 # define LT_DLGLOBAL 0
10778 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10779 find out it does not work in some platform. */
10780 #ifndef LT_DLLAZY_OR_NOW
10782 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10785 # define LT_DLLAZY_OR_NOW DL_LAZY
10788 # define LT_DLLAZY_OR_NOW RTLD_NOW
10791 # define LT_DLLAZY_OR_NOW DL_NOW
10793 # define LT_DLLAZY_OR_NOW 0
10800 void fnord() { int i=42;}
10803 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10804 int status = $lt_dlunknown;
10808 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10809 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10810 /* dlclose (self); */
10818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10819 (eval $ac_link) 2>&5
10821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10822 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10823 (./conftest; exit; ) >&5 2>/dev/null
10825 case x$lt_status in
10826 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10827 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10828 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10831 # compilation failed
10832 lt_cv_dlopen_self=no
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10840 $as_echo "$lt_cv_dlopen_self" >&6; }
10842 if test "x$lt_cv_dlopen_self" = xyes; then
10843 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10845 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10846 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10847 $as_echo_n "(cached) " >&6
10849 if test "$cross_compiling" = yes; then :
10850 lt_cv_dlopen_self_static=cross
10852 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10853 lt_status=$lt_dlunknown
10854 cat > conftest.$ac_ext <<_LT_EOF
10855 #line 10855 "configure"
10856 #include "confdefs.h"
10865 # define LT_DLGLOBAL RTLD_GLOBAL
10868 # define LT_DLGLOBAL DL_GLOBAL
10870 # define LT_DLGLOBAL 0
10874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10875 find out it does not work in some platform. */
10876 #ifndef LT_DLLAZY_OR_NOW
10878 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10881 # define LT_DLLAZY_OR_NOW DL_LAZY
10884 # define LT_DLLAZY_OR_NOW RTLD_NOW
10887 # define LT_DLLAZY_OR_NOW DL_NOW
10889 # define LT_DLLAZY_OR_NOW 0
10896 void fnord() { int i=42;}
10899 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10900 int status = $lt_dlunknown;
10904 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10905 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10906 /* dlclose (self); */
10914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10915 (eval $ac_link) 2>&5
10917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10918 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10919 (./conftest; exit; ) >&5 2>/dev/null
10921 case x$lt_status in
10922 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10923 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10924 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10927 # compilation failed
10928 lt_cv_dlopen_self_static=no
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10936 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10939 CPPFLAGS="$save_CPPFLAGS"
10940 LDFLAGS="$save_LDFLAGS"
10945 case $lt_cv_dlopen_self in
10946 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10947 *) enable_dlopen_self=unknown ;;
10950 case $lt_cv_dlopen_self_static in
10951 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10952 *) enable_dlopen_self_static=unknown ;;
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10975 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10976 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10977 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10978 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10980 $as_echo "yes" >&6; }
10982 # FIXME - insert some real tests, host_os isn't really good enough
10985 if test -n "$STRIP" ; then
10986 striplib="$STRIP -x"
10987 old_striplib="$STRIP -S"
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10989 $as_echo "yes" >&6; }
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10992 $as_echo "no" >&6; }
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10997 $as_echo "no" >&6; }
11013 # Report which library types will actually be built
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11015 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11017 $as_echo "$can_build_shared" >&6; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11020 $as_echo_n "checking whether to build shared libraries... " >&6; }
11021 test "$can_build_shared" = "no" && enable_shared=no
11023 # On AIX, shared libraries and static libraries use the same namespace, and
11024 # are all built from PIC.
11027 test "$enable_shared" = yes && enable_static=no
11028 if test -n "$RANLIB"; then
11029 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11030 postinstall_cmds='$RANLIB $lib'
11035 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11036 test "$enable_shared" = yes && enable_static=no
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11041 $as_echo "$enable_shared" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11044 $as_echo_n "checking whether to build static libraries... " >&6; }
11045 # Make sure either enable_shared or enable_static is yes.
11046 test "$enable_shared" = yes || enable_static=yes
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11048 $as_echo "$enable_static" >&6; }
11055 ac_cpp='$CPP $CPPFLAGS'
11056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11074 ac_config_commands="$ac_config_commands libtool"
11079 # Only expand once:
11095 DX_PROJECT=xmltooling
11097 DX_CONFIG=doxygen.cfg
11102 # Environment variables used inside doxygen.cfg:
11103 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11105 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11107 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11109 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11116 # Check whether --enable-doxygen-doc was given.
11117 if test "${enable_doxygen_doc+set}" = set; then :
11118 enableval=$enable_doxygen_doc;
11119 case "$enableval" in
11131 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11143 if test "$DX_FLAG_doc" = 1; then
11145 if test -n "$ac_tool_prefix"; then
11146 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11147 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11149 $as_echo_n "checking for $ac_word... " >&6; }
11150 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11151 $as_echo_n "(cached) " >&6
11153 case $DX_DOXYGEN in
11155 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11159 for as_dir in $PATH
11162 test -z "$as_dir" && as_dir=.
11163 for ac_exec_ext in '' $ac_executable_extensions; do
11164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11165 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11176 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11177 if test -n "$DX_DOXYGEN"; then
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11179 $as_echo "$DX_DOXYGEN" >&6; }
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11182 $as_echo "no" >&6; }
11187 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11188 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11189 # Extract the first word of "doxygen", so it can be a program name with args.
11190 set dummy doxygen; ac_word=$2
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11192 $as_echo_n "checking for $ac_word... " >&6; }
11193 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11194 $as_echo_n "(cached) " >&6
11196 case $ac_pt_DX_DOXYGEN in
11198 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11202 for as_dir in $PATH
11205 test -z "$as_dir" && as_dir=.
11206 for ac_exec_ext in '' $ac_executable_extensions; do
11207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11208 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11219 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11220 if test -n "$ac_pt_DX_DOXYGEN"; then
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11222 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11225 $as_echo "no" >&6; }
11228 if test "x$ac_pt_DX_DOXYGEN" = x; then
11231 case $cross_compiling:$ac_tool_warned in
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11235 ac_tool_warned=yes ;;
11237 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11240 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11243 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11245 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11251 if test -n "$ac_tool_prefix"; then
11252 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11253 set dummy ${ac_tool_prefix}perl; ac_word=$2
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11255 $as_echo_n "checking for $ac_word... " >&6; }
11256 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11261 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11265 for as_dir in $PATH
11268 test -z "$as_dir" && as_dir=.
11269 for ac_exec_ext in '' $ac_executable_extensions; do
11270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11271 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11282 DX_PERL=$ac_cv_path_DX_PERL
11283 if test -n "$DX_PERL"; then
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11285 $as_echo "$DX_PERL" >&6; }
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11288 $as_echo "no" >&6; }
11293 if test -z "$ac_cv_path_DX_PERL"; then
11294 ac_pt_DX_PERL=$DX_PERL
11295 # Extract the first word of "perl", so it can be a program name with args.
11296 set dummy perl; ac_word=$2
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11298 $as_echo_n "checking for $ac_word... " >&6; }
11299 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11302 case $ac_pt_DX_PERL in
11304 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11308 for as_dir in $PATH
11311 test -z "$as_dir" && as_dir=.
11312 for ac_exec_ext in '' $ac_executable_extensions; do
11313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11314 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11325 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11326 if test -n "$ac_pt_DX_PERL"; then
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11328 $as_echo "$ac_pt_DX_PERL" >&6; }
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11331 $as_echo "no" >&6; }
11334 if test "x$ac_pt_DX_PERL" = x; then
11337 case $cross_compiling:$ac_tool_warned in
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11341 ac_tool_warned=yes ;;
11343 DX_PERL=$ac_pt_DX_PERL
11346 DX_PERL="$ac_cv_path_DX_PERL"
11349 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11351 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11358 if test "$DX_FLAG_doc" = 1; then
11361 DX_COND_doc_FALSE='#'
11363 DX_COND_doc_TRUE='#'
11367 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
11373 DX_COND_doc_FALSE='#'
11375 DX_COND_doc_TRUE='#'
11384 # Dot for graphics:
11388 # Check whether --enable-doxygen-dot was given.
11389 if test "${enable_doxygen_dot+set}" = set; then :
11390 enableval=$enable_doxygen_dot;
11391 case "$enableval" in
11397 test "$DX_FLAG_doc" = "1" \
11398 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
11406 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
11415 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
11421 if test "$DX_FLAG_dot" = 1; then
11423 if test -n "$ac_tool_prefix"; then
11424 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
11425 set dummy ${ac_tool_prefix}dot; ac_word=$2
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11427 $as_echo_n "checking for $ac_word... " >&6; }
11428 if test "${ac_cv_path_DX_DOT+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11433 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11437 for as_dir in $PATH
11440 test -z "$as_dir" && as_dir=.
11441 for ac_exec_ext in '' $ac_executable_extensions; do
11442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11443 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 DX_DOT=$ac_cv_path_DX_DOT
11455 if test -n "$DX_DOT"; then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
11457 $as_echo "$DX_DOT" >&6; }
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11460 $as_echo "no" >&6; }
11465 if test -z "$ac_cv_path_DX_DOT"; then
11466 ac_pt_DX_DOT=$DX_DOT
11467 # Extract the first word of "dot", so it can be a program name with args.
11468 set dummy dot; ac_word=$2
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11470 $as_echo_n "checking for $ac_word... " >&6; }
11471 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
11472 $as_echo_n "(cached) " >&6
11474 case $ac_pt_DX_DOT in
11476 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
11479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11480 for as_dir in $PATH
11483 test -z "$as_dir" && as_dir=.
11484 for ac_exec_ext in '' $ac_executable_extensions; do
11485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11486 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11497 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
11498 if test -n "$ac_pt_DX_DOT"; then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
11500 $as_echo "$ac_pt_DX_DOT" >&6; }
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11503 $as_echo "no" >&6; }
11506 if test "x$ac_pt_DX_DOT" = x; then
11509 case $cross_compiling:$ac_tool_warned in
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11513 ac_tool_warned=yes ;;
11515 DX_DOT=$ac_pt_DX_DOT
11518 DX_DOT="$ac_cv_path_DX_DOT"
11521 if test "$DX_FLAG_dot$DX_DOT" = 1; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
11523 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
11530 if test "$DX_FLAG_dot" = 1; then
11533 DX_COND_dot_FALSE='#'
11535 DX_COND_dot_TRUE='#'
11539 DX_ENV="$DX_ENV HAVE_DOT='YES'"
11541 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
11547 DX_COND_dot_FALSE='#'
11549 DX_COND_dot_TRUE='#'
11553 DX_ENV="$DX_ENV HAVE_DOT='NO'"
11559 # Man pages generation:
11563 # Check whether --enable-doxygen-man was given.
11564 if test "${enable_doxygen_man+set}" = set; then :
11565 enableval=$enable_doxygen_man;
11566 case "$enableval" in
11572 test "$DX_FLAG_doc" = "1" \
11573 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
11581 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
11590 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
11596 if test "$DX_FLAG_man" = 1; then
11600 if test "$DX_FLAG_man" = 1; then
11603 DX_COND_man_FALSE='#'
11605 DX_COND_man_TRUE='#'
11609 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
11615 DX_COND_man_FALSE='#'
11617 DX_COND_man_TRUE='#'
11621 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
11627 # RTF file generation:
11631 # Check whether --enable-doxygen-rtf was given.
11632 if test "${enable_doxygen_rtf+set}" = set; then :
11633 enableval=$enable_doxygen_rtf;
11634 case "$enableval" in
11640 test "$DX_FLAG_doc" = "1" \
11641 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
11649 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
11658 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
11664 if test "$DX_FLAG_rtf" = 1; then
11668 if test "$DX_FLAG_rtf" = 1; then
11671 DX_COND_rtf_FALSE='#'
11673 DX_COND_rtf_TRUE='#'
11677 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
11683 DX_COND_rtf_FALSE='#'
11685 DX_COND_rtf_TRUE='#'
11689 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
11695 # XML file generation:
11699 # Check whether --enable-doxygen-xml was given.
11700 if test "${enable_doxygen_xml+set}" = set; then :
11701 enableval=$enable_doxygen_xml;
11702 case "$enableval" in
11708 test "$DX_FLAG_doc" = "1" \
11709 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
11717 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
11726 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
11732 if test "$DX_FLAG_xml" = 1; then
11736 if test "$DX_FLAG_xml" = 1; then
11739 DX_COND_xml_FALSE='#'
11741 DX_COND_xml_TRUE='#'
11745 DX_ENV="$DX_ENV GENERATE_XML='YES'"
11751 DX_COND_xml_FALSE='#'
11753 DX_COND_xml_TRUE='#'
11757 DX_ENV="$DX_ENV GENERATE_XML='NO'"
11763 # (Compressed) HTML help generation:
11767 # Check whether --enable-doxygen-chm was given.
11768 if test "${enable_doxygen_chm+set}" = set; then :
11769 enableval=$enable_doxygen_chm;
11770 case "$enableval" in
11776 test "$DX_FLAG_doc" = "1" \
11777 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
11785 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
11794 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
11800 if test "$DX_FLAG_chm" = 1; then
11802 if test -n "$ac_tool_prefix"; then
11803 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
11804 set dummy ${ac_tool_prefix}hhc; ac_word=$2
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11806 $as_echo_n "checking for $ac_word... " >&6; }
11807 if test "${ac_cv_path_DX_HHC+set}" = set; then :
11808 $as_echo_n "(cached) " >&6
11812 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
11815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11816 for as_dir in $PATH
11819 test -z "$as_dir" && as_dir=.
11820 for ac_exec_ext in '' $ac_executable_extensions; do
11821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11822 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 DX_HHC=$ac_cv_path_DX_HHC
11834 if test -n "$DX_HHC"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
11836 $as_echo "$DX_HHC" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11844 if test -z "$ac_cv_path_DX_HHC"; then
11845 ac_pt_DX_HHC=$DX_HHC
11846 # Extract the first word of "hhc", so it can be a program name with args.
11847 set dummy hhc; ac_word=$2
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11849 $as_echo_n "checking for $ac_word... " >&6; }
11850 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11853 case $ac_pt_DX_HHC in
11855 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
11858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11859 for as_dir in $PATH
11862 test -z "$as_dir" && as_dir=.
11863 for ac_exec_ext in '' $ac_executable_extensions; do
11864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11865 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11876 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
11877 if test -n "$ac_pt_DX_HHC"; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
11879 $as_echo "$ac_pt_DX_HHC" >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11882 $as_echo "no" >&6; }
11885 if test "x$ac_pt_DX_HHC" = x; then
11888 case $cross_compiling:$ac_tool_warned in
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11892 ac_tool_warned=yes ;;
11894 DX_HHC=$ac_pt_DX_HHC
11897 DX_HHC="$ac_cv_path_DX_HHC"
11900 if test "$DX_FLAG_chm$DX_HHC" = 1; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
11902 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
11909 if test "$DX_FLAG_chm" = 1; then
11912 DX_COND_chm_FALSE='#'
11914 DX_COND_chm_TRUE='#'
11918 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
11920 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11922 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
11928 DX_COND_chm_FALSE='#'
11930 DX_COND_chm_TRUE='#'
11934 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
11940 # Seperate CHI file generation.
11944 # Check whether --enable-doxygen-chi was given.
11945 if test "${enable_doxygen_chi+set}" = set; then :
11946 enableval=$enable_doxygen_chi;
11947 case "$enableval" in
11953 test "$DX_FLAG_chm" = "1" \
11954 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
11962 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
11971 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
11977 if test "$DX_FLAG_chi" = 1; then
11981 if test "$DX_FLAG_chi" = 1; then
11984 DX_COND_chi_FALSE='#'
11986 DX_COND_chi_TRUE='#'
11990 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
11996 DX_COND_chi_FALSE='#'
11998 DX_COND_chi_TRUE='#'
12002 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12008 # Plain HTML pages generation:
12012 # Check whether --enable-doxygen-html was given.
12013 if test "${enable_doxygen_html+set}" = set; then :
12014 enableval=$enable_doxygen_html;
12015 case "$enableval" in
12021 test "$DX_FLAG_doc" = "1" \
12022 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12024 test "$DX_FLAG_chm" = "0" \
12025 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12033 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12042 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12045 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12051 if test "$DX_FLAG_html" = 1; then
12055 if test "$DX_FLAG_html" = 1; then
12058 DX_COND_html_FALSE='#'
12060 DX_COND_html_TRUE='#'
12061 DX_COND_html_FALSE=
12064 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12070 DX_COND_html_FALSE='#'
12072 DX_COND_html_TRUE='#'
12073 DX_COND_html_FALSE=
12076 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12082 # PostScript file generation:
12086 # Check whether --enable-doxygen-ps was given.
12087 if test "${enable_doxygen_ps+set}" = set; then :
12088 enableval=$enable_doxygen_ps;
12089 case "$enableval" in
12095 test "$DX_FLAG_doc" = "1" \
12096 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12104 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12113 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12119 if test "$DX_FLAG_ps" = 1; then
12121 if test -n "$ac_tool_prefix"; then
12122 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12123 set dummy ${ac_tool_prefix}latex; ac_word=$2
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12125 $as_echo_n "checking for $ac_word... " >&6; }
12126 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12131 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12135 for as_dir in $PATH
12138 test -z "$as_dir" && as_dir=.
12139 for ac_exec_ext in '' $ac_executable_extensions; do
12140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12141 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 DX_LATEX=$ac_cv_path_DX_LATEX
12153 if test -n "$DX_LATEX"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12155 $as_echo "$DX_LATEX" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12163 if test -z "$ac_cv_path_DX_LATEX"; then
12164 ac_pt_DX_LATEX=$DX_LATEX
12165 # Extract the first word of "latex", so it can be a program name with args.
12166 set dummy latex; ac_word=$2
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12168 $as_echo_n "checking for $ac_word... " >&6; }
12169 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12172 case $ac_pt_DX_LATEX in
12174 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12178 for as_dir in $PATH
12181 test -z "$as_dir" && as_dir=.
12182 for ac_exec_ext in '' $ac_executable_extensions; do
12183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12184 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12195 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12196 if test -n "$ac_pt_DX_LATEX"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12198 $as_echo "$ac_pt_DX_LATEX" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12204 if test "x$ac_pt_DX_LATEX" = x; then
12207 case $cross_compiling:$ac_tool_warned in
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12211 ac_tool_warned=yes ;;
12213 DX_LATEX=$ac_pt_DX_LATEX
12216 DX_LATEX="$ac_cv_path_DX_LATEX"
12219 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12221 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12227 if test -n "$ac_tool_prefix"; then
12228 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12229 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12231 $as_echo_n "checking for $ac_word... " >&6; }
12232 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12235 case $DX_MAKEINDEX in
12237 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12244 test -z "$as_dir" && as_dir=.
12245 for ac_exec_ext in '' $ac_executable_extensions; do
12246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12247 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12258 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12259 if test -n "$DX_MAKEINDEX"; then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12261 $as_echo "$DX_MAKEINDEX" >&6; }
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12264 $as_echo "no" >&6; }
12269 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12270 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12271 # Extract the first word of "makeindex", so it can be a program name with args.
12272 set dummy makeindex; ac_word=$2
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12274 $as_echo_n "checking for $ac_word... " >&6; }
12275 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12276 $as_echo_n "(cached) " >&6
12278 case $ac_pt_DX_MAKEINDEX in
12280 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12284 for as_dir in $PATH
12287 test -z "$as_dir" && as_dir=.
12288 for ac_exec_ext in '' $ac_executable_extensions; do
12289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12290 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12301 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12302 if test -n "$ac_pt_DX_MAKEINDEX"; then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12304 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12307 $as_echo "no" >&6; }
12310 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12313 case $cross_compiling:$ac_tool_warned in
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12317 ac_tool_warned=yes ;;
12319 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12322 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12325 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12327 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12333 if test -n "$ac_tool_prefix"; then
12334 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12335 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12337 $as_echo_n "checking for $ac_word... " >&6; }
12338 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
12339 $as_echo_n "(cached) " >&6
12343 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12347 for as_dir in $PATH
12350 test -z "$as_dir" && as_dir=.
12351 for ac_exec_ext in '' $ac_executable_extensions; do
12352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12353 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12364 DX_DVIPS=$ac_cv_path_DX_DVIPS
12365 if test -n "$DX_DVIPS"; then
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
12367 $as_echo "$DX_DVIPS" >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12375 if test -z "$ac_cv_path_DX_DVIPS"; then
12376 ac_pt_DX_DVIPS=$DX_DVIPS
12377 # Extract the first word of "dvips", so it can be a program name with args.
12378 set dummy dvips; ac_word=$2
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12380 $as_echo_n "checking for $ac_word... " >&6; }
12381 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
12382 $as_echo_n "(cached) " >&6
12384 case $ac_pt_DX_DVIPS in
12386 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12390 for as_dir in $PATH
12393 test -z "$as_dir" && as_dir=.
12394 for ac_exec_ext in '' $ac_executable_extensions; do
12395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12396 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12407 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12408 if test -n "$ac_pt_DX_DVIPS"; then
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
12410 $as_echo "$ac_pt_DX_DVIPS" >&6; }
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12413 $as_echo "no" >&6; }
12416 if test "x$ac_pt_DX_DVIPS" = x; then
12419 case $cross_compiling:$ac_tool_warned in
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12423 ac_tool_warned=yes ;;
12425 DX_DVIPS=$ac_pt_DX_DVIPS
12428 DX_DVIPS="$ac_cv_path_DX_DVIPS"
12431 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12433 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12439 if test -n "$ac_tool_prefix"; then
12440 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12441 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12443 $as_echo_n "checking for $ac_word... " >&6; }
12444 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12445 $as_echo_n "(cached) " >&6
12449 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12453 for as_dir in $PATH
12456 test -z "$as_dir" && as_dir=.
12457 for ac_exec_ext in '' $ac_executable_extensions; do
12458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12459 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12470 DX_EGREP=$ac_cv_path_DX_EGREP
12471 if test -n "$DX_EGREP"; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12473 $as_echo "$DX_EGREP" >&6; }
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12476 $as_echo "no" >&6; }
12481 if test -z "$ac_cv_path_DX_EGREP"; then
12482 ac_pt_DX_EGREP=$DX_EGREP
12483 # Extract the first word of "egrep", so it can be a program name with args.
12484 set dummy egrep; ac_word=$2
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12486 $as_echo_n "checking for $ac_word... " >&6; }
12487 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12488 $as_echo_n "(cached) " >&6
12490 case $ac_pt_DX_EGREP in
12492 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12496 for as_dir in $PATH
12499 test -z "$as_dir" && as_dir=.
12500 for ac_exec_ext in '' $ac_executable_extensions; do
12501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12502 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12513 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12514 if test -n "$ac_pt_DX_EGREP"; then
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12516 $as_echo "$ac_pt_DX_EGREP" >&6; }
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12519 $as_echo "no" >&6; }
12522 if test "x$ac_pt_DX_EGREP" = x; then
12525 case $cross_compiling:$ac_tool_warned in
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12529 ac_tool_warned=yes ;;
12531 DX_EGREP=$ac_pt_DX_EGREP
12534 DX_EGREP="$ac_cv_path_DX_EGREP"
12537 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
12539 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
12546 if test "$DX_FLAG_ps" = 1; then
12549 DX_COND_ps_FALSE='#'
12551 DX_COND_ps_TRUE='#'
12560 DX_COND_ps_FALSE='#'
12562 DX_COND_ps_TRUE='#'
12571 # PDF file generation:
12575 # Check whether --enable-doxygen-pdf was given.
12576 if test "${enable_doxygen_pdf+set}" = set; then :
12577 enableval=$enable_doxygen_pdf;
12578 case "$enableval" in
12584 test "$DX_FLAG_doc" = "1" \
12585 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
12593 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
12602 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
12608 if test "$DX_FLAG_pdf" = 1; then
12610 if test -n "$ac_tool_prefix"; then
12611 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
12612 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12614 $as_echo_n "checking for $ac_word... " >&6; }
12615 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
12616 $as_echo_n "(cached) " >&6
12618 case $DX_PDFLATEX in
12620 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
12623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12624 for as_dir in $PATH
12627 test -z "$as_dir" && as_dir=.
12628 for ac_exec_ext in '' $ac_executable_extensions; do
12629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12630 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12641 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
12642 if test -n "$DX_PDFLATEX"; then
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
12644 $as_echo "$DX_PDFLATEX" >&6; }
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12647 $as_echo "no" >&6; }
12652 if test -z "$ac_cv_path_DX_PDFLATEX"; then
12653 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
12654 # Extract the first word of "pdflatex", so it can be a program name with args.
12655 set dummy pdflatex; ac_word=$2
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12657 $as_echo_n "checking for $ac_word... " >&6; }
12658 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
12659 $as_echo_n "(cached) " >&6
12661 case $ac_pt_DX_PDFLATEX in
12663 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
12666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12667 for as_dir in $PATH
12670 test -z "$as_dir" && as_dir=.
12671 for ac_exec_ext in '' $ac_executable_extensions; do
12672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12673 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12684 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
12685 if test -n "$ac_pt_DX_PDFLATEX"; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
12687 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12690 $as_echo "no" >&6; }
12693 if test "x$ac_pt_DX_PDFLATEX" = x; then
12696 case $cross_compiling:$ac_tool_warned in
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12700 ac_tool_warned=yes ;;
12702 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
12705 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
12708 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
12710 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
12716 if test -n "$ac_tool_prefix"; then
12717 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12718 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12720 $as_echo_n "checking for $ac_word... " >&6; }
12721 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12722 $as_echo_n "(cached) " >&6
12724 case $DX_MAKEINDEX in
12726 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12730 for as_dir in $PATH
12733 test -z "$as_dir" && as_dir=.
12734 for ac_exec_ext in '' $ac_executable_extensions; do
12735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12736 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12747 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12748 if test -n "$DX_MAKEINDEX"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12750 $as_echo "$DX_MAKEINDEX" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753 $as_echo "no" >&6; }
12758 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12759 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12760 # Extract the first word of "makeindex", so it can be a program name with args.
12761 set dummy makeindex; ac_word=$2
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12763 $as_echo_n "checking for $ac_word... " >&6; }
12764 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12765 $as_echo_n "(cached) " >&6
12767 case $ac_pt_DX_MAKEINDEX in
12769 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12773 for as_dir in $PATH
12776 test -z "$as_dir" && as_dir=.
12777 for ac_exec_ext in '' $ac_executable_extensions; do
12778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12779 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12790 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12791 if test -n "$ac_pt_DX_MAKEINDEX"; then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12793 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12796 $as_echo "no" >&6; }
12799 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12802 case $cross_compiling:$ac_tool_warned in
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12806 ac_tool_warned=yes ;;
12808 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12811 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12814 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
12816 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
12822 if test -n "$ac_tool_prefix"; then
12823 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12824 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12826 $as_echo_n "checking for $ac_word... " >&6; }
12827 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12828 $as_echo_n "(cached) " >&6
12832 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12836 for as_dir in $PATH
12839 test -z "$as_dir" && as_dir=.
12840 for ac_exec_ext in '' $ac_executable_extensions; do
12841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12842 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 DX_EGREP=$ac_cv_path_DX_EGREP
12854 if test -n "$DX_EGREP"; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12856 $as_echo "$DX_EGREP" >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12864 if test -z "$ac_cv_path_DX_EGREP"; then
12865 ac_pt_DX_EGREP=$DX_EGREP
12866 # Extract the first word of "egrep", so it can be a program name with args.
12867 set dummy egrep; ac_word=$2
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12869 $as_echo_n "checking for $ac_word... " >&6; }
12870 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12871 $as_echo_n "(cached) " >&6
12873 case $ac_pt_DX_EGREP in
12875 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12879 for as_dir in $PATH
12882 test -z "$as_dir" && as_dir=.
12883 for ac_exec_ext in '' $ac_executable_extensions; do
12884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12885 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12896 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12897 if test -n "$ac_pt_DX_EGREP"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12899 $as_echo "$ac_pt_DX_EGREP" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12905 if test "x$ac_pt_DX_EGREP" = x; then
12908 case $cross_compiling:$ac_tool_warned in
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12912 ac_tool_warned=yes ;;
12914 DX_EGREP=$ac_pt_DX_EGREP
12917 DX_EGREP="$ac_cv_path_DX_EGREP"
12920 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
12922 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
12929 if test "$DX_FLAG_pdf" = 1; then
12932 DX_COND_pdf_FALSE='#'
12934 DX_COND_pdf_TRUE='#'
12943 DX_COND_pdf_FALSE='#'
12945 DX_COND_pdf_TRUE='#'
12954 # LaTeX generation for PS and/or PDF:
12955 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
12957 DX_COND_latex_TRUE=
12958 DX_COND_latex_FALSE='#'
12960 DX_COND_latex_TRUE='#'
12961 DX_COND_latex_FALSE=
12964 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
12968 DX_COND_latex_TRUE=
12969 DX_COND_latex_FALSE='#'
12971 DX_COND_latex_TRUE='#'
12972 DX_COND_latex_FALSE=
12975 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
12979 # Paper size for PS and/or PDF:
12981 case "$DOXYGEN_PAPER_SIZE" in
12984 DOXYGEN_PAPER_SIZE=""
12987 a4wide|a4|letter|legal|executive)
12988 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
12992 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
12997 #echo DX_FLAG_doc=$DX_FLAG_doc
12998 #echo DX_FLAG_dot=$DX_FLAG_dot
12999 #echo DX_FLAG_man=$DX_FLAG_man
13000 #echo DX_FLAG_html=$DX_FLAG_html
13001 #echo DX_FLAG_chm=$DX_FLAG_chm
13002 #echo DX_FLAG_chi=$DX_FLAG_chi
13003 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13004 #echo DX_FLAG_xml=$DX_FLAG_xml
13005 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13006 #echo DX_FLAG_ps=$DX_FLAG_ps
13007 #echo DX_ENV=$DX_ENV
13010 # Check whether --enable-debug was given.
13011 if test "${enable_debug+set}" = set; then :
13012 enableval=$enable_debug; enable_debug=$enableval
13018 if test "$enable_debug" = "yes" ; then
13019 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
13020 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
13022 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
13023 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
13026 ac_config_headers="$ac_config_headers config.h xmltooling/config_pub.h"
13028 ac_config_files="$ac_config_files xmltooling.spec pkginfo Portfile"
13030 ac_config_files="$ac_config_files Makefile xmltooling/Makefile xmltoolingtest/Makefile schemas/Makefile doc/Makefile"
13034 ac_cpp='$CPP $CPPFLAGS'
13035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13038 if test -n "$ac_tool_prefix"; then
13039 for ac_prog in gcc gcc3 cc
13041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13044 $as_echo_n "checking for $ac_word... " >&6; }
13045 if test "${ac_cv_prog_CC+set}" = set; then :
13046 $as_echo_n "(cached) " >&6
13048 if test -n "$CC"; then
13049 ac_cv_prog_CC="$CC" # Let the user override the test.
13051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13052 for as_dir in $PATH
13055 test -z "$as_dir" && as_dir=.
13056 for ac_exec_ext in '' $ac_executable_extensions; do
13057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13058 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13069 if test -n "$CC"; then
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13071 $as_echo "$CC" >&6; }
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13074 $as_echo "no" >&6; }
13078 test -n "$CC" && break
13081 if test -z "$CC"; then
13083 for ac_prog in gcc gcc3 cc
13085 # Extract the first word of "$ac_prog", so it can be a program name with args.
13086 set dummy $ac_prog; ac_word=$2
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13088 $as_echo_n "checking for $ac_word... " >&6; }
13089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13090 $as_echo_n "(cached) " >&6
13092 if test -n "$ac_ct_CC"; then
13093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13096 for as_dir in $PATH
13099 test -z "$as_dir" && as_dir=.
13100 for ac_exec_ext in '' $ac_executable_extensions; do
13101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13102 ac_cv_prog_ac_ct_CC="$ac_prog"
13103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13113 if test -n "$ac_ct_CC"; then
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13115 $as_echo "$ac_ct_CC" >&6; }
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118 $as_echo "no" >&6; }
13122 test -n "$ac_ct_CC" && break
13125 if test "x$ac_ct_CC" = x; then
13128 case $cross_compiling:$ac_tool_warned in
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13132 ac_tool_warned=yes ;;
13139 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13141 as_fn_error $? "no acceptable C compiler found in \$PATH
13142 See \`config.log' for more details" "$LINENO" 5 ; }
13144 # Provide some information about the compiler.
13145 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13148 for ac_option in --version -v -V -qversion; do
13149 { { ac_try="$ac_compiler $ac_option >&5"
13150 case "(($ac_try" in
13151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13152 *) ac_try_echo=$ac_try;;
13154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13155 $as_echo "$ac_try_echo"; } >&5
13156 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13158 if test -s conftest.err; then
13160 ... rest of stderr output deleted ...
13161 10q' conftest.err >conftest.er1
13162 cat conftest.er1 >&5
13164 rm -f conftest.er1 conftest.err
13165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13166 test $ac_status = 0; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13170 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13171 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13172 $as_echo_n "(cached) " >&6
13174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13188 if ac_fn_c_try_compile "$LINENO"; then :
13189 ac_compiler_gnu=yes
13193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13194 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13198 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13199 if test $ac_compiler_gnu = yes; then
13204 ac_test_CFLAGS=${CFLAGS+set}
13205 ac_save_CFLAGS=$CFLAGS
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13207 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13208 if test "${ac_cv_prog_cc_g+set}" = set; then :
13209 $as_echo_n "(cached) " >&6
13211 ac_save_c_werror_flag=$ac_c_werror_flag
13212 ac_c_werror_flag=yes
13215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13216 /* end confdefs.h. */
13226 if ac_fn_c_try_compile "$LINENO"; then :
13227 ac_cv_prog_cc_g=yes
13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13241 if ac_fn_c_try_compile "$LINENO"; then :
13244 ac_c_werror_flag=$ac_save_c_werror_flag
13246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13257 if ac_fn_c_try_compile "$LINENO"; then :
13258 ac_cv_prog_cc_g=yes
13260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13265 ac_c_werror_flag=$ac_save_c_werror_flag
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13268 $as_echo "$ac_cv_prog_cc_g" >&6; }
13269 if test "$ac_test_CFLAGS" = set; then
13270 CFLAGS=$ac_save_CFLAGS
13271 elif test $ac_cv_prog_cc_g = yes; then
13272 if test "$GCC" = yes; then
13278 if test "$GCC" = yes; then
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13285 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13286 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13287 $as_echo_n "(cached) " >&6
13289 ac_cv_prog_cc_c89=no
13291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292 /* end confdefs.h. */
13293 #include <stdarg.h>
13295 #include <sys/types.h>
13296 #include <sys/stat.h>
13297 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13298 struct buf { int x; };
13299 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13300 static char *e (p, i)
13306 static char *f (char * (*g) (char **, int), char **p, ...)
13311 s = g (p, va_arg (v,int));
13316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13317 function prototypes and stuff, but not '\xHH' hex character constants.
13318 These don't provoke an error unfortunately, instead are silently treated
13319 as 'x'. The following induces an error, until -std is added to get
13320 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13321 array size at least. It's necessary to write '\x00'==0 to get something
13322 that's true only with -std. */
13323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13326 inside strings and character constants. */
13328 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13330 int test (int i, double x);
13331 struct s1 {int (*f) (int a);};
13332 struct s2 {int (*f) (double a);};
13333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13345 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13347 CC="$ac_save_CC $ac_arg"
13348 if ac_fn_c_try_compile "$LINENO"; then :
13349 ac_cv_prog_cc_c89=$ac_arg
13351 rm -f core conftest.err conftest.$ac_objext
13352 test "x$ac_cv_prog_cc_c89" != "xno" && break
13354 rm -f conftest.$ac_ext
13359 case "x$ac_cv_prog_cc_c89" in
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13362 $as_echo "none needed" >&6; } ;;
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13365 $as_echo "unsupported" >&6; } ;;
13367 CC="$CC $ac_cv_prog_cc_c89"
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13369 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13371 if test "x$ac_cv_prog_cc_c89" != xno; then :
13376 ac_cpp='$CPP $CPPFLAGS'
13377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13381 depcc="$CC" am_compiler_list=
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13384 $as_echo_n "checking dependency style of $depcc... " >&6; }
13385 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13386 $as_echo_n "(cached) " >&6
13388 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13389 # We make a subdir and do the tests there. Otherwise we can end up
13390 # making bogus files that we don't know about and never remove. For
13391 # instance it was reported that on HP-UX the gcc test will end up
13392 # making a dummy file named `D' -- because `-MD' means `put the output
13395 # Copy depcomp to subdir because otherwise we won't find it if we're
13396 # using a relative directory.
13397 cp "$am_depcomp" conftest.dir
13399 # We will build objects and dependencies in a subdirectory because
13400 # it helps to detect inapplicable dependency modes. For instance
13401 # both Tru64's cc and ICC support -MD to output dependencies as a
13402 # side effect of compilation, but ICC will put the dependencies in
13403 # the current directory while Tru64 will put them in the object
13407 am_cv_CC_dependencies_compiler_type=none
13408 if test "$am_compiler_list" = ""; then
13409 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13411 am__universal=false
13412 case " $depcc " in #(
13413 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13416 for depmode in $am_compiler_list; do
13417 # Setup a source with many dependencies, because some compilers
13418 # like to wrap large dependency lists on column 80 (with \), and
13419 # we should not choose a depcomp mode which is confused by this.
13421 # We need to recreate these files for each test, as the compiler may
13422 # overwrite some of them when testing with obscure command lines.
13423 # This happens at least with the AIX C compiler.
13425 for i in 1 2 3 4 5 6; do
13426 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13427 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13428 # Solaris 8's {/usr,}/bin/sh.
13429 touch sub/conftst$i.h
13431 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13433 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13434 # mode. It turns out that the SunPro C++ compiler does not properly
13435 # handle `-M -o', and we need to detect this. Also, some Intel
13436 # versions had trouble with output in subdirs
13437 am__obj=sub/conftest.${OBJEXT-o}
13438 am__minus_obj="-o $am__obj"
13441 # This depmode causes a compiler race in universal mode.
13442 test "$am__universal" = false || continue
13445 # after this tag, mechanisms are not by side-effect, so they'll
13446 # only be used when explicitly requested
13447 if test "x$enable_dependency_tracking" = xyes; then
13453 msvisualcpp | msvcmsys)
13454 # This compiler won't grok `-c -o', but also, the minuso test has
13455 # not run yet. These depmodes are late enough in the game, and
13456 # so weak that their functioning should not be impacted.
13457 am__obj=conftest.${OBJEXT-o}
13462 if depmode=$depmode \
13463 source=sub/conftest.c object=$am__obj \
13464 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13465 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13466 >/dev/null 2>conftest.err &&
13467 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13468 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13469 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13470 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13471 # icc doesn't choke on unknown options, it will just issue warnings
13472 # or remarks (even with -Werror). So we grep stderr for any message
13473 # that says an option was ignored or not supported.
13474 # When given -MP, icc 7.0 and 7.1 complain thusly:
13475 # icc: Command line warning: ignoring option '-M'; no argument required
13476 # The diagnosis changed in icc 8.0:
13477 # icc: Command line remark: option '-MP' not supported
13478 if (grep 'ignoring option' conftest.err ||
13479 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13480 am_cv_CC_dependencies_compiler_type=$depmode
13487 rm -rf conftest.dir
13489 am_cv_CC_dependencies_compiler_type=none
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13494 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13495 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13498 test "x$enable_dependency_tracking" != xno \
13499 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13500 am__fastdepCC_TRUE=
13501 am__fastdepCC_FALSE='#'
13503 am__fastdepCC_TRUE='#'
13504 am__fastdepCC_FALSE=
13509 ac_cpp='$CXXCPP $CPPFLAGS'
13510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13513 if test -z "$CXX"; then
13514 if test -n "$CCC"; then
13517 if test -n "$ac_tool_prefix"; then
13518 for ac_prog in g++ g++3 c++ CC
13520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13523 $as_echo_n "checking for $ac_word... " >&6; }
13524 if test "${ac_cv_prog_CXX+set}" = set; then :
13525 $as_echo_n "(cached) " >&6
13527 if test -n "$CXX"; then
13528 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13531 for as_dir in $PATH
13534 test -z "$as_dir" && as_dir=.
13535 for ac_exec_ext in '' $ac_executable_extensions; do
13536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13537 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13547 CXX=$ac_cv_prog_CXX
13548 if test -n "$CXX"; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13550 $as_echo "$CXX" >&6; }
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13553 $as_echo "no" >&6; }
13557 test -n "$CXX" && break
13560 if test -z "$CXX"; then
13562 for ac_prog in g++ g++3 c++ CC
13564 # Extract the first word of "$ac_prog", so it can be a program name with args.
13565 set dummy $ac_prog; ac_word=$2
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13567 $as_echo_n "checking for $ac_word... " >&6; }
13568 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13569 $as_echo_n "(cached) " >&6
13571 if test -n "$ac_ct_CXX"; then
13572 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13575 for as_dir in $PATH
13578 test -z "$as_dir" && as_dir=.
13579 for ac_exec_ext in '' $ac_executable_extensions; do
13580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13581 ac_cv_prog_ac_ct_CXX="$ac_prog"
13582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13591 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13592 if test -n "$ac_ct_CXX"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13594 $as_echo "$ac_ct_CXX" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597 $as_echo "no" >&6; }
13601 test -n "$ac_ct_CXX" && break
13604 if test "x$ac_ct_CXX" = x; then
13607 case $cross_compiling:$ac_tool_warned in
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13611 ac_tool_warned=yes ;;
13619 # Provide some information about the compiler.
13620 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13623 for ac_option in --version -v -V -qversion; do
13624 { { ac_try="$ac_compiler $ac_option >&5"
13625 case "(($ac_try" in
13626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13627 *) ac_try_echo=$ac_try;;
13629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13630 $as_echo "$ac_try_echo"; } >&5
13631 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13633 if test -s conftest.err; then
13635 ... rest of stderr output deleted ...
13636 10q' conftest.err >conftest.er1
13637 cat conftest.er1 >&5
13639 rm -f conftest.er1 conftest.err
13640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13641 test $ac_status = 0; }
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13645 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13646 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13647 $as_echo_n "(cached) " >&6
13649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13663 if ac_fn_cxx_try_compile "$LINENO"; then :
13664 ac_compiler_gnu=yes
13668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13669 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13673 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13674 if test $ac_compiler_gnu = yes; then
13679 ac_test_CXXFLAGS=${CXXFLAGS+set}
13680 ac_save_CXXFLAGS=$CXXFLAGS
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13682 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13683 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13684 $as_echo_n "(cached) " >&6
13686 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13687 ac_cxx_werror_flag=yes
13688 ac_cv_prog_cxx_g=no
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13701 if ac_fn_cxx_try_compile "$LINENO"; then :
13702 ac_cv_prog_cxx_g=yes
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13716 if ac_fn_cxx_try_compile "$LINENO"; then :
13719 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13732 if ac_fn_cxx_try_compile "$LINENO"; then :
13733 ac_cv_prog_cxx_g=yes
13735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13743 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13744 if test "$ac_test_CXXFLAGS" = set; then
13745 CXXFLAGS=$ac_save_CXXFLAGS
13746 elif test $ac_cv_prog_cxx_g = yes; then
13747 if test "$GXX" = yes; then
13753 if test "$GXX" = yes; then
13760 ac_cpp='$CPP $CPPFLAGS'
13761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13765 depcc="$CXX" am_compiler_list=
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13768 $as_echo_n "checking dependency style of $depcc... " >&6; }
13769 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13770 $as_echo_n "(cached) " >&6
13772 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13773 # We make a subdir and do the tests there. Otherwise we can end up
13774 # making bogus files that we don't know about and never remove. For
13775 # instance it was reported that on HP-UX the gcc test will end up
13776 # making a dummy file named `D' -- because `-MD' means `put the output
13779 # Copy depcomp to subdir because otherwise we won't find it if we're
13780 # using a relative directory.
13781 cp "$am_depcomp" conftest.dir
13783 # We will build objects and dependencies in a subdirectory because
13784 # it helps to detect inapplicable dependency modes. For instance
13785 # both Tru64's cc and ICC support -MD to output dependencies as a
13786 # side effect of compilation, but ICC will put the dependencies in
13787 # the current directory while Tru64 will put them in the object
13791 am_cv_CXX_dependencies_compiler_type=none
13792 if test "$am_compiler_list" = ""; then
13793 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13795 am__universal=false
13796 case " $depcc " in #(
13797 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13800 for depmode in $am_compiler_list; do
13801 # Setup a source with many dependencies, because some compilers
13802 # like to wrap large dependency lists on column 80 (with \), and
13803 # we should not choose a depcomp mode which is confused by this.
13805 # We need to recreate these files for each test, as the compiler may
13806 # overwrite some of them when testing with obscure command lines.
13807 # This happens at least with the AIX C compiler.
13809 for i in 1 2 3 4 5 6; do
13810 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13811 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13812 # Solaris 8's {/usr,}/bin/sh.
13813 touch sub/conftst$i.h
13815 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13817 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13818 # mode. It turns out that the SunPro C++ compiler does not properly
13819 # handle `-M -o', and we need to detect this. Also, some Intel
13820 # versions had trouble with output in subdirs
13821 am__obj=sub/conftest.${OBJEXT-o}
13822 am__minus_obj="-o $am__obj"
13825 # This depmode causes a compiler race in universal mode.
13826 test "$am__universal" = false || continue
13829 # after this tag, mechanisms are not by side-effect, so they'll
13830 # only be used when explicitly requested
13831 if test "x$enable_dependency_tracking" = xyes; then
13837 msvisualcpp | msvcmsys)
13838 # This compiler won't grok `-c -o', but also, the minuso test has
13839 # not run yet. These depmodes are late enough in the game, and
13840 # so weak that their functioning should not be impacted.
13841 am__obj=conftest.${OBJEXT-o}
13846 if depmode=$depmode \
13847 source=sub/conftest.c object=$am__obj \
13848 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13849 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13850 >/dev/null 2>conftest.err &&
13851 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13852 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13853 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13854 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13855 # icc doesn't choke on unknown options, it will just issue warnings
13856 # or remarks (even with -Werror). So we grep stderr for any message
13857 # that says an option was ignored or not supported.
13858 # When given -MP, icc 7.0 and 7.1 complain thusly:
13859 # icc: Command line warning: ignoring option '-M'; no argument required
13860 # The diagnosis changed in icc 8.0:
13861 # icc: Command line remark: option '-MP' not supported
13862 if (grep 'ignoring option' conftest.err ||
13863 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13864 am_cv_CXX_dependencies_compiler_type=$depmode
13871 rm -rf conftest.dir
13873 am_cv_CXX_dependencies_compiler_type=none
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13878 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13879 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13882 test "x$enable_dependency_tracking" != xno \
13883 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13884 am__fastdepCXX_TRUE=
13885 am__fastdepCXX_FALSE='#'
13887 am__fastdepCXX_TRUE='#'
13888 am__fastdepCXX_FALSE=
13894 ac_cpp='$CXXCPP $CPPFLAGS'
13895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13898 if test -z "$CXX"; then
13899 if test -n "$CCC"; then
13902 if test -n "$ac_tool_prefix"; then
13903 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13908 $as_echo_n "checking for $ac_word... " >&6; }
13909 if test "${ac_cv_prog_CXX+set}" = set; then :
13910 $as_echo_n "(cached) " >&6
13912 if test -n "$CXX"; then
13913 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13916 for as_dir in $PATH
13919 test -z "$as_dir" && as_dir=.
13920 for ac_exec_ext in '' $ac_executable_extensions; do
13921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13922 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13932 CXX=$ac_cv_prog_CXX
13933 if test -n "$CXX"; then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13935 $as_echo "$CXX" >&6; }
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13938 $as_echo "no" >&6; }
13942 test -n "$CXX" && break
13945 if test -z "$CXX"; then
13947 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13949 # Extract the first word of "$ac_prog", so it can be a program name with args.
13950 set dummy $ac_prog; ac_word=$2
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13952 $as_echo_n "checking for $ac_word... " >&6; }
13953 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13954 $as_echo_n "(cached) " >&6
13956 if test -n "$ac_ct_CXX"; then
13957 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13960 for as_dir in $PATH
13963 test -z "$as_dir" && as_dir=.
13964 for ac_exec_ext in '' $ac_executable_extensions; do
13965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13966 ac_cv_prog_ac_ct_CXX="$ac_prog"
13967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13976 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13977 if test -n "$ac_ct_CXX"; then
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13979 $as_echo "$ac_ct_CXX" >&6; }
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13982 $as_echo "no" >&6; }
13986 test -n "$ac_ct_CXX" && break
13989 if test "x$ac_ct_CXX" = x; then
13992 case $cross_compiling:$ac_tool_warned in
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13996 ac_tool_warned=yes ;;
14004 # Provide some information about the compiler.
14005 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14008 for ac_option in --version -v -V -qversion; do
14009 { { ac_try="$ac_compiler $ac_option >&5"
14010 case "(($ac_try" in
14011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14012 *) ac_try_echo=$ac_try;;
14014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14015 $as_echo "$ac_try_echo"; } >&5
14016 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14018 if test -s conftest.err; then
14020 ... rest of stderr output deleted ...
14021 10q' conftest.err >conftest.er1
14022 cat conftest.er1 >&5
14024 rm -f conftest.er1 conftest.err
14025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14026 test $ac_status = 0; }
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14030 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14031 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
14032 $as_echo_n "(cached) " >&6
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14048 if ac_fn_cxx_try_compile "$LINENO"; then :
14049 ac_compiler_gnu=yes
14053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14054 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14058 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14059 if test $ac_compiler_gnu = yes; then
14064 ac_test_CXXFLAGS=${CXXFLAGS+set}
14065 ac_save_CXXFLAGS=$CXXFLAGS
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14067 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14068 if test "${ac_cv_prog_cxx_g+set}" = set; then :
14069 $as_echo_n "(cached) " >&6
14071 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14072 ac_cxx_werror_flag=yes
14073 ac_cv_prog_cxx_g=no
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14086 if ac_fn_cxx_try_compile "$LINENO"; then :
14087 ac_cv_prog_cxx_g=yes
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14101 if ac_fn_cxx_try_compile "$LINENO"; then :
14104 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14117 if ac_fn_cxx_try_compile "$LINENO"; then :
14118 ac_cv_prog_cxx_g=yes
14120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14125 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14128 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14129 if test "$ac_test_CXXFLAGS" = set; then
14130 CXXFLAGS=$ac_save_CXXFLAGS
14131 elif test $ac_cv_prog_cxx_g = yes; then
14132 if test "$GXX" = yes; then
14138 if test "$GXX" = yes; then
14145 ac_cpp='$CPP $CPPFLAGS'
14146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14150 depcc="$CXX" am_compiler_list=
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14153 $as_echo_n "checking dependency style of $depcc... " >&6; }
14154 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14155 $as_echo_n "(cached) " >&6
14157 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14158 # We make a subdir and do the tests there. Otherwise we can end up
14159 # making bogus files that we don't know about and never remove. For
14160 # instance it was reported that on HP-UX the gcc test will end up
14161 # making a dummy file named `D' -- because `-MD' means `put the output
14164 # Copy depcomp to subdir because otherwise we won't find it if we're
14165 # using a relative directory.
14166 cp "$am_depcomp" conftest.dir
14168 # We will build objects and dependencies in a subdirectory because
14169 # it helps to detect inapplicable dependency modes. For instance
14170 # both Tru64's cc and ICC support -MD to output dependencies as a
14171 # side effect of compilation, but ICC will put the dependencies in
14172 # the current directory while Tru64 will put them in the object
14176 am_cv_CXX_dependencies_compiler_type=none
14177 if test "$am_compiler_list" = ""; then
14178 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14180 am__universal=false
14181 case " $depcc " in #(
14182 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14185 for depmode in $am_compiler_list; do
14186 # Setup a source with many dependencies, because some compilers
14187 # like to wrap large dependency lists on column 80 (with \), and
14188 # we should not choose a depcomp mode which is confused by this.
14190 # We need to recreate these files for each test, as the compiler may
14191 # overwrite some of them when testing with obscure command lines.
14192 # This happens at least with the AIX C compiler.
14194 for i in 1 2 3 4 5 6; do
14195 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14196 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14197 # Solaris 8's {/usr,}/bin/sh.
14198 touch sub/conftst$i.h
14200 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14202 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14203 # mode. It turns out that the SunPro C++ compiler does not properly
14204 # handle `-M -o', and we need to detect this. Also, some Intel
14205 # versions had trouble with output in subdirs
14206 am__obj=sub/conftest.${OBJEXT-o}
14207 am__minus_obj="-o $am__obj"
14210 # This depmode causes a compiler race in universal mode.
14211 test "$am__universal" = false || continue
14214 # after this tag, mechanisms are not by side-effect, so they'll
14215 # only be used when explicitly requested
14216 if test "x$enable_dependency_tracking" = xyes; then
14222 msvisualcpp | msvcmsys)
14223 # This compiler won't grok `-c -o', but also, the minuso test has
14224 # not run yet. These depmodes are late enough in the game, and
14225 # so weak that their functioning should not be impacted.
14226 am__obj=conftest.${OBJEXT-o}
14231 if depmode=$depmode \
14232 source=sub/conftest.c object=$am__obj \
14233 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14234 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14235 >/dev/null 2>conftest.err &&
14236 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14237 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14238 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14239 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14240 # icc doesn't choke on unknown options, it will just issue warnings
14241 # or remarks (even with -Werror). So we grep stderr for any message
14242 # that says an option was ignored or not supported.
14243 # When given -MP, icc 7.0 and 7.1 complain thusly:
14244 # icc: Command line warning: ignoring option '-M'; no argument required
14245 # The diagnosis changed in icc 8.0:
14246 # icc: Command line remark: option '-MP' not supported
14247 if (grep 'ignoring option' conftest.err ||
14248 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14249 am_cv_CXX_dependencies_compiler_type=$depmode
14256 rm -rf conftest.dir
14258 am_cv_CXX_dependencies_compiler_type=none
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14263 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14264 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14267 test "x$enable_dependency_tracking" != xno \
14268 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14269 am__fastdepCXX_TRUE=
14270 am__fastdepCXX_FALSE='#'
14272 am__fastdepCXX_TRUE='#'
14273 am__fastdepCXX_FALSE=
14277 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14278 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14279 (test "X$CXX" != "Xg++"))) ; then
14281 ac_cpp='$CXXCPP $CPPFLAGS'
14282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14286 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14287 if test -z "$CXXCPP"; then
14288 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14289 $as_echo_n "(cached) " >&6
14291 # Double quotes because CXXCPP needs to be expanded
14292 for CXXCPP in "$CXX -E" "/lib/cpp"
14294 ac_preproc_ok=false
14295 for ac_cxx_preproc_warn_flag in '' yes
14297 # Use a header file that comes with gcc, so configuring glibc
14298 # with a fresh cross-compiler works.
14299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14300 # <limits.h> exists even on freestanding compilers.
14301 # On the NeXT, cc -E runs the code through the compiler's parser,
14302 # not just through cpp. "Syntax error" is here to catch this case.
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14306 # include <limits.h>
14308 # include <assert.h>
14312 if ac_fn_cxx_try_cpp "$LINENO"; then :
14315 # Broken: fails on valid input.
14318 rm -f conftest.err conftest.i conftest.$ac_ext
14320 # OK, works on sane cases. Now check whether nonexistent headers
14321 # can be detected and how.
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14324 #include <ac_nonexistent.h>
14326 if ac_fn_cxx_try_cpp "$LINENO"; then :
14327 # Broken: success on invalid input.
14330 # Passes both tests.
14334 rm -f conftest.err conftest.i conftest.$ac_ext
14337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14338 rm -f conftest.i conftest.err conftest.$ac_ext
14339 if $ac_preproc_ok; then :
14344 ac_cv_prog_CXXCPP=$CXXCPP
14347 CXXCPP=$ac_cv_prog_CXXCPP
14349 ac_cv_prog_CXXCPP=$CXXCPP
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14352 $as_echo "$CXXCPP" >&6; }
14353 ac_preproc_ok=false
14354 for ac_cxx_preproc_warn_flag in '' yes
14356 # Use a header file that comes with gcc, so configuring glibc
14357 # with a fresh cross-compiler works.
14358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14359 # <limits.h> exists even on freestanding compilers.
14360 # On the NeXT, cc -E runs the code through the compiler's parser,
14361 # not just through cpp. "Syntax error" is here to catch this case.
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 # include <limits.h>
14367 # include <assert.h>
14371 if ac_fn_cxx_try_cpp "$LINENO"; then :
14374 # Broken: fails on valid input.
14377 rm -f conftest.err conftest.i conftest.$ac_ext
14379 # OK, works on sane cases. Now check whether nonexistent headers
14380 # can be detected and how.
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 #include <ac_nonexistent.h>
14385 if ac_fn_cxx_try_cpp "$LINENO"; then :
14386 # Broken: success on invalid input.
14389 # Passes both tests.
14393 rm -f conftest.err conftest.i conftest.$ac_ext
14396 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14397 rm -f conftest.i conftest.err conftest.$ac_ext
14398 if $ac_preproc_ok; then :
14401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14403 _lt_caught_CXX_error=yes; }
14407 ac_cpp='$CPP $CPPFLAGS'
14408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14413 _lt_caught_CXX_error=yes
14420 ac_cpp='$CXXCPP $CPPFLAGS'
14421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14425 archive_cmds_need_lc_CXX=no
14426 allow_undefined_flag_CXX=
14427 always_export_symbols_CXX=no
14428 archive_expsym_cmds_CXX=
14429 compiler_needs_object_CXX=no
14430 export_dynamic_flag_spec_CXX=
14431 hardcode_direct_CXX=no
14432 hardcode_direct_absolute_CXX=no
14433 hardcode_libdir_flag_spec_CXX=
14434 hardcode_libdir_flag_spec_ld_CXX=
14435 hardcode_libdir_separator_CXX=
14436 hardcode_minus_L_CXX=no
14437 hardcode_shlibpath_var_CXX=unsupported
14438 hardcode_automatic_CXX=no
14439 inherit_rpath_CXX=no
14441 module_expsym_cmds_CXX=
14442 link_all_deplibs_CXX=unknown
14443 old_archive_cmds_CXX=$old_archive_cmds
14444 no_undefined_flag_CXX=
14445 whole_archive_flag_spec_CXX=
14446 enable_shared_with_static_runtimes_CXX=no
14448 # Source file extension for C++ test sources.
14451 # Object file extension for compiled C++ test sources.
14455 # No sense in running all these tests if we already determined that
14456 # the CXX compiler isn't working. Some variables (like enable_shared)
14457 # are currently assumed to apply to all compilers on this platform,
14458 # and will be corrupted by setting them based on a non-working compiler.
14459 if test "$_lt_caught_CXX_error" != yes; then
14460 # Code to be used in simple compile tests
14461 lt_simple_compile_test_code="int some_variable = 0;"
14463 # Code to be used in simple link tests
14464 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14466 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14473 # If no C compiler was specified, use CC.
14476 # If no C compiler flags were specified, use CFLAGS.
14477 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14479 # Allow CC to be a program name with arguments.
14483 # save warnings/boilerplate of simple test code
14484 ac_outfile=conftest.$ac_objext
14485 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14486 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14487 _lt_compiler_boilerplate=`cat conftest.err`
14490 ac_outfile=conftest.$ac_objext
14491 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14492 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14493 _lt_linker_boilerplate=`cat conftest.err`
14497 # Allow CC to be a program name with arguments.
14502 lt_save_with_gnu_ld=$with_gnu_ld
14503 lt_save_path_LD=$lt_cv_path_LD
14504 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14505 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14507 $as_unset lt_cv_prog_gnu_ld
14509 if test -n "${lt_cv_path_LDCXX+set}"; then
14510 lt_cv_path_LD=$lt_cv_path_LDCXX
14512 $as_unset lt_cv_path_LD
14514 test -z "${LDCXX+set}" || LD=$LDCXX
14518 for cc_temp in $compiler""; do
14520 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14521 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14526 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14529 if test -n "$compiler"; then
14530 # We don't want -fno-exception when compiling C++ code, so set the
14531 # no_builtin_flag separately
14532 if test "$GXX" = yes; then
14533 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14535 lt_prog_compiler_no_builtin_flag_CXX=
14538 if test "$GXX" = yes; then
14539 # Set up default GNU C++ configuration
14543 # Check whether --with-gnu-ld was given.
14544 if test "${with_gnu_ld+set}" = set; then :
14545 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14551 if test "$GCC" = yes; then
14552 # Check if gcc -print-prog-name=ld gives a path.
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14554 $as_echo_n "checking for ld used by $CC... " >&6; }
14557 # gcc leaves a trailing carriage return which upsets mingw
14558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14563 # Accept absolute paths.
14565 re_direlt='/[^/][^/]*/\.\./'
14566 # Canonicalize the pathname of ld
14567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14571 test -z "$LD" && LD="$ac_prog"
14574 # If it fails, then pretend we aren't using GCC.
14578 # If it is relative, then search for the first ld in PATH.
14579 with_gnu_ld=unknown
14582 elif test "$with_gnu_ld" = yes; then
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14584 $as_echo_n "checking for GNU ld... " >&6; }
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14587 $as_echo_n "checking for non-GNU ld... " >&6; }
14589 if test "${lt_cv_path_LD+set}" = set; then :
14590 $as_echo_n "(cached) " >&6
14592 if test -z "$LD"; then
14593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14594 for ac_dir in $PATH; do
14596 test -z "$ac_dir" && ac_dir=.
14597 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14598 lt_cv_path_LD="$ac_dir/$ac_prog"
14599 # Check to see if the program is GNU ld. I'd rather use --version,
14600 # but apparently some variants of GNU ld only accept -v.
14601 # Break only if it was the GNU/non-GNU ld that we prefer.
14602 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14603 *GNU* | *'with BFD'*)
14604 test "$with_gnu_ld" != no && break
14607 test "$with_gnu_ld" != yes && break
14614 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14618 LD="$lt_cv_path_LD"
14619 if test -n "$LD"; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14621 $as_echo "$LD" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14624 $as_echo "no" >&6; }
14626 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14630 $as_echo_n "(cached) " >&6
14632 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14633 case `$LD -v 2>&1 </dev/null` in
14634 *GNU* | *'with BFD'*)
14635 lt_cv_prog_gnu_ld=yes
14638 lt_cv_prog_gnu_ld=no
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14644 with_gnu_ld=$lt_cv_prog_gnu_ld
14652 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14653 # archiving commands below assume that GNU ld is being used.
14654 if test "$with_gnu_ld" = yes; then
14655 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14656 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'
14658 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14659 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14661 # If archive_cmds runs LD, not CC, wlarc should be empty
14662 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14663 # investigate it a little bit more. (MM)
14666 # ancient GNU ld didn't support --whole-archive et. al.
14667 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14668 $GREP 'no-whole-archive' > /dev/null; then
14669 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14671 whole_archive_flag_spec_CXX=
14677 # A generic and very simple default shared library creation
14678 # command for GNU C++ for the case where it uses the native
14679 # linker, instead of GNU ld. If possible, this setting should
14680 # overridden to take advantage of the native linker features on
14681 # the platform it is being used on.
14682 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14685 # Commands to make compiler produce verbose output that lists
14686 # what "hidden" libraries, object files and flags are used when
14687 # linking a shared library.
14688 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14696 # PORTME: fill in a description of your system's C++ link characteristics
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14698 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14702 # FIXME: insert proper C++ library support
14706 if test "$host_cpu" = ia64; then
14707 # On IA64, the linker does run time linking by default, so we don't
14708 # have to do anything special.
14709 aix_use_runtimelinking=no
14710 exp_sym_flag='-Bexport'
14713 aix_use_runtimelinking=no
14715 # Test if we are trying to use run time linking or normal
14716 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14717 # need to do runtime linking.
14718 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14719 for ld_flag in $LDFLAGS; do
14722 aix_use_runtimelinking=yes
14730 exp_sym_flag='-bexport'
14731 no_entry_flag='-bnoentry'
14734 # When large executables or shared objects are built, AIX ld can
14735 # have problems creating the table of contents. If linking a library
14736 # or program results in "error TOC overflow" add -mminimal-toc to
14737 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14738 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14740 archive_cmds_CXX=''
14741 hardcode_direct_CXX=yes
14742 hardcode_direct_absolute_CXX=yes
14743 hardcode_libdir_separator_CXX=':'
14744 link_all_deplibs_CXX=yes
14745 file_list_spec_CXX='${wl}-f,'
14747 if test "$GXX" = yes; then
14748 case $host_os in aix4.[012]|aix4.[012].*)
14749 # We only want to do this on AIX 4.2 and lower, the check
14750 # below for broken collect2 doesn't work under 4.3+
14751 collect2name=`${CC} -print-prog-name=collect2`
14752 if test -f "$collect2name" &&
14753 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14755 # We have reworked collect2
14758 # We have old collect2
14759 hardcode_direct_CXX=unsupported
14760 # It fails to find uninstalled libraries when the uninstalled
14761 # path is not listed in the libpath. Setting hardcode_minus_L
14762 # to unsupported forces relinking
14763 hardcode_minus_L_CXX=yes
14764 hardcode_libdir_flag_spec_CXX='-L$libdir'
14765 hardcode_libdir_separator_CXX=
14768 shared_flag='-shared'
14769 if test "$aix_use_runtimelinking" = yes; then
14770 shared_flag="$shared_flag "'${wl}-G'
14774 if test "$host_cpu" = ia64; then
14775 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14776 # chokes on -Wl,-G. The following line is correct:
14779 if test "$aix_use_runtimelinking" = yes; then
14780 shared_flag='${wl}-G'
14782 shared_flag='${wl}-bM:SRE'
14787 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14788 # It seems that -bexpall does not export symbols beginning with
14789 # underscore (_), so it is better to generate a list of symbols to
14791 always_export_symbols_CXX=yes
14792 if test "$aix_use_runtimelinking" = yes; then
14793 # Warning - without using the other runtime loading flags (-brtl),
14794 # -berok will link without error, but may produce a broken library.
14795 allow_undefined_flag_CXX='-berok'
14796 # Determine the default libpath from the value encoded in an empty
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14809 if ac_fn_cxx_try_link "$LINENO"; then :
14811 lt_aix_libpath_sed='
14812 /Import File Strings/,/^$/ {
14818 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14819 # Check for a 64-bit object if we didn't find anything.
14820 if test -z "$aix_libpath"; then
14821 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14828 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14830 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"
14832 if test "$host_cpu" = ia64; then
14833 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14834 allow_undefined_flag_CXX="-z nodefs"
14835 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"
14837 # Determine the default libpath from the value encoded in an
14838 # empty executable.
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14850 if ac_fn_cxx_try_link "$LINENO"; then :
14852 lt_aix_libpath_sed='
14853 /Import File Strings/,/^$/ {
14859 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14860 # Check for a 64-bit object if we didn't find anything.
14861 if test -z "$aix_libpath"; then
14862 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14867 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14869 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14870 # Warning - without using the other run time loading flags,
14871 # -berok will link without error, but may produce a broken library.
14872 no_undefined_flag_CXX=' ${wl}-bernotok'
14873 allow_undefined_flag_CXX=' ${wl}-berok'
14874 # Exported symbols can be pulled into shared objects from archives
14875 whole_archive_flag_spec_CXX='$convenience'
14876 archive_cmds_need_lc_CXX=yes
14877 # This is similar to how AIX traditionally builds its shared
14879 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'
14885 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14886 allow_undefined_flag_CXX=unsupported
14887 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14888 # support --undefined. This deserves some investigation. FIXME
14889 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14896 case $cc_basename in
14898 # FIXME: insert proper C++ library support
14904 cygwin* | mingw* | pw32* | cegcc*)
14905 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14906 # as there is no search path for DLLs.
14907 hardcode_libdir_flag_spec_CXX='-L$libdir'
14908 allow_undefined_flag_CXX=unsupported
14909 always_export_symbols_CXX=no
14910 enable_shared_with_static_runtimes_CXX=yes
14912 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14913 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'
14914 # If the export-symbols file already is a .def file (1st line
14915 # is EXPORTS), use it as is; otherwise, prepend...
14916 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14917 cp $export_symbols $output_objdir/$soname.def;
14919 echo EXPORTS > $output_objdir/$soname.def;
14920 cat $export_symbols >> $output_objdir/$soname.def;
14922 $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'
14927 darwin* | rhapsody*)
14930 archive_cmds_need_lc_CXX=no
14931 hardcode_direct_CXX=no
14932 hardcode_automatic_CXX=yes
14933 hardcode_shlibpath_var_CXX=unsupported
14934 whole_archive_flag_spec_CXX=''
14935 link_all_deplibs_CXX=yes
14936 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14937 case $cc_basename in
14938 ifort*) _lt_dar_can_shared=yes ;;
14939 *) _lt_dar_can_shared=$GCC ;;
14941 if test "$_lt_dar_can_shared" = "yes"; then
14942 output_verbose_link_cmd=echo
14943 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}"
14944 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14945 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}"
14946 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}"
14947 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14948 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}"
14949 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}"
14959 case $cc_basename in
14961 # FIXME: insert proper C++ library support
14965 # Green Hills C++ Compiler
14966 # FIXME: insert proper C++ library support
14970 # FIXME: insert proper C++ library support
14977 # C++ shared libraries reported to be fairly broken before
14983 archive_cmds_need_lc_CXX=no
14986 freebsd* | dragonfly*)
14987 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14996 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14997 hardcode_libdir_separator_CXX=:
14998 export_dynamic_flag_spec_CXX='${wl}-E'
14999 hardcode_direct_CXX=yes
15000 hardcode_minus_L_CXX=yes # Not in the search PATH,
15001 # but as the default
15002 # location of the library.
15004 case $cc_basename in
15006 # FIXME: insert proper C++ library support
15010 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'
15011 # Commands to make compiler produce verbose output that lists
15012 # what "hidden" libraries, object files and flags are used when
15013 # linking a shared library.
15015 # There doesn't appear to be a way to prevent this compiler from
15016 # explicitly linking system object files so we need to strip them
15017 # from the output so that they don't get included in the library
15019 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'
15022 if test "$GXX" = yes; then
15023 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'
15025 # FIXME: insert proper C++ library support
15033 if test $with_gnu_ld = no; then
15034 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15035 hardcode_libdir_separator_CXX=:
15041 export_dynamic_flag_spec_CXX='${wl}-E'
15047 hardcode_direct_CXX=no
15048 hardcode_shlibpath_var_CXX=no
15051 hardcode_direct_CXX=yes
15052 hardcode_direct_absolute_CXX=yes
15053 hardcode_minus_L_CXX=yes # Not in the search PATH,
15054 # but as the default
15055 # location of the library.
15059 case $cc_basename in
15061 # FIXME: insert proper C++ library support
15067 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15070 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15073 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15076 # Commands to make compiler produce verbose output that lists
15077 # what "hidden" libraries, object files and flags are used when
15078 # linking a shared library.
15080 # There doesn't appear to be a way to prevent this compiler from
15081 # explicitly linking system object files so we need to strip them
15082 # from the output so that they don't get included in the library
15084 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'
15087 if test "$GXX" = yes; then
15088 if test $with_gnu_ld = no; then
15091 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15094 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15097 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'
15102 # FIXME: insert proper C++ library support
15110 hardcode_direct_CXX=no
15111 hardcode_shlibpath_var_CXX=no
15112 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15113 export_dynamic_flag_spec_CXX='${wl}-E'
15114 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15115 # Instead, shared libraries are loaded at an image base (0x10000000 by
15116 # default) and relocated if they conflict, which is a slow very memory
15117 # consuming and fragmenting process. To avoid this, we pick a random,
15118 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15119 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15120 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'
15121 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'
15124 case $cc_basename in
15127 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'
15129 # Archives containing C++ object files must be created using
15130 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15131 # necessary to make sure instantiated templates are included
15133 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15136 if test "$GXX" = yes; then
15137 if test "$with_gnu_ld" = no; then
15138 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'
15140 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'
15143 link_all_deplibs_CXX=yes
15146 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15147 hardcode_libdir_separator_CXX=:
15148 inherit_rpath_CXX=yes
15151 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15152 case $cc_basename in
15154 # Kuck and Associates, Inc. (KAI) C++ Compiler
15156 # KCC will only create a shared library if the output file
15157 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15158 # to its proper name (with version) after linking.
15159 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'
15160 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'
15161 # Commands to make compiler produce verbose output that lists
15162 # what "hidden" libraries, object files and flags are used when
15163 # linking a shared library.
15165 # There doesn't appear to be a way to prevent this compiler from
15166 # explicitly linking system object files so we need to strip them
15167 # from the output so that they don't get included in the library
15169 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'
15171 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15172 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15174 # Archives containing C++ object files must be created using
15175 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15176 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15181 # version 8.0 and above of icpc choke on multiply defined symbols
15182 # if we add $predep_objects and $postdep_objects, however 7.1 and
15183 # earlier do not add the objects themselves.
15184 case `$CC -V 2>&1` in
15186 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15187 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'
15189 *) # Version 8.0 or newer
15192 ia64*) tmp_idyn=' -i_dynamic';;
15194 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15195 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'
15198 archive_cmds_need_lc_CXX=no
15199 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15200 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15201 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15204 # Portland Group C++ compiler
15206 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15207 prelink_cmds_CXX='tpldir=Template.dir~
15209 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15210 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15211 old_archive_cmds_CXX='tpldir=Template.dir~
15213 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15214 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15216 archive_cmds_CXX='tpldir=Template.dir~
15218 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15219 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15220 archive_expsym_cmds_CXX='tpldir=Template.dir~
15222 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15223 $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'
15225 *) # Version 6 will use weak symbols
15226 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15227 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'
15231 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15232 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15233 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'
15237 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15238 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'
15240 runpath_var=LD_RUN_PATH
15241 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15242 hardcode_libdir_separator_CXX=:
15244 # Commands to make compiler produce verbose output that lists
15245 # what "hidden" libraries, object files and flags are used when
15246 # linking a shared library.
15248 # There doesn't appear to be a way to prevent this compiler from
15249 # explicitly linking system object files so we need to strip them
15250 # from the output so that they don't get included in the library
15252 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'
15255 # IBM XL 8.0 on PPC, with GNU ld
15256 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15257 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15258 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15259 if test "x$supports_anon_versioning" = xyes; then
15260 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15261 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15262 echo "local: *; };" >> $output_objdir/$libname.ver~
15263 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15267 case `$CC -V 2>&1 | sed 5q` in
15270 no_undefined_flag_CXX=' -zdefs'
15271 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15272 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'
15273 hardcode_libdir_flag_spec_CXX='-R$libdir'
15274 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'
15275 compiler_needs_object_CXX=yes
15277 # Not sure whether something based on
15278 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15280 output_verbose_link_cmd='echo'
15282 # Archives containing C++ object files must be created using
15283 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15284 # necessary to make sure instantiated templates are included
15286 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15294 # FIXME: insert proper C++ library support
15299 # FIXME: insert proper C++ library support
15304 case $cc_basename in
15306 # FIXME: insert proper C++ library support
15310 # FIXME: insert proper C++ library support
15317 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15318 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15320 hardcode_libdir_flag_spec_CXX='-R$libdir'
15321 hardcode_direct_CXX=yes
15322 hardcode_shlibpath_var_CXX=no
15324 # Workaround some broken pre-1.5 toolchains
15325 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15333 # C++ shared libraries are fairly broken
15338 if test -f /usr/libexec/ld.so; then
15339 hardcode_direct_CXX=yes
15340 hardcode_shlibpath_var_CXX=no
15341 hardcode_direct_absolute_CXX=yes
15342 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15343 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15344 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15345 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15346 export_dynamic_flag_spec_CXX='${wl}-E'
15347 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15349 output_verbose_link_cmd=echo
15355 osf3* | osf4* | osf5*)
15356 case $cc_basename in
15358 # Kuck and Associates, Inc. (KAI) C++ Compiler
15360 # KCC will only create a shared library if the output file
15361 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15362 # to its proper name (with version) after linking.
15363 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'
15365 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15366 hardcode_libdir_separator_CXX=:
15368 # Archives containing C++ object files must be created using
15369 # the KAI C++ compiler.
15371 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15372 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15376 # Rational C++ 2.4.1
15377 # FIXME: insert proper C++ library support
15383 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15384 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'
15385 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15388 allow_undefined_flag_CXX=' -expect_unresolved \*'
15389 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'
15390 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15391 echo "-hidden">> $lib.exp~
15392 $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~
15394 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15398 hardcode_libdir_separator_CXX=:
15400 # Commands to make compiler produce verbose output that lists
15401 # what "hidden" libraries, object files and flags are used when
15402 # linking a shared library.
15404 # There doesn't appear to be a way to prevent this compiler from
15405 # explicitly linking system object files so we need to strip them
15406 # from the output so that they don't get included in the library
15408 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'
15411 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15412 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15415 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'
15418 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'
15422 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15423 hardcode_libdir_separator_CXX=:
15425 # Commands to make compiler produce verbose output that lists
15426 # what "hidden" libraries, object files and flags are used when
15427 # linking a shared library.
15428 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15431 # FIXME: insert proper C++ library support
15439 # FIXME: insert proper C++ library support
15444 case $cc_basename in
15447 # FIXME: insert proper C++ library support
15452 # FIXME: insert proper C++ library support
15456 # FIXME: insert proper C++ library support
15463 case $cc_basename in
15465 # Sun C++ 4.2, 5.x and Centerline C++
15466 archive_cmds_need_lc_CXX=yes
15467 no_undefined_flag_CXX=' -zdefs'
15468 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15469 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15470 $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'
15472 hardcode_libdir_flag_spec_CXX='-R$libdir'
15473 hardcode_shlibpath_var_CXX=no
15475 solaris2.[0-5] | solaris2.[0-5].*) ;;
15477 # The compiler driver will combine and reorder linker options,
15478 # but understands `-z linker_flag'.
15479 # Supported since Solaris 2.6 (maybe 2.5.1?)
15480 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15483 link_all_deplibs_CXX=yes
15485 output_verbose_link_cmd='echo'
15487 # Archives containing C++ object files must be created using
15488 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15489 # necessary to make sure instantiated templates are included
15491 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15494 # Green Hills C++ Compiler
15495 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15497 # The C++ compiler must be used to create the archive.
15498 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15501 # GNU C++ compiler with Solaris linker
15502 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15503 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15504 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15505 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15506 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15507 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15509 # Commands to make compiler produce verbose output that lists
15510 # what "hidden" libraries, object files and flags are used when
15511 # linking a shared library.
15512 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15514 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15516 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15517 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15518 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15520 # Commands to make compiler produce verbose output that lists
15521 # what "hidden" libraries, object files and flags are used when
15522 # linking a shared library.
15523 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15526 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15528 solaris2.[0-5] | solaris2.[0-5].*) ;;
15530 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15538 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15539 no_undefined_flag_CXX='${wl}-z,text'
15540 archive_cmds_need_lc_CXX=no
15541 hardcode_shlibpath_var_CXX=no
15542 runpath_var='LD_RUN_PATH'
15544 case $cc_basename in
15546 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15547 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15550 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15551 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15556 sysv5* | sco3.2v5* | sco5v6*)
15557 # Note: We can NOT use -z defs as we might desire, because we do not
15558 # link with -lc, and that would cause any symbols used from libc to
15559 # always be unresolved, which means just about no library would
15560 # ever link correctly. If we're not using GNU ld we use -z text
15561 # though, which does catch some bad symbols but isn't as heavy-handed
15563 no_undefined_flag_CXX='${wl}-z,text'
15564 allow_undefined_flag_CXX='${wl}-z,nodefs'
15565 archive_cmds_need_lc_CXX=no
15566 hardcode_shlibpath_var_CXX=no
15567 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15568 hardcode_libdir_separator_CXX=':'
15569 link_all_deplibs_CXX=yes
15570 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15571 runpath_var='LD_RUN_PATH'
15573 case $cc_basename in
15575 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15576 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15579 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15580 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15586 case $cc_basename in
15588 # NonStop-UX NCC 3.20
15589 # FIXME: insert proper C++ library support
15593 # FIXME: insert proper C++ library support
15600 # FIXME: insert proper C++ library support
15605 # FIXME: insert proper C++ library support
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15611 $as_echo "$ld_shlibs_CXX" >&6; }
15612 test "$ld_shlibs_CXX" = no && can_build_shared=no
15618 ## There is no encapsulation within the following macros, do not change
15619 ## the running order or otherwise move them around unless you know exactly
15620 ## what you are doing...
15621 # Dependencies to place before and after the object being linked:
15622 predep_objects_CXX=
15623 postdep_objects_CXX=
15626 compiler_lib_search_path_CXX=
15628 cat > conftest.$ac_ext <<_LT_EOF
15632 Foo (void) { a = 0; }
15638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15639 (eval $ac_compile) 2>&5
15641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15642 test $ac_status = 0; }; then
15643 # Parse the compiler output and extract the necessary
15644 # objects, libraries and library flags.
15646 # Sentinel used to keep track of whether or not we are before
15647 # the conftest object file.
15648 pre_test_object_deps_done=no
15650 for p in `eval "$output_verbose_link_cmd"`; do
15654 # Some compilers place space between "-{L,R}" and the path.
15655 # Remove the space.
15656 if test $p = "-L" ||
15657 test $p = "-R"; then
15664 if test "$pre_test_object_deps_done" = no; then
15667 # Internal compiler library paths should come after those
15668 # provided the user. The postdeps already come after the
15669 # user supplied libs so there is no need to process them.
15670 if test -z "$compiler_lib_search_path_CXX"; then
15671 compiler_lib_search_path_CXX="${prev}${p}"
15673 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15676 # The "-l" case would never come before the object being
15677 # linked, so don't bother handling this case.
15680 if test -z "$postdeps_CXX"; then
15681 postdeps_CXX="${prev}${p}"
15683 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15689 # This assumes that the test object file only shows up
15690 # once in the compiler output.
15691 if test "$p" = "conftest.$objext"; then
15692 pre_test_object_deps_done=yes
15696 if test "$pre_test_object_deps_done" = no; then
15697 if test -z "$predep_objects_CXX"; then
15698 predep_objects_CXX="$p"
15700 predep_objects_CXX="$predep_objects_CXX $p"
15703 if test -z "$postdep_objects_CXX"; then
15704 postdep_objects_CXX="$p"
15706 postdep_objects_CXX="$postdep_objects_CXX $p"
15711 *) ;; # Ignore the rest.
15719 echo "libtool.m4: error: problem compiling CXX test program"
15722 $RM -f confest.$objext
15724 # PORTME: override above test on systems where it is broken
15727 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15728 # hack all around it, let's just trust "g++" to DTRT.
15729 predep_objects_CXX=
15730 postdep_objects_CXX=
15735 case `$CC -V 2>&1 | sed 5q` in
15739 # The more standards-conforming stlport4 library is
15740 # incompatible with the Cstd library. Avoid specifying
15741 # it if it's in CXXFLAGS. Ignore libCrun as
15742 # -library=stlport4 depends on it.
15743 case " $CXX $CXXFLAGS " in
15744 *" -library=stlport4 "*)
15745 solaris_use_stlport4=yes
15749 if test "$solaris_use_stlport4" != yes; then
15750 postdeps_CXX='-library=Cstd -library=Crun'
15757 case $cc_basename in
15759 # The more standards-conforming stlport4 library is
15760 # incompatible with the Cstd library. Avoid specifying
15761 # it if it's in CXXFLAGS. Ignore libCrun as
15762 # -library=stlport4 depends on it.
15763 case " $CXX $CXXFLAGS " in
15764 *" -library=stlport4 "*)
15765 solaris_use_stlport4=yes
15769 # Adding this requires a known-good setup of shared libraries for
15770 # Sun compiler versions before 5.6, else PIC objects from an old
15771 # archive will be linked into the output, leading to subtle bugs.
15772 if test "$solaris_use_stlport4" != yes; then
15773 postdeps_CXX='-library=Cstd -library=Crun'
15781 case " $postdeps_CXX " in
15782 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15784 compiler_lib_search_dirs_CXX=
15785 if test -n "${compiler_lib_search_path_CXX}"; then
15786 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15819 lt_prog_compiler_wl_CXX=
15820 lt_prog_compiler_pic_CXX=
15821 lt_prog_compiler_static_CXX=
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15824 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15826 # C++ specific cases for pic, static, wl, etc.
15827 if test "$GXX" = yes; then
15828 lt_prog_compiler_wl_CXX='-Wl,'
15829 lt_prog_compiler_static_CXX='-static'
15833 # All AIX code is PIC.
15834 if test "$host_cpu" = ia64; then
15835 # AIX 5 now supports IA64 processor
15836 lt_prog_compiler_static_CXX='-Bstatic'
15843 # see comment about AmigaOS4 .so support
15844 lt_prog_compiler_pic_CXX='-fPIC'
15847 # FIXME: we need at least 68020 code to build shared libraries, but
15848 # adding the `-m68020' flag to GCC prevents building anything better,
15850 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15855 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15856 # PIC is the default for these OSes.
15858 mingw* | cygwin* | os2* | pw32* | cegcc*)
15859 # This hack is so that the source file can tell whether it is being
15860 # built for inclusion in a dll (and should export symbols for example).
15861 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15862 # (--disable-auto-import) libraries
15863 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15865 darwin* | rhapsody*)
15866 # PIC is the default on this platform
15867 # Common symbols not allowed in MH_DYLIB files
15868 lt_prog_compiler_pic_CXX='-fno-common'
15871 # DJGPP does not support shared libraries at all
15872 lt_prog_compiler_pic_CXX=
15875 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15876 # Instead, we relocate shared libraries at runtime.
15879 if test -d /usr/nec; then
15880 lt_prog_compiler_pic_CXX=-Kconform_pic
15884 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15885 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15886 # sets the default TLS model and affects inlining.
15891 lt_prog_compiler_pic_CXX='-fPIC'
15896 # QNX uses GNU C++, but need to define -shared option too, otherwise
15897 # it will coredump.
15898 lt_prog_compiler_pic_CXX='-fPIC -shared'
15901 lt_prog_compiler_pic_CXX='-fPIC'
15907 # All AIX code is PIC.
15908 if test "$host_cpu" = ia64; then
15909 # AIX 5 now supports IA64 processor
15910 lt_prog_compiler_static_CXX='-Bstatic'
15912 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15916 case $cc_basename in
15918 # Green Hills C++ Compiler
15919 # _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"
15924 case $cc_basename in
15926 lt_prog_compiler_pic_CXX='-KPIC'
15929 # Green Hills C++ Compiler
15930 lt_prog_compiler_pic_CXX='-pic'
15936 freebsd* | dragonfly*)
15937 # FreeBSD uses GNU C++
15939 hpux9* | hpux10* | hpux11*)
15940 case $cc_basename in
15942 lt_prog_compiler_wl_CXX='-Wl,'
15943 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15944 if test "$host_cpu" != ia64; then
15945 lt_prog_compiler_pic_CXX='+Z'
15949 lt_prog_compiler_wl_CXX='-Wl,'
15950 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15956 lt_prog_compiler_pic_CXX='+Z'
15965 # This is c89, which is MS Visual C++ (no shared libs)
15966 # Anyone wants to do a port?
15968 irix5* | irix6* | nonstopux*)
15969 case $cc_basename in
15971 lt_prog_compiler_wl_CXX='-Wl,'
15972 lt_prog_compiler_static_CXX='-non_shared'
15973 # CC pic flag -KPIC is the default.
15979 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15980 case $cc_basename in
15983 lt_prog_compiler_wl_CXX='--backend -Wl,'
15984 lt_prog_compiler_pic_CXX='-fPIC'
15987 # old Intel C++ for x86_64 which still supported -KPIC.
15988 lt_prog_compiler_wl_CXX='-Wl,'
15989 lt_prog_compiler_pic_CXX='-KPIC'
15990 lt_prog_compiler_static_CXX='-static'
15993 # Intel C++, used to be incompatible with GCC.
15994 # ICC 10 doesn't accept -KPIC any more.
15995 lt_prog_compiler_wl_CXX='-Wl,'
15996 lt_prog_compiler_pic_CXX='-fPIC'
15997 lt_prog_compiler_static_CXX='-static'
16000 # Portland Group C++ compiler
16001 lt_prog_compiler_wl_CXX='-Wl,'
16002 lt_prog_compiler_pic_CXX='-fpic'
16003 lt_prog_compiler_static_CXX='-Bstatic'
16007 # Make sure the PIC flag is empty. It appears that all Alpha
16008 # Linux and Compaq Tru64 Unix objects are PIC.
16009 lt_prog_compiler_pic_CXX=
16010 lt_prog_compiler_static_CXX='-non_shared'
16013 # IBM XL 8.0 on PPC
16014 lt_prog_compiler_wl_CXX='-Wl,'
16015 lt_prog_compiler_pic_CXX='-qpic'
16016 lt_prog_compiler_static_CXX='-qstaticlink'
16019 case `$CC -V 2>&1 | sed 5q` in
16022 lt_prog_compiler_pic_CXX='-KPIC'
16023 lt_prog_compiler_static_CXX='-Bstatic'
16024 lt_prog_compiler_wl_CXX='-Qoption ld '
16035 case $cc_basename in
16037 lt_prog_compiler_pic_CXX='-W c,exportall'
16043 netbsd* | netbsdelf*-gnu)
16046 # QNX uses GNU C++, but need to define -shared option too, otherwise
16047 # it will coredump.
16048 lt_prog_compiler_pic_CXX='-fPIC -shared'
16050 osf3* | osf4* | osf5*)
16051 case $cc_basename in
16053 lt_prog_compiler_wl_CXX='--backend -Wl,'
16056 # Rational C++ 2.4.1
16057 lt_prog_compiler_pic_CXX='-pic'
16060 # Digital/Compaq C++
16061 lt_prog_compiler_wl_CXX='-Wl,'
16062 # Make sure the PIC flag is empty. It appears that all Alpha
16063 # Linux and Compaq Tru64 Unix objects are PIC.
16064 lt_prog_compiler_pic_CXX=
16065 lt_prog_compiler_static_CXX='-non_shared'
16074 case $cc_basename in
16076 # Sun C++ 4.2, 5.x and Centerline C++
16077 lt_prog_compiler_pic_CXX='-KPIC'
16078 lt_prog_compiler_static_CXX='-Bstatic'
16079 lt_prog_compiler_wl_CXX='-Qoption ld '
16082 # Green Hills C++ Compiler
16083 lt_prog_compiler_pic_CXX='-PIC'
16090 case $cc_basename in
16093 lt_prog_compiler_pic_CXX='-pic'
16094 lt_prog_compiler_static_CXX='-Bstatic'
16098 lt_prog_compiler_pic_CXX='-pic'
16104 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16105 case $cc_basename in
16107 lt_prog_compiler_wl_CXX='-Wl,'
16108 lt_prog_compiler_pic_CXX='-KPIC'
16109 lt_prog_compiler_static_CXX='-Bstatic'
16114 case $cc_basename in
16116 # NonStop-UX NCC 3.20
16117 lt_prog_compiler_pic_CXX='-KPIC'
16126 lt_prog_compiler_can_build_shared_CXX=no
16132 # For platforms which do not support PIC, -DPIC is meaningless:
16134 lt_prog_compiler_pic_CXX=
16137 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16141 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16146 # Check to make sure the PIC flag actually works.
16148 if test -n "$lt_prog_compiler_pic_CXX"; then
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16150 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16151 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16152 $as_echo_n "(cached) " >&6
16154 lt_cv_prog_compiler_pic_works_CXX=no
16155 ac_outfile=conftest.$ac_objext
16156 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16157 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16158 # Insert the option either (1) after the last *FLAGS variable, or
16159 # (2) before a word containing "conftest.", or (3) at the end.
16160 # Note that $ac_compile itself does not contain backslashes and begins
16161 # with a dollar sign (not a hyphen), so the echo should work correctly.
16162 # The option is referenced via a variable to avoid confusing sed.
16163 lt_compile=`echo "$ac_compile" | $SED \
16164 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16166 -e 's:$: $lt_compiler_flag:'`
16167 (eval echo "\"\$as_me:16167: $lt_compile\"" >&5)
16168 (eval "$lt_compile" 2>conftest.err)
16170 cat conftest.err >&5
16171 echo "$as_me:16171: \$? = $ac_status" >&5
16172 if (exit $ac_status) && test -s "$ac_outfile"; then
16173 # The compiler can only warn and ignore the option if not recognized
16174 # So say no if there are warnings other than the usual output.
16175 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16176 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16177 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16178 lt_cv_prog_compiler_pic_works_CXX=yes
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16185 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16187 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16188 case $lt_prog_compiler_pic_CXX in
16190 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16193 lt_prog_compiler_pic_CXX=
16194 lt_prog_compiler_can_build_shared_CXX=no
16202 # Check to make sure the static flag actually works.
16204 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16206 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16207 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16208 $as_echo_n "(cached) " >&6
16210 lt_cv_prog_compiler_static_works_CXX=no
16211 save_LDFLAGS="$LDFLAGS"
16212 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16213 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16214 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16215 # The linker can only warn and ignore the option if not recognized
16216 # So say no if there are warnings
16217 if test -s conftest.err; then
16218 # Append any errors to the config.log.
16219 cat conftest.err 1>&5
16220 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16221 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16222 if diff conftest.exp conftest.er2 >/dev/null; then
16223 lt_cv_prog_compiler_static_works_CXX=yes
16226 lt_cv_prog_compiler_static_works_CXX=yes
16230 LDFLAGS="$save_LDFLAGS"
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16234 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16236 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16239 lt_prog_compiler_static_CXX=
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16246 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16247 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16248 $as_echo_n "(cached) " >&6
16250 lt_cv_prog_compiler_c_o_CXX=no
16251 $RM -r conftest 2>/dev/null
16255 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16257 lt_compiler_flag="-o out/conftest2.$ac_objext"
16258 # Insert the option either (1) after the last *FLAGS variable, or
16259 # (2) before a word containing "conftest.", or (3) at the end.
16260 # Note that $ac_compile itself does not contain backslashes and begins
16261 # with a dollar sign (not a hyphen), so the echo should work correctly.
16262 lt_compile=`echo "$ac_compile" | $SED \
16263 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16264 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16265 -e 's:$: $lt_compiler_flag:'`
16266 (eval echo "\"\$as_me:16266: $lt_compile\"" >&5)
16267 (eval "$lt_compile" 2>out/conftest.err)
16269 cat out/conftest.err >&5
16270 echo "$as_me:16270: \$? = $ac_status" >&5
16271 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16273 # The compiler can only warn and ignore the option if not recognized
16274 # So say no if there are warnings
16275 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16276 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16277 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16278 lt_cv_prog_compiler_c_o_CXX=yes
16283 # SGI C++ compiler will create directory out/ii_files/ for
16284 # template instantiation
16285 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16286 $RM out/* && rmdir out
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16293 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16298 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16299 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16300 $as_echo_n "(cached) " >&6
16302 lt_cv_prog_compiler_c_o_CXX=no
16303 $RM -r conftest 2>/dev/null
16307 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16309 lt_compiler_flag="-o out/conftest2.$ac_objext"
16310 # Insert the option either (1) after the last *FLAGS variable, or
16311 # (2) before a word containing "conftest.", or (3) at the end.
16312 # Note that $ac_compile itself does not contain backslashes and begins
16313 # with a dollar sign (not a hyphen), so the echo should work correctly.
16314 lt_compile=`echo "$ac_compile" | $SED \
16315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16317 -e 's:$: $lt_compiler_flag:'`
16318 (eval echo "\"\$as_me:16318: $lt_compile\"" >&5)
16319 (eval "$lt_compile" 2>out/conftest.err)
16321 cat out/conftest.err >&5
16322 echo "$as_me:16322: \$? = $ac_status" >&5
16323 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16325 # The compiler can only warn and ignore the option if not recognized
16326 # So say no if there are warnings
16327 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16328 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16329 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16330 lt_cv_prog_compiler_c_o_CXX=yes
16335 # SGI C++ compiler will create directory out/ii_files/ for
16336 # template instantiation
16337 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16338 $RM out/* && rmdir out
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16345 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16350 hard_links="nottested"
16351 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16352 # do not overwrite the value of need_locks provided by the user
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16354 $as_echo_n "checking if we can lock with hard links... " >&6; }
16357 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16359 ln conftest.a conftest.b 2>&5 || hard_links=no
16360 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16362 $as_echo "$hard_links" >&6; }
16363 if test "$hard_links" = no; then
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16365 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16375 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16377 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16380 # If we're using GNU nm, then we don't want the "-C" option.
16381 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16382 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16383 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'
16385 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'
16389 export_symbols_cmds_CXX="$ltdll_cmds"
16391 cygwin* | mingw* | cegcc*)
16392 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'
16394 linux* | k*bsd*-gnu)
16395 link_all_deplibs_CXX=no
16398 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16401 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16404 $as_echo "$ld_shlibs_CXX" >&6; }
16405 test "$ld_shlibs_CXX" = no && can_build_shared=no
16407 with_gnu_ld_CXX=$with_gnu_ld
16415 # Do we need to explicitly link libc?
16417 case "x$archive_cmds_need_lc_CXX" in
16419 # Assume -lc should be added
16420 archive_cmds_need_lc_CXX=yes
16422 if test "$enable_shared" = yes && test "$GCC" = yes; then
16423 case $archive_cmds_CXX in
16425 # FIXME: we may have to deal with multi-command sequences.
16428 # Test whether the compiler implicitly links with -lc since on some
16429 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16430 # to ld, don't add -lc before -lgcc.
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16432 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16434 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16436 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16437 (eval $ac_compile) 2>&5
16439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16440 test $ac_status = 0; } 2>conftest.err; then
16443 libobjs=conftest.$ac_objext
16445 wl=$lt_prog_compiler_wl_CXX
16446 pic_flag=$lt_prog_compiler_pic_CXX
16452 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16453 allow_undefined_flag_CXX=
16454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16455 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16458 test $ac_status = 0; }
16460 archive_cmds_need_lc_CXX=no
16462 archive_cmds_need_lc_CXX=yes
16464 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16466 cat conftest.err 1>&5
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16470 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16541 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16543 library_names_spec=
16544 libname_spec='lib$name'
16548 postuninstall_cmds=
16552 shlibpath_overrides_runpath=unknown
16554 dynamic_linker="$host_os ld.so"
16555 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16556 need_lib_prefix=unknown
16557 hardcode_into_libs=no
16559 # when you set need_version to no, make sure it does not cause -set_version
16560 # flags to be left without arguments
16561 need_version=unknown
16566 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16567 shlibpath_var=LIBPATH
16569 # AIX 3 has no versioning support, so we append a major version to the name.
16570 soname_spec='${libname}${release}${shared_ext}$major'
16577 hardcode_into_libs=yes
16578 if test "$host_cpu" = ia64; then
16579 # AIX 5 supports IA64
16580 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16581 shlibpath_var=LD_LIBRARY_PATH
16583 # With GCC up to 2.95.x, collect2 would create an import file
16584 # for dependence libraries. The import file would start with
16585 # the line `#! .'. This would cause the generated library to
16586 # depend on `.', always an invalid library. This was fixed in
16587 # development snapshots of GCC prior to 3.0.
16589 aix4 | aix4.[01] | aix4.[01].*)
16590 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16592 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16595 can_build_shared=no
16599 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16600 # soname into executable. Probably we can add versioning support to
16601 # collect2, so additional links can be useful in future.
16602 if test "$aix_use_runtimelinking" = yes; then
16603 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16604 # instead of lib<name>.a to let people know that these are not
16605 # typical AIX shared libraries.
16606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16608 # We preserve .a as extension for shared libraries through AIX4.2
16609 # and later when we are not doing run time linking.
16610 library_names_spec='${libname}${release}.a $libname.a'
16611 soname_spec='${libname}${release}${shared_ext}$major'
16613 shlibpath_var=LIBPATH
16620 # Since July 2007 AmigaOS4 officially supports .so libraries.
16621 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16625 library_names_spec='$libname.ixlibrary $libname.a'
16626 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16627 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'
16633 library_names_spec='${libname}${shared_ext}'
16634 dynamic_linker="$host_os ld.so"
16635 shlibpath_var=LIBRARY_PATH
16641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16642 soname_spec='${libname}${release}${shared_ext}$major'
16643 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16644 shlibpath_var=LD_LIBRARY_PATH
16645 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16646 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16647 # the default ld.so.conf also contains /usr/contrib/lib and
16648 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16649 # libtool to hard-code these into programs
16652 cygwin* | mingw* | pw32* | cegcc*)
16653 version_type=windows
16658 case $GCC,$host_os in
16659 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16660 library_names_spec='$libname.dll.a'
16661 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16662 postinstall_cmds='base_file=`basename \${file}`~
16663 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16664 dldir=$destdir/`dirname \$dlpath`~
16665 test -d \$dldir || mkdir -p \$dldir~
16666 $install_prog $dir/$dlname \$dldir/$dlname~
16667 chmod a+x \$dldir/$dlname~
16668 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16669 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16671 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16672 dlpath=$dir/\$dldll~
16674 shlibpath_overrides_runpath=yes
16678 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16679 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16680 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16683 # MinGW DLLs use traditional 'lib' prefix
16684 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16685 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16686 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16687 # It is most probably a Windows format PATH printed by
16688 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16689 # path with ; separators, and with drive letters. We can handle the
16690 # drive letters (cygwin fileutils understands them), so leave them,
16691 # especially as we might pass files found there to a mingw objdump,
16692 # which wouldn't understand a cygwinified path. Ahh.
16693 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16695 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16699 # pw32 DLLs use 'pw' prefix rather than 'lib'
16700 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16706 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16709 dynamic_linker='Win32 ld.exe'
16710 # FIXME: first we should search . and the directory the executable is in
16714 darwin* | rhapsody*)
16715 dynamic_linker="$host_os dyld"
16716 version_type=darwin
16719 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16720 soname_spec='${libname}${release}${major}$shared_ext'
16721 shlibpath_overrides_runpath=yes
16722 shlibpath_var=DYLD_LIBRARY_PATH
16723 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16725 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16733 soname_spec='${libname}${release}${shared_ext}$major'
16734 shlibpath_var=LD_LIBRARY_PATH
16741 freebsd* | dragonfly*)
16742 # DragonFly does not have aout. When/if they implement a new
16743 # versioning mechanism, adjust this.
16744 if test -x /usr/bin/objformat; then
16745 objformat=`/usr/bin/objformat`
16748 freebsd[123]*) objformat=aout ;;
16749 *) objformat=elf ;;
16752 version_type=freebsd-$objformat
16753 case $version_type in
16755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16760 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16764 shlibpath_var=LD_LIBRARY_PATH
16767 shlibpath_overrides_runpath=yes
16769 freebsd3.[01]* | freebsdelf3.[01]*)
16770 shlibpath_overrides_runpath=yes
16771 hardcode_into_libs=yes
16773 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16774 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16775 shlibpath_overrides_runpath=no
16776 hardcode_into_libs=yes
16778 *) # from 4.6 on, and DragonFly
16779 shlibpath_overrides_runpath=yes
16780 hardcode_into_libs=yes
16789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16790 soname_spec='${libname}${release}${shared_ext}$major'
16791 shlibpath_var=LD_LIBRARY_PATH
16792 hardcode_into_libs=yes
16795 hpux9* | hpux10* | hpux11*)
16796 # Give a soname corresponding to the major version so that dld.sl refuses to
16797 # link against other versions.
16804 hardcode_into_libs=yes
16805 dynamic_linker="$host_os dld.so"
16806 shlibpath_var=LD_LIBRARY_PATH
16807 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16809 soname_spec='${libname}${release}${shared_ext}$major'
16810 if test "X$HPUX_IA64_MODE" = X32; then
16811 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16813 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16815 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16819 hardcode_into_libs=yes
16820 dynamic_linker="$host_os dld.sl"
16821 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16822 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16824 soname_spec='${libname}${release}${shared_ext}$major'
16825 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16826 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16830 dynamic_linker="$host_os dld.sl"
16831 shlibpath_var=SHLIB_PATH
16832 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16834 soname_spec='${libname}${release}${shared_ext}$major'
16837 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16838 postinstall_cmds='chmod 555 $lib'
16845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16846 soname_spec='${libname}${release}${shared_ext}$major'
16847 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16848 shlibpath_var=LD_LIBRARY_PATH
16849 shlibpath_overrides_runpath=no
16850 hardcode_into_libs=yes
16853 irix5* | irix6* | nonstopux*)
16855 nonstopux*) version_type=nonstopux ;;
16857 if test "$lt_cv_prog_gnu_ld" = yes; then
16865 soname_spec='${libname}${release}${shared_ext}$major'
16866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16868 irix5* | nonstopux*)
16869 libsuff= shlibsuff=
16872 case $LD in # libtool.m4 will add one of these switches to LD
16873 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16874 libsuff= shlibsuff= libmagic=32-bit;;
16875 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16876 libsuff=32 shlibsuff=N32 libmagic=N32;;
16877 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16878 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16879 *) libsuff= shlibsuff= libmagic=never-match;;
16883 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16884 shlibpath_overrides_runpath=no
16885 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16886 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16887 hardcode_into_libs=yes
16890 # No shared lib support for Linux oldld, aout, or coff.
16891 linux*oldld* | linux*aout* | linux*coff*)
16895 # This must be Linux ELF.
16896 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16901 soname_spec='${libname}${release}${shared_ext}$major'
16902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16903 shlibpath_var=LD_LIBRARY_PATH
16904 shlibpath_overrides_runpath=no
16905 # Some binutils ld are patched to set DT_RUNPATH
16906 save_LDFLAGS=$LDFLAGS
16907 save_libdir=$libdir
16908 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16909 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16923 shlibpath_overrides_runpath=yes
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16928 LDFLAGS=$save_LDFLAGS
16929 libdir=$save_libdir
16931 # This implies no fast_install, which is unacceptable.
16932 # Some rework will be needed to allow for fast_install
16933 # before this can be enabled.
16934 hardcode_into_libs=yes
16936 # Append ld.so.conf contents to the search path
16937 if test -f /etc/ld.so.conf; then
16938 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' ' '`
16939 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16942 # We used to test for /lib/ld.so.1 and disable shared libraries on
16943 # powerpc, because MkLinux only supported shared libraries with the
16944 # GNU dynamic linker. Since this was broken with cross compilers,
16945 # most powerpc-linux boxes support dynamic linking these days and
16946 # people can always --disable-shared, the test was removed, and we
16947 # assume the GNU/Linux dynamic linker is in use.
16948 dynamic_linker='GNU/Linux ld.so'
16955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16956 soname_spec='${libname}${release}${shared_ext}$major'
16957 shlibpath_var=LD_LIBRARY_PATH
16958 shlibpath_overrides_runpath=no
16959 hardcode_into_libs=yes
16960 dynamic_linker='NetBSD ld.elf_so'
16967 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16969 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16970 dynamic_linker='NetBSD (a.out) ld.so'
16972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16973 soname_spec='${libname}${release}${shared_ext}$major'
16974 dynamic_linker='NetBSD ld.elf_so'
16976 shlibpath_var=LD_LIBRARY_PATH
16977 shlibpath_overrides_runpath=yes
16978 hardcode_into_libs=yes
16983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16984 shlibpath_var=LD_LIBRARY_PATH
16985 shlibpath_overrides_runpath=yes
16992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16993 soname_spec='${libname}${release}${shared_ext}$major'
16994 shlibpath_var=LD_LIBRARY_PATH
16995 shlibpath_overrides_runpath=no
16996 hardcode_into_libs=yes
16997 dynamic_linker='ldqnx.so'
17002 sys_lib_dlsearch_path_spec="/usr/lib"
17004 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17006 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17007 *) need_version=no ;;
17009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17010 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17011 shlibpath_var=LD_LIBRARY_PATH
17012 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17014 openbsd2.[89] | openbsd2.[89].*)
17015 shlibpath_overrides_runpath=no
17018 shlibpath_overrides_runpath=yes
17022 shlibpath_overrides_runpath=yes
17027 libname_spec='$name'
17030 library_names_spec='$libname${shared_ext} $libname.a'
17031 dynamic_linker='OS/2 ld.exe'
17032 shlibpath_var=LIBPATH
17035 osf3* | osf4* | osf5*)
17039 soname_spec='${libname}${release}${shared_ext}$major'
17040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17041 shlibpath_var=LD_LIBRARY_PATH
17042 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17043 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17055 soname_spec='${libname}${release}${shared_ext}$major'
17056 shlibpath_var=LD_LIBRARY_PATH
17057 shlibpath_overrides_runpath=yes
17058 hardcode_into_libs=yes
17059 # ldd complains unless libraries are executable
17060 postinstall_cmds='chmod +x $lib'
17065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17066 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17067 shlibpath_var=LD_LIBRARY_PATH
17068 shlibpath_overrides_runpath=yes
17069 if test "$with_gnu_ld" = yes; then
17077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17078 soname_spec='${libname}${release}${shared_ext}$major'
17079 shlibpath_var=LD_LIBRARY_PATH
17080 case $host_vendor in
17082 shlibpath_overrides_runpath=no
17084 runpath_var=LD_RUN_PATH
17092 shlibpath_overrides_runpath=no
17093 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17099 if test -d /usr/nec ;then
17101 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17102 soname_spec='$libname${shared_ext}.$major'
17103 shlibpath_var=LD_LIBRARY_PATH
17107 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17108 version_type=freebsd-elf
17111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17112 soname_spec='${libname}${release}${shared_ext}$major'
17113 shlibpath_var=LD_LIBRARY_PATH
17114 shlibpath_overrides_runpath=yes
17115 hardcode_into_libs=yes
17116 if test "$with_gnu_ld" = yes; then
17117 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17119 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17122 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17126 sys_lib_dlsearch_path_spec='/usr/lib'
17130 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17135 shlibpath_var=LD_LIBRARY_PATH
17136 shlibpath_overrides_runpath=no
17137 hardcode_into_libs=yes
17142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17143 soname_spec='${libname}${release}${shared_ext}$major'
17144 shlibpath_var=LD_LIBRARY_PATH
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17152 $as_echo "$dynamic_linker" >&6; }
17153 test "$dynamic_linker" = no && can_build_shared=no
17155 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17156 if test "$GCC" = yes; then
17157 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17160 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17161 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17163 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17164 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17203 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17204 hardcode_action_CXX=
17205 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17206 test -n "$runpath_var_CXX" ||
17207 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17209 # We can hardcode non-existent directories.
17210 if test "$hardcode_direct_CXX" != no &&
17211 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17212 # have to relink, otherwise we might link with an installed library
17213 # when we should be linking with a yet-to-be-installed one
17214 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17215 test "$hardcode_minus_L_CXX" != no; then
17216 # Linking always hardcodes the temporary library directory.
17217 hardcode_action_CXX=relink
17219 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17220 hardcode_action_CXX=immediate
17223 # We cannot hardcode anything, or else we can only hardcode existing
17225 hardcode_action_CXX=unsupported
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17228 $as_echo "$hardcode_action_CXX" >&6; }
17230 if test "$hardcode_action_CXX" = relink ||
17231 test "$inherit_rpath_CXX" = yes; then
17232 # Fast installation is not supported
17233 enable_fast_install=no
17234 elif test "$shlibpath_overrides_runpath" = yes ||
17235 test "$enable_shared" = no; then
17236 # Fast installation is not necessary
17237 enable_fast_install=needless
17246 fi # test -n "$compiler"
17252 with_gnu_ld=$lt_save_with_gnu_ld
17253 lt_cv_path_LDCXX=$lt_cv_path_LD
17254 lt_cv_path_LD=$lt_save_path_LD
17255 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17256 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17257 fi # test "$_lt_caught_CXX_error" != yes
17260 ac_cpp='$CPP $CPPFLAGS'
17261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17268 if test "$GCC" = "yes" ; then
17269 # AC_HAVE_GCC_VERSION(4,0,0,0,
17271 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17272 # [Define to enable class visibility control in gcc.])
17273 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17274 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17276 CFLAGS="-Wall $GCC_CFLAGS"
17277 CXXFLAGS="-Wall $GCC_CXXFLAGS"
17279 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17280 case "${host_cpu}-${host_os}" in
17282 if test "$CXX" = "CC" ; then
17283 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17289 # Checks for typedefs, structures, and compiler characteristics.
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17291 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17292 if test "${ac_cv_c_const+set}" = set; then :
17293 $as_echo_n "(cached) " >&6
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17301 /* FIXME: Include the comments suggested by Paul. */
17302 #ifndef __cplusplus
17303 /* Ultrix mips cc rejects this. */
17304 typedef int charset[2];
17306 /* SunOS 4.1.1 cc rejects this. */
17307 char const *const *pcpcc;
17309 /* NEC SVR4.0.2 mips cc rejects this. */
17310 struct point {int x, y;};
17311 static struct point const zero = {0,0};
17312 /* AIX XL C 1.02.0.0 rejects this.
17313 It does not let you subtract one const X* pointer from another in
17314 an arm of an if-expression whose if-part is not a constant
17316 const char *g = "string";
17317 pcpcc = &g + (g ? g-g : 0);
17318 /* HPUX 7.0 cc rejects these. */
17320 ppc = (char**) pcpcc;
17321 pcpcc = (char const *const *) ppc;
17322 { /* SCO 3.2v4 cc rejects this. */
17324 char const *s = 0 ? (char *) 0 : (char const *) 0;
17329 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17330 int x[] = {25, 17};
17331 const int *foo = &x[0];
17334 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17335 typedef const int *iptr;
17339 { /* AIX XL C 1.02.0.0 rejects this saying
17340 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17341 struct s { int j; const int *ap[3]; };
17342 struct s *b; b->j = 5;
17344 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17345 const int foo = 10;
17346 if (!foo) return 0;
17348 return !cs[0] && !zero.x;
17355 if ac_fn_c_try_compile "$LINENO"; then :
17360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17363 $as_echo "$ac_cv_c_const" >&6; }
17364 if test $ac_cv_c_const = no; then
17366 $as_echo "#define const /**/" >>confdefs.h
17370 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17371 if test "x$ac_cv_type_size_t" = x""yes; then :
17375 cat >>confdefs.h <<_ACEOF
17376 #define size_t unsigned int
17381 # The cast to long int works around a bug in the HP C Compiler
17382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17384 # This bug is HP SR number 8606223364.
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
17386 $as_echo_n "checking size of long... " >&6; }
17387 if test "${ac_cv_sizeof_long+set}" = set; then :
17388 $as_echo_n "(cached) " >&6
17390 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
17393 if test "$ac_cv_type_long" = yes; then
17394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17396 as_fn_error 77 "cannot compute sizeof (long)
17397 See \`config.log' for more details" "$LINENO" 5 ; }
17399 ac_cv_sizeof_long=0
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
17405 $as_echo "$ac_cv_sizeof_long" >&6; }
17409 cat >>confdefs.h <<_ACEOF
17410 #define SIZEOF_LONG $ac_cv_sizeof_long
17415 # Checks for library functions.
17416 for ac_func in strchr strdup strstr timegm strcasecmp
17418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17420 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17428 for ac_header in dlfcn.h
17430 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
17431 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
17432 cat >>confdefs.h <<_ACEOF
17433 #define HAVE_DLFCN_H 1
17440 ac_fn_c_check_func "$LINENO" "dlclose" "ac_cv_func_dlclose"
17441 if test "x$ac_cv_func_dlclose" = x""yes; then :
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17445 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17446 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
17447 $as_echo_n "(cached) " >&6
17449 ac_check_lib_save_LIBS=$LIBS
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17454 /* Override any GCC internal prototype to avoid an error.
17455 Use char because int might match the return type of a GCC
17456 builtin and then its argument prototype would still apply. */
17469 if ac_fn_c_try_link "$LINENO"; then :
17470 ac_cv_lib_dl_dlopen=yes
17472 ac_cv_lib_dl_dlopen=no
17474 rm -f core conftest.err conftest.$ac_objext \
17475 conftest$ac_exeext conftest.$ac_ext
17476 LIBS=$ac_check_lib_save_LIBS
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17479 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17480 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
17481 cat >>confdefs.h <<_ACEOF
17482 #define HAVE_LIBDL 1
17492 # checks for pthreads
17496 ac_cpp='$CPP $CPPFLAGS'
17497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17503 # We used to check for pthread.h first, but this fails if pthread.h
17504 # requires special compiler flags (e.g. on True64 or Sequent).
17505 # It gets checked for in the link test anyway.
17507 # First of all, check if the user has set any of the PTHREAD_LIBS,
17508 # etcetera environment variables, and if threads linking works using
17510 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17511 save_CFLAGS="$CFLAGS"
17512 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17514 LIBS="$PTHREAD_LIBS $LIBS"
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17516 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17520 /* Override any GCC internal prototype to avoid an error.
17521 Use char because int might match the return type of a GCC
17522 builtin and then its argument prototype would still apply. */
17526 char pthread_join ();
17530 return pthread_join ();
17535 if ac_fn_c_try_link "$LINENO"; then :
17538 rm -f core conftest.err conftest.$ac_objext \
17539 conftest$ac_exeext conftest.$ac_ext
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17541 $as_echo "$acx_pthread_ok" >&6; }
17542 if test x"$acx_pthread_ok" = xno; then
17547 CFLAGS="$save_CFLAGS"
17550 # We must check for the threads library under a number of different
17551 # names; the ordering is very important because some systems
17552 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17553 # libraries is broken (non-POSIX).
17555 # Create a list of thread flags to try. Items starting with a "-" are
17556 # C compiler flags, and other items are library names, except for "none"
17557 # which indicates that we try without any flags at all, and "pthread-config"
17558 # which is a program returning the flags for the Pth emulation library.
17560 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17562 # The ordering *is* (sometimes) important. Some notes on the
17563 # individual items follow:
17565 # pthreads: AIX (must check this before -lpthread)
17566 # none: in case threads are in libc; should be tried before -Kthread and
17567 # other compiler flags to prevent continual compiler warnings
17568 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17569 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17570 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17571 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17572 # -pthreads: Solaris/gcc
17573 # -mthreads: Mingw32/gcc, Lynx/gcc
17574 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17575 # doesn't hurt to check since this sometimes defines pthreads too;
17576 # also defines -D_REENTRANT)
17577 # ... -mt is also the pthreads flag for HP/aCC
17578 # pthread: Linux, etcetera
17579 # --thread-safe: KAI C++
17580 # pthread-config: use pthread-config program (for GNU Pth library)
17582 case "${host_cpu}-${host_os}" in
17585 # On Solaris (at least, for some versions), libc contains stubbed
17586 # (non-functional) versions of the pthreads routines, so link-based
17587 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17588 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17589 # a function called by this macro, so we could check for that, but
17590 # who knows whether they'll stub that too in a future libc.) So,
17591 # we'll just look for -pthreads and -lpthread first:
17593 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17597 if test x"$acx_pthread_ok" = xno; then
17598 for flag in $acx_pthread_flags; do
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17603 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17608 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17609 PTHREAD_CFLAGS="$flag"
17613 # Extract the first word of "pthread-config", so it can be a program name with args.
17614 set dummy pthread-config; ac_word=$2
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17616 $as_echo_n "checking for $ac_word... " >&6; }
17617 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
17618 $as_echo_n "(cached) " >&6
17620 if test -n "$acx_pthread_config"; then
17621 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17624 for as_dir in $PATH
17627 test -z "$as_dir" && as_dir=.
17628 for ac_exec_ext in '' $ac_executable_extensions; do
17629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17630 ac_cv_prog_acx_pthread_config="yes"
17631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17638 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17641 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17642 if test -n "$acx_pthread_config"; then
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17644 $as_echo "$acx_pthread_config" >&6; }
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17647 $as_echo "no" >&6; }
17651 if test x"$acx_pthread_config" = xno; then continue; fi
17652 PTHREAD_CFLAGS="`pthread-config --cflags`"
17653 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17658 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17659 PTHREAD_LIBS="-l$flag"
17664 save_CFLAGS="$CFLAGS"
17665 LIBS="$PTHREAD_LIBS $LIBS"
17666 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17668 # Check for various functions. We must include pthread.h,
17669 # since some functions may be macros. (On the Sequent, we
17670 # need a special flag -Kthread to make this header compile.)
17671 # We check for pthread_join because it is in -lpthread on IRIX
17672 # while pthread_create is in libc. We check for pthread_attr_init
17673 # due to DEC craziness with -lpthreads. We check for
17674 # pthread_cleanup_push because it is one of the few pthread
17675 # functions on Solaris that doesn't have a non-functional libc stub.
17676 # We try pthread_create on general principles.
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 #include <pthread.h>
17683 pthread_t th; pthread_join(th, 0);
17684 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17685 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17690 if ac_fn_c_try_link "$LINENO"; then :
17693 rm -f core conftest.err conftest.$ac_objext \
17694 conftest$ac_exeext conftest.$ac_ext
17697 CFLAGS="$save_CFLAGS"
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17700 $as_echo "$acx_pthread_ok" >&6; }
17701 if test "x$acx_pthread_ok" = xyes; then
17710 # Various other checks:
17711 if test "x$acx_pthread_ok" = xyes; then
17713 LIBS="$PTHREAD_LIBS $LIBS"
17714 save_CFLAGS="$CFLAGS"
17715 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17717 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17719 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17721 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 #include <pthread.h>
17728 int attr=$attr; return attr;
17733 if ac_fn_c_try_link "$LINENO"; then :
17734 attr_name=$attr; break
17736 rm -f core conftest.err conftest.$ac_objext \
17737 conftest$ac_exeext conftest.$ac_ext
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17740 $as_echo "$attr_name" >&6; }
17741 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17743 cat >>confdefs.h <<_ACEOF
17744 #define PTHREAD_CREATE_JOINABLE $attr_name
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17750 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17752 case "${host_cpu}-${host_os}" in
17753 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
17754 *-osf* | *-hpux*) flag="-D_REENTRANT";;
17756 if test "$GCC" = "yes"; then
17757 flag="-D_REENTRANT"
17759 flag="-mt -D_REENTRANT"
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17764 $as_echo "${flag}" >&6; }
17765 if test "x$flag" != xno; then
17766 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17770 CFLAGS="$save_CFLAGS"
17772 # More AIX lossage: must compile with xlc_r or cc_r
17773 if test x"$GCC" != xyes; then
17774 for ac_prog in xlc_r cc_r
17776 # Extract the first word of "$ac_prog", so it can be a program name with args.
17777 set dummy $ac_prog; ac_word=$2
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17779 $as_echo_n "checking for $ac_word... " >&6; }
17780 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
17781 $as_echo_n "(cached) " >&6
17783 if test -n "$PTHREAD_CC"; then
17784 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17787 for as_dir in $PATH
17790 test -z "$as_dir" && as_dir=.
17791 for ac_exec_ext in '' $ac_executable_extensions; do
17792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17793 ac_cv_prog_PTHREAD_CC="$ac_prog"
17794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17803 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17804 if test -n "$PTHREAD_CC"; then
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17806 $as_echo "$PTHREAD_CC" >&6; }
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17809 $as_echo "no" >&6; }
17813 test -n "$PTHREAD_CC" && break
17815 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17828 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17829 if test x"$acx_pthread_ok" = xyes; then
17830 enable_threads="pthread"
17834 enable_threads="no"
17837 ac_cpp='$CPP $CPPFLAGS'
17838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17843 if test $enable_threads != "pthread"; then
17844 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
17847 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17849 if test "$enable_threads" = "pthread"; then
17850 BUILD_PTHREAD_TRUE=
17851 BUILD_PTHREAD_FALSE='#'
17853 BUILD_PTHREAD_TRUE='#'
17854 BUILD_PTHREAD_FALSE=
17857 LIBS="$PTHREAD_LIBS $LIBS"
17858 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
17859 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
17862 for ac_func in pthread_rwlock_init
17864 ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
17865 if test "x$ac_cv_func_pthread_rwlock_init" = x""yes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define HAVE_PTHREAD_RWLOCK_INIT 1
17875 ac_cpp='$CXXCPP $CPPFLAGS'
17876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17883 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
17884 if test "${ac_cv_cxx_namespaces+set}" = set; then :
17885 $as_echo_n "(cached) " >&6
17889 ac_cpp='$CXXCPP $CPPFLAGS'
17890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17896 namespace Outer { namespace Inner { int i = 0; }}
17900 using namespace Outer::Inner; return i;
17905 if ac_fn_cxx_try_compile "$LINENO"; then :
17906 ac_cv_cxx_namespaces=yes
17908 ac_cv_cxx_namespaces=no
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 ac_cpp='$CXXCPP $CPPFLAGS'
17913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
17920 $as_echo "$ac_cv_cxx_namespaces" >&6; }
17921 if test "$ac_cv_cxx_namespaces" = yes; then
17923 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
17928 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
17929 if test "${ac_cv_cxx_have_stl+set}" = set; then :
17930 $as_echo_n "(cached) " >&6
17934 ac_cpp='$CXXCPP $CPPFLAGS'
17935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17943 #ifdef HAVE_NAMESPACES
17944 using namespace std;
17949 list<int> x; x.push_back(5);
17950 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
17955 if ac_fn_cxx_try_compile "$LINENO"; then :
17956 ac_cv_cxx_have_stl=yes
17958 ac_cv_cxx_have_stl=no
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 ac_cpp='$CXXCPP $CPPFLAGS'
17963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
17970 $as_echo "$ac_cv_cxx_have_stl" >&6; }
17971 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
17972 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
17976 # are covariant methods allowed?
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17984 class base { public: virtual base *GetPtr( void ) { return this; } };
17985 class derived: virtual public base { public: virtual derived *GetPtr( void ) { return this; } };
17991 if ac_fn_cxx_try_link "$LINENO"; then :
17993 $as_echo "#define HAVE_COVARIANT_RETURNS 1" >>confdefs.h
17996 rm -f core conftest.err conftest.$ac_objext \
17997 conftest$ac_exeext conftest.$ac_ext
17999 # is nullptr supported?
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18006 const char* ptr = nullptr;
18011 if ac_fn_cxx_try_compile "$LINENO"; then :
18013 $as_echo "#define HAVE_NULLPTR 1" >>confdefs.h
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018 # log4shib settings (favor this version over the log4cpp code)
18019 # Extract the first word of "log4shib-config", so it can be a program name with args.
18020 set dummy log4shib-config; ac_word=$2
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18022 $as_echo_n "checking for $ac_word... " >&6; }
18023 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
18024 $as_echo_n "(cached) " >&6
18026 case $LOG4SHIB_CONFIG in
18028 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18032 for as_dir in $PATH
18035 test -z "$as_dir" && as_dir=.
18036 for ac_exec_ext in '' $ac_executable_extensions; do
18037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18038 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18049 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18050 if test -n "$LOG4SHIB_CONFIG"; then
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18052 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18055 $as_echo "no" >&6; }
18060 # Check whether --with-log4shib was given.
18061 if test "${with_log4shib+set}" = set; then :
18062 withval=$with_log4shib;
18063 LOG4SHIB_CONFIG="${with_log4shib}"
18064 if ! test -f "${LOG4SHIB_CONFIG}" ; then
18065 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18070 if test -f "${LOG4SHIB_CONFIG}" ; then
18071 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18072 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18074 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18075 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
18078 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <log4shib/Category.hh>
18085 #include <log4shib/CategoryStream.hh>
18089 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18094 if ac_fn_cxx_try_link "$LINENO"; then :
18096 $as_echo "#define XMLTOOLING_LOG4SHIB 1" >>confdefs.h
18099 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18101 rm -f core conftest.err conftest.$ac_objext \
18102 conftest$ac_exeext conftest.$ac_ext
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18105 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18107 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18110 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18111 set dummy log4cpp-config; ac_word=$2
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18113 $as_echo_n "checking for $ac_word... " >&6; }
18114 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18115 $as_echo_n "(cached) " >&6
18117 case $LOG4CPP_CONFIG in
18119 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18123 for as_dir in $PATH
18126 test -z "$as_dir" && as_dir=.
18127 for ac_exec_ext in '' $ac_executable_extensions; do
18128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18129 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18140 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18141 if test -n "$LOG4CPP_CONFIG"; then
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18143 $as_echo "$LOG4CPP_CONFIG" >&6; }
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18146 $as_echo "no" >&6; }
18151 # Check whether --with-log4cpp was given.
18152 if test "${with_log4cpp+set}" = set; then :
18153 withval=$with_log4cpp;
18154 LOG4CPP_CONFIG="${with_log4cpp}"
18155 if ! test -f "${LOG4CPP_CONFIG}" ; then
18156 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18161 if test -f "${LOG4CPP_CONFIG}"; then
18162 { $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
18163 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18164 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18165 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18166 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18167 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18170 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18176 #include <log4cpp/Category.hh>
18177 #include <log4cpp/CategoryStream.hh>
18181 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18186 if ac_fn_cxx_try_link "$LINENO"; then :
18188 $as_echo "#define XMLTOOLING_LOG4CPP 1" >>confdefs.h
18191 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18193 rm -f core conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext conftest.$ac_ext
18196 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18202 # Check whether --with-xerces was given.
18203 if test "${with_xerces+set}" = set; then :
18204 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18205 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18206 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18210 LIBS="-lxerces-c $LIBS"
18211 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18212 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18215 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18220 $as_echo_n "checking Xerces version... " >&6; }
18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18223 #include <xercesc/util/XercesVersion.hpp>
18227 #if _XERCES_VERSION != 20600
18230 #error cannot use version 2.6.0
18236 if ac_fn_cxx_try_cpp "$LINENO"; then :
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18238 $as_echo "OK" >&6; }
18240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18242 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18243 See \`config.log' for more details" "$LINENO" 5 ; }
18245 rm -f conftest.err conftest.i conftest.$ac_ext
18246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18248 #include <xercesc/util/PlatformUtils.hpp>
18252 xercesc::XMLPlatformUtils::Initialize()
18257 if ac_fn_cxx_try_link "$LINENO"; then :
18260 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18262 rm -f core conftest.err conftest.$ac_objext \
18263 conftest$ac_exeext conftest.$ac_ext
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces is 64-bit clean" >&5
18266 $as_echo_n "checking whether Xerces is 64-bit clean... " >&6; }
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18269 #include <xercesc/framework/MemBufInputSource.hpp>
18273 using namespace XERCES_CPP_NAMESPACE; XMLFilePos testvar;
18278 if ac_fn_cxx_try_compile "$LINENO"; then :
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18280 $as_echo "yes" >&6; }
18281 $as_echo "#define XMLTOOLING_XERCESC_64BITSAFE 1" >>confdefs.h
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18285 $as_echo "no" >&6; }
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces BinInputStream requires getContentType" >&5
18290 $as_echo_n "checking whether Xerces BinInputStream requires getContentType... " >&6; }
18291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18292 /* end confdefs.h. */
18293 #include <xercesc/util/BinMemInputStream.hpp>
18297 using namespace XERCES_CPP_NAMESPACE; XMLByte buf[1024]; BinMemInputStream in(buf,1024); in.getContentType();
18302 if ac_fn_cxx_try_compile "$LINENO"; then :
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18304 $as_echo "yes" >&6; }
18305 $as_echo "#define XMLTOOLING_XERCESC_INPUTSTREAM_HAS_CONTENTTYPE 1" >>confdefs.h
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18309 $as_echo "no" >&6; }
18311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMLS API is compliant" >&5
18314 $as_echo_n "checking whether Xerces DOMLS API is compliant... " >&6; }
18315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18316 /* end confdefs.h. */
18317 #include <xercesc/dom/DOM.hpp>
18321 using namespace XERCES_CPP_NAMESPACE;
18322 DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(NULL);
18323 DOMLSSerializer *ls = ((DOMImplementationLS*)impl)->createLSSerializer();
18328 if ac_fn_cxx_try_compile "$LINENO"; then :
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18330 $as_echo "yes" >&6; }
18331 $as_echo "#define XMLTOOLING_XERCESC_COMPLIANT_DOMLS 1" >>confdefs.h
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18335 $as_echo "no" >&6; }
18337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces has setIdAttribute(XMLCh*, bool)" >&5
18340 $as_echo_n "checking whether Xerces has setIdAttribute(XMLCh*, bool)... " >&6; }
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18343 #include <xercesc/dom/DOM.hpp>
18347 using namespace XERCES_CPP_NAMESPACE; DOMElement * elt; elt->setIdAttribute(NULL, false);
18352 if ac_fn_cxx_try_compile "$LINENO"; then :
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18354 $as_echo "yes" >&6; }
18355 $as_echo "#define XMLTOOLING_XERCESC_BOOLSETIDATTRIBUTE 1" >>confdefs.h
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18359 $as_echo "no" >&6; }
18361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18364 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18367 #include <xercesc/util/XMLString.hpp>
18371 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18376 if ac_fn_cxx_try_compile "$LINENO"; then :
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18378 $as_echo "yes" >&6; }
18379 $as_echo "#define XMLTOOLING_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18383 $as_echo "no" >&6; }
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 # XML-Security settings
18389 # Check whether --with-xmlsec was given.
18390 if test "${with_xmlsec+set}" = set; then :
18391 withval=$with_xmlsec;
18397 if test x_$with_xmlsec != x_no; then
18399 # OpenSSL settings (need to do this first in case it's in a different spot from xmlsec)
18401 # Check whether --with-openssl was given.
18402 if test "${with_openssl+set}" = set; then :
18403 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18404 SSLFLAGS="-I${with_openssl}/include"
18405 SSLLIBS="-L${with_openssl}/lib -lcrypto -lssl"
18407 SSLLIBS="-lcrypto -lssl"
18412 if test "x$SSLLIBS" = "x" ; then
18413 # Extract the first word of "pkg-config", so it can be a program name with args.
18414 set dummy pkg-config; ac_word=$2
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18416 $as_echo_n "checking for $ac_word... " >&6; }
18417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18418 $as_echo_n "(cached) " >&6
18420 case $PKG_CONFIG in
18422 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18426 for as_dir in $PATH
18429 test -z "$as_dir" && as_dir=.
18430 for ac_exec_ext in '' $ac_executable_extensions; do
18431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18432 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18443 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18444 if test -n "$PKG_CONFIG"; then
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18446 $as_echo "$PKG_CONFIG" >&6; }
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18449 $as_echo "no" >&6; }
18453 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18454 if pkg-config openssl ; then
18455 SSLLIBS="`$PKG_CONFIG --libs openssl`"
18456 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18459 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18464 if test "x$SSLLIBS" = "x" ; then
18465 SSLLIBS="-lcrypto -lssl"
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18469 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18471 $as_echo "$SSLFLAGS" >&6; }
18472 CPPFLAGS="$CPPFLAGS $SSLFLAGS"
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
18474 $as_echo_n "checking for OpenSSL libraries... " >&6; }
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLLIBS" >&5
18476 $as_echo "$SSLLIBS" >&6; }
18477 XMLSEC_LIBS="$XMLSEC_LIBS $SSLLIBS"
18479 # save and append master libs
18481 LIBS="$XMLSEC_LIBS $LIBS"
18483 ac_fn_cxx_check_header_mongrel "$LINENO" "openssl/pem.h" "ac_cv_header_openssl_pem_h" "$ac_includes_default"
18484 if test "x$ac_cv_header_openssl_pem_h" = x""yes; then :
18487 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_CRYPTO_string" >&5
18492 $as_echo_n "checking for ERR_load_CRYPTO_string... " >&6; }
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18496 /* Override any GCC internal prototype to avoid an error.
18497 Use char because int might match the return type of a GCC
18498 builtin and then its argument prototype would still apply. */
18502 char ERR_load_CRYPTO_strings ();
18506 return ERR_load_CRYPTO_strings ();
18511 if ac_fn_cxx_try_link "$LINENO"; then :
18514 as_fn_error $? "unable to link with openssl libraries" "$LINENO" 5
18516 rm -f core conftest.err conftest.$ac_objext \
18517 conftest$ac_exeext conftest.$ac_ext
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18519 $as_echo "yes" >&6; }
18521 ac_fn_cxx_check_decl "$LINENO" "EVP_sha512" "ac_cv_have_decl_EVP_sha512" "#include <openssl/evp.h>
18523 if test "x$ac_cv_have_decl_EVP_sha512" = x""yes; then :
18525 $as_echo "#define XMLTOOLING_OPENSSL_HAVE_SHA2 1" >>confdefs.h
18529 ac_fn_cxx_check_decl "$LINENO" "EVP_PKEY_set1_EC_KEY" "ac_cv_have_decl_EVP_PKEY_set1_EC_KEY" "#include <openssl/evp.h>
18531 if test "x$ac_cv_have_decl_EVP_PKEY_set1_EC_KEY" = x""yes; then :
18533 $as_echo "#define XMLTOOLING_OPENSSL_HAVE_EC 1" >>confdefs.h
18538 # restore master libs
18541 if test x_$with_xmlsec != x_/usr; then
18542 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18543 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18545 XMLSEC_LIBS="$XMLSEC_LIBS -lxml-security-c"
18547 # save and append master libs
18549 LIBS="$XMLSEC_LIBS $LIBS"
18551 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18552 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18555 as_fn_error $? "unable to find XML-Security header files" "$LINENO" 5
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18560 $as_echo_n "checking XML-Security version... " >&6; }
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <xsec/utils/XSECPlatformUtils.hpp>
18567 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18570 #error need version 1.4.0 or later
18576 if ac_fn_cxx_try_cpp "$LINENO"; then :
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18578 $as_echo "OK" >&6; }
18580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18582 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18583 See \`config.log' for more details" "$LINENO" 5 ; }
18585 rm -f conftest.err conftest.i conftest.$ac_ext
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18589 #include <xsec/utils/XSECPlatformUtils.hpp>
18593 XSECPlatformUtils::Initialise()
18598 if ac_fn_cxx_try_link "$LINENO"; then :
18601 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18603 rm -f core conftest.err conftest.$ac_objext \
18604 conftest$ac_exeext conftest.$ac_ext
18605 ac_fn_cxx_check_type "$LINENO" "xsecsize_t" "ac_cv_type_xsecsize_t" "$ac_includes_default"
18606 if test "x$ac_cv_type_xsecsize_t" = x""yes; then :
18608 $as_echo "#define HAVE_XSECSIZE_T 1" >>confdefs.h
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C has multiple CRL support" >&5
18614 $as_echo_n "checking whether XML-Security-C has multiple CRL support... " >&6; }
18615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18617 #include <xsec/dsig/DSIGKeyInfoList.hpp>
18621 DSIGKeyInfoList* klist; klist->getX509CRLListSize();
18626 if ac_fn_cxx_try_compile "$LINENO"; then :
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18628 $as_echo "yes" >&6; }
18629 $as_echo "#define XMLTOOLING_XMLSEC_MULTIPLECRL 1" >>confdefs.h
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18633 $as_echo "no" >&6; }
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C exposes the signature algorithm URI" >&5
18638 $as_echo_n "checking whether XML-Security-C exposes the signature algorithm URI... " >&6; }
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 #include <xsec/dsig/DSIGSignature.hpp>
18645 DSIGSignature* sig; sig->getAlgorithmURI();
18650 if ac_fn_cxx_try_compile "$LINENO"; then :
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18652 $as_echo "yes" >&6; }
18653 $as_echo "#define XMLTOOLING_XMLSEC_SIGALGORITHM 1" >>confdefs.h
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18657 $as_echo "no" >&6; }
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes ECC support" >&5
18662 $as_echo_n "checking whether XML-Security-C includes ECC support... " >&6; }
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 #include <xsec/dsig/DSIGKeyInfoValue.hpp>
18669 DSIGKeyInfoValue* info; info->getECNamedCurve();
18674 if ac_fn_cxx_try_compile "$LINENO"; then :
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18676 $as_echo "yes" >&6; }
18677 $as_echo "#define XMLTOOLING_XMLSEC_ECC 1" >>confdefs.h
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18681 $as_echo "no" >&6; }
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes debug logging support" >&5
18686 $as_echo_n "checking whether XML-Security-C includes debug logging support... " >&6; }
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 #include <xsec/utils/XSECPlatformUtils.hpp>
18693 XSECPlatformUtils::SetReferenceLoggingSink(NULL)
18698 if ac_fn_cxx_try_compile "$LINENO"; then :
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18700 $as_echo "yes" >&6; }
18701 $as_echo "#define XMLTOOLING_XMLSEC_DEBUGLOGGING 1" >>confdefs.h
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18705 $as_echo "no" >&6; }
18707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709 # restore master libs
18713 # Extract the first word of "curl-config", so it can be a program name with args.
18714 set dummy curl-config; ac_word=$2
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18716 $as_echo_n "checking for $ac_word... " >&6; }
18717 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then :
18718 $as_echo_n "(cached) " >&6
18720 case $CURL_CONFIG in
18722 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
18725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18726 for as_dir in $PATH
18729 test -z "$as_dir" && as_dir=.
18730 for ac_exec_ext in '' $ac_executable_extensions; do
18731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18732 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18743 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
18744 if test -n "$CURL_CONFIG"; then
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5
18746 $as_echo "$CURL_CONFIG" >&6; }
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18749 $as_echo "no" >&6; }
18754 # Check whether --with-curl was given.
18755 if test "${with_curl+set}" = set; then :
18756 withval=$with_curl;
18757 CURL_CONFIG="${with_curl}"
18758 if ! test -f "${CURL_CONFIG}" ; then
18759 CURL_CONFIG="${with_curl}/bin/curl-config"
18764 if test -f "${CURL_CONFIG}" ; then
18765 CPPFLAGS="`${CURL_CONFIG} --cflags` $CPPFLAGS"
18766 XMLSEC_LIBS="`${CURL_CONFIG} --libs` $XMLSEC_LIBS"
18768 as_fn_error $? "curl-config not found, may need to use --with-curl option" "$LINENO" 5
18771 # save and append master libs
18773 LIBS="$XMLSEC_LIBS $LIBS"
18775 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
18776 if test "x$ac_cv_header_curl_curl_h" = x""yes; then :
18779 as_fn_error $? "unable to find libcurl header files" "$LINENO" 5
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
18784 $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
18785 if test "${ac_cv_lib_curl_curl_global_init+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18788 ac_check_lib_save_LIBS=$LIBS
18789 LIBS="-lcurl $LIBS"
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18793 /* Override any GCC internal prototype to avoid an error.
18794 Use char because int might match the return type of a GCC
18795 builtin and then its argument prototype would still apply. */
18799 char curl_global_init ();
18803 return curl_global_init ();
18808 if ac_fn_cxx_try_link "$LINENO"; then :
18809 ac_cv_lib_curl_curl_global_init=yes
18811 ac_cv_lib_curl_curl_global_init=no
18813 rm -f core conftest.err conftest.$ac_objext \
18814 conftest$ac_exeext conftest.$ac_ext
18815 LIBS=$ac_check_lib_save_LIBS
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
18818 $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
18819 if test "x$ac_cv_lib_curl_curl_global_init" = x""yes; then :
18820 cat >>confdefs.h <<_ACEOF
18821 #define HAVE_LIBCURL 1
18824 LIBS="-lcurl $LIBS"
18827 as_fn_error $? "unable to link with libcurl" "$LINENO" 5
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURLOPT_SSL_CTX_FUNCTION in curl.h" >&5
18831 $as_echo_n "checking for CURLOPT_SSL_CTX_FUNCTION in curl.h... " >&6; }
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 #include <curl/curl.h>
18837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18838 $EGREP "CURLOPT_SSL_CTX_FUNCTION" >/dev/null 2>&1; then :
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18840 $as_echo "yes" >&6; }
18842 as_fn_error $? "need libcurl that supports CURLOPT_SSL_CTX_FUNCTION" "$LINENO" 5
18846 ac_fn_cxx_check_type "$LINENO" "curl_off_t" "ac_cv_type_curl_off_t" "$ac_includes_default"
18847 if test "x$ac_cv_type_curl_off_t" = x""yes; then :
18849 $as_echo "#define HAVE_CURL_OFF_T 1" >>confdefs.h
18854 # restore master libs
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
18860 $as_echo "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
18862 $as_echo "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
18865 if test x_$with_xmlsec != x_no; then
18867 BUILD_XMLSEC_FALSE='#'
18869 BUILD_XMLSEC_TRUE='#'
18870 BUILD_XMLSEC_FALSE=
18874 # Does the STL in use help or screw us?
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18881 std::basic_string<unsigned short> foo; foo=foo+(unsigned short)65
18886 if ac_fn_cxx_try_link "$LINENO"; then :
18888 $as_echo "#define HAVE_GOOD_STL 1" >>confdefs.h
18891 rm -f core conftest.err conftest.$ac_objext \
18892 conftest$ac_exeext conftest.$ac_ext
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18899 std::iterator_traits<std::vector<int>::iterator>::value_type foo=0
18904 if ac_fn_cxx_try_link "$LINENO"; then :
18906 $as_echo "#define HAVE_ITERATOR_TRAITS 1" >>confdefs.h
18909 rm -f core conftest.err conftest.$ac_objext \
18910 conftest$ac_exeext conftest.$ac_ext
18912 # Check for unit test support
18913 CXXTEST="/usr/bin/cxxtestgen.pl"
18916 # Check whether --with-cxxtest was given.
18917 if test "${with_cxxtest+set}" = set; then :
18918 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18919 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18920 CXXTESTFLAGS="-I${with_cxxtest}"
18924 if ! test -f "${CXXTEST}"; then
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18926 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18931 if test -f ${CXXTEST}; then
18932 BUILD_UNITTEST_TRUE=
18933 BUILD_UNITTEST_FALSE='#'
18935 BUILD_UNITTEST_TRUE='#'
18936 BUILD_UNITTEST_FALSE=
18941 # we need the expanded forms...
18942 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18943 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18946 $as_echo_n "checking our pkgconfig libname... " >&6; }
18947 test ".$ax_create_pkgconfig_libname" != "." || \
18948 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18949 test ".$ax_create_pkgconfig_libname" != "." || \
18950 ax_create_pkgconfig_libname="$PACKAGE"
18951 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18952 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18954 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18957 $as_echo_n "checking our pkgconfig version... " >&6; }
18958 test ".$ax_create_pkgconfig_version" != "." || \
18959 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18960 test ".$ax_create_pkgconfig_version" != "." || \
18961 ax_create_pkgconfig_version="$VERSION"
18962 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18963 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18965 $as_echo "$ax_create_pkgconfig_version" >&6; }
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18968 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18969 test ".$pkgconfig_libdir" = "." && \
18970 pkgconfig_libdir='${libdir}/pkgconfig'
18971 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18972 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18973 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18975 $as_echo "$pkgconfig_libdir" >&6; }
18976 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18978 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
18982 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
18983 test ".$pkgconfig_libfile" != "." || \
18984 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
18985 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
18986 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
18988 $as_echo "$pkgconfig_libfile" >&6; }
18989 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
18991 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
18995 $as_echo_n "checking our package / suffix... " >&6; }
18996 ax_create_pkgconfig_suffix="$program_suffix"
18997 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
18999 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19002 $as_echo_n "checking our pkgconfig description... " >&6; }
19003 ax_create_pkgconfig_description="OpenSAML XMLTooling-C library"
19004 test ".$ax_create_pkgconfig_description" != "." || \
19005 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19006 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19007 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19009 $as_echo "$ax_create_pkgconfig_description" >&6; }
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19012 $as_echo_n "checking our pkgconfig requires... " >&6; }
19013 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19014 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19015 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19017 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19020 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19021 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19022 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19023 ax_create_pkgconfig_libs="$XMLSEC_LIBS -lxmltooling"
19024 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19025 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19027 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19030 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19031 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19032 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19033 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19035 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19038 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19039 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19040 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19041 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19043 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19045 test ".$ax_create_pkgconfig_generate" != "." || \
19046 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19047 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19048 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19049 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19051 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19053 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19054 ax_create_pkgconfig_src_libdir=`pwd`
19055 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19056 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19057 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19058 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19059 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19060 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19065 /^X\(\/\/\)[^/].*/{
19078 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19079 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19081 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19083 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19086 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19087 ax_create_pkgconfig_src_headers=`pwd`
19088 v="$ac_top_srcdir" ;
19089 test ".$v" != "." || v="$ax_spec_dir"
19090 test ".$v" != "." || v="$srcdir"
19091 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19092 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19093 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19094 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19095 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19096 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19097 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19102 /^X\(\/\/\)[^/].*/{
19115 test ! -d $ax_create_pkgconfig_src_headers/include || \
19116 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19118 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19122 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19125 LIBTOOL="$LIBTOOL --silent"
19127 # output packaging and makefiles
19128 cat >confcache <<\_ACEOF
19129 # This file is a shell script that caches the results of configure
19130 # tests run on this system so they can be shared between configure
19131 # scripts and configure runs, see configure's option --config-cache.
19132 # It is not useful on other systems. If it contains results you don't
19133 # want to keep, you may remove or edit it.
19135 # config.status only pays attention to the cache file if you give it
19136 # the --recheck option to rerun configure.
19138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19140 # following values.
19144 # The following way of writing the cache mishandles newlines in values,
19145 # but we know of no workaround that is simple, portable, and efficient.
19146 # So, we kill variables containing newlines.
19147 # Ultrix sh set writes to stderr and can't be redirected directly,
19148 # and sets the high bit in the cache file unless we assign to the vars.
19150 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19151 eval ac_val=\$$ac_var
19155 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19159 _ | IFS | as_nl) ;; #(
19160 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19161 *) { eval $ac_var=; unset $ac_var;} ;;
19167 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19168 *${as_nl}ac_space=\ *)
19169 # `set' does not quote correctly, so add quotes: double-quote
19170 # substitution turns \\\\ into \\, and sed turns \\ into \.
19173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19176 # `set' quotes correctly as required by POSIX, so do not add quotes.
19177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19186 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19188 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19190 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19191 if test -w "$cache_file"; then
19192 test "x$cache_file" != "x/dev/null" &&
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19194 $as_echo "$as_me: updating cache $cache_file" >&6;}
19195 cat confcache >$cache_file
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19198 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19203 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19204 # Let make expand exec_prefix.
19205 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19207 DEFS=-DHAVE_CONFIG_H
19212 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19213 # 1. Remove the extension, and $U if already installed.
19214 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19215 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19216 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19217 # will be set to the directory where LIBOBJS objects are built.
19218 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19219 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19221 LIBOBJS=$ac_libobjs
19223 LTLIBOBJS=$ac_ltlibobjs
19226 if test -n "$EXEEXT"; then
19228 am__EXEEXT_FALSE='#'
19230 am__EXEEXT_TRUE='#'
19234 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19235 as_fn_error $? "conditional \"AMDEP\" was never defined.
19236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19238 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19239 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19242 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19243 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19246 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19247 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19250 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19251 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19254 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19255 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19258 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19259 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19262 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19263 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19266 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19267 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19270 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19271 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19274 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19275 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19278 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19279 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19282 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19283 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19286 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19287 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19290 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19291 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19294 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19295 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19298 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19299 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19302 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19303 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19306 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19307 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19310 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19311 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19314 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19315 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19318 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19319 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19322 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19323 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19326 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19327 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19330 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19331 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19334 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19335 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19338 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19339 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19342 if test -z "${BUILD_PTHREAD_TRUE}" && test -z "${BUILD_PTHREAD_FALSE}"; then
19343 as_fn_error $? "conditional \"BUILD_PTHREAD\" was never defined.
19344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19346 if test -z "${BUILD_XMLSEC_TRUE}" && test -z "${BUILD_XMLSEC_FALSE}"; then
19347 as_fn_error $? "conditional \"BUILD_XMLSEC\" was never defined.
19348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19350 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19351 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19355 : ${CONFIG_STATUS=./config.status}
19357 ac_clean_files_save=$ac_clean_files
19358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19360 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19362 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19364 # Generated by $as_me.
19365 # Run this file to recreate the current configuration.
19366 # Compiler output produced by configure, useful for debugging
19367 # configure, is in config.log if it exists.
19370 ac_cs_recheck=false
19373 SHELL=\${CONFIG_SHELL-$SHELL}
19376 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19377 ## -------------------- ##
19378 ## M4sh Initialization. ##
19379 ## -------------------- ##
19381 # Be more Bourne compatible
19382 DUALCASE=1; export DUALCASE # for MKS sh
19383 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19386 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19387 # is contrary to our usage. Disable this feature.
19388 alias -g '${1+"$@"}'='"$@"'
19389 setopt NO_GLOB_SUBST
19391 case `(set -o) 2>/dev/null` in #(
19403 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19404 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19405 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19407 # Prefer a ksh shell builtin over an external printf program on Solaris,
19408 # but without wasting forks for bash or zsh.
19409 if test -z "$BASH_VERSION$ZSH_VERSION" \
19410 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19411 as_echo='print -r --'
19412 as_echo_n='print -rn --'
19413 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19414 as_echo='printf %s\n'
19415 as_echo_n='printf %s'
19417 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19418 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19419 as_echo_n='/usr/ucb/echo -n'
19421 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19422 as_echo_n_body='eval
19426 expr "X$arg" : "X\\(.*\\)$as_nl";
19427 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19429 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19431 export as_echo_n_body
19432 as_echo_n='sh -c $as_echo_n_body as_echo'
19434 export as_echo_body
19435 as_echo='sh -c $as_echo_body as_echo'
19438 # The user is always right.
19439 if test "${PATH_SEPARATOR+set}" != set; then
19441 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19442 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19449 # We need space, tab and new line, in precisely that order. Quoting is
19450 # there to prevent editors from complaining about space-tab.
19451 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19452 # splitting by setting IFS to empty value.)
19455 # Find who we are. Look in the path if we contain no directory separator.
19457 *[\\/]* ) as_myself=$0 ;;
19458 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19459 for as_dir in $PATH
19462 test -z "$as_dir" && as_dir=.
19463 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19469 # We did not find ourselves, most probably we were run as `sh COMMAND'
19470 # in which case we are not to be found in the path.
19471 if test "x$as_myself" = x; then
19474 if test ! -f "$as_myself"; then
19475 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19479 # Unset variables that we do not need and which cause bugs (e.g. in
19480 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19481 # suppresses any "Segmentation fault" message there. '((' could
19482 # trigger a bug in pdksh 5.2.14.
19483 for as_var in BASH_ENV ENV MAIL MAILPATH
19484 do eval test x\${$as_var+set} = xset \
19485 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19498 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19501 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19502 # ----------------------------------------
19503 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19504 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19505 # script with STATUS, using 1 if that was 0.
19508 as_status=$1; test $as_status -eq 0 && as_status=1
19510 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19511 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19513 $as_echo "$as_me: error: $2" >&2
19514 as_fn_exit $as_status
19518 # as_fn_set_status STATUS
19519 # -----------------------
19520 # Set $? to STATUS, without forking.
19521 as_fn_set_status ()
19524 } # as_fn_set_status
19526 # as_fn_exit STATUS
19527 # -----------------
19528 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19532 as_fn_set_status $1
19538 # Portably unset VAR.
19541 { eval $1=; unset $1;}
19543 as_unset=as_fn_unset
19544 # as_fn_append VAR VALUE
19545 # ----------------------
19546 # Append the text in VALUE to the end of the definition contained in VAR. Take
19547 # advantage of any shell optimizations that allow amortized linear growth over
19548 # repeated appends, instead of the typical quadratic growth present in naive
19550 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19551 eval 'as_fn_append ()
19562 # as_fn_arith ARG...
19563 # ------------------
19564 # Perform arithmetic evaluation on the ARGs, and store the result in the
19565 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19566 # must be portable across $(()) and expr.
19567 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19568 eval 'as_fn_arith ()
19575 as_val=`expr "$@" || test $? -eq 1`
19580 if expr a : '\(a\)' >/dev/null 2>&1 &&
19581 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19587 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19588 as_basename=basename
19593 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19599 as_me=`$as_basename -- "$0" ||
19600 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19601 X"$0" : 'X\(//\)$' \| \
19602 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19604 sed '/^.*\/\([^/][^/]*\)\/*$/{
19618 # Avoid depending upon Character Ranges.
19619 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19620 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19621 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19622 as_cr_digits='0123456789'
19623 as_cr_alnum=$as_cr_Letters$as_cr_digits
19625 ECHO_C= ECHO_N= ECHO_T=
19626 case `echo -n x` in #(((((
19628 case `echo 'xy\c'` in
19629 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19631 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19638 rm -f conf$$ conf$$.exe conf$$.file
19639 if test -d conf$$.dir; then
19640 rm -f conf$$.dir/conf$$.file
19643 mkdir conf$$.dir 2>/dev/null
19645 if (echo >conf$$.file) 2>/dev/null; then
19646 if ln -s conf$$.file conf$$ 2>/dev/null; then
19648 # ... but there are two gotchas:
19649 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19650 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19651 # In both cases, we have to default to `cp -p'.
19652 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19654 elif ln conf$$.file conf$$ 2>/dev/null; then
19662 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19663 rmdir conf$$.dir 2>/dev/null
19668 # Create "$as_dir" as a directory, including parents if necessary.
19673 -*) as_dir=./$as_dir;;
19675 test -d "$as_dir" || eval $as_mkdir_p || {
19679 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19680 *) as_qdir=$as_dir;;
19682 as_dirs="'$as_qdir' $as_dirs"
19683 as_dir=`$as_dirname -- "$as_dir" ||
19684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19685 X"$as_dir" : 'X\(//\)[^/]' \| \
19686 X"$as_dir" : 'X\(//\)$' \| \
19687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19688 $as_echo X"$as_dir" |
19689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19693 /^X\(\/\/\)[^/].*/{
19706 test -d "$as_dir" && break
19708 test -z "$as_dirs" || eval "mkdir $as_dirs"
19709 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19713 if mkdir -p . 2>/dev/null; then
19714 as_mkdir_p='mkdir -p "$as_dir"'
19716 test -d ./-p && rmdir ./-p
19720 if test -x / >/dev/null 2>&1; then
19721 as_test_x='test -x'
19723 if ls -dL / >/dev/null 2>&1; then
19730 if test -d "$1"; then
19736 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19737 ???[sx]*):;;*)false;;esac;fi
19741 as_executable_p=$as_test_x
19743 # Sed expression to map a string onto a valid CPP name.
19744 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19746 # Sed expression to map a string onto a valid variable name.
19747 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19751 ## ----------------------------------- ##
19752 ## Main body of $CONFIG_STATUS script. ##
19753 ## ----------------------------------- ##
19755 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19758 # Save the log message, to keep $0 and so on meaningful, and to
19759 # report actual input values of CONFIG_FILES etc. instead of their
19760 # values after options handling.
19762 This file was extended by xmltooling $as_me 1.4, which was
19763 generated by GNU Autoconf 2.67. Invocation command line was
19765 CONFIG_FILES = $CONFIG_FILES
19766 CONFIG_HEADERS = $CONFIG_HEADERS
19767 CONFIG_LINKS = $CONFIG_LINKS
19768 CONFIG_COMMANDS = $CONFIG_COMMANDS
19771 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19776 case $ac_config_files in *"
19777 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19780 case $ac_config_headers in *"
19781 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19786 # Files that config.status was made for.
19787 config_files="$ac_config_files"
19788 config_headers="$ac_config_headers"
19789 config_commands="$ac_config_commands"
19793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19795 \`$as_me' instantiates files and other configuration actions
19796 from templates according to the current configuration. Unless the files
19797 and actions are specified as TAGs, all are instantiated by default.
19799 Usage: $0 [OPTION]... [TAG]...
19801 -h, --help print this help, then exit
19802 -V, --version print version number and configuration settings, then exit
19803 --config print configuration, then exit
19804 -q, --quiet, --silent
19805 do not print progress messages
19806 -d, --debug don't remove temporary files
19807 --recheck update $as_me by reconfiguring in the same conditions
19808 --file=FILE[:TEMPLATE]
19809 instantiate the configuration file FILE
19810 --header=FILE[:TEMPLATE]
19811 instantiate the configuration header FILE
19813 Configuration files:
19816 Configuration headers:
19819 Configuration commands:
19822 Report bugs to <https://bugs.internet2.edu/>."
19825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19826 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19828 xmltooling config.status 1.4
19829 configured by $0, generated by GNU Autoconf 2.67,
19830 with options \\"\$ac_cs_config\\"
19832 Copyright (C) 2010 Free Software Foundation, Inc.
19833 This config.status script is free software; the Free Software Foundation
19834 gives unlimited permission to copy, distribute and modify it."
19841 test -n "\$AWK" || AWK=awk
19844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19845 # The default lists apply if the user does not specify any file.
19851 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19852 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19856 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19868 # Handling of the options.
19869 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19871 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19872 $as_echo "$ac_cs_version"; exit ;;
19873 --config | --confi | --conf | --con | --co | --c )
19874 $as_echo "$ac_cs_config"; exit ;;
19875 --debug | --debu | --deb | --de | --d | -d )
19877 --file | --fil | --fi | --f )
19880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19881 '') as_fn_error $? "missing file argument" ;;
19883 as_fn_append CONFIG_FILES " '$ac_optarg'"
19884 ac_need_defaults=false;;
19885 --header | --heade | --head | --hea )
19888 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19890 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19891 ac_need_defaults=false;;
19893 # Conflict between --help and --header
19894 as_fn_error $? "ambiguous option: \`$1'
19895 Try \`$0 --help' for more information.";;
19896 --help | --hel | -h )
19897 $as_echo "$ac_cs_usage"; exit ;;
19898 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19899 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19902 # This is an error.
19903 -*) as_fn_error $? "unrecognized option: \`$1'
19904 Try \`$0 --help' for more information." ;;
19906 *) as_fn_append ac_config_targets " $1"
19907 ac_need_defaults=false ;;
19913 ac_configure_extra_args=
19915 if $ac_cs_silent; then
19917 ac_configure_extra_args="$ac_configure_extra_args --silent"
19921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19922 if \$ac_cs_recheck; then
19923 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19925 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19926 CONFIG_SHELL='$SHELL'
19927 export CONFIG_SHELL
19932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19936 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19937 ## Running $as_me. ##
19943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19947 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19950 # The HP-UX ksh and POSIX shell print the target directory to stdout
19951 # if CDPATH is set.
19952 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19954 sed_quote_subst='$sed_quote_subst'
19955 double_quote_subst='$double_quote_subst'
19956 delay_variable_subst='$delay_variable_subst'
19957 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19958 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19959 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19960 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19961 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19962 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19963 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19964 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19965 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19966 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19967 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19968 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19969 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19970 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19971 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19972 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19973 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19974 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19975 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19976 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19977 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19978 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19979 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19980 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19981 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19982 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19983 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19984 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19985 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19986 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19987 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19988 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19989 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19990 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19991 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19992 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19993 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19994 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19995 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19996 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19997 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19998 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19999 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20000 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20001 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"`'
20002 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"`'
20003 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20004 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20005 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20006 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20007 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20008 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20009 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20010 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20011 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20012 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20013 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20014 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20015 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20016 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20017 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20018 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20019 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20020 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20021 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20022 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20023 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20024 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20025 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20026 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20027 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20028 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20029 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20030 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20031 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20032 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20033 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20034 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20035 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20036 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20037 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20038 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20039 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20040 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20041 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20042 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20043 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20044 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20045 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20046 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20047 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20048 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20049 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20050 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20051 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20052 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20053 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20054 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20055 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20056 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20057 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20058 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20059 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20060 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20061 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20062 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20063 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20064 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20065 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20066 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20067 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20068 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20069 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20070 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20071 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20072 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20073 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20074 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20075 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20076 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20077 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20078 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20079 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20080 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20081 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20082 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20083 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20084 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20085 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20086 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20087 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20088 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20089 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20090 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20091 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20092 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20093 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20094 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20095 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20096 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20097 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20098 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20099 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20100 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20101 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20102 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20103 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20104 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20105 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20106 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20107 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20108 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20109 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20110 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20111 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20112 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20113 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20114 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20115 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20116 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20117 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20118 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20119 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20120 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20121 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20122 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20123 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20124 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20125 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20126 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20127 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20130 LTCFLAGS='$LTCFLAGS'
20131 compiler='$compiler_DEFAULT'
20133 # Quote evaled strings.
20145 deplibs_check_method \
20154 lt_cv_sys_global_symbol_pipe \
20155 lt_cv_sys_global_symbol_to_cdecl \
20156 lt_cv_sys_global_symbol_to_c_name_address \
20157 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20160 lt_prog_compiler_no_builtin_flag \
20161 lt_prog_compiler_wl \
20162 lt_prog_compiler_pic \
20163 lt_prog_compiler_static \
20164 lt_cv_prog_compiler_c_o \
20172 export_dynamic_flag_spec \
20173 whole_archive_flag_spec \
20174 compiler_needs_object \
20176 allow_undefined_flag \
20177 no_undefined_flag \
20178 hardcode_libdir_flag_spec \
20179 hardcode_libdir_flag_spec_ld \
20180 hardcode_libdir_separator \
20185 variables_saved_for_relink \
20187 library_names_spec \
20192 compiler_lib_search_dirs \
20197 compiler_lib_search_path \
20200 lt_prog_compiler_no_builtin_flag_CXX \
20201 lt_prog_compiler_wl_CXX \
20202 lt_prog_compiler_pic_CXX \
20203 lt_prog_compiler_static_CXX \
20204 lt_cv_prog_compiler_c_o_CXX \
20205 export_dynamic_flag_spec_CXX \
20206 whole_archive_flag_spec_CXX \
20207 compiler_needs_object_CXX \
20209 allow_undefined_flag_CXX \
20210 no_undefined_flag_CXX \
20211 hardcode_libdir_flag_spec_CXX \
20212 hardcode_libdir_flag_spec_ld_CXX \
20213 hardcode_libdir_separator_CXX \
20214 fix_srcfile_path_CXX \
20215 exclude_expsyms_CXX \
20216 include_expsyms_CXX \
20217 file_list_spec_CXX \
20218 compiler_lib_search_dirs_CXX \
20219 predep_objects_CXX \
20220 postdep_objects_CXX \
20223 compiler_lib_search_path_CXX; do
20224 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20225 *[\\\\\\\`\\"\\\$]*)
20226 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20229 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20234 # Double-quote double-evaled strings.
20235 for var in reload_cmds \
20236 old_postinstall_cmds \
20237 old_postuninstall_cmds \
20239 extract_expsyms_cmds \
20240 old_archive_from_new_cmds \
20241 old_archive_from_expsyms_cmds \
20243 archive_expsym_cmds \
20245 module_expsym_cmds \
20246 export_symbols_cmds \
20249 postuninstall_cmds \
20251 sys_lib_search_path_spec \
20252 sys_lib_dlsearch_path_spec \
20253 old_archive_cmds_CXX \
20254 old_archive_from_new_cmds_CXX \
20255 old_archive_from_expsyms_cmds_CXX \
20257 archive_expsym_cmds_CXX \
20259 module_expsym_cmds_CXX \
20260 export_symbols_cmds_CXX \
20261 prelink_cmds_CXX; do
20262 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20263 *[\\\\\\\`\\"\\\$]*)
20264 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20267 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20272 # Fix-up fallback echo if it was mangled by the above quoting rules.
20274 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20278 ac_aux_dir='$ac_aux_dir'
20279 xsi_shell='$xsi_shell'
20280 lt_shell_append='$lt_shell_append'
20282 # See if we are running on zsh, and set the options which allow our
20283 # commands through without removal of \ escapes INIT.
20284 if test -n "\${ZSH_VERSION+set}" ; then
20285 setopt NO_GLOB_SUBST
20291 TIMESTAMP='$TIMESTAMP'
20300 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20301 pkgconfig_prefix='$prefix'
20302 pkgconfig_execprefix='$exec_prefix'
20303 pkgconfig_bindir='$bindir'
20304 pkgconfig_libdir='$libdir'
20305 pkgconfig_includedir='$includedir'
20306 pkgconfig_datarootdir='$datarootdir'
20307 pkgconfig_datadir='$datadir'
20308 pkgconfig_sysconfdir='$sysconfdir'
20309 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20310 pkgconfig_package='$PACKAGE_NAME'
20311 pkgconfig_libname='$ax_create_pkgconfig_libname'
20312 pkgconfig_description='$ax_create_pkgconfig_description'
20313 pkgconfig_version='$ax_create_pkgconfig_version'
20314 pkgconfig_requires='$ax_create_pkgconfig_requires'
20315 pkgconfig_libs='$ax_create_pkgconfig_libs'
20316 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20317 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20318 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20319 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20326 # Handling of arguments.
20327 for ac_config_target in $ac_config_targets
20329 case $ac_config_target in
20330 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20331 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20332 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20333 "xmltooling/config_pub.h") CONFIG_HEADERS="$CONFIG_HEADERS xmltooling/config_pub.h" ;;
20334 "xmltooling.spec") CONFIG_FILES="$CONFIG_FILES xmltooling.spec" ;;
20335 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
20336 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
20337 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20338 "xmltooling/Makefile") CONFIG_FILES="$CONFIG_FILES xmltooling/Makefile" ;;
20339 "xmltoolingtest/Makefile") CONFIG_FILES="$CONFIG_FILES xmltoolingtest/Makefile" ;;
20340 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20341 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20342 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20344 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20349 # If the user did not use the arguments to specify the items to instantiate,
20350 # then the envvar interface is used. Set only those that are not.
20351 # We use the long form for the default assignment because of an extremely
20352 # bizarre bug on SunOS 4.1.3.
20353 if $ac_need_defaults; then
20354 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20355 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20356 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20359 # Have a temporary directory for convenience. Make it in the build tree
20360 # simply because there is no reason against having it here, and in addition,
20361 # creating and moving files from /tmp can sometimes cause problems.
20362 # Hook for its removal unless debugging.
20363 # Note that there is a small window in which the directory will not be cleaned:
20364 # after its creation but before its name has been assigned to `$tmp'.
20368 trap 'exit_status=$?
20369 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20371 trap 'as_fn_exit 1' 1 2 13 15
20373 # Create a (secure) tmp directory for tmp files.
20376 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20377 test -n "$tmp" && test -d "$tmp"
20380 tmp=./conf$$-$RANDOM
20381 (umask 077 && mkdir "$tmp")
20382 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20384 # Set up the scripts for CONFIG_FILES section.
20385 # No need to generate them if there are no CONFIG_FILES.
20386 # This happens for instance with `./config.status config.h'.
20387 if test -n "$CONFIG_FILES"; then
20390 ac_cr=`echo X | tr X '\015'`
20391 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20392 # But we know of no other shell where ac_cr would be empty at this
20393 # point, so we can use a bashism as a fallback.
20394 if test "x$ac_cr" = x; then
20395 eval ac_cr=\$\'\\r\'
20397 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20398 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20401 ac_cs_awk_cr=$ac_cr
20404 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20409 echo "cat >conf$$subs.awk <<_ACEOF" &&
20410 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20412 } >conf$$subs.sh ||
20413 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20414 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20416 for ac_last_try in false false false false false :; do
20417 . ./conf$$subs.sh ||
20418 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20420 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20421 if test $ac_delim_n = $ac_delim_num; then
20423 elif $ac_last_try; then
20424 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20426 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20429 rm -f conf$$subs.sh
20431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20432 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
20436 s/^/S["/; s/!.*/"]=/
20446 s/\(.\{148\}\)..*/\1/
20448 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20453 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20460 s/\(.\{148\}\)..*/\1/
20462 s/["\\]/\\&/g; s/^/"/; s/$/"/
20466 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20471 ' <conf$$subs.awk | sed '
20476 ' >>$CONFIG_STATUS || ac_write_fail=1
20477 rm -f conf$$subs.awk
20478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20480 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
20481 for (key in S) S_is_set[key] = 1
20487 nfields = split(line, field, "@")
20489 len = length(field[1])
20490 for (i = 2; i < nfields; i++) {
20492 keylen = length(key)
20493 if (S_is_set[key]) {
20495 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20496 len += length(value) + length(field[++i])
20507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20508 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20509 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20512 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20513 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20516 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20517 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20518 # trailing colons and then remove the whole line if VPATH becomes empty
20519 # (actually we leave an empty line to preserve line numbers).
20520 if test "x$srcdir" = x.; then
20521 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20540 fi # test -n "$CONFIG_FILES"
20542 # Set up the scripts for CONFIG_HEADERS section.
20543 # No need to generate them if there are no CONFIG_HEADERS.
20544 # This happens for instance with `./config.status Makefile'.
20545 if test -n "$CONFIG_HEADERS"; then
20546 cat >"$tmp/defines.awk" <<\_ACAWK ||
20550 # Transform confdefs.h into an awk script `defines.awk', embedded as
20551 # here-document in config.status, that substitutes the proper values into
20552 # config.h.in to produce config.h.
20554 # Create a delimiter string that does not exist in confdefs.h, to ease
20555 # handling of long lines.
20557 for ac_last_try in false false :; do
20558 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
20559 if test -z "$ac_t"; then
20561 elif $ac_last_try; then
20562 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20564 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20568 # For the awk script, D is an array of macro values keyed by name,
20569 # likewise P contains macro parameters if any. Preserve backslash
20570 # newline sequences.
20572 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20574 s/.\{148\}/&'"$ac_delim"'/g
20577 s/^[ ]*#[ ]*define[ ][ ]*/ /
20584 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20586 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20591 D["\1"]=" \3\\\\\\n"\\/p
20593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20598 s/.\{148\}/&'"$ac_delim"'/g
20603 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20606 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20608 ' <confdefs.h | sed '
20609 s/'"$ac_delim"'/"\\\
20610 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20613 for (key in D) D_is_set[key] = 1
20616 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20618 split(line, arg, " ")
20619 if (arg[1] == "#") {
20623 defundef = substr(arg[1], 2)
20626 split(mac1, mac2, "(") #)
20628 prefix = substr(line, 1, index(line, defundef) - 1)
20629 if (D_is_set[macro]) {
20630 # Preserve the white space surrounding the "#".
20631 print prefix "define", macro P[macro] D[macro]
20634 # Replace #undef with comments. This is necessary, for example,
20635 # in the case of _POSIX_SOURCE, which is predefined and required
20636 # on some systems where configure will not decide to define it.
20637 if (defundef == "undef") {
20638 print "/*", prefix defundef, macro, "*/"
20646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20647 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20648 fi # test -n "$CONFIG_HEADERS"
20651 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20656 :[FHLC]) ac_mode=$ac_tag; continue;;
20658 case $ac_mode$ac_tag in
20660 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
20661 :[FH]-) ac_tag=-:-;;
20662 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20679 -) ac_f="$tmp/stdin";;
20680 *) # Look for the file first in the build tree, then in the source tree
20681 # (if the path is not absolute). The absolute path cannot be DOS-style,
20682 # because $ac_f cannot contain `:'.
20686 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20688 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20690 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20691 as_fn_append ac_file_inputs " '$ac_f'"
20694 # Let's still pretend it is `configure' which instantiates (i.e., don't
20695 # use $as_me), people would be surprised to read:
20696 # /* config.h. Generated by config.status. */
20697 configure_input='Generated from '`
20698 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20700 if test x"$ac_file" != x-; then
20701 configure_input="$ac_file. $configure_input"
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20703 $as_echo "$as_me: creating $ac_file" >&6;}
20705 # Neutralize special characters interpreted by sed in replacement strings.
20706 case $configure_input in #(
20707 *\&* | *\|* | *\\* )
20708 ac_sed_conf_input=`$as_echo "$configure_input" |
20709 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20710 *) ac_sed_conf_input=$configure_input;;
20714 *:-:* | *:-) cat >"$tmp/stdin" \
20715 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20720 ac_dir=`$as_dirname -- "$ac_file" ||
20721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20722 X"$ac_file" : 'X\(//\)[^/]' \| \
20723 X"$ac_file" : 'X\(//\)$' \| \
20724 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20725 $as_echo X"$ac_file" |
20726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20730 /^X\(\/\/\)[^/].*/{
20743 as_dir="$ac_dir"; as_fn_mkdir_p
20747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20749 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20750 # A ".." for each directory in $ac_dir_suffix.
20751 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20752 case $ac_top_builddir_sub in
20753 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20754 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20757 ac_abs_top_builddir=$ac_pwd
20758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20759 # for backward compatibility:
20760 ac_top_builddir=$ac_top_build_prefix
20763 .) # We are building in place.
20765 ac_top_srcdir=$ac_top_builddir_sub
20766 ac_abs_top_srcdir=$ac_pwd ;;
20767 [\\/]* | ?:[\\/]* ) # Absolute name.
20768 ac_srcdir=$srcdir$ac_dir_suffix;
20769 ac_top_srcdir=$srcdir
20770 ac_abs_top_srcdir=$srcdir ;;
20771 *) # Relative name.
20772 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20773 ac_top_srcdir=$ac_top_build_prefix$srcdir
20774 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20786 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20787 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20789 ac_MKDIR_P=$MKDIR_P
20791 [\\/$]* | ?:[\\/]* ) ;;
20792 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20797 # If the template does not know about datarootdir, expand it.
20798 # FIXME: This hack should be removed a few years after 2.60.
20799 ac_datarootdir_hack=; ac_datarootdir_seen=
20810 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20811 *datarootdir*) ac_datarootdir_seen=yes;;
20812 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20814 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20817 ac_datarootdir_hack='
20818 s&@datadir@&$datadir&g
20819 s&@docdir@&$docdir&g
20820 s&@infodir@&$infodir&g
20821 s&@localedir@&$localedir&g
20822 s&@mandir@&$mandir&g
20823 s&\\\${datarootdir}&$datarootdir&g' ;;
20827 # Neutralize VPATH when `$srcdir' = `.'.
20828 # Shell code in configure.ac might set extrasub.
20829 # FIXME: do we really want to maintain this feature?
20830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20831 ac_sed_extra="$ac_vpsub
20834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20836 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20837 s|@configure_input@|$ac_sed_conf_input|;t t
20838 s&@top_builddir@&$ac_top_builddir_sub&;t t
20839 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20840 s&@srcdir@&$ac_srcdir&;t t
20841 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20842 s&@top_srcdir@&$ac_top_srcdir&;t t
20843 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20844 s&@builddir@&$ac_builddir&;t t
20845 s&@abs_builddir@&$ac_abs_builddir&;t t
20846 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20847 s&@INSTALL@&$ac_INSTALL&;t t
20848 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20849 $ac_datarootdir_hack
20851 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
20852 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20854 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20855 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20856 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20858 which seems to be undefined. Please make sure it is defined" >&5
20859 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20860 which seems to be undefined. Please make sure it is defined" >&2;}
20864 -) cat "$tmp/out" && rm -f "$tmp/out";;
20865 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20873 if test x"$ac_file" != x-; then
20875 $as_echo "/* $configure_input */" \
20876 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20877 } >"$tmp/config.h" \
20878 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20879 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20881 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20884 mv "$tmp/config.h" "$ac_file" \
20885 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20888 $as_echo "/* $configure_input */" \
20889 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20890 || as_fn_error $? "could not create -" "$LINENO" 5
20892 # Compute "$ac_file"'s index in $config_headers.
20895 for _am_header in $config_headers :; do
20896 case $_am_header in
20897 $_am_arg | $_am_arg:* )
20900 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20903 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20904 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20905 X"$_am_arg" : 'X\(//\)[^/]' \| \
20906 X"$_am_arg" : 'X\(//\)$' \| \
20907 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20908 $as_echo X"$_am_arg" |
20909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20913 /^X\(\/\/\)[^/].*/{
20925 s/.*/./; q'`/stamp-h$_am_stamp_count
20928 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20929 $as_echo "$as_me: executing $ac_file commands" >&6;}
20934 case $ac_file$ac_mode in
20935 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20936 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20937 # are listed without --file. Let's play safe and only enable the eval
20938 # if we detect the quoting.
20939 case $CONFIG_FILES in
20940 *\'*) eval set x "$CONFIG_FILES" ;;
20941 *) set x $CONFIG_FILES ;;
20946 # Strip MF so we end up with the name of the file.
20947 mf=`echo "$mf" | sed -e 's/:.*$//'`
20948 # Check whether this is an Automake generated Makefile or not.
20949 # We used to match only the files named `Makefile.in', but
20950 # some people rename them; so instead we look at the file content.
20951 # Grep'ing the first line is not enough: some people post-process
20952 # each Makefile.in and add a new line on top of each file to say so.
20953 # Grep'ing the whole file is not good either: AIX grep has a line
20954 # limit of 2048, but all sed's we know have understand at least 4000.
20955 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20956 dirpart=`$as_dirname -- "$mf" ||
20957 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20958 X"$mf" : 'X\(//\)[^/]' \| \
20959 X"$mf" : 'X\(//\)$' \| \
20960 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20966 /^X\(\/\/\)[^/].*/{
20982 # Extract the definition of DEPDIR, am__include, and am__quote
20983 # from the Makefile without running `make'.
20984 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20985 test -z "$DEPDIR" && continue
20986 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20987 test -z "am__include" && continue
20988 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20989 # When using ansi2knr, U may be empty or an underscore; expand it
20990 U=`sed -n 's/^U = //p' < "$mf"`
20991 # Find all dependency output files, they are included files with
20992 # $(DEPDIR) in their names. We invoke sed twice because it is the
20993 # simplest approach to changing $(DEPDIR) to its actual value in the
20995 for file in `sed -n "
20996 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20997 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20998 # Make sure the directory exists.
20999 test -f "$dirpart/$file" && continue
21000 fdir=`$as_dirname -- "$file" ||
21001 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21002 X"$file" : 'X\(//\)[^/]' \| \
21003 X"$file" : 'X\(//\)$' \| \
21004 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21005 $as_echo X"$file" |
21006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21010 /^X\(\/\/\)[^/].*/{
21023 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21024 # echo "creating $dirpart/$file"
21025 echo '# dummy' > "$dirpart/$file"
21032 # See if we are running on zsh, and set the options which allow our
21033 # commands through without removal of \ escapes.
21034 if test -n "${ZSH_VERSION+set}" ; then
21035 setopt NO_GLOB_SUBST
21038 cfgfile="${ofile}T"
21039 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21042 cat <<_LT_EOF >> "$cfgfile"
21045 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21046 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21047 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21048 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21050 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21051 # 2006, 2007, 2008 Free Software Foundation, Inc.
21052 # Written by Gordon Matzigkeit, 1996
21054 # This file is part of GNU Libtool.
21056 # GNU Libtool is free software; you can redistribute it and/or
21057 # modify it under the terms of the GNU General Public License as
21058 # published by the Free Software Foundation; either version 2 of
21059 # the License, or (at your option) any later version.
21061 # As a special exception to the GNU General Public License,
21062 # if you distribute this file as part of a program or library that
21063 # is built using GNU Libtool, you may include this file under the
21064 # same distribution terms that you use for the rest of that program.
21066 # GNU Libtool is distributed in the hope that it will be useful,
21067 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21068 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21069 # GNU General Public License for more details.
21071 # You should have received a copy of the GNU General Public License
21072 # along with GNU Libtool; see the file COPYING. If not, a copy
21073 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21074 # obtained by writing to the Free Software Foundation, Inc.,
21075 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21078 # The names of the tagged configurations supported by this script.
21079 available_tags="CXX "
21081 # ### BEGIN LIBTOOL CONFIG
21083 # Whether or not to build static libraries.
21084 build_old_libs=$enable_static
21086 # Which release of libtool.m4 was used?
21087 macro_version=$macro_version
21088 macro_revision=$macro_revision
21090 # Whether or not to build shared libraries.
21091 build_libtool_libs=$enable_shared
21093 # What type of objects to build.
21096 # Whether or not to optimize for fast installation.
21097 fast_install=$enable_fast_install
21100 host_alias=$host_alias
21104 # The build system.
21105 build_alias=$build_alias
21109 # A sed program that does not truncate output.
21112 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21113 Xsed="\$SED -e 1s/^X//"
21115 # A grep program that handles long lines.
21121 # A literal string matcher.
21124 # A BSD- or MS-compatible name lister.
21127 # Whether we need soft or hard links.
21130 # What is the maximum length of a command?
21131 max_cmd_len=$max_cmd_len
21133 # Object file suffix (normally "o").
21136 # Executable file suffix (normally "").
21139 # whether the shell understands "unset".
21142 # turn spaces into newlines.
21145 # turn newlines into spaces.
21148 # How to create reloadable object files.
21149 reload_flag=$lt_reload_flag
21150 reload_cmds=$lt_reload_cmds
21152 # An object symbol dumper.
21153 OBJDUMP=$lt_OBJDUMP
21155 # Method to check whether dependent libraries are shared objects.
21156 deplibs_check_method=$lt_deplibs_check_method
21158 # Command to use when deplibs_check_method == "file_magic".
21159 file_magic_cmd=$lt_file_magic_cmd
21163 AR_FLAGS=$lt_AR_FLAGS
21165 # A symbol stripping program.
21168 # Commands used to install an old-style archive.
21170 old_postinstall_cmds=$lt_old_postinstall_cmds
21171 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21176 # LTCC compiler flags.
21177 LTCFLAGS=$lt_CFLAGS
21179 # Take the output of nm and produce a listing of raw symbols and C names.
21180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21182 # Transform the output of nm in a proper C declaration.
21183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21185 # Transform the output of nm in a C name address pair.
21186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21188 # Transform the output of nm in a C name address pair when lib prefix is needed.
21189 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21191 # The name of the directory that contains temporary libtool files.
21194 # Shell to use when invoking shell scripts.
21197 # An echo program that does not interpret backslashes.
21200 # Used to examine libraries when file_magic_cmd begins with "file".
21201 MAGIC_CMD=$MAGIC_CMD
21203 # Must we lock files when doing compilation?
21204 need_locks=$lt_need_locks
21206 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21207 DSYMUTIL=$lt_DSYMUTIL
21209 # Tool to change global to local symbols on Mac OS X.
21212 # Tool to manipulate fat objects and archives on Mac OS X.
21215 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21218 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21219 OTOOL64=$lt_OTOOL64
21221 # Old archive suffix (normally "a").
21224 # Shared library suffix (normally ".so").
21225 shrext_cmds=$lt_shrext_cmds
21227 # The commands to extract the exported symbol list from a shared archive.
21228 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21230 # Variables whose values should be saved in libtool wrapper scripts and
21231 # restored at link time.
21232 variables_saved_for_relink=$lt_variables_saved_for_relink
21234 # Do we need the "lib" prefix for modules?
21235 need_lib_prefix=$need_lib_prefix
21237 # Do we need a version for libraries?
21238 need_version=$need_version
21240 # Library versioning type.
21241 version_type=$version_type
21243 # Shared library runtime path variable.
21244 runpath_var=$runpath_var
21246 # Shared library path variable.
21247 shlibpath_var=$shlibpath_var
21249 # Is shlibpath searched before the hard-coded library search path?
21250 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21252 # Format of library name prefix.
21253 libname_spec=$lt_libname_spec
21255 # List of archive names. First name is the real one, the rest are links.
21256 # The last name is the one that the linker finds with -lNAME
21257 library_names_spec=$lt_library_names_spec
21259 # The coded name of the library, if different from the real name.
21260 soname_spec=$lt_soname_spec
21262 # Command to use after installation of a shared archive.
21263 postinstall_cmds=$lt_postinstall_cmds
21265 # Command to use after uninstallation of a shared archive.
21266 postuninstall_cmds=$lt_postuninstall_cmds
21268 # Commands used to finish a libtool library installation in a directory.
21269 finish_cmds=$lt_finish_cmds
21271 # As "finish_cmds", except a single script fragment to be evaled but
21273 finish_eval=$lt_finish_eval
21275 # Whether we should hardcode library paths into libraries.
21276 hardcode_into_libs=$hardcode_into_libs
21278 # Compile-time system search path for libraries.
21279 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21281 # Run-time system search path for libraries.
21282 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21284 # Whether dlopen is supported.
21285 dlopen_support=$enable_dlopen
21287 # Whether dlopen of programs is supported.
21288 dlopen_self=$enable_dlopen_self
21290 # Whether dlopen of statically linked programs is supported.
21291 dlopen_self_static=$enable_dlopen_self_static
21293 # Commands to strip libraries.
21294 old_striplib=$lt_old_striplib
21295 striplib=$lt_striplib
21298 # The linker used to build libraries.
21301 # Commands used to build an old-style archive.
21302 old_archive_cmds=$lt_old_archive_cmds
21304 # A language specific compiler.
21307 # Is the compiler the GNU compiler?
21310 # Compiler flag to turn off builtin functions.
21311 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21313 # How to pass a linker flag through the compiler.
21314 wl=$lt_lt_prog_compiler_wl
21316 # Additional compiler flags for building library objects.
21317 pic_flag=$lt_lt_prog_compiler_pic
21319 # Compiler flag to prevent dynamic linking.
21320 link_static_flag=$lt_lt_prog_compiler_static
21322 # Does compiler simultaneously support -c and -o options?
21323 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21325 # Whether or not to add -lc for building shared libraries.
21326 build_libtool_need_lc=$archive_cmds_need_lc
21328 # Whether or not to disallow shared libs when runtime libs are static.
21329 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21331 # Compiler flag to allow reflexive dlopens.
21332 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21334 # Compiler flag to generate shared objects directly from archives.
21335 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21337 # Whether the compiler copes with passing no objects directly.
21338 compiler_needs_object=$lt_compiler_needs_object
21340 # Create an old-style archive from a shared archive.
21341 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21343 # Create a temporary old-style archive to link instead of a shared archive.
21344 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21346 # Commands used to build a shared archive.
21347 archive_cmds=$lt_archive_cmds
21348 archive_expsym_cmds=$lt_archive_expsym_cmds
21350 # Commands used to build a loadable module if different from building
21351 # a shared archive.
21352 module_cmds=$lt_module_cmds
21353 module_expsym_cmds=$lt_module_expsym_cmds
21355 # Whether we are building with GNU ld or not.
21356 with_gnu_ld=$lt_with_gnu_ld
21358 # Flag that allows shared libraries with undefined symbols to be built.
21359 allow_undefined_flag=$lt_allow_undefined_flag
21361 # Flag that enforces no undefined symbols.
21362 no_undefined_flag=$lt_no_undefined_flag
21364 # Flag to hardcode \$libdir into a binary during linking.
21365 # This must work even if \$libdir does not exist
21366 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21368 # If ld is used when linking, flag to hardcode \$libdir into a binary
21369 # during linking. This must work even if \$libdir does not exist.
21370 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21372 # Whether we need a single "-rpath" flag with a separated argument.
21373 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21375 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21376 # DIR into the resulting binary.
21377 hardcode_direct=$hardcode_direct
21379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21380 # DIR into the resulting binary and the resulting library dependency is
21381 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21382 # library is relocated.
21383 hardcode_direct_absolute=$hardcode_direct_absolute
21385 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21386 # into the resulting binary.
21387 hardcode_minus_L=$hardcode_minus_L
21389 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21390 # into the resulting binary.
21391 hardcode_shlibpath_var=$hardcode_shlibpath_var
21393 # Set to "yes" if building a shared library automatically hardcodes DIR
21394 # into the library and all subsequent libraries and executables linked
21396 hardcode_automatic=$hardcode_automatic
21398 # Set to yes if linker adds runtime paths of dependent libraries
21399 # to runtime path list.
21400 inherit_rpath=$inherit_rpath
21402 # Whether libtool must link a program against all its dependency libraries.
21403 link_all_deplibs=$link_all_deplibs
21405 # Fix the shell variable \$srcfile for the compiler.
21406 fix_srcfile_path=$lt_fix_srcfile_path
21408 # Set to "yes" if exported symbols are required.
21409 always_export_symbols=$always_export_symbols
21411 # The commands to list exported symbols.
21412 export_symbols_cmds=$lt_export_symbols_cmds
21414 # Symbols that should not be listed in the preloaded symbols.
21415 exclude_expsyms=$lt_exclude_expsyms
21417 # Symbols that must always be exported.
21418 include_expsyms=$lt_include_expsyms
21420 # Commands necessary for linking programs (against libraries) with templates.
21421 prelink_cmds=$lt_prelink_cmds
21423 # Specify filename containing input files.
21424 file_list_spec=$lt_file_list_spec
21426 # How to hardcode a shared library path into an executable.
21427 hardcode_action=$hardcode_action
21429 # The directories searched by this compiler when creating a shared library.
21430 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21432 # Dependencies to place before and after the objects being linked to
21433 # create a shared library.
21434 predep_objects=$lt_predep_objects
21435 postdep_objects=$lt_postdep_objects
21436 predeps=$lt_predeps
21437 postdeps=$lt_postdeps
21439 # The library search path used internally by the compiler when linking
21440 # a shared library.
21441 compiler_lib_search_path=$lt_compiler_lib_search_path
21443 # ### END LIBTOOL CONFIG
21449 cat <<\_LT_EOF >> "$cfgfile"
21450 # AIX sometimes has problems with the GCC collect2 program. For some
21451 # reason, if we set the COLLECT_NAMES environment variable, the problems
21452 # vanish in a puff of smoke.
21453 if test "X${COLLECT_NAMES+set}" != Xset; then
21455 export COLLECT_NAMES
21462 ltmain="$ac_aux_dir/ltmain.sh"
21465 # We use sed instead of cat because bash on DJGPP gets confused if
21466 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21467 # text mode, it properly converts lines to CR/LF. This bash problem
21468 # is reportedly fixed, but why not run on old versions too?
21469 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21470 || (rm -f "$cfgfile"; exit 1)
21474 cat << \_LT_EOF >> "$cfgfile"
21476 # func_dirname file append nondir_replacement
21477 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21478 # otherwise set result to NONDIR_REPLACEMENT.
21482 */*) func_dirname_result="${1%/*}${2}" ;;
21483 * ) func_dirname_result="${3}" ;;
21487 # func_basename file
21490 func_basename_result="${1##*/}"
21493 # func_dirname_and_basename file append nondir_replacement
21494 # perform func_basename and func_dirname in a single function
21496 # dirname: Compute the dirname of FILE. If nonempty,
21497 # add APPEND to the result, otherwise set result
21498 # to NONDIR_REPLACEMENT.
21499 # value returned in "$func_dirname_result"
21500 # basename: Compute filename of FILE.
21501 # value retuned in "$func_basename_result"
21502 # Implementation must be kept synchronized with func_dirname
21503 # and func_basename. For efficiency, we do not delegate to
21504 # those functions but instead duplicate the functionality here.
21505 func_dirname_and_basename ()
21508 */*) func_dirname_result="${1%/*}${2}" ;;
21509 * ) func_dirname_result="${3}" ;;
21511 func_basename_result="${1##*/}"
21514 # func_stripname prefix suffix name
21515 # strip PREFIX and SUFFIX off of NAME.
21516 # PREFIX and SUFFIX must not contain globbing or regex special
21517 # characters, hashes, percent signs, but SUFFIX may contain a leading
21518 # dot (in which case that matches only a dot).
21521 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21522 # positional parameters, so assign one to ordinary parameter first.
21523 func_stripname_result=${3}
21524 func_stripname_result=${func_stripname_result#"${1}"}
21525 func_stripname_result=${func_stripname_result%"${2}"}
21531 func_opt_split_opt=${1%%=*}
21532 func_opt_split_arg=${1#*=}
21539 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21540 *) func_lo2o_result=${1} ;;
21544 # func_xform libobj-or-source
21547 func_xform_result=${1%.*}.lo
21550 # func_arith arithmetic-term...
21553 func_arith_result=$(( $* ))
21557 # STRING may not start with a hyphen.
21560 func_len_result=${#1}
21565 *) # Bourne compatible functions.
21566 cat << \_LT_EOF >> "$cfgfile"
21568 # func_dirname file append nondir_replacement
21569 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21570 # otherwise set result to NONDIR_REPLACEMENT.
21573 # Extract subdirectory from the argument.
21574 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21575 if test "X$func_dirname_result" = "X${1}"; then
21576 func_dirname_result="${3}"
21578 func_dirname_result="$func_dirname_result${2}"
21582 # func_basename file
21585 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
21589 # func_stripname prefix suffix name
21590 # strip PREFIX and SUFFIX off of NAME.
21591 # PREFIX and SUFFIX must not contain globbing or regex special
21592 # characters, hashes, percent signs, but SUFFIX may contain a leading
21593 # dot (in which case that matches only a dot).
21594 # func_strip_suffix prefix name
21598 .*) func_stripname_result=`$ECHO "X${3}" \
21599 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21600 *) func_stripname_result=`$ECHO "X${3}" \
21601 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21606 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21607 my_sed_long_arg='1s/^-[^=]*=//'
21612 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21613 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21619 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21622 # func_xform libobj-or-source
21625 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21628 # func_arith arithmetic-term...
21631 func_arith_result=`expr "$@"`
21635 # STRING may not start with a hyphen.
21638 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21644 case $lt_shell_append in
21646 cat << \_LT_EOF >> "$cfgfile"
21648 # func_append var value
21649 # Append VALUE to the end of shell variable VAR.
21657 cat << \_LT_EOF >> "$cfgfile"
21659 # func_append var value
21660 # Append VALUE to the end of shell variable VAR.
21671 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21672 || (rm -f "$cfgfile"; exit 1)
21674 mv -f "$cfgfile" "$ofile" ||
21675 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21679 cat <<_LT_EOF >> "$ofile"
21681 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21683 # The linker used to build libraries.
21686 # Commands used to build an old-style archive.
21687 old_archive_cmds=$lt_old_archive_cmds_CXX
21689 # A language specific compiler.
21690 CC=$lt_compiler_CXX
21692 # Is the compiler the GNU compiler?
21695 # Compiler flag to turn off builtin functions.
21696 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21698 # How to pass a linker flag through the compiler.
21699 wl=$lt_lt_prog_compiler_wl_CXX
21701 # Additional compiler flags for building library objects.
21702 pic_flag=$lt_lt_prog_compiler_pic_CXX
21704 # Compiler flag to prevent dynamic linking.
21705 link_static_flag=$lt_lt_prog_compiler_static_CXX
21707 # Does compiler simultaneously support -c and -o options?
21708 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21710 # Whether or not to add -lc for building shared libraries.
21711 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21713 # Whether or not to disallow shared libs when runtime libs are static.
21714 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21716 # Compiler flag to allow reflexive dlopens.
21717 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21719 # Compiler flag to generate shared objects directly from archives.
21720 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21722 # Whether the compiler copes with passing no objects directly.
21723 compiler_needs_object=$lt_compiler_needs_object_CXX
21725 # Create an old-style archive from a shared archive.
21726 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21728 # Create a temporary old-style archive to link instead of a shared archive.
21729 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21731 # Commands used to build a shared archive.
21732 archive_cmds=$lt_archive_cmds_CXX
21733 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21735 # Commands used to build a loadable module if different from building
21736 # a shared archive.
21737 module_cmds=$lt_module_cmds_CXX
21738 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21740 # Whether we are building with GNU ld or not.
21741 with_gnu_ld=$lt_with_gnu_ld_CXX
21743 # Flag that allows shared libraries with undefined symbols to be built.
21744 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21746 # Flag that enforces no undefined symbols.
21747 no_undefined_flag=$lt_no_undefined_flag_CXX
21749 # Flag to hardcode \$libdir into a binary during linking.
21750 # This must work even if \$libdir does not exist
21751 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21753 # If ld is used when linking, flag to hardcode \$libdir into a binary
21754 # during linking. This must work even if \$libdir does not exist.
21755 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21757 # Whether we need a single "-rpath" flag with a separated argument.
21758 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21760 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21761 # DIR into the resulting binary.
21762 hardcode_direct=$hardcode_direct_CXX
21764 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21765 # DIR into the resulting binary and the resulting library dependency is
21766 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21767 # library is relocated.
21768 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21770 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21771 # into the resulting binary.
21772 hardcode_minus_L=$hardcode_minus_L_CXX
21774 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21775 # into the resulting binary.
21776 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21778 # Set to "yes" if building a shared library automatically hardcodes DIR
21779 # into the library and all subsequent libraries and executables linked
21781 hardcode_automatic=$hardcode_automatic_CXX
21783 # Set to yes if linker adds runtime paths of dependent libraries
21784 # to runtime path list.
21785 inherit_rpath=$inherit_rpath_CXX
21787 # Whether libtool must link a program against all its dependency libraries.
21788 link_all_deplibs=$link_all_deplibs_CXX
21790 # Fix the shell variable \$srcfile for the compiler.
21791 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21793 # Set to "yes" if exported symbols are required.
21794 always_export_symbols=$always_export_symbols_CXX
21796 # The commands to list exported symbols.
21797 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21799 # Symbols that should not be listed in the preloaded symbols.
21800 exclude_expsyms=$lt_exclude_expsyms_CXX
21802 # Symbols that must always be exported.
21803 include_expsyms=$lt_include_expsyms_CXX
21805 # Commands necessary for linking programs (against libraries) with templates.
21806 prelink_cmds=$lt_prelink_cmds_CXX
21808 # Specify filename containing input files.
21809 file_list_spec=$lt_file_list_spec_CXX
21811 # How to hardcode a shared library path into an executable.
21812 hardcode_action=$hardcode_action_CXX
21814 # The directories searched by this compiler when creating a shared library.
21815 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21817 # Dependencies to place before and after the objects being linked to
21818 # create a shared library.
21819 predep_objects=$lt_predep_objects_CXX
21820 postdep_objects=$lt_postdep_objects_CXX
21821 predeps=$lt_predeps_CXX
21822 postdeps=$lt_postdeps_CXX
21824 # The library search path used internally by the compiler when linking
21825 # a shared library.
21826 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21828 # ### END LIBTOOL TAG CONFIG: CXX
21832 "$ax_create_pkgconfig_generate":C)
21833 pkgconfig_generate="$ax_create_pkgconfig_generate"
21834 if test ! -f "$pkgconfig_generate.in"
21835 then generate="true"
21836 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21837 then generate="true"
21838 else generate="false";
21840 if $generate ; then
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21842 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21843 cat > $pkgconfig_generate.in <<AXEOF
21844 # generated by configure / remove this line to disable regeneration
21846 exec_prefix=@exec_prefix@
21849 datarootdir=@datarootdir@
21851 sysconfdir=@sysconfdir@
21852 includedir=@includedir@
21856 Name: @PACKAGE_NAME@
21857 Description: @PACKAGE_DESCRIPTION@
21858 Version: @PACKAGE_VERSION@
21859 Requires: @PACKAGE_REQUIRES@
21860 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21861 Cflags: -I\${includedir} @CPPFLAGS@
21863 fi # DONE generate $pkgconfig_generate.in
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21865 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21866 cat >conftest.sed <<AXEOF
21867 s|@prefix@|${pkgconfig_prefix}|
21868 s|@exec_prefix@|${pkgconfig_execprefix}|
21869 s|@bindir@|${pkgconfig_bindir}|
21870 s|@libdir@|${pkgconfig_libdir}|
21871 s|@datarootdir@|${pkgconfig_datarootdir}|
21872 s|@datadir@|${pkgconfig_datadir}|
21873 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21874 s|@includedir@|${pkgconfig_includedir}|
21875 s|@suffix@|${pkgconfig_suffix}|
21876 s|@PACKAGE@|${pkgconfig_package}|
21877 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21878 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21879 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21880 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21881 s|@LIBS@|${pkgconfig_libs}|
21882 s|@LDFLAGS@|${pkgconfig_ldflags}|
21883 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21885 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
21886 if test ! -s $pkgconfig_generate ; then
21887 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21888 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21889 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21891 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21892 cat >conftest.sed <<AXEOF
21893 s|@prefix@|${pkgconfig_prefix}|
21894 s|@exec_prefix@|${pkgconfig_execprefix}|
21895 s|@bindir@|${pkgconfig_bindir}|
21896 s|@libdir@|${pkgconfig_src_libdir}|
21897 s|@datarootdir@|${pkgconfig_datarootdir}|
21898 s|@datadir@|${pkgconfig_datadir}|
21899 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21900 s|@includedir@|${pkgconfig_src_headers}|
21901 s|@suffix@|${pkgconfig_suffix}|
21902 s|@PACKAGE@|${pkgconfig_package}|
21903 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21904 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21905 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21906 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21907 s|@LIBS@|${pkgconfig_libs}|
21908 s|@LDFLAGS@|${pkgconfig_ldflags}|
21909 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21911 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21912 if test ! -s $pkgconfig_uninstalled ; then
21913 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21914 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21915 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21916 if test ".$pkgconfig_requires_add" != "." ; then
21917 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21918 else pkgconfig_requires_add=":" ; fi
21919 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21921 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21922 cat >conftest.sed <<AXEOF
21923 s|@prefix@|\"${pkgconfig_prefix}\"|
21924 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
21925 s|@bindir@|\"${pkgconfig_bindir}\"|
21926 s|@libdir@|\"${pkgconfig_src_libdir}\"|
21927 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
21928 s|@datadir@|\"${pkgconfig_datadir}\"|
21929 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
21930 s|@includedir@|\"${pkgconfig_src_headers}\"|
21931 s|@suffix@|\"${pkgconfig_suffix}\"|
21932 s|@PACKAGE@|\"${pkgconfig_package}\"|
21933 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
21934 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
21935 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
21936 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
21937 s|@LIBS@|\"${pkgconfig_libs}\"|
21938 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
21939 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
21940 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21941 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21942 s>Version: *>\\;\\; --modversion|--version) echo >
21943 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21944 s>Libs: *>\\;\\; --libs) echo >
21945 s>Cflags: *>\\;\\; --cflags) echo >
21947 $pkgconfig_requires_add
21949 $pkgconfig_requires_add\\
21950 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21951 ;; --uninstalled) exit 0 \\
21954 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21955 if test ! -s $pkgconfig_uninstalled ; then
21956 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21957 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21966 ac_clean_files=$ac_clean_files_save
21968 test $ac_write_fail = 0 ||
21969 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21972 # configure is writing to config.log, and then calls config.status.
21973 # config.status does its own redirection, appending to config.log.
21974 # Unfortunately, on DOS this fails, as config.log is still kept open
21975 # by configure, so config.status won't be able to write to it; its
21976 # output is simply discarded. So we exec the FD to /dev/null,
21977 # effectively closing config.log, so it can be properly (re)opened and
21978 # appended to by config.status. When coming back to configure, we
21979 # need to make the FD available again.
21980 if test "$no_create" != yes; then
21982 ac_config_status_args=
21983 test "$silent" = yes &&
21984 ac_config_status_args="$ac_config_status_args --quiet"
21986 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21988 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21989 # would make configure fail if this is the last instruction.
21990 $ac_cs_success || as_fn_exit 1
21992 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21994 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}