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-shared[=PKGS] build shared libraries [default=yes]
1591 --enable-static[=PKGS] build static 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 -'
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3478 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3483 macro_version='2.2.6b'
3484 macro_revision='1.3017'
3498 ltmain="$ac_aux_dir/ltmain.sh"
3500 # Make sure we can run config.sub.
3501 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3502 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3505 $as_echo_n "checking build system type... " >&6; }
3506 if test "${ac_cv_build+set}" = set; then :
3507 $as_echo_n "(cached) " >&6
3509 ac_build_alias=$build_alias
3510 test "x$ac_build_alias" = x &&
3511 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3512 test "x$ac_build_alias" = x &&
3513 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3514 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3515 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3519 $as_echo "$ac_cv_build" >&6; }
3520 case $ac_cv_build in
3522 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3525 ac_save_IFS=$IFS; IFS='-'
3531 # Remember, the first character of IFS is used to create $*,
3532 # except with old shells:
3535 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3539 $as_echo_n "checking host system type... " >&6; }
3540 if test "${ac_cv_host+set}" = set; then :
3541 $as_echo_n "(cached) " >&6
3543 if test "x$host_alias" = x; then
3544 ac_cv_host=$ac_cv_build
3546 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3547 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3552 $as_echo "$ac_cv_host" >&6; }
3555 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3558 ac_save_IFS=$IFS; IFS='-'
3564 # Remember, the first character of IFS is used to create $*,
3565 # except with old shells:
3568 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3571 DEPDIR="${am__leading_dot}deps"
3573 ac_config_commands="$ac_config_commands depfiles"
3576 am_make=${MAKE-make}
3577 cat > confinc << 'END'
3579 @echo this is the am__doit target
3582 # If we don't find an include directive, just comment out the code.
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3584 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3588 # First try GNU make style include.
3589 echo "include confinc" > confmf
3590 # Ignore all kinds of additional output from `make'.
3591 case `$am_make -s -f confmf 2> /dev/null` in #(
3592 *the\ am__doit\ target*)
3598 # Now try BSD make style include.
3599 if test "$am__include" = "#"; then
3600 echo '.include "confinc"' > confmf
3601 case `$am_make -s -f confmf 2> /dev/null` in #(
3602 *the\ am__doit\ target*)
3603 am__include=.include
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3612 $as_echo "$_am_result" >&6; }
3613 rm -f confinc confmf
3615 # Check whether --enable-dependency-tracking was given.
3616 if test "${enable_dependency_tracking+set}" = set; then :
3617 enableval=$enable_dependency_tracking;
3620 if test "x$enable_dependency_tracking" != xno; then
3621 am_depcomp="$ac_aux_dir/depcomp"
3624 if test "x$enable_dependency_tracking" != xno; then
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 if test -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then :
3644 $as_echo_n "(cached) " >&6
3646 if test -n "$CC"; then
3647 ac_cv_prog_CC="$CC" # Let the user override the test.
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 if test -n "$CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3669 $as_echo "$CC" >&6; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3677 if test -z "$ac_cv_prog_CC"; then
3679 # Extract the first word of "gcc", so it can be a program name with args.
3680 set dummy gcc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$ac_ct_CC"; then
3687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 ac_cv_prog_ac_ct_CC="gcc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3707 if test -n "$ac_ct_CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3709 $as_echo "$ac_ct_CC" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3715 if test "x$ac_ct_CC" = x; then
3718 case $cross_compiling:$ac_tool_warned in
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3722 ac_tool_warned=yes ;;
3730 if test -z "$CC"; then
3731 if test -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}cc; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="${ac_tool_prefix}cc"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3771 if test -z "$CC"; then
3772 # Extract the first word of "cc", so it can be a program name with args.
3773 set dummy cc; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if test "${ac_cv_prog_CC+set}" = set; then :
3777 $as_echo_n "(cached) " >&6
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC="$CC" # Let the user override the test.
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3791 ac_prog_rejected=yes
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 if test $ac_prog_rejected = yes; then
3803 # We found a bogon in the path, so make sure we never use it.
3804 set dummy $ac_cv_prog_CC
3806 if test $# != 0; then
3807 # We chose a different compiler from the bogus one.
3808 # However, it has the same basename, so the bogon will be chosen
3809 # first if we set CC to just the basename; use the full file name.
3811 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3817 if test -n "$CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3819 $as_echo "$CC" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3827 if test -z "$CC"; then
3828 if test -n "$ac_tool_prefix"; then
3829 for ac_prog in cl.exe
3831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if test "${ac_cv_prog_CC+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3868 test -n "$CC" && break
3871 if test -z "$CC"; then
3873 for ac_prog in cl.exe
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy $ac_prog; ac_word=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3880 $as_echo_n "(cached) " >&6
3882 if test -n "$ac_ct_CC"; then
3883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_ac_ct_CC="$ac_prog"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3903 if test -n "$ac_ct_CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3905 $as_echo "$ac_ct_CC" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3912 test -n "$ac_ct_CC" && break
3915 if test "x$ac_ct_CC" = x; then
3918 case $cross_compiling:$ac_tool_warned in
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3922 ac_tool_warned=yes ;;
3931 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 as_fn_error $? "no acceptable C compiler found in \$PATH
3934 See \`config.log' for more details" "$LINENO" 5 ; }
3936 # Provide some information about the compiler.
3937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3940 for ac_option in --version -v -V -qversion; do
3941 { { ac_try="$ac_compiler $ac_option >&5"
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3950 if test -s conftest.err; then
3952 ... rest of stderr output deleted ...
3953 10q' conftest.err >conftest.er1
3954 cat conftest.er1 >&5
3956 rm -f conftest.er1 conftest.err
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3972 ac_clean_files_save=$ac_clean_files
3973 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3974 # Try to create an executable without -o first, disregard a.out.
3975 # It will help us diagnose broken compilers, and finding out an intuition
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3978 $as_echo_n "checking whether the C compiler works... " >&6; }
3979 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3981 # The possible output files:
3982 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3985 for ac_file in $ac_files
3988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3989 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3994 if { { ac_try="$ac_link_default"
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_link_default") 2>&5
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }; then :
4005 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4006 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4007 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4008 # so that the user can short-circuit this test for compilers unknown to
4010 for ac_file in $ac_files ''
4012 test -f "$ac_file" || continue
4014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4017 # We found the default executable, but exeext='' is most
4021 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4023 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4025 # We set ac_cv_exeext here because the later test for it is not
4026 # safe: cross compilers may not add the suffix if given an `-o'
4027 # argument, so we may need to know it at that point already.
4028 # Even if this section looks crufty: it has the advantage of
4035 test "$ac_cv_exeext" = no && ac_cv_exeext=
4040 if test -z "$ac_file"; then :
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4042 $as_echo "no" >&6; }
4043 $as_echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4048 as_fn_error 77 "C compiler cannot create executables
4049 See \`config.log' for more details" "$LINENO" 5 ; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4052 $as_echo "yes" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4055 $as_echo_n "checking for C compiler default output file name... " >&6; }
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4057 $as_echo "$ac_file" >&6; }
4058 ac_exeext=$ac_cv_exeext
4060 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4061 ac_clean_files=$ac_clean_files_save
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4063 $as_echo_n "checking for suffix of executables... " >&6; }
4064 if { { ac_try="$ac_link"
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4076 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4077 # work properly (i.e., refer to `conftest.exe'), while it won't with
4079 for ac_file in conftest.exe conftest conftest.*; do
4080 test -f "$ac_file" || continue
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4083 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4092 See \`config.log' for more details" "$LINENO" 5 ; }
4094 rm -f conftest conftest$ac_cv_exeext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4096 $as_echo "$ac_cv_exeext" >&6; }
4098 rm -f conftest.$ac_ext
4099 EXEEXT=$ac_cv_exeext
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4107 FILE *f = fopen ("conftest.out", "w");
4108 return ferror (f) || fclose (f) != 0;
4114 ac_clean_files="$ac_clean_files conftest.out"
4115 # Check that the compiler produces executables we can run. If not, either
4116 # the compiler is broken, or we cross compile.
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4118 $as_echo_n "checking whether we are cross compiling... " >&6; }
4119 if test "$cross_compiling" != yes; then
4120 { { ac_try="$ac_link"
4122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126 $as_echo "$ac_try_echo"; } >&5
4127 (eval "$ac_link") 2>&5
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }
4131 if { ac_try='./conftest$ac_cv_exeext'
4132 { { case "(($ac_try" in
4133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_try") 2>&5
4140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141 test $ac_status = 0; }; }; then
4144 if test "$cross_compiling" = maybe; then
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error $? "cannot run C compiled programs.
4150 If you meant to cross compile, use \`--host'.
4151 See \`config.log' for more details" "$LINENO" 5 ; }
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4156 $as_echo "$cross_compiling" >&6; }
4158 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4159 ac_clean_files=$ac_clean_files_save
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4161 $as_echo_n "checking for suffix of object files... " >&6; }
4162 if test "${ac_cv_objext+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4176 rm -f conftest.o conftest.obj
4177 if { { ac_try="$ac_compile"
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_compile") 2>&5
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }; then :
4188 for ac_file in conftest.o conftest.obj conftest.*; do
4189 test -f "$ac_file" || continue;
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4192 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error $? "cannot compute suffix of object files: cannot compile
4203 See \`config.log' for more details" "$LINENO" 5 ; }
4205 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4208 $as_echo "$ac_cv_objext" >&6; }
4209 OBJEXT=$ac_cv_objext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4213 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4230 if ac_fn_c_try_compile "$LINENO"; then :
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4241 if test $ac_compiler_gnu = yes; then
4246 ac_test_CFLAGS=${CFLAGS+set}
4247 ac_save_CFLAGS=$CFLAGS
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4250 if test "${ac_cv_prog_cc_g+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4253 ac_save_c_werror_flag=$ac_c_werror_flag
4254 ac_c_werror_flag=yes
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4268 if ac_fn_c_try_compile "$LINENO"; then :
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4283 if ac_fn_c_try_compile "$LINENO"; then :
4286 ac_c_werror_flag=$ac_save_c_werror_flag
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4299 if ac_fn_c_try_compile "$LINENO"; then :
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_c_werror_flag=$ac_save_c_werror_flag
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4310 $as_echo "$ac_cv_prog_cc_g" >&6; }
4311 if test "$ac_test_CFLAGS" = set; then
4312 CFLAGS=$ac_save_CFLAGS
4313 elif test $ac_cv_prog_cc_g = yes; then
4314 if test "$GCC" = yes; then
4320 if test "$GCC" = yes; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4328 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 ac_cv_prog_cc_c89=no
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 #include <sys/types.h>
4338 #include <sys/stat.h>
4339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4340 struct buf { int x; };
4341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4342 static char *e (p, i)
4348 static char *f (char * (*g) (char **, int), char **p, ...)
4353 s = g (p, va_arg (v,int));
4358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4359 function prototypes and stuff, but not '\xHH' hex character constants.
4360 These don't provoke an error unfortunately, instead are silently treated
4361 as 'x'. The following induces an error, until -std is added to get
4362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4363 array size at least. It's necessary to write '\x00'==0 to get something
4364 that's true only with -std. */
4365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4367 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4368 inside strings and character constants. */
4370 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4372 int test (int i, double x);
4373 struct s1 {int (*f) (int a);};
4374 struct s2 {int (*f) (double a);};
4375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4387 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4389 CC="$ac_save_CC $ac_arg"
4390 if ac_fn_c_try_compile "$LINENO"; then :
4391 ac_cv_prog_cc_c89=$ac_arg
4393 rm -f core conftest.err conftest.$ac_objext
4394 test "x$ac_cv_prog_cc_c89" != "xno" && break
4396 rm -f conftest.$ac_ext
4401 case "x$ac_cv_prog_cc_c89" in
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4404 $as_echo "none needed" >&6; } ;;
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4407 $as_echo "unsupported" >&6; } ;;
4409 CC="$CC $ac_cv_prog_cc_c89"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4411 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4413 if test "x$ac_cv_prog_cc_c89" != xno; then :
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423 depcc="$CC" am_compiler_list=
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4426 $as_echo_n "checking dependency style of $depcc... " >&6; }
4427 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4428 $as_echo_n "(cached) " >&6
4430 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4431 # We make a subdir and do the tests there. Otherwise we can end up
4432 # making bogus files that we don't know about and never remove. For
4433 # instance it was reported that on HP-UX the gcc test will end up
4434 # making a dummy file named `D' -- because `-MD' means `put the output
4437 # Copy depcomp to subdir because otherwise we won't find it if we're
4438 # using a relative directory.
4439 cp "$am_depcomp" conftest.dir
4441 # We will build objects and dependencies in a subdirectory because
4442 # it helps to detect inapplicable dependency modes. For instance
4443 # both Tru64's cc and ICC support -MD to output dependencies as a
4444 # side effect of compilation, but ICC will put the dependencies in
4445 # the current directory while Tru64 will put them in the object
4449 am_cv_CC_dependencies_compiler_type=none
4450 if test "$am_compiler_list" = ""; then
4451 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4454 case " $depcc " in #(
4455 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4458 for depmode in $am_compiler_list; do
4459 # Setup a source with many dependencies, because some compilers
4460 # like to wrap large dependency lists on column 80 (with \), and
4461 # we should not choose a depcomp mode which is confused by this.
4463 # We need to recreate these files for each test, as the compiler may
4464 # overwrite some of them when testing with obscure command lines.
4465 # This happens at least with the AIX C compiler.
4467 for i in 1 2 3 4 5 6; do
4468 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4469 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4470 # Solaris 8's {/usr,}/bin/sh.
4471 touch sub/conftst$i.h
4473 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4475 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4476 # mode. It turns out that the SunPro C++ compiler does not properly
4477 # handle `-M -o', and we need to detect this. Also, some Intel
4478 # versions had trouble with output in subdirs
4479 am__obj=sub/conftest.${OBJEXT-o}
4480 am__minus_obj="-o $am__obj"
4483 # This depmode causes a compiler race in universal mode.
4484 test "$am__universal" = false || continue
4487 # after this tag, mechanisms are not by side-effect, so they'll
4488 # only be used when explicitly requested
4489 if test "x$enable_dependency_tracking" = xyes; then
4495 msvisualcpp | msvcmsys)
4496 # This compiler won't grok `-c -o', but also, the minuso test has
4497 # not run yet. These depmodes are late enough in the game, and
4498 # so weak that their functioning should not be impacted.
4499 am__obj=conftest.${OBJEXT-o}
4504 if depmode=$depmode \
4505 source=sub/conftest.c object=$am__obj \
4506 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4507 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4508 >/dev/null 2>conftest.err &&
4509 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4510 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4511 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4512 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4513 # icc doesn't choke on unknown options, it will just issue warnings
4514 # or remarks (even with -Werror). So we grep stderr for any message
4515 # that says an option was ignored or not supported.
4516 # When given -MP, icc 7.0 and 7.1 complain thusly:
4517 # icc: Command line warning: ignoring option '-M'; no argument required
4518 # The diagnosis changed in icc 8.0:
4519 # icc: Command line remark: option '-MP' not supported
4520 if (grep 'ignoring option' conftest.err ||
4521 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4522 am_cv_CC_dependencies_compiler_type=$depmode
4531 am_cv_CC_dependencies_compiler_type=none
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4536 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4537 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4540 test "x$enable_dependency_tracking" != xno \
4541 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4543 am__fastdepCC_FALSE='#'
4545 am__fastdepCC_TRUE='#'
4546 am__fastdepCC_FALSE=
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4551 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4552 if test "${ac_cv_path_SED+set}" = set; then :
4553 $as_echo_n "(cached) " >&6
4555 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4556 for ac_i in 1 2 3 4 5 6 7; do
4557 ac_script="$ac_script$as_nl$ac_script"
4559 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4560 { ac_script=; unset ac_script;}
4561 if test -z "$SED"; then
4562 ac_path_SED_found=false
4563 # Loop through the user's path and test for each of PROGNAME-LIST
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir=.
4569 for ac_prog in sed gsed; do
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4572 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4573 # Check for GNU ac_path_SED and select it if it is found.
4574 # Check for GNU $ac_path_SED
4575 case `"$ac_path_SED" --version 2>&1` in
4577 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4580 $as_echo_n 0123456789 >"conftest.in"
4583 cat "conftest.in" "conftest.in" >"conftest.tmp"
4584 mv "conftest.tmp" "conftest.in"
4585 cp "conftest.in" "conftest.nl"
4586 $as_echo '' >> "conftest.nl"
4587 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4589 as_fn_arith $ac_count + 1 && ac_count=$as_val
4590 if test $ac_count -gt ${ac_path_SED_max-0}; then
4591 # Best one so far, save it but keep looking for a better one
4592 ac_cv_path_SED="$ac_path_SED"
4593 ac_path_SED_max=$ac_count
4595 # 10*(2^10) chars as input seems more than enough
4596 test $ac_count -gt 10 && break
4598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4601 $ac_path_SED_found && break 3
4606 if test -z "$ac_cv_path_SED"; then
4607 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4615 $as_echo "$ac_cv_path_SED" >&6; }
4616 SED="$ac_cv_path_SED"
4619 test -z "$SED" && SED=sed
4620 Xsed="$SED -e 1s/^X//"
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4633 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4634 if test "${ac_cv_path_GREP+set}" = set; then :
4635 $as_echo_n "(cached) " >&6
4637 if test -z "$GREP"; then
4638 ac_path_GREP_found=false
4639 # Loop through the user's path and test for each of PROGNAME-LIST
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4644 test -z "$as_dir" && as_dir=.
4645 for ac_prog in grep ggrep; do
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4648 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4649 # Check for GNU ac_path_GREP and select it if it is found.
4650 # Check for GNU $ac_path_GREP
4651 case `"$ac_path_GREP" --version 2>&1` in
4653 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4656 $as_echo_n 0123456789 >"conftest.in"
4659 cat "conftest.in" "conftest.in" >"conftest.tmp"
4660 mv "conftest.tmp" "conftest.in"
4661 cp "conftest.in" "conftest.nl"
4662 $as_echo 'GREP' >> "conftest.nl"
4663 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4664 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4665 as_fn_arith $ac_count + 1 && ac_count=$as_val
4666 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4667 # Best one so far, save it but keep looking for a better one
4668 ac_cv_path_GREP="$ac_path_GREP"
4669 ac_path_GREP_max=$ac_count
4671 # 10*(2^10) chars as input seems more than enough
4672 test $ac_count -gt 10 && break
4674 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4677 $ac_path_GREP_found && break 3
4682 if test -z "$ac_cv_path_GREP"; then
4683 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4686 ac_cv_path_GREP=$GREP
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4691 $as_echo "$ac_cv_path_GREP" >&6; }
4692 GREP="$ac_cv_path_GREP"
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4696 $as_echo_n "checking for egrep... " >&6; }
4697 if test "${ac_cv_path_EGREP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4700 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4701 then ac_cv_path_EGREP="$GREP -E"
4703 if test -z "$EGREP"; then
4704 ac_path_EGREP_found=false
4705 # Loop through the user's path and test for each of PROGNAME-LIST
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4710 test -z "$as_dir" && as_dir=.
4711 for ac_prog in egrep; do
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4714 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4715 # Check for GNU ac_path_EGREP and select it if it is found.
4716 # Check for GNU $ac_path_EGREP
4717 case `"$ac_path_EGREP" --version 2>&1` in
4719 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4722 $as_echo_n 0123456789 >"conftest.in"
4725 cat "conftest.in" "conftest.in" >"conftest.tmp"
4726 mv "conftest.tmp" "conftest.in"
4727 cp "conftest.in" "conftest.nl"
4728 $as_echo 'EGREP' >> "conftest.nl"
4729 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4730 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4731 as_fn_arith $ac_count + 1 && ac_count=$as_val
4732 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4733 # Best one so far, save it but keep looking for a better one
4734 ac_cv_path_EGREP="$ac_path_EGREP"
4735 ac_path_EGREP_max=$ac_count
4737 # 10*(2^10) chars as input seems more than enough
4738 test $ac_count -gt 10 && break
4740 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4743 $ac_path_EGREP_found && break 3
4748 if test -z "$ac_cv_path_EGREP"; then
4749 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4752 ac_cv_path_EGREP=$EGREP
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4758 $as_echo "$ac_cv_path_EGREP" >&6; }
4759 EGREP="$ac_cv_path_EGREP"
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4763 $as_echo_n "checking for fgrep... " >&6; }
4764 if test "${ac_cv_path_FGREP+set}" = set; then :
4765 $as_echo_n "(cached) " >&6
4767 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4768 then ac_cv_path_FGREP="$GREP -F"
4770 if test -z "$FGREP"; then
4771 ac_path_FGREP_found=false
4772 # Loop through the user's path and test for each of PROGNAME-LIST
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4777 test -z "$as_dir" && as_dir=.
4778 for ac_prog in fgrep; do
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4781 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4782 # Check for GNU ac_path_FGREP and select it if it is found.
4783 # Check for GNU $ac_path_FGREP
4784 case `"$ac_path_FGREP" --version 2>&1` in
4786 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4789 $as_echo_n 0123456789 >"conftest.in"
4792 cat "conftest.in" "conftest.in" >"conftest.tmp"
4793 mv "conftest.tmp" "conftest.in"
4794 cp "conftest.in" "conftest.nl"
4795 $as_echo 'FGREP' >> "conftest.nl"
4796 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4797 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4798 as_fn_arith $ac_count + 1 && ac_count=$as_val
4799 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4800 # Best one so far, save it but keep looking for a better one
4801 ac_cv_path_FGREP="$ac_path_FGREP"
4802 ac_path_FGREP_max=$ac_count
4804 # 10*(2^10) chars as input seems more than enough
4805 test $ac_count -gt 10 && break
4807 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4810 $ac_path_FGREP_found && break 3
4815 if test -z "$ac_cv_path_FGREP"; then
4816 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4819 ac_cv_path_FGREP=$FGREP
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4825 $as_echo "$ac_cv_path_FGREP" >&6; }
4826 FGREP="$ac_cv_path_FGREP"
4829 test -z "$GREP" && GREP=grep
4849 # Check whether --with-gnu-ld was given.
4850 if test "${with_gnu_ld+set}" = set; then :
4851 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4857 if test "$GCC" = yes; then
4858 # Check if gcc -print-prog-name=ld gives a path.
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4860 $as_echo_n "checking for ld used by $CC... " >&6; }
4863 # gcc leaves a trailing carriage return which upsets mingw
4864 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4866 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4869 # Accept absolute paths.
4871 re_direlt='/[^/][^/]*/\.\./'
4872 # Canonicalize the pathname of ld
4873 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4874 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4875 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4877 test -z "$LD" && LD="$ac_prog"
4880 # If it fails, then pretend we aren't using GCC.
4884 # If it is relative, then search for the first ld in PATH.
4888 elif test "$with_gnu_ld" = yes; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4890 $as_echo_n "checking for GNU ld... " >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4893 $as_echo_n "checking for non-GNU ld... " >&6; }
4895 if test "${lt_cv_path_LD+set}" = set; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -z "$LD"; then
4899 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4900 for ac_dir in $PATH; do
4902 test -z "$ac_dir" && ac_dir=.
4903 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4904 lt_cv_path_LD="$ac_dir/$ac_prog"
4905 # Check to see if the program is GNU ld. I'd rather use --version,
4906 # but apparently some variants of GNU ld only accept -v.
4907 # Break only if it was the GNU/non-GNU ld that we prefer.
4908 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4909 *GNU* | *'with BFD'*)
4910 test "$with_gnu_ld" != no && break
4913 test "$with_gnu_ld" != yes && break
4920 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4925 if test -n "$LD"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4927 $as_echo "$LD" >&6; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4932 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4934 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4935 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4936 $as_echo_n "(cached) " >&6
4938 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4939 case `$LD -v 2>&1 </dev/null` in
4940 *GNU* | *'with BFD'*)
4941 lt_cv_prog_gnu_ld=yes
4944 lt_cv_prog_gnu_ld=no
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4949 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4950 with_gnu_ld=$lt_cv_prog_gnu_ld
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4961 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4962 if test "${lt_cv_path_NM+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$NM"; then
4966 # Let the user override the test.
4969 lt_nm_to_check="${ac_tool_prefix}nm"
4970 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4971 lt_nm_to_check="$lt_nm_to_check nm"
4973 for lt_tmp_nm in $lt_nm_to_check; do
4974 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4975 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4977 test -z "$ac_dir" && ac_dir=.
4978 tmp_nm="$ac_dir/$lt_tmp_nm"
4979 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4980 # Check to see if the nm accepts a BSD-compat flag.
4981 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4982 # nm: unknown option "B" ignored
4983 # Tru64's nm complains that /dev/null is an invalid object file
4984 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4985 */dev/null* | *'Invalid file or object type'*)
4986 lt_cv_path_NM="$tmp_nm -B"
4990 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4992 lt_cv_path_NM="$tmp_nm -p"
4996 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4997 continue # so that we can try to find one that supports BSD flags
5006 : ${lt_cv_path_NM=no}
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5010 $as_echo "$lt_cv_path_NM" >&6; }
5011 if test "$lt_cv_path_NM" != "no"; then
5014 # Didn't find any BSD compatible name lister, look for dumpbin.
5015 if test -n "$ac_tool_prefix"; then
5016 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5019 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -n "$DUMPBIN"; then
5026 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 DUMPBIN=$ac_cv_prog_DUMPBIN
5046 if test -n "$DUMPBIN"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5048 $as_echo "$DUMPBIN" >&6; }
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5055 test -n "$DUMPBIN" && break
5058 if test -z "$DUMPBIN"; then
5059 ac_ct_DUMPBIN=$DUMPBIN
5060 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5062 # Extract the first word of "$ac_prog", so it can be a program name with args.
5063 set dummy $ac_prog; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5067 $as_echo_n "(cached) " >&6
5069 if test -n "$ac_ct_DUMPBIN"; then
5070 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5090 if test -n "$ac_ct_DUMPBIN"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5092 $as_echo "$ac_ct_DUMPBIN" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5099 test -n "$ac_ct_DUMPBIN" && break
5102 if test "x$ac_ct_DUMPBIN" = x; then
5105 case $cross_compiling:$ac_tool_warned in
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5109 ac_tool_warned=yes ;;
5111 DUMPBIN=$ac_ct_DUMPBIN
5116 if test "$DUMPBIN" != ":"; then
5120 test -z "$NM" && NM=nm
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5128 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5129 if test "${lt_cv_nm_interface+set}" = set; then :
5130 $as_echo_n "(cached) " >&6
5132 lt_cv_nm_interface="BSD nm"
5133 echo "int some_variable = 0;" > conftest.$ac_ext
5134 (eval echo "\"\$as_me:5134: $ac_compile\"" >&5)
5135 (eval "$ac_compile" 2>conftest.err)
5136 cat conftest.err >&5
5137 (eval echo "\"\$as_me:5137: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5138 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5139 cat conftest.err >&5
5140 (eval echo "\"\$as_me:5140: output\"" >&5)
5141 cat conftest.out >&5
5142 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5143 lt_cv_nm_interface="MS dumpbin"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5148 $as_echo "$lt_cv_nm_interface" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5151 $as_echo_n "checking whether ln -s works... " >&6; }
5153 if test "$LN_S" = "ln -s"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5155 $as_echo "yes" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5158 $as_echo "no, using $LN_S" >&6; }
5161 # find the maximum length of command line arguments
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5163 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5164 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5172 # On DJGPP, this test can blow up pretty badly due to problems in libc
5173 # (any single argument exceeding 2000 bytes causes a buffer overrun
5174 # during glob expansion). Even if it were fixed, the result of this
5175 # check would be larger than it should be.
5176 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5180 # Under GNU Hurd, this test is not required because there is
5181 # no limit to the length of command line arguments.
5182 # Libtool will interpret -1 as no limit whatsoever
5183 lt_cv_sys_max_cmd_len=-1;
5186 cygwin* | mingw* | cegcc*)
5187 # On Win9x/ME, this test blows up -- it succeeds, but takes
5188 # about 5 minutes as the teststring grows exponentially.
5189 # Worse, since 9x/ME are not pre-emptively multitasking,
5190 # you end up with a "frozen" computer, even though with patience
5191 # the test eventually succeeds (with a max line length of 256k).
5192 # Instead, let's just punt: use the minimum linelength reported by
5193 # all of the supported platforms: 8192 (on NT/2K/XP).
5194 lt_cv_sys_max_cmd_len=8192;
5198 # On AmigaOS with pdksh, this test takes hours, literally.
5199 # So we just punt and use a minimum line length of 8192.
5200 lt_cv_sys_max_cmd_len=8192;
5203 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5204 # This has been around since 386BSD, at least. Likely further.
5205 if test -x /sbin/sysctl; then
5206 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5207 elif test -x /usr/sbin/sysctl; then
5208 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5210 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5212 # And add a safety zone
5213 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5214 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5218 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5219 lt_cv_sys_max_cmd_len=196608
5223 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5224 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5225 # nice to cause kernel panics so lets avoid the loop below.
5226 # First set a reasonable default.
5227 lt_cv_sys_max_cmd_len=16384
5229 if test -x /sbin/sysconfig; then
5230 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5231 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5236 lt_cv_sys_max_cmd_len=102400
5238 sysv5* | sco5v6* | sysv4.2uw2*)
5239 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5240 if test -n "$kargmax"; then
5241 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5243 lt_cv_sys_max_cmd_len=32768
5247 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5248 if test -n "$lt_cv_sys_max_cmd_len"; then
5249 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5250 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5252 # Make teststring a little bigger before we do anything with it.
5253 # a 1K string should be a reasonable start.
5254 for i in 1 2 3 4 5 6 7 8 ; do
5255 teststring=$teststring$teststring
5257 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5258 # If test is not a shell built-in, we'll probably end up computing a
5259 # maximum length that is only half of the actual maximum length, but
5261 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5262 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5263 test $i != 17 # 1/2 MB should be enough
5266 teststring=$teststring$teststring
5268 # Only check the string length outside the loop.
5269 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5271 # Add a significant safety factor because C++ compilers can tack on
5272 # massive amounts of additional arguments before passing them to the
5273 # linker. It appears as though 1/2 is a usable value.
5274 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5281 if test -n $lt_cv_sys_max_cmd_len ; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5283 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5286 $as_echo "none" >&6; }
5288 max_cmd_len=$lt_cv_sys_max_cmd_len
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5300 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5301 # Try some XSI features
5304 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5306 && eval 'test $(( 1 + 1 )) -eq 2 \
5307 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5310 $as_echo "$xsi_shell" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5314 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5316 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5318 && lt_shell_append=yes
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5320 $as_echo "$lt_shell_append" >&6; }
5323 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5333 # test EBCDIC or ASCII
5334 case `echo X|tr X '\101'` in
5335 A) # ASCII based system
5336 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5337 lt_SP2NL='tr \040 \012'
5338 lt_NL2SP='tr \015\012 \040\040'
5340 *) # EBCDIC based system
5341 lt_SP2NL='tr \100 \n'
5342 lt_NL2SP='tr \r\n \100\100'
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5355 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5356 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5357 $as_echo_n "(cached) " >&6
5359 lt_cv_ld_reload_flag='-r'
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5362 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5363 reload_flag=$lt_cv_ld_reload_flag
5364 case $reload_flag in
5366 *) reload_flag=" $reload_flag" ;;
5368 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5371 if test "$GCC" = yes; then
5372 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5374 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5387 if test -n "$ac_tool_prefix"; then
5388 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5389 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$OBJDUMP"; then
5396 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5405 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 OBJDUMP=$ac_cv_prog_OBJDUMP
5416 if test -n "$OBJDUMP"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5418 $as_echo "$OBJDUMP" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5426 if test -z "$ac_cv_prog_OBJDUMP"; then
5427 ac_ct_OBJDUMP=$OBJDUMP
5428 # Extract the first word of "objdump", so it can be a program name with args.
5429 set dummy objdump; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -n "$ac_ct_OBJDUMP"; then
5436 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5456 if test -n "$ac_ct_OBJDUMP"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5458 $as_echo "$ac_ct_OBJDUMP" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5464 if test "x$ac_ct_OBJDUMP" = x; then
5467 case $cross_compiling:$ac_tool_warned in
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5471 ac_tool_warned=yes ;;
5473 OBJDUMP=$ac_ct_OBJDUMP
5476 OBJDUMP="$ac_cv_prog_OBJDUMP"
5479 test -z "$OBJDUMP" && OBJDUMP=objdump
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5490 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5491 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5492 $as_echo_n "(cached) " >&6
5494 lt_cv_file_magic_cmd='$MAGIC_CMD'
5495 lt_cv_file_magic_test_file=
5496 lt_cv_deplibs_check_method='unknown'
5497 # Need to set the preceding variable on all platforms that support
5498 # interlibrary dependencies.
5499 # 'none' -- dependencies not supported.
5500 # `unknown' -- same as none, but documents that we really don't know.
5501 # 'pass_all' -- all dependencies passed with no checks.
5502 # 'test_compile' -- check by making test program.
5503 # 'file_magic [[regex]]' -- check by looking for files in library path
5504 # which responds to the $file_magic_cmd with a given extended regex.
5505 # If you have `file' or equivalent on your system and you're not sure
5506 # whether `pass_all' will *always* work, you probably want this one.
5510 lt_cv_deplibs_check_method=pass_all
5514 lt_cv_deplibs_check_method=pass_all
5518 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5519 lt_cv_file_magic_cmd='/usr/bin/file -L'
5520 lt_cv_file_magic_test_file=/shlib/libc.so
5524 # func_win32_libid is a shell function defined in ltmain.sh
5525 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5526 lt_cv_file_magic_cmd='func_win32_libid'
5530 # Base MSYS/MinGW do not provide the 'file' command needed by
5531 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5532 # unless we find 'file', for example because we are cross-compiling.
5533 if ( file / ) >/dev/null 2>&1; then
5534 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5535 lt_cv_file_magic_cmd='func_win32_libid'
5537 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5538 lt_cv_file_magic_cmd='$OBJDUMP -f'
5543 # use the weaker test based on 'objdump'. See mingw*.
5544 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5545 lt_cv_file_magic_cmd='$OBJDUMP -f'
5548 darwin* | rhapsody*)
5549 lt_cv_deplibs_check_method=pass_all
5552 freebsd* | dragonfly*)
5553 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5556 # Not sure whether the presence of OpenBSD here was a mistake.
5557 # Let's accept both of them until this is cleared up.
5558 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5559 lt_cv_file_magic_cmd=/usr/bin/file
5560 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5564 lt_cv_deplibs_check_method=pass_all
5569 lt_cv_deplibs_check_method=pass_all
5572 hpux10.20* | hpux11*)
5573 lt_cv_file_magic_cmd=/usr/bin/file
5576 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5577 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5580 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]'
5581 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5584 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5585 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5591 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5592 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5595 irix5* | irix6* | nonstopux*)
5597 *-32|*"-32 ") libmagic=32-bit;;
5598 *-n32|*"-n32 ") libmagic=N32;;
5599 *-64|*"-64 ") libmagic=64-bit;;
5600 *) libmagic=never-match;;
5602 lt_cv_deplibs_check_method=pass_all
5605 # This must be Linux ELF.
5606 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5607 lt_cv_deplibs_check_method=pass_all
5610 netbsd* | netbsdelf*-gnu)
5611 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5612 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5614 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5619 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5620 lt_cv_file_magic_cmd=/usr/bin/file
5621 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5625 lt_cv_deplibs_check_method=pass_all
5629 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5630 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5632 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5636 osf3* | osf4* | osf5*)
5637 lt_cv_deplibs_check_method=pass_all
5641 lt_cv_deplibs_check_method=pass_all
5645 lt_cv_deplibs_check_method=pass_all
5648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5649 lt_cv_deplibs_check_method=pass_all
5653 case $host_vendor in
5655 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]'
5656 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5659 lt_cv_deplibs_check_method=pass_all
5662 lt_cv_file_magic_cmd='/bin/file'
5663 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5666 lt_cv_file_magic_cmd='/bin/file'
5667 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5668 lt_cv_file_magic_test_file=/lib/libc.so
5671 lt_cv_deplibs_check_method=pass_all
5674 lt_cv_deplibs_check_method=pass_all
5680 lt_cv_deplibs_check_method=pass_all
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5686 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5687 file_magic_cmd=$lt_cv_file_magic_cmd
5688 deplibs_check_method=$lt_cv_deplibs_check_method
5689 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5702 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5704 set dummy ${ac_tool_prefix}ar; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if test "${ac_cv_prog_AR+set}" = set; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$AR"; then
5711 ac_cv_prog_AR="$AR" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_AR="${ac_tool_prefix}ar"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 if test -n "$AR"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5733 $as_echo "$AR" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5741 if test -z "$ac_cv_prog_AR"; then
5743 # Extract the first word of "ar", so it can be a program name with args.
5744 set dummy ar; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$ac_ct_AR"; then
5751 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_ac_ct_AR="ar"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5771 if test -n "$ac_ct_AR"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5773 $as_echo "$ac_ct_AR" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5779 if test "x$ac_ct_AR" = x; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786 ac_tool_warned=yes ;;
5794 test -z "$AR" && AR=ar
5795 test -z "$AR_FLAGS" && AR_FLAGS=cru
5807 if test -n "$ac_tool_prefix"; then
5808 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5809 set dummy ${ac_tool_prefix}strip; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if test "${ac_cv_prog_STRIP+set}" = set; then :
5813 $as_echo_n "(cached) " >&6
5815 if test -n "$STRIP"; then
5816 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5825 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 STRIP=$ac_cv_prog_STRIP
5836 if test -n "$STRIP"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5838 $as_echo "$STRIP" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5846 if test -z "$ac_cv_prog_STRIP"; then
5848 # Extract the first word of "strip", so it can be a program name with args.
5849 set dummy strip; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$ac_ct_STRIP"; then
5856 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_ac_ct_STRIP="strip"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5876 if test -n "$ac_ct_STRIP"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5878 $as_echo "$ac_ct_STRIP" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5884 if test "x$ac_ct_STRIP" = x; then
5887 case $cross_compiling:$ac_tool_warned in
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5891 ac_tool_warned=yes ;;
5896 STRIP="$ac_cv_prog_STRIP"
5899 test -z "$STRIP" && STRIP=:
5906 if test -n "$ac_tool_prefix"; then
5907 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5908 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5910 $as_echo_n "checking for $ac_word... " >&6; }
5911 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5912 $as_echo_n "(cached) " >&6
5914 if test -n "$RANLIB"; then
5915 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5924 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 RANLIB=$ac_cv_prog_RANLIB
5935 if test -n "$RANLIB"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5937 $as_echo "$RANLIB" >&6; }
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5945 if test -z "$ac_cv_prog_RANLIB"; then
5946 ac_ct_RANLIB=$RANLIB
5947 # Extract the first word of "ranlib", so it can be a program name with args.
5948 set dummy ranlib; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5950 $as_echo_n "checking for $ac_word... " >&6; }
5951 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5954 if test -n "$ac_ct_RANLIB"; then
5955 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 test -z "$as_dir" && as_dir=.
5962 for ac_exec_ext in '' $ac_executable_extensions; do
5963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5964 ac_cv_prog_ac_ct_RANLIB="ranlib"
5965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5975 if test -n "$ac_ct_RANLIB"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5977 $as_echo "$ac_ct_RANLIB" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5983 if test "x$ac_ct_RANLIB" = x; then
5986 case $cross_compiling:$ac_tool_warned in
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5990 ac_tool_warned=yes ;;
5992 RANLIB=$ac_ct_RANLIB
5995 RANLIB="$ac_cv_prog_RANLIB"
5998 test -z "$RANLIB" && RANLIB=:
6005 # Determine commands to create old-style static archives.
6006 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6007 old_postinstall_cmds='chmod 644 $oldlib'
6008 old_postuninstall_cmds=
6010 if test -n "$RANLIB"; then
6013 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6016 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6019 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6055 # If no C compiler was specified, use CC.
6058 # If no C compiler flags were specified, use CFLAGS.
6059 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6061 # Allow CC to be a program name with arguments.
6065 # Check for command to grab the raw symbol name followed by C symbol from nm.
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6067 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6068 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6069 $as_echo_n "(cached) " >&6
6072 # These are sane defaults that work on at least a few old systems.
6073 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6075 # Character class describing NM global symbol codes.
6076 symcode='[BCDEGRST]'
6078 # Regexp to match symbols that can be accessed directly from C.
6079 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6081 # Define system-specific variables.
6086 cygwin* | mingw* | pw32* | cegcc*)
6087 symcode='[ABCDGISTW]'
6090 if test "$host_cpu" = ia64; then
6091 symcode='[ABCDEGRST]'
6095 symcode='[BCDEGRST]'
6098 symcode='[BCDEGQRST]'
6109 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6117 # If we're using GNU nm, then use its standard symbol codes.
6118 case `$NM -V 2>&1` in
6119 *GNU* | *'with BFD'*)
6120 symcode='[ABCDGIRSTW]' ;;
6123 # Transform an extracted symbol line into a proper C declaration.
6124 # Some systems (esp. on ia64) link data and code symbols differently,
6125 # so use this general approach.
6126 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6128 # Transform an extracted symbol line into symbol name and symbol address
6129 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6130 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'"
6132 # Handle CRLF in mingw tool chain
6136 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6140 # Try without a prefix underscore, then with it.
6141 for ac_symprfx in "" "_"; do
6143 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6144 symxfrm="\\1 $ac_symprfx\\2 \\2"
6146 # Write the raw and C identifiers.
6147 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6148 # Fake it for dumpbin and say T for any non-static function
6149 # and D for any global variable.
6150 # Also find C++ and __fastcall symbols from MSVC++,
6151 # which start with @ or ?.
6152 lt_cv_sys_global_symbol_pipe="$AWK '"\
6153 " {last_section=section; section=\$ 3};"\
6154 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6155 " \$ 0!~/External *\|/{next};"\
6156 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6157 " {if(hide[section]) next};"\
6158 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6159 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6160 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6161 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6162 " ' prfx=^$ac_symprfx"
6164 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6167 # Check to see that the pipe works correctly.
6171 cat > conftest.$ac_ext <<_LT_EOF
6176 void nm_test_func(void);
6177 void nm_test_func(void){}
6181 int main(){nm_test_var='a';nm_test_func();return(0);}
6184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6185 (eval $ac_compile) 2>&5
6187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6188 test $ac_status = 0; }; then
6189 # Now try to grab the symbols.
6191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6192 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6195 test $ac_status = 0; } && test -s "$nlist"; then
6196 # Try sorting and uniquifying the output.
6197 if sort "$nlist" | uniq > "$nlist"T; then
6198 mv -f "$nlist"T "$nlist"
6203 # Make sure that we snagged all the symbols we need.
6204 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6205 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6206 cat <<_LT_EOF > conftest.$ac_ext
6212 # Now generate the symbol file.
6213 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6215 cat <<_LT_EOF >> conftest.$ac_ext
6217 /* The mapping between symbol names and symbols. */
6222 lt__PROGRAM__LTX_preloaded_symbols[] =
6224 { "@PROGRAM@", (void *) 0 },
6226 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6227 cat <<\_LT_EOF >> conftest.$ac_ext
6231 /* This works around a problem in FreeBSD linker */
6232 #ifdef FREEBSD_WORKAROUND
6233 static const void *lt_preloaded_setup() {
6234 return lt__PROGRAM__LTX_preloaded_symbols;
6242 # Now try linking the two files.
6243 mv conftest.$ac_objext conftstm.$ac_objext
6244 lt_save_LIBS="$LIBS"
6245 lt_save_CFLAGS="$CFLAGS"
6246 LIBS="conftstm.$ac_objext"
6247 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6248 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6249 (eval $ac_link) 2>&5
6251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6252 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6255 LIBS="$lt_save_LIBS"
6256 CFLAGS="$lt_save_CFLAGS"
6258 echo "cannot find nm_test_func in $nlist" >&5
6261 echo "cannot find nm_test_var in $nlist" >&5
6264 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6267 echo "$progname: failed program was:" >&5
6268 cat conftest.$ac_ext >&5
6270 rm -rf conftest* conftst*
6272 # Do not use the global_symbol_pipe unless it works.
6273 if test "$pipe_works" = yes; then
6276 lt_cv_sys_global_symbol_pipe=
6282 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6283 lt_cv_sys_global_symbol_to_cdecl=
6285 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6287 $as_echo "failed" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6290 $as_echo "ok" >&6; }
6315 # Check whether --enable-libtool-lock was given.
6316 if test "${enable_libtool_lock+set}" = set; then :
6317 enableval=$enable_libtool_lock;
6320 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6322 # Some flags need to be propagated to the compiler or linker for good
6326 # Find out which ABI we are using.
6327 echo 'int i;' > conftest.$ac_ext
6328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6329 (eval $ac_compile) 2>&5
6331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6332 test $ac_status = 0; }; then
6333 case `/usr/bin/file conftest.$ac_objext` in
6345 # Find out which ABI we are using.
6346 echo '#line 6346 "configure"' > conftest.$ac_ext
6347 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6348 (eval $ac_compile) 2>&5
6350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6351 test $ac_status = 0; }; then
6352 if test "$lt_cv_prog_gnu_ld" = yes; then
6353 case `/usr/bin/file conftest.$ac_objext` in
6355 LD="${LD-ld} -melf32bsmip"
6358 LD="${LD-ld} -melf32bmipn32"
6361 LD="${LD-ld} -melf64bmip"
6365 case `/usr/bin/file conftest.$ac_objext` in
6381 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6382 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6383 # Find out which ABI we are using.
6384 echo 'int i;' > conftest.$ac_ext
6385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6386 (eval $ac_compile) 2>&5
6388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6389 test $ac_status = 0; }; then
6390 case `/usr/bin/file conftest.o` in
6393 x86_64-*kfreebsd*-gnu)
6394 LD="${LD-ld} -m elf_i386_fbsd"
6397 LD="${LD-ld} -m elf_i386"
6399 ppc64-*linux*|powerpc64-*linux*)
6400 LD="${LD-ld} -m elf32ppclinux"
6403 LD="${LD-ld} -m elf_s390"
6406 LD="${LD-ld} -m elf32_sparc"
6412 x86_64-*kfreebsd*-gnu)
6413 LD="${LD-ld} -m elf_x86_64_fbsd"
6416 LD="${LD-ld} -m elf_x86_64"
6418 ppc*-*linux*|powerpc*-*linux*)
6419 LD="${LD-ld} -m elf64ppc"
6421 s390*-*linux*|s390*-*tpf*)
6422 LD="${LD-ld} -m elf64_s390"
6425 LD="${LD-ld} -m elf64_sparc"
6435 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6436 SAVE_CFLAGS="$CFLAGS"
6437 CFLAGS="$CFLAGS -belf"
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6439 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6440 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6441 $as_echo_n "(cached) " >&6
6444 ac_cpp='$CPP $CPPFLAGS'
6445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6460 if ac_fn_c_try_link "$LINENO"; then :
6461 lt_cv_cc_needs_belf=yes
6463 lt_cv_cc_needs_belf=no
6465 rm -f core conftest.err conftest.$ac_objext \
6466 conftest$ac_exeext conftest.$ac_ext
6468 ac_cpp='$CPP $CPPFLAGS'
6469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6475 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6476 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6477 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6478 CFLAGS="$SAVE_CFLAGS"
6482 # Find out which ABI we are using.
6483 echo 'int i;' > conftest.$ac_ext
6484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6485 (eval $ac_compile) 2>&5
6487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6488 test $ac_status = 0; }; then
6489 case `/usr/bin/file conftest.o` in
6491 case $lt_cv_prog_gnu_ld in
6492 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6494 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6506 need_locks="$enable_libtool_lock"
6510 rhapsody* | darwin*)
6511 if test -n "$ac_tool_prefix"; then
6512 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6513 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6517 $as_echo_n "(cached) " >&6
6519 if test -n "$DSYMUTIL"; then
6520 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6540 if test -n "$DSYMUTIL"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6542 $as_echo "$DSYMUTIL" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6550 if test -z "$ac_cv_prog_DSYMUTIL"; then
6551 ac_ct_DSYMUTIL=$DSYMUTIL
6552 # Extract the first word of "dsymutil", so it can be a program name with args.
6553 set dummy dsymutil; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6557 $as_echo_n "(cached) " >&6
6559 if test -n "$ac_ct_DSYMUTIL"; then
6560 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566 test -z "$as_dir" && as_dir=.
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6580 if test -n "$ac_ct_DSYMUTIL"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6582 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6588 if test "x$ac_ct_DSYMUTIL" = x; then
6591 case $cross_compiling:$ac_tool_warned in
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6595 ac_tool_warned=yes ;;
6597 DSYMUTIL=$ac_ct_DSYMUTIL
6600 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6603 if test -n "$ac_tool_prefix"; then
6604 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6605 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6609 $as_echo_n "(cached) " >&6
6611 if test -n "$NMEDIT"; then
6612 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 NMEDIT=$ac_cv_prog_NMEDIT
6632 if test -n "$NMEDIT"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6634 $as_echo "$NMEDIT" >&6; }
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 $as_echo "no" >&6; }
6642 if test -z "$ac_cv_prog_NMEDIT"; then
6643 ac_ct_NMEDIT=$NMEDIT
6644 # Extract the first word of "nmedit", so it can be a program name with args.
6645 set dummy nmedit; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6649 $as_echo_n "(cached) " >&6
6651 if test -n "$ac_ct_NMEDIT"; then
6652 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6672 if test -n "$ac_ct_NMEDIT"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6674 $as_echo "$ac_ct_NMEDIT" >&6; }
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6680 if test "x$ac_ct_NMEDIT" = x; then
6683 case $cross_compiling:$ac_tool_warned in
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6687 ac_tool_warned=yes ;;
6689 NMEDIT=$ac_ct_NMEDIT
6692 NMEDIT="$ac_cv_prog_NMEDIT"
6695 if test -n "$ac_tool_prefix"; then
6696 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6697 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if test "${ac_cv_prog_LIPO+set}" = set; then :
6701 $as_echo_n "(cached) " >&6
6703 if test -n "$LIPO"; then
6704 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 LIPO=$ac_cv_prog_LIPO
6724 if test -n "$LIPO"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6726 $as_echo "$LIPO" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6734 if test -z "$ac_cv_prog_LIPO"; then
6736 # Extract the first word of "lipo", so it can be a program name with args.
6737 set dummy lipo; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6741 $as_echo_n "(cached) " >&6
6743 if test -n "$ac_ct_LIPO"; then
6744 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753 ac_cv_prog_ac_ct_LIPO="lipo"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6764 if test -n "$ac_ct_LIPO"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6766 $as_echo "$ac_ct_LIPO" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769 $as_echo "no" >&6; }
6772 if test "x$ac_ct_LIPO" = x; then
6775 case $cross_compiling:$ac_tool_warned in
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6779 ac_tool_warned=yes ;;
6784 LIPO="$ac_cv_prog_LIPO"
6787 if test -n "$ac_tool_prefix"; then
6788 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6789 set dummy ${ac_tool_prefix}otool; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791 $as_echo_n "checking for $ac_word... " >&6; }
6792 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6793 $as_echo_n "(cached) " >&6
6795 if test -n "$OTOOL"; then
6796 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6805 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 OTOOL=$ac_cv_prog_OTOOL
6816 if test -n "$OTOOL"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6818 $as_echo "$OTOOL" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 $as_echo "no" >&6; }
6826 if test -z "$ac_cv_prog_OTOOL"; then
6828 # Extract the first word of "otool", so it can be a program name with args.
6829 set dummy otool; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6833 $as_echo_n "(cached) " >&6
6835 if test -n "$ac_ct_OTOOL"; then
6836 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6845 ac_cv_prog_ac_ct_OTOOL="otool"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6856 if test -n "$ac_ct_OTOOL"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6858 $as_echo "$ac_ct_OTOOL" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6864 if test "x$ac_ct_OTOOL" = x; then
6867 case $cross_compiling:$ac_tool_warned in
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6871 ac_tool_warned=yes ;;
6876 OTOOL="$ac_cv_prog_OTOOL"
6879 if test -n "$ac_tool_prefix"; then
6880 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6881 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6885 $as_echo_n "(cached) " >&6
6887 if test -n "$OTOOL64"; then
6888 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6897 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 OTOOL64=$ac_cv_prog_OTOOL64
6908 if test -n "$OTOOL64"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6910 $as_echo "$OTOOL64" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 $as_echo "no" >&6; }
6918 if test -z "$ac_cv_prog_OTOOL64"; then
6919 ac_ct_OTOOL64=$OTOOL64
6920 # Extract the first word of "otool64", so it can be a program name with args.
6921 set dummy otool64; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6925 $as_echo_n "(cached) " >&6
6927 if test -n "$ac_ct_OTOOL64"; then
6928 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6937 ac_cv_prog_ac_ct_OTOOL64="otool64"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6948 if test -n "$ac_ct_OTOOL64"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6950 $as_echo "$ac_ct_OTOOL64" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6956 if test "x$ac_ct_OTOOL64" = x; then
6959 case $cross_compiling:$ac_tool_warned in
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6963 ac_tool_warned=yes ;;
6965 OTOOL64=$ac_ct_OTOOL64
6968 OTOOL64="$ac_cv_prog_OTOOL64"
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6998 $as_echo_n "checking for -single_module linker flag... " >&6; }
6999 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7000 $as_echo_n "(cached) " >&6
7002 lt_cv_apple_cc_single_mod=no
7003 if test -z "${LT_MULTI_MODULE}"; then
7004 # By default we will add the -single_module flag. You can override
7005 # by either setting the environment variable LT_MULTI_MODULE
7006 # non-empty at configure time, or by adding -multi_module to the
7008 rm -rf libconftest.dylib*
7009 echo "int foo(void){return 1;}" > conftest.c
7010 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7011 -dynamiclib -Wl,-single_module conftest.c" >&5
7012 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7013 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7015 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7016 lt_cv_apple_cc_single_mod=yes
7018 cat conftest.err >&5
7020 rm -rf libconftest.dylib*
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7025 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7027 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7028 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7029 $as_echo_n "(cached) " >&6
7031 lt_cv_ld_exported_symbols_list=no
7032 save_LDFLAGS=$LDFLAGS
7033 echo "_main" > conftest.sym
7034 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h. */
7046 if ac_fn_c_try_link "$LINENO"; then :
7047 lt_cv_ld_exported_symbols_list=yes
7049 lt_cv_ld_exported_symbols_list=no
7051 rm -f core conftest.err conftest.$ac_objext \
7052 conftest$ac_exeext conftest.$ac_ext
7053 LDFLAGS="$save_LDFLAGS"
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7057 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7059 rhapsody* | darwin1.[012])
7060 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7062 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7063 darwin*) # darwin 5.x on
7064 # if running on 10.5 or later, the deployment target defaults
7065 # to the OS version, if on x86, and 10.4, the deployment
7066 # target defaults to 10.4. Don't you love it?
7067 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7068 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7069 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7071 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7073 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7077 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7078 _lt_dar_single_mod='$single_module'
7080 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7081 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7083 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7085 if test "$DSYMUTIL" != ":"; then
7086 _lt_dsymutil='~$DSYMUTIL $lib || :'
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7104 if test -z "$CPP"; then
7105 if test "${ac_cv_prog_CPP+set}" = set; then :
7106 $as_echo_n "(cached) " >&6
7108 # Double quotes because CPP needs to be expanded
7109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7123 # include <limits.h>
7125 # include <assert.h>
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7132 # Broken: fails on valid input.
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7147 # Passes both tests.
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7169 $as_echo "$CPP" >&6; }
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7182 # include <limits.h>
7184 # include <assert.h>
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7191 # Broken: fails on valid input.
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7206 # Passes both tests.
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7221 See \`config.log' for more details" "$LINENO" 5 ; }
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7232 $as_echo_n "checking for ANSI C header files... " >&6; }
7233 if test "${ac_cv_header_stdc+set}" = set; then :
7234 $as_echo_n "(cached) " >&6
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7251 if ac_fn_c_try_compile "$LINENO"; then :
7252 ac_cv_header_stdc=yes
7254 ac_cv_header_stdc=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 if test $ac_cv_header_stdc = yes; then
7259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "memchr" >/dev/null 2>&1; then :
7269 ac_cv_header_stdc=no
7275 if test $ac_cv_header_stdc = yes; then
7276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "free" >/dev/null 2>&1; then :
7286 ac_cv_header_stdc=no
7292 if test $ac_cv_header_stdc = yes; then
7293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7294 if test "$cross_compiling" = yes; then :
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7301 #if ((' ' & 0x0FF) == 0x020)
7302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7305 # define ISLOWER(c) \
7306 (('a' <= (c) && (c) <= 'i') \
7307 || ('j' <= (c) && (c) <= 'r') \
7308 || ('s' <= (c) && (c) <= 'z'))
7309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7317 for (i = 0; i < 256; i++)
7318 if (XOR (islower (i), ISLOWER (i))
7319 || toupper (i) != TOUPPER (i))
7324 if ac_fn_c_try_run "$LINENO"; then :
7327 ac_cv_header_stdc=no
7329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7330 conftest.$ac_objext conftest.beam conftest.$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7336 $as_echo "$ac_cv_header_stdc" >&6; }
7337 if test $ac_cv_header_stdc = yes; then
7339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7345 inttypes.h stdint.h unistd.h
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7360 for ac_header in dlfcn.h
7362 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7364 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7365 cat >>confdefs.h <<_ACEOF
7366 #define HAVE_DLFCN_H 1
7385 # Check whether --enable-shared was given.
7386 if test "${enable_shared+set}" = set; then :
7387 enableval=$enable_shared; p=${PACKAGE-default}
7389 yes) enable_shared=yes ;;
7390 no) enable_shared=no ;;
7393 # Look at the argument we got. We use all the common list separators.
7394 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7395 for pkg in $enableval; do
7397 if test "X$pkg" = "X$p"; then
7416 # Check whether --enable-static was given.
7417 if test "${enable_static+set}" = set; then :
7418 enableval=$enable_static; p=${PACKAGE-default}
7420 yes) enable_static=yes ;;
7421 no) enable_static=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
7448 # Check whether --with-pic was given.
7449 if test "${with_pic+set}" = set; then :
7450 withval=$with_pic; pic_mode="$withval"
7456 test -z "$pic_mode" && pic_mode=default
7464 # Check whether --enable-fast-install was given.
7465 if test "${enable_fast_install+set}" = set; then :
7466 enableval=$enable_fast_install; p=${PACKAGE-default}
7468 yes) enable_fast_install=yes ;;
7469 no) enable_fast_install=no ;;
7471 enable_fast_install=no
7472 # Look at the argument we got. We use all the common list separators.
7473 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7474 for pkg in $enableval; do
7476 if test "X$pkg" = "X$p"; then
7477 enable_fast_install=yes
7484 enable_fast_install=yes
7497 # This can be used to rebuild libtool when needed
7498 LIBTOOL_DEPS="$ltmain"
7500 # Always use our own libtool.
7501 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7527 test -z "$LN_S" && LN_S="ln -s"
7542 if test -n "${ZSH_VERSION+set}" ; then
7543 setopt NO_GLOB_SUBST
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7547 $as_echo_n "checking for objdir... " >&6; }
7548 if test "${lt_cv_objdir+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7551 rm -f .libs 2>/dev/null
7552 mkdir .libs 2>/dev/null
7553 if test -d .libs; then
7556 # MS-DOS does not allow filenames that begin with a dot.
7559 rmdir .libs 2>/dev/null
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7562 $as_echo "$lt_cv_objdir" >&6; }
7563 objdir=$lt_cv_objdir
7569 cat >>confdefs.h <<_ACEOF
7570 #define LT_OBJDIR "$lt_cv_objdir/"
7591 # AIX sometimes has problems with the GCC collect2 program. For some
7592 # reason, if we set the COLLECT_NAMES environment variable, the problems
7593 # vanish in a puff of smoke.
7594 if test "X${COLLECT_NAMES+set}" != Xset; then
7596 export COLLECT_NAMES
7601 # Sed substitution that helps us do robust quoting. It backslashifies
7602 # metacharacters that are still active within double-quoted strings.
7603 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7605 # Same as above, but do not quote variable references.
7606 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7608 # Sed substitution to delay expansion of an escaped shell variable in a
7609 # double_quote_subst'ed string.
7610 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7612 # Sed substitution to delay expansion of an escaped single quote.
7613 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7615 # Sed substitution to avoid accidental globbing in evaled expressions
7616 no_glob_subst='s/\*/\\\*/g'
7620 can_build_shared=yes
7622 # All known linkers require a `.a' archive for static linking (except MSVC,
7623 # which needs '.lib').
7626 with_gnu_ld="$lt_cv_prog_gnu_ld"
7629 old_CFLAGS="$CFLAGS"
7631 # Set sane defaults for various variables
7632 test -z "$CC" && CC=cc
7633 test -z "$LTCC" && LTCC=$CC
7634 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7635 test -z "$LD" && LD=ld
7636 test -z "$ac_objext" && ac_objext=o
7638 for cc_temp in $compiler""; do
7640 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7641 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7646 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7649 # Only perform the check for file, if the check method requires it
7650 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7651 case $deplibs_check_method in
7653 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7655 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7656 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7661 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7664 lt_save_MAGIC_CMD="$MAGIC_CMD"
7665 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7666 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7667 for ac_dir in $ac_dummy; do
7669 test -z "$ac_dir" && ac_dir=.
7670 if test -f $ac_dir/${ac_tool_prefix}file; then
7671 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7672 if test -n "$file_magic_test_file"; then
7673 case $deplibs_check_method in
7675 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7676 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7677 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7678 $EGREP "$file_magic_regex" > /dev/null; then
7683 *** Warning: the command libtool uses to detect shared libraries,
7684 *** $file_magic_cmd, produces output that libtool cannot recognize.
7685 *** The result is that libtool may fail to recognize shared libraries
7686 *** as such. This will affect the creation of libtool libraries that
7687 *** depend on shared libraries, but programs linked with such libtool
7688 *** libraries will work regardless of this problem. Nevertheless, you
7689 *** may want to report the problem to your system manager and/or to
7690 *** bug-libtool@gnu.org
7700 MAGIC_CMD="$lt_save_MAGIC_CMD"
7705 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7706 if test -n "$MAGIC_CMD"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7708 $as_echo "$MAGIC_CMD" >&6; }
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711 $as_echo "no" >&6; }
7718 if test -z "$lt_cv_path_MAGIC_CMD"; then
7719 if test -n "$ac_tool_prefix"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7721 $as_echo_n "checking for file... " >&6; }
7722 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7723 $as_echo_n "(cached) " >&6
7727 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7730 lt_save_MAGIC_CMD="$MAGIC_CMD"
7731 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7732 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7733 for ac_dir in $ac_dummy; do
7735 test -z "$ac_dir" && ac_dir=.
7736 if test -f $ac_dir/file; then
7737 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7738 if test -n "$file_magic_test_file"; then
7739 case $deplibs_check_method in
7741 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7742 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7743 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7744 $EGREP "$file_magic_regex" > /dev/null; then
7749 *** Warning: the command libtool uses to detect shared libraries,
7750 *** $file_magic_cmd, produces output that libtool cannot recognize.
7751 *** The result is that libtool may fail to recognize shared libraries
7752 *** as such. This will affect the creation of libtool libraries that
7753 *** depend on shared libraries, but programs linked with such libtool
7754 *** libraries will work regardless of this problem. Nevertheless, you
7755 *** may want to report the problem to your system manager and/or to
7756 *** bug-libtool@gnu.org
7766 MAGIC_CMD="$lt_save_MAGIC_CMD"
7771 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7772 if test -n "$MAGIC_CMD"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7774 $as_echo "$MAGIC_CMD" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7790 # Use C for the default configuration in the libtool script
7794 ac_cpp='$CPP $CPPFLAGS'
7795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7800 # Source file extension for C test sources.
7803 # Object file extension for compiled C test sources.
7807 # Code to be used in simple compile tests
7808 lt_simple_compile_test_code="int some_variable = 0;"
7810 # Code to be used in simple link tests
7811 lt_simple_link_test_code='int main(){return(0);}'
7819 # If no C compiler was specified, use CC.
7822 # If no C compiler flags were specified, use CFLAGS.
7823 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7825 # Allow CC to be a program name with arguments.
7828 # Save the default compiler, since it gets overwritten when the other
7829 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7830 compiler_DEFAULT=$CC
7832 # save warnings/boilerplate of simple test code
7833 ac_outfile=conftest.$ac_objext
7834 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7835 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7836 _lt_compiler_boilerplate=`cat conftest.err`
7839 ac_outfile=conftest.$ac_objext
7840 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7841 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7842 _lt_linker_boilerplate=`cat conftest.err`
7847 ## There is no encapsulation within the following macros, do not change
7848 ## the running order or otherwise move them around unless you know exactly
7849 ## what you are doing...
7850 if test -n "$compiler"; then
7852 lt_prog_compiler_no_builtin_flag=
7854 if test "$GCC" = yes; then
7855 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7858 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7859 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7860 $as_echo_n "(cached) " >&6
7862 lt_cv_prog_compiler_rtti_exceptions=no
7863 ac_outfile=conftest.$ac_objext
7864 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7865 lt_compiler_flag="-fno-rtti -fno-exceptions"
7866 # Insert the option either (1) after the last *FLAGS variable, or
7867 # (2) before a word containing "conftest.", or (3) at the end.
7868 # Note that $ac_compile itself does not contain backslashes and begins
7869 # with a dollar sign (not a hyphen), so the echo should work correctly.
7870 # The option is referenced via a variable to avoid confusing sed.
7871 lt_compile=`echo "$ac_compile" | $SED \
7872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7874 -e 's:$: $lt_compiler_flag:'`
7875 (eval echo "\"\$as_me:7875: $lt_compile\"" >&5)
7876 (eval "$lt_compile" 2>conftest.err)
7878 cat conftest.err >&5
7879 echo "$as_me:7879: \$? = $ac_status" >&5
7880 if (exit $ac_status) && test -s "$ac_outfile"; then
7881 # The compiler can only warn and ignore the option if not recognized
7882 # So say no if there are warnings other than the usual output.
7883 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7884 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7885 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7886 lt_cv_prog_compiler_rtti_exceptions=yes
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7893 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7895 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7896 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7908 lt_prog_compiler_wl=
7909 lt_prog_compiler_pic=
7910 lt_prog_compiler_static=
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7913 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7915 if test "$GCC" = yes; then
7916 lt_prog_compiler_wl='-Wl,'
7917 lt_prog_compiler_static='-static'
7921 # All AIX code is PIC.
7922 if test "$host_cpu" = ia64; then
7923 # AIX 5 now supports IA64 processor
7924 lt_prog_compiler_static='-Bstatic'
7931 # see comment about AmigaOS4 .so support
7932 lt_prog_compiler_pic='-fPIC'
7935 # FIXME: we need at least 68020 code to build shared libraries, but
7936 # adding the `-m68020' flag to GCC prevents building anything better,
7938 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7943 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7944 # PIC is the default for these OSes.
7947 mingw* | cygwin* | pw32* | os2* | cegcc*)
7948 # This hack is so that the source file can tell whether it is being
7949 # built for inclusion in a dll (and should export symbols for example).
7950 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7951 # (--disable-auto-import) libraries
7952 lt_prog_compiler_pic='-DDLL_EXPORT'
7955 darwin* | rhapsody*)
7956 # PIC is the default on this platform
7957 # Common symbols not allowed in MH_DYLIB files
7958 lt_prog_compiler_pic='-fno-common'
7962 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7963 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7964 # sets the default TLS model and affects inlining.
7970 lt_prog_compiler_pic='-fPIC'
7976 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7977 # Instead, we relocate shared libraries at runtime.
7981 # Just because we use GCC doesn't mean we suddenly get shared libraries
7982 # on systems that don't support them.
7983 lt_prog_compiler_can_build_shared=no
7988 # QNX uses GNU C++, but need to define -shared option too, otherwise
7990 lt_prog_compiler_pic='-fPIC -shared'
7994 if test -d /usr/nec; then
7995 lt_prog_compiler_pic=-Kconform_pic
8000 lt_prog_compiler_pic='-fPIC'
8004 # PORTME Check for flag to pass linker flags through the system compiler.
8007 lt_prog_compiler_wl='-Wl,'
8008 if test "$host_cpu" = ia64; then
8009 # AIX 5 now supports IA64 processor
8010 lt_prog_compiler_static='-Bstatic'
8012 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8016 mingw* | cygwin* | pw32* | os2* | cegcc*)
8017 # This hack is so that the source file can tell whether it is being
8018 # built for inclusion in a dll (and should export symbols for example).
8019 lt_prog_compiler_pic='-DDLL_EXPORT'
8022 hpux9* | hpux10* | hpux11*)
8023 lt_prog_compiler_wl='-Wl,'
8024 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8031 lt_prog_compiler_pic='+Z'
8034 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8035 lt_prog_compiler_static='${wl}-a ${wl}archive'
8038 irix5* | irix6* | nonstopux*)
8039 lt_prog_compiler_wl='-Wl,'
8040 # PIC (with -KPIC) is the default.
8041 lt_prog_compiler_static='-non_shared'
8044 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8045 case $cc_basename in
8046 # old Intel for x86_64 which still supported -KPIC.
8048 lt_prog_compiler_wl='-Wl,'
8049 lt_prog_compiler_pic='-KPIC'
8050 lt_prog_compiler_static='-static'
8052 # icc used to be incompatible with GCC.
8053 # ICC 10 doesn't accept -KPIC any more.
8055 lt_prog_compiler_wl='-Wl,'
8056 lt_prog_compiler_pic='-fPIC'
8057 lt_prog_compiler_static='-static'
8059 # Lahey Fortran 8.1.
8061 lt_prog_compiler_wl='-Wl,'
8062 lt_prog_compiler_pic='--shared'
8063 lt_prog_compiler_static='--static'
8065 pgcc* | pgf77* | pgf90* | pgf95*)
8066 # Portland Group compilers (*not* the Pentium gcc compiler,
8067 # which looks to be a dead project)
8068 lt_prog_compiler_wl='-Wl,'
8069 lt_prog_compiler_pic='-fpic'
8070 lt_prog_compiler_static='-Bstatic'
8073 lt_prog_compiler_wl='-Wl,'
8074 # All Alpha code is PIC.
8075 lt_prog_compiler_static='-non_shared'
8078 # IBM XL C 8.0/Fortran 10.1 on PPC
8079 lt_prog_compiler_wl='-Wl,'
8080 lt_prog_compiler_pic='-qpic'
8081 lt_prog_compiler_static='-qstaticlink'
8084 case `$CC -V 2>&1 | sed 5q` in
8087 lt_prog_compiler_pic='-KPIC'
8088 lt_prog_compiler_static='-Bstatic'
8089 lt_prog_compiler_wl='-Wl,'
8092 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8093 lt_prog_compiler_pic='-KPIC'
8094 lt_prog_compiler_static='-Bstatic'
8095 lt_prog_compiler_wl=''
8103 lt_prog_compiler_pic='-KPIC'
8104 lt_prog_compiler_static='-Bstatic'
8108 # QNX uses GNU C++, but need to define -shared option too, otherwise
8110 lt_prog_compiler_pic='-fPIC -shared'
8113 osf3* | osf4* | osf5*)
8114 lt_prog_compiler_wl='-Wl,'
8115 # All OSF/1 code is PIC.
8116 lt_prog_compiler_static='-non_shared'
8120 lt_prog_compiler_static='-non_shared'
8124 lt_prog_compiler_pic='-KPIC'
8125 lt_prog_compiler_static='-Bstatic'
8126 case $cc_basename in
8128 lt_prog_compiler_wl='-Qoption ld ';;
8130 lt_prog_compiler_wl='-Wl,';;
8135 lt_prog_compiler_wl='-Qoption ld '
8136 lt_prog_compiler_pic='-PIC'
8137 lt_prog_compiler_static='-Bstatic'
8140 sysv4 | sysv4.2uw2* | sysv4.3*)
8141 lt_prog_compiler_wl='-Wl,'
8142 lt_prog_compiler_pic='-KPIC'
8143 lt_prog_compiler_static='-Bstatic'
8147 if test -d /usr/nec ;then
8148 lt_prog_compiler_pic='-Kconform_pic'
8149 lt_prog_compiler_static='-Bstatic'
8153 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8154 lt_prog_compiler_wl='-Wl,'
8155 lt_prog_compiler_pic='-KPIC'
8156 lt_prog_compiler_static='-Bstatic'
8160 lt_prog_compiler_wl='-Wl,'
8161 lt_prog_compiler_can_build_shared=no
8165 lt_prog_compiler_pic='-pic'
8166 lt_prog_compiler_static='-Bstatic'
8170 lt_prog_compiler_can_build_shared=no
8176 # For platforms which do not support PIC, -DPIC is meaningless:
8178 lt_prog_compiler_pic=
8181 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8185 $as_echo "$lt_prog_compiler_pic" >&6; }
8193 # Check to make sure the PIC flag actually works.
8195 if test -n "$lt_prog_compiler_pic"; then
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8197 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8198 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8199 $as_echo_n "(cached) " >&6
8201 lt_cv_prog_compiler_pic_works=no
8202 ac_outfile=conftest.$ac_objext
8203 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8204 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8205 # Insert the option either (1) after the last *FLAGS variable, or
8206 # (2) before a word containing "conftest.", or (3) at the end.
8207 # Note that $ac_compile itself does not contain backslashes and begins
8208 # with a dollar sign (not a hyphen), so the echo should work correctly.
8209 # The option is referenced via a variable to avoid confusing sed.
8210 lt_compile=`echo "$ac_compile" | $SED \
8211 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8212 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8213 -e 's:$: $lt_compiler_flag:'`
8214 (eval echo "\"\$as_me:8214: $lt_compile\"" >&5)
8215 (eval "$lt_compile" 2>conftest.err)
8217 cat conftest.err >&5
8218 echo "$as_me:8218: \$? = $ac_status" >&5
8219 if (exit $ac_status) && test -s "$ac_outfile"; then
8220 # The compiler can only warn and ignore the option if not recognized
8221 # So say no if there are warnings other than the usual output.
8222 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8223 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8224 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8225 lt_cv_prog_compiler_pic_works=yes
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8232 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8234 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8235 case $lt_prog_compiler_pic in
8237 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8240 lt_prog_compiler_pic=
8241 lt_prog_compiler_can_build_shared=no
8252 # Check to make sure the static flag actually works.
8254 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8256 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8257 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8258 $as_echo_n "(cached) " >&6
8260 lt_cv_prog_compiler_static_works=no
8261 save_LDFLAGS="$LDFLAGS"
8262 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8263 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8264 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8265 # The linker can only warn and ignore the option if not recognized
8266 # So say no if there are warnings
8267 if test -s conftest.err; then
8268 # Append any errors to the config.log.
8269 cat conftest.err 1>&5
8270 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8271 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8272 if diff conftest.exp conftest.er2 >/dev/null; then
8273 lt_cv_prog_compiler_static_works=yes
8276 lt_cv_prog_compiler_static_works=yes
8280 LDFLAGS="$save_LDFLAGS"
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8284 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8286 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8289 lt_prog_compiler_static=
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8299 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8300 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8301 $as_echo_n "(cached) " >&6
8303 lt_cv_prog_compiler_c_o=no
8304 $RM -r conftest 2>/dev/null
8308 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8310 lt_compiler_flag="-o out/conftest2.$ac_objext"
8311 # Insert the option either (1) after the last *FLAGS variable, or
8312 # (2) before a word containing "conftest.", or (3) at the end.
8313 # Note that $ac_compile itself does not contain backslashes and begins
8314 # with a dollar sign (not a hyphen), so the echo should work correctly.
8315 lt_compile=`echo "$ac_compile" | $SED \
8316 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8317 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8318 -e 's:$: $lt_compiler_flag:'`
8319 (eval echo "\"\$as_me:8319: $lt_compile\"" >&5)
8320 (eval "$lt_compile" 2>out/conftest.err)
8322 cat out/conftest.err >&5
8323 echo "$as_me:8323: \$? = $ac_status" >&5
8324 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8326 # The compiler can only warn and ignore the option if not recognized
8327 # So say no if there are warnings
8328 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8329 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8330 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8331 lt_cv_prog_compiler_c_o=yes
8336 # SGI C++ compiler will create directory out/ii_files/ for
8337 # template instantiation
8338 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8339 $RM out/* && rmdir out
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8346 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8354 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8355 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8356 $as_echo_n "(cached) " >&6
8358 lt_cv_prog_compiler_c_o=no
8359 $RM -r conftest 2>/dev/null
8363 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8365 lt_compiler_flag="-o out/conftest2.$ac_objext"
8366 # Insert the option either (1) after the last *FLAGS variable, or
8367 # (2) before a word containing "conftest.", or (3) at the end.
8368 # Note that $ac_compile itself does not contain backslashes and begins
8369 # with a dollar sign (not a hyphen), so the echo should work correctly.
8370 lt_compile=`echo "$ac_compile" | $SED \
8371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8373 -e 's:$: $lt_compiler_flag:'`
8374 (eval echo "\"\$as_me:8374: $lt_compile\"" >&5)
8375 (eval "$lt_compile" 2>out/conftest.err)
8377 cat out/conftest.err >&5
8378 echo "$as_me:8378: \$? = $ac_status" >&5
8379 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8381 # The compiler can only warn and ignore the option if not recognized
8382 # So say no if there are warnings
8383 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8384 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8385 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8386 lt_cv_prog_compiler_c_o=yes
8391 # SGI C++ compiler will create directory out/ii_files/ for
8392 # template instantiation
8393 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8394 $RM out/* && rmdir out
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8401 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8406 hard_links="nottested"
8407 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8408 # do not overwrite the value of need_locks provided by the user
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8410 $as_echo_n "checking if we can lock with hard links... " >&6; }
8413 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8415 ln conftest.a conftest.b 2>&5 || hard_links=no
8416 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8418 $as_echo "$hard_links" >&6; }
8419 if test "$hard_links" = no; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8421 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8434 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8437 allow_undefined_flag=
8438 always_export_symbols=no
8440 archive_expsym_cmds=
8441 compiler_needs_object=no
8442 enable_shared_with_static_runtimes=no
8443 export_dynamic_flag_spec=
8444 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8445 hardcode_automatic=no
8447 hardcode_direct_absolute=no
8448 hardcode_libdir_flag_spec=
8449 hardcode_libdir_flag_spec_ld=
8450 hardcode_libdir_separator=
8452 hardcode_shlibpath_var=unsupported
8454 link_all_deplibs=unknown
8457 old_archive_from_new_cmds=
8458 old_archive_from_expsyms_cmds=
8459 thread_safe_flag_spec=
8460 whole_archive_flag_spec=
8461 # include_expsyms should be a list of space-separated symbols to be *always*
8462 # included in the symbol list
8464 # exclude_expsyms can be an extended regexp of symbols to exclude
8465 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8466 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8467 # as well as any symbol that contains `d'.
8468 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8469 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8470 # platforms (ab)use it in PIC code, but their linkers get confused if
8471 # the symbol is explicitly referenced. Since portable code cannot
8472 # rely on this symbol name, it's probably fine to never include it in
8473 # preloaded symbol tables.
8474 # Exclude shared library initialization/finalization symbols.
8475 extract_expsyms_cmds=
8478 cygwin* | mingw* | pw32* | cegcc*)
8479 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8480 # When not using gcc, we currently assume that we are using
8481 # Microsoft Visual C++.
8482 if test "$GCC" != yes; then
8487 # we just hope/assume this is gcc and not c89 (= MSVC++)
8493 linux* | k*bsd*-gnu)
8499 if test "$with_gnu_ld" = yes; then
8500 # If archive_cmds runs LD, not CC, wlarc should be empty
8503 # Set some defaults for GNU ld with shared library support. These
8504 # are reset later if shared libraries are not supported. Putting them
8505 # here allows them to be overridden if necessary.
8506 runpath_var=LD_RUN_PATH
8507 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8508 export_dynamic_flag_spec='${wl}--export-dynamic'
8509 # ancient GNU ld didn't support --whole-archive et. al.
8510 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8511 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8513 whole_archive_flag_spec=
8515 supports_anon_versioning=no
8516 case `$LD -v 2>&1` in
8517 *GNU\ gold*) supports_anon_versioning=yes ;;
8518 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8519 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8520 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8521 *\ 2.11.*) ;; # other 2.11 versions
8522 *) supports_anon_versioning=yes ;;
8525 # See if GNU ld supports shared libraries.
8528 # On AIX/PPC, the GNU linker is very broken
8529 if test "$host_cpu" != ia64; then
8533 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8534 *** to be unable to reliably create shared libraries on AIX.
8535 *** Therefore, libtool is disabling shared libraries support. If you
8536 *** really care for shared libraries, you may want to modify your PATH
8537 *** so that a non-GNU linker is found, and then restart.
8546 # see comment about AmigaOS4 .so support
8547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8548 archive_expsym_cmds=''
8551 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)'
8552 hardcode_libdir_flag_spec='-L$libdir'
8553 hardcode_minus_L=yes
8559 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8560 allow_undefined_flag=unsupported
8561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8562 # support --undefined. This deserves some investigation. FIXME
8563 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8569 cygwin* | mingw* | pw32* | cegcc*)
8570 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8571 # as there is no search path for DLLs.
8572 hardcode_libdir_flag_spec='-L$libdir'
8573 allow_undefined_flag=unsupported
8574 always_export_symbols=no
8575 enable_shared_with_static_runtimes=yes
8576 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8578 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8579 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8580 # If the export-symbols file already is a .def file (1st line
8581 # is EXPORTS), use it as is; otherwise, prepend...
8582 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8583 cp $export_symbols $output_objdir/$soname.def;
8585 echo EXPORTS > $output_objdir/$soname.def;
8586 cat $export_symbols >> $output_objdir/$soname.def;
8588 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8596 hardcode_shlibpath_var=no
8597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8598 export_dynamic_flag_spec='${wl}-E'
8599 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8600 # Instead, shared libraries are loaded at an image base (0x10000000 by
8601 # default) and relocated if they conflict, which is a slow very memory
8602 # consuming and fragmenting process. To avoid this, we pick a random,
8603 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8604 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8605 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8606 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'
8609 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8611 if test "$host_os" = linux-dietlibc; then
8612 case $cc_basename in
8613 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8616 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8617 && test "$tmp_diet" = no
8620 tmp_sharedflag='-shared'
8621 case $cc_basename,$host_cpu in
8622 pgcc*) # Portland Group C compiler
8623 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'
8624 tmp_addflag=' $pic_flag'
8626 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8627 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'
8628 tmp_addflag=' $pic_flag -Mnomain' ;;
8629 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8630 tmp_addflag=' -i_dynamic' ;;
8631 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8632 tmp_addflag=' -i_dynamic -nofor_main' ;;
8633 ifc* | ifort*) # Intel Fortran compiler
8634 tmp_addflag=' -nofor_main' ;;
8635 lf95*) # Lahey Fortran 8.1
8636 whole_archive_flag_spec=
8637 tmp_sharedflag='--shared' ;;
8638 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8639 tmp_sharedflag='-qmkshrobj'
8642 case `$CC -V 2>&1 | sed 5q` in
8643 *Sun\ C*) # Sun C 5.9
8644 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'
8645 compiler_needs_object=yes
8646 tmp_sharedflag='-G' ;;
8647 *Sun\ F*) # Sun Fortran 8.3
8648 tmp_sharedflag='-G' ;;
8650 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652 if test "x$supports_anon_versioning" = xyes; then
8653 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655 echo "local: *; };" >> $output_objdir/$libname.ver~
8656 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8659 case $cc_basename in
8661 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8662 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8663 hardcode_libdir_flag_spec=
8664 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8665 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8666 if test "x$supports_anon_versioning" = xyes; then
8667 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8669 echo "local: *; };" >> $output_objdir/$libname.ver~
8670 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8679 netbsd* | netbsdelf*-gnu)
8680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8681 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8690 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8694 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8695 *** create shared libraries on Solaris systems. Therefore, libtool
8696 *** is disabling shared libraries support. We urge you to upgrade GNU
8697 *** binutils to release 2.9.1 or newer. Another option is to modify
8698 *** your PATH or compiler configuration so that the native linker is
8699 *** used, and then restart.
8702 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8703 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8711 case `$LD -v 2>&1` in
8712 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8716 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8717 *** reliably create shared libraries on SCO systems. Therefore, libtool
8718 *** is disabling shared libraries support. We urge you to upgrade GNU
8719 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8720 *** your PATH or compiler configuration so that the native linker is
8721 *** used, and then restart.
8726 # For security reasons, it is highly recommended that you always
8727 # use absolute paths for naming shared libraries, and exclude the
8728 # DT_RUNPATH tag from executables and libraries. But doing so
8729 # requires that you compile everything twice, which is a pain.
8730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8742 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8745 hardcode_shlibpath_var=no
8749 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8750 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8751 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8758 if test "$ld_shlibs" = no; then
8760 hardcode_libdir_flag_spec=
8761 export_dynamic_flag_spec=
8762 whole_archive_flag_spec=
8765 # PORTME fill in a description of your system's linker (not GNU ld)
8768 allow_undefined_flag=unsupported
8769 always_export_symbols=yes
8770 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'
8771 # Note: this linker hardcodes the directories in LIBPATH if there
8772 # are no directories specified by -L.
8773 hardcode_minus_L=yes
8774 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8775 # Neither direct hardcoding nor static linking is supported with a
8777 hardcode_direct=unsupported
8782 if test "$host_cpu" = ia64; then
8783 # On IA64, the linker does run time linking by default, so we don't
8784 # have to do anything special.
8785 aix_use_runtimelinking=no
8786 exp_sym_flag='-Bexport'
8789 # If we're using GNU nm, then we don't want the "-C" option.
8790 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8791 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8792 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'
8794 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'
8796 aix_use_runtimelinking=no
8798 # Test if we are trying to use run time linking or normal
8799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8800 # need to do runtime linking.
8801 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8802 for ld_flag in $LDFLAGS; do
8803 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8804 aix_use_runtimelinking=yes
8811 exp_sym_flag='-bexport'
8812 no_entry_flag='-bnoentry'
8815 # When large executables or shared objects are built, AIX ld can
8816 # have problems creating the table of contents. If linking a library
8817 # or program results in "error TOC overflow" add -mminimal-toc to
8818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8823 hardcode_direct_absolute=yes
8824 hardcode_libdir_separator=':'
8825 link_all_deplibs=yes
8826 file_list_spec='${wl}-f,'
8828 if test "$GCC" = yes; then
8829 case $host_os in aix4.[012]|aix4.[012].*)
8830 # We only want to do this on AIX 4.2 and lower, the check
8831 # below for broken collect2 doesn't work under 4.3+
8832 collect2name=`${CC} -print-prog-name=collect2`
8833 if test -f "$collect2name" &&
8834 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8836 # We have reworked collect2
8839 # We have old collect2
8840 hardcode_direct=unsupported
8841 # It fails to find uninstalled libraries when the uninstalled
8842 # path is not listed in the libpath. Setting hardcode_minus_L
8843 # to unsupported forces relinking
8844 hardcode_minus_L=yes
8845 hardcode_libdir_flag_spec='-L$libdir'
8846 hardcode_libdir_separator=
8850 shared_flag='-shared'
8851 if test "$aix_use_runtimelinking" = yes; then
8852 shared_flag="$shared_flag "'${wl}-G'
8857 if test "$host_cpu" = ia64; then
8858 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8859 # chokes on -Wl,-G. The following line is correct:
8862 if test "$aix_use_runtimelinking" = yes; then
8863 shared_flag='${wl}-G'
8865 shared_flag='${wl}-bM:SRE'
8870 export_dynamic_flag_spec='${wl}-bexpall'
8871 # It seems that -bexpall does not export symbols beginning with
8872 # underscore (_), so it is better to generate a list of symbols to export.
8873 always_export_symbols=yes
8874 if test "$aix_use_runtimelinking" = yes; then
8875 # Warning - without using the other runtime loading flags (-brtl),
8876 # -berok will link without error, but may produce a broken library.
8877 allow_undefined_flag='-berok'
8878 # Determine the default libpath from the value encoded in an
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8891 if ac_fn_c_try_link "$LINENO"; then :
8893 lt_aix_libpath_sed='
8894 /Import File Strings/,/^$/ {
8900 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8901 # Check for a 64-bit object if we didn't find anything.
8902 if test -z "$aix_libpath"; then
8903 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8910 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8911 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"
8913 if test "$host_cpu" = ia64; then
8914 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8915 allow_undefined_flag="-z nodefs"
8916 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"
8918 # Determine the default libpath from the value encoded in an
8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8931 if ac_fn_c_try_link "$LINENO"; then :
8933 lt_aix_libpath_sed='
8934 /Import File Strings/,/^$/ {
8940 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8941 # Check for a 64-bit object if we didn't find anything.
8942 if test -z "$aix_libpath"; then
8943 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8946 rm -f core conftest.err conftest.$ac_objext \
8947 conftest$ac_exeext conftest.$ac_ext
8948 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8950 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8951 # Warning - without using the other run time loading flags,
8952 # -berok will link without error, but may produce a broken library.
8953 no_undefined_flag=' ${wl}-bernotok'
8954 allow_undefined_flag=' ${wl}-berok'
8955 # Exported symbols can be pulled into shared objects from archives
8956 whole_archive_flag_spec='$convenience'
8957 archive_cmds_need_lc=yes
8958 # This is similar to how AIX traditionally builds its shared libraries.
8959 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'
8967 # see comment about AmigaOS4 .so support
8968 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8969 archive_expsym_cmds=''
8972 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)'
8973 hardcode_libdir_flag_spec='-L$libdir'
8974 hardcode_minus_L=yes
8980 export_dynamic_flag_spec=-rdynamic
8983 cygwin* | mingw* | pw32* | cegcc*)
8984 # When not using gcc, we currently assume that we are using
8985 # Microsoft Visual C++.
8986 # hardcode_libdir_flag_spec is actually meaningless, as there is
8987 # no search path for DLLs.
8988 hardcode_libdir_flag_spec=' '
8989 allow_undefined_flag=unsupported
8990 # Tell ltmain to make .lib files, not .a files.
8992 # Tell ltmain to make .dll files, not .so files.
8994 # FIXME: Setting linknames here is a bad hack.
8995 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8996 # The linker will automatically build a .lib file if we build a DLL.
8997 old_archive_from_new_cmds='true'
8998 # FIXME: Should let the user specify the lib program.
8999 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9000 fix_srcfile_path='`cygpath -w "$srcfile"`'
9001 enable_shared_with_static_runtimes=yes
9004 darwin* | rhapsody*)
9007 archive_cmds_need_lc=no
9009 hardcode_automatic=yes
9010 hardcode_shlibpath_var=unsupported
9011 whole_archive_flag_spec=''
9012 link_all_deplibs=yes
9013 allow_undefined_flag="$_lt_dar_allow_undefined"
9014 case $cc_basename in
9015 ifort*) _lt_dar_can_shared=yes ;;
9016 *) _lt_dar_can_shared=$GCC ;;
9018 if test "$_lt_dar_can_shared" = "yes"; then
9019 output_verbose_link_cmd=echo
9020 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9021 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9022 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}"
9023 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}"
9032 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9033 hardcode_libdir_flag_spec='-L$libdir'
9034 hardcode_shlibpath_var=no
9041 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9042 # support. Future versions do this automatically, but an explicit c++rt0.o
9043 # does not break anything, and helps significantly (at the cost of a little
9046 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9047 hardcode_libdir_flag_spec='-R$libdir'
9049 hardcode_shlibpath_var=no
9052 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9054 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9056 hardcode_minus_L=yes
9057 hardcode_shlibpath_var=no
9060 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9061 freebsd* | dragonfly*)
9062 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9063 hardcode_libdir_flag_spec='-R$libdir'
9065 hardcode_shlibpath_var=no
9069 if test "$GCC" = yes; then
9070 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'
9072 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'
9074 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9075 hardcode_libdir_separator=:
9078 # hardcode_minus_L: Not really in the search PATH,
9079 # but as the default location of the library.
9080 hardcode_minus_L=yes
9081 export_dynamic_flag_spec='${wl}-E'
9085 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9086 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9088 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9090 if test "$with_gnu_ld" = no; then
9091 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9092 hardcode_libdir_flag_spec_ld='+b $libdir'
9093 hardcode_libdir_separator=:
9095 hardcode_direct_absolute=yes
9096 export_dynamic_flag_spec='${wl}-E'
9097 # hardcode_minus_L: Not really in the search PATH,
9098 # but as the default location of the library.
9099 hardcode_minus_L=yes
9104 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9107 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9110 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9113 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9119 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9122 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9129 if test "$with_gnu_ld" = no; then
9130 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9131 hardcode_libdir_separator=:
9136 hardcode_shlibpath_var=no
9140 hardcode_direct_absolute=yes
9141 export_dynamic_flag_spec='${wl}-E'
9143 # hardcode_minus_L: Not really in the search PATH,
9144 # but as the default location of the library.
9145 hardcode_minus_L=yes
9151 irix5* | irix6* | nonstopux*)
9152 if test "$GCC" = yes; then
9153 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'
9154 # Try to use the -exported_symbol ld option, if it does not
9155 # work, assume that -exports_file does not work either and
9156 # implicitly export all symbols.
9157 save_LDFLAGS="$LDFLAGS"
9158 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 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'
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 LDFLAGS="$save_LDFLAGS"
9171 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'
9172 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'
9174 archive_cmds_need_lc='no'
9175 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9176 hardcode_libdir_separator=:
9178 link_all_deplibs=yes
9181 netbsd* | netbsdelf*-gnu)
9182 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9183 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9185 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9187 hardcode_libdir_flag_spec='-R$libdir'
9189 hardcode_shlibpath_var=no
9193 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9195 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9196 hardcode_libdir_separator=:
9197 hardcode_shlibpath_var=no
9204 if test -f /usr/libexec/ld.so; then
9206 hardcode_shlibpath_var=no
9207 hardcode_direct_absolute=yes
9208 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9209 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9210 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9211 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9212 export_dynamic_flag_spec='${wl}-E'
9215 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9216 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9217 hardcode_libdir_flag_spec='-R$libdir'
9220 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9221 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9231 hardcode_libdir_flag_spec='-L$libdir'
9232 hardcode_minus_L=yes
9233 allow_undefined_flag=unsupported
9234 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'
9235 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9239 if test "$GCC" = yes; then
9240 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9241 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'
9243 allow_undefined_flag=' -expect_unresolved \*'
9244 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'
9246 archive_cmds_need_lc='no'
9247 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9248 hardcode_libdir_separator=:
9251 osf4* | osf5*) # as osf3* with the addition of -msym flag
9252 if test "$GCC" = yes; then
9253 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9254 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'
9255 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9257 allow_undefined_flag=' -expect_unresolved \*'
9258 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'
9259 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~
9260 $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'
9262 # Both c and cxx compiler support -rpath directly
9263 hardcode_libdir_flag_spec='-rpath $libdir'
9265 archive_cmds_need_lc='no'
9266 hardcode_libdir_separator=:
9270 no_undefined_flag=' -z defs'
9271 if test "$GCC" = yes; then
9273 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9274 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9275 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9277 case `$CC -V 2>&1` in
9280 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9281 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9282 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9286 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9287 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9288 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9292 hardcode_libdir_flag_spec='-R$libdir'
9293 hardcode_shlibpath_var=no
9295 solaris2.[0-5] | solaris2.[0-5].*) ;;
9297 # The compiler driver will combine and reorder linker options,
9298 # but understands `-z linker_flag'. GCC discards it without `$wl',
9299 # but is careful enough not to reorder.
9300 # Supported since Solaris 2.6 (maybe 2.5.1?)
9301 if test "$GCC" = yes; then
9302 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9304 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9308 link_all_deplibs=yes
9312 if test "x$host_vendor" = xsequent; then
9313 # Use $CC to link under sequent, because it throws in some extra .o
9314 # files that make .init and .fini sections work.
9315 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_libdir_flag_spec='-L$libdir'
9321 hardcode_minus_L=yes
9322 hardcode_shlibpath_var=no
9326 case $host_vendor in
9328 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9329 hardcode_direct=yes # is this really true???
9332 ## LD is ld it makes a PLAMLIB
9333 ## CC just makes a GrossModule.
9334 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9335 reload_cmds='$CC -r -o $output$reload_objs'
9339 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9340 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9343 runpath_var='LD_RUN_PATH'
9344 hardcode_shlibpath_var=no
9348 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9349 hardcode_shlibpath_var=no
9350 export_dynamic_flag_spec='-Bexport'
9354 if test -d /usr/nec; then
9355 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9356 hardcode_shlibpath_var=no
9357 runpath_var=LD_RUN_PATH
9358 hardcode_runpath_var=yes
9363 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9364 no_undefined_flag='${wl}-z,text'
9365 archive_cmds_need_lc=no
9366 hardcode_shlibpath_var=no
9367 runpath_var='LD_RUN_PATH'
9369 if test "$GCC" = yes; then
9370 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9371 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9373 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9374 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9378 sysv5* | sco3.2v5* | sco5v6*)
9379 # Note: We can NOT use -z defs as we might desire, because we do not
9380 # link with -lc, and that would cause any symbols used from libc to
9381 # always be unresolved, which means just about no library would
9382 # ever link correctly. If we're not using GNU ld we use -z text
9383 # though, which does catch some bad symbols but isn't as heavy-handed
9385 no_undefined_flag='${wl}-z,text'
9386 allow_undefined_flag='${wl}-z,nodefs'
9387 archive_cmds_need_lc=no
9388 hardcode_shlibpath_var=no
9389 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9390 hardcode_libdir_separator=':'
9391 link_all_deplibs=yes
9392 export_dynamic_flag_spec='${wl}-Bexport'
9393 runpath_var='LD_RUN_PATH'
9395 if test "$GCC" = yes; then
9396 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9397 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9399 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9406 hardcode_libdir_flag_spec='-L$libdir'
9407 hardcode_shlibpath_var=no
9415 if test x$host_vendor = xsni; then
9417 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9418 export_dynamic_flag_spec='${wl}-Blargedynsym'
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9425 $as_echo "$ld_shlibs" >&6; }
9426 test "$ld_shlibs" = no && can_build_shared=no
9428 with_gnu_ld=$with_gnu_ld
9445 # Do we need to explicitly link libc?
9447 case "x$archive_cmds_need_lc" in
9449 # Assume -lc should be added
9450 archive_cmds_need_lc=yes
9452 if test "$enable_shared" = yes && test "$GCC" = yes; then
9453 case $archive_cmds in
9455 # FIXME: we may have to deal with multi-command sequences.
9458 # Test whether the compiler implicitly links with -lc since on some
9459 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9460 # to ld, don't add -lc before -lgcc.
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9462 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9467 (eval $ac_compile) 2>&5
9469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9470 test $ac_status = 0; } 2>conftest.err; then
9473 libobjs=conftest.$ac_objext
9475 wl=$lt_prog_compiler_wl
9476 pic_flag=$lt_prog_compiler_pic
9482 lt_save_allow_undefined_flag=$allow_undefined_flag
9483 allow_undefined_flag=
9484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9485 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9488 test $ac_status = 0; }
9490 archive_cmds_need_lc=no
9492 archive_cmds_need_lc=yes
9494 allow_undefined_flag=$lt_save_allow_undefined_flag
9496 cat conftest.err 1>&5
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9500 $as_echo "$archive_cmds_need_lc" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9664 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9666 if test "$GCC" = yes; then
9668 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9669 *) lt_awk_arg="/^libraries:/" ;;
9671 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9672 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9673 # if the path contains ";" then we assume it to be the separator
9674 # otherwise default to the standard path separator (i.e. ":") - it is
9675 # assumed that no part of a normal pathname contains ";" but that should
9676 # okay in the real world where ";" in dirpaths is itself problematic.
9677 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9679 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9681 # Ok, now we have the path, separated by spaces, we can step through it
9682 # and add multilib dir if necessary.
9683 lt_tmp_lt_search_path_spec=
9684 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9685 for lt_sys_path in $lt_search_path_spec; do
9686 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9687 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9689 test -d "$lt_sys_path" && \
9690 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9693 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9694 BEGIN {RS=" "; FS="/|\n";} {
9697 for (lt_i = NF; lt_i > 0; lt_i--) {
9698 if ($lt_i != "" && $lt_i != ".") {
9699 if ($lt_i == "..") {
9702 if (lt_count == 0) {
9703 lt_foo="/" $lt_i lt_foo;
9710 if (lt_foo != "") { lt_freq[lt_foo]++; }
9711 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9713 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9715 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9718 libname_spec='lib$name'
9726 shlibpath_overrides_runpath=unknown
9728 dynamic_linker="$host_os ld.so"
9729 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9730 need_lib_prefix=unknown
9731 hardcode_into_libs=no
9733 # when you set need_version to no, make sure it does not cause -set_version
9734 # flags to be left without arguments
9735 need_version=unknown
9740 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9741 shlibpath_var=LIBPATH
9743 # AIX 3 has no versioning support, so we append a major version to the name.
9744 soname_spec='${libname}${release}${shared_ext}$major'
9751 hardcode_into_libs=yes
9752 if test "$host_cpu" = ia64; then
9753 # AIX 5 supports IA64
9754 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9755 shlibpath_var=LD_LIBRARY_PATH
9757 # With GCC up to 2.95.x, collect2 would create an import file
9758 # for dependence libraries. The import file would start with
9759 # the line `#! .'. This would cause the generated library to
9760 # depend on `.', always an invalid library. This was fixed in
9761 # development snapshots of GCC prior to 3.0.
9763 aix4 | aix4.[01] | aix4.[01].*)
9764 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9766 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9773 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9774 # soname into executable. Probably we can add versioning support to
9775 # collect2, so additional links can be useful in future.
9776 if test "$aix_use_runtimelinking" = yes; then
9777 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9778 # instead of lib<name>.a to let people know that these are not
9779 # typical AIX shared libraries.
9780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9782 # We preserve .a as extension for shared libraries through AIX4.2
9783 # and later when we are not doing run time linking.
9784 library_names_spec='${libname}${release}.a $libname.a'
9785 soname_spec='${libname}${release}${shared_ext}$major'
9787 shlibpath_var=LIBPATH
9794 # Since July 2007 AmigaOS4 officially supports .so libraries.
9795 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9799 library_names_spec='$libname.ixlibrary $libname.a'
9800 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9801 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'
9807 library_names_spec='${libname}${shared_ext}'
9808 dynamic_linker="$host_os ld.so"
9809 shlibpath_var=LIBRARY_PATH
9815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9816 soname_spec='${libname}${release}${shared_ext}$major'
9817 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9818 shlibpath_var=LD_LIBRARY_PATH
9819 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9820 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9821 # the default ld.so.conf also contains /usr/contrib/lib and
9822 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9823 # libtool to hard-code these into programs
9826 cygwin* | mingw* | pw32* | cegcc*)
9827 version_type=windows
9832 case $GCC,$host_os in
9833 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9834 library_names_spec='$libname.dll.a'
9835 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9836 postinstall_cmds='base_file=`basename \${file}`~
9837 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9838 dldir=$destdir/`dirname \$dlpath`~
9839 test -d \$dldir || mkdir -p \$dldir~
9840 $install_prog $dir/$dlname \$dldir/$dlname~
9841 chmod a+x \$dldir/$dlname~
9842 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9843 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9845 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9846 dlpath=$dir/\$dldll~
9848 shlibpath_overrides_runpath=yes
9852 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9853 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9854 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9857 # MinGW DLLs use traditional 'lib' prefix
9858 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9859 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9860 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9861 # It is most probably a Windows format PATH printed by
9862 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9863 # path with ; separators, and with drive letters. We can handle the
9864 # drive letters (cygwin fileutils understands them), so leave them,
9865 # especially as we might pass files found there to a mingw objdump,
9866 # which wouldn't understand a cygwinified path. Ahh.
9867 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9869 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9873 # pw32 DLLs use 'pw' prefix rather than 'lib'
9874 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9880 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9883 dynamic_linker='Win32 ld.exe'
9884 # FIXME: first we should search . and the directory the executable is in
9888 darwin* | rhapsody*)
9889 dynamic_linker="$host_os dyld"
9893 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9894 soname_spec='${libname}${release}${major}$shared_ext'
9895 shlibpath_overrides_runpath=yes
9896 shlibpath_var=DYLD_LIBRARY_PATH
9897 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9899 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9900 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9908 soname_spec='${libname}${release}${shared_ext}$major'
9909 shlibpath_var=LD_LIBRARY_PATH
9916 freebsd* | dragonfly*)
9917 # DragonFly does not have aout. When/if they implement a new
9918 # versioning mechanism, adjust this.
9919 if test -x /usr/bin/objformat; then
9920 objformat=`/usr/bin/objformat`
9923 freebsd[123]*) objformat=aout ;;
9927 version_type=freebsd-$objformat
9928 case $version_type in
9930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9935 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9939 shlibpath_var=LD_LIBRARY_PATH
9942 shlibpath_overrides_runpath=yes
9944 freebsd3.[01]* | freebsdelf3.[01]*)
9945 shlibpath_overrides_runpath=yes
9946 hardcode_into_libs=yes
9948 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9949 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9950 shlibpath_overrides_runpath=no
9951 hardcode_into_libs=yes
9953 *) # from 4.6 on, and DragonFly
9954 shlibpath_overrides_runpath=yes
9955 hardcode_into_libs=yes
9964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9965 soname_spec='${libname}${release}${shared_ext}$major'
9966 shlibpath_var=LD_LIBRARY_PATH
9967 hardcode_into_libs=yes
9970 hpux9* | hpux10* | hpux11*)
9971 # Give a soname corresponding to the major version so that dld.sl refuses to
9972 # link against other versions.
9979 hardcode_into_libs=yes
9980 dynamic_linker="$host_os dld.so"
9981 shlibpath_var=LD_LIBRARY_PATH
9982 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 soname_spec='${libname}${release}${shared_ext}$major'
9985 if test "X$HPUX_IA64_MODE" = X32; then
9986 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9988 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9990 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9994 hardcode_into_libs=yes
9995 dynamic_linker="$host_os dld.sl"
9996 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9997 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999 soname_spec='${libname}${release}${shared_ext}$major'
10000 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10001 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10005 dynamic_linker="$host_os dld.sl"
10006 shlibpath_var=SHLIB_PATH
10007 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10009 soname_spec='${libname}${release}${shared_ext}$major'
10012 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10013 postinstall_cmds='chmod 555 $lib'
10020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10021 soname_spec='${libname}${release}${shared_ext}$major'
10022 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10023 shlibpath_var=LD_LIBRARY_PATH
10024 shlibpath_overrides_runpath=no
10025 hardcode_into_libs=yes
10028 irix5* | irix6* | nonstopux*)
10030 nonstopux*) version_type=nonstopux ;;
10032 if test "$lt_cv_prog_gnu_ld" = yes; then
10040 soname_spec='${libname}${release}${shared_ext}$major'
10041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10043 irix5* | nonstopux*)
10044 libsuff= shlibsuff=
10047 case $LD in # libtool.m4 will add one of these switches to LD
10048 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10049 libsuff= shlibsuff= libmagic=32-bit;;
10050 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10051 libsuff=32 shlibsuff=N32 libmagic=N32;;
10052 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10053 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10054 *) libsuff= shlibsuff= libmagic=never-match;;
10058 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10059 shlibpath_overrides_runpath=no
10060 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10061 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10062 hardcode_into_libs=yes
10065 # No shared lib support for Linux oldld, aout, or coff.
10066 linux*oldld* | linux*aout* | linux*coff*)
10070 # This must be Linux ELF.
10071 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10076 soname_spec='${libname}${release}${shared_ext}$major'
10077 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10078 shlibpath_var=LD_LIBRARY_PATH
10079 shlibpath_overrides_runpath=no
10080 # Some binutils ld are patched to set DT_RUNPATH
10081 save_LDFLAGS=$LDFLAGS
10082 save_libdir=$libdir
10083 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10084 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10098 shlibpath_overrides_runpath=yes
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 LDFLAGS=$save_LDFLAGS
10104 libdir=$save_libdir
10106 # This implies no fast_install, which is unacceptable.
10107 # Some rework will be needed to allow for fast_install
10108 # before this can be enabled.
10109 hardcode_into_libs=yes
10111 # Append ld.so.conf contents to the search path
10112 if test -f /etc/ld.so.conf; then
10113 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' ' '`
10114 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10117 # We used to test for /lib/ld.so.1 and disable shared libraries on
10118 # powerpc, because MkLinux only supported shared libraries with the
10119 # GNU dynamic linker. Since this was broken with cross compilers,
10120 # most powerpc-linux boxes support dynamic linking these days and
10121 # people can always --disable-shared, the test was removed, and we
10122 # assume the GNU/Linux dynamic linker is in use.
10123 dynamic_linker='GNU/Linux ld.so'
10130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10131 soname_spec='${libname}${release}${shared_ext}$major'
10132 shlibpath_var=LD_LIBRARY_PATH
10133 shlibpath_overrides_runpath=no
10134 hardcode_into_libs=yes
10135 dynamic_linker='NetBSD ld.elf_so'
10142 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10144 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10145 dynamic_linker='NetBSD (a.out) ld.so'
10147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10148 soname_spec='${libname}${release}${shared_ext}$major'
10149 dynamic_linker='NetBSD ld.elf_so'
10151 shlibpath_var=LD_LIBRARY_PATH
10152 shlibpath_overrides_runpath=yes
10153 hardcode_into_libs=yes
10158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10159 shlibpath_var=LD_LIBRARY_PATH
10160 shlibpath_overrides_runpath=yes
10167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10168 soname_spec='${libname}${release}${shared_ext}$major'
10169 shlibpath_var=LD_LIBRARY_PATH
10170 shlibpath_overrides_runpath=no
10171 hardcode_into_libs=yes
10172 dynamic_linker='ldqnx.so'
10177 sys_lib_dlsearch_path_spec="/usr/lib"
10179 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10181 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10182 *) need_version=no ;;
10184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10185 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10186 shlibpath_var=LD_LIBRARY_PATH
10187 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10189 openbsd2.[89] | openbsd2.[89].*)
10190 shlibpath_overrides_runpath=no
10193 shlibpath_overrides_runpath=yes
10197 shlibpath_overrides_runpath=yes
10202 libname_spec='$name'
10205 library_names_spec='$libname${shared_ext} $libname.a'
10206 dynamic_linker='OS/2 ld.exe'
10207 shlibpath_var=LIBPATH
10210 osf3* | osf4* | osf5*)
10214 soname_spec='${libname}${release}${shared_ext}$major'
10215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10216 shlibpath_var=LD_LIBRARY_PATH
10217 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10218 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10230 soname_spec='${libname}${release}${shared_ext}$major'
10231 shlibpath_var=LD_LIBRARY_PATH
10232 shlibpath_overrides_runpath=yes
10233 hardcode_into_libs=yes
10234 # ldd complains unless libraries are executable
10235 postinstall_cmds='chmod +x $lib'
10240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10241 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10242 shlibpath_var=LD_LIBRARY_PATH
10243 shlibpath_overrides_runpath=yes
10244 if test "$with_gnu_ld" = yes; then
10252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10253 soname_spec='${libname}${release}${shared_ext}$major'
10254 shlibpath_var=LD_LIBRARY_PATH
10255 case $host_vendor in
10257 shlibpath_overrides_runpath=no
10259 runpath_var=LD_RUN_PATH
10267 shlibpath_overrides_runpath=no
10268 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10274 if test -d /usr/nec ;then
10276 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10277 soname_spec='$libname${shared_ext}.$major'
10278 shlibpath_var=LD_LIBRARY_PATH
10282 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10283 version_type=freebsd-elf
10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10287 soname_spec='${libname}${release}${shared_ext}$major'
10288 shlibpath_var=LD_LIBRARY_PATH
10289 shlibpath_overrides_runpath=yes
10290 hardcode_into_libs=yes
10291 if test "$with_gnu_ld" = yes; then
10292 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10294 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10297 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10301 sys_lib_dlsearch_path_spec='/usr/lib'
10305 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10310 shlibpath_var=LD_LIBRARY_PATH
10311 shlibpath_overrides_runpath=no
10312 hardcode_into_libs=yes
10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 soname_spec='${libname}${release}${shared_ext}$major'
10319 shlibpath_var=LD_LIBRARY_PATH
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10327 $as_echo "$dynamic_linker" >&6; }
10328 test "$dynamic_linker" = no && can_build_shared=no
10330 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10331 if test "$GCC" = yes; then
10332 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10335 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10336 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10338 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10339 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10429 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10431 if test -n "$hardcode_libdir_flag_spec" ||
10432 test -n "$runpath_var" ||
10433 test "X$hardcode_automatic" = "Xyes" ; then
10435 # We can hardcode non-existent directories.
10436 if test "$hardcode_direct" != no &&
10437 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10438 # have to relink, otherwise we might link with an installed library
10439 # when we should be linking with a yet-to-be-installed one
10440 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10441 test "$hardcode_minus_L" != no; then
10442 # Linking always hardcodes the temporary library directory.
10443 hardcode_action=relink
10445 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10446 hardcode_action=immediate
10449 # We cannot hardcode anything, or else we can only hardcode existing
10451 hardcode_action=unsupported
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10454 $as_echo "$hardcode_action" >&6; }
10456 if test "$hardcode_action" = relink ||
10457 test "$inherit_rpath" = yes; then
10458 # Fast installation is not supported
10459 enable_fast_install=no
10460 elif test "$shlibpath_overrides_runpath" = yes ||
10461 test "$enable_shared" = no; then
10462 # Fast installation is not necessary
10463 enable_fast_install=needless
10471 if test "x$enable_dlopen" != xyes; then
10472 enable_dlopen=unknown
10473 enable_dlopen_self=unknown
10474 enable_dlopen_self_static=unknown
10481 lt_cv_dlopen="load_add_on"
10483 lt_cv_dlopen_self=yes
10486 mingw* | pw32* | cegcc*)
10487 lt_cv_dlopen="LoadLibrary"
10492 lt_cv_dlopen="dlopen"
10497 # if libdl is installed we need to link against it
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10499 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10500 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10501 $as_echo_n "(cached) " >&6
10503 ac_check_lib_save_LIBS=$LIBS
10505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10523 if ac_fn_c_try_link "$LINENO"; then :
10524 ac_cv_lib_dl_dlopen=yes
10526 ac_cv_lib_dl_dlopen=no
10528 rm -f core conftest.err conftest.$ac_objext \
10529 conftest$ac_exeext conftest.$ac_ext
10530 LIBS=$ac_check_lib_save_LIBS
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10533 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10534 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10535 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10538 lt_cv_dlopen="dyld"
10540 lt_cv_dlopen_self=yes
10547 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10548 if test "x$ac_cv_func_shl_load" = x""yes; then :
10549 lt_cv_dlopen="shl_load"
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10552 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10553 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10554 $as_echo_n "(cached) " >&6
10556 ac_check_lib_save_LIBS=$LIBS
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10571 return shl_load ();
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 ac_cv_lib_dld_shl_load=yes
10579 ac_cv_lib_dld_shl_load=no
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS=$ac_check_lib_save_LIBS
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10586 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10587 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10588 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10590 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10591 if test "x$ac_cv_func_dlopen" = x""yes; then :
10592 lt_cv_dlopen="dlopen"
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10595 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10596 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10597 $as_echo_n "(cached) " >&6
10599 ac_check_lib_save_LIBS=$LIBS
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10604 /* Override any GCC internal prototype to avoid an error.
10605 Use char because int might match the return type of a GCC
10606 builtin and then its argument prototype would still apply. */
10619 if ac_fn_c_try_link "$LINENO"; then :
10620 ac_cv_lib_dl_dlopen=yes
10622 ac_cv_lib_dl_dlopen=no
10624 rm -f core conftest.err conftest.$ac_objext \
10625 conftest$ac_exeext conftest.$ac_ext
10626 LIBS=$ac_check_lib_save_LIBS
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10629 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10630 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10631 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10634 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10635 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10636 $as_echo_n "(cached) " >&6
10638 ac_check_lib_save_LIBS=$LIBS
10639 LIBS="-lsvld $LIBS"
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10643 /* Override any GCC internal prototype to avoid an error.
10644 Use char because int might match the return type of a GCC
10645 builtin and then its argument prototype would still apply. */
10658 if ac_fn_c_try_link "$LINENO"; then :
10659 ac_cv_lib_svld_dlopen=yes
10661 ac_cv_lib_svld_dlopen=no
10663 rm -f core conftest.err conftest.$ac_objext \
10664 conftest$ac_exeext conftest.$ac_ext
10665 LIBS=$ac_check_lib_save_LIBS
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10668 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10669 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10670 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10673 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10674 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10675 $as_echo_n "(cached) " >&6
10677 ac_check_lib_save_LIBS=$LIBS
10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10692 return dld_link ();
10697 if ac_fn_c_try_link "$LINENO"; then :
10698 ac_cv_lib_dld_dld_link=yes
10700 ac_cv_lib_dld_dld_link=no
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LIBS=$ac_check_lib_save_LIBS
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10707 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10708 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10709 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10730 if test "x$lt_cv_dlopen" != xno; then
10736 case $lt_cv_dlopen in
10738 save_CPPFLAGS="$CPPFLAGS"
10739 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10741 save_LDFLAGS="$LDFLAGS"
10742 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10745 LIBS="$lt_cv_dlopen_libs $LIBS"
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10748 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10749 if test "${lt_cv_dlopen_self+set}" = set; then :
10750 $as_echo_n "(cached) " >&6
10752 if test "$cross_compiling" = yes; then :
10753 lt_cv_dlopen_self=cross
10755 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10756 lt_status=$lt_dlunknown
10757 cat > conftest.$ac_ext <<_LT_EOF
10758 #line 10758 "configure"
10759 #include "confdefs.h"
10768 # define LT_DLGLOBAL RTLD_GLOBAL
10771 # define LT_DLGLOBAL DL_GLOBAL
10773 # define LT_DLGLOBAL 0
10777 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10778 find out it does not work in some platform. */
10779 #ifndef LT_DLLAZY_OR_NOW
10781 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10784 # define LT_DLLAZY_OR_NOW DL_LAZY
10787 # define LT_DLLAZY_OR_NOW RTLD_NOW
10790 # define LT_DLLAZY_OR_NOW DL_NOW
10792 # define LT_DLLAZY_OR_NOW 0
10799 void fnord() { int i=42;}
10802 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10803 int status = $lt_dlunknown;
10807 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10808 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10809 /* dlclose (self); */
10817 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10818 (eval $ac_link) 2>&5
10820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10821 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10822 (./conftest; exit; ) >&5 2>/dev/null
10824 case x$lt_status in
10825 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10826 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10827 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10830 # compilation failed
10831 lt_cv_dlopen_self=no
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10839 $as_echo "$lt_cv_dlopen_self" >&6; }
10841 if test "x$lt_cv_dlopen_self" = xyes; then
10842 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10844 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10845 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10846 $as_echo_n "(cached) " >&6
10848 if test "$cross_compiling" = yes; then :
10849 lt_cv_dlopen_self_static=cross
10851 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10852 lt_status=$lt_dlunknown
10853 cat > conftest.$ac_ext <<_LT_EOF
10854 #line 10854 "configure"
10855 #include "confdefs.h"
10864 # define LT_DLGLOBAL RTLD_GLOBAL
10867 # define LT_DLGLOBAL DL_GLOBAL
10869 # define LT_DLGLOBAL 0
10873 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10874 find out it does not work in some platform. */
10875 #ifndef LT_DLLAZY_OR_NOW
10877 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10880 # define LT_DLLAZY_OR_NOW DL_LAZY
10883 # define LT_DLLAZY_OR_NOW RTLD_NOW
10886 # define LT_DLLAZY_OR_NOW DL_NOW
10888 # define LT_DLLAZY_OR_NOW 0
10895 void fnord() { int i=42;}
10898 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10899 int status = $lt_dlunknown;
10903 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10904 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10905 /* dlclose (self); */
10913 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10914 (eval $ac_link) 2>&5
10916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10917 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10918 (./conftest; exit; ) >&5 2>/dev/null
10920 case x$lt_status in
10921 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10922 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10923 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10926 # compilation failed
10927 lt_cv_dlopen_self_static=no
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10935 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10938 CPPFLAGS="$save_CPPFLAGS"
10939 LDFLAGS="$save_LDFLAGS"
10944 case $lt_cv_dlopen_self in
10945 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10946 *) enable_dlopen_self=unknown ;;
10949 case $lt_cv_dlopen_self_static in
10950 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10951 *) enable_dlopen_self_static=unknown ;;
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10974 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10975 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10976 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10977 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10979 $as_echo "yes" >&6; }
10981 # FIXME - insert some real tests, host_os isn't really good enough
10984 if test -n "$STRIP" ; then
10985 striplib="$STRIP -x"
10986 old_striplib="$STRIP -S"
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10988 $as_echo "yes" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10991 $as_echo "no" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10996 $as_echo "no" >&6; }
11012 # Report which library types will actually be built
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11014 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11016 $as_echo "$can_build_shared" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11019 $as_echo_n "checking whether to build shared libraries... " >&6; }
11020 test "$can_build_shared" = "no" && enable_shared=no
11022 # On AIX, shared libraries and static libraries use the same namespace, and
11023 # are all built from PIC.
11026 test "$enable_shared" = yes && enable_static=no
11027 if test -n "$RANLIB"; then
11028 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11029 postinstall_cmds='$RANLIB $lib'
11034 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11035 test "$enable_shared" = yes && enable_static=no
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11040 $as_echo "$enable_shared" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11043 $as_echo_n "checking whether to build static libraries... " >&6; }
11044 # Make sure either enable_shared or enable_static is yes.
11045 test "$enable_shared" = yes || enable_static=yes
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11047 $as_echo "$enable_static" >&6; }
11054 ac_cpp='$CPP $CPPFLAGS'
11055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11073 ac_config_commands="$ac_config_commands libtool"
11078 # Only expand once:
11094 DX_PROJECT=xmltooling
11096 DX_CONFIG=doxygen.cfg
11101 # Environment variables used inside doxygen.cfg:
11102 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11104 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11106 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11108 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11115 # Check whether --enable-doxygen-doc was given.
11116 if test "${enable_doxygen_doc+set}" = set; then :
11117 enableval=$enable_doxygen_doc;
11118 case "$enableval" in
11130 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11142 if test "$DX_FLAG_doc" = 1; then
11144 if test -n "$ac_tool_prefix"; then
11145 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11146 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11148 $as_echo_n "checking for $ac_word... " >&6; }
11149 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11150 $as_echo_n "(cached) " >&6
11152 case $DX_DOXYGEN in
11154 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11158 for as_dir in $PATH
11161 test -z "$as_dir" && as_dir=.
11162 for ac_exec_ext in '' $ac_executable_extensions; do
11163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11164 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11175 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11176 if test -n "$DX_DOXYGEN"; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11178 $as_echo "$DX_DOXYGEN" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11181 $as_echo "no" >&6; }
11186 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11187 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11188 # Extract the first word of "doxygen", so it can be a program name with args.
11189 set dummy doxygen; ac_word=$2
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11191 $as_echo_n "checking for $ac_word... " >&6; }
11192 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11193 $as_echo_n "(cached) " >&6
11195 case $ac_pt_DX_DOXYGEN in
11197 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11201 for as_dir in $PATH
11204 test -z "$as_dir" && as_dir=.
11205 for ac_exec_ext in '' $ac_executable_extensions; do
11206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11207 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11218 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11219 if test -n "$ac_pt_DX_DOXYGEN"; then
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11221 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11224 $as_echo "no" >&6; }
11227 if test "x$ac_pt_DX_DOXYGEN" = x; then
11230 case $cross_compiling:$ac_tool_warned in
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11234 ac_tool_warned=yes ;;
11236 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11239 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11242 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11244 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11250 if test -n "$ac_tool_prefix"; then
11251 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11252 set dummy ${ac_tool_prefix}perl; ac_word=$2
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11254 $as_echo_n "checking for $ac_word... " >&6; }
11255 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11256 $as_echo_n "(cached) " >&6
11260 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11264 for as_dir in $PATH
11267 test -z "$as_dir" && as_dir=.
11268 for ac_exec_ext in '' $ac_executable_extensions; do
11269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11270 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11281 DX_PERL=$ac_cv_path_DX_PERL
11282 if test -n "$DX_PERL"; then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11284 $as_echo "$DX_PERL" >&6; }
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11287 $as_echo "no" >&6; }
11292 if test -z "$ac_cv_path_DX_PERL"; then
11293 ac_pt_DX_PERL=$DX_PERL
11294 # Extract the first word of "perl", so it can be a program name with args.
11295 set dummy perl; ac_word=$2
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11297 $as_echo_n "checking for $ac_word... " >&6; }
11298 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11299 $as_echo_n "(cached) " >&6
11301 case $ac_pt_DX_PERL in
11303 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11307 for as_dir in $PATH
11310 test -z "$as_dir" && as_dir=.
11311 for ac_exec_ext in '' $ac_executable_extensions; do
11312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11313 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11324 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11325 if test -n "$ac_pt_DX_PERL"; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11327 $as_echo "$ac_pt_DX_PERL" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 $as_echo "no" >&6; }
11333 if test "x$ac_pt_DX_PERL" = x; then
11336 case $cross_compiling:$ac_tool_warned in
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11340 ac_tool_warned=yes ;;
11342 DX_PERL=$ac_pt_DX_PERL
11345 DX_PERL="$ac_cv_path_DX_PERL"
11348 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
11350 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
11357 if test "$DX_FLAG_doc" = 1; then
11360 DX_COND_doc_FALSE='#'
11362 DX_COND_doc_TRUE='#'
11366 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
11372 DX_COND_doc_FALSE='#'
11374 DX_COND_doc_TRUE='#'
11383 # Dot for graphics:
11387 # Check whether --enable-doxygen-dot was given.
11388 if test "${enable_doxygen_dot+set}" = set; then :
11389 enableval=$enable_doxygen_dot;
11390 case "$enableval" in
11396 test "$DX_FLAG_doc" = "1" \
11397 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
11405 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
11414 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
11420 if test "$DX_FLAG_dot" = 1; then
11422 if test -n "$ac_tool_prefix"; then
11423 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
11424 set dummy ${ac_tool_prefix}dot; ac_word=$2
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11426 $as_echo_n "checking for $ac_word... " >&6; }
11427 if test "${ac_cv_path_DX_DOT+set}" = set; then :
11428 $as_echo_n "(cached) " >&6
11432 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11436 for as_dir in $PATH
11439 test -z "$as_dir" && as_dir=.
11440 for ac_exec_ext in '' $ac_executable_extensions; do
11441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11442 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 DX_DOT=$ac_cv_path_DX_DOT
11454 if test -n "$DX_DOT"; then
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
11456 $as_echo "$DX_DOT" >&6; }
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11459 $as_echo "no" >&6; }
11464 if test -z "$ac_cv_path_DX_DOT"; then
11465 ac_pt_DX_DOT=$DX_DOT
11466 # Extract the first word of "dot", so it can be a program name with args.
11467 set dummy dot; ac_word=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11469 $as_echo_n "checking for $ac_word... " >&6; }
11470 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11473 case $ac_pt_DX_DOT in
11475 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
11478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11479 for as_dir in $PATH
11482 test -z "$as_dir" && as_dir=.
11483 for ac_exec_ext in '' $ac_executable_extensions; do
11484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11485 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
11497 if test -n "$ac_pt_DX_DOT"; then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
11499 $as_echo "$ac_pt_DX_DOT" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11502 $as_echo "no" >&6; }
11505 if test "x$ac_pt_DX_DOT" = x; then
11508 case $cross_compiling:$ac_tool_warned in
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11512 ac_tool_warned=yes ;;
11514 DX_DOT=$ac_pt_DX_DOT
11517 DX_DOT="$ac_cv_path_DX_DOT"
11520 if test "$DX_FLAG_dot$DX_DOT" = 1; then
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
11522 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
11529 if test "$DX_FLAG_dot" = 1; then
11532 DX_COND_dot_FALSE='#'
11534 DX_COND_dot_TRUE='#'
11538 DX_ENV="$DX_ENV HAVE_DOT='YES'"
11540 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
11546 DX_COND_dot_FALSE='#'
11548 DX_COND_dot_TRUE='#'
11552 DX_ENV="$DX_ENV HAVE_DOT='NO'"
11558 # Man pages generation:
11562 # Check whether --enable-doxygen-man was given.
11563 if test "${enable_doxygen_man+set}" = set; then :
11564 enableval=$enable_doxygen_man;
11565 case "$enableval" in
11571 test "$DX_FLAG_doc" = "1" \
11572 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
11580 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
11589 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
11595 if test "$DX_FLAG_man" = 1; then
11599 if test "$DX_FLAG_man" = 1; then
11602 DX_COND_man_FALSE='#'
11604 DX_COND_man_TRUE='#'
11608 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
11614 DX_COND_man_FALSE='#'
11616 DX_COND_man_TRUE='#'
11620 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
11626 # RTF file generation:
11630 # Check whether --enable-doxygen-rtf was given.
11631 if test "${enable_doxygen_rtf+set}" = set; then :
11632 enableval=$enable_doxygen_rtf;
11633 case "$enableval" in
11639 test "$DX_FLAG_doc" = "1" \
11640 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
11648 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
11657 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
11663 if test "$DX_FLAG_rtf" = 1; then
11667 if test "$DX_FLAG_rtf" = 1; then
11670 DX_COND_rtf_FALSE='#'
11672 DX_COND_rtf_TRUE='#'
11676 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
11682 DX_COND_rtf_FALSE='#'
11684 DX_COND_rtf_TRUE='#'
11688 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
11694 # XML file generation:
11698 # Check whether --enable-doxygen-xml was given.
11699 if test "${enable_doxygen_xml+set}" = set; then :
11700 enableval=$enable_doxygen_xml;
11701 case "$enableval" in
11707 test "$DX_FLAG_doc" = "1" \
11708 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
11716 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
11725 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
11731 if test "$DX_FLAG_xml" = 1; then
11735 if test "$DX_FLAG_xml" = 1; then
11738 DX_COND_xml_FALSE='#'
11740 DX_COND_xml_TRUE='#'
11744 DX_ENV="$DX_ENV GENERATE_XML='YES'"
11750 DX_COND_xml_FALSE='#'
11752 DX_COND_xml_TRUE='#'
11756 DX_ENV="$DX_ENV GENERATE_XML='NO'"
11762 # (Compressed) HTML help generation:
11766 # Check whether --enable-doxygen-chm was given.
11767 if test "${enable_doxygen_chm+set}" = set; then :
11768 enableval=$enable_doxygen_chm;
11769 case "$enableval" in
11775 test "$DX_FLAG_doc" = "1" \
11776 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
11784 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
11793 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
11799 if test "$DX_FLAG_chm" = 1; then
11801 if test -n "$ac_tool_prefix"; then
11802 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
11803 set dummy ${ac_tool_prefix}hhc; ac_word=$2
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11805 $as_echo_n "checking for $ac_word... " >&6; }
11806 if test "${ac_cv_path_DX_HHC+set}" = set; then :
11807 $as_echo_n "(cached) " >&6
11811 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $PATH
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11832 DX_HHC=$ac_cv_path_DX_HHC
11833 if test -n "$DX_HHC"; then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
11835 $as_echo "$DX_HHC" >&6; }
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11838 $as_echo "no" >&6; }
11843 if test -z "$ac_cv_path_DX_HHC"; then
11844 ac_pt_DX_HHC=$DX_HHC
11845 # Extract the first word of "hhc", so it can be a program name with args.
11846 set dummy hhc; ac_word=$2
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11848 $as_echo_n "checking for $ac_word... " >&6; }
11849 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
11850 $as_echo_n "(cached) " >&6
11852 case $ac_pt_DX_HHC in
11854 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
11857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858 for as_dir in $PATH
11861 test -z "$as_dir" && as_dir=.
11862 for ac_exec_ext in '' $ac_executable_extensions; do
11863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11864 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11875 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
11876 if test -n "$ac_pt_DX_HHC"; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
11878 $as_echo "$ac_pt_DX_HHC" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881 $as_echo "no" >&6; }
11884 if test "x$ac_pt_DX_HHC" = x; then
11887 case $cross_compiling:$ac_tool_warned in
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11891 ac_tool_warned=yes ;;
11893 DX_HHC=$ac_pt_DX_HHC
11896 DX_HHC="$ac_cv_path_DX_HHC"
11899 if test "$DX_FLAG_chm$DX_HHC" = 1; then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
11901 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
11908 if test "$DX_FLAG_chm" = 1; then
11911 DX_COND_chm_FALSE='#'
11913 DX_COND_chm_TRUE='#'
11917 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
11919 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11921 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
11927 DX_COND_chm_FALSE='#'
11929 DX_COND_chm_TRUE='#'
11933 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
11939 # Seperate CHI file generation.
11943 # Check whether --enable-doxygen-chi was given.
11944 if test "${enable_doxygen_chi+set}" = set; then :
11945 enableval=$enable_doxygen_chi;
11946 case "$enableval" in
11952 test "$DX_FLAG_chm" = "1" \
11953 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
11961 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
11970 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
11976 if test "$DX_FLAG_chi" = 1; then
11980 if test "$DX_FLAG_chi" = 1; then
11983 DX_COND_chi_FALSE='#'
11985 DX_COND_chi_TRUE='#'
11989 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
11995 DX_COND_chi_FALSE='#'
11997 DX_COND_chi_TRUE='#'
12001 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12007 # Plain HTML pages generation:
12011 # Check whether --enable-doxygen-html was given.
12012 if test "${enable_doxygen_html+set}" = set; then :
12013 enableval=$enable_doxygen_html;
12014 case "$enableval" in
12020 test "$DX_FLAG_doc" = "1" \
12021 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12023 test "$DX_FLAG_chm" = "0" \
12024 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12032 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12041 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12044 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12050 if test "$DX_FLAG_html" = 1; then
12054 if test "$DX_FLAG_html" = 1; then
12057 DX_COND_html_FALSE='#'
12059 DX_COND_html_TRUE='#'
12060 DX_COND_html_FALSE=
12063 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12069 DX_COND_html_FALSE='#'
12071 DX_COND_html_TRUE='#'
12072 DX_COND_html_FALSE=
12075 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12081 # PostScript file generation:
12085 # Check whether --enable-doxygen-ps was given.
12086 if test "${enable_doxygen_ps+set}" = set; then :
12087 enableval=$enable_doxygen_ps;
12088 case "$enableval" in
12094 test "$DX_FLAG_doc" = "1" \
12095 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12103 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12112 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12118 if test "$DX_FLAG_ps" = 1; then
12120 if test -n "$ac_tool_prefix"; then
12121 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12122 set dummy ${ac_tool_prefix}latex; ac_word=$2
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12124 $as_echo_n "checking for $ac_word... " >&6; }
12125 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12126 $as_echo_n "(cached) " >&6
12130 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12134 for as_dir in $PATH
12137 test -z "$as_dir" && as_dir=.
12138 for ac_exec_ext in '' $ac_executable_extensions; do
12139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12140 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12151 DX_LATEX=$ac_cv_path_DX_LATEX
12152 if test -n "$DX_LATEX"; then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12154 $as_echo "$DX_LATEX" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12162 if test -z "$ac_cv_path_DX_LATEX"; then
12163 ac_pt_DX_LATEX=$DX_LATEX
12164 # Extract the first word of "latex", so it can be a program name with args.
12165 set dummy latex; ac_word=$2
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12167 $as_echo_n "checking for $ac_word... " >&6; }
12168 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12169 $as_echo_n "(cached) " >&6
12171 case $ac_pt_DX_LATEX in
12173 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12177 for as_dir in $PATH
12180 test -z "$as_dir" && as_dir=.
12181 for ac_exec_ext in '' $ac_executable_extensions; do
12182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12183 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12194 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12195 if test -n "$ac_pt_DX_LATEX"; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12197 $as_echo "$ac_pt_DX_LATEX" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12200 $as_echo "no" >&6; }
12203 if test "x$ac_pt_DX_LATEX" = x; then
12206 case $cross_compiling:$ac_tool_warned in
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12210 ac_tool_warned=yes ;;
12212 DX_LATEX=$ac_pt_DX_LATEX
12215 DX_LATEX="$ac_cv_path_DX_LATEX"
12218 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12220 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12226 if test -n "$ac_tool_prefix"; then
12227 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12228 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12230 $as_echo_n "checking for $ac_word... " >&6; }
12231 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12232 $as_echo_n "(cached) " >&6
12234 case $DX_MAKEINDEX in
12236 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12240 for as_dir in $PATH
12243 test -z "$as_dir" && as_dir=.
12244 for ac_exec_ext in '' $ac_executable_extensions; do
12245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12246 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12257 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12258 if test -n "$DX_MAKEINDEX"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12260 $as_echo "$DX_MAKEINDEX" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12263 $as_echo "no" >&6; }
12268 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12269 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12270 # Extract the first word of "makeindex", so it can be a program name with args.
12271 set dummy makeindex; ac_word=$2
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12273 $as_echo_n "checking for $ac_word... " >&6; }
12274 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12277 case $ac_pt_DX_MAKEINDEX in
12279 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12283 for as_dir in $PATH
12286 test -z "$as_dir" && as_dir=.
12287 for ac_exec_ext in '' $ac_executable_extensions; do
12288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12289 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12300 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12301 if test -n "$ac_pt_DX_MAKEINDEX"; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12303 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12306 $as_echo "no" >&6; }
12309 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12312 case $cross_compiling:$ac_tool_warned in
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12316 ac_tool_warned=yes ;;
12318 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12321 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12324 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12326 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12332 if test -n "$ac_tool_prefix"; then
12333 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12334 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12336 $as_echo_n "checking for $ac_word... " >&6; }
12337 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
12338 $as_echo_n "(cached) " >&6
12342 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12346 for as_dir in $PATH
12349 test -z "$as_dir" && as_dir=.
12350 for ac_exec_ext in '' $ac_executable_extensions; do
12351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12352 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12363 DX_DVIPS=$ac_cv_path_DX_DVIPS
12364 if test -n "$DX_DVIPS"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
12366 $as_echo "$DX_DVIPS" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12374 if test -z "$ac_cv_path_DX_DVIPS"; then
12375 ac_pt_DX_DVIPS=$DX_DVIPS
12376 # Extract the first word of "dvips", so it can be a program name with args.
12377 set dummy dvips; ac_word=$2
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12379 $as_echo_n "checking for $ac_word... " >&6; }
12380 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
12381 $as_echo_n "(cached) " >&6
12383 case $ac_pt_DX_DVIPS in
12385 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12389 for as_dir in $PATH
12392 test -z "$as_dir" && as_dir=.
12393 for ac_exec_ext in '' $ac_executable_extensions; do
12394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12395 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12407 if test -n "$ac_pt_DX_DVIPS"; then
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
12409 $as_echo "$ac_pt_DX_DVIPS" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12412 $as_echo "no" >&6; }
12415 if test "x$ac_pt_DX_DVIPS" = x; then
12418 case $cross_compiling:$ac_tool_warned in
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12422 ac_tool_warned=yes ;;
12424 DX_DVIPS=$ac_pt_DX_DVIPS
12427 DX_DVIPS="$ac_cv_path_DX_DVIPS"
12430 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12432 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12438 if test -n "$ac_tool_prefix"; then
12439 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12440 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12442 $as_echo_n "checking for $ac_word... " >&6; }
12443 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12444 $as_echo_n "(cached) " >&6
12448 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12452 for as_dir in $PATH
12455 test -z "$as_dir" && as_dir=.
12456 for ac_exec_ext in '' $ac_executable_extensions; do
12457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12458 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12469 DX_EGREP=$ac_cv_path_DX_EGREP
12470 if test -n "$DX_EGREP"; then
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12472 $as_echo "$DX_EGREP" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12475 $as_echo "no" >&6; }
12480 if test -z "$ac_cv_path_DX_EGREP"; then
12481 ac_pt_DX_EGREP=$DX_EGREP
12482 # Extract the first word of "egrep", so it can be a program name with args.
12483 set dummy egrep; ac_word=$2
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12485 $as_echo_n "checking for $ac_word... " >&6; }
12486 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12487 $as_echo_n "(cached) " >&6
12489 case $ac_pt_DX_EGREP in
12491 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12498 test -z "$as_dir" && as_dir=.
12499 for ac_exec_ext in '' $ac_executable_extensions; do
12500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12512 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12513 if test -n "$ac_pt_DX_EGREP"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12515 $as_echo "$ac_pt_DX_EGREP" >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12521 if test "x$ac_pt_DX_EGREP" = x; then
12524 case $cross_compiling:$ac_tool_warned in
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12528 ac_tool_warned=yes ;;
12530 DX_EGREP=$ac_pt_DX_EGREP
12533 DX_EGREP="$ac_cv_path_DX_EGREP"
12536 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
12538 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
12545 if test "$DX_FLAG_ps" = 1; then
12548 DX_COND_ps_FALSE='#'
12550 DX_COND_ps_TRUE='#'
12559 DX_COND_ps_FALSE='#'
12561 DX_COND_ps_TRUE='#'
12570 # PDF file generation:
12574 # Check whether --enable-doxygen-pdf was given.
12575 if test "${enable_doxygen_pdf+set}" = set; then :
12576 enableval=$enable_doxygen_pdf;
12577 case "$enableval" in
12583 test "$DX_FLAG_doc" = "1" \
12584 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
12592 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
12601 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
12607 if test "$DX_FLAG_pdf" = 1; then
12609 if test -n "$ac_tool_prefix"; then
12610 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
12611 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12613 $as_echo_n "checking for $ac_word... " >&6; }
12614 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
12615 $as_echo_n "(cached) " >&6
12617 case $DX_PDFLATEX in
12619 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
12622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12623 for as_dir in $PATH
12626 test -z "$as_dir" && as_dir=.
12627 for ac_exec_ext in '' $ac_executable_extensions; do
12628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12629 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12640 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
12641 if test -n "$DX_PDFLATEX"; then
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
12643 $as_echo "$DX_PDFLATEX" >&6; }
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12646 $as_echo "no" >&6; }
12651 if test -z "$ac_cv_path_DX_PDFLATEX"; then
12652 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
12653 # Extract the first word of "pdflatex", so it can be a program name with args.
12654 set dummy pdflatex; ac_word=$2
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12656 $as_echo_n "checking for $ac_word... " >&6; }
12657 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
12658 $as_echo_n "(cached) " >&6
12660 case $ac_pt_DX_PDFLATEX in
12662 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
12665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12666 for as_dir in $PATH
12669 test -z "$as_dir" && as_dir=.
12670 for ac_exec_ext in '' $ac_executable_extensions; do
12671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12672 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12683 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
12684 if test -n "$ac_pt_DX_PDFLATEX"; then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
12686 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12689 $as_echo "no" >&6; }
12692 if test "x$ac_pt_DX_PDFLATEX" = x; then
12695 case $cross_compiling:$ac_tool_warned in
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12699 ac_tool_warned=yes ;;
12701 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
12704 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
12707 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
12709 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
12715 if test -n "$ac_tool_prefix"; then
12716 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12717 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12719 $as_echo_n "checking for $ac_word... " >&6; }
12720 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12721 $as_echo_n "(cached) " >&6
12723 case $DX_MAKEINDEX in
12725 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12729 for as_dir in $PATH
12732 test -z "$as_dir" && as_dir=.
12733 for ac_exec_ext in '' $ac_executable_extensions; do
12734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12735 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12746 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12747 if test -n "$DX_MAKEINDEX"; then
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12749 $as_echo "$DX_MAKEINDEX" >&6; }
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752 $as_echo "no" >&6; }
12757 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12758 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12759 # Extract the first word of "makeindex", so it can be a program name with args.
12760 set dummy makeindex; ac_word=$2
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12762 $as_echo_n "checking for $ac_word... " >&6; }
12763 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12764 $as_echo_n "(cached) " >&6
12766 case $ac_pt_DX_MAKEINDEX in
12768 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12772 for as_dir in $PATH
12775 test -z "$as_dir" && as_dir=.
12776 for ac_exec_ext in '' $ac_executable_extensions; do
12777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12778 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12789 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12790 if test -n "$ac_pt_DX_MAKEINDEX"; then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12792 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 $as_echo "no" >&6; }
12798 if test "x$ac_pt_DX_MAKEINDEX" = x; then
12801 case $cross_compiling:$ac_tool_warned in
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12805 ac_tool_warned=yes ;;
12807 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12810 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12813 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
12815 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
12821 if test -n "$ac_tool_prefix"; then
12822 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12823 set dummy ${ac_tool_prefix}egrep; ac_word=$2
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12825 $as_echo_n "checking for $ac_word... " >&6; }
12826 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
12827 $as_echo_n "(cached) " >&6
12831 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12835 for as_dir in $PATH
12838 test -z "$as_dir" && as_dir=.
12839 for ac_exec_ext in '' $ac_executable_extensions; do
12840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12841 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12852 DX_EGREP=$ac_cv_path_DX_EGREP
12853 if test -n "$DX_EGREP"; then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
12855 $as_echo "$DX_EGREP" >&6; }
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12858 $as_echo "no" >&6; }
12863 if test -z "$ac_cv_path_DX_EGREP"; then
12864 ac_pt_DX_EGREP=$DX_EGREP
12865 # Extract the first word of "egrep", so it can be a program name with args.
12866 set dummy egrep; ac_word=$2
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12868 $as_echo_n "checking for $ac_word... " >&6; }
12869 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
12870 $as_echo_n "(cached) " >&6
12872 case $ac_pt_DX_EGREP in
12874 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12878 for as_dir in $PATH
12881 test -z "$as_dir" && as_dir=.
12882 for ac_exec_ext in '' $ac_executable_extensions; do
12883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12884 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12895 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12896 if test -n "$ac_pt_DX_EGREP"; then
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
12898 $as_echo "$ac_pt_DX_EGREP" >&6; }
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12901 $as_echo "no" >&6; }
12904 if test "x$ac_pt_DX_EGREP" = x; then
12907 case $cross_compiling:$ac_tool_warned in
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12911 ac_tool_warned=yes ;;
12913 DX_EGREP=$ac_pt_DX_EGREP
12916 DX_EGREP="$ac_cv_path_DX_EGREP"
12919 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
12921 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
12928 if test "$DX_FLAG_pdf" = 1; then
12931 DX_COND_pdf_FALSE='#'
12933 DX_COND_pdf_TRUE='#'
12942 DX_COND_pdf_FALSE='#'
12944 DX_COND_pdf_TRUE='#'
12953 # LaTeX generation for PS and/or PDF:
12954 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
12956 DX_COND_latex_TRUE=
12957 DX_COND_latex_FALSE='#'
12959 DX_COND_latex_TRUE='#'
12960 DX_COND_latex_FALSE=
12963 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
12967 DX_COND_latex_TRUE=
12968 DX_COND_latex_FALSE='#'
12970 DX_COND_latex_TRUE='#'
12971 DX_COND_latex_FALSE=
12974 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
12978 # Paper size for PS and/or PDF:
12980 case "$DOXYGEN_PAPER_SIZE" in
12983 DOXYGEN_PAPER_SIZE=""
12986 a4wide|a4|letter|legal|executive)
12987 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
12991 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
12996 #echo DX_FLAG_doc=$DX_FLAG_doc
12997 #echo DX_FLAG_dot=$DX_FLAG_dot
12998 #echo DX_FLAG_man=$DX_FLAG_man
12999 #echo DX_FLAG_html=$DX_FLAG_html
13000 #echo DX_FLAG_chm=$DX_FLAG_chm
13001 #echo DX_FLAG_chi=$DX_FLAG_chi
13002 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13003 #echo DX_FLAG_xml=$DX_FLAG_xml
13004 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13005 #echo DX_FLAG_ps=$DX_FLAG_ps
13006 #echo DX_ENV=$DX_ENV
13009 # Check whether --enable-debug was given.
13010 if test "${enable_debug+set}" = set; then :
13011 enableval=$enable_debug; enable_debug=$enableval
13017 if test "$enable_debug" = "yes" ; then
13018 GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
13019 GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
13021 GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
13022 GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
13025 ac_config_headers="$ac_config_headers config.h xmltooling/config_pub.h"
13027 ac_config_files="$ac_config_files xmltooling.spec pkginfo Portfile"
13029 ac_config_files="$ac_config_files Makefile xmltooling/Makefile xmltoolingtest/Makefile schemas/Makefile doc/Makefile"
13033 ac_cpp='$CPP $CPPFLAGS'
13034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13037 if test -n "$ac_tool_prefix"; then
13038 for ac_prog in gcc gcc3 cc
13040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13043 $as_echo_n "checking for $ac_word... " >&6; }
13044 if test "${ac_cv_prog_CC+set}" = set; then :
13045 $as_echo_n "(cached) " >&6
13047 if test -n "$CC"; then
13048 ac_cv_prog_CC="$CC" # Let the user override the test.
13050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13051 for as_dir in $PATH
13054 test -z "$as_dir" && as_dir=.
13055 for ac_exec_ext in '' $ac_executable_extensions; do
13056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13057 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13068 if test -n "$CC"; then
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13070 $as_echo "$CC" >&6; }
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13073 $as_echo "no" >&6; }
13077 test -n "$CC" && break
13080 if test -z "$CC"; then
13082 for ac_prog in gcc gcc3 cc
13084 # Extract the first word of "$ac_prog", so it can be a program name with args.
13085 set dummy $ac_prog; ac_word=$2
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13087 $as_echo_n "checking for $ac_word... " >&6; }
13088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13089 $as_echo_n "(cached) " >&6
13091 if test -n "$ac_ct_CC"; then
13092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13095 for as_dir in $PATH
13098 test -z "$as_dir" && as_dir=.
13099 for ac_exec_ext in '' $ac_executable_extensions; do
13100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13101 ac_cv_prog_ac_ct_CC="$ac_prog"
13102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13112 if test -n "$ac_ct_CC"; then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13114 $as_echo "$ac_ct_CC" >&6; }
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13117 $as_echo "no" >&6; }
13121 test -n "$ac_ct_CC" && break
13124 if test "x$ac_ct_CC" = x; then
13127 case $cross_compiling:$ac_tool_warned in
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13131 ac_tool_warned=yes ;;
13138 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13140 as_fn_error $? "no acceptable C compiler found in \$PATH
13141 See \`config.log' for more details" "$LINENO" 5 ; }
13143 # Provide some information about the compiler.
13144 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13147 for ac_option in --version -v -V -qversion; do
13148 { { ac_try="$ac_compiler $ac_option >&5"
13149 case "(($ac_try" in
13150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13151 *) ac_try_echo=$ac_try;;
13153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13154 $as_echo "$ac_try_echo"; } >&5
13155 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13157 if test -s conftest.err; then
13159 ... rest of stderr output deleted ...
13160 10q' conftest.err >conftest.er1
13161 cat conftest.er1 >&5
13163 rm -f conftest.er1 conftest.err
13164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13165 test $ac_status = 0; }
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13169 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13170 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13171 $as_echo_n "(cached) " >&6
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13187 if ac_fn_c_try_compile "$LINENO"; then :
13188 ac_compiler_gnu=yes
13192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13193 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13197 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13198 if test $ac_compiler_gnu = yes; then
13203 ac_test_CFLAGS=${CFLAGS+set}
13204 ac_save_CFLAGS=$CFLAGS
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13206 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13207 if test "${ac_cv_prog_cc_g+set}" = set; then :
13208 $as_echo_n "(cached) " >&6
13210 ac_save_c_werror_flag=$ac_c_werror_flag
13211 ac_c_werror_flag=yes
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13225 if ac_fn_c_try_compile "$LINENO"; then :
13226 ac_cv_prog_cc_g=yes
13229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h. */
13240 if ac_fn_c_try_compile "$LINENO"; then :
13243 ac_c_werror_flag=$ac_save_c_werror_flag
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13256 if ac_fn_c_try_compile "$LINENO"; then :
13257 ac_cv_prog_cc_g=yes
13259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13264 ac_c_werror_flag=$ac_save_c_werror_flag
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13267 $as_echo "$ac_cv_prog_cc_g" >&6; }
13268 if test "$ac_test_CFLAGS" = set; then
13269 CFLAGS=$ac_save_CFLAGS
13270 elif test $ac_cv_prog_cc_g = yes; then
13271 if test "$GCC" = yes; then
13277 if test "$GCC" = yes; then
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13284 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13285 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13286 $as_echo_n "(cached) " >&6
13288 ac_cv_prog_cc_c89=no
13290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13292 #include <stdarg.h>
13294 #include <sys/types.h>
13295 #include <sys/stat.h>
13296 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13297 struct buf { int x; };
13298 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13299 static char *e (p, i)
13305 static char *f (char * (*g) (char **, int), char **p, ...)
13310 s = g (p, va_arg (v,int));
13315 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13316 function prototypes and stuff, but not '\xHH' hex character constants.
13317 These don't provoke an error unfortunately, instead are silently treated
13318 as 'x'. The following induces an error, until -std is added to get
13319 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13320 array size at least. It's necessary to write '\x00'==0 to get something
13321 that's true only with -std. */
13322 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13324 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13325 inside strings and character constants. */
13327 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13329 int test (int i, double x);
13330 struct s1 {int (*f) (int a);};
13331 struct s2 {int (*f) (double a);};
13332 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13343 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13344 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13346 CC="$ac_save_CC $ac_arg"
13347 if ac_fn_c_try_compile "$LINENO"; then :
13348 ac_cv_prog_cc_c89=$ac_arg
13350 rm -f core conftest.err conftest.$ac_objext
13351 test "x$ac_cv_prog_cc_c89" != "xno" && break
13353 rm -f conftest.$ac_ext
13358 case "x$ac_cv_prog_cc_c89" in
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13361 $as_echo "none needed" >&6; } ;;
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13364 $as_echo "unsupported" >&6; } ;;
13366 CC="$CC $ac_cv_prog_cc_c89"
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13368 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13370 if test "x$ac_cv_prog_cc_c89" != xno; then :
13375 ac_cpp='$CPP $CPPFLAGS'
13376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13380 depcc="$CC" am_compiler_list=
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13383 $as_echo_n "checking dependency style of $depcc... " >&6; }
13384 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13385 $as_echo_n "(cached) " >&6
13387 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13388 # We make a subdir and do the tests there. Otherwise we can end up
13389 # making bogus files that we don't know about and never remove. For
13390 # instance it was reported that on HP-UX the gcc test will end up
13391 # making a dummy file named `D' -- because `-MD' means `put the output
13394 # Copy depcomp to subdir because otherwise we won't find it if we're
13395 # using a relative directory.
13396 cp "$am_depcomp" conftest.dir
13398 # We will build objects and dependencies in a subdirectory because
13399 # it helps to detect inapplicable dependency modes. For instance
13400 # both Tru64's cc and ICC support -MD to output dependencies as a
13401 # side effect of compilation, but ICC will put the dependencies in
13402 # the current directory while Tru64 will put them in the object
13406 am_cv_CC_dependencies_compiler_type=none
13407 if test "$am_compiler_list" = ""; then
13408 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13410 am__universal=false
13411 case " $depcc " in #(
13412 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13415 for depmode in $am_compiler_list; do
13416 # Setup a source with many dependencies, because some compilers
13417 # like to wrap large dependency lists on column 80 (with \), and
13418 # we should not choose a depcomp mode which is confused by this.
13420 # We need to recreate these files for each test, as the compiler may
13421 # overwrite some of them when testing with obscure command lines.
13422 # This happens at least with the AIX C compiler.
13424 for i in 1 2 3 4 5 6; do
13425 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13426 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13427 # Solaris 8's {/usr,}/bin/sh.
13428 touch sub/conftst$i.h
13430 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13432 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13433 # mode. It turns out that the SunPro C++ compiler does not properly
13434 # handle `-M -o', and we need to detect this. Also, some Intel
13435 # versions had trouble with output in subdirs
13436 am__obj=sub/conftest.${OBJEXT-o}
13437 am__minus_obj="-o $am__obj"
13440 # This depmode causes a compiler race in universal mode.
13441 test "$am__universal" = false || continue
13444 # after this tag, mechanisms are not by side-effect, so they'll
13445 # only be used when explicitly requested
13446 if test "x$enable_dependency_tracking" = xyes; then
13452 msvisualcpp | msvcmsys)
13453 # This compiler won't grok `-c -o', but also, the minuso test has
13454 # not run yet. These depmodes are late enough in the game, and
13455 # so weak that their functioning should not be impacted.
13456 am__obj=conftest.${OBJEXT-o}
13461 if depmode=$depmode \
13462 source=sub/conftest.c object=$am__obj \
13463 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13464 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13465 >/dev/null 2>conftest.err &&
13466 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13467 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13468 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13469 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13470 # icc doesn't choke on unknown options, it will just issue warnings
13471 # or remarks (even with -Werror). So we grep stderr for any message
13472 # that says an option was ignored or not supported.
13473 # When given -MP, icc 7.0 and 7.1 complain thusly:
13474 # icc: Command line warning: ignoring option '-M'; no argument required
13475 # The diagnosis changed in icc 8.0:
13476 # icc: Command line remark: option '-MP' not supported
13477 if (grep 'ignoring option' conftest.err ||
13478 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13479 am_cv_CC_dependencies_compiler_type=$depmode
13486 rm -rf conftest.dir
13488 am_cv_CC_dependencies_compiler_type=none
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13493 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13494 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13497 test "x$enable_dependency_tracking" != xno \
13498 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13499 am__fastdepCC_TRUE=
13500 am__fastdepCC_FALSE='#'
13502 am__fastdepCC_TRUE='#'
13503 am__fastdepCC_FALSE=
13508 ac_cpp='$CXXCPP $CPPFLAGS'
13509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13512 if test -z "$CXX"; then
13513 if test -n "$CCC"; then
13516 if test -n "$ac_tool_prefix"; then
13517 for ac_prog in g++ g++3 c++ CC
13519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13522 $as_echo_n "checking for $ac_word... " >&6; }
13523 if test "${ac_cv_prog_CXX+set}" = set; then :
13524 $as_echo_n "(cached) " >&6
13526 if test -n "$CXX"; then
13527 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13530 for as_dir in $PATH
13533 test -z "$as_dir" && as_dir=.
13534 for ac_exec_ext in '' $ac_executable_extensions; do
13535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13536 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13546 CXX=$ac_cv_prog_CXX
13547 if test -n "$CXX"; then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13549 $as_echo "$CXX" >&6; }
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13552 $as_echo "no" >&6; }
13556 test -n "$CXX" && break
13559 if test -z "$CXX"; then
13561 for ac_prog in g++ g++3 c++ CC
13563 # Extract the first word of "$ac_prog", so it can be a program name with args.
13564 set dummy $ac_prog; ac_word=$2
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13566 $as_echo_n "checking for $ac_word... " >&6; }
13567 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13568 $as_echo_n "(cached) " >&6
13570 if test -n "$ac_ct_CXX"; then
13571 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13574 for as_dir in $PATH
13577 test -z "$as_dir" && as_dir=.
13578 for ac_exec_ext in '' $ac_executable_extensions; do
13579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13580 ac_cv_prog_ac_ct_CXX="$ac_prog"
13581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13590 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13591 if test -n "$ac_ct_CXX"; then
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13593 $as_echo "$ac_ct_CXX" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13596 $as_echo "no" >&6; }
13600 test -n "$ac_ct_CXX" && break
13603 if test "x$ac_ct_CXX" = x; then
13606 case $cross_compiling:$ac_tool_warned in
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13610 ac_tool_warned=yes ;;
13618 # Provide some information about the compiler.
13619 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13622 for ac_option in --version -v -V -qversion; do
13623 { { ac_try="$ac_compiler $ac_option >&5"
13624 case "(($ac_try" in
13625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13626 *) ac_try_echo=$ac_try;;
13628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13629 $as_echo "$ac_try_echo"; } >&5
13630 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13632 if test -s conftest.err; then
13634 ... rest of stderr output deleted ...
13635 10q' conftest.err >conftest.er1
13636 cat conftest.er1 >&5
13638 rm -f conftest.er1 conftest.err
13639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13640 test $ac_status = 0; }
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13644 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13645 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13646 $as_echo_n "(cached) " >&6
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13662 if ac_fn_cxx_try_compile "$LINENO"; then :
13663 ac_compiler_gnu=yes
13667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13668 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13672 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13673 if test $ac_compiler_gnu = yes; then
13678 ac_test_CXXFLAGS=${CXXFLAGS+set}
13679 ac_save_CXXFLAGS=$CXXFLAGS
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13681 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13682 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13683 $as_echo_n "(cached) " >&6
13685 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13686 ac_cxx_werror_flag=yes
13687 ac_cv_prog_cxx_g=no
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13700 if ac_fn_cxx_try_compile "$LINENO"; then :
13701 ac_cv_prog_cxx_g=yes
13704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13715 if ac_fn_cxx_try_compile "$LINENO"; then :
13718 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13731 if ac_fn_cxx_try_compile "$LINENO"; then :
13732 ac_cv_prog_cxx_g=yes
13734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13739 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13742 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13743 if test "$ac_test_CXXFLAGS" = set; then
13744 CXXFLAGS=$ac_save_CXXFLAGS
13745 elif test $ac_cv_prog_cxx_g = yes; then
13746 if test "$GXX" = yes; then
13752 if test "$GXX" = yes; then
13759 ac_cpp='$CPP $CPPFLAGS'
13760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13764 depcc="$CXX" am_compiler_list=
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13767 $as_echo_n "checking dependency style of $depcc... " >&6; }
13768 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13769 $as_echo_n "(cached) " >&6
13771 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13772 # We make a subdir and do the tests there. Otherwise we can end up
13773 # making bogus files that we don't know about and never remove. For
13774 # instance it was reported that on HP-UX the gcc test will end up
13775 # making a dummy file named `D' -- because `-MD' means `put the output
13778 # Copy depcomp to subdir because otherwise we won't find it if we're
13779 # using a relative directory.
13780 cp "$am_depcomp" conftest.dir
13782 # We will build objects and dependencies in a subdirectory because
13783 # it helps to detect inapplicable dependency modes. For instance
13784 # both Tru64's cc and ICC support -MD to output dependencies as a
13785 # side effect of compilation, but ICC will put the dependencies in
13786 # the current directory while Tru64 will put them in the object
13790 am_cv_CXX_dependencies_compiler_type=none
13791 if test "$am_compiler_list" = ""; then
13792 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13794 am__universal=false
13795 case " $depcc " in #(
13796 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13799 for depmode in $am_compiler_list; do
13800 # Setup a source with many dependencies, because some compilers
13801 # like to wrap large dependency lists on column 80 (with \), and
13802 # we should not choose a depcomp mode which is confused by this.
13804 # We need to recreate these files for each test, as the compiler may
13805 # overwrite some of them when testing with obscure command lines.
13806 # This happens at least with the AIX C compiler.
13808 for i in 1 2 3 4 5 6; do
13809 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13810 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13811 # Solaris 8's {/usr,}/bin/sh.
13812 touch sub/conftst$i.h
13814 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13816 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13817 # mode. It turns out that the SunPro C++ compiler does not properly
13818 # handle `-M -o', and we need to detect this. Also, some Intel
13819 # versions had trouble with output in subdirs
13820 am__obj=sub/conftest.${OBJEXT-o}
13821 am__minus_obj="-o $am__obj"
13824 # This depmode causes a compiler race in universal mode.
13825 test "$am__universal" = false || continue
13828 # after this tag, mechanisms are not by side-effect, so they'll
13829 # only be used when explicitly requested
13830 if test "x$enable_dependency_tracking" = xyes; then
13836 msvisualcpp | msvcmsys)
13837 # This compiler won't grok `-c -o', but also, the minuso test has
13838 # not run yet. These depmodes are late enough in the game, and
13839 # so weak that their functioning should not be impacted.
13840 am__obj=conftest.${OBJEXT-o}
13845 if depmode=$depmode \
13846 source=sub/conftest.c object=$am__obj \
13847 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13848 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13849 >/dev/null 2>conftest.err &&
13850 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13851 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13852 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13853 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13854 # icc doesn't choke on unknown options, it will just issue warnings
13855 # or remarks (even with -Werror). So we grep stderr for any message
13856 # that says an option was ignored or not supported.
13857 # When given -MP, icc 7.0 and 7.1 complain thusly:
13858 # icc: Command line warning: ignoring option '-M'; no argument required
13859 # The diagnosis changed in icc 8.0:
13860 # icc: Command line remark: option '-MP' not supported
13861 if (grep 'ignoring option' conftest.err ||
13862 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13863 am_cv_CXX_dependencies_compiler_type=$depmode
13870 rm -rf conftest.dir
13872 am_cv_CXX_dependencies_compiler_type=none
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13877 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13878 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13881 test "x$enable_dependency_tracking" != xno \
13882 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13883 am__fastdepCXX_TRUE=
13884 am__fastdepCXX_FALSE='#'
13886 am__fastdepCXX_TRUE='#'
13887 am__fastdepCXX_FALSE=
13893 ac_cpp='$CXXCPP $CPPFLAGS'
13894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13897 if test -z "$CXX"; then
13898 if test -n "$CCC"; then
13901 if test -n "$ac_tool_prefix"; then
13902 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13907 $as_echo_n "checking for $ac_word... " >&6; }
13908 if test "${ac_cv_prog_CXX+set}" = set; then :
13909 $as_echo_n "(cached) " >&6
13911 if test -n "$CXX"; then
13912 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13915 for as_dir in $PATH
13918 test -z "$as_dir" && as_dir=.
13919 for ac_exec_ext in '' $ac_executable_extensions; do
13920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13921 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13931 CXX=$ac_cv_prog_CXX
13932 if test -n "$CXX"; then
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13934 $as_echo "$CXX" >&6; }
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13937 $as_echo "no" >&6; }
13941 test -n "$CXX" && break
13944 if test -z "$CXX"; then
13946 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13948 # Extract the first word of "$ac_prog", so it can be a program name with args.
13949 set dummy $ac_prog; ac_word=$2
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13951 $as_echo_n "checking for $ac_word... " >&6; }
13952 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13953 $as_echo_n "(cached) " >&6
13955 if test -n "$ac_ct_CXX"; then
13956 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13959 for as_dir in $PATH
13962 test -z "$as_dir" && as_dir=.
13963 for ac_exec_ext in '' $ac_executable_extensions; do
13964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13965 ac_cv_prog_ac_ct_CXX="$ac_prog"
13966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13975 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13976 if test -n "$ac_ct_CXX"; then
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13978 $as_echo "$ac_ct_CXX" >&6; }
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13981 $as_echo "no" >&6; }
13985 test -n "$ac_ct_CXX" && break
13988 if test "x$ac_ct_CXX" = x; then
13991 case $cross_compiling:$ac_tool_warned in
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13995 ac_tool_warned=yes ;;
14003 # Provide some information about the compiler.
14004 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14007 for ac_option in --version -v -V -qversion; do
14008 { { ac_try="$ac_compiler $ac_option >&5"
14009 case "(($ac_try" in
14010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14011 *) ac_try_echo=$ac_try;;
14013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14014 $as_echo "$ac_try_echo"; } >&5
14015 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14017 if test -s conftest.err; then
14019 ... rest of stderr output deleted ...
14020 10q' conftest.err >conftest.er1
14021 cat conftest.er1 >&5
14023 rm -f conftest.er1 conftest.err
14024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14025 test $ac_status = 0; }
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14029 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14030 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
14031 $as_echo_n "(cached) " >&6
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14047 if ac_fn_cxx_try_compile "$LINENO"; then :
14048 ac_compiler_gnu=yes
14052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14053 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14057 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14058 if test $ac_compiler_gnu = yes; then
14063 ac_test_CXXFLAGS=${CXXFLAGS+set}
14064 ac_save_CXXFLAGS=$CXXFLAGS
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14066 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14067 if test "${ac_cv_prog_cxx_g+set}" = set; then :
14068 $as_echo_n "(cached) " >&6
14070 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14071 ac_cxx_werror_flag=yes
14072 ac_cv_prog_cxx_g=no
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14085 if ac_fn_cxx_try_compile "$LINENO"; then :
14086 ac_cv_prog_cxx_g=yes
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14100 if ac_fn_cxx_try_compile "$LINENO"; then :
14103 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14116 if ac_fn_cxx_try_compile "$LINENO"; then :
14117 ac_cv_prog_cxx_g=yes
14119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14124 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14127 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14128 if test "$ac_test_CXXFLAGS" = set; then
14129 CXXFLAGS=$ac_save_CXXFLAGS
14130 elif test $ac_cv_prog_cxx_g = yes; then
14131 if test "$GXX" = yes; then
14137 if test "$GXX" = yes; then
14144 ac_cpp='$CPP $CPPFLAGS'
14145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14149 depcc="$CXX" am_compiler_list=
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14152 $as_echo_n "checking dependency style of $depcc... " >&6; }
14153 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14154 $as_echo_n "(cached) " >&6
14156 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14157 # We make a subdir and do the tests there. Otherwise we can end up
14158 # making bogus files that we don't know about and never remove. For
14159 # instance it was reported that on HP-UX the gcc test will end up
14160 # making a dummy file named `D' -- because `-MD' means `put the output
14163 # Copy depcomp to subdir because otherwise we won't find it if we're
14164 # using a relative directory.
14165 cp "$am_depcomp" conftest.dir
14167 # We will build objects and dependencies in a subdirectory because
14168 # it helps to detect inapplicable dependency modes. For instance
14169 # both Tru64's cc and ICC support -MD to output dependencies as a
14170 # side effect of compilation, but ICC will put the dependencies in
14171 # the current directory while Tru64 will put them in the object
14175 am_cv_CXX_dependencies_compiler_type=none
14176 if test "$am_compiler_list" = ""; then
14177 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14179 am__universal=false
14180 case " $depcc " in #(
14181 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14184 for depmode in $am_compiler_list; do
14185 # Setup a source with many dependencies, because some compilers
14186 # like to wrap large dependency lists on column 80 (with \), and
14187 # we should not choose a depcomp mode which is confused by this.
14189 # We need to recreate these files for each test, as the compiler may
14190 # overwrite some of them when testing with obscure command lines.
14191 # This happens at least with the AIX C compiler.
14193 for i in 1 2 3 4 5 6; do
14194 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14195 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14196 # Solaris 8's {/usr,}/bin/sh.
14197 touch sub/conftst$i.h
14199 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14201 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14202 # mode. It turns out that the SunPro C++ compiler does not properly
14203 # handle `-M -o', and we need to detect this. Also, some Intel
14204 # versions had trouble with output in subdirs
14205 am__obj=sub/conftest.${OBJEXT-o}
14206 am__minus_obj="-o $am__obj"
14209 # This depmode causes a compiler race in universal mode.
14210 test "$am__universal" = false || continue
14213 # after this tag, mechanisms are not by side-effect, so they'll
14214 # only be used when explicitly requested
14215 if test "x$enable_dependency_tracking" = xyes; then
14221 msvisualcpp | msvcmsys)
14222 # This compiler won't grok `-c -o', but also, the minuso test has
14223 # not run yet. These depmodes are late enough in the game, and
14224 # so weak that their functioning should not be impacted.
14225 am__obj=conftest.${OBJEXT-o}
14230 if depmode=$depmode \
14231 source=sub/conftest.c object=$am__obj \
14232 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14233 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14234 >/dev/null 2>conftest.err &&
14235 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14236 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14237 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14238 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14239 # icc doesn't choke on unknown options, it will just issue warnings
14240 # or remarks (even with -Werror). So we grep stderr for any message
14241 # that says an option was ignored or not supported.
14242 # When given -MP, icc 7.0 and 7.1 complain thusly:
14243 # icc: Command line warning: ignoring option '-M'; no argument required
14244 # The diagnosis changed in icc 8.0:
14245 # icc: Command line remark: option '-MP' not supported
14246 if (grep 'ignoring option' conftest.err ||
14247 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14248 am_cv_CXX_dependencies_compiler_type=$depmode
14255 rm -rf conftest.dir
14257 am_cv_CXX_dependencies_compiler_type=none
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14262 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14263 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14266 test "x$enable_dependency_tracking" != xno \
14267 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14268 am__fastdepCXX_TRUE=
14269 am__fastdepCXX_FALSE='#'
14271 am__fastdepCXX_TRUE='#'
14272 am__fastdepCXX_FALSE=
14276 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14277 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14278 (test "X$CXX" != "Xg++"))) ; then
14280 ac_cpp='$CXXCPP $CPPFLAGS'
14281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14285 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14286 if test -z "$CXXCPP"; then
14287 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14288 $as_echo_n "(cached) " >&6
14290 # Double quotes because CXXCPP needs to be expanded
14291 for CXXCPP in "$CXX -E" "/lib/cpp"
14293 ac_preproc_ok=false
14294 for ac_cxx_preproc_warn_flag in '' yes
14296 # Use a header file that comes with gcc, so configuring glibc
14297 # with a fresh cross-compiler works.
14298 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14299 # <limits.h> exists even on freestanding compilers.
14300 # On the NeXT, cc -E runs the code through the compiler's parser,
14301 # not just through cpp. "Syntax error" is here to catch this case.
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 # include <limits.h>
14307 # include <assert.h>
14311 if ac_fn_cxx_try_cpp "$LINENO"; then :
14314 # Broken: fails on valid input.
14317 rm -f conftest.err conftest.i conftest.$ac_ext
14319 # OK, works on sane cases. Now check whether nonexistent headers
14320 # can be detected and how.
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 #include <ac_nonexistent.h>
14325 if ac_fn_cxx_try_cpp "$LINENO"; then :
14326 # Broken: success on invalid input.
14329 # Passes both tests.
14333 rm -f conftest.err conftest.i conftest.$ac_ext
14336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14337 rm -f conftest.i conftest.err conftest.$ac_ext
14338 if $ac_preproc_ok; then :
14343 ac_cv_prog_CXXCPP=$CXXCPP
14346 CXXCPP=$ac_cv_prog_CXXCPP
14348 ac_cv_prog_CXXCPP=$CXXCPP
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14351 $as_echo "$CXXCPP" >&6; }
14352 ac_preproc_ok=false
14353 for ac_cxx_preproc_warn_flag in '' yes
14355 # Use a header file that comes with gcc, so configuring glibc
14356 # with a fresh cross-compiler works.
14357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14358 # <limits.h> exists even on freestanding compilers.
14359 # On the NeXT, cc -E runs the code through the compiler's parser,
14360 # not just through cpp. "Syntax error" is here to catch this case.
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14364 # include <limits.h>
14366 # include <assert.h>
14370 if ac_fn_cxx_try_cpp "$LINENO"; then :
14373 # Broken: fails on valid input.
14376 rm -f conftest.err conftest.i conftest.$ac_ext
14378 # OK, works on sane cases. Now check whether nonexistent headers
14379 # can be detected and how.
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 #include <ac_nonexistent.h>
14384 if ac_fn_cxx_try_cpp "$LINENO"; then :
14385 # Broken: success on invalid input.
14388 # Passes both tests.
14392 rm -f conftest.err conftest.i conftest.$ac_ext
14395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14396 rm -f conftest.i conftest.err conftest.$ac_ext
14397 if $ac_preproc_ok; then :
14400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14402 _lt_caught_CXX_error=yes; }
14406 ac_cpp='$CPP $CPPFLAGS'
14407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14412 _lt_caught_CXX_error=yes
14419 ac_cpp='$CXXCPP $CPPFLAGS'
14420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14424 archive_cmds_need_lc_CXX=no
14425 allow_undefined_flag_CXX=
14426 always_export_symbols_CXX=no
14427 archive_expsym_cmds_CXX=
14428 compiler_needs_object_CXX=no
14429 export_dynamic_flag_spec_CXX=
14430 hardcode_direct_CXX=no
14431 hardcode_direct_absolute_CXX=no
14432 hardcode_libdir_flag_spec_CXX=
14433 hardcode_libdir_flag_spec_ld_CXX=
14434 hardcode_libdir_separator_CXX=
14435 hardcode_minus_L_CXX=no
14436 hardcode_shlibpath_var_CXX=unsupported
14437 hardcode_automatic_CXX=no
14438 inherit_rpath_CXX=no
14440 module_expsym_cmds_CXX=
14441 link_all_deplibs_CXX=unknown
14442 old_archive_cmds_CXX=$old_archive_cmds
14443 no_undefined_flag_CXX=
14444 whole_archive_flag_spec_CXX=
14445 enable_shared_with_static_runtimes_CXX=no
14447 # Source file extension for C++ test sources.
14450 # Object file extension for compiled C++ test sources.
14454 # No sense in running all these tests if we already determined that
14455 # the CXX compiler isn't working. Some variables (like enable_shared)
14456 # are currently assumed to apply to all compilers on this platform,
14457 # and will be corrupted by setting them based on a non-working compiler.
14458 if test "$_lt_caught_CXX_error" != yes; then
14459 # Code to be used in simple compile tests
14460 lt_simple_compile_test_code="int some_variable = 0;"
14462 # Code to be used in simple link tests
14463 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14465 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14472 # If no C compiler was specified, use CC.
14475 # If no C compiler flags were specified, use CFLAGS.
14476 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14478 # Allow CC to be a program name with arguments.
14482 # save warnings/boilerplate of simple test code
14483 ac_outfile=conftest.$ac_objext
14484 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14485 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14486 _lt_compiler_boilerplate=`cat conftest.err`
14489 ac_outfile=conftest.$ac_objext
14490 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14491 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14492 _lt_linker_boilerplate=`cat conftest.err`
14496 # Allow CC to be a program name with arguments.
14501 lt_save_with_gnu_ld=$with_gnu_ld
14502 lt_save_path_LD=$lt_cv_path_LD
14503 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14504 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14506 $as_unset lt_cv_prog_gnu_ld
14508 if test -n "${lt_cv_path_LDCXX+set}"; then
14509 lt_cv_path_LD=$lt_cv_path_LDCXX
14511 $as_unset lt_cv_path_LD
14513 test -z "${LDCXX+set}" || LD=$LDCXX
14517 for cc_temp in $compiler""; do
14519 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14520 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14525 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14528 if test -n "$compiler"; then
14529 # We don't want -fno-exception when compiling C++ code, so set the
14530 # no_builtin_flag separately
14531 if test "$GXX" = yes; then
14532 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14534 lt_prog_compiler_no_builtin_flag_CXX=
14537 if test "$GXX" = yes; then
14538 # Set up default GNU C++ configuration
14542 # Check whether --with-gnu-ld was given.
14543 if test "${with_gnu_ld+set}" = set; then :
14544 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14550 if test "$GCC" = yes; then
14551 # Check if gcc -print-prog-name=ld gives a path.
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14553 $as_echo_n "checking for ld used by $CC... " >&6; }
14556 # gcc leaves a trailing carriage return which upsets mingw
14557 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14559 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14562 # Accept absolute paths.
14564 re_direlt='/[^/][^/]*/\.\./'
14565 # Canonicalize the pathname of ld
14566 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14567 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14568 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14570 test -z "$LD" && LD="$ac_prog"
14573 # If it fails, then pretend we aren't using GCC.
14577 # If it is relative, then search for the first ld in PATH.
14578 with_gnu_ld=unknown
14581 elif test "$with_gnu_ld" = yes; then
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14583 $as_echo_n "checking for GNU ld... " >&6; }
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14586 $as_echo_n "checking for non-GNU ld... " >&6; }
14588 if test "${lt_cv_path_LD+set}" = set; then :
14589 $as_echo_n "(cached) " >&6
14591 if test -z "$LD"; then
14592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14593 for ac_dir in $PATH; do
14595 test -z "$ac_dir" && ac_dir=.
14596 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14597 lt_cv_path_LD="$ac_dir/$ac_prog"
14598 # Check to see if the program is GNU ld. I'd rather use --version,
14599 # but apparently some variants of GNU ld only accept -v.
14600 # Break only if it was the GNU/non-GNU ld that we prefer.
14601 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14602 *GNU* | *'with BFD'*)
14603 test "$with_gnu_ld" != no && break
14606 test "$with_gnu_ld" != yes && break
14613 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14617 LD="$lt_cv_path_LD"
14618 if test -n "$LD"; then
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14620 $as_echo "$LD" >&6; }
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14623 $as_echo "no" >&6; }
14625 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14627 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14628 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14629 $as_echo_n "(cached) " >&6
14631 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14632 case `$LD -v 2>&1 </dev/null` in
14633 *GNU* | *'with BFD'*)
14634 lt_cv_prog_gnu_ld=yes
14637 lt_cv_prog_gnu_ld=no
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14642 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14643 with_gnu_ld=$lt_cv_prog_gnu_ld
14651 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14652 # archiving commands below assume that GNU ld is being used.
14653 if test "$with_gnu_ld" = yes; then
14654 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14655 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'
14657 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14658 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14660 # If archive_cmds runs LD, not CC, wlarc should be empty
14661 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14662 # investigate it a little bit more. (MM)
14665 # ancient GNU ld didn't support --whole-archive et. al.
14666 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14667 $GREP 'no-whole-archive' > /dev/null; then
14668 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14670 whole_archive_flag_spec_CXX=
14676 # A generic and very simple default shared library creation
14677 # command for GNU C++ for the case where it uses the native
14678 # linker, instead of GNU ld. If possible, this setting should
14679 # overridden to take advantage of the native linker features on
14680 # the platform it is being used on.
14681 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14684 # Commands to make compiler produce verbose output that lists
14685 # what "hidden" libraries, object files and flags are used when
14686 # linking a shared library.
14687 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14695 # PORTME: fill in a description of your system's C++ link characteristics
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14697 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14701 # FIXME: insert proper C++ library support
14705 if test "$host_cpu" = ia64; then
14706 # On IA64, the linker does run time linking by default, so we don't
14707 # have to do anything special.
14708 aix_use_runtimelinking=no
14709 exp_sym_flag='-Bexport'
14712 aix_use_runtimelinking=no
14714 # Test if we are trying to use run time linking or normal
14715 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14716 # need to do runtime linking.
14717 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14718 for ld_flag in $LDFLAGS; do
14721 aix_use_runtimelinking=yes
14729 exp_sym_flag='-bexport'
14730 no_entry_flag='-bnoentry'
14733 # When large executables or shared objects are built, AIX ld can
14734 # have problems creating the table of contents. If linking a library
14735 # or program results in "error TOC overflow" add -mminimal-toc to
14736 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14737 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14739 archive_cmds_CXX=''
14740 hardcode_direct_CXX=yes
14741 hardcode_direct_absolute_CXX=yes
14742 hardcode_libdir_separator_CXX=':'
14743 link_all_deplibs_CXX=yes
14744 file_list_spec_CXX='${wl}-f,'
14746 if test "$GXX" = yes; then
14747 case $host_os in aix4.[012]|aix4.[012].*)
14748 # We only want to do this on AIX 4.2 and lower, the check
14749 # below for broken collect2 doesn't work under 4.3+
14750 collect2name=`${CC} -print-prog-name=collect2`
14751 if test -f "$collect2name" &&
14752 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14754 # We have reworked collect2
14757 # We have old collect2
14758 hardcode_direct_CXX=unsupported
14759 # It fails to find uninstalled libraries when the uninstalled
14760 # path is not listed in the libpath. Setting hardcode_minus_L
14761 # to unsupported forces relinking
14762 hardcode_minus_L_CXX=yes
14763 hardcode_libdir_flag_spec_CXX='-L$libdir'
14764 hardcode_libdir_separator_CXX=
14767 shared_flag='-shared'
14768 if test "$aix_use_runtimelinking" = yes; then
14769 shared_flag="$shared_flag "'${wl}-G'
14773 if test "$host_cpu" = ia64; then
14774 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14775 # chokes on -Wl,-G. The following line is correct:
14778 if test "$aix_use_runtimelinking" = yes; then
14779 shared_flag='${wl}-G'
14781 shared_flag='${wl}-bM:SRE'
14786 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14787 # It seems that -bexpall does not export symbols beginning with
14788 # underscore (_), so it is better to generate a list of symbols to
14790 always_export_symbols_CXX=yes
14791 if test "$aix_use_runtimelinking" = yes; then
14792 # Warning - without using the other runtime loading flags (-brtl),
14793 # -berok will link without error, but may produce a broken library.
14794 allow_undefined_flag_CXX='-berok'
14795 # Determine the default libpath from the value encoded in an empty
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14808 if ac_fn_cxx_try_link "$LINENO"; then :
14810 lt_aix_libpath_sed='
14811 /Import File Strings/,/^$/ {
14817 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14818 # Check for a 64-bit object if we didn't find anything.
14819 if test -z "$aix_libpath"; then
14820 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14827 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14829 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"
14831 if test "$host_cpu" = ia64; then
14832 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14833 allow_undefined_flag_CXX="-z nodefs"
14834 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"
14836 # Determine the default libpath from the value encoded in an
14837 # empty executable.
14838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14849 if ac_fn_cxx_try_link "$LINENO"; then :
14851 lt_aix_libpath_sed='
14852 /Import File Strings/,/^$/ {
14858 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14859 # Check for a 64-bit object if we didn't find anything.
14860 if test -z "$aix_libpath"; then
14861 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14868 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14869 # Warning - without using the other run time loading flags,
14870 # -berok will link without error, but may produce a broken library.
14871 no_undefined_flag_CXX=' ${wl}-bernotok'
14872 allow_undefined_flag_CXX=' ${wl}-berok'
14873 # Exported symbols can be pulled into shared objects from archives
14874 whole_archive_flag_spec_CXX='$convenience'
14875 archive_cmds_need_lc_CXX=yes
14876 # This is similar to how AIX traditionally builds its shared
14878 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'
14884 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14885 allow_undefined_flag_CXX=unsupported
14886 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14887 # support --undefined. This deserves some investigation. FIXME
14888 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14895 case $cc_basename in
14897 # FIXME: insert proper C++ library support
14903 cygwin* | mingw* | pw32* | cegcc*)
14904 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14905 # as there is no search path for DLLs.
14906 hardcode_libdir_flag_spec_CXX='-L$libdir'
14907 allow_undefined_flag_CXX=unsupported
14908 always_export_symbols_CXX=no
14909 enable_shared_with_static_runtimes_CXX=yes
14911 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14912 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'
14913 # If the export-symbols file already is a .def file (1st line
14914 # is EXPORTS), use it as is; otherwise, prepend...
14915 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14916 cp $export_symbols $output_objdir/$soname.def;
14918 echo EXPORTS > $output_objdir/$soname.def;
14919 cat $export_symbols >> $output_objdir/$soname.def;
14921 $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'
14926 darwin* | rhapsody*)
14929 archive_cmds_need_lc_CXX=no
14930 hardcode_direct_CXX=no
14931 hardcode_automatic_CXX=yes
14932 hardcode_shlibpath_var_CXX=unsupported
14933 whole_archive_flag_spec_CXX=''
14934 link_all_deplibs_CXX=yes
14935 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14936 case $cc_basename in
14937 ifort*) _lt_dar_can_shared=yes ;;
14938 *) _lt_dar_can_shared=$GCC ;;
14940 if test "$_lt_dar_can_shared" = "yes"; then
14941 output_verbose_link_cmd=echo
14942 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}"
14943 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14944 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}"
14945 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}"
14946 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14947 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}"
14948 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}"
14958 case $cc_basename in
14960 # FIXME: insert proper C++ library support
14964 # Green Hills C++ Compiler
14965 # FIXME: insert proper C++ library support
14969 # FIXME: insert proper C++ library support
14976 # C++ shared libraries reported to be fairly broken before
14982 archive_cmds_need_lc_CXX=no
14985 freebsd* | dragonfly*)
14986 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14995 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14996 hardcode_libdir_separator_CXX=:
14997 export_dynamic_flag_spec_CXX='${wl}-E'
14998 hardcode_direct_CXX=yes
14999 hardcode_minus_L_CXX=yes # Not in the search PATH,
15000 # but as the default
15001 # location of the library.
15003 case $cc_basename in
15005 # FIXME: insert proper C++ library support
15009 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'
15010 # Commands to make compiler produce verbose output that lists
15011 # what "hidden" libraries, object files and flags are used when
15012 # linking a shared library.
15014 # There doesn't appear to be a way to prevent this compiler from
15015 # explicitly linking system object files so we need to strip them
15016 # from the output so that they don't get included in the library
15018 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'
15021 if test "$GXX" = yes; then
15022 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'
15024 # FIXME: insert proper C++ library support
15032 if test $with_gnu_ld = no; then
15033 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15034 hardcode_libdir_separator_CXX=:
15040 export_dynamic_flag_spec_CXX='${wl}-E'
15046 hardcode_direct_CXX=no
15047 hardcode_shlibpath_var_CXX=no
15050 hardcode_direct_CXX=yes
15051 hardcode_direct_absolute_CXX=yes
15052 hardcode_minus_L_CXX=yes # Not in the search PATH,
15053 # but as the default
15054 # location of the library.
15058 case $cc_basename in
15060 # FIXME: insert proper C++ library support
15066 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15069 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15072 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15075 # Commands to make compiler produce verbose output that lists
15076 # what "hidden" libraries, object files and flags are used when
15077 # linking a shared library.
15079 # There doesn't appear to be a way to prevent this compiler from
15080 # explicitly linking system object files so we need to strip them
15081 # from the output so that they don't get included in the library
15083 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'
15086 if test "$GXX" = yes; then
15087 if test $with_gnu_ld = no; then
15090 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15093 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15096 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'
15101 # FIXME: insert proper C++ library support
15109 hardcode_direct_CXX=no
15110 hardcode_shlibpath_var_CXX=no
15111 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15112 export_dynamic_flag_spec_CXX='${wl}-E'
15113 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15114 # Instead, shared libraries are loaded at an image base (0x10000000 by
15115 # default) and relocated if they conflict, which is a slow very memory
15116 # consuming and fragmenting process. To avoid this, we pick a random,
15117 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15118 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15119 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'
15120 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'
15123 case $cc_basename in
15126 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'
15128 # Archives containing C++ object files must be created using
15129 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15130 # necessary to make sure instantiated templates are included
15132 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15135 if test "$GXX" = yes; then
15136 if test "$with_gnu_ld" = no; then
15137 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'
15139 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'
15142 link_all_deplibs_CXX=yes
15145 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15146 hardcode_libdir_separator_CXX=:
15147 inherit_rpath_CXX=yes
15150 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15151 case $cc_basename in
15153 # Kuck and Associates, Inc. (KAI) C++ Compiler
15155 # KCC will only create a shared library if the output file
15156 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15157 # to its proper name (with version) after linking.
15158 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'
15159 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'
15160 # Commands to make compiler produce verbose output that lists
15161 # what "hidden" libraries, object files and flags are used when
15162 # linking a shared library.
15164 # There doesn't appear to be a way to prevent this compiler from
15165 # explicitly linking system object files so we need to strip them
15166 # from the output so that they don't get included in the library
15168 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'
15170 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15171 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15173 # Archives containing C++ object files must be created using
15174 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15175 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15180 # version 8.0 and above of icpc choke on multiply defined symbols
15181 # if we add $predep_objects and $postdep_objects, however 7.1 and
15182 # earlier do not add the objects themselves.
15183 case `$CC -V 2>&1` in
15185 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15186 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'
15188 *) # Version 8.0 or newer
15191 ia64*) tmp_idyn=' -i_dynamic';;
15193 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15194 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'
15197 archive_cmds_need_lc_CXX=no
15198 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15199 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15200 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15203 # Portland Group C++ compiler
15205 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15206 prelink_cmds_CXX='tpldir=Template.dir~
15208 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15209 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15210 old_archive_cmds_CXX='tpldir=Template.dir~
15212 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15213 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15215 archive_cmds_CXX='tpldir=Template.dir~
15217 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15218 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15219 archive_expsym_cmds_CXX='tpldir=Template.dir~
15221 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15222 $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'
15224 *) # Version 6 will use weak symbols
15225 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15226 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'
15230 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15231 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15232 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'
15236 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15237 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'
15239 runpath_var=LD_RUN_PATH
15240 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15241 hardcode_libdir_separator_CXX=:
15243 # Commands to make compiler produce verbose output that lists
15244 # what "hidden" libraries, object files and flags are used when
15245 # linking a shared library.
15247 # There doesn't appear to be a way to prevent this compiler from
15248 # explicitly linking system object files so we need to strip them
15249 # from the output so that they don't get included in the library
15251 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'
15254 # IBM XL 8.0 on PPC, with GNU ld
15255 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15256 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15257 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15258 if test "x$supports_anon_versioning" = xyes; then
15259 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15260 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15261 echo "local: *; };" >> $output_objdir/$libname.ver~
15262 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15266 case `$CC -V 2>&1 | sed 5q` in
15269 no_undefined_flag_CXX=' -zdefs'
15270 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15271 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'
15272 hardcode_libdir_flag_spec_CXX='-R$libdir'
15273 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'
15274 compiler_needs_object_CXX=yes
15276 # Not sure whether something based on
15277 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15279 output_verbose_link_cmd='echo'
15281 # Archives containing C++ object files must be created using
15282 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15283 # necessary to make sure instantiated templates are included
15285 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15293 # FIXME: insert proper C++ library support
15298 # FIXME: insert proper C++ library support
15303 case $cc_basename in
15305 # FIXME: insert proper C++ library support
15309 # FIXME: insert proper C++ library support
15316 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15317 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15319 hardcode_libdir_flag_spec_CXX='-R$libdir'
15320 hardcode_direct_CXX=yes
15321 hardcode_shlibpath_var_CXX=no
15323 # Workaround some broken pre-1.5 toolchains
15324 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15332 # C++ shared libraries are fairly broken
15337 if test -f /usr/libexec/ld.so; then
15338 hardcode_direct_CXX=yes
15339 hardcode_shlibpath_var_CXX=no
15340 hardcode_direct_absolute_CXX=yes
15341 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15342 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15343 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15344 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15345 export_dynamic_flag_spec_CXX='${wl}-E'
15346 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15348 output_verbose_link_cmd=echo
15354 osf3* | osf4* | osf5*)
15355 case $cc_basename in
15357 # Kuck and Associates, Inc. (KAI) C++ Compiler
15359 # KCC will only create a shared library if the output file
15360 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15361 # to its proper name (with version) after linking.
15362 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'
15364 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15365 hardcode_libdir_separator_CXX=:
15367 # Archives containing C++ object files must be created using
15368 # the KAI C++ compiler.
15370 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15371 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15375 # Rational C++ 2.4.1
15376 # FIXME: insert proper C++ library support
15382 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15383 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'
15384 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15387 allow_undefined_flag_CXX=' -expect_unresolved \*'
15388 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'
15389 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15390 echo "-hidden">> $lib.exp~
15391 $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~
15393 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15397 hardcode_libdir_separator_CXX=:
15399 # Commands to make compiler produce verbose output that lists
15400 # what "hidden" libraries, object files and flags are used when
15401 # linking a shared library.
15403 # There doesn't appear to be a way to prevent this compiler from
15404 # explicitly linking system object files so we need to strip them
15405 # from the output so that they don't get included in the library
15407 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'
15410 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15411 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15414 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'
15417 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'
15421 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15422 hardcode_libdir_separator_CXX=:
15424 # Commands to make compiler produce verbose output that lists
15425 # what "hidden" libraries, object files and flags are used when
15426 # linking a shared library.
15427 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15430 # FIXME: insert proper C++ library support
15438 # FIXME: insert proper C++ library support
15443 case $cc_basename in
15446 # FIXME: insert proper C++ library support
15451 # FIXME: insert proper C++ library support
15455 # FIXME: insert proper C++ library support
15462 case $cc_basename in
15464 # Sun C++ 4.2, 5.x and Centerline C++
15465 archive_cmds_need_lc_CXX=yes
15466 no_undefined_flag_CXX=' -zdefs'
15467 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15468 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15469 $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'
15471 hardcode_libdir_flag_spec_CXX='-R$libdir'
15472 hardcode_shlibpath_var_CXX=no
15474 solaris2.[0-5] | solaris2.[0-5].*) ;;
15476 # The compiler driver will combine and reorder linker options,
15477 # but understands `-z linker_flag'.
15478 # Supported since Solaris 2.6 (maybe 2.5.1?)
15479 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15482 link_all_deplibs_CXX=yes
15484 output_verbose_link_cmd='echo'
15486 # Archives containing C++ object files must be created using
15487 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15488 # necessary to make sure instantiated templates are included
15490 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15493 # Green Hills C++ Compiler
15494 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15496 # The C++ compiler must be used to create the archive.
15497 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15500 # GNU C++ compiler with Solaris linker
15501 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15502 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15503 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15504 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15505 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15506 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15508 # Commands to make compiler produce verbose output that lists
15509 # what "hidden" libraries, object files and flags are used when
15510 # linking a shared library.
15511 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15513 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15515 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15516 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15517 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15519 # Commands to make compiler produce verbose output that lists
15520 # what "hidden" libraries, object files and flags are used when
15521 # linking a shared library.
15522 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15525 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15527 solaris2.[0-5] | solaris2.[0-5].*) ;;
15529 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15537 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15538 no_undefined_flag_CXX='${wl}-z,text'
15539 archive_cmds_need_lc_CXX=no
15540 hardcode_shlibpath_var_CXX=no
15541 runpath_var='LD_RUN_PATH'
15543 case $cc_basename in
15545 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15546 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15549 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15550 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15555 sysv5* | sco3.2v5* | sco5v6*)
15556 # Note: We can NOT use -z defs as we might desire, because we do not
15557 # link with -lc, and that would cause any symbols used from libc to
15558 # always be unresolved, which means just about no library would
15559 # ever link correctly. If we're not using GNU ld we use -z text
15560 # though, which does catch some bad symbols but isn't as heavy-handed
15562 no_undefined_flag_CXX='${wl}-z,text'
15563 allow_undefined_flag_CXX='${wl}-z,nodefs'
15564 archive_cmds_need_lc_CXX=no
15565 hardcode_shlibpath_var_CXX=no
15566 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15567 hardcode_libdir_separator_CXX=':'
15568 link_all_deplibs_CXX=yes
15569 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15570 runpath_var='LD_RUN_PATH'
15572 case $cc_basename in
15574 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15575 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15578 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15579 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15585 case $cc_basename in
15587 # NonStop-UX NCC 3.20
15588 # FIXME: insert proper C++ library support
15592 # FIXME: insert proper C++ library support
15599 # FIXME: insert proper C++ library support
15604 # FIXME: insert proper C++ library support
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15610 $as_echo "$ld_shlibs_CXX" >&6; }
15611 test "$ld_shlibs_CXX" = no && can_build_shared=no
15617 ## There is no encapsulation within the following macros, do not change
15618 ## the running order or otherwise move them around unless you know exactly
15619 ## what you are doing...
15620 # Dependencies to place before and after the object being linked:
15621 predep_objects_CXX=
15622 postdep_objects_CXX=
15625 compiler_lib_search_path_CXX=
15627 cat > conftest.$ac_ext <<_LT_EOF
15631 Foo (void) { a = 0; }
15637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15638 (eval $ac_compile) 2>&5
15640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15641 test $ac_status = 0; }; then
15642 # Parse the compiler output and extract the necessary
15643 # objects, libraries and library flags.
15645 # Sentinel used to keep track of whether or not we are before
15646 # the conftest object file.
15647 pre_test_object_deps_done=no
15649 for p in `eval "$output_verbose_link_cmd"`; do
15653 # Some compilers place space between "-{L,R}" and the path.
15654 # Remove the space.
15655 if test $p = "-L" ||
15656 test $p = "-R"; then
15663 if test "$pre_test_object_deps_done" = no; then
15666 # Internal compiler library paths should come after those
15667 # provided the user. The postdeps already come after the
15668 # user supplied libs so there is no need to process them.
15669 if test -z "$compiler_lib_search_path_CXX"; then
15670 compiler_lib_search_path_CXX="${prev}${p}"
15672 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15675 # The "-l" case would never come before the object being
15676 # linked, so don't bother handling this case.
15679 if test -z "$postdeps_CXX"; then
15680 postdeps_CXX="${prev}${p}"
15682 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15688 # This assumes that the test object file only shows up
15689 # once in the compiler output.
15690 if test "$p" = "conftest.$objext"; then
15691 pre_test_object_deps_done=yes
15695 if test "$pre_test_object_deps_done" = no; then
15696 if test -z "$predep_objects_CXX"; then
15697 predep_objects_CXX="$p"
15699 predep_objects_CXX="$predep_objects_CXX $p"
15702 if test -z "$postdep_objects_CXX"; then
15703 postdep_objects_CXX="$p"
15705 postdep_objects_CXX="$postdep_objects_CXX $p"
15710 *) ;; # Ignore the rest.
15718 echo "libtool.m4: error: problem compiling CXX test program"
15721 $RM -f confest.$objext
15723 # PORTME: override above test on systems where it is broken
15726 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15727 # hack all around it, let's just trust "g++" to DTRT.
15728 predep_objects_CXX=
15729 postdep_objects_CXX=
15734 case `$CC -V 2>&1 | sed 5q` in
15738 # The more standards-conforming stlport4 library is
15739 # incompatible with the Cstd library. Avoid specifying
15740 # it if it's in CXXFLAGS. Ignore libCrun as
15741 # -library=stlport4 depends on it.
15742 case " $CXX $CXXFLAGS " in
15743 *" -library=stlport4 "*)
15744 solaris_use_stlport4=yes
15748 if test "$solaris_use_stlport4" != yes; then
15749 postdeps_CXX='-library=Cstd -library=Crun'
15756 case $cc_basename in
15758 # The more standards-conforming stlport4 library is
15759 # incompatible with the Cstd library. Avoid specifying
15760 # it if it's in CXXFLAGS. Ignore libCrun as
15761 # -library=stlport4 depends on it.
15762 case " $CXX $CXXFLAGS " in
15763 *" -library=stlport4 "*)
15764 solaris_use_stlport4=yes
15768 # Adding this requires a known-good setup of shared libraries for
15769 # Sun compiler versions before 5.6, else PIC objects from an old
15770 # archive will be linked into the output, leading to subtle bugs.
15771 if test "$solaris_use_stlport4" != yes; then
15772 postdeps_CXX='-library=Cstd -library=Crun'
15780 case " $postdeps_CXX " in
15781 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15783 compiler_lib_search_dirs_CXX=
15784 if test -n "${compiler_lib_search_path_CXX}"; then
15785 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15818 lt_prog_compiler_wl_CXX=
15819 lt_prog_compiler_pic_CXX=
15820 lt_prog_compiler_static_CXX=
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15823 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15825 # C++ specific cases for pic, static, wl, etc.
15826 if test "$GXX" = yes; then
15827 lt_prog_compiler_wl_CXX='-Wl,'
15828 lt_prog_compiler_static_CXX='-static'
15832 # All AIX code is PIC.
15833 if test "$host_cpu" = ia64; then
15834 # AIX 5 now supports IA64 processor
15835 lt_prog_compiler_static_CXX='-Bstatic'
15842 # see comment about AmigaOS4 .so support
15843 lt_prog_compiler_pic_CXX='-fPIC'
15846 # FIXME: we need at least 68020 code to build shared libraries, but
15847 # adding the `-m68020' flag to GCC prevents building anything better,
15849 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15854 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15855 # PIC is the default for these OSes.
15857 mingw* | cygwin* | os2* | pw32* | cegcc*)
15858 # This hack is so that the source file can tell whether it is being
15859 # built for inclusion in a dll (and should export symbols for example).
15860 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15861 # (--disable-auto-import) libraries
15862 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15864 darwin* | rhapsody*)
15865 # PIC is the default on this platform
15866 # Common symbols not allowed in MH_DYLIB files
15867 lt_prog_compiler_pic_CXX='-fno-common'
15870 # DJGPP does not support shared libraries at all
15871 lt_prog_compiler_pic_CXX=
15874 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15875 # Instead, we relocate shared libraries at runtime.
15878 if test -d /usr/nec; then
15879 lt_prog_compiler_pic_CXX=-Kconform_pic
15883 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15884 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15885 # sets the default TLS model and affects inlining.
15890 lt_prog_compiler_pic_CXX='-fPIC'
15895 # QNX uses GNU C++, but need to define -shared option too, otherwise
15896 # it will coredump.
15897 lt_prog_compiler_pic_CXX='-fPIC -shared'
15900 lt_prog_compiler_pic_CXX='-fPIC'
15906 # All AIX code is PIC.
15907 if test "$host_cpu" = ia64; then
15908 # AIX 5 now supports IA64 processor
15909 lt_prog_compiler_static_CXX='-Bstatic'
15911 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15915 case $cc_basename in
15917 # Green Hills C++ Compiler
15918 # _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"
15923 case $cc_basename in
15925 lt_prog_compiler_pic_CXX='-KPIC'
15928 # Green Hills C++ Compiler
15929 lt_prog_compiler_pic_CXX='-pic'
15935 freebsd* | dragonfly*)
15936 # FreeBSD uses GNU C++
15938 hpux9* | hpux10* | hpux11*)
15939 case $cc_basename in
15941 lt_prog_compiler_wl_CXX='-Wl,'
15942 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15943 if test "$host_cpu" != ia64; then
15944 lt_prog_compiler_pic_CXX='+Z'
15948 lt_prog_compiler_wl_CXX='-Wl,'
15949 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15955 lt_prog_compiler_pic_CXX='+Z'
15964 # This is c89, which is MS Visual C++ (no shared libs)
15965 # Anyone wants to do a port?
15967 irix5* | irix6* | nonstopux*)
15968 case $cc_basename in
15970 lt_prog_compiler_wl_CXX='-Wl,'
15971 lt_prog_compiler_static_CXX='-non_shared'
15972 # CC pic flag -KPIC is the default.
15978 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15979 case $cc_basename in
15982 lt_prog_compiler_wl_CXX='--backend -Wl,'
15983 lt_prog_compiler_pic_CXX='-fPIC'
15986 # old Intel C++ for x86_64 which still supported -KPIC.
15987 lt_prog_compiler_wl_CXX='-Wl,'
15988 lt_prog_compiler_pic_CXX='-KPIC'
15989 lt_prog_compiler_static_CXX='-static'
15992 # Intel C++, used to be incompatible with GCC.
15993 # ICC 10 doesn't accept -KPIC any more.
15994 lt_prog_compiler_wl_CXX='-Wl,'
15995 lt_prog_compiler_pic_CXX='-fPIC'
15996 lt_prog_compiler_static_CXX='-static'
15999 # Portland Group C++ compiler
16000 lt_prog_compiler_wl_CXX='-Wl,'
16001 lt_prog_compiler_pic_CXX='-fpic'
16002 lt_prog_compiler_static_CXX='-Bstatic'
16006 # Make sure the PIC flag is empty. It appears that all Alpha
16007 # Linux and Compaq Tru64 Unix objects are PIC.
16008 lt_prog_compiler_pic_CXX=
16009 lt_prog_compiler_static_CXX='-non_shared'
16012 # IBM XL 8.0 on PPC
16013 lt_prog_compiler_wl_CXX='-Wl,'
16014 lt_prog_compiler_pic_CXX='-qpic'
16015 lt_prog_compiler_static_CXX='-qstaticlink'
16018 case `$CC -V 2>&1 | sed 5q` in
16021 lt_prog_compiler_pic_CXX='-KPIC'
16022 lt_prog_compiler_static_CXX='-Bstatic'
16023 lt_prog_compiler_wl_CXX='-Qoption ld '
16034 case $cc_basename in
16036 lt_prog_compiler_pic_CXX='-W c,exportall'
16042 netbsd* | netbsdelf*-gnu)
16045 # QNX uses GNU C++, but need to define -shared option too, otherwise
16046 # it will coredump.
16047 lt_prog_compiler_pic_CXX='-fPIC -shared'
16049 osf3* | osf4* | osf5*)
16050 case $cc_basename in
16052 lt_prog_compiler_wl_CXX='--backend -Wl,'
16055 # Rational C++ 2.4.1
16056 lt_prog_compiler_pic_CXX='-pic'
16059 # Digital/Compaq C++
16060 lt_prog_compiler_wl_CXX='-Wl,'
16061 # Make sure the PIC flag is empty. It appears that all Alpha
16062 # Linux and Compaq Tru64 Unix objects are PIC.
16063 lt_prog_compiler_pic_CXX=
16064 lt_prog_compiler_static_CXX='-non_shared'
16073 case $cc_basename in
16075 # Sun C++ 4.2, 5.x and Centerline C++
16076 lt_prog_compiler_pic_CXX='-KPIC'
16077 lt_prog_compiler_static_CXX='-Bstatic'
16078 lt_prog_compiler_wl_CXX='-Qoption ld '
16081 # Green Hills C++ Compiler
16082 lt_prog_compiler_pic_CXX='-PIC'
16089 case $cc_basename in
16092 lt_prog_compiler_pic_CXX='-pic'
16093 lt_prog_compiler_static_CXX='-Bstatic'
16097 lt_prog_compiler_pic_CXX='-pic'
16103 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16104 case $cc_basename in
16106 lt_prog_compiler_wl_CXX='-Wl,'
16107 lt_prog_compiler_pic_CXX='-KPIC'
16108 lt_prog_compiler_static_CXX='-Bstatic'
16113 case $cc_basename in
16115 # NonStop-UX NCC 3.20
16116 lt_prog_compiler_pic_CXX='-KPIC'
16125 lt_prog_compiler_can_build_shared_CXX=no
16131 # For platforms which do not support PIC, -DPIC is meaningless:
16133 lt_prog_compiler_pic_CXX=
16136 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16140 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16145 # Check to make sure the PIC flag actually works.
16147 if test -n "$lt_prog_compiler_pic_CXX"; then
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16149 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16150 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16151 $as_echo_n "(cached) " >&6
16153 lt_cv_prog_compiler_pic_works_CXX=no
16154 ac_outfile=conftest.$ac_objext
16155 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16156 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16157 # Insert the option either (1) after the last *FLAGS variable, or
16158 # (2) before a word containing "conftest.", or (3) at the end.
16159 # Note that $ac_compile itself does not contain backslashes and begins
16160 # with a dollar sign (not a hyphen), so the echo should work correctly.
16161 # The option is referenced via a variable to avoid confusing sed.
16162 lt_compile=`echo "$ac_compile" | $SED \
16163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16165 -e 's:$: $lt_compiler_flag:'`
16166 (eval echo "\"\$as_me:16166: $lt_compile\"" >&5)
16167 (eval "$lt_compile" 2>conftest.err)
16169 cat conftest.err >&5
16170 echo "$as_me:16170: \$? = $ac_status" >&5
16171 if (exit $ac_status) && test -s "$ac_outfile"; then
16172 # The compiler can only warn and ignore the option if not recognized
16173 # So say no if there are warnings other than the usual output.
16174 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16175 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16176 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16177 lt_cv_prog_compiler_pic_works_CXX=yes
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16184 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16186 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16187 case $lt_prog_compiler_pic_CXX in
16189 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16192 lt_prog_compiler_pic_CXX=
16193 lt_prog_compiler_can_build_shared_CXX=no
16201 # Check to make sure the static flag actually works.
16203 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16205 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16206 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16207 $as_echo_n "(cached) " >&6
16209 lt_cv_prog_compiler_static_works_CXX=no
16210 save_LDFLAGS="$LDFLAGS"
16211 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16212 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16213 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16214 # The linker can only warn and ignore the option if not recognized
16215 # So say no if there are warnings
16216 if test -s conftest.err; then
16217 # Append any errors to the config.log.
16218 cat conftest.err 1>&5
16219 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16220 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16221 if diff conftest.exp conftest.er2 >/dev/null; then
16222 lt_cv_prog_compiler_static_works_CXX=yes
16225 lt_cv_prog_compiler_static_works_CXX=yes
16229 LDFLAGS="$save_LDFLAGS"
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16233 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16235 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16238 lt_prog_compiler_static_CXX=
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16245 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16246 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16247 $as_echo_n "(cached) " >&6
16249 lt_cv_prog_compiler_c_o_CXX=no
16250 $RM -r conftest 2>/dev/null
16254 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16256 lt_compiler_flag="-o out/conftest2.$ac_objext"
16257 # Insert the option either (1) after the last *FLAGS variable, or
16258 # (2) before a word containing "conftest.", or (3) at the end.
16259 # Note that $ac_compile itself does not contain backslashes and begins
16260 # with a dollar sign (not a hyphen), so the echo should work correctly.
16261 lt_compile=`echo "$ac_compile" | $SED \
16262 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16263 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16264 -e 's:$: $lt_compiler_flag:'`
16265 (eval echo "\"\$as_me:16265: $lt_compile\"" >&5)
16266 (eval "$lt_compile" 2>out/conftest.err)
16268 cat out/conftest.err >&5
16269 echo "$as_me:16269: \$? = $ac_status" >&5
16270 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16272 # The compiler can only warn and ignore the option if not recognized
16273 # So say no if there are warnings
16274 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16275 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16276 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16277 lt_cv_prog_compiler_c_o_CXX=yes
16282 # SGI C++ compiler will create directory out/ii_files/ for
16283 # template instantiation
16284 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16285 $RM out/* && rmdir out
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16292 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16297 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16298 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16299 $as_echo_n "(cached) " >&6
16301 lt_cv_prog_compiler_c_o_CXX=no
16302 $RM -r conftest 2>/dev/null
16306 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16308 lt_compiler_flag="-o out/conftest2.$ac_objext"
16309 # Insert the option either (1) after the last *FLAGS variable, or
16310 # (2) before a word containing "conftest.", or (3) at the end.
16311 # Note that $ac_compile itself does not contain backslashes and begins
16312 # with a dollar sign (not a hyphen), so the echo should work correctly.
16313 lt_compile=`echo "$ac_compile" | $SED \
16314 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16315 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16316 -e 's:$: $lt_compiler_flag:'`
16317 (eval echo "\"\$as_me:16317: $lt_compile\"" >&5)
16318 (eval "$lt_compile" 2>out/conftest.err)
16320 cat out/conftest.err >&5
16321 echo "$as_me:16321: \$? = $ac_status" >&5
16322 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16324 # The compiler can only warn and ignore the option if not recognized
16325 # So say no if there are warnings
16326 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16327 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16328 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16329 lt_cv_prog_compiler_c_o_CXX=yes
16334 # SGI C++ compiler will create directory out/ii_files/ for
16335 # template instantiation
16336 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16337 $RM out/* && rmdir out
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16344 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16349 hard_links="nottested"
16350 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16351 # do not overwrite the value of need_locks provided by the user
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16353 $as_echo_n "checking if we can lock with hard links... " >&6; }
16356 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16358 ln conftest.a conftest.b 2>&5 || hard_links=no
16359 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16361 $as_echo "$hard_links" >&6; }
16362 if test "$hard_links" = no; then
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16364 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16374 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16376 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16379 # If we're using GNU nm, then we don't want the "-C" option.
16380 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16381 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16382 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'
16384 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'
16388 export_symbols_cmds_CXX="$ltdll_cmds"
16390 cygwin* | mingw* | cegcc*)
16391 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'
16393 linux* | k*bsd*-gnu)
16394 link_all_deplibs_CXX=no
16397 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16400 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16403 $as_echo "$ld_shlibs_CXX" >&6; }
16404 test "$ld_shlibs_CXX" = no && can_build_shared=no
16406 with_gnu_ld_CXX=$with_gnu_ld
16414 # Do we need to explicitly link libc?
16416 case "x$archive_cmds_need_lc_CXX" in
16418 # Assume -lc should be added
16419 archive_cmds_need_lc_CXX=yes
16421 if test "$enable_shared" = yes && test "$GCC" = yes; then
16422 case $archive_cmds_CXX in
16424 # FIXME: we may have to deal with multi-command sequences.
16427 # Test whether the compiler implicitly links with -lc since on some
16428 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16429 # to ld, don't add -lc before -lgcc.
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16431 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16433 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16436 (eval $ac_compile) 2>&5
16438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16439 test $ac_status = 0; } 2>conftest.err; then
16442 libobjs=conftest.$ac_objext
16444 wl=$lt_prog_compiler_wl_CXX
16445 pic_flag=$lt_prog_compiler_pic_CXX
16451 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16452 allow_undefined_flag_CXX=
16453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16454 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16457 test $ac_status = 0; }
16459 archive_cmds_need_lc_CXX=no
16461 archive_cmds_need_lc_CXX=yes
16463 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16465 cat conftest.err 1>&5
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16469 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16540 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16542 library_names_spec=
16543 libname_spec='lib$name'
16547 postuninstall_cmds=
16551 shlibpath_overrides_runpath=unknown
16553 dynamic_linker="$host_os ld.so"
16554 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16555 need_lib_prefix=unknown
16556 hardcode_into_libs=no
16558 # when you set need_version to no, make sure it does not cause -set_version
16559 # flags to be left without arguments
16560 need_version=unknown
16565 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16566 shlibpath_var=LIBPATH
16568 # AIX 3 has no versioning support, so we append a major version to the name.
16569 soname_spec='${libname}${release}${shared_ext}$major'
16576 hardcode_into_libs=yes
16577 if test "$host_cpu" = ia64; then
16578 # AIX 5 supports IA64
16579 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16580 shlibpath_var=LD_LIBRARY_PATH
16582 # With GCC up to 2.95.x, collect2 would create an import file
16583 # for dependence libraries. The import file would start with
16584 # the line `#! .'. This would cause the generated library to
16585 # depend on `.', always an invalid library. This was fixed in
16586 # development snapshots of GCC prior to 3.0.
16588 aix4 | aix4.[01] | aix4.[01].*)
16589 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16591 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16594 can_build_shared=no
16598 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16599 # soname into executable. Probably we can add versioning support to
16600 # collect2, so additional links can be useful in future.
16601 if test "$aix_use_runtimelinking" = yes; then
16602 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16603 # instead of lib<name>.a to let people know that these are not
16604 # typical AIX shared libraries.
16605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16607 # We preserve .a as extension for shared libraries through AIX4.2
16608 # and later when we are not doing run time linking.
16609 library_names_spec='${libname}${release}.a $libname.a'
16610 soname_spec='${libname}${release}${shared_ext}$major'
16612 shlibpath_var=LIBPATH
16619 # Since July 2007 AmigaOS4 officially supports .so libraries.
16620 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16624 library_names_spec='$libname.ixlibrary $libname.a'
16625 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16626 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'
16632 library_names_spec='${libname}${shared_ext}'
16633 dynamic_linker="$host_os ld.so"
16634 shlibpath_var=LIBRARY_PATH
16640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16641 soname_spec='${libname}${release}${shared_ext}$major'
16642 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16643 shlibpath_var=LD_LIBRARY_PATH
16644 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16645 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16646 # the default ld.so.conf also contains /usr/contrib/lib and
16647 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16648 # libtool to hard-code these into programs
16651 cygwin* | mingw* | pw32* | cegcc*)
16652 version_type=windows
16657 case $GCC,$host_os in
16658 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16659 library_names_spec='$libname.dll.a'
16660 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16661 postinstall_cmds='base_file=`basename \${file}`~
16662 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16663 dldir=$destdir/`dirname \$dlpath`~
16664 test -d \$dldir || mkdir -p \$dldir~
16665 $install_prog $dir/$dlname \$dldir/$dlname~
16666 chmod a+x \$dldir/$dlname~
16667 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16668 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16670 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16671 dlpath=$dir/\$dldll~
16673 shlibpath_overrides_runpath=yes
16677 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16678 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16679 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16682 # MinGW DLLs use traditional 'lib' prefix
16683 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16684 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16685 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16686 # It is most probably a Windows format PATH printed by
16687 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16688 # path with ; separators, and with drive letters. We can handle the
16689 # drive letters (cygwin fileutils understands them), so leave them,
16690 # especially as we might pass files found there to a mingw objdump,
16691 # which wouldn't understand a cygwinified path. Ahh.
16692 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16694 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16698 # pw32 DLLs use 'pw' prefix rather than 'lib'
16699 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16705 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16708 dynamic_linker='Win32 ld.exe'
16709 # FIXME: first we should search . and the directory the executable is in
16713 darwin* | rhapsody*)
16714 dynamic_linker="$host_os dyld"
16715 version_type=darwin
16718 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16719 soname_spec='${libname}${release}${major}$shared_ext'
16720 shlibpath_overrides_runpath=yes
16721 shlibpath_var=DYLD_LIBRARY_PATH
16722 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16724 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16732 soname_spec='${libname}${release}${shared_ext}$major'
16733 shlibpath_var=LD_LIBRARY_PATH
16740 freebsd* | dragonfly*)
16741 # DragonFly does not have aout. When/if they implement a new
16742 # versioning mechanism, adjust this.
16743 if test -x /usr/bin/objformat; then
16744 objformat=`/usr/bin/objformat`
16747 freebsd[123]*) objformat=aout ;;
16748 *) objformat=elf ;;
16751 version_type=freebsd-$objformat
16752 case $version_type in
16754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16759 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16763 shlibpath_var=LD_LIBRARY_PATH
16766 shlibpath_overrides_runpath=yes
16768 freebsd3.[01]* | freebsdelf3.[01]*)
16769 shlibpath_overrides_runpath=yes
16770 hardcode_into_libs=yes
16772 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16773 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16774 shlibpath_overrides_runpath=no
16775 hardcode_into_libs=yes
16777 *) # from 4.6 on, and DragonFly
16778 shlibpath_overrides_runpath=yes
16779 hardcode_into_libs=yes
16788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16789 soname_spec='${libname}${release}${shared_ext}$major'
16790 shlibpath_var=LD_LIBRARY_PATH
16791 hardcode_into_libs=yes
16794 hpux9* | hpux10* | hpux11*)
16795 # Give a soname corresponding to the major version so that dld.sl refuses to
16796 # link against other versions.
16803 hardcode_into_libs=yes
16804 dynamic_linker="$host_os dld.so"
16805 shlibpath_var=LD_LIBRARY_PATH
16806 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16808 soname_spec='${libname}${release}${shared_ext}$major'
16809 if test "X$HPUX_IA64_MODE" = X32; then
16810 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16812 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16814 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16818 hardcode_into_libs=yes
16819 dynamic_linker="$host_os dld.sl"
16820 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16821 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16823 soname_spec='${libname}${release}${shared_ext}$major'
16824 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16825 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16829 dynamic_linker="$host_os dld.sl"
16830 shlibpath_var=SHLIB_PATH
16831 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16833 soname_spec='${libname}${release}${shared_ext}$major'
16836 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16837 postinstall_cmds='chmod 555 $lib'
16844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16845 soname_spec='${libname}${release}${shared_ext}$major'
16846 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16847 shlibpath_var=LD_LIBRARY_PATH
16848 shlibpath_overrides_runpath=no
16849 hardcode_into_libs=yes
16852 irix5* | irix6* | nonstopux*)
16854 nonstopux*) version_type=nonstopux ;;
16856 if test "$lt_cv_prog_gnu_ld" = yes; then
16864 soname_spec='${libname}${release}${shared_ext}$major'
16865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16867 irix5* | nonstopux*)
16868 libsuff= shlibsuff=
16871 case $LD in # libtool.m4 will add one of these switches to LD
16872 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16873 libsuff= shlibsuff= libmagic=32-bit;;
16874 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16875 libsuff=32 shlibsuff=N32 libmagic=N32;;
16876 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16877 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16878 *) libsuff= shlibsuff= libmagic=never-match;;
16882 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16883 shlibpath_overrides_runpath=no
16884 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16885 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16886 hardcode_into_libs=yes
16889 # No shared lib support for Linux oldld, aout, or coff.
16890 linux*oldld* | linux*aout* | linux*coff*)
16894 # This must be Linux ELF.
16895 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16900 soname_spec='${libname}${release}${shared_ext}$major'
16901 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16902 shlibpath_var=LD_LIBRARY_PATH
16903 shlibpath_overrides_runpath=no
16904 # Some binutils ld are patched to set DT_RUNPATH
16905 save_LDFLAGS=$LDFLAGS
16906 save_libdir=$libdir
16907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16920 if ac_fn_cxx_try_link "$LINENO"; then :
16921 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16922 shlibpath_overrides_runpath=yes
16925 rm -f core conftest.err conftest.$ac_objext \
16926 conftest$ac_exeext conftest.$ac_ext
16927 LDFLAGS=$save_LDFLAGS
16928 libdir=$save_libdir
16930 # This implies no fast_install, which is unacceptable.
16931 # Some rework will be needed to allow for fast_install
16932 # before this can be enabled.
16933 hardcode_into_libs=yes
16935 # Append ld.so.conf contents to the search path
16936 if test -f /etc/ld.so.conf; then
16937 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' ' '`
16938 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16941 # We used to test for /lib/ld.so.1 and disable shared libraries on
16942 # powerpc, because MkLinux only supported shared libraries with the
16943 # GNU dynamic linker. Since this was broken with cross compilers,
16944 # most powerpc-linux boxes support dynamic linking these days and
16945 # people can always --disable-shared, the test was removed, and we
16946 # assume the GNU/Linux dynamic linker is in use.
16947 dynamic_linker='GNU/Linux ld.so'
16954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16955 soname_spec='${libname}${release}${shared_ext}$major'
16956 shlibpath_var=LD_LIBRARY_PATH
16957 shlibpath_overrides_runpath=no
16958 hardcode_into_libs=yes
16959 dynamic_linker='NetBSD ld.elf_so'
16966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16968 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16969 dynamic_linker='NetBSD (a.out) ld.so'
16971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16972 soname_spec='${libname}${release}${shared_ext}$major'
16973 dynamic_linker='NetBSD ld.elf_so'
16975 shlibpath_var=LD_LIBRARY_PATH
16976 shlibpath_overrides_runpath=yes
16977 hardcode_into_libs=yes
16982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16983 shlibpath_var=LD_LIBRARY_PATH
16984 shlibpath_overrides_runpath=yes
16991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16992 soname_spec='${libname}${release}${shared_ext}$major'
16993 shlibpath_var=LD_LIBRARY_PATH
16994 shlibpath_overrides_runpath=no
16995 hardcode_into_libs=yes
16996 dynamic_linker='ldqnx.so'
17001 sys_lib_dlsearch_path_spec="/usr/lib"
17003 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17005 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17006 *) need_version=no ;;
17008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17010 shlibpath_var=LD_LIBRARY_PATH
17011 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17013 openbsd2.[89] | openbsd2.[89].*)
17014 shlibpath_overrides_runpath=no
17017 shlibpath_overrides_runpath=yes
17021 shlibpath_overrides_runpath=yes
17026 libname_spec='$name'
17029 library_names_spec='$libname${shared_ext} $libname.a'
17030 dynamic_linker='OS/2 ld.exe'
17031 shlibpath_var=LIBPATH
17034 osf3* | osf4* | osf5*)
17038 soname_spec='${libname}${release}${shared_ext}$major'
17039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17040 shlibpath_var=LD_LIBRARY_PATH
17041 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17042 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17054 soname_spec='${libname}${release}${shared_ext}$major'
17055 shlibpath_var=LD_LIBRARY_PATH
17056 shlibpath_overrides_runpath=yes
17057 hardcode_into_libs=yes
17058 # ldd complains unless libraries are executable
17059 postinstall_cmds='chmod +x $lib'
17064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17065 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17066 shlibpath_var=LD_LIBRARY_PATH
17067 shlibpath_overrides_runpath=yes
17068 if test "$with_gnu_ld" = yes; then
17076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17077 soname_spec='${libname}${release}${shared_ext}$major'
17078 shlibpath_var=LD_LIBRARY_PATH
17079 case $host_vendor in
17081 shlibpath_overrides_runpath=no
17083 runpath_var=LD_RUN_PATH
17091 shlibpath_overrides_runpath=no
17092 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17098 if test -d /usr/nec ;then
17100 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17101 soname_spec='$libname${shared_ext}.$major'
17102 shlibpath_var=LD_LIBRARY_PATH
17106 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17107 version_type=freebsd-elf
17110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17111 soname_spec='${libname}${release}${shared_ext}$major'
17112 shlibpath_var=LD_LIBRARY_PATH
17113 shlibpath_overrides_runpath=yes
17114 hardcode_into_libs=yes
17115 if test "$with_gnu_ld" = yes; then
17116 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17118 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17121 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17125 sys_lib_dlsearch_path_spec='/usr/lib'
17129 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17134 shlibpath_var=LD_LIBRARY_PATH
17135 shlibpath_overrides_runpath=no
17136 hardcode_into_libs=yes
17141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17142 soname_spec='${libname}${release}${shared_ext}$major'
17143 shlibpath_var=LD_LIBRARY_PATH
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17151 $as_echo "$dynamic_linker" >&6; }
17152 test "$dynamic_linker" = no && can_build_shared=no
17154 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17155 if test "$GCC" = yes; then
17156 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17159 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17160 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17162 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17163 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17202 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17203 hardcode_action_CXX=
17204 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17205 test -n "$runpath_var_CXX" ||
17206 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17208 # We can hardcode non-existent directories.
17209 if test "$hardcode_direct_CXX" != no &&
17210 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17211 # have to relink, otherwise we might link with an installed library
17212 # when we should be linking with a yet-to-be-installed one
17213 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17214 test "$hardcode_minus_L_CXX" != no; then
17215 # Linking always hardcodes the temporary library directory.
17216 hardcode_action_CXX=relink
17218 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17219 hardcode_action_CXX=immediate
17222 # We cannot hardcode anything, or else we can only hardcode existing
17224 hardcode_action_CXX=unsupported
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17227 $as_echo "$hardcode_action_CXX" >&6; }
17229 if test "$hardcode_action_CXX" = relink ||
17230 test "$inherit_rpath_CXX" = yes; then
17231 # Fast installation is not supported
17232 enable_fast_install=no
17233 elif test "$shlibpath_overrides_runpath" = yes ||
17234 test "$enable_shared" = no; then
17235 # Fast installation is not necessary
17236 enable_fast_install=needless
17245 fi # test -n "$compiler"
17251 with_gnu_ld=$lt_save_with_gnu_ld
17252 lt_cv_path_LDCXX=$lt_cv_path_LD
17253 lt_cv_path_LD=$lt_save_path_LD
17254 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17255 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17256 fi # test "$_lt_caught_CXX_error" != yes
17259 ac_cpp='$CPP $CPPFLAGS'
17260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17265 # Check whether --enable-static was given.
17266 if test "${enable_static+set}" = set; then :
17267 enableval=$enable_static; p=${PACKAGE-default}
17269 yes) enable_static=yes ;;
17270 no) enable_static=no ;;
17273 # Look at the argument we got. We use all the common list separators.
17274 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17275 for pkg in $enableval; do
17277 if test "X$pkg" = "X$p"; then
17295 if test "$GCC" = "yes" ; then
17296 # AC_HAVE_GCC_VERSION(4,0,0,0,
17298 # AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17299 # [Define to enable class visibility control in gcc.])
17300 # GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17301 # GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17303 CFLAGS="-Wall $GCC_CFLAGS"
17304 CXXFLAGS="-Wall $GCC_CXXFLAGS"
17306 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17307 case "${host_cpu}-${host_os}" in
17309 if test "$CXX" = "CC" ; then
17310 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17316 # Checks for typedefs, structures, and compiler characteristics.
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17318 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17319 if test "${ac_cv_c_const+set}" = set; then :
17320 $as_echo_n "(cached) " >&6
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17328 /* FIXME: Include the comments suggested by Paul. */
17329 #ifndef __cplusplus
17330 /* Ultrix mips cc rejects this. */
17331 typedef int charset[2];
17333 /* SunOS 4.1.1 cc rejects this. */
17334 char const *const *pcpcc;
17336 /* NEC SVR4.0.2 mips cc rejects this. */
17337 struct point {int x, y;};
17338 static struct point const zero = {0,0};
17339 /* AIX XL C 1.02.0.0 rejects this.
17340 It does not let you subtract one const X* pointer from another in
17341 an arm of an if-expression whose if-part is not a constant
17343 const char *g = "string";
17344 pcpcc = &g + (g ? g-g : 0);
17345 /* HPUX 7.0 cc rejects these. */
17347 ppc = (char**) pcpcc;
17348 pcpcc = (char const *const *) ppc;
17349 { /* SCO 3.2v4 cc rejects this. */
17351 char const *s = 0 ? (char *) 0 : (char const *) 0;
17356 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17357 int x[] = {25, 17};
17358 const int *foo = &x[0];
17361 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17362 typedef const int *iptr;
17366 { /* AIX XL C 1.02.0.0 rejects this saying
17367 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17368 struct s { int j; const int *ap[3]; };
17369 struct s *b; b->j = 5;
17371 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17372 const int foo = 10;
17373 if (!foo) return 0;
17375 return !cs[0] && !zero.x;
17382 if ac_fn_c_try_compile "$LINENO"; then :
17387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17390 $as_echo "$ac_cv_c_const" >&6; }
17391 if test $ac_cv_c_const = no; then
17393 $as_echo "#define const /**/" >>confdefs.h
17397 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17398 if test "x$ac_cv_type_size_t" = x""yes; then :
17402 cat >>confdefs.h <<_ACEOF
17403 #define size_t unsigned int
17408 # The cast to long int works around a bug in the HP C Compiler
17409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17411 # This bug is HP SR number 8606223364.
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
17413 $as_echo_n "checking size of long... " >&6; }
17414 if test "${ac_cv_sizeof_long+set}" = set; then :
17415 $as_echo_n "(cached) " >&6
17417 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
17420 if test "$ac_cv_type_long" = yes; then
17421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17423 as_fn_error 77 "cannot compute sizeof (long)
17424 See \`config.log' for more details" "$LINENO" 5 ; }
17426 ac_cv_sizeof_long=0
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
17432 $as_echo "$ac_cv_sizeof_long" >&6; }
17436 cat >>confdefs.h <<_ACEOF
17437 #define SIZEOF_LONG $ac_cv_sizeof_long
17442 # Checks for library functions.
17443 for ac_func in strchr strdup strstr timegm strcasecmp
17445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17448 cat >>confdefs.h <<_ACEOF
17449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17455 for ac_header in dlfcn.h
17457 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
17458 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
17459 cat >>confdefs.h <<_ACEOF
17460 #define HAVE_DLFCN_H 1
17467 ac_fn_c_check_func "$LINENO" "dlclose" "ac_cv_func_dlclose"
17468 if test "x$ac_cv_func_dlclose" = x""yes; then :
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17472 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17473 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
17474 $as_echo_n "(cached) " >&6
17476 ac_check_lib_save_LIBS=$LIBS
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17481 /* Override any GCC internal prototype to avoid an error.
17482 Use char because int might match the return type of a GCC
17483 builtin and then its argument prototype would still apply. */
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_lib_dl_dlopen=yes
17499 ac_cv_lib_dl_dlopen=no
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17503 LIBS=$ac_check_lib_save_LIBS
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17506 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17507 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
17508 cat >>confdefs.h <<_ACEOF
17509 #define HAVE_LIBDL 1
17519 # checks for pthreads
17523 ac_cpp='$CPP $CPPFLAGS'
17524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17530 # We used to check for pthread.h first, but this fails if pthread.h
17531 # requires special compiler flags (e.g. on True64 or Sequent).
17532 # It gets checked for in the link test anyway.
17534 # First of all, check if the user has set any of the PTHREAD_LIBS,
17535 # etcetera environment variables, and if threads linking works using
17537 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17538 save_CFLAGS="$CFLAGS"
17539 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17541 LIBS="$PTHREAD_LIBS $LIBS"
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17543 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17553 char pthread_join ();
17557 return pthread_join ();
17562 if ac_fn_c_try_link "$LINENO"; then :
17565 rm -f core conftest.err conftest.$ac_objext \
17566 conftest$ac_exeext conftest.$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17568 $as_echo "$acx_pthread_ok" >&6; }
17569 if test x"$acx_pthread_ok" = xno; then
17574 CFLAGS="$save_CFLAGS"
17577 # We must check for the threads library under a number of different
17578 # names; the ordering is very important because some systems
17579 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17580 # libraries is broken (non-POSIX).
17582 # Create a list of thread flags to try. Items starting with a "-" are
17583 # C compiler flags, and other items are library names, except for "none"
17584 # which indicates that we try without any flags at all, and "pthread-config"
17585 # which is a program returning the flags for the Pth emulation library.
17587 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17589 # The ordering *is* (sometimes) important. Some notes on the
17590 # individual items follow:
17592 # pthreads: AIX (must check this before -lpthread)
17593 # none: in case threads are in libc; should be tried before -Kthread and
17594 # other compiler flags to prevent continual compiler warnings
17595 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17596 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17597 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17598 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17599 # -pthreads: Solaris/gcc
17600 # -mthreads: Mingw32/gcc, Lynx/gcc
17601 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17602 # doesn't hurt to check since this sometimes defines pthreads too;
17603 # also defines -D_REENTRANT)
17604 # ... -mt is also the pthreads flag for HP/aCC
17605 # pthread: Linux, etcetera
17606 # --thread-safe: KAI C++
17607 # pthread-config: use pthread-config program (for GNU Pth library)
17609 case "${host_cpu}-${host_os}" in
17612 # On Solaris (at least, for some versions), libc contains stubbed
17613 # (non-functional) versions of the pthreads routines, so link-based
17614 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17615 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17616 # a function called by this macro, so we could check for that, but
17617 # who knows whether they'll stub that too in a future libc.) So,
17618 # we'll just look for -pthreads and -lpthread first:
17620 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17624 if test x"$acx_pthread_ok" = xno; then
17625 for flag in $acx_pthread_flags; do
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17630 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17635 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17636 PTHREAD_CFLAGS="$flag"
17640 # Extract the first word of "pthread-config", so it can be a program name with args.
17641 set dummy pthread-config; ac_word=$2
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17643 $as_echo_n "checking for $ac_word... " >&6; }
17644 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
17645 $as_echo_n "(cached) " >&6
17647 if test -n "$acx_pthread_config"; then
17648 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17651 for as_dir in $PATH
17654 test -z "$as_dir" && as_dir=.
17655 for ac_exec_ext in '' $ac_executable_extensions; do
17656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17657 ac_cv_prog_acx_pthread_config="yes"
17658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17665 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17668 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17669 if test -n "$acx_pthread_config"; then
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17671 $as_echo "$acx_pthread_config" >&6; }
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17674 $as_echo "no" >&6; }
17678 if test x"$acx_pthread_config" = xno; then continue; fi
17679 PTHREAD_CFLAGS="`pthread-config --cflags`"
17680 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17685 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17686 PTHREAD_LIBS="-l$flag"
17691 save_CFLAGS="$CFLAGS"
17692 LIBS="$PTHREAD_LIBS $LIBS"
17693 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17695 # Check for various functions. We must include pthread.h,
17696 # since some functions may be macros. (On the Sequent, we
17697 # need a special flag -Kthread to make this header compile.)
17698 # We check for pthread_join because it is in -lpthread on IRIX
17699 # while pthread_create is in libc. We check for pthread_attr_init
17700 # due to DEC craziness with -lpthreads. We check for
17701 # pthread_cleanup_push because it is one of the few pthread
17702 # functions on Solaris that doesn't have a non-functional libc stub.
17703 # We try pthread_create on general principles.
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <pthread.h>
17710 pthread_t th; pthread_join(th, 0);
17711 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17712 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17717 if ac_fn_c_try_link "$LINENO"; then :
17720 rm -f core conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17724 CFLAGS="$save_CFLAGS"
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17727 $as_echo "$acx_pthread_ok" >&6; }
17728 if test "x$acx_pthread_ok" = xyes; then
17737 # Various other checks:
17738 if test "x$acx_pthread_ok" = xyes; then
17740 LIBS="$PTHREAD_LIBS $LIBS"
17741 save_CFLAGS="$CFLAGS"
17742 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17744 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17746 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17748 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 #include <pthread.h>
17755 int attr=$attr; return attr;
17760 if ac_fn_c_try_link "$LINENO"; then :
17761 attr_name=$attr; break
17763 rm -f core conftest.err conftest.$ac_objext \
17764 conftest$ac_exeext conftest.$ac_ext
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17767 $as_echo "$attr_name" >&6; }
17768 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17770 cat >>confdefs.h <<_ACEOF
17771 #define PTHREAD_CREATE_JOINABLE $attr_name
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17777 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17779 case "${host_cpu}-${host_os}" in
17780 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
17781 *-osf* | *-hpux*) flag="-D_REENTRANT";;
17783 if test "$GCC" = "yes"; then
17784 flag="-D_REENTRANT"
17786 flag="-mt -D_REENTRANT"
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17791 $as_echo "${flag}" >&6; }
17792 if test "x$flag" != xno; then
17793 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17797 CFLAGS="$save_CFLAGS"
17799 # More AIX lossage: must compile with xlc_r or cc_r
17800 if test x"$GCC" != xyes; then
17801 for ac_prog in xlc_r cc_r
17803 # Extract the first word of "$ac_prog", so it can be a program name with args.
17804 set dummy $ac_prog; ac_word=$2
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17806 $as_echo_n "checking for $ac_word... " >&6; }
17807 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
17808 $as_echo_n "(cached) " >&6
17810 if test -n "$PTHREAD_CC"; then
17811 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17814 for as_dir in $PATH
17817 test -z "$as_dir" && as_dir=.
17818 for ac_exec_ext in '' $ac_executable_extensions; do
17819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17820 ac_cv_prog_PTHREAD_CC="$ac_prog"
17821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17830 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17831 if test -n "$PTHREAD_CC"; then
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17833 $as_echo "$PTHREAD_CC" >&6; }
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17836 $as_echo "no" >&6; }
17840 test -n "$PTHREAD_CC" && break
17842 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17855 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17856 if test x"$acx_pthread_ok" = xyes; then
17857 enable_threads="pthread"
17861 enable_threads="no"
17864 ac_cpp='$CPP $CPPFLAGS'
17865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870 if test $enable_threads != "pthread"; then
17871 as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
17874 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17876 if test "$enable_threads" = "pthread"; then
17877 BUILD_PTHREAD_TRUE=
17878 BUILD_PTHREAD_FALSE='#'
17880 BUILD_PTHREAD_TRUE='#'
17881 BUILD_PTHREAD_FALSE=
17884 LIBS="$PTHREAD_LIBS $LIBS"
17885 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
17886 CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
17889 for ac_func in pthread_rwlock_init
17891 ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
17892 if test "x$ac_cv_func_pthread_rwlock_init" = x""yes; then :
17893 cat >>confdefs.h <<_ACEOF
17894 #define HAVE_PTHREAD_RWLOCK_INIT 1
17902 ac_cpp='$CXXCPP $CPPFLAGS'
17903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17910 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
17911 if test "${ac_cv_cxx_namespaces+set}" = set; then :
17912 $as_echo_n "(cached) " >&6
17916 ac_cpp='$CXXCPP $CPPFLAGS'
17917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h. */
17923 namespace Outer { namespace Inner { int i = 0; }}
17927 using namespace Outer::Inner; return i;
17932 if ac_fn_cxx_try_compile "$LINENO"; then :
17933 ac_cv_cxx_namespaces=yes
17935 ac_cv_cxx_namespaces=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 ac_cpp='$CXXCPP $CPPFLAGS'
17940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
17947 $as_echo "$ac_cv_cxx_namespaces" >&6; }
17948 if test "$ac_cv_cxx_namespaces" = yes; then
17950 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
17955 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
17956 if test "${ac_cv_cxx_have_stl+set}" = set; then :
17957 $as_echo_n "(cached) " >&6
17961 ac_cpp='$CXXCPP $CPPFLAGS'
17962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17970 #ifdef HAVE_NAMESPACES
17971 using namespace std;
17976 list<int> x; x.push_back(5);
17977 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
17982 if ac_fn_cxx_try_compile "$LINENO"; then :
17983 ac_cv_cxx_have_stl=yes
17985 ac_cv_cxx_have_stl=no
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 ac_cpp='$CXXCPP $CPPFLAGS'
17990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
17997 $as_echo "$ac_cv_cxx_have_stl" >&6; }
17998 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
17999 as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18003 # are covariant methods allowed?
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18011 class base { public: virtual base *GetPtr( void ) { return this; } };
18012 class derived: virtual public base { public: virtual derived *GetPtr( void ) { return this; } };
18018 if ac_fn_cxx_try_link "$LINENO"; then :
18020 $as_echo "#define HAVE_COVARIANT_RETURNS 1" >>confdefs.h
18023 rm -f core conftest.err conftest.$ac_objext \
18024 conftest$ac_exeext conftest.$ac_ext
18026 # is nullptr supported?
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18033 const char* ptr = nullptr;
18038 if ac_fn_cxx_try_compile "$LINENO"; then :
18040 $as_echo "#define HAVE_NULLPTR 1" >>confdefs.h
18043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18045 # log4shib settings (favor this version over the log4cpp code)
18046 # Extract the first word of "log4shib-config", so it can be a program name with args.
18047 set dummy log4shib-config; ac_word=$2
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18049 $as_echo_n "checking for $ac_word... " >&6; }
18050 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
18051 $as_echo_n "(cached) " >&6
18053 case $LOG4SHIB_CONFIG in
18055 ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18059 for as_dir in $PATH
18062 test -z "$as_dir" && as_dir=.
18063 for ac_exec_ext in '' $ac_executable_extensions; do
18064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18065 ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18076 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18077 if test -n "$LOG4SHIB_CONFIG"; then
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18079 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18082 $as_echo "no" >&6; }
18087 # Check whether --with-log4shib was given.
18088 if test "${with_log4shib+set}" = set; then :
18089 withval=$with_log4shib;
18090 LOG4SHIB_CONFIG="${with_log4shib}"
18091 if ! test -f "${LOG4SHIB_CONFIG}" ; then
18092 LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18097 if test -f "${LOG4SHIB_CONFIG}" ; then
18098 LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18099 CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18101 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18102 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
18105 as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18111 #include <log4shib/Category.hh>
18112 #include <log4shib/CategoryStream.hh>
18116 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18121 if ac_fn_cxx_try_link "$LINENO"; then :
18123 $as_echo "#define XMLTOOLING_LOG4SHIB 1" >>confdefs.h
18126 as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18128 rm -f core conftest.err conftest.$ac_objext \
18129 conftest$ac_exeext conftest.$ac_ext
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18132 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18134 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18137 # Extract the first word of "log4cpp-config", so it can be a program name with args.
18138 set dummy log4cpp-config; ac_word=$2
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18140 $as_echo_n "checking for $ac_word... " >&6; }
18141 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18142 $as_echo_n "(cached) " >&6
18144 case $LOG4CPP_CONFIG in
18146 ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18150 for as_dir in $PATH
18153 test -z "$as_dir" && as_dir=.
18154 for ac_exec_ext in '' $ac_executable_extensions; do
18155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18156 ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18167 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18168 if test -n "$LOG4CPP_CONFIG"; then
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18170 $as_echo "$LOG4CPP_CONFIG" >&6; }
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18173 $as_echo "no" >&6; }
18178 # Check whether --with-log4cpp was given.
18179 if test "${with_log4cpp+set}" = set; then :
18180 withval=$with_log4cpp;
18181 LOG4CPP_CONFIG="${with_log4cpp}"
18182 if ! test -f "${LOG4CPP_CONFIG}" ; then
18183 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18188 if test -f "${LOG4CPP_CONFIG}"; then
18189 { $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
18190 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18191 LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18192 CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18193 ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18194 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18197 as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18203 #include <log4cpp/Category.hh>
18204 #include <log4cpp/CategoryStream.hh>
18208 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18213 if ac_fn_cxx_try_link "$LINENO"; then :
18215 $as_echo "#define XMLTOOLING_LOG4CPP 1" >>confdefs.h
18218 as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18220 rm -f core conftest.err conftest.$ac_objext \
18221 conftest$ac_exeext conftest.$ac_ext
18223 as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18229 # Check whether --with-xerces was given.
18230 if test "${with_xerces+set}" = set; then :
18231 withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18232 LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18233 CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18237 LIBS="-lxerces-c $LIBS"
18238 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18239 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18242 as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18247 $as_echo_n "checking Xerces version... " >&6; }
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18250 #include <xercesc/util/XercesVersion.hpp>
18254 #if _XERCES_VERSION != 20600
18257 #error cannot use version 2.6.0
18263 if ac_fn_cxx_try_cpp "$LINENO"; then :
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18265 $as_echo "OK" >&6; }
18267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18269 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18270 See \`config.log' for more details" "$LINENO" 5 ; }
18272 rm -f conftest.err conftest.i conftest.$ac_ext
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18275 #include <xercesc/util/PlatformUtils.hpp>
18279 xercesc::XMLPlatformUtils::Initialize()
18284 if ac_fn_cxx_try_link "$LINENO"; then :
18287 as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18289 rm -f core conftest.err conftest.$ac_objext \
18290 conftest$ac_exeext conftest.$ac_ext
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces is 64-bit clean" >&5
18293 $as_echo_n "checking whether Xerces is 64-bit clean... " >&6; }
18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295 /* end confdefs.h. */
18296 #include <xercesc/framework/MemBufInputSource.hpp>
18300 using namespace XERCES_CPP_NAMESPACE; XMLFilePos testvar;
18305 if ac_fn_cxx_try_compile "$LINENO"; then :
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18307 $as_echo "yes" >&6; }
18308 $as_echo "#define XMLTOOLING_XERCESC_64BITSAFE 1" >>confdefs.h
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18312 $as_echo "no" >&6; }
18314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces BinInputStream requires getContentType" >&5
18317 $as_echo_n "checking whether Xerces BinInputStream requires getContentType... " >&6; }
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18320 #include <xercesc/util/BinMemInputStream.hpp>
18324 using namespace XERCES_CPP_NAMESPACE; XMLByte buf[1024]; BinMemInputStream in(buf,1024); in.getContentType();
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18331 $as_echo "yes" >&6; }
18332 $as_echo "#define XMLTOOLING_XERCESC_INPUTSTREAM_HAS_CONTENTTYPE 1" >>confdefs.h
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18336 $as_echo "no" >&6; }
18338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMLS API is compliant" >&5
18341 $as_echo_n "checking whether Xerces DOMLS API is compliant... " >&6; }
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18344 #include <xercesc/dom/DOM.hpp>
18348 using namespace XERCES_CPP_NAMESPACE;
18349 DOMImplementation *impl = DOMImplementationRegistry::getDOMImplementation(NULL);
18350 DOMLSSerializer *ls = ((DOMImplementationLS*)impl)->createLSSerializer();
18355 if ac_fn_cxx_try_compile "$LINENO"; then :
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18357 $as_echo "yes" >&6; }
18358 $as_echo "#define XMLTOOLING_XERCESC_COMPLIANT_DOMLS 1" >>confdefs.h
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18362 $as_echo "no" >&6; }
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces has setIdAttribute(XMLCh*, bool)" >&5
18367 $as_echo_n "checking whether Xerces has setIdAttribute(XMLCh*, bool)... " >&6; }
18368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18370 #include <xercesc/dom/DOM.hpp>
18374 using namespace XERCES_CPP_NAMESPACE; DOMElement * elt; elt->setIdAttribute(NULL, false);
18379 if ac_fn_cxx_try_compile "$LINENO"; then :
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18381 $as_echo "yes" >&6; }
18382 $as_echo "#define XMLTOOLING_XERCESC_BOOLSETIDATTRIBUTE 1" >>confdefs.h
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18386 $as_echo "no" >&6; }
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18391 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18394 #include <xercesc/util/XMLString.hpp>
18398 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18403 if ac_fn_cxx_try_compile "$LINENO"; then :
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18405 $as_echo "yes" >&6; }
18406 $as_echo "#define XMLTOOLING_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18410 $as_echo "no" >&6; }
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 # XML-Security settings
18416 # Check whether --with-xmlsec was given.
18417 if test "${with_xmlsec+set}" = set; then :
18418 withval=$with_xmlsec;
18424 if test x_$with_xmlsec != x_no; then
18426 # OpenSSL settings (need to do this first in case it's in a different spot from xmlsec)
18428 # Check whether --with-openssl was given.
18429 if test "${with_openssl+set}" = set; then :
18430 withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18431 SSLFLAGS="-I${with_openssl}/include"
18432 SSLLIBS="-L${with_openssl}/lib -lcrypto -lssl"
18434 SSLLIBS="-lcrypto -lssl"
18439 if test "x$SSLLIBS" = "x" ; then
18440 # Extract the first word of "pkg-config", so it can be a program name with args.
18441 set dummy pkg-config; ac_word=$2
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18443 $as_echo_n "checking for $ac_word... " >&6; }
18444 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18445 $as_echo_n "(cached) " >&6
18447 case $PKG_CONFIG in
18449 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18453 for as_dir in $PATH
18456 test -z "$as_dir" && as_dir=.
18457 for ac_exec_ext in '' $ac_executable_extensions; do
18458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18459 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18470 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18471 if test -n "$PKG_CONFIG"; then
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18473 $as_echo "$PKG_CONFIG" >&6; }
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18476 $as_echo "no" >&6; }
18480 if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18481 if pkg-config openssl ; then
18482 SSLLIBS="`$PKG_CONFIG --libs openssl`"
18483 SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18486 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18491 if test "x$SSLLIBS" = "x" ; then
18492 SSLLIBS="-lcrypto -lssl"
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18496 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18498 $as_echo "$SSLFLAGS" >&6; }
18499 CPPFLAGS="$CPPFLAGS $SSLFLAGS"
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
18501 $as_echo_n "checking for OpenSSL libraries... " >&6; }
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLLIBS" >&5
18503 $as_echo "$SSLLIBS" >&6; }
18504 XMLSEC_LIBS="$XMLSEC_LIBS $SSLLIBS"
18506 # save and append master libs
18508 LIBS="$XMLSEC_LIBS $LIBS"
18510 ac_fn_cxx_check_header_mongrel "$LINENO" "openssl/pem.h" "ac_cv_header_openssl_pem_h" "$ac_includes_default"
18511 if test "x$ac_cv_header_openssl_pem_h" = x""yes; then :
18514 as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_CRYPTO_string" >&5
18519 $as_echo_n "checking for ERR_load_CRYPTO_string... " >&6; }
18520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18523 /* Override any GCC internal prototype to avoid an error.
18524 Use char because int might match the return type of a GCC
18525 builtin and then its argument prototype would still apply. */
18529 char ERR_load_CRYPTO_strings ();
18533 return ERR_load_CRYPTO_strings ();
18538 if ac_fn_cxx_try_link "$LINENO"; then :
18541 as_fn_error $? "unable to link with openssl libraries" "$LINENO" 5
18543 rm -f core conftest.err conftest.$ac_objext \
18544 conftest$ac_exeext conftest.$ac_ext
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18546 $as_echo "yes" >&6; }
18548 ac_fn_cxx_check_decl "$LINENO" "EVP_sha512" "ac_cv_have_decl_EVP_sha512" "#include <openssl/evp.h>
18550 if test "x$ac_cv_have_decl_EVP_sha512" = x""yes; then :
18552 $as_echo "#define XMLTOOLING_OPENSSL_HAVE_SHA2 1" >>confdefs.h
18557 # restore master libs
18560 if test x_$with_xmlsec != x_/usr; then
18561 CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18562 LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18564 XMLSEC_LIBS="$XMLSEC_LIBS -lxml-security-c"
18566 # save and append master libs
18568 LIBS="$XMLSEC_LIBS $LIBS"
18570 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18571 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18574 as_fn_error $? "unable to find XML-Security header files" "$LINENO" 5
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18579 $as_echo_n "checking XML-Security version... " >&6; }
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18582 #include <xsec/utils/XSECPlatformUtils.hpp>
18586 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18589 #error need version 1.4.0 or later
18595 if ac_fn_cxx_try_cpp "$LINENO"; then :
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18597 $as_echo "OK" >&6; }
18599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18601 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18602 See \`config.log' for more details" "$LINENO" 5 ; }
18604 rm -f conftest.err conftest.i conftest.$ac_ext
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 #include <xsec/utils/XSECPlatformUtils.hpp>
18612 XSECPlatformUtils::Initialise()
18617 if ac_fn_cxx_try_link "$LINENO"; then :
18620 as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18622 rm -f core conftest.err conftest.$ac_objext \
18623 conftest$ac_exeext conftest.$ac_ext
18624 ac_fn_cxx_check_type "$LINENO" "xsecsize_t" "ac_cv_type_xsecsize_t" "$ac_includes_default"
18625 if test "x$ac_cv_type_xsecsize_t" = x""yes; then :
18627 $as_echo "#define HAVE_XSECSIZE_T 1" >>confdefs.h
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C has multiple CRL support" >&5
18633 $as_echo_n "checking whether XML-Security-C has multiple CRL support... " >&6; }
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #include <xsec/dsig/DSIGKeyInfoList.hpp>
18640 DSIGKeyInfoList* klist; klist->getX509CRLListSize();
18645 if ac_fn_cxx_try_compile "$LINENO"; then :
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18647 $as_echo "yes" >&6; }
18648 $as_echo "#define XMLTOOLING_XMLSEC_MULTIPLECRL 1" >>confdefs.h
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18652 $as_echo "no" >&6; }
18654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C exposes the signature algorithm URI" >&5
18657 $as_echo_n "checking whether XML-Security-C exposes the signature algorithm URI... " >&6; }
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 #include <xsec/dsig/DSIGSignature.hpp>
18664 DSIGSignature* sig; sig->getAlgorithmURI();
18669 if ac_fn_cxx_try_compile "$LINENO"; then :
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18671 $as_echo "yes" >&6; }
18672 $as_echo "#define XMLTOOLING_XMLSEC_SIGALGORITHM 1" >>confdefs.h
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18676 $as_echo "no" >&6; }
18678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes ECC support" >&5
18681 $as_echo_n "checking whether XML-Security-C includes ECC support... " >&6; }
18682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h. */
18684 #include <xsec/dsig/DSIGKeyInfoValue.hpp>
18688 DSIGKeyInfoValue* info; info->getECNamedCurve();
18693 if ac_fn_cxx_try_compile "$LINENO"; then :
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18695 $as_echo "yes" >&6; }
18696 $as_echo "#define XMLTOOLING_XMLSEC_ECC 1" >>confdefs.h
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18700 $as_echo "no" >&6; }
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C includes debug logging support" >&5
18705 $as_echo_n "checking whether XML-Security-C includes debug logging support... " >&6; }
18706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18708 #include <xsec/utils/XSECPlatformUtils.hpp>
18712 XSECPlatformUtils::SetReferenceLoggingSink(NULL)
18717 if ac_fn_cxx_try_compile "$LINENO"; then :
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18719 $as_echo "yes" >&6; }
18720 $as_echo "#define XMLTOOLING_XMLSEC_DEBUGLOGGING 1" >>confdefs.h
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18724 $as_echo "no" >&6; }
18726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18728 # restore master libs
18732 # Extract the first word of "curl-config", so it can be a program name with args.
18733 set dummy curl-config; ac_word=$2
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18735 $as_echo_n "checking for $ac_word... " >&6; }
18736 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then :
18737 $as_echo_n "(cached) " >&6
18739 case $CURL_CONFIG in
18741 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
18744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18745 for as_dir in $PATH
18748 test -z "$as_dir" && as_dir=.
18749 for ac_exec_ext in '' $ac_executable_extensions; do
18750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18751 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18762 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
18763 if test -n "$CURL_CONFIG"; then
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5
18765 $as_echo "$CURL_CONFIG" >&6; }
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18768 $as_echo "no" >&6; }
18773 # Check whether --with-curl was given.
18774 if test "${with_curl+set}" = set; then :
18775 withval=$with_curl;
18776 CURL_CONFIG="${with_curl}"
18777 if ! test -f "${CURL_CONFIG}" ; then
18778 CURL_CONFIG="${with_curl}/bin/curl-config"
18783 if test -f "${CURL_CONFIG}" ; then
18784 CPPFLAGS="`${CURL_CONFIG} --cflags` $CPPFLAGS"
18785 XMLSEC_LIBS="`${CURL_CONFIG} --libs` $XMLSEC_LIBS"
18787 as_fn_error $? "curl-config not found, may need to use --with-curl option" "$LINENO" 5
18790 # save and append master libs
18792 LIBS="$XMLSEC_LIBS $LIBS"
18794 ac_fn_cxx_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
18795 if test "x$ac_cv_header_curl_curl_h" = x""yes; then :
18798 as_fn_error $? "unable to find libcurl header files" "$LINENO" 5
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
18803 $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
18804 if test "${ac_cv_lib_curl_curl_global_init+set}" = set; then :
18805 $as_echo_n "(cached) " >&6
18807 ac_check_lib_save_LIBS=$LIBS
18808 LIBS="-lcurl $LIBS"
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18812 /* Override any GCC internal prototype to avoid an error.
18813 Use char because int might match the return type of a GCC
18814 builtin and then its argument prototype would still apply. */
18818 char curl_global_init ();
18822 return curl_global_init ();
18827 if ac_fn_cxx_try_link "$LINENO"; then :
18828 ac_cv_lib_curl_curl_global_init=yes
18830 ac_cv_lib_curl_curl_global_init=no
18832 rm -f core conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18834 LIBS=$ac_check_lib_save_LIBS
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
18837 $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
18838 if test "x$ac_cv_lib_curl_curl_global_init" = x""yes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_LIBCURL 1
18843 LIBS="-lcurl $LIBS"
18846 as_fn_error $? "unable to link with libcurl" "$LINENO" 5
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURLOPT_SSL_CTX_FUNCTION in curl.h" >&5
18850 $as_echo_n "checking for CURLOPT_SSL_CTX_FUNCTION in curl.h... " >&6; }
18851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18852 /* end confdefs.h. */
18853 #include <curl/curl.h>
18856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18857 $EGREP "CURLOPT_SSL_CTX_FUNCTION" >/dev/null 2>&1; then :
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18859 $as_echo "yes" >&6; }
18861 as_fn_error $? "need libcurl that supports CURLOPT_SSL_CTX_FUNCTION" "$LINENO" 5
18865 ac_fn_cxx_check_type "$LINENO" "curl_off_t" "ac_cv_type_curl_off_t" "$ac_includes_default"
18866 if test "x$ac_cv_type_curl_off_t" = x""yes; then :
18868 $as_echo "#define HAVE_CURL_OFF_T 1" >>confdefs.h
18873 # restore master libs
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlsec disabled, building without signature/encryption support" >&5
18879 $as_echo "$as_me: WARNING: xmlsec disabled, building without signature/encryption support" >&2;}
18881 $as_echo "#define XMLTOOLING_NO_XMLSEC 1" >>confdefs.h
18884 if test x_$with_xmlsec != x_no; then
18886 BUILD_XMLSEC_FALSE='#'
18888 BUILD_XMLSEC_TRUE='#'
18889 BUILD_XMLSEC_FALSE=
18893 # Does the STL in use help or screw us?
18894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h. */
18900 std::basic_string<unsigned short> foo; foo=foo+(unsigned short)65
18905 if ac_fn_cxx_try_link "$LINENO"; then :
18907 $as_echo "#define HAVE_GOOD_STL 1" >>confdefs.h
18910 rm -f core conftest.err conftest.$ac_objext \
18911 conftest$ac_exeext conftest.$ac_ext
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18918 std::iterator_traits<std::vector<int>::iterator>::value_type foo=0
18923 if ac_fn_cxx_try_link "$LINENO"; then :
18925 $as_echo "#define HAVE_ITERATOR_TRAITS 1" >>confdefs.h
18928 rm -f core conftest.err conftest.$ac_objext \
18929 conftest$ac_exeext conftest.$ac_ext
18931 # Check for unit test support
18932 CXXTEST="/usr/bin/cxxtestgen.pl"
18935 # Check whether --with-cxxtest was given.
18936 if test "${with_cxxtest+set}" = set; then :
18937 withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18938 CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18939 CXXTESTFLAGS="-I${with_cxxtest}"
18943 if ! test -f "${CXXTEST}"; then
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18945 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18950 if test -f ${CXXTEST}; then
18951 BUILD_UNITTEST_TRUE=
18952 BUILD_UNITTEST_FALSE='#'
18954 BUILD_UNITTEST_TRUE='#'
18955 BUILD_UNITTEST_FALSE=
18960 # we need the expanded forms...
18961 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18962 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18965 $as_echo_n "checking our pkgconfig libname... " >&6; }
18966 test ".$ax_create_pkgconfig_libname" != "." || \
18967 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18968 test ".$ax_create_pkgconfig_libname" != "." || \
18969 ax_create_pkgconfig_libname="$PACKAGE"
18970 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18971 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18973 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18976 $as_echo_n "checking our pkgconfig version... " >&6; }
18977 test ".$ax_create_pkgconfig_version" != "." || \
18978 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18979 test ".$ax_create_pkgconfig_version" != "." || \
18980 ax_create_pkgconfig_version="$VERSION"
18981 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18982 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18984 $as_echo "$ax_create_pkgconfig_version" >&6; }
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18987 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18988 test ".$pkgconfig_libdir" = "." && \
18989 pkgconfig_libdir='${libdir}/pkgconfig'
18990 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18991 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18992 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18994 $as_echo "$pkgconfig_libdir" >&6; }
18995 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18997 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
19001 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
19002 test ".$pkgconfig_libfile" != "." || \
19003 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
19004 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
19005 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
19007 $as_echo "$pkgconfig_libfile" >&6; }
19008 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
19010 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
19014 $as_echo_n "checking our package / suffix... " >&6; }
19015 ax_create_pkgconfig_suffix="$program_suffix"
19016 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
19018 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19021 $as_echo_n "checking our pkgconfig description... " >&6; }
19022 ax_create_pkgconfig_description="OpenSAML XMLTooling-C library"
19023 test ".$ax_create_pkgconfig_description" != "." || \
19024 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19025 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19026 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19028 $as_echo "$ax_create_pkgconfig_description" >&6; }
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19031 $as_echo_n "checking our pkgconfig requires... " >&6; }
19032 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19033 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19034 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19036 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19039 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19040 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19041 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19042 ax_create_pkgconfig_libs="$XMLSEC_LIBS -lxmltooling"
19043 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19044 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19046 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19049 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19050 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19051 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19052 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19054 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19057 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19058 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19059 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19060 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19062 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19064 test ".$ax_create_pkgconfig_generate" != "." || \
19065 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19066 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19067 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19068 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19070 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19072 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19073 ax_create_pkgconfig_src_libdir=`pwd`
19074 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19075 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19076 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19077 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19078 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19079 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19084 /^X\(\/\/\)[^/].*/{
19097 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19098 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19100 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19102 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19105 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19106 ax_create_pkgconfig_src_headers=`pwd`
19107 v="$ac_top_srcdir" ;
19108 test ".$v" != "." || v="$ax_spec_dir"
19109 test ".$v" != "." || v="$srcdir"
19110 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19111 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19112 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19113 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19114 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19115 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19116 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19121 /^X\(\/\/\)[^/].*/{
19134 test ! -d $ax_create_pkgconfig_src_headers/include || \
19135 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19137 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19141 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19144 LIBTOOL="$LIBTOOL --silent"
19146 # output packaging and makefiles
19147 cat >confcache <<\_ACEOF
19148 # This file is a shell script that caches the results of configure
19149 # tests run on this system so they can be shared between configure
19150 # scripts and configure runs, see configure's option --config-cache.
19151 # It is not useful on other systems. If it contains results you don't
19152 # want to keep, you may remove or edit it.
19154 # config.status only pays attention to the cache file if you give it
19155 # the --recheck option to rerun configure.
19157 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19158 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19159 # following values.
19163 # The following way of writing the cache mishandles newlines in values,
19164 # but we know of no workaround that is simple, portable, and efficient.
19165 # So, we kill variables containing newlines.
19166 # Ultrix sh set writes to stderr and can't be redirected directly,
19167 # and sets the high bit in the cache file unless we assign to the vars.
19169 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19170 eval ac_val=\$$ac_var
19174 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19175 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19178 _ | IFS | as_nl) ;; #(
19179 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19180 *) { eval $ac_var=; unset $ac_var;} ;;
19186 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19187 *${as_nl}ac_space=\ *)
19188 # `set' does not quote correctly, so add quotes: double-quote
19189 # substitution turns \\\\ into \\, and sed turns \\ into \.
19192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19195 # `set' quotes correctly as required by POSIX, so do not add quotes.
19196 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19205 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19207 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19209 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19210 if test -w "$cache_file"; then
19211 test "x$cache_file" != "x/dev/null" &&
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19213 $as_echo "$as_me: updating cache $cache_file" >&6;}
19214 cat confcache >$cache_file
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19217 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19222 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19223 # Let make expand exec_prefix.
19224 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19226 DEFS=-DHAVE_CONFIG_H
19231 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19232 # 1. Remove the extension, and $U if already installed.
19233 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19234 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19235 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19236 # will be set to the directory where LIBOBJS objects are built.
19237 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19238 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19240 LIBOBJS=$ac_libobjs
19242 LTLIBOBJS=$ac_ltlibobjs
19245 if test -n "$EXEEXT"; then
19247 am__EXEEXT_FALSE='#'
19249 am__EXEEXT_TRUE='#'
19253 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19254 as_fn_error $? "conditional \"AMDEP\" was never defined.
19255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19257 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19258 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19261 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19262 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19265 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19266 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19269 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19270 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19273 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19274 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19277 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19278 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19281 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19282 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19285 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19286 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19289 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19290 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19293 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19294 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19297 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19298 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19301 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19302 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19305 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19306 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19309 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19310 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19313 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19314 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19317 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19318 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19321 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19322 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19325 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19326 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19329 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19330 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19333 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19334 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19337 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19338 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19341 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19342 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19345 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19346 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19349 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19350 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19353 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19354 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19357 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19358 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19361 if test -z "${BUILD_PTHREAD_TRUE}" && test -z "${BUILD_PTHREAD_FALSE}"; then
19362 as_fn_error $? "conditional \"BUILD_PTHREAD\" was never defined.
19363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19365 if test -z "${BUILD_XMLSEC_TRUE}" && test -z "${BUILD_XMLSEC_FALSE}"; then
19366 as_fn_error $? "conditional \"BUILD_XMLSEC\" was never defined.
19367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19369 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19370 as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19374 : ${CONFIG_STATUS=./config.status}
19376 ac_clean_files_save=$ac_clean_files
19377 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19379 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19381 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19383 # Generated by $as_me.
19384 # Run this file to recreate the current configuration.
19385 # Compiler output produced by configure, useful for debugging
19386 # configure, is in config.log if it exists.
19389 ac_cs_recheck=false
19392 SHELL=\${CONFIG_SHELL-$SHELL}
19395 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19396 ## -------------------- ##
19397 ## M4sh Initialization. ##
19398 ## -------------------- ##
19400 # Be more Bourne compatible
19401 DUALCASE=1; export DUALCASE # for MKS sh
19402 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19405 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19406 # is contrary to our usage. Disable this feature.
19407 alias -g '${1+"$@"}'='"$@"'
19408 setopt NO_GLOB_SUBST
19410 case `(set -o) 2>/dev/null` in #(
19422 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19423 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19424 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19425 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19426 # Prefer a ksh shell builtin over an external printf program on Solaris,
19427 # but without wasting forks for bash or zsh.
19428 if test -z "$BASH_VERSION$ZSH_VERSION" \
19429 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19430 as_echo='print -r --'
19431 as_echo_n='print -rn --'
19432 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19433 as_echo='printf %s\n'
19434 as_echo_n='printf %s'
19436 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19437 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19438 as_echo_n='/usr/ucb/echo -n'
19440 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19441 as_echo_n_body='eval
19445 expr "X$arg" : "X\\(.*\\)$as_nl";
19446 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19448 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19450 export as_echo_n_body
19451 as_echo_n='sh -c $as_echo_n_body as_echo'
19453 export as_echo_body
19454 as_echo='sh -c $as_echo_body as_echo'
19457 # The user is always right.
19458 if test "${PATH_SEPARATOR+set}" != set; then
19460 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19461 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19468 # We need space, tab and new line, in precisely that order. Quoting is
19469 # there to prevent editors from complaining about space-tab.
19470 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19471 # splitting by setting IFS to empty value.)
19474 # Find who we are. Look in the path if we contain no directory separator.
19476 *[\\/]* ) as_myself=$0 ;;
19477 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19478 for as_dir in $PATH
19481 test -z "$as_dir" && as_dir=.
19482 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19488 # We did not find ourselves, most probably we were run as `sh COMMAND'
19489 # in which case we are not to be found in the path.
19490 if test "x$as_myself" = x; then
19493 if test ! -f "$as_myself"; then
19494 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19498 # Unset variables that we do not need and which cause bugs (e.g. in
19499 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19500 # suppresses any "Segmentation fault" message there. '((' could
19501 # trigger a bug in pdksh 5.2.14.
19502 for as_var in BASH_ENV ENV MAIL MAILPATH
19503 do eval test x\${$as_var+set} = xset \
19504 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19517 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19520 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19521 # ----------------------------------------
19522 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19523 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19524 # script with STATUS, using 1 if that was 0.
19527 as_status=$1; test $as_status -eq 0 && as_status=1
19529 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19530 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19532 $as_echo "$as_me: error: $2" >&2
19533 as_fn_exit $as_status
19537 # as_fn_set_status STATUS
19538 # -----------------------
19539 # Set $? to STATUS, without forking.
19540 as_fn_set_status ()
19543 } # as_fn_set_status
19545 # as_fn_exit STATUS
19546 # -----------------
19547 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19551 as_fn_set_status $1
19557 # Portably unset VAR.
19560 { eval $1=; unset $1;}
19562 as_unset=as_fn_unset
19563 # as_fn_append VAR VALUE
19564 # ----------------------
19565 # Append the text in VALUE to the end of the definition contained in VAR. Take
19566 # advantage of any shell optimizations that allow amortized linear growth over
19567 # repeated appends, instead of the typical quadratic growth present in naive
19569 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19570 eval 'as_fn_append ()
19581 # as_fn_arith ARG...
19582 # ------------------
19583 # Perform arithmetic evaluation on the ARGs, and store the result in the
19584 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19585 # must be portable across $(()) and expr.
19586 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19587 eval 'as_fn_arith ()
19594 as_val=`expr "$@" || test $? -eq 1`
19599 if expr a : '\(a\)' >/dev/null 2>&1 &&
19600 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19606 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19607 as_basename=basename
19612 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19618 as_me=`$as_basename -- "$0" ||
19619 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19620 X"$0" : 'X\(//\)$' \| \
19621 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19623 sed '/^.*\/\([^/][^/]*\)\/*$/{
19637 # Avoid depending upon Character Ranges.
19638 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19639 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19640 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19641 as_cr_digits='0123456789'
19642 as_cr_alnum=$as_cr_Letters$as_cr_digits
19644 ECHO_C= ECHO_N= ECHO_T=
19645 case `echo -n x` in #(((((
19647 case `echo 'xy\c'` in
19648 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19650 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19657 rm -f conf$$ conf$$.exe conf$$.file
19658 if test -d conf$$.dir; then
19659 rm -f conf$$.dir/conf$$.file
19662 mkdir conf$$.dir 2>/dev/null
19664 if (echo >conf$$.file) 2>/dev/null; then
19665 if ln -s conf$$.file conf$$ 2>/dev/null; then
19667 # ... but there are two gotchas:
19668 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19669 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19670 # In both cases, we have to default to `cp -p'.
19671 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19673 elif ln conf$$.file conf$$ 2>/dev/null; then
19681 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19682 rmdir conf$$.dir 2>/dev/null
19687 # Create "$as_dir" as a directory, including parents if necessary.
19692 -*) as_dir=./$as_dir;;
19694 test -d "$as_dir" || eval $as_mkdir_p || {
19698 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19699 *) as_qdir=$as_dir;;
19701 as_dirs="'$as_qdir' $as_dirs"
19702 as_dir=`$as_dirname -- "$as_dir" ||
19703 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19704 X"$as_dir" : 'X\(//\)[^/]' \| \
19705 X"$as_dir" : 'X\(//\)$' \| \
19706 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19707 $as_echo X"$as_dir" |
19708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19712 /^X\(\/\/\)[^/].*/{
19725 test -d "$as_dir" && break
19727 test -z "$as_dirs" || eval "mkdir $as_dirs"
19728 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19732 if mkdir -p . 2>/dev/null; then
19733 as_mkdir_p='mkdir -p "$as_dir"'
19735 test -d ./-p && rmdir ./-p
19739 if test -x / >/dev/null 2>&1; then
19740 as_test_x='test -x'
19742 if ls -dL / >/dev/null 2>&1; then
19749 if test -d "$1"; then
19755 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19756 ???[sx]*):;;*)false;;esac;fi
19760 as_executable_p=$as_test_x
19762 # Sed expression to map a string onto a valid CPP name.
19763 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19765 # Sed expression to map a string onto a valid variable name.
19766 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19770 ## ----------------------------------- ##
19771 ## Main body of $CONFIG_STATUS script. ##
19772 ## ----------------------------------- ##
19774 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19777 # Save the log message, to keep $0 and so on meaningful, and to
19778 # report actual input values of CONFIG_FILES etc. instead of their
19779 # values after options handling.
19781 This file was extended by xmltooling $as_me 1.4, which was
19782 generated by GNU Autoconf 2.67. Invocation command line was
19784 CONFIG_FILES = $CONFIG_FILES
19785 CONFIG_HEADERS = $CONFIG_HEADERS
19786 CONFIG_LINKS = $CONFIG_LINKS
19787 CONFIG_COMMANDS = $CONFIG_COMMANDS
19790 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19795 case $ac_config_files in *"
19796 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19799 case $ac_config_headers in *"
19800 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19805 # Files that config.status was made for.
19806 config_files="$ac_config_files"
19807 config_headers="$ac_config_headers"
19808 config_commands="$ac_config_commands"
19812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19814 \`$as_me' instantiates files and other configuration actions
19815 from templates according to the current configuration. Unless the files
19816 and actions are specified as TAGs, all are instantiated by default.
19818 Usage: $0 [OPTION]... [TAG]...
19820 -h, --help print this help, then exit
19821 -V, --version print version number and configuration settings, then exit
19822 --config print configuration, then exit
19823 -q, --quiet, --silent
19824 do not print progress messages
19825 -d, --debug don't remove temporary files
19826 --recheck update $as_me by reconfiguring in the same conditions
19827 --file=FILE[:TEMPLATE]
19828 instantiate the configuration file FILE
19829 --header=FILE[:TEMPLATE]
19830 instantiate the configuration header FILE
19832 Configuration files:
19835 Configuration headers:
19838 Configuration commands:
19841 Report bugs to <https://bugs.internet2.edu/>."
19844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19845 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19847 xmltooling config.status 1.4
19848 configured by $0, generated by GNU Autoconf 2.67,
19849 with options \\"\$ac_cs_config\\"
19851 Copyright (C) 2010 Free Software Foundation, Inc.
19852 This config.status script is free software; the Free Software Foundation
19853 gives unlimited permission to copy, distribute and modify it."
19860 test -n "\$AWK" || AWK=awk
19863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19864 # The default lists apply if the user does not specify any file.
19870 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19871 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19875 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19887 # Handling of the options.
19888 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19890 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19891 $as_echo "$ac_cs_version"; exit ;;
19892 --config | --confi | --conf | --con | --co | --c )
19893 $as_echo "$ac_cs_config"; exit ;;
19894 --debug | --debu | --deb | --de | --d | -d )
19896 --file | --fil | --fi | --f )
19899 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19900 '') as_fn_error $? "missing file argument" ;;
19902 as_fn_append CONFIG_FILES " '$ac_optarg'"
19903 ac_need_defaults=false;;
19904 --header | --heade | --head | --hea )
19907 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19909 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19910 ac_need_defaults=false;;
19912 # Conflict between --help and --header
19913 as_fn_error $? "ambiguous option: \`$1'
19914 Try \`$0 --help' for more information.";;
19915 --help | --hel | -h )
19916 $as_echo "$ac_cs_usage"; exit ;;
19917 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19918 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19921 # This is an error.
19922 -*) as_fn_error $? "unrecognized option: \`$1'
19923 Try \`$0 --help' for more information." ;;
19925 *) as_fn_append ac_config_targets " $1"
19926 ac_need_defaults=false ;;
19932 ac_configure_extra_args=
19934 if $ac_cs_silent; then
19936 ac_configure_extra_args="$ac_configure_extra_args --silent"
19940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19941 if \$ac_cs_recheck; then
19942 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19944 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19945 CONFIG_SHELL='$SHELL'
19946 export CONFIG_SHELL
19951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19955 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19956 ## Running $as_me. ##
19962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19966 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19969 # The HP-UX ksh and POSIX shell print the target directory to stdout
19970 # if CDPATH is set.
19971 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19973 sed_quote_subst='$sed_quote_subst'
19974 double_quote_subst='$double_quote_subst'
19975 delay_variable_subst='$delay_variable_subst'
19976 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19977 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19978 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19979 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19980 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19981 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19982 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19983 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19984 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19985 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19986 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19987 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19988 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19989 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19990 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19991 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19992 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19993 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19994 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19995 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19996 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19997 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19998 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19999 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20000 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20001 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20002 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20003 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20004 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20005 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20006 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20007 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20008 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20009 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20010 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20011 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20012 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20013 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20014 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20015 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20016 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20017 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20018 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20019 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20020 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"`'
20021 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"`'
20022 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20023 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20024 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20025 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20026 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20027 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20028 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20029 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20030 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20031 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20032 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20033 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20034 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20035 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20036 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20037 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20038 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20039 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20040 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20041 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20042 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20043 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20044 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20045 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20046 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20047 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20048 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20049 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20050 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20051 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20052 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20053 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20054 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20055 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20056 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20057 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20058 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20059 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20060 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20061 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20062 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20063 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20064 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20065 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20066 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20067 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20068 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20069 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20070 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20071 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20072 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20073 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20074 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20075 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20076 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20077 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20078 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20079 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20080 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20081 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20082 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20083 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20084 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20085 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20086 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20087 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20088 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20089 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20090 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20091 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20092 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20093 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20094 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20095 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20096 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20097 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20098 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20099 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20100 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20101 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20102 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20103 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20104 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20105 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20106 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20107 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20108 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20109 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20110 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20111 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20112 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20113 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20114 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20115 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20116 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20117 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20118 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20119 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20120 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20121 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20122 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20123 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20124 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20125 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20126 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20127 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20128 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20129 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20130 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20131 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20132 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20133 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20134 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20135 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20136 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20137 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20138 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20139 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20140 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20141 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20142 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20143 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20144 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20145 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20146 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20149 LTCFLAGS='$LTCFLAGS'
20150 compiler='$compiler_DEFAULT'
20152 # Quote evaled strings.
20164 deplibs_check_method \
20173 lt_cv_sys_global_symbol_pipe \
20174 lt_cv_sys_global_symbol_to_cdecl \
20175 lt_cv_sys_global_symbol_to_c_name_address \
20176 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20179 lt_prog_compiler_no_builtin_flag \
20180 lt_prog_compiler_wl \
20181 lt_prog_compiler_pic \
20182 lt_prog_compiler_static \
20183 lt_cv_prog_compiler_c_o \
20191 export_dynamic_flag_spec \
20192 whole_archive_flag_spec \
20193 compiler_needs_object \
20195 allow_undefined_flag \
20196 no_undefined_flag \
20197 hardcode_libdir_flag_spec \
20198 hardcode_libdir_flag_spec_ld \
20199 hardcode_libdir_separator \
20204 variables_saved_for_relink \
20206 library_names_spec \
20211 compiler_lib_search_dirs \
20216 compiler_lib_search_path \
20219 lt_prog_compiler_no_builtin_flag_CXX \
20220 lt_prog_compiler_wl_CXX \
20221 lt_prog_compiler_pic_CXX \
20222 lt_prog_compiler_static_CXX \
20223 lt_cv_prog_compiler_c_o_CXX \
20224 export_dynamic_flag_spec_CXX \
20225 whole_archive_flag_spec_CXX \
20226 compiler_needs_object_CXX \
20228 allow_undefined_flag_CXX \
20229 no_undefined_flag_CXX \
20230 hardcode_libdir_flag_spec_CXX \
20231 hardcode_libdir_flag_spec_ld_CXX \
20232 hardcode_libdir_separator_CXX \
20233 fix_srcfile_path_CXX \
20234 exclude_expsyms_CXX \
20235 include_expsyms_CXX \
20236 file_list_spec_CXX \
20237 compiler_lib_search_dirs_CXX \
20238 predep_objects_CXX \
20239 postdep_objects_CXX \
20242 compiler_lib_search_path_CXX; do
20243 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20244 *[\\\\\\\`\\"\\\$]*)
20245 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20248 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20253 # Double-quote double-evaled strings.
20254 for var in reload_cmds \
20255 old_postinstall_cmds \
20256 old_postuninstall_cmds \
20258 extract_expsyms_cmds \
20259 old_archive_from_new_cmds \
20260 old_archive_from_expsyms_cmds \
20262 archive_expsym_cmds \
20264 module_expsym_cmds \
20265 export_symbols_cmds \
20268 postuninstall_cmds \
20270 sys_lib_search_path_spec \
20271 sys_lib_dlsearch_path_spec \
20272 old_archive_cmds_CXX \
20273 old_archive_from_new_cmds_CXX \
20274 old_archive_from_expsyms_cmds_CXX \
20276 archive_expsym_cmds_CXX \
20278 module_expsym_cmds_CXX \
20279 export_symbols_cmds_CXX \
20280 prelink_cmds_CXX; do
20281 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20282 *[\\\\\\\`\\"\\\$]*)
20283 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20286 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20291 # Fix-up fallback echo if it was mangled by the above quoting rules.
20293 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20297 ac_aux_dir='$ac_aux_dir'
20298 xsi_shell='$xsi_shell'
20299 lt_shell_append='$lt_shell_append'
20301 # See if we are running on zsh, and set the options which allow our
20302 # commands through without removal of \ escapes INIT.
20303 if test -n "\${ZSH_VERSION+set}" ; then
20304 setopt NO_GLOB_SUBST
20310 TIMESTAMP='$TIMESTAMP'
20319 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20320 pkgconfig_prefix='$prefix'
20321 pkgconfig_execprefix='$exec_prefix'
20322 pkgconfig_bindir='$bindir'
20323 pkgconfig_libdir='$libdir'
20324 pkgconfig_includedir='$includedir'
20325 pkgconfig_datarootdir='$datarootdir'
20326 pkgconfig_datadir='$datadir'
20327 pkgconfig_sysconfdir='$sysconfdir'
20328 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20329 pkgconfig_package='$PACKAGE_NAME'
20330 pkgconfig_libname='$ax_create_pkgconfig_libname'
20331 pkgconfig_description='$ax_create_pkgconfig_description'
20332 pkgconfig_version='$ax_create_pkgconfig_version'
20333 pkgconfig_requires='$ax_create_pkgconfig_requires'
20334 pkgconfig_libs='$ax_create_pkgconfig_libs'
20335 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20336 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20337 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20338 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20345 # Handling of arguments.
20346 for ac_config_target in $ac_config_targets
20348 case $ac_config_target in
20349 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20350 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20351 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20352 "xmltooling/config_pub.h") CONFIG_HEADERS="$CONFIG_HEADERS xmltooling/config_pub.h" ;;
20353 "xmltooling.spec") CONFIG_FILES="$CONFIG_FILES xmltooling.spec" ;;
20354 "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
20355 "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
20356 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20357 "xmltooling/Makefile") CONFIG_FILES="$CONFIG_FILES xmltooling/Makefile" ;;
20358 "xmltoolingtest/Makefile") CONFIG_FILES="$CONFIG_FILES xmltoolingtest/Makefile" ;;
20359 "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20360 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20361 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20363 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20368 # If the user did not use the arguments to specify the items to instantiate,
20369 # then the envvar interface is used. Set only those that are not.
20370 # We use the long form for the default assignment because of an extremely
20371 # bizarre bug on SunOS 4.1.3.
20372 if $ac_need_defaults; then
20373 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20374 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20375 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20378 # Have a temporary directory for convenience. Make it in the build tree
20379 # simply because there is no reason against having it here, and in addition,
20380 # creating and moving files from /tmp can sometimes cause problems.
20381 # Hook for its removal unless debugging.
20382 # Note that there is a small window in which the directory will not be cleaned:
20383 # after its creation but before its name has been assigned to `$tmp'.
20387 trap 'exit_status=$?
20388 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20390 trap 'as_fn_exit 1' 1 2 13 15
20392 # Create a (secure) tmp directory for tmp files.
20395 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20396 test -n "$tmp" && test -d "$tmp"
20399 tmp=./conf$$-$RANDOM
20400 (umask 077 && mkdir "$tmp")
20401 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20403 # Set up the scripts for CONFIG_FILES section.
20404 # No need to generate them if there are no CONFIG_FILES.
20405 # This happens for instance with `./config.status config.h'.
20406 if test -n "$CONFIG_FILES"; then
20409 ac_cr=`echo X | tr X '\015'`
20410 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20411 # But we know of no other shell where ac_cr would be empty at this
20412 # point, so we can use a bashism as a fallback.
20413 if test "x$ac_cr" = x; then
20414 eval ac_cr=\$\'\\r\'
20416 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20417 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20420 ac_cs_awk_cr=$ac_cr
20423 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20428 echo "cat >conf$$subs.awk <<_ACEOF" &&
20429 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20431 } >conf$$subs.sh ||
20432 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20433 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20435 for ac_last_try in false false false false false :; do
20436 . ./conf$$subs.sh ||
20437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20439 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20440 if test $ac_delim_n = $ac_delim_num; then
20442 elif $ac_last_try; then
20443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20445 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20448 rm -f conf$$subs.sh
20450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20451 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
20455 s/^/S["/; s/!.*/"]=/
20465 s/\(.\{148\}\)..*/\1/
20467 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20472 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20479 s/\(.\{148\}\)..*/\1/
20481 s/["\\]/\\&/g; s/^/"/; s/$/"/
20485 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20490 ' <conf$$subs.awk | sed '
20495 ' >>$CONFIG_STATUS || ac_write_fail=1
20496 rm -f conf$$subs.awk
20497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20499 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
20500 for (key in S) S_is_set[key] = 1
20506 nfields = split(line, field, "@")
20508 len = length(field[1])
20509 for (i = 2; i < nfields; i++) {
20511 keylen = length(key)
20512 if (S_is_set[key]) {
20514 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20515 len += length(value) + length(field[++i])
20526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20527 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20528 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20531 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20532 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20535 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20536 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20537 # trailing colons and then remove the whole line if VPATH becomes empty
20538 # (actually we leave an empty line to preserve line numbers).
20539 if test "x$srcdir" = x.; then
20540 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20559 fi # test -n "$CONFIG_FILES"
20561 # Set up the scripts for CONFIG_HEADERS section.
20562 # No need to generate them if there are no CONFIG_HEADERS.
20563 # This happens for instance with `./config.status Makefile'.
20564 if test -n "$CONFIG_HEADERS"; then
20565 cat >"$tmp/defines.awk" <<\_ACAWK ||
20569 # Transform confdefs.h into an awk script `defines.awk', embedded as
20570 # here-document in config.status, that substitutes the proper values into
20571 # config.h.in to produce config.h.
20573 # Create a delimiter string that does not exist in confdefs.h, to ease
20574 # handling of long lines.
20576 for ac_last_try in false false :; do
20577 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
20578 if test -z "$ac_t"; then
20580 elif $ac_last_try; then
20581 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20587 # For the awk script, D is an array of macro values keyed by name,
20588 # likewise P contains macro parameters if any. Preserve backslash
20589 # newline sequences.
20591 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20593 s/.\{148\}/&'"$ac_delim"'/g
20596 s/^[ ]*#[ ]*define[ ][ ]*/ /
20603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20605 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20609 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20610 D["\1"]=" \3\\\\\\n"\\/p
20612 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20617 s/.\{148\}/&'"$ac_delim"'/g
20622 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20625 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20627 ' <confdefs.h | sed '
20628 s/'"$ac_delim"'/"\\\
20629 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20632 for (key in D) D_is_set[key] = 1
20635 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20637 split(line, arg, " ")
20638 if (arg[1] == "#") {
20642 defundef = substr(arg[1], 2)
20645 split(mac1, mac2, "(") #)
20647 prefix = substr(line, 1, index(line, defundef) - 1)
20648 if (D_is_set[macro]) {
20649 # Preserve the white space surrounding the "#".
20650 print prefix "define", macro P[macro] D[macro]
20653 # Replace #undef with comments. This is necessary, for example,
20654 # in the case of _POSIX_SOURCE, which is predefined and required
20655 # on some systems where configure will not decide to define it.
20656 if (defundef == "undef") {
20657 print "/*", prefix defundef, macro, "*/"
20665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20666 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20667 fi # test -n "$CONFIG_HEADERS"
20670 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20675 :[FHLC]) ac_mode=$ac_tag; continue;;
20677 case $ac_mode$ac_tag in
20679 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
20680 :[FH]-) ac_tag=-:-;;
20681 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20698 -) ac_f="$tmp/stdin";;
20699 *) # Look for the file first in the build tree, then in the source tree
20700 # (if the path is not absolute). The absolute path cannot be DOS-style,
20701 # because $ac_f cannot contain `:'.
20705 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20707 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20709 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20710 as_fn_append ac_file_inputs " '$ac_f'"
20713 # Let's still pretend it is `configure' which instantiates (i.e., don't
20714 # use $as_me), people would be surprised to read:
20715 # /* config.h. Generated by config.status. */
20716 configure_input='Generated from '`
20717 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20719 if test x"$ac_file" != x-; then
20720 configure_input="$ac_file. $configure_input"
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20722 $as_echo "$as_me: creating $ac_file" >&6;}
20724 # Neutralize special characters interpreted by sed in replacement strings.
20725 case $configure_input in #(
20726 *\&* | *\|* | *\\* )
20727 ac_sed_conf_input=`$as_echo "$configure_input" |
20728 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20729 *) ac_sed_conf_input=$configure_input;;
20733 *:-:* | *:-) cat >"$tmp/stdin" \
20734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20739 ac_dir=`$as_dirname -- "$ac_file" ||
20740 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20741 X"$ac_file" : 'X\(//\)[^/]' \| \
20742 X"$ac_file" : 'X\(//\)$' \| \
20743 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20744 $as_echo X"$ac_file" |
20745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20749 /^X\(\/\/\)[^/].*/{
20762 as_dir="$ac_dir"; as_fn_mkdir_p
20766 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20768 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20769 # A ".." for each directory in $ac_dir_suffix.
20770 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20771 case $ac_top_builddir_sub in
20772 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20773 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20776 ac_abs_top_builddir=$ac_pwd
20777 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20778 # for backward compatibility:
20779 ac_top_builddir=$ac_top_build_prefix
20782 .) # We are building in place.
20784 ac_top_srcdir=$ac_top_builddir_sub
20785 ac_abs_top_srcdir=$ac_pwd ;;
20786 [\\/]* | ?:[\\/]* ) # Absolute name.
20787 ac_srcdir=$srcdir$ac_dir_suffix;
20788 ac_top_srcdir=$srcdir
20789 ac_abs_top_srcdir=$srcdir ;;
20790 *) # Relative name.
20791 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20792 ac_top_srcdir=$ac_top_build_prefix$srcdir
20793 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20795 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20805 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20806 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20808 ac_MKDIR_P=$MKDIR_P
20810 [\\/$]* | ?:[\\/]* ) ;;
20811 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20816 # If the template does not know about datarootdir, expand it.
20817 # FIXME: This hack should be removed a few years after 2.60.
20818 ac_datarootdir_hack=; ac_datarootdir_seen=
20829 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20830 *datarootdir*) ac_datarootdir_seen=yes;;
20831 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20833 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20836 ac_datarootdir_hack='
20837 s&@datadir@&$datadir&g
20838 s&@docdir@&$docdir&g
20839 s&@infodir@&$infodir&g
20840 s&@localedir@&$localedir&g
20841 s&@mandir@&$mandir&g
20842 s&\\\${datarootdir}&$datarootdir&g' ;;
20846 # Neutralize VPATH when `$srcdir' = `.'.
20847 # Shell code in configure.ac might set extrasub.
20848 # FIXME: do we really want to maintain this feature?
20849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20850 ac_sed_extra="$ac_vpsub
20853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20855 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20856 s|@configure_input@|$ac_sed_conf_input|;t t
20857 s&@top_builddir@&$ac_top_builddir_sub&;t t
20858 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20859 s&@srcdir@&$ac_srcdir&;t t
20860 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20861 s&@top_srcdir@&$ac_top_srcdir&;t t
20862 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20863 s&@builddir@&$ac_builddir&;t t
20864 s&@abs_builddir@&$ac_abs_builddir&;t t
20865 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20866 s&@INSTALL@&$ac_INSTALL&;t t
20867 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20868 $ac_datarootdir_hack
20870 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
20871 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20873 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20874 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20875 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20877 which seems to be undefined. Please make sure it is defined" >&5
20878 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20879 which seems to be undefined. Please make sure it is defined" >&2;}
20883 -) cat "$tmp/out" && rm -f "$tmp/out";;
20884 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20886 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20892 if test x"$ac_file" != x-; then
20894 $as_echo "/* $configure_input */" \
20895 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20896 } >"$tmp/config.h" \
20897 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20898 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20900 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20903 mv "$tmp/config.h" "$ac_file" \
20904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20907 $as_echo "/* $configure_input */" \
20908 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20909 || as_fn_error $? "could not create -" "$LINENO" 5
20911 # Compute "$ac_file"'s index in $config_headers.
20914 for _am_header in $config_headers :; do
20915 case $_am_header in
20916 $_am_arg | $_am_arg:* )
20919 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20922 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20923 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20924 X"$_am_arg" : 'X\(//\)[^/]' \| \
20925 X"$_am_arg" : 'X\(//\)$' \| \
20926 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20927 $as_echo X"$_am_arg" |
20928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20932 /^X\(\/\/\)[^/].*/{
20944 s/.*/./; q'`/stamp-h$_am_stamp_count
20947 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20948 $as_echo "$as_me: executing $ac_file commands" >&6;}
20953 case $ac_file$ac_mode in
20954 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20955 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20956 # are listed without --file. Let's play safe and only enable the eval
20957 # if we detect the quoting.
20958 case $CONFIG_FILES in
20959 *\'*) eval set x "$CONFIG_FILES" ;;
20960 *) set x $CONFIG_FILES ;;
20965 # Strip MF so we end up with the name of the file.
20966 mf=`echo "$mf" | sed -e 's/:.*$//'`
20967 # Check whether this is an Automake generated Makefile or not.
20968 # We used to match only the files named `Makefile.in', but
20969 # some people rename them; so instead we look at the file content.
20970 # Grep'ing the first line is not enough: some people post-process
20971 # each Makefile.in and add a new line on top of each file to say so.
20972 # Grep'ing the whole file is not good either: AIX grep has a line
20973 # limit of 2048, but all sed's we know have understand at least 4000.
20974 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20975 dirpart=`$as_dirname -- "$mf" ||
20976 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20977 X"$mf" : 'X\(//\)[^/]' \| \
20978 X"$mf" : 'X\(//\)$' \| \
20979 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20985 /^X\(\/\/\)[^/].*/{
21001 # Extract the definition of DEPDIR, am__include, and am__quote
21002 # from the Makefile without running `make'.
21003 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21004 test -z "$DEPDIR" && continue
21005 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21006 test -z "am__include" && continue
21007 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21008 # When using ansi2knr, U may be empty or an underscore; expand it
21009 U=`sed -n 's/^U = //p' < "$mf"`
21010 # Find all dependency output files, they are included files with
21011 # $(DEPDIR) in their names. We invoke sed twice because it is the
21012 # simplest approach to changing $(DEPDIR) to its actual value in the
21014 for file in `sed -n "
21015 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21016 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21017 # Make sure the directory exists.
21018 test -f "$dirpart/$file" && continue
21019 fdir=`$as_dirname -- "$file" ||
21020 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21021 X"$file" : 'X\(//\)[^/]' \| \
21022 X"$file" : 'X\(//\)$' \| \
21023 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21024 $as_echo X"$file" |
21025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21029 /^X\(\/\/\)[^/].*/{
21042 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21043 # echo "creating $dirpart/$file"
21044 echo '# dummy' > "$dirpart/$file"
21051 # See if we are running on zsh, and set the options which allow our
21052 # commands through without removal of \ escapes.
21053 if test -n "${ZSH_VERSION+set}" ; then
21054 setopt NO_GLOB_SUBST
21057 cfgfile="${ofile}T"
21058 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21061 cat <<_LT_EOF >> "$cfgfile"
21064 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21065 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21066 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21067 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21069 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21070 # 2006, 2007, 2008 Free Software Foundation, Inc.
21071 # Written by Gordon Matzigkeit, 1996
21073 # This file is part of GNU Libtool.
21075 # GNU Libtool is free software; you can redistribute it and/or
21076 # modify it under the terms of the GNU General Public License as
21077 # published by the Free Software Foundation; either version 2 of
21078 # the License, or (at your option) any later version.
21080 # As a special exception to the GNU General Public License,
21081 # if you distribute this file as part of a program or library that
21082 # is built using GNU Libtool, you may include this file under the
21083 # same distribution terms that you use for the rest of that program.
21085 # GNU Libtool is distributed in the hope that it will be useful,
21086 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21087 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21088 # GNU General Public License for more details.
21090 # You should have received a copy of the GNU General Public License
21091 # along with GNU Libtool; see the file COPYING. If not, a copy
21092 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21093 # obtained by writing to the Free Software Foundation, Inc.,
21094 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21097 # The names of the tagged configurations supported by this script.
21098 available_tags="CXX "
21100 # ### BEGIN LIBTOOL CONFIG
21102 # Which release of libtool.m4 was used?
21103 macro_version=$macro_version
21104 macro_revision=$macro_revision
21106 # Whether or not to build shared libraries.
21107 build_libtool_libs=$enable_shared
21109 # Whether or not to build static libraries.
21110 build_old_libs=$enable_static
21112 # What type of objects to build.
21115 # Whether or not to optimize for fast installation.
21116 fast_install=$enable_fast_install
21119 host_alias=$host_alias
21123 # The build system.
21124 build_alias=$build_alias
21128 # A sed program that does not truncate output.
21131 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21132 Xsed="\$SED -e 1s/^X//"
21134 # A grep program that handles long lines.
21140 # A literal string matcher.
21143 # A BSD- or MS-compatible name lister.
21146 # Whether we need soft or hard links.
21149 # What is the maximum length of a command?
21150 max_cmd_len=$max_cmd_len
21152 # Object file suffix (normally "o").
21155 # Executable file suffix (normally "").
21158 # whether the shell understands "unset".
21161 # turn spaces into newlines.
21164 # turn newlines into spaces.
21167 # How to create reloadable object files.
21168 reload_flag=$lt_reload_flag
21169 reload_cmds=$lt_reload_cmds
21171 # An object symbol dumper.
21172 OBJDUMP=$lt_OBJDUMP
21174 # Method to check whether dependent libraries are shared objects.
21175 deplibs_check_method=$lt_deplibs_check_method
21177 # Command to use when deplibs_check_method == "file_magic".
21178 file_magic_cmd=$lt_file_magic_cmd
21182 AR_FLAGS=$lt_AR_FLAGS
21184 # A symbol stripping program.
21187 # Commands used to install an old-style archive.
21189 old_postinstall_cmds=$lt_old_postinstall_cmds
21190 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21195 # LTCC compiler flags.
21196 LTCFLAGS=$lt_CFLAGS
21198 # Take the output of nm and produce a listing of raw symbols and C names.
21199 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21201 # Transform the output of nm in a proper C declaration.
21202 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21204 # Transform the output of nm in a C name address pair.
21205 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21207 # Transform the output of nm in a C name address pair when lib prefix is needed.
21208 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21210 # The name of the directory that contains temporary libtool files.
21213 # Shell to use when invoking shell scripts.
21216 # An echo program that does not interpret backslashes.
21219 # Used to examine libraries when file_magic_cmd begins with "file".
21220 MAGIC_CMD=$MAGIC_CMD
21222 # Must we lock files when doing compilation?
21223 need_locks=$lt_need_locks
21225 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21226 DSYMUTIL=$lt_DSYMUTIL
21228 # Tool to change global to local symbols on Mac OS X.
21231 # Tool to manipulate fat objects and archives on Mac OS X.
21234 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21237 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21238 OTOOL64=$lt_OTOOL64
21240 # Old archive suffix (normally "a").
21243 # Shared library suffix (normally ".so").
21244 shrext_cmds=$lt_shrext_cmds
21246 # The commands to extract the exported symbol list from a shared archive.
21247 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21249 # Variables whose values should be saved in libtool wrapper scripts and
21250 # restored at link time.
21251 variables_saved_for_relink=$lt_variables_saved_for_relink
21253 # Do we need the "lib" prefix for modules?
21254 need_lib_prefix=$need_lib_prefix
21256 # Do we need a version for libraries?
21257 need_version=$need_version
21259 # Library versioning type.
21260 version_type=$version_type
21262 # Shared library runtime path variable.
21263 runpath_var=$runpath_var
21265 # Shared library path variable.
21266 shlibpath_var=$shlibpath_var
21268 # Is shlibpath searched before the hard-coded library search path?
21269 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21271 # Format of library name prefix.
21272 libname_spec=$lt_libname_spec
21274 # List of archive names. First name is the real one, the rest are links.
21275 # The last name is the one that the linker finds with -lNAME
21276 library_names_spec=$lt_library_names_spec
21278 # The coded name of the library, if different from the real name.
21279 soname_spec=$lt_soname_spec
21281 # Command to use after installation of a shared archive.
21282 postinstall_cmds=$lt_postinstall_cmds
21284 # Command to use after uninstallation of a shared archive.
21285 postuninstall_cmds=$lt_postuninstall_cmds
21287 # Commands used to finish a libtool library installation in a directory.
21288 finish_cmds=$lt_finish_cmds
21290 # As "finish_cmds", except a single script fragment to be evaled but
21292 finish_eval=$lt_finish_eval
21294 # Whether we should hardcode library paths into libraries.
21295 hardcode_into_libs=$hardcode_into_libs
21297 # Compile-time system search path for libraries.
21298 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21300 # Run-time system search path for libraries.
21301 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21303 # Whether dlopen is supported.
21304 dlopen_support=$enable_dlopen
21306 # Whether dlopen of programs is supported.
21307 dlopen_self=$enable_dlopen_self
21309 # Whether dlopen of statically linked programs is supported.
21310 dlopen_self_static=$enable_dlopen_self_static
21312 # Commands to strip libraries.
21313 old_striplib=$lt_old_striplib
21314 striplib=$lt_striplib
21317 # The linker used to build libraries.
21320 # Commands used to build an old-style archive.
21321 old_archive_cmds=$lt_old_archive_cmds
21323 # A language specific compiler.
21326 # Is the compiler the GNU compiler?
21329 # Compiler flag to turn off builtin functions.
21330 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21332 # How to pass a linker flag through the compiler.
21333 wl=$lt_lt_prog_compiler_wl
21335 # Additional compiler flags for building library objects.
21336 pic_flag=$lt_lt_prog_compiler_pic
21338 # Compiler flag to prevent dynamic linking.
21339 link_static_flag=$lt_lt_prog_compiler_static
21341 # Does compiler simultaneously support -c and -o options?
21342 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21344 # Whether or not to add -lc for building shared libraries.
21345 build_libtool_need_lc=$archive_cmds_need_lc
21347 # Whether or not to disallow shared libs when runtime libs are static.
21348 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21350 # Compiler flag to allow reflexive dlopens.
21351 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21353 # Compiler flag to generate shared objects directly from archives.
21354 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21356 # Whether the compiler copes with passing no objects directly.
21357 compiler_needs_object=$lt_compiler_needs_object
21359 # Create an old-style archive from a shared archive.
21360 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21362 # Create a temporary old-style archive to link instead of a shared archive.
21363 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21365 # Commands used to build a shared archive.
21366 archive_cmds=$lt_archive_cmds
21367 archive_expsym_cmds=$lt_archive_expsym_cmds
21369 # Commands used to build a loadable module if different from building
21370 # a shared archive.
21371 module_cmds=$lt_module_cmds
21372 module_expsym_cmds=$lt_module_expsym_cmds
21374 # Whether we are building with GNU ld or not.
21375 with_gnu_ld=$lt_with_gnu_ld
21377 # Flag that allows shared libraries with undefined symbols to be built.
21378 allow_undefined_flag=$lt_allow_undefined_flag
21380 # Flag that enforces no undefined symbols.
21381 no_undefined_flag=$lt_no_undefined_flag
21383 # Flag to hardcode \$libdir into a binary during linking.
21384 # This must work even if \$libdir does not exist
21385 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21387 # If ld is used when linking, flag to hardcode \$libdir into a binary
21388 # during linking. This must work even if \$libdir does not exist.
21389 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21391 # Whether we need a single "-rpath" flag with a separated argument.
21392 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21394 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21395 # DIR into the resulting binary.
21396 hardcode_direct=$hardcode_direct
21398 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21399 # DIR into the resulting binary and the resulting library dependency is
21400 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21401 # library is relocated.
21402 hardcode_direct_absolute=$hardcode_direct_absolute
21404 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21405 # into the resulting binary.
21406 hardcode_minus_L=$hardcode_minus_L
21408 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21409 # into the resulting binary.
21410 hardcode_shlibpath_var=$hardcode_shlibpath_var
21412 # Set to "yes" if building a shared library automatically hardcodes DIR
21413 # into the library and all subsequent libraries and executables linked
21415 hardcode_automatic=$hardcode_automatic
21417 # Set to yes if linker adds runtime paths of dependent libraries
21418 # to runtime path list.
21419 inherit_rpath=$inherit_rpath
21421 # Whether libtool must link a program against all its dependency libraries.
21422 link_all_deplibs=$link_all_deplibs
21424 # Fix the shell variable \$srcfile for the compiler.
21425 fix_srcfile_path=$lt_fix_srcfile_path
21427 # Set to "yes" if exported symbols are required.
21428 always_export_symbols=$always_export_symbols
21430 # The commands to list exported symbols.
21431 export_symbols_cmds=$lt_export_symbols_cmds
21433 # Symbols that should not be listed in the preloaded symbols.
21434 exclude_expsyms=$lt_exclude_expsyms
21436 # Symbols that must always be exported.
21437 include_expsyms=$lt_include_expsyms
21439 # Commands necessary for linking programs (against libraries) with templates.
21440 prelink_cmds=$lt_prelink_cmds
21442 # Specify filename containing input files.
21443 file_list_spec=$lt_file_list_spec
21445 # How to hardcode a shared library path into an executable.
21446 hardcode_action=$hardcode_action
21448 # The directories searched by this compiler when creating a shared library.
21449 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21451 # Dependencies to place before and after the objects being linked to
21452 # create a shared library.
21453 predep_objects=$lt_predep_objects
21454 postdep_objects=$lt_postdep_objects
21455 predeps=$lt_predeps
21456 postdeps=$lt_postdeps
21458 # The library search path used internally by the compiler when linking
21459 # a shared library.
21460 compiler_lib_search_path=$lt_compiler_lib_search_path
21462 # ### END LIBTOOL CONFIG
21468 cat <<\_LT_EOF >> "$cfgfile"
21469 # AIX sometimes has problems with the GCC collect2 program. For some
21470 # reason, if we set the COLLECT_NAMES environment variable, the problems
21471 # vanish in a puff of smoke.
21472 if test "X${COLLECT_NAMES+set}" != Xset; then
21474 export COLLECT_NAMES
21481 ltmain="$ac_aux_dir/ltmain.sh"
21484 # We use sed instead of cat because bash on DJGPP gets confused if
21485 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21486 # text mode, it properly converts lines to CR/LF. This bash problem
21487 # is reportedly fixed, but why not run on old versions too?
21488 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21489 || (rm -f "$cfgfile"; exit 1)
21493 cat << \_LT_EOF >> "$cfgfile"
21495 # func_dirname file append nondir_replacement
21496 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21497 # otherwise set result to NONDIR_REPLACEMENT.
21501 */*) func_dirname_result="${1%/*}${2}" ;;
21502 * ) func_dirname_result="${3}" ;;
21506 # func_basename file
21509 func_basename_result="${1##*/}"
21512 # func_dirname_and_basename file append nondir_replacement
21513 # perform func_basename and func_dirname in a single function
21515 # dirname: Compute the dirname of FILE. If nonempty,
21516 # add APPEND to the result, otherwise set result
21517 # to NONDIR_REPLACEMENT.
21518 # value returned in "$func_dirname_result"
21519 # basename: Compute filename of FILE.
21520 # value retuned in "$func_basename_result"
21521 # Implementation must be kept synchronized with func_dirname
21522 # and func_basename. For efficiency, we do not delegate to
21523 # those functions but instead duplicate the functionality here.
21524 func_dirname_and_basename ()
21527 */*) func_dirname_result="${1%/*}${2}" ;;
21528 * ) func_dirname_result="${3}" ;;
21530 func_basename_result="${1##*/}"
21533 # func_stripname prefix suffix name
21534 # strip PREFIX and SUFFIX off of NAME.
21535 # PREFIX and SUFFIX must not contain globbing or regex special
21536 # characters, hashes, percent signs, but SUFFIX may contain a leading
21537 # dot (in which case that matches only a dot).
21540 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21541 # positional parameters, so assign one to ordinary parameter first.
21542 func_stripname_result=${3}
21543 func_stripname_result=${func_stripname_result#"${1}"}
21544 func_stripname_result=${func_stripname_result%"${2}"}
21550 func_opt_split_opt=${1%%=*}
21551 func_opt_split_arg=${1#*=}
21558 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21559 *) func_lo2o_result=${1} ;;
21563 # func_xform libobj-or-source
21566 func_xform_result=${1%.*}.lo
21569 # func_arith arithmetic-term...
21572 func_arith_result=$(( $* ))
21576 # STRING may not start with a hyphen.
21579 func_len_result=${#1}
21584 *) # Bourne compatible functions.
21585 cat << \_LT_EOF >> "$cfgfile"
21587 # func_dirname file append nondir_replacement
21588 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21589 # otherwise set result to NONDIR_REPLACEMENT.
21592 # Extract subdirectory from the argument.
21593 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21594 if test "X$func_dirname_result" = "X${1}"; then
21595 func_dirname_result="${3}"
21597 func_dirname_result="$func_dirname_result${2}"
21601 # func_basename file
21604 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
21608 # func_stripname prefix suffix name
21609 # strip PREFIX and SUFFIX off of NAME.
21610 # PREFIX and SUFFIX must not contain globbing or regex special
21611 # characters, hashes, percent signs, but SUFFIX may contain a leading
21612 # dot (in which case that matches only a dot).
21613 # func_strip_suffix prefix name
21617 .*) func_stripname_result=`$ECHO "X${3}" \
21618 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21619 *) func_stripname_result=`$ECHO "X${3}" \
21620 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21625 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21626 my_sed_long_arg='1s/^-[^=]*=//'
21631 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21632 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21638 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21641 # func_xform libobj-or-source
21644 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21647 # func_arith arithmetic-term...
21650 func_arith_result=`expr "$@"`
21654 # STRING may not start with a hyphen.
21657 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21663 case $lt_shell_append in
21665 cat << \_LT_EOF >> "$cfgfile"
21667 # func_append var value
21668 # Append VALUE to the end of shell variable VAR.
21676 cat << \_LT_EOF >> "$cfgfile"
21678 # func_append var value
21679 # Append VALUE to the end of shell variable VAR.
21690 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21691 || (rm -f "$cfgfile"; exit 1)
21693 mv -f "$cfgfile" "$ofile" ||
21694 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21698 cat <<_LT_EOF >> "$ofile"
21700 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21702 # The linker used to build libraries.
21705 # Commands used to build an old-style archive.
21706 old_archive_cmds=$lt_old_archive_cmds_CXX
21708 # A language specific compiler.
21709 CC=$lt_compiler_CXX
21711 # Is the compiler the GNU compiler?
21714 # Compiler flag to turn off builtin functions.
21715 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21717 # How to pass a linker flag through the compiler.
21718 wl=$lt_lt_prog_compiler_wl_CXX
21720 # Additional compiler flags for building library objects.
21721 pic_flag=$lt_lt_prog_compiler_pic_CXX
21723 # Compiler flag to prevent dynamic linking.
21724 link_static_flag=$lt_lt_prog_compiler_static_CXX
21726 # Does compiler simultaneously support -c and -o options?
21727 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21729 # Whether or not to add -lc for building shared libraries.
21730 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21732 # Whether or not to disallow shared libs when runtime libs are static.
21733 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21735 # Compiler flag to allow reflexive dlopens.
21736 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21738 # Compiler flag to generate shared objects directly from archives.
21739 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21741 # Whether the compiler copes with passing no objects directly.
21742 compiler_needs_object=$lt_compiler_needs_object_CXX
21744 # Create an old-style archive from a shared archive.
21745 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21747 # Create a temporary old-style archive to link instead of a shared archive.
21748 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21750 # Commands used to build a shared archive.
21751 archive_cmds=$lt_archive_cmds_CXX
21752 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21754 # Commands used to build a loadable module if different from building
21755 # a shared archive.
21756 module_cmds=$lt_module_cmds_CXX
21757 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21759 # Whether we are building with GNU ld or not.
21760 with_gnu_ld=$lt_with_gnu_ld_CXX
21762 # Flag that allows shared libraries with undefined symbols to be built.
21763 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21765 # Flag that enforces no undefined symbols.
21766 no_undefined_flag=$lt_no_undefined_flag_CXX
21768 # Flag to hardcode \$libdir into a binary during linking.
21769 # This must work even if \$libdir does not exist
21770 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21772 # If ld is used when linking, flag to hardcode \$libdir into a binary
21773 # during linking. This must work even if \$libdir does not exist.
21774 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21776 # Whether we need a single "-rpath" flag with a separated argument.
21777 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21779 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21780 # DIR into the resulting binary.
21781 hardcode_direct=$hardcode_direct_CXX
21783 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21784 # DIR into the resulting binary and the resulting library dependency is
21785 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21786 # library is relocated.
21787 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21789 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21790 # into the resulting binary.
21791 hardcode_minus_L=$hardcode_minus_L_CXX
21793 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21794 # into the resulting binary.
21795 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21797 # Set to "yes" if building a shared library automatically hardcodes DIR
21798 # into the library and all subsequent libraries and executables linked
21800 hardcode_automatic=$hardcode_automatic_CXX
21802 # Set to yes if linker adds runtime paths of dependent libraries
21803 # to runtime path list.
21804 inherit_rpath=$inherit_rpath_CXX
21806 # Whether libtool must link a program against all its dependency libraries.
21807 link_all_deplibs=$link_all_deplibs_CXX
21809 # Fix the shell variable \$srcfile for the compiler.
21810 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21812 # Set to "yes" if exported symbols are required.
21813 always_export_symbols=$always_export_symbols_CXX
21815 # The commands to list exported symbols.
21816 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21818 # Symbols that should not be listed in the preloaded symbols.
21819 exclude_expsyms=$lt_exclude_expsyms_CXX
21821 # Symbols that must always be exported.
21822 include_expsyms=$lt_include_expsyms_CXX
21824 # Commands necessary for linking programs (against libraries) with templates.
21825 prelink_cmds=$lt_prelink_cmds_CXX
21827 # Specify filename containing input files.
21828 file_list_spec=$lt_file_list_spec_CXX
21830 # How to hardcode a shared library path into an executable.
21831 hardcode_action=$hardcode_action_CXX
21833 # The directories searched by this compiler when creating a shared library.
21834 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21836 # Dependencies to place before and after the objects being linked to
21837 # create a shared library.
21838 predep_objects=$lt_predep_objects_CXX
21839 postdep_objects=$lt_postdep_objects_CXX
21840 predeps=$lt_predeps_CXX
21841 postdeps=$lt_postdeps_CXX
21843 # The library search path used internally by the compiler when linking
21844 # a shared library.
21845 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21847 # ### END LIBTOOL TAG CONFIG: CXX
21851 "$ax_create_pkgconfig_generate":C)
21852 pkgconfig_generate="$ax_create_pkgconfig_generate"
21853 if test ! -f "$pkgconfig_generate.in"
21854 then generate="true"
21855 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21856 then generate="true"
21857 else generate="false";
21859 if $generate ; then
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21861 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21862 cat > $pkgconfig_generate.in <<AXEOF
21863 # generated by configure / remove this line to disable regeneration
21865 exec_prefix=@exec_prefix@
21868 datarootdir=@datarootdir@
21870 sysconfdir=@sysconfdir@
21871 includedir=@includedir@
21875 Name: @PACKAGE_NAME@
21876 Description: @PACKAGE_DESCRIPTION@
21877 Version: @PACKAGE_VERSION@
21878 Requires: @PACKAGE_REQUIRES@
21879 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21880 Cflags: -I\${includedir} @CPPFLAGS@
21882 fi # DONE generate $pkgconfig_generate.in
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21884 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21885 cat >conftest.sed <<AXEOF
21886 s|@prefix@|${pkgconfig_prefix}|
21887 s|@exec_prefix@|${pkgconfig_execprefix}|
21888 s|@bindir@|${pkgconfig_bindir}|
21889 s|@libdir@|${pkgconfig_libdir}|
21890 s|@datarootdir@|${pkgconfig_datarootdir}|
21891 s|@datadir@|${pkgconfig_datadir}|
21892 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21893 s|@includedir@|${pkgconfig_includedir}|
21894 s|@suffix@|${pkgconfig_suffix}|
21895 s|@PACKAGE@|${pkgconfig_package}|
21896 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21897 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21898 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21899 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21900 s|@LIBS@|${pkgconfig_libs}|
21901 s|@LDFLAGS@|${pkgconfig_ldflags}|
21902 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21904 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_generate
21905 if test ! -s $pkgconfig_generate ; then
21906 as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21907 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21908 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21910 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21911 cat >conftest.sed <<AXEOF
21912 s|@prefix@|${pkgconfig_prefix}|
21913 s|@exec_prefix@|${pkgconfig_execprefix}|
21914 s|@bindir@|${pkgconfig_bindir}|
21915 s|@libdir@|${pkgconfig_src_libdir}|
21916 s|@datarootdir@|${pkgconfig_datarootdir}|
21917 s|@datadir@|${pkgconfig_datadir}|
21918 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21919 s|@includedir@|${pkgconfig_src_headers}|
21920 s|@suffix@|${pkgconfig_suffix}|
21921 s|@PACKAGE@|${pkgconfig_package}|
21922 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21923 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21924 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21925 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21926 s|@LIBS@|${pkgconfig_libs}|
21927 s|@LDFLAGS@|${pkgconfig_ldflags}|
21928 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21930 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21931 if test ! -s $pkgconfig_uninstalled ; then
21932 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21933 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21934 pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21935 if test ".$pkgconfig_requires_add" != "." ; then
21936 pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21937 else pkgconfig_requires_add=":" ; fi
21938 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21940 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21941 cat >conftest.sed <<AXEOF
21942 s|@prefix@|\"${pkgconfig_prefix}\"|
21943 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
21944 s|@bindir@|\"${pkgconfig_bindir}\"|
21945 s|@libdir@|\"${pkgconfig_src_libdir}\"|
21946 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
21947 s|@datadir@|\"${pkgconfig_datadir}\"|
21948 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
21949 s|@includedir@|\"${pkgconfig_src_headers}\"|
21950 s|@suffix@|\"${pkgconfig_suffix}\"|
21951 s|@PACKAGE@|\"${pkgconfig_package}\"|
21952 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
21953 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
21954 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
21955 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
21956 s|@LIBS@|\"${pkgconfig_libs}\"|
21957 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
21958 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
21959 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21960 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21961 s>Version: *>\\;\\; --modversion|--version) echo >
21962 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21963 s>Libs: *>\\;\\; --libs) echo >
21964 s>Cflags: *>\\;\\; --cflags) echo >
21966 $pkgconfig_requires_add
21968 $pkgconfig_requires_add\\
21969 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21970 ;; --uninstalled) exit 0 \\
21973 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21974 if test ! -s $pkgconfig_uninstalled ; then
21975 as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21976 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21985 ac_clean_files=$ac_clean_files_save
21987 test $ac_write_fail = 0 ||
21988 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21991 # configure is writing to config.log, and then calls config.status.
21992 # config.status does its own redirection, appending to config.log.
21993 # Unfortunately, on DOS this fails, as config.log is still kept open
21994 # by configure, so config.status won't be able to write to it; its
21995 # output is simply discarded. So we exec the FD to /dev/null,
21996 # effectively closing config.log, so it can be properly (re)opened and
21997 # appended to by config.status. When coming back to configure, we
21998 # need to make the FD available again.
21999 if test "$no_create" != yes; then
22001 ac_config_status_args=
22002 test "$silent" = yes &&
22003 ac_config_status_args="$ac_config_status_args --quiet"
22005 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22007 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22008 # would make configure fail if this is the last instruction.
22009 $ac_cs_success || as_fn_exit 1
22011 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22013 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}