2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
706 ac_unique_file="src/sysync/engineinterface.cpp"
707 # Factoring default headers for most tests.
708 ac_includes_default="\
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
720 # ifdef HAVE_STDLIB_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
743 ac_subst_vars='am__EXEEXT_FALSE
829 INSTALL_STRIP_PROGRAM
871 program_transform_name
884 enable_option_checking
885 enable_dependency_tracking
898 enable_evolution_compatibility
902 ac_precious_vars='build_alias
930 # Initialize some variables set by options.
932 ac_init_version=false
933 ac_unrecognized_opts=
935 # The variables have the same names as the options, with
936 # dashes changed to underlines.
944 program_transform_name=s,x,x,
952 # Installation directory options.
953 # These are left unexpanded so users can "make install exec_prefix=/foo"
954 # and all the variables that are supposed to be based on exec_prefix
955 # by default will actually change.
956 # Use braces instead of parens because sh, perl, etc. also accept them.
957 # (The list follows the same order as the GNU Coding Standards.)
958 bindir='${exec_prefix}/bin'
959 sbindir='${exec_prefix}/sbin'
960 libexecdir='${exec_prefix}/libexec'
961 datarootdir='${prefix}/share'
962 datadir='${datarootdir}'
963 sysconfdir='${prefix}/etc'
964 sharedstatedir='${prefix}/com'
965 localstatedir='${prefix}/var'
966 includedir='${prefix}/include'
967 oldincludedir='/usr/include'
968 docdir='${datarootdir}/doc/${PACKAGE}'
969 infodir='${datarootdir}/info'
974 libdir='${exec_prefix}/lib'
975 localedir='${datarootdir}/locale'
976 mandir='${datarootdir}/man'
982 # If the previous option needs an argument, assign it.
983 if test -n "$ac_prev"; then
984 eval $ac_prev=\$ac_option
990 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
994 # Accept the important Cygnus configure options, so we can diagnose typos.
996 case $ac_dashdash$ac_option in
1000 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1002 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003 bindir=$ac_optarg ;;
1005 -build | --build | --buil | --bui | --bu)
1006 ac_prev=build_alias ;;
1007 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008 build_alias=$ac_optarg ;;
1010 -cache-file | --cache-file | --cache-fil | --cache-fi \
1011 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012 ac_prev=cache_file ;;
1013 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015 cache_file=$ac_optarg ;;
1017 --config-cache | -C)
1018 cache_file=config.cache ;;
1020 -datadir | --datadir | --datadi | --datad)
1022 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023 datadir=$ac_optarg ;;
1025 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026 | --dataroo | --dataro | --datar)
1027 ac_prev=datarootdir ;;
1028 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030 datarootdir=$ac_optarg ;;
1032 -disable-* | --disable-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error "invalid feature name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_$ac_useropt"
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1046 eval enable_$ac_useropt=no ;;
1048 -docdir | --docdir | --docdi | --doc | --do)
1050 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1051 docdir=$ac_optarg ;;
1053 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1055 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1056 dvidir=$ac_optarg ;;
1058 -enable-* | --enable-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error "invalid feature name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_$ac_useropt"
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval enable_$ac_useropt=\$ac_optarg ;;
1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076 | --exec | --exe | --ex)
1077 ac_prev=exec_prefix ;;
1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080 | --exec=* | --exe=* | --ex=*)
1081 exec_prefix=$ac_optarg ;;
1083 -gas | --gas | --ga | --g)
1084 # Obsolete; use --with-gas.
1087 -help | --help | --hel | --he | -h)
1088 ac_init_help=long ;;
1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090 ac_init_help=recursive ;;
1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092 ac_init_help=short ;;
1094 -host | --host | --hos | --ho)
1095 ac_prev=host_alias ;;
1096 -host=* | --host=* | --hos=* | --ho=*)
1097 host_alias=$ac_optarg ;;
1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1103 htmldir=$ac_optarg ;;
1105 -includedir | --includedir | --includedi | --included | --include \
1106 | --includ | --inclu | --incl | --inc)
1107 ac_prev=includedir ;;
1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109 | --includ=* | --inclu=* | --incl=* | --inc=*)
1110 includedir=$ac_optarg ;;
1112 -infodir | --infodir | --infodi | --infod | --info | --inf)
1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115 infodir=$ac_optarg ;;
1117 -libdir | --libdir | --libdi | --libd)
1119 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120 libdir=$ac_optarg ;;
1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123 | --libexe | --libex | --libe)
1124 ac_prev=libexecdir ;;
1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126 | --libexe=* | --libex=* | --libe=*)
1127 libexecdir=$ac_optarg ;;
1129 -localedir | --localedir | --localedi | --localed | --locale)
1130 ac_prev=localedir ;;
1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132 localedir=$ac_optarg ;;
1134 -localstatedir | --localstatedir | --localstatedi | --localstated \
1135 | --localstate | --localstat | --localsta | --localst | --locals)
1136 ac_prev=localstatedir ;;
1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139 localstatedir=$ac_optarg ;;
1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144 mandir=$ac_optarg ;;
1146 -nfp | --nfp | --nf)
1147 # Obsolete; use --without-fp.
1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151 | --no-cr | --no-c | -n)
1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160 | --oldin | --oldi | --old | --ol | --o)
1161 ac_prev=oldincludedir ;;
1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165 oldincludedir=$ac_optarg ;;
1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170 prefix=$ac_optarg ;;
1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173 | --program-pre | --program-pr | --program-p)
1174 ac_prev=program_prefix ;;
1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177 program_prefix=$ac_optarg ;;
1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180 | --program-suf | --program-su | --program-s)
1181 ac_prev=program_suffix ;;
1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184 program_suffix=$ac_optarg ;;
1186 -program-transform-name | --program-transform-name \
1187 | --program-transform-nam | --program-transform-na \
1188 | --program-transform-n | --program-transform- \
1189 | --program-transform | --program-transfor \
1190 | --program-transfo | --program-transf \
1191 | --program-trans | --program-tran \
1192 | --progr-tra | --program-tr | --program-t)
1193 ac_prev=program_transform_name ;;
1194 -program-transform-name=* | --program-transform-name=* \
1195 | --program-transform-nam=* | --program-transform-na=* \
1196 | --program-transform-n=* | --program-transform-=* \
1197 | --program-transform=* | --program-transfor=* \
1198 | --program-transfo=* | --program-transf=* \
1199 | --program-trans=* | --program-tran=* \
1200 | --progr-tra=* | --program-tr=* | --program-t=*)
1201 program_transform_name=$ac_optarg ;;
1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206 pdfdir=$ac_optarg ;;
1208 -psdir | --psdir | --psdi | --psd | --ps)
1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214 | -silent | --silent | --silen | --sile | --sil)
1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1221 sbindir=$ac_optarg ;;
1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225 | --sharedst | --shareds | --shared | --share | --shar \
1227 ac_prev=sharedstatedir ;;
1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1232 sharedstatedir=$ac_optarg ;;
1234 -site | --site | --sit)
1236 -site=* | --site=* | --sit=*)
1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242 srcdir=$ac_optarg ;;
1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245 | --syscon | --sysco | --sysc | --sys | --sy)
1246 ac_prev=sysconfdir ;;
1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249 sysconfdir=$ac_optarg ;;
1251 -target | --target | --targe | --targ | --tar | --ta | --t)
1252 ac_prev=target_alias ;;
1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254 target_alias=$ac_optarg ;;
1256 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259 -version | --version | --versio | --versi | --vers | -V)
1260 ac_init_version=: ;;
1263 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1276 eval with_$ac_useropt=\$ac_optarg ;;
1278 -without-* | --without-*)
1279 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282 as_fn_error "invalid package name: $ac_useropt"
1283 ac_useropt_orig=$ac_useropt
1284 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285 case $ac_user_opts in
1289 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290 ac_unrecognized_sep=', ';;
1292 eval with_$ac_useropt=no ;;
1295 # Obsolete; use --with-x.
1298 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1299 | --x-incl | --x-inc | --x-in | --x-i)
1300 ac_prev=x_includes ;;
1301 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1302 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1303 x_includes=$ac_optarg ;;
1305 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1306 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1307 ac_prev=x_libraries ;;
1308 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1309 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1310 x_libraries=$ac_optarg ;;
1312 -*) as_fn_error "unrecognized option: \`$ac_option'
1313 Try \`$0 --help' for more information."
1317 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1318 # Reject names that are not valid shell variable names.
1319 case $ac_envvar in #(
1320 '' | [0-9]* | *[!_$as_cr_alnum]* )
1321 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1323 eval $ac_envvar=\$ac_optarg
1324 export $ac_envvar ;;
1327 # FIXME: should be removed in autoconf 3.0.
1328 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1330 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1337 if test -n "$ac_prev"; then
1338 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1339 as_fn_error "missing argument to $ac_option"
1342 if test -n "$ac_unrecognized_opts"; then
1343 case $enable_option_checking in
1345 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1346 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1350 # Check all directory arguments for consistency.
1351 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352 datadir sysconfdir sharedstatedir localstatedir includedir \
1353 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354 libdir localedir mandir
1356 eval ac_val=\$$ac_var
1357 # Remove trailing slashes.
1360 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361 eval $ac_var=\$ac_val;;
1363 # Be sure to have absolute directory names.
1365 [\\/$]* | ?:[\\/]* ) continue;;
1366 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1368 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1371 # There might be people who depend on the old broken behavior: `$host'
1372 # used to hold the argument of --host etc.
1373 # FIXME: To remove some day.
1376 target=$target_alias
1378 # FIXME: To remove some day.
1379 if test "x$host_alias" != x; then
1380 if test "x$build_alias" = x; then
1381 cross_compiling=maybe
1382 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1383 If a cross compiler is detected then cross compile mode will be used." >&2
1384 elif test "x$build_alias" != "x$host_alias"; then
1390 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1392 test "$silent" = yes && exec 6>/dev/null
1395 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1396 ac_ls_di=`ls -di .` &&
1397 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1398 as_fn_error "working directory cannot be determined"
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 as_fn_error "pwd does not report name of working directory"
1403 # Find the source files, if location was not specified.
1404 if test -z "$srcdir"; then
1405 ac_srcdir_defaulted=yes
1406 # Try the directory containing this script, then the parent directory.
1407 ac_confdir=`$as_dirname -- "$as_myself" ||
1408 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409 X"$as_myself" : 'X\(//\)[^/]' \| \
1410 X"$as_myself" : 'X\(//\)$' \| \
1411 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1412 $as_echo X"$as_myself" |
1413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1435 ac_srcdir_defaulted=no
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1438 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1441 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1443 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1445 # When building in place, set srcdir=.
1446 if test "$ac_abs_confdir" = "$ac_pwd"; then
1449 # Remove unnecessary trailing slashes from srcdir.
1450 # Double slashes in file names in object file debugging info
1451 # mess up M-x gdb in Emacs.
1453 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1455 for ac_var in $ac_precious_vars; do
1456 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1457 eval ac_env_${ac_var}_value=\$${ac_var}
1458 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1459 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1463 # Report the --help message.
1465 if test "$ac_init_help" = "long"; then
1466 # Omit some internal or obsolete options to make the list less imposing.
1467 # This message is too long to be a string in the A/UX 3.1 sh.
1469 \`configure' configures this package to adapt to many kinds of systems.
1471 Usage: $0 [OPTION]... [VAR=VALUE]...
1473 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1474 VAR=VALUE. See below for descriptions of some of the useful variables.
1476 Defaults for the options are specified in brackets.
1479 -h, --help display this help and exit
1480 --help=short display options specific to this package
1481 --help=recursive display the short help of all the included packages
1482 -V, --version display version information and exit
1483 -q, --quiet, --silent do not print \`checking...' messages
1484 --cache-file=FILE cache test results in FILE [disabled]
1485 -C, --config-cache alias for \`--cache-file=config.cache'
1486 -n, --no-create do not create output files
1487 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1489 Installation directories:
1490 --prefix=PREFIX install architecture-independent files in PREFIX
1491 [$ac_default_prefix]
1492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1495 By default, \`make install' will install all the files in
1496 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1497 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1498 for instance \`--prefix=\$HOME'.
1500 For better control, use the options below.
1502 Fine tuning of the installation directories:
1503 --bindir=DIR user executables [EPREFIX/bin]
1504 --sbindir=DIR system admin executables [EPREFIX/sbin]
1505 --libexecdir=DIR program executables [EPREFIX/libexec]
1506 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1507 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1508 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1509 --libdir=DIR object code libraries [EPREFIX/lib]
1510 --includedir=DIR C header files [PREFIX/include]
1511 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 --infodir=DIR info documentation [DATAROOTDIR/info]
1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 --mandir=DIR man documentation [DATAROOTDIR/man]
1517 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1518 --htmldir=DIR html documentation [DOCDIR]
1519 --dvidir=DIR dvi documentation [DOCDIR]
1520 --pdfdir=DIR pdf documentation [DOCDIR]
1521 --psdir=DIR ps documentation [DOCDIR]
1527 --program-prefix=PREFIX prepend PREFIX to installed program names
1528 --program-suffix=SUFFIX append SUFFIX to installed program names
1529 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1532 --build=BUILD configure for building on BUILD [guessed]
1533 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1537 if test -n "$ac_init_help"; then
1542 --disable-option-checking ignore unrecognized --enable/--with options
1543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1545 --disable-dependency-tracking speeds up one-time build
1546 --enable-dependency-tracking do not reject slow dependency extractors
1547 --enable-shared[=PKGS] build shared libraries [default=yes]
1548 --enable-static[=PKGS] build static libraries [default=yes]
1549 --enable-fast-install[=PKGS]
1550 optimize for fast installation [default=yes]
1551 --disable-libtool-lock avoid locking (might break parallel builds)
1552 --enable-warnings=[min|max|fatal|no]
1553 control compiler pickyness [min]
1554 --enable-debug-logs For developers: add links to call location to HTML
1555 log files. Depends on Doxygen (for HTML version of
1556 source) and g++ (for __PRETTY_FUNCTION__).
1557 --enable-sqlite enable the sqlite-based ODBC backend, depends on
1558 libsqlite3, enabled by default
1559 --enable-regex enable regular expression support in scripts,
1560 depends on libpcre, enabled by default
1561 --enable-dlt enable logging mode "dlt" = GENIVI Diagnostic Log
1563 --enable-libical use libical (if necessary, the one in libecal) to
1564 improve time zone support, enabled by default if
1565 necessary libs are found
1566 --enable-evolution-compatibility
1567 build executables which only call Evolution via
1568 dlopen/dlsym: this avoids all hard dependencies on
1569 EDS shared objects, but might lead to crashes when
1573 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1574 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1575 --with-pic try to use only PIC/non-PIC objects [default=use
1577 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1578 --with-xmltok=<builtin|system|path>
1579 Chooses which xmltok/xmlparse gets used. "builtin" =
1580 compile code into libsynthesis. "system" = use
1581 header files and libxmlparse from standard search
1582 paths. "path" = use header files in "path/include"
1583 and libxmlparse in "path/lib". Default is system if
1584 header files are found, otherwise builtin.
1585 --with-expat=<system|path>
1586 Choose expat as the XML parser library. Replaces
1587 --with-xmltok. "system" = use header files and
1588 libexpat from standard search paths. "path" = use
1589 header files in "path/include", and libexpat in
1592 Some influential environment variables:
1593 CXX C++ compiler command
1594 CXXFLAGS C++ compiler flags
1595 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1596 nonstandard directory <lib dir>
1597 LIBS libraries to pass to the linker, e.g. -l<library>
1598 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1599 you have headers in a nonstandard directory <include dir>
1600 CC C compiler command
1601 CFLAGS C compiler flags
1603 CXXCPP C++ preprocessor
1604 PKG_CONFIG path to pkg-config utility
1606 C compiler flags for FOOBAR, overriding pkg-config
1607 FOOBAR_LIBS linker flags for FOOBAR, overriding pkg-config
1609 C compiler flags for SQLITE3, overriding pkg-config
1611 linker flags for SQLITE3, overriding pkg-config
1612 PCRE_CFLAGS C compiler flags for PCRE, overriding pkg-config
1613 PCRE_LIBS linker flags for PCRE, overriding pkg-config
1614 DLT_CFLAGS C compiler flags for DLT, overriding pkg-config
1615 DLT_LIBS linker flags for DLT, overriding pkg-config
1617 C compiler flags for LIBICAL, overriding pkg-config
1619 linker flags for LIBICAL, overriding pkg-config
1621 C compiler flags for LIBECAL, overriding pkg-config
1623 linker flags for LIBECAL, overriding pkg-config
1625 Use these variables to override the choices made by `configure' or to help
1626 it to find libraries and programs with nonstandard names/locations.
1628 Report bugs to the package provider.
1633 if test "$ac_init_help" = "recursive"; then
1634 # If there are subdirs, report their specific --help.
1635 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1636 test -d "$ac_dir" ||
1637 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1644 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1645 # A ".." for each directory in $ac_dir_suffix.
1646 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1647 case $ac_top_builddir_sub in
1648 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1652 ac_abs_top_builddir=$ac_pwd
1653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1654 # for backward compatibility:
1655 ac_top_builddir=$ac_top_build_prefix
1658 .) # We are building in place.
1660 ac_top_srcdir=$ac_top_builddir_sub
1661 ac_abs_top_srcdir=$ac_pwd ;;
1662 [\\/]* | ?:[\\/]* ) # Absolute name.
1663 ac_srcdir=$srcdir$ac_dir_suffix;
1664 ac_top_srcdir=$srcdir
1665 ac_abs_top_srcdir=$srcdir ;;
1667 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1668 ac_top_srcdir=$ac_top_build_prefix$srcdir
1669 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1673 cd "$ac_dir" || { ac_status=$?; continue; }
1674 # Check for guested configure.
1675 if test -f "$ac_srcdir/configure.gnu"; then
1677 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1678 elif test -f "$ac_srcdir/configure"; then
1680 $SHELL "$ac_srcdir/configure" --help=recursive
1682 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1684 cd "$ac_pwd" || { ac_status=$?; break; }
1688 test -n "$ac_init_help" && exit $ac_status
1689 if $ac_init_version; then
1692 generated by GNU Autoconf 2.65
1694 Copyright (C) 2009 Free Software Foundation, Inc.
1695 This configure script is free software; the Free Software Foundation
1696 gives unlimited permission to copy, distribute and modify it.
1701 ## ------------------------ ##
1702 ## Autoconf initialization. ##
1703 ## ------------------------ ##
1705 # ac_fn_cxx_try_compile LINENO
1706 # ----------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_cxx_try_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext
1712 if { { ac_try="$ac_compile"
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_cxx_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.$ac_objext; then :
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 as_fn_set_status $ac_retval
1741 } # ac_fn_cxx_try_compile
1743 # ac_fn_c_try_compile LINENO
1744 # --------------------------
1745 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1746 ac_fn_c_try_compile ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 rm -f conftest.$ac_objext
1750 if { { ac_try="$ac_compile"
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_compile") 2>conftest.err
1759 if test -s conftest.err; then
1760 grep -v '^ *+' conftest.err >conftest.er1
1761 cat conftest.er1 >&5
1762 mv -f conftest.er1 conftest.err
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest.$ac_objext; then :
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5
1776 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777 as_fn_set_status $ac_retval
1779 } # ac_fn_c_try_compile
1781 # ac_fn_c_try_link LINENO
1782 # -----------------------
1783 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 rm -f conftest.$ac_objext conftest$ac_exeext
1788 if { { ac_try="$ac_link"
1790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_link") 2>conftest.err
1797 if test -s conftest.err; then
1798 grep -v '^ *+' conftest.err >conftest.er1
1799 cat conftest.er1 >&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } && {
1804 test -z "$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1806 } && test -s conftest$ac_exeext && {
1807 test "$cross_compiling" = yes ||
1808 $as_test_x conftest$ac_exeext
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1817 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1818 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1819 # interfere with the next link command; also delete a directory that is
1820 # left behind by Apple's compiler. We do this before executing the actions.
1821 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 as_fn_set_status $ac_retval
1825 } # ac_fn_c_try_link
1827 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1828 # -------------------------------------------------------
1829 # Tests whether HEADER exists and can be compiled using the include files in
1830 # INCLUDES, setting the cache variable VAR accordingly.
1831 ac_fn_c_check_header_compile ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1837 $as_echo_n "(cached) " >&6
1839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1844 if ac_fn_c_try_compile "$LINENO"; then :
1849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1854 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 } # ac_fn_c_check_header_compile
1858 # ac_fn_c_try_cpp LINENO
1859 # ----------------------
1860 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if { { ac_try="$ac_cpp conftest.$ac_ext"
1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1873 if test -s conftest.err; then
1874 grep -v '^ *+' conftest.err >conftest.er1
1875 cat conftest.er1 >&5
1876 mv -f conftest.er1 conftest.err
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; } >/dev/null && {
1880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1881 test ! -s conftest.err
1885 $as_echo "$as_me: failed program was:" >&5
1886 sed 's/^/| /' conftest.$ac_ext >&5
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 as_fn_set_status $ac_retval
1895 # ac_fn_c_try_run LINENO
1896 # ----------------------
1897 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1898 # that executables *can* be run.
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 if { { ac_try="$ac_link"
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_link") 2>&5
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1913 { { case "(($ac_try" in
1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_try") 2>&5
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; }; }; then :
1925 $as_echo "$as_me: program exited with status $ac_status" >&5
1926 $as_echo "$as_me: failed program was:" >&5
1927 sed 's/^/| /' conftest.$ac_ext >&5
1929 ac_retval=$ac_status
1931 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933 as_fn_set_status $ac_retval
1937 # ac_fn_c_check_func LINENO FUNC VAR
1938 # ----------------------------------
1939 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1940 ac_fn_c_check_func ()
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 $as_echo_n "checking for $2... " >&6; }
1945 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1946 $as_echo_n "(cached) " >&6
1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1950 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1952 #define $2 innocuous_$2
1954 /* System header to define __stub macros and hopefully few prototypes,
1955 which can conflict with char $2 (); below.
1956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1957 <limits.h> exists even on freestanding compilers. */
1960 # include <limits.h>
1962 # include <assert.h>
1967 /* Override any GCC internal prototype to avoid an error.
1968 Use char because int might match the return type of a GCC
1969 builtin and then its argument prototype would still apply. */
1974 /* The GNU C library defines this for functions which it implements
1975 to always fail with ENOSYS. Some functions are actually named
1976 something starting with __ and the normal name is an alias. */
1977 #if defined __stub_$2 || defined __stub___$2
1989 if ac_fn_c_try_link "$LINENO"; then :
1994 rm -f core conftest.err conftest.$ac_objext \
1995 conftest$ac_exeext conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2000 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2002 } # ac_fn_c_check_func
2004 # ac_fn_cxx_try_cpp LINENO
2005 # ------------------------
2006 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2007 ac_fn_cxx_try_cpp ()
2009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 if { { ac_try="$ac_cpp conftest.$ac_ext"
2012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2019 if test -s conftest.err; then
2020 grep -v '^ *+' conftest.err >conftest.er1
2021 cat conftest.er1 >&5
2022 mv -f conftest.er1 conftest.err
2024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025 test $ac_status = 0; } >/dev/null && {
2026 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2027 test ! -s conftest.err
2031 $as_echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.$ac_ext >&5
2036 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2037 as_fn_set_status $ac_retval
2039 } # ac_fn_cxx_try_cpp
2041 # ac_fn_cxx_try_link LINENO
2042 # -------------------------
2043 # Try to link conftest.$ac_ext, and return whether this succeeded.
2044 ac_fn_cxx_try_link ()
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 rm -f conftest.$ac_objext conftest$ac_exeext
2048 if { { ac_try="$ac_link"
2050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2051 *) ac_try_echo=$ac_try;;
2053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054 $as_echo "$ac_try_echo"; } >&5
2055 (eval "$ac_link") 2>conftest.err
2057 if test -s conftest.err; then
2058 grep -v '^ *+' conftest.err >conftest.er1
2059 cat conftest.er1 >&5
2060 mv -f conftest.er1 conftest.err
2062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2063 test $ac_status = 0; } && {
2064 test -z "$ac_cxx_werror_flag" ||
2065 test ! -s conftest.err
2066 } && test -s conftest$ac_exeext && {
2067 test "$cross_compiling" = yes ||
2068 $as_test_x conftest$ac_exeext
2072 $as_echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.$ac_ext >&5
2077 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2078 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2079 # interfere with the next link command; also delete a directory that is
2080 # left behind by Apple's compiler. We do this before executing the actions.
2081 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2082 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2083 as_fn_set_status $ac_retval
2085 } # ac_fn_cxx_try_link
2087 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2088 # -------------------------------------------------------
2089 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2090 # the include files in INCLUDES and setting the cache variable VAR
2092 ac_fn_c_check_header_mongrel ()
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097 $as_echo_n "checking for $2... " >&6; }
2098 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2099 $as_echo_n "(cached) " >&6
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2105 # Is the header compilable?
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2107 $as_echo_n "checking $2 usability... " >&6; }
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2113 if ac_fn_c_try_compile "$LINENO"; then :
2114 ac_header_compiler=yes
2116 ac_header_compiler=no
2118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2120 $as_echo "$ac_header_compiler" >&6; }
2122 # Is the header present?
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2124 $as_echo_n "checking $2 presence... " >&6; }
2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2129 if ac_fn_c_try_cpp "$LINENO"; then :
2130 ac_header_preproc=yes
2132 ac_header_preproc=no
2134 rm -f conftest.err conftest.$ac_ext
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2136 $as_echo "$ac_header_preproc" >&6; }
2138 # So? What about this header?
2139 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2142 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2144 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2148 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2150 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2152 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2154 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160 $as_echo_n "checking for $2... " >&6; }
2161 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2162 $as_echo_n "(cached) " >&6
2164 eval "$3=\$ac_header_compiler"
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2170 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2172 } # ac_fn_c_check_header_mongrel
2173 cat >config.log <<_ACEOF
2174 This file contains any messages produced by compilers while
2175 running configure, to aid debugging if configure makes a mistake.
2177 It was created by $as_me, which was
2178 generated by GNU Autoconf 2.65. Invocation command line was
2190 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2191 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2192 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2193 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2194 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2196 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2197 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2199 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2200 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2201 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2202 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2203 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2204 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2205 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir=.
2214 $as_echo "PATH: $as_dir"
2230 # Keep a trace of the command line.
2231 # Strip out --no-create and --no-recursion so they do not pile up.
2232 # Strip out --silent because we don't want to record it for future runs.
2233 # Also quote any args containing shell meta-characters.
2234 # Make two passes to allow for proper duplicate-argument suppression.
2238 ac_must_keep_next=false
2244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2246 | -silent | --silent | --silen | --sile | --sil)
2249 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2254 as_fn_append ac_configure_args1 " '$ac_arg'"
2255 if test $ac_must_keep_next = true; then
2256 ac_must_keep_next=false # Got value, back to normal.
2259 *=* | --config-cache | -C | -disable-* | --disable-* \
2260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2262 | -with-* | --with-* | -without-* | --without-* | --x)
2263 case "$ac_configure_args0 " in
2264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2267 -* ) ac_must_keep_next=true ;;
2270 as_fn_append ac_configure_args " '$ac_arg'"
2275 { ac_configure_args0=; unset ac_configure_args0;}
2276 { ac_configure_args1=; unset ac_configure_args1;}
2278 # When interrupted or exit'd, cleanup temporary files, and complete
2279 # config.log. We remove comments because anyway the quotes in there
2280 # would cause problems or look ugly.
2281 # WARNING: Use '\'' to represent an apostrophe within the trap.
2282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2283 trap 'exit_status=$?
2284 # Save into config.log some information that might help in debugging.
2289 ## ---------------- ##
2290 ## Cache variables. ##
2291 ## ---------------- ##
2294 # The following way of writing the cache mishandles newlines in values,
2296 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2297 eval ac_val=\$$ac_var
2301 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2302 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2305 _ | IFS | as_nl) ;; #(
2306 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2307 *) { eval $ac_var=; unset $ac_var;} ;;
2312 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2313 *${as_nl}ac_space=\ *)
2315 "s/'\''/'\''\\\\'\'''\''/g;
2316 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2319 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2327 ## ----------------- ##
2328 ## Output variables. ##
2329 ## ----------------- ##
2332 for ac_var in $ac_subst_vars
2334 eval ac_val=\$$ac_var
2336 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2338 $as_echo "$ac_var='\''$ac_val'\''"
2342 if test -n "$ac_subst_files"; then
2344 ## ------------------- ##
2345 ## File substitutions. ##
2346 ## ------------------- ##
2349 for ac_var in $ac_subst_files
2351 eval ac_val=\$$ac_var
2353 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355 $as_echo "$ac_var='\''$ac_val'\''"
2360 if test -s confdefs.h; then
2370 test "$ac_signal" != 0 &&
2371 $as_echo "$as_me: caught signal $ac_signal"
2372 $as_echo "$as_me: exit $exit_status"
2374 rm -f core *.core core.conftest.* &&
2375 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2378 for ac_signal in 1 2 13 15; do
2379 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2383 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2384 rm -f -r conftest* confdefs.h
2386 $as_echo "/* confdefs.h */" > confdefs.h
2388 # Predefined preprocessor variables.
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_NAME "$PACKAGE_NAME"
2394 cat >>confdefs.h <<_ACEOF
2395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2398 cat >>confdefs.h <<_ACEOF
2399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2402 cat >>confdefs.h <<_ACEOF
2403 #define PACKAGE_STRING "$PACKAGE_STRING"
2406 cat >>confdefs.h <<_ACEOF
2407 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2410 cat >>confdefs.h <<_ACEOF
2411 #define PACKAGE_URL "$PACKAGE_URL"
2415 # Let the site file select an alternate cache file if it wants to.
2416 # Prefer an explicitly selected file to automatically selected ones.
2419 if test -n "$CONFIG_SITE"; then
2420 ac_site_file1=$CONFIG_SITE
2421 elif test "x$prefix" != xNONE; then
2422 ac_site_file1=$prefix/share/config.site
2423 ac_site_file2=$prefix/etc/config.site
2425 ac_site_file1=$ac_default_prefix/share/config.site
2426 ac_site_file2=$ac_default_prefix/etc/config.site
2428 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2430 test "x$ac_site_file" = xNONE && continue
2431 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2433 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2434 sed 's/^/| /' "$ac_site_file" >&5
2439 if test -r "$cache_file"; then
2440 # Some versions of bash will fail to source /dev/null (special files
2441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2442 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2444 $as_echo "$as_me: loading cache $cache_file" >&6;}
2446 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2447 *) . "./$cache_file";;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2452 $as_echo "$as_me: creating cache $cache_file" >&6;}
2456 # Check that the precious variables saved in the cache have kept the same
2458 ac_cache_corrupted=false
2459 for ac_var in $ac_precious_vars; do
2460 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2461 eval ac_new_set=\$ac_env_${ac_var}_set
2462 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2463 eval ac_new_val=\$ac_env_${ac_var}_value
2464 case $ac_old_set,$ac_new_set in
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2467 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2468 ac_cache_corrupted=: ;;
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2471 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2472 ac_cache_corrupted=: ;;
2475 if test "x$ac_old_val" != "x$ac_new_val"; then
2476 # differences in whitespace do not lead to failure.
2477 ac_old_val_w=`echo x $ac_old_val`
2478 ac_new_val_w=`echo x $ac_new_val`
2479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2482 ac_cache_corrupted=:
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2486 eval $ac_var=\$ac_old_val
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2489 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2491 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2494 # Pass precious variables to config.status.
2495 if test "$ac_new_set" = set; then
2497 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2498 *) ac_arg=$ac_var=$ac_new_val ;;
2500 case " $ac_configure_args " in
2501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2502 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2506 if $ac_cache_corrupted; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2511 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2513 ## -------------------- ##
2514 ## Main body of script. ##
2515 ## -------------------- ##
2518 ac_cpp='$CPP $CPPFLAGS'
2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2525 # four digit upstream version, one additional digit for
2526 # Linux/SyncEvolution specific extensions:
2527 am__api_version='1.11'
2530 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2531 for ac_t in install-sh install.sh shtool; do
2532 if test -f "$ac_dir/$ac_t"; then
2534 ac_install_sh="$ac_aux_dir/$ac_t -c"
2539 if test -z "$ac_aux_dir"; then
2540 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2552 # Find a good install program. We prefer a C program (faster),
2553 # so one script is as good as another. But avoid the broken or
2554 # incompatible versions:
2555 # SysV /etc/install, /usr/sbin/install
2556 # SunOS /usr/etc/install
2557 # IRIX /sbin/install
2559 # AmigaOS /C/install, which installs bootblocks on floppy discs
2560 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2561 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2562 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2563 # OS/2's system install, which has a completely different semantic
2564 # ./install, which can be erroneously created by make from ./install.sh.
2565 # Reject install programs that cannot install multiple files.
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2567 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2568 if test -z "$INSTALL"; then
2569 if test "${ac_cv_path_install+set}" = set; then :
2570 $as_echo_n "(cached) " >&6
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir=.
2577 # Account for people who put trailing slashes in PATH elements.
2578 case $as_dir/ in #((
2579 ./ | .// | /[cC]/* | \
2580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2581 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2584 # OSF1 and SCO ODT 3.0 have their own names for install.
2585 # Don't use installbsd from OSF since it installs stuff as root
2587 for ac_prog in ginstall scoinst install; do
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2590 if test $ac_prog = install &&
2591 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2592 # AIX install. It has an incompatible calling convention.
2594 elif test $ac_prog = install &&
2595 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2596 # program-specific install script used by HP pwplus--don't use.
2599 rm -rf conftest.one conftest.two conftest.dir
2600 echo one > conftest.one
2601 echo two > conftest.two
2603 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2604 test -s conftest.one && test -s conftest.two &&
2605 test -s conftest.dir/conftest.one &&
2606 test -s conftest.dir/conftest.two
2608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2621 rm -rf conftest.one conftest.two conftest.dir
2624 if test "${ac_cv_path_install+set}" = set; then
2625 INSTALL=$ac_cv_path_install
2627 # As a last resort, use the slow shell script. Don't cache a
2628 # value for INSTALL within a source directory, because that will
2629 # break other packages using the cache if that directory is
2630 # removed, or if the value is a relative name.
2631 INSTALL=$ac_install_sh
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2635 $as_echo "$INSTALL" >&6; }
2637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2638 # It thinks the first close brace ends the variable substitution.
2639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2646 $as_echo_n "checking whether build environment is sane... " >&6; }
2649 echo timestamp > conftest.file
2650 # Reject unsafe characters in $srcdir or the absolute working directory
2651 # name. Accept space and tab only in the latter.
2655 *[\\\"\#\$\&\'\`$am_lf]*)
2656 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2659 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2660 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2663 # Do `set' in a subshell so we don't clobber the current shell's
2664 # arguments. Must try -L first in case configure is actually a
2665 # symlink; some systems play weird games with the mod time of symlinks
2666 # (eg FreeBSD returns the mod time of the symlink's containing
2669 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2670 if test "$*" = "X"; then
2672 set X `ls -t "$srcdir/configure" conftest.file`
2675 if test "$*" != "X $srcdir/configure conftest.file" \
2676 && test "$*" != "X conftest.file $srcdir/configure"; then
2678 # If neither matched, then we have a broken ls. This can happen
2679 # if, for instance, CONFIG_SHELL is bash and it inherits a
2680 # broken ls alias from the environment. This has actually
2681 # happened. Such a system could not be considered "sane".
2682 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2683 alias in your environment" "$LINENO" 5
2686 test "$2" = conftest.file
2692 as_fn_error "newly created file is older than distributed files!
2693 Check your system clock" "$LINENO" 5
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2696 $as_echo "yes" >&6; }
2697 test "$program_prefix" != NONE &&
2698 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2699 # Use a double $ so make ignores it.
2700 test "$program_suffix" != NONE &&
2701 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2702 # Double any \ or $.
2703 # By default was `s,x,x', remove it if useless.
2704 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2705 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2707 # expand $ac_aux_dir to an absolute path
2708 am_aux_dir=`cd $ac_aux_dir && pwd`
2710 if test x"${MISSING+set}" != xset; then
2713 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2715 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2718 # Use eval to expand $SHELL
2719 if eval "$MISSING --run true"; then
2720 am_missing_run="$MISSING --run "
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2724 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2727 if test x"${install_sh}" != xset; then
2730 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2732 install_sh="\${SHELL} $am_aux_dir/install-sh"
2736 # Installed binaries are usually stripped using `strip' when the user
2737 # run `make install-strip'. However `strip' might not be the right
2738 # tool to use in cross-compilation environments, therefore Automake
2739 # will honor the `STRIP' environment variable to overrule this program.
2740 if test "$cross_compiling" != no; then
2741 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2743 set dummy ${ac_tool_prefix}strip; ac_word=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if test "${ac_cv_prog_STRIP+set}" = set; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$STRIP"; then
2750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 STRIP=$ac_cv_prog_STRIP
2770 if test -n "$STRIP"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2772 $as_echo "$STRIP" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2780 if test -z "$ac_cv_prog_STRIP"; then
2782 # Extract the first word of "strip", so it can be a program name with args.
2783 set dummy strip; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$ac_ct_STRIP"; then
2790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_ac_ct_STRIP="strip"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2810 if test -n "$ac_ct_STRIP"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2812 $as_echo "$ac_ct_STRIP" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2818 if test "x$ac_ct_STRIP" = x; then
2821 case $cross_compiling:$ac_tool_warned in
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825 ac_tool_warned=yes ;;
2830 STRIP="$ac_cv_prog_STRIP"
2834 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2837 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2838 if test -z "$MKDIR_P"; then
2839 if test "${ac_cv_path_mkdir+set}" = set; then :
2840 $as_echo_n "(cached) " >&6
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2846 test -z "$as_dir" && as_dir=.
2847 for ac_prog in mkdir gmkdir; do
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2850 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2851 'mkdir (GNU coreutils) '* | \
2852 'mkdir (coreutils) '* | \
2853 'mkdir (fileutils) '4.1*)
2854 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2864 test -d ./--version && rmdir ./--version
2865 if test "${ac_cv_path_mkdir+set}" = set; then
2866 MKDIR_P="$ac_cv_path_mkdir -p"
2868 # As a last resort, use the slow shell script. Don't cache a
2869 # value for MKDIR_P within a source directory, because that will
2870 # break other packages using the cache if that directory is
2871 # removed, or if the value is a relative name.
2872 MKDIR_P="$ac_install_sh -d"
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2876 $as_echo "$MKDIR_P" >&6; }
2880 [\\/$]* | ?:[\\/]*) ;;
2881 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2884 for ac_prog in gawk mawk nawk awk
2886 # Extract the first word of "$ac_prog", so it can be a program name with args.
2887 set dummy $ac_prog; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if test "${ac_cv_prog_AWK+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$AWK"; then
2894 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903 ac_cv_prog_AWK="$ac_prog"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 if test -n "$AWK"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2916 $as_echo "$AWK" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2923 test -n "$AWK" && break
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2927 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2929 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2930 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2931 $as_echo_n "(cached) " >&6
2933 cat >conftest.make <<\_ACEOF
2936 @echo '@@@%%%=$(MAKE)=@@@%%%'
2938 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2939 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2941 eval ac_cv_prog_make_${ac_make}_set=yes;;
2943 eval ac_cv_prog_make_${ac_make}_set=no;;
2947 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2949 $as_echo "yes" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2954 SET_MAKE="MAKE=${MAKE-make}"
2957 rm -rf .tst 2>/dev/null
2958 mkdir .tst 2>/dev/null
2959 if test -d .tst; then
2964 rmdir .tst 2>/dev/null
2966 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2967 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2968 # is not polluted with repeated "-I."
2969 am__isrc=' -I$(srcdir)'
2970 # test to see if srcdir already configured
2971 if test -f $srcdir/config.status; then
2972 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2976 # test whether we have cygpath
2977 if test -z "$CYGPATH_W"; then
2978 if (cygpath --version) >/dev/null 2>/dev/null; then
2979 CYGPATH_W='cygpath -w'
2986 # Define the identity of the package.
2991 cat >>confdefs.h <<_ACEOF
2992 #define PACKAGE "$PACKAGE"
2996 cat >>confdefs.h <<_ACEOF
2997 #define VERSION "$VERSION"
3000 # Some tools Automake needs.
3002 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3005 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3008 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3011 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3014 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3016 # We need awk for the "check" target. The system "awk" is bad on
3018 # Always define AMTAR for backward compatibility.
3020 AMTAR=${AMTAR-"${am_missing_run}tar"}
3022 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3028 ac_config_headers="$ac_config_headers config.h"
3036 ac_cpp='$CXXCPP $CPPFLAGS'
3037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3040 if test -z "$CXX"; then
3041 if test -n "$CCC"; then
3044 if test -n "$ac_tool_prefix"; then
3045 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if test "${ac_cv_prog_CXX+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$CXX"; then
3055 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 if test -n "$CXX"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3077 $as_echo "$CXX" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3084 test -n "$CXX" && break
3087 if test -z "$CXX"; then
3089 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3091 # Extract the first word of "$ac_prog", so it can be a program name with args.
3092 set dummy $ac_prog; ac_word=$2
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3094 $as_echo_n "checking for $ac_word... " >&6; }
3095 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3096 $as_echo_n "(cached) " >&6
3098 if test -n "$ac_ct_CXX"; then
3099 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 test -z "$as_dir" && as_dir=.
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3108 ac_cv_prog_ac_ct_CXX="$ac_prog"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3119 if test -n "$ac_ct_CXX"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3121 $as_echo "$ac_ct_CXX" >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 $as_echo "no" >&6; }
3128 test -n "$ac_ct_CXX" && break
3131 if test "x$ac_ct_CXX" = x; then
3134 case $cross_compiling:$ac_tool_warned in
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138 ac_tool_warned=yes ;;
3146 # Provide some information about the compiler.
3147 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3150 for ac_option in --version -v -V -qversion; do
3151 { { ac_try="$ac_compiler $ac_option >&5"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3160 if test -s conftest.err; then
3162 ... rest of stderr output deleted ...
3163 10q' conftest.err >conftest.er1
3164 cat conftest.er1 >&5
3166 rm -f conftest.er1 conftest.err
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 ac_clean_files_save=$ac_clean_files
3183 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3184 # Try to create an executable without -o first, disregard a.out.
3185 # It will help us diagnose broken compilers, and finding out an intuition
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3188 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3189 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3191 # The possible output files:
3192 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3195 for ac_file in $ac_files
3198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3199 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3204 if { { ac_try="$ac_link_default"
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_link_default") 2>&5
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }; then :
3215 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3216 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3217 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3218 # so that the user can short-circuit this test for compilers unknown to
3220 for ac_file in $ac_files ''
3222 test -f "$ac_file" || continue
3224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3227 # We found the default executable, but exeext='' is most
3231 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3233 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3235 # We set ac_cv_exeext here because the later test for it is not
3236 # safe: cross compilers may not add the suffix if given an `-o'
3237 # argument, so we may need to know it at that point already.
3238 # Even if this section looks crufty: it has the advantage of
3245 test "$ac_cv_exeext" = no && ac_cv_exeext=
3250 if test -z "$ac_file"; then :
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 $as_echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 { as_fn_set_status 77
3259 as_fn_error "C++ compiler cannot create executables
3260 See \`config.log' for more details." "$LINENO" 5; }; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263 $as_echo "yes" >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3266 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3268 $as_echo "$ac_file" >&6; }
3269 ac_exeext=$ac_cv_exeext
3271 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3272 ac_clean_files=$ac_clean_files_save
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3274 $as_echo_n "checking for suffix of executables... " >&6; }
3275 if { { ac_try="$ac_link"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_link") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; then :
3286 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3287 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3288 # work properly (i.e., refer to `conftest.exe'), while it won't with
3290 for ac_file in conftest.exe conftest conftest.*; do
3291 test -f "$ac_file" || continue
3293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3294 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error "cannot compute suffix of executables: cannot compile and link
3303 See \`config.log' for more details." "$LINENO" 5; }
3305 rm -f conftest conftest$ac_cv_exeext
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3307 $as_echo "$ac_cv_exeext" >&6; }
3309 rm -f conftest.$ac_ext
3310 EXEEXT=$ac_cv_exeext
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3318 FILE *f = fopen ("conftest.out", "w");
3319 return ferror (f) || fclose (f) != 0;
3325 ac_clean_files="$ac_clean_files conftest.out"
3326 # Check that the compiler produces executables we can run. If not, either
3327 # the compiler is broken, or we cross compile.
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3329 $as_echo_n "checking whether we are cross compiling... " >&6; }
3330 if test "$cross_compiling" != yes; then
3331 { { ac_try="$ac_link"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338 (eval "$ac_link") 2>&5
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }
3342 if { ac_try='./conftest$ac_cv_exeext'
3343 { { case "(($ac_try" in
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3348 $as_echo "$ac_try_echo"; } >&5
3349 (eval "$ac_try") 2>&5
3351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3352 test $ac_status = 0; }; }; then
3355 if test "$cross_compiling" = maybe; then
3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error "cannot run C++ compiled programs.
3361 If you meant to cross compile, use \`--host'.
3362 See \`config.log' for more details." "$LINENO" 5; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3367 $as_echo "$cross_compiling" >&6; }
3369 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3370 ac_clean_files=$ac_clean_files_save
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3372 $as_echo_n "checking for suffix of object files... " >&6; }
3373 if test "${ac_cv_objext+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3387 rm -f conftest.o conftest.obj
3388 if { { ac_try="$ac_compile"
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_compile") 2>&5
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }; then :
3399 for ac_file in conftest.o conftest.obj conftest.*; do
3400 test -f "$ac_file" || continue;
3402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3403 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3408 $as_echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.$ac_ext >&5
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error "cannot compute suffix of object files: cannot compile
3414 See \`config.log' for more details." "$LINENO" 5; }
3416 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3419 $as_echo "$ac_cv_objext" >&6; }
3420 OBJEXT=$ac_cv_objext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3423 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3424 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3425 $as_echo_n "(cached) " >&6
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3441 if ac_fn_cxx_try_compile "$LINENO"; then :
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3451 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3452 if test $ac_compiler_gnu = yes; then
3457 ac_test_CXXFLAGS=${CXXFLAGS+set}
3458 ac_save_CXXFLAGS=$CXXFLAGS
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3460 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3461 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3462 $as_echo_n "(cached) " >&6
3464 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3465 ac_cxx_werror_flag=yes
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3479 if ac_fn_cxx_try_compile "$LINENO"; then :
3480 ac_cv_prog_cxx_g=yes
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3494 if ac_fn_cxx_try_compile "$LINENO"; then :
3497 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3510 if ac_fn_cxx_try_compile "$LINENO"; then :
3511 ac_cv_prog_cxx_g=yes
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3521 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3522 if test "$ac_test_CXXFLAGS" = set; then
3523 CXXFLAGS=$ac_save_CXXFLAGS
3524 elif test $ac_cv_prog_cxx_g = yes; then
3525 if test "$GXX" = yes; then
3531 if test "$GXX" = yes; then
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 DEPDIR="${am__leading_dot}deps"
3544 ac_config_commands="$ac_config_commands depfiles"
3547 am_make=${MAKE-make}
3548 cat > confinc << 'END'
3550 @echo this is the am__doit target
3553 # If we don't find an include directive, just comment out the code.
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3555 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3559 # First try GNU make style include.
3560 echo "include confinc" > confmf
3561 # Ignore all kinds of additional output from `make'.
3562 case `$am_make -s -f confmf 2> /dev/null` in #(
3563 *the\ am__doit\ target*)
3569 # Now try BSD make style include.
3570 if test "$am__include" = "#"; then
3571 echo '.include "confinc"' > confmf
3572 case `$am_make -s -f confmf 2> /dev/null` in #(
3573 *the\ am__doit\ target*)
3574 am__include=.include
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3583 $as_echo "$_am_result" >&6; }
3584 rm -f confinc confmf
3586 # Check whether --enable-dependency-tracking was given.
3587 if test "${enable_dependency_tracking+set}" = set; then :
3588 enableval=$enable_dependency_tracking;
3591 if test "x$enable_dependency_tracking" != xno; then
3592 am_depcomp="$ac_aux_dir/depcomp"
3595 if test "x$enable_dependency_tracking" != xno; then
3605 depcc="$CXX" am_compiler_list=
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3608 $as_echo_n "checking dependency style of $depcc... " >&6; }
3609 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3612 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3613 # We make a subdir and do the tests there. Otherwise we can end up
3614 # making bogus files that we don't know about and never remove. For
3615 # instance it was reported that on HP-UX the gcc test will end up
3616 # making a dummy file named `D' -- because `-MD' means `put the output
3619 # Copy depcomp to subdir because otherwise we won't find it if we're
3620 # using a relative directory.
3621 cp "$am_depcomp" conftest.dir
3623 # We will build objects and dependencies in a subdirectory because
3624 # it helps to detect inapplicable dependency modes. For instance
3625 # both Tru64's cc and ICC support -MD to output dependencies as a
3626 # side effect of compilation, but ICC will put the dependencies in
3627 # the current directory while Tru64 will put them in the object
3631 am_cv_CXX_dependencies_compiler_type=none
3632 if test "$am_compiler_list" = ""; then
3633 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3636 case " $depcc " in #(
3637 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3640 for depmode in $am_compiler_list; do
3641 # Setup a source with many dependencies, because some compilers
3642 # like to wrap large dependency lists on column 80 (with \), and
3643 # we should not choose a depcomp mode which is confused by this.
3645 # We need to recreate these files for each test, as the compiler may
3646 # overwrite some of them when testing with obscure command lines.
3647 # This happens at least with the AIX C compiler.
3649 for i in 1 2 3 4 5 6; do
3650 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3651 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3652 # Solaris 8's {/usr,}/bin/sh.
3653 touch sub/conftst$i.h
3655 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3657 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3658 # mode. It turns out that the SunPro C++ compiler does not properly
3659 # handle `-M -o', and we need to detect this. Also, some Intel
3660 # versions had trouble with output in subdirs
3661 am__obj=sub/conftest.${OBJEXT-o}
3662 am__minus_obj="-o $am__obj"
3665 # This depmode causes a compiler race in universal mode.
3666 test "$am__universal" = false || continue
3669 # after this tag, mechanisms are not by side-effect, so they'll
3670 # only be used when explicitly requested
3671 if test "x$enable_dependency_tracking" = xyes; then
3677 msvisualcpp | msvcmsys)
3678 # This compiler won't grok `-c -o', but also, the minuso test has
3679 # not run yet. These depmodes are late enough in the game, and
3680 # so weak that their functioning should not be impacted.
3681 am__obj=conftest.${OBJEXT-o}
3686 if depmode=$depmode \
3687 source=sub/conftest.c object=$am__obj \
3688 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3689 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3690 >/dev/null 2>conftest.err &&
3691 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3692 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3693 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3694 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3695 # icc doesn't choke on unknown options, it will just issue warnings
3696 # or remarks (even with -Werror). So we grep stderr for any message
3697 # that says an option was ignored or not supported.
3698 # When given -MP, icc 7.0 and 7.1 complain thusly:
3699 # icc: Command line warning: ignoring option '-M'; no argument required
3700 # The diagnosis changed in icc 8.0:
3701 # icc: Command line remark: option '-MP' not supported
3702 if (grep 'ignoring option' conftest.err ||
3703 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3704 am_cv_CXX_dependencies_compiler_type=$depmode
3713 am_cv_CXX_dependencies_compiler_type=none
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3718 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3719 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3722 test "x$enable_dependency_tracking" != xno \
3723 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3724 am__fastdepCXX_TRUE=
3725 am__fastdepCXX_FALSE='#'
3727 am__fastdepCXX_TRUE='#'
3728 am__fastdepCXX_FALSE=
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3735 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3740 macro_version='2.2.6b'
3741 macro_revision='1.3017'
3755 ltmain="$ac_aux_dir/ltmain.sh"
3757 # Make sure we can run config.sub.
3758 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3759 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3762 $as_echo_n "checking build system type... " >&6; }
3763 if test "${ac_cv_build+set}" = set; then :
3764 $as_echo_n "(cached) " >&6
3766 ac_build_alias=$build_alias
3767 test "x$ac_build_alias" = x &&
3768 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3769 test "x$ac_build_alias" = x &&
3770 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3771 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3772 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3776 $as_echo "$ac_cv_build" >&6; }
3777 case $ac_cv_build in
3779 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3782 ac_save_IFS=$IFS; IFS='-'
3788 # Remember, the first character of IFS is used to create $*,
3789 # except with old shells:
3792 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3796 $as_echo_n "checking host system type... " >&6; }
3797 if test "${ac_cv_host+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3800 if test "x$host_alias" = x; then
3801 ac_cv_host=$ac_cv_build
3803 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3804 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3809 $as_echo "$ac_cv_host" >&6; }
3812 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3815 ac_save_IFS=$IFS; IFS='-'
3821 # Remember, the first character of IFS is used to create $*,
3822 # except with old shells:
3825 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3833 if test -n "$ac_tool_prefix"; then
3834 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3835 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if test "${ac_cv_prog_CC+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$CC"; then
3842 ac_cv_prog_CC="$CC" # Let the user override the test.
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$CC"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3864 $as_echo "$CC" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3872 if test -z "$ac_cv_prog_CC"; then
3874 # Extract the first word of "gcc", so it can be a program name with args.
3875 set dummy gcc; ac_word=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3879 $as_echo_n "(cached) " >&6
3881 if test -n "$ac_ct_CC"; then
3882 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3891 ac_cv_prog_ac_ct_CC="gcc"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3902 if test -n "$ac_ct_CC"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3904 $as_echo "$ac_ct_CC" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3910 if test "x$ac_ct_CC" = x; then
3913 case $cross_compiling:$ac_tool_warned in
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3928 set dummy ${ac_tool_prefix}cc; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if test "${ac_cv_prog_CC+set}" = set; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -n "$CC"; then
3935 ac_cv_prog_CC="$CC" # Let the user override the test.
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3944 ac_cv_prog_CC="${ac_tool_prefix}cc"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 if test -n "$CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3957 $as_echo "$CC" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3966 if test -z "$CC"; then
3967 # Extract the first word of "cc", so it can be a program name with args.
3968 set dummy cc; ac_word=$2
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 $as_echo_n "checking for $ac_word... " >&6; }
3971 if test "${ac_cv_prog_CC+set}" = set; then :
3972 $as_echo_n "(cached) " >&6
3974 if test -n "$CC"; then
3975 ac_cv_prog_CC="$CC" # Let the user override the test.
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 test -z "$as_dir" && as_dir=.
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3986 ac_prog_rejected=yes
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 if test $ac_prog_rejected = yes; then
3998 # We found a bogon in the path, so make sure we never use it.
3999 set dummy $ac_cv_prog_CC
4001 if test $# != 0; then
4002 # We chose a different compiler from the bogus one.
4003 # However, it has the same basename, so the bogon will be chosen
4004 # first if we set CC to just the basename; use the full file name.
4006 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4022 if test -z "$CC"; then
4023 if test -n "$ac_tool_prefix"; then
4024 for ac_prog in cl.exe
4026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if test "${ac_cv_prog_CC+set}" = set; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC="$CC" # Let the user override the test.
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test -n "$CC"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4063 test -n "$CC" && break
4066 if test -z "$CC"; then
4068 for ac_prog in cl.exe
4070 # Extract the first word of "$ac_prog", so it can be a program name with args.
4071 set dummy $ac_prog; ac_word=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4075 $as_echo_n "(cached) " >&6
4077 if test -n "$ac_ct_CC"; then
4078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4087 ac_cv_prog_ac_ct_CC="$ac_prog"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4098 if test -n "$ac_ct_CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4100 $as_echo "$ac_ct_CC" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4107 test -n "$ac_ct_CC" && break
4110 if test "x$ac_ct_CC" = x; then
4113 case $cross_compiling:$ac_tool_warned in
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4117 ac_tool_warned=yes ;;
4126 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error "no acceptable C compiler found in \$PATH
4129 See \`config.log' for more details." "$LINENO" 5; }
4131 # Provide some information about the compiler.
4132 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4135 for ac_option in --version -v -V -qversion; do
4136 { { ac_try="$ac_compiler $ac_option >&5"
4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142 $as_echo "$ac_try_echo"; } >&5
4143 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4145 if test -s conftest.err; then
4147 ... rest of stderr output deleted ...
4148 10q' conftest.err >conftest.er1
4149 cat conftest.er1 >&5
4151 rm -f conftest.er1 conftest.err
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4157 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4158 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4175 if ac_fn_c_try_compile "$LINENO"; then :
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4185 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4186 if test $ac_compiler_gnu = yes; then
4191 ac_test_CFLAGS=${CFLAGS+set}
4192 ac_save_CFLAGS=$CFLAGS
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4194 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4195 if test "${ac_cv_prog_cc_g+set}" = set; then :
4196 $as_echo_n "(cached) " >&6
4198 ac_save_c_werror_flag=$ac_c_werror_flag
4199 ac_c_werror_flag=yes
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4213 if ac_fn_c_try_compile "$LINENO"; then :
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4228 if ac_fn_c_try_compile "$LINENO"; then :
4231 ac_c_werror_flag=$ac_save_c_werror_flag
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4244 if ac_fn_c_try_compile "$LINENO"; then :
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4252 ac_c_werror_flag=$ac_save_c_werror_flag
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4255 $as_echo "$ac_cv_prog_cc_g" >&6; }
4256 if test "$ac_test_CFLAGS" = set; then
4257 CFLAGS=$ac_save_CFLAGS
4258 elif test $ac_cv_prog_cc_g = yes; then
4259 if test "$GCC" = yes; then
4265 if test "$GCC" = yes; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4272 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4273 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4274 $as_echo_n "(cached) " >&6
4276 ac_cv_prog_cc_c89=no
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4282 #include <sys/types.h>
4283 #include <sys/stat.h>
4284 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4285 struct buf { int x; };
4286 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4287 static char *e (p, i)
4293 static char *f (char * (*g) (char **, int), char **p, ...)
4298 s = g (p, va_arg (v,int));
4303 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4304 function prototypes and stuff, but not '\xHH' hex character constants.
4305 These don't provoke an error unfortunately, instead are silently treated
4306 as 'x'. The following induces an error, until -std is added to get
4307 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4308 array size at least. It's necessary to write '\x00'==0 to get something
4309 that's true only with -std. */
4310 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4312 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4313 inside strings and character constants. */
4315 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4317 int test (int i, double x);
4318 struct s1 {int (*f) (int a);};
4319 struct s2 {int (*f) (double a);};
4320 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4326 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4331 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4332 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4334 CC="$ac_save_CC $ac_arg"
4335 if ac_fn_c_try_compile "$LINENO"; then :
4336 ac_cv_prog_cc_c89=$ac_arg
4338 rm -f core conftest.err conftest.$ac_objext
4339 test "x$ac_cv_prog_cc_c89" != "xno" && break
4341 rm -f conftest.$ac_ext
4346 case "x$ac_cv_prog_cc_c89" in
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4349 $as_echo "none needed" >&6; } ;;
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4352 $as_echo "unsupported" >&6; } ;;
4354 CC="$CC $ac_cv_prog_cc_c89"
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4356 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4358 if test "x$ac_cv_prog_cc_c89" != xno; then :
4363 ac_cpp='$CPP $CPPFLAGS'
4364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4368 depcc="$CC" am_compiler_list=
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4371 $as_echo_n "checking dependency style of $depcc... " >&6; }
4372 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4373 $as_echo_n "(cached) " >&6
4375 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4376 # We make a subdir and do the tests there. Otherwise we can end up
4377 # making bogus files that we don't know about and never remove. For
4378 # instance it was reported that on HP-UX the gcc test will end up
4379 # making a dummy file named `D' -- because `-MD' means `put the output
4382 # Copy depcomp to subdir because otherwise we won't find it if we're
4383 # using a relative directory.
4384 cp "$am_depcomp" conftest.dir
4386 # We will build objects and dependencies in a subdirectory because
4387 # it helps to detect inapplicable dependency modes. For instance
4388 # both Tru64's cc and ICC support -MD to output dependencies as a
4389 # side effect of compilation, but ICC will put the dependencies in
4390 # the current directory while Tru64 will put them in the object
4394 am_cv_CC_dependencies_compiler_type=none
4395 if test "$am_compiler_list" = ""; then
4396 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4399 case " $depcc " in #(
4400 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4403 for depmode in $am_compiler_list; do
4404 # Setup a source with many dependencies, because some compilers
4405 # like to wrap large dependency lists on column 80 (with \), and
4406 # we should not choose a depcomp mode which is confused by this.
4408 # We need to recreate these files for each test, as the compiler may
4409 # overwrite some of them when testing with obscure command lines.
4410 # This happens at least with the AIX C compiler.
4412 for i in 1 2 3 4 5 6; do
4413 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4414 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4415 # Solaris 8's {/usr,}/bin/sh.
4416 touch sub/conftst$i.h
4418 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4420 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4421 # mode. It turns out that the SunPro C++ compiler does not properly
4422 # handle `-M -o', and we need to detect this. Also, some Intel
4423 # versions had trouble with output in subdirs
4424 am__obj=sub/conftest.${OBJEXT-o}
4425 am__minus_obj="-o $am__obj"
4428 # This depmode causes a compiler race in universal mode.
4429 test "$am__universal" = false || continue
4432 # after this tag, mechanisms are not by side-effect, so they'll
4433 # only be used when explicitly requested
4434 if test "x$enable_dependency_tracking" = xyes; then
4440 msvisualcpp | msvcmsys)
4441 # This compiler won't grok `-c -o', but also, the minuso test has
4442 # not run yet. These depmodes are late enough in the game, and
4443 # so weak that their functioning should not be impacted.
4444 am__obj=conftest.${OBJEXT-o}
4449 if depmode=$depmode \
4450 source=sub/conftest.c object=$am__obj \
4451 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4452 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4453 >/dev/null 2>conftest.err &&
4454 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4455 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4456 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4457 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4458 # icc doesn't choke on unknown options, it will just issue warnings
4459 # or remarks (even with -Werror). So we grep stderr for any message
4460 # that says an option was ignored or not supported.
4461 # When given -MP, icc 7.0 and 7.1 complain thusly:
4462 # icc: Command line warning: ignoring option '-M'; no argument required
4463 # The diagnosis changed in icc 8.0:
4464 # icc: Command line remark: option '-MP' not supported
4465 if (grep 'ignoring option' conftest.err ||
4466 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4467 am_cv_CC_dependencies_compiler_type=$depmode
4476 am_cv_CC_dependencies_compiler_type=none
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4481 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4482 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4485 test "x$enable_dependency_tracking" != xno \
4486 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4488 am__fastdepCC_FALSE='#'
4490 am__fastdepCC_TRUE='#'
4491 am__fastdepCC_FALSE=
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4496 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4497 if test "${ac_cv_path_SED+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4500 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4501 for ac_i in 1 2 3 4 5 6 7; do
4502 ac_script="$ac_script$as_nl$ac_script"
4504 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4505 { ac_script=; unset ac_script;}
4506 if test -z "$SED"; then
4507 ac_path_SED_found=false
4508 # Loop through the user's path and test for each of PROGNAME-LIST
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir=.
4514 for ac_prog in sed gsed; do
4515 for ac_exec_ext in '' $ac_executable_extensions; do
4516 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4517 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4518 # Check for GNU ac_path_SED and select it if it is found.
4519 # Check for GNU $ac_path_SED
4520 case `"$ac_path_SED" --version 2>&1` in
4522 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4525 $as_echo_n 0123456789 >"conftest.in"
4528 cat "conftest.in" "conftest.in" >"conftest.tmp"
4529 mv "conftest.tmp" "conftest.in"
4530 cp "conftest.in" "conftest.nl"
4531 $as_echo '' >> "conftest.nl"
4532 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4534 as_fn_arith $ac_count + 1 && ac_count=$as_val
4535 if test $ac_count -gt ${ac_path_SED_max-0}; then
4536 # Best one so far, save it but keep looking for a better one
4537 ac_cv_path_SED="$ac_path_SED"
4538 ac_path_SED_max=$ac_count
4540 # 10*(2^10) chars as input seems more than enough
4541 test $ac_count -gt 10 && break
4543 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4546 $ac_path_SED_found && break 3
4551 if test -z "$ac_cv_path_SED"; then
4552 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4560 $as_echo "$ac_cv_path_SED" >&6; }
4561 SED="$ac_cv_path_SED"
4564 test -z "$SED" && SED=sed
4565 Xsed="$SED -e 1s/^X//"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4578 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4579 if test "${ac_cv_path_GREP+set}" = set; then :
4580 $as_echo_n "(cached) " >&6
4582 if test -z "$GREP"; then
4583 ac_path_GREP_found=false
4584 # Loop through the user's path and test for each of PROGNAME-LIST
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4589 test -z "$as_dir" && as_dir=.
4590 for ac_prog in grep ggrep; do
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4593 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4594 # Check for GNU ac_path_GREP and select it if it is found.
4595 # Check for GNU $ac_path_GREP
4596 case `"$ac_path_GREP" --version 2>&1` in
4598 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4601 $as_echo_n 0123456789 >"conftest.in"
4604 cat "conftest.in" "conftest.in" >"conftest.tmp"
4605 mv "conftest.tmp" "conftest.in"
4606 cp "conftest.in" "conftest.nl"
4607 $as_echo 'GREP' >> "conftest.nl"
4608 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4609 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4610 as_fn_arith $ac_count + 1 && ac_count=$as_val
4611 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4612 # Best one so far, save it but keep looking for a better one
4613 ac_cv_path_GREP="$ac_path_GREP"
4614 ac_path_GREP_max=$ac_count
4616 # 10*(2^10) chars as input seems more than enough
4617 test $ac_count -gt 10 && break
4619 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4622 $ac_path_GREP_found && break 3
4627 if test -z "$ac_cv_path_GREP"; then
4628 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4631 ac_cv_path_GREP=$GREP
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4636 $as_echo "$ac_cv_path_GREP" >&6; }
4637 GREP="$ac_cv_path_GREP"
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4641 $as_echo_n "checking for egrep... " >&6; }
4642 if test "${ac_cv_path_EGREP+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4646 then ac_cv_path_EGREP="$GREP -E"
4648 if test -z "$EGREP"; then
4649 ac_path_EGREP_found=false
4650 # Loop through the user's path and test for each of PROGNAME-LIST
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4655 test -z "$as_dir" && as_dir=.
4656 for ac_prog in egrep; do
4657 for ac_exec_ext in '' $ac_executable_extensions; do
4658 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4659 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4660 # Check for GNU ac_path_EGREP and select it if it is found.
4661 # Check for GNU $ac_path_EGREP
4662 case `"$ac_path_EGREP" --version 2>&1` in
4664 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4667 $as_echo_n 0123456789 >"conftest.in"
4670 cat "conftest.in" "conftest.in" >"conftest.tmp"
4671 mv "conftest.tmp" "conftest.in"
4672 cp "conftest.in" "conftest.nl"
4673 $as_echo 'EGREP' >> "conftest.nl"
4674 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4675 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4676 as_fn_arith $ac_count + 1 && ac_count=$as_val
4677 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4678 # Best one so far, save it but keep looking for a better one
4679 ac_cv_path_EGREP="$ac_path_EGREP"
4680 ac_path_EGREP_max=$ac_count
4682 # 10*(2^10) chars as input seems more than enough
4683 test $ac_count -gt 10 && break
4685 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4688 $ac_path_EGREP_found && break 3
4693 if test -z "$ac_cv_path_EGREP"; then
4694 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4697 ac_cv_path_EGREP=$EGREP
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4703 $as_echo "$ac_cv_path_EGREP" >&6; }
4704 EGREP="$ac_cv_path_EGREP"
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4708 $as_echo_n "checking for fgrep... " >&6; }
4709 if test "${ac_cv_path_FGREP+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4712 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4713 then ac_cv_path_FGREP="$GREP -F"
4715 if test -z "$FGREP"; then
4716 ac_path_FGREP_found=false
4717 # Loop through the user's path and test for each of PROGNAME-LIST
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4722 test -z "$as_dir" && as_dir=.
4723 for ac_prog in fgrep; do
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4726 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4727 # Check for GNU ac_path_FGREP and select it if it is found.
4728 # Check for GNU $ac_path_FGREP
4729 case `"$ac_path_FGREP" --version 2>&1` in
4731 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4734 $as_echo_n 0123456789 >"conftest.in"
4737 cat "conftest.in" "conftest.in" >"conftest.tmp"
4738 mv "conftest.tmp" "conftest.in"
4739 cp "conftest.in" "conftest.nl"
4740 $as_echo 'FGREP' >> "conftest.nl"
4741 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4743 as_fn_arith $ac_count + 1 && ac_count=$as_val
4744 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4745 # Best one so far, save it but keep looking for a better one
4746 ac_cv_path_FGREP="$ac_path_FGREP"
4747 ac_path_FGREP_max=$ac_count
4749 # 10*(2^10) chars as input seems more than enough
4750 test $ac_count -gt 10 && break
4752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4755 $ac_path_FGREP_found && break 3
4760 if test -z "$ac_cv_path_FGREP"; then
4761 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4764 ac_cv_path_FGREP=$FGREP
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4770 $as_echo "$ac_cv_path_FGREP" >&6; }
4771 FGREP="$ac_cv_path_FGREP"
4774 test -z "$GREP" && GREP=grep
4794 # Check whether --with-gnu-ld was given.
4795 if test "${with_gnu_ld+set}" = set; then :
4796 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4802 if test "$GCC" = yes; then
4803 # Check if gcc -print-prog-name=ld gives a path.
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4805 $as_echo_n "checking for ld used by $CC... " >&6; }
4808 # gcc leaves a trailing carriage return which upsets mingw
4809 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4811 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4814 # Accept absolute paths.
4816 re_direlt='/[^/][^/]*/\.\./'
4817 # Canonicalize the pathname of ld
4818 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4819 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4820 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4822 test -z "$LD" && LD="$ac_prog"
4825 # If it fails, then pretend we aren't using GCC.
4829 # If it is relative, then search for the first ld in PATH.
4833 elif test "$with_gnu_ld" = yes; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4835 $as_echo_n "checking for GNU ld... " >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4838 $as_echo_n "checking for non-GNU ld... " >&6; }
4840 if test "${lt_cv_path_LD+set}" = set; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -z "$LD"; then
4844 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4845 for ac_dir in $PATH; do
4847 test -z "$ac_dir" && ac_dir=.
4848 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4849 lt_cv_path_LD="$ac_dir/$ac_prog"
4850 # Check to see if the program is GNU ld. I'd rather use --version,
4851 # but apparently some variants of GNU ld only accept -v.
4852 # Break only if it was the GNU/non-GNU ld that we prefer.
4853 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4854 *GNU* | *'with BFD'*)
4855 test "$with_gnu_ld" != no && break
4858 test "$with_gnu_ld" != yes && break
4865 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4870 if test -n "$LD"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4872 $as_echo "$LD" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4877 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4879 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4880 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4884 case `$LD -v 2>&1 </dev/null` in
4885 *GNU* | *'with BFD'*)
4886 lt_cv_prog_gnu_ld=yes
4889 lt_cv_prog_gnu_ld=no
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4894 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4895 with_gnu_ld=$lt_cv_prog_gnu_ld
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4906 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4907 if test "${lt_cv_path_NM+set}" = set; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$NM"; then
4911 # Let the user override the test.
4914 lt_nm_to_check="${ac_tool_prefix}nm"
4915 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4916 lt_nm_to_check="$lt_nm_to_check nm"
4918 for lt_tmp_nm in $lt_nm_to_check; do
4919 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4920 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4922 test -z "$ac_dir" && ac_dir=.
4923 tmp_nm="$ac_dir/$lt_tmp_nm"
4924 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4925 # Check to see if the nm accepts a BSD-compat flag.
4926 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4927 # nm: unknown option "B" ignored
4928 # Tru64's nm complains that /dev/null is an invalid object file
4929 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4930 */dev/null* | *'Invalid file or object type'*)
4931 lt_cv_path_NM="$tmp_nm -B"
4935 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4937 lt_cv_path_NM="$tmp_nm -p"
4941 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4942 continue # so that we can try to find one that supports BSD flags
4951 : ${lt_cv_path_NM=no}
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4955 $as_echo "$lt_cv_path_NM" >&6; }
4956 if test "$lt_cv_path_NM" != "no"; then
4959 # Didn't find any BSD compatible name lister, look for dumpbin.
4960 if test -n "$ac_tool_prefix"; then
4961 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4968 $as_echo_n "(cached) " >&6
4970 if test -n "$DUMPBIN"; then
4971 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 test -z "$as_dir" && as_dir=.
4978 for ac_exec_ext in '' $ac_executable_extensions; do
4979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4980 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 DUMPBIN=$ac_cv_prog_DUMPBIN
4991 if test -n "$DUMPBIN"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4993 $as_echo "$DUMPBIN" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
5000 test -n "$DUMPBIN" && break
5003 if test -z "$DUMPBIN"; then
5004 ac_ct_DUMPBIN=$DUMPBIN
5005 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5007 # Extract the first word of "$ac_prog", so it can be a program name with args.
5008 set dummy $ac_prog; ac_word=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5012 $as_echo_n "(cached) " >&6
5014 if test -n "$ac_ct_DUMPBIN"; then
5015 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5024 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5035 if test -n "$ac_ct_DUMPBIN"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5037 $as_echo "$ac_ct_DUMPBIN" >&6; }
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5044 test -n "$ac_ct_DUMPBIN" && break
5047 if test "x$ac_ct_DUMPBIN" = x; then
5050 case $cross_compiling:$ac_tool_warned in
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5054 ac_tool_warned=yes ;;
5056 DUMPBIN=$ac_ct_DUMPBIN
5061 if test "$DUMPBIN" != ":"; then
5065 test -z "$NM" && NM=nm
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5073 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5074 if test "${lt_cv_nm_interface+set}" = set; then :
5075 $as_echo_n "(cached) " >&6
5077 lt_cv_nm_interface="BSD nm"
5078 echo "int some_variable = 0;" > conftest.$ac_ext
5079 (eval echo "\"\$as_me:5079: $ac_compile\"" >&5)
5080 (eval "$ac_compile" 2>conftest.err)
5081 cat conftest.err >&5
5082 (eval echo "\"\$as_me:5082: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5083 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5084 cat conftest.err >&5
5085 (eval echo "\"\$as_me:5085: output\"" >&5)
5086 cat conftest.out >&5
5087 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5088 lt_cv_nm_interface="MS dumpbin"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5093 $as_echo "$lt_cv_nm_interface" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5096 $as_echo_n "checking whether ln -s works... " >&6; }
5098 if test "$LN_S" = "ln -s"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5100 $as_echo "yes" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5103 $as_echo "no, using $LN_S" >&6; }
5106 # find the maximum length of command line arguments
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5108 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5109 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5117 # On DJGPP, this test can blow up pretty badly due to problems in libc
5118 # (any single argument exceeding 2000 bytes causes a buffer overrun
5119 # during glob expansion). Even if it were fixed, the result of this
5120 # check would be larger than it should be.
5121 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5125 # Under GNU Hurd, this test is not required because there is
5126 # no limit to the length of command line arguments.
5127 # Libtool will interpret -1 as no limit whatsoever
5128 lt_cv_sys_max_cmd_len=-1;
5131 cygwin* | mingw* | cegcc*)
5132 # On Win9x/ME, this test blows up -- it succeeds, but takes
5133 # about 5 minutes as the teststring grows exponentially.
5134 # Worse, since 9x/ME are not pre-emptively multitasking,
5135 # you end up with a "frozen" computer, even though with patience
5136 # the test eventually succeeds (with a max line length of 256k).
5137 # Instead, let's just punt: use the minimum linelength reported by
5138 # all of the supported platforms: 8192 (on NT/2K/XP).
5139 lt_cv_sys_max_cmd_len=8192;
5143 # On AmigaOS with pdksh, this test takes hours, literally.
5144 # So we just punt and use a minimum line length of 8192.
5145 lt_cv_sys_max_cmd_len=8192;
5148 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5149 # This has been around since 386BSD, at least. Likely further.
5150 if test -x /sbin/sysctl; then
5151 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5152 elif test -x /usr/sbin/sysctl; then
5153 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5155 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5157 # And add a safety zone
5158 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5159 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5163 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5164 lt_cv_sys_max_cmd_len=196608
5168 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5169 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5170 # nice to cause kernel panics so lets avoid the loop below.
5171 # First set a reasonable default.
5172 lt_cv_sys_max_cmd_len=16384
5174 if test -x /sbin/sysconfig; then
5175 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5176 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5181 lt_cv_sys_max_cmd_len=102400
5183 sysv5* | sco5v6* | sysv4.2uw2*)
5184 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5185 if test -n "$kargmax"; then
5186 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5188 lt_cv_sys_max_cmd_len=32768
5192 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5193 if test -n "$lt_cv_sys_max_cmd_len"; then
5194 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5195 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5197 # Make teststring a little bigger before we do anything with it.
5198 # a 1K string should be a reasonable start.
5199 for i in 1 2 3 4 5 6 7 8 ; do
5200 teststring=$teststring$teststring
5202 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5203 # If test is not a shell built-in, we'll probably end up computing a
5204 # maximum length that is only half of the actual maximum length, but
5206 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5207 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5208 test $i != 17 # 1/2 MB should be enough
5211 teststring=$teststring$teststring
5213 # Only check the string length outside the loop.
5214 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5216 # Add a significant safety factor because C++ compilers can tack on
5217 # massive amounts of additional arguments before passing them to the
5218 # linker. It appears as though 1/2 is a usable value.
5219 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5226 if test -n $lt_cv_sys_max_cmd_len ; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5228 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5231 $as_echo "none" >&6; }
5233 max_cmd_len=$lt_cv_sys_max_cmd_len
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5245 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5246 # Try some XSI features
5249 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5251 && eval 'test $(( 1 + 1 )) -eq 2 \
5252 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5255 $as_echo "$xsi_shell" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5259 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5261 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5263 && lt_shell_append=yes
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5265 $as_echo "$lt_shell_append" >&6; }
5268 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5278 # test EBCDIC or ASCII
5279 case `echo X|tr X '\101'` in
5280 A) # ASCII based system
5281 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5282 lt_SP2NL='tr \040 \012'
5283 lt_NL2SP='tr \015\012 \040\040'
5285 *) # EBCDIC based system
5286 lt_SP2NL='tr \100 \n'
5287 lt_NL2SP='tr \r\n \100\100'
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5300 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5301 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 lt_cv_ld_reload_flag='-r'
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5307 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5308 reload_flag=$lt_cv_ld_reload_flag
5309 case $reload_flag in
5311 *) reload_flag=" $reload_flag" ;;
5313 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5316 if test "$GCC" = yes; then
5317 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5319 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5332 if test -n "$ac_tool_prefix"; then
5333 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5334 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5340 if test -n "$OBJDUMP"; then
5341 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 OBJDUMP=$ac_cv_prog_OBJDUMP
5361 if test -n "$OBJDUMP"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5363 $as_echo "$OBJDUMP" >&6; }
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5371 if test -z "$ac_cv_prog_OBJDUMP"; then
5372 ac_ct_OBJDUMP=$OBJDUMP
5373 # Extract the first word of "objdump", so it can be a program name with args.
5374 set dummy objdump; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5378 $as_echo_n "(cached) " >&6
5380 if test -n "$ac_ct_OBJDUMP"; then
5381 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5390 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5401 if test -n "$ac_ct_OBJDUMP"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5403 $as_echo "$ac_ct_OBJDUMP" >&6; }
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5409 if test "x$ac_ct_OBJDUMP" = x; then
5412 case $cross_compiling:$ac_tool_warned in
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5416 ac_tool_warned=yes ;;
5418 OBJDUMP=$ac_ct_OBJDUMP
5421 OBJDUMP="$ac_cv_prog_OBJDUMP"
5424 test -z "$OBJDUMP" && OBJDUMP=objdump
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5435 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5436 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5437 $as_echo_n "(cached) " >&6
5439 lt_cv_file_magic_cmd='$MAGIC_CMD'
5440 lt_cv_file_magic_test_file=
5441 lt_cv_deplibs_check_method='unknown'
5442 # Need to set the preceding variable on all platforms that support
5443 # interlibrary dependencies.
5444 # 'none' -- dependencies not supported.
5445 # `unknown' -- same as none, but documents that we really don't know.
5446 # 'pass_all' -- all dependencies passed with no checks.
5447 # 'test_compile' -- check by making test program.
5448 # 'file_magic [[regex]]' -- check by looking for files in library path
5449 # which responds to the $file_magic_cmd with a given extended regex.
5450 # If you have `file' or equivalent on your system and you're not sure
5451 # whether `pass_all' will *always* work, you probably want this one.
5455 lt_cv_deplibs_check_method=pass_all
5459 lt_cv_deplibs_check_method=pass_all
5463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5464 lt_cv_file_magic_cmd='/usr/bin/file -L'
5465 lt_cv_file_magic_test_file=/shlib/libc.so
5469 # func_win32_libid is a shell function defined in ltmain.sh
5470 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5471 lt_cv_file_magic_cmd='func_win32_libid'
5475 # Base MSYS/MinGW do not provide the 'file' command needed by
5476 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5477 # unless we find 'file', for example because we are cross-compiling.
5478 if ( file / ) >/dev/null 2>&1; then
5479 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5480 lt_cv_file_magic_cmd='func_win32_libid'
5482 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5483 lt_cv_file_magic_cmd='$OBJDUMP -f'
5488 # use the weaker test based on 'objdump'. See mingw*.
5489 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5490 lt_cv_file_magic_cmd='$OBJDUMP -f'
5493 darwin* | rhapsody*)
5494 lt_cv_deplibs_check_method=pass_all
5497 freebsd* | dragonfly*)
5498 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5501 # Not sure whether the presence of OpenBSD here was a mistake.
5502 # Let's accept both of them until this is cleared up.
5503 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5504 lt_cv_file_magic_cmd=/usr/bin/file
5505 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5509 lt_cv_deplibs_check_method=pass_all
5514 lt_cv_deplibs_check_method=pass_all
5517 hpux10.20* | hpux11*)
5518 lt_cv_file_magic_cmd=/usr/bin/file
5521 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5522 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5525 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]'
5526 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5529 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5530 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5536 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5537 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5540 irix5* | irix6* | nonstopux*)
5542 *-32|*"-32 ") libmagic=32-bit;;
5543 *-n32|*"-n32 ") libmagic=N32;;
5544 *-64|*"-64 ") libmagic=64-bit;;
5545 *) libmagic=never-match;;
5547 lt_cv_deplibs_check_method=pass_all
5550 # This must be Linux ELF.
5551 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5552 lt_cv_deplibs_check_method=pass_all
5555 netbsd* | netbsdelf*-gnu)
5556 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5564 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5565 lt_cv_file_magic_cmd=/usr/bin/file
5566 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5570 lt_cv_deplibs_check_method=pass_all
5574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5581 osf3* | osf4* | osf5*)
5582 lt_cv_deplibs_check_method=pass_all
5586 lt_cv_deplibs_check_method=pass_all
5590 lt_cv_deplibs_check_method=pass_all
5593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5594 lt_cv_deplibs_check_method=pass_all
5598 case $host_vendor in
5600 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]'
5601 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5604 lt_cv_deplibs_check_method=pass_all
5607 lt_cv_file_magic_cmd='/bin/file'
5608 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5611 lt_cv_file_magic_cmd='/bin/file'
5612 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5613 lt_cv_file_magic_test_file=/lib/libc.so
5616 lt_cv_deplibs_check_method=pass_all
5619 lt_cv_deplibs_check_method=pass_all
5625 lt_cv_deplibs_check_method=pass_all
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5631 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5632 file_magic_cmd=$lt_cv_file_magic_cmd
5633 deplibs_check_method=$lt_cv_deplibs_check_method
5634 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5647 if test -n "$ac_tool_prefix"; then
5648 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5649 set dummy ${ac_tool_prefix}ar; ac_word=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 $as_echo_n "checking for $ac_word... " >&6; }
5652 if test "${ac_cv_prog_AR+set}" = set; then :
5653 $as_echo_n "(cached) " >&6
5655 if test -n "$AR"; then
5656 ac_cv_prog_AR="$AR" # Let the user override the test.
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 test -z "$as_dir" && as_dir=.
5663 for ac_exec_ext in '' $ac_executable_extensions; do
5664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5665 ac_cv_prog_AR="${ac_tool_prefix}ar"
5666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 if test -n "$AR"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5678 $as_echo "$AR" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681 $as_echo "no" >&6; }
5686 if test -z "$ac_cv_prog_AR"; then
5688 # Extract the first word of "ar", so it can be a program name with args.
5689 set dummy ar; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5693 $as_echo_n "(cached) " >&6
5695 if test -n "$ac_ct_AR"; then
5696 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5705 ac_cv_prog_ac_ct_AR="ar"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5716 if test -n "$ac_ct_AR"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5718 $as_echo "$ac_ct_AR" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5724 if test "x$ac_ct_AR" = x; then
5727 case $cross_compiling:$ac_tool_warned in
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5731 ac_tool_warned=yes ;;
5739 test -z "$AR" && AR=ar
5740 test -z "$AR_FLAGS" && AR_FLAGS=cru
5752 if test -n "$ac_tool_prefix"; then
5753 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5754 set dummy ${ac_tool_prefix}strip; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if test "${ac_cv_prog_STRIP+set}" = set; then :
5758 $as_echo_n "(cached) " >&6
5760 if test -n "$STRIP"; then
5761 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5770 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 STRIP=$ac_cv_prog_STRIP
5781 if test -n "$STRIP"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5783 $as_echo "$STRIP" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5791 if test -z "$ac_cv_prog_STRIP"; then
5793 # Extract the first word of "strip", so it can be a program name with args.
5794 set dummy strip; ac_word=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5798 $as_echo_n "(cached) " >&6
5800 if test -n "$ac_ct_STRIP"; then
5801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_prog_ac_ct_STRIP="strip"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5821 if test -n "$ac_ct_STRIP"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5823 $as_echo "$ac_ct_STRIP" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5829 if test "x$ac_ct_STRIP" = x; then
5832 case $cross_compiling:$ac_tool_warned in
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5836 ac_tool_warned=yes ;;
5841 STRIP="$ac_cv_prog_STRIP"
5844 test -z "$STRIP" && STRIP=:
5851 if test -n "$ac_tool_prefix"; then
5852 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5853 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -n "$RANLIB"; then
5860 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 RANLIB=$ac_cv_prog_RANLIB
5880 if test -n "$RANLIB"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5882 $as_echo "$RANLIB" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5890 if test -z "$ac_cv_prog_RANLIB"; then
5891 ac_ct_RANLIB=$RANLIB
5892 # Extract the first word of "ranlib", so it can be a program name with args.
5893 set dummy ranlib; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5897 $as_echo_n "(cached) " >&6
5899 if test -n "$ac_ct_RANLIB"; then
5900 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_prog_ac_ct_RANLIB="ranlib"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5920 if test -n "$ac_ct_RANLIB"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5922 $as_echo "$ac_ct_RANLIB" >&6; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5928 if test "x$ac_ct_RANLIB" = x; then
5931 case $cross_compiling:$ac_tool_warned in
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5935 ac_tool_warned=yes ;;
5937 RANLIB=$ac_ct_RANLIB
5940 RANLIB="$ac_cv_prog_RANLIB"
5943 test -z "$RANLIB" && RANLIB=:
5950 # Determine commands to create old-style static archives.
5951 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5952 old_postinstall_cmds='chmod 644 $oldlib'
5953 old_postuninstall_cmds=
5955 if test -n "$RANLIB"; then
5958 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5961 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5964 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6000 # If no C compiler was specified, use CC.
6003 # If no C compiler flags were specified, use CFLAGS.
6004 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6006 # Allow CC to be a program name with arguments.
6010 # Check for command to grab the raw symbol name followed by C symbol from nm.
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6012 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6013 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6014 $as_echo_n "(cached) " >&6
6017 # These are sane defaults that work on at least a few old systems.
6018 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6020 # Character class describing NM global symbol codes.
6021 symcode='[BCDEGRST]'
6023 # Regexp to match symbols that can be accessed directly from C.
6024 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6026 # Define system-specific variables.
6031 cygwin* | mingw* | pw32* | cegcc*)
6032 symcode='[ABCDGISTW]'
6035 if test "$host_cpu" = ia64; then
6036 symcode='[ABCDEGRST]'
6040 symcode='[BCDEGRST]'
6043 symcode='[BCDEGQRST]'
6054 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6062 # If we're using GNU nm, then use its standard symbol codes.
6063 case `$NM -V 2>&1` in
6064 *GNU* | *'with BFD'*)
6065 symcode='[ABCDGIRSTW]' ;;
6068 # Transform an extracted symbol line into a proper C declaration.
6069 # Some systems (esp. on ia64) link data and code symbols differently,
6070 # so use this general approach.
6071 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6073 # Transform an extracted symbol line into symbol name and symbol address
6074 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6075 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'"
6077 # Handle CRLF in mingw tool chain
6081 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6085 # Try without a prefix underscore, then with it.
6086 for ac_symprfx in "" "_"; do
6088 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6089 symxfrm="\\1 $ac_symprfx\\2 \\2"
6091 # Write the raw and C identifiers.
6092 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6093 # Fake it for dumpbin and say T for any non-static function
6094 # and D for any global variable.
6095 # Also find C++ and __fastcall symbols from MSVC++,
6096 # which start with @ or ?.
6097 lt_cv_sys_global_symbol_pipe="$AWK '"\
6098 " {last_section=section; section=\$ 3};"\
6099 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6100 " \$ 0!~/External *\|/{next};"\
6101 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6102 " {if(hide[section]) next};"\
6103 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6104 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6105 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6106 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6107 " ' prfx=^$ac_symprfx"
6109 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6112 # Check to see that the pipe works correctly.
6116 cat > conftest.$ac_ext <<_LT_EOF
6121 void nm_test_func(void);
6122 void nm_test_func(void){}
6126 int main(){nm_test_var='a';nm_test_func();return(0);}
6129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6130 (eval $ac_compile) 2>&5
6132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6133 test $ac_status = 0; }; then
6134 # Now try to grab the symbols.
6136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6137 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6140 test $ac_status = 0; } && test -s "$nlist"; then
6141 # Try sorting and uniquifying the output.
6142 if sort "$nlist" | uniq > "$nlist"T; then
6143 mv -f "$nlist"T "$nlist"
6148 # Make sure that we snagged all the symbols we need.
6149 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6150 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6151 cat <<_LT_EOF > conftest.$ac_ext
6157 # Now generate the symbol file.
6158 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6160 cat <<_LT_EOF >> conftest.$ac_ext
6162 /* The mapping between symbol names and symbols. */
6167 lt__PROGRAM__LTX_preloaded_symbols[] =
6169 { "@PROGRAM@", (void *) 0 },
6171 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6172 cat <<\_LT_EOF >> conftest.$ac_ext
6176 /* This works around a problem in FreeBSD linker */
6177 #ifdef FREEBSD_WORKAROUND
6178 static const void *lt_preloaded_setup() {
6179 return lt__PROGRAM__LTX_preloaded_symbols;
6187 # Now try linking the two files.
6188 mv conftest.$ac_objext conftstm.$ac_objext
6189 lt_save_LIBS="$LIBS"
6190 lt_save_CFLAGS="$CFLAGS"
6191 LIBS="conftstm.$ac_objext"
6192 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6194 (eval $ac_link) 2>&5
6196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6197 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6200 LIBS="$lt_save_LIBS"
6201 CFLAGS="$lt_save_CFLAGS"
6203 echo "cannot find nm_test_func in $nlist" >&5
6206 echo "cannot find nm_test_var in $nlist" >&5
6209 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6212 echo "$progname: failed program was:" >&5
6213 cat conftest.$ac_ext >&5
6215 rm -rf conftest* conftst*
6217 # Do not use the global_symbol_pipe unless it works.
6218 if test "$pipe_works" = yes; then
6221 lt_cv_sys_global_symbol_pipe=
6227 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6228 lt_cv_sys_global_symbol_to_cdecl=
6230 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6232 $as_echo "failed" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6235 $as_echo "ok" >&6; }
6260 # Check whether --enable-libtool-lock was given.
6261 if test "${enable_libtool_lock+set}" = set; then :
6262 enableval=$enable_libtool_lock;
6265 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6267 # Some flags need to be propagated to the compiler or linker for good
6271 # Find out which ABI we are using.
6272 echo 'int i;' > conftest.$ac_ext
6273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6274 (eval $ac_compile) 2>&5
6276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6277 test $ac_status = 0; }; then
6278 case `/usr/bin/file conftest.$ac_objext` in
6290 # Find out which ABI we are using.
6291 echo '#line 6291 "configure"' > conftest.$ac_ext
6292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6293 (eval $ac_compile) 2>&5
6295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6296 test $ac_status = 0; }; then
6297 if test "$lt_cv_prog_gnu_ld" = yes; then
6298 case `/usr/bin/file conftest.$ac_objext` in
6300 LD="${LD-ld} -melf32bsmip"
6303 LD="${LD-ld} -melf32bmipn32"
6306 LD="${LD-ld} -melf64bmip"
6310 case `/usr/bin/file conftest.$ac_objext` in
6326 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6327 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6328 # Find out which ABI we are using.
6329 echo 'int i;' > conftest.$ac_ext
6330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6331 (eval $ac_compile) 2>&5
6333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6334 test $ac_status = 0; }; then
6335 case `/usr/bin/file conftest.o` in
6338 x86_64-*kfreebsd*-gnu)
6339 LD="${LD-ld} -m elf_i386_fbsd"
6342 LD="${LD-ld} -m elf_i386"
6344 ppc64-*linux*|powerpc64-*linux*)
6345 LD="${LD-ld} -m elf32ppclinux"
6348 LD="${LD-ld} -m elf_s390"
6351 LD="${LD-ld} -m elf32_sparc"
6357 x86_64-*kfreebsd*-gnu)
6358 LD="${LD-ld} -m elf_x86_64_fbsd"
6361 LD="${LD-ld} -m elf_x86_64"
6363 ppc*-*linux*|powerpc*-*linux*)
6364 LD="${LD-ld} -m elf64ppc"
6366 s390*-*linux*|s390*-*tpf*)
6367 LD="${LD-ld} -m elf64_s390"
6370 LD="${LD-ld} -m elf64_sparc"
6380 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6381 SAVE_CFLAGS="$CFLAGS"
6382 CFLAGS="$CFLAGS -belf"
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6384 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6385 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6386 $as_echo_n "(cached) " >&6
6389 ac_cpp='$CPP $CPPFLAGS'
6390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6405 if ac_fn_c_try_link "$LINENO"; then :
6406 lt_cv_cc_needs_belf=yes
6408 lt_cv_cc_needs_belf=no
6410 rm -f core conftest.err conftest.$ac_objext \
6411 conftest$ac_exeext conftest.$ac_ext
6413 ac_cpp='$CPP $CPPFLAGS'
6414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6420 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6421 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6422 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6423 CFLAGS="$SAVE_CFLAGS"
6427 # Find out which ABI we are using.
6428 echo 'int i;' > conftest.$ac_ext
6429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6430 (eval $ac_compile) 2>&5
6432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6433 test $ac_status = 0; }; then
6434 case `/usr/bin/file conftest.o` in
6436 case $lt_cv_prog_gnu_ld in
6437 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6439 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6451 need_locks="$enable_libtool_lock"
6455 rhapsody* | darwin*)
6456 if test -n "$ac_tool_prefix"; then
6457 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6458 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6464 if test -n "$DSYMUTIL"; then
6465 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6485 if test -n "$DSYMUTIL"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6487 $as_echo "$DSYMUTIL" >&6; }
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6495 if test -z "$ac_cv_prog_DSYMUTIL"; then
6496 ac_ct_DSYMUTIL=$DSYMUTIL
6497 # Extract the first word of "dsymutil", so it can be a program name with args.
6498 set dummy dsymutil; ac_word=$2
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 $as_echo_n "checking for $ac_word... " >&6; }
6501 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6502 $as_echo_n "(cached) " >&6
6504 if test -n "$ac_ct_DSYMUTIL"; then
6505 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6525 if test -n "$ac_ct_DSYMUTIL"; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6527 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6533 if test "x$ac_ct_DSYMUTIL" = x; then
6536 case $cross_compiling:$ac_tool_warned in
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6540 ac_tool_warned=yes ;;
6542 DSYMUTIL=$ac_ct_DSYMUTIL
6545 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6548 if test -n "$ac_tool_prefix"; then
6549 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6550 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 $as_echo_n "checking for $ac_word... " >&6; }
6553 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6554 $as_echo_n "(cached) " >&6
6556 if test -n "$NMEDIT"; then
6557 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 test -z "$as_dir" && as_dir=.
6564 for ac_exec_ext in '' $ac_executable_extensions; do
6565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6566 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576 NMEDIT=$ac_cv_prog_NMEDIT
6577 if test -n "$NMEDIT"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6579 $as_echo "$NMEDIT" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6587 if test -z "$ac_cv_prog_NMEDIT"; then
6588 ac_ct_NMEDIT=$NMEDIT
6589 # Extract the first word of "nmedit", so it can be a program name with args.
6590 set dummy nmedit; ac_word=$2
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6592 $as_echo_n "checking for $ac_word... " >&6; }
6593 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6594 $as_echo_n "(cached) " >&6
6596 if test -n "$ac_ct_NMEDIT"; then
6597 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6606 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6617 if test -n "$ac_ct_NMEDIT"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6619 $as_echo "$ac_ct_NMEDIT" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622 $as_echo "no" >&6; }
6625 if test "x$ac_ct_NMEDIT" = x; then
6628 case $cross_compiling:$ac_tool_warned in
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6632 ac_tool_warned=yes ;;
6634 NMEDIT=$ac_ct_NMEDIT
6637 NMEDIT="$ac_cv_prog_NMEDIT"
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if test "${ac_cv_prog_LIPO+set}" = set; then :
6646 $as_echo_n "(cached) " >&6
6648 if test -n "$LIPO"; then
6649 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 LIPO=$ac_cv_prog_LIPO
6669 if test -n "$LIPO"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6671 $as_echo "$LIPO" >&6; }
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6679 if test -z "$ac_cv_prog_LIPO"; then
6681 # Extract the first word of "lipo", so it can be a program name with args.
6682 set dummy lipo; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6686 $as_echo_n "(cached) " >&6
6688 if test -n "$ac_ct_LIPO"; then
6689 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6698 ac_cv_prog_ac_ct_LIPO="lipo"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6709 if test -n "$ac_ct_LIPO"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6711 $as_echo "$ac_ct_LIPO" >&6; }
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6717 if test "x$ac_ct_LIPO" = x; then
6720 case $cross_compiling:$ac_tool_warned in
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6729 LIPO="$ac_cv_prog_LIPO"
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}otool; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 $as_echo_n "checking for $ac_word... " >&6; }
6737 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6738 $as_echo_n "(cached) " >&6
6740 if test -n "$OTOOL"; then
6741 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6750 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760 OTOOL=$ac_cv_prog_OTOOL
6761 if test -n "$OTOOL"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6763 $as_echo "$OTOOL" >&6; }
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 $as_echo "no" >&6; }
6771 if test -z "$ac_cv_prog_OTOOL"; then
6773 # Extract the first word of "otool", so it can be a program name with args.
6774 set dummy otool; ac_word=$2
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6776 $as_echo_n "checking for $ac_word... " >&6; }
6777 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6778 $as_echo_n "(cached) " >&6
6780 if test -n "$ac_ct_OTOOL"; then
6781 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 test -z "$as_dir" && as_dir=.
6788 for ac_exec_ext in '' $ac_executable_extensions; do
6789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6790 ac_cv_prog_ac_ct_OTOOL="otool"
6791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6801 if test -n "$ac_ct_OTOOL"; then
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6803 $as_echo "$ac_ct_OTOOL" >&6; }
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6806 $as_echo "no" >&6; }
6809 if test "x$ac_ct_OTOOL" = x; then
6812 case $cross_compiling:$ac_tool_warned in
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6816 ac_tool_warned=yes ;;
6821 OTOOL="$ac_cv_prog_OTOOL"
6824 if test -n "$ac_tool_prefix"; then
6825 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6826 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6830 $as_echo_n "(cached) " >&6
6832 if test -n "$OTOOL64"; then
6833 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 test -z "$as_dir" && as_dir=.
6840 for ac_exec_ext in '' $ac_executable_extensions; do
6841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6842 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 OTOOL64=$ac_cv_prog_OTOOL64
6853 if test -n "$OTOOL64"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6855 $as_echo "$OTOOL64" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6863 if test -z "$ac_cv_prog_OTOOL64"; then
6864 ac_ct_OTOOL64=$OTOOL64
6865 # Extract the first word of "otool64", so it can be a program name with args.
6866 set dummy otool64; ac_word=$2
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 $as_echo_n "checking for $ac_word... " >&6; }
6869 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6870 $as_echo_n "(cached) " >&6
6872 if test -n "$ac_ct_OTOOL64"; then
6873 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 test -z "$as_dir" && as_dir=.
6880 for ac_exec_ext in '' $ac_executable_extensions; do
6881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6882 ac_cv_prog_ac_ct_OTOOL64="otool64"
6883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6892 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6893 if test -n "$ac_ct_OTOOL64"; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6895 $as_echo "$ac_ct_OTOOL64" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; }
6901 if test "x$ac_ct_OTOOL64" = x; then
6904 case $cross_compiling:$ac_tool_warned in
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6908 ac_tool_warned=yes ;;
6910 OTOOL64=$ac_ct_OTOOL64
6913 OTOOL64="$ac_cv_prog_OTOOL64"
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6943 $as_echo_n "checking for -single_module linker flag... " >&6; }
6944 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6945 $as_echo_n "(cached) " >&6
6947 lt_cv_apple_cc_single_mod=no
6948 if test -z "${LT_MULTI_MODULE}"; then
6949 # By default we will add the -single_module flag. You can override
6950 # by either setting the environment variable LT_MULTI_MODULE
6951 # non-empty at configure time, or by adding -multi_module to the
6953 rm -rf libconftest.dylib*
6954 echo "int foo(void){return 1;}" > conftest.c
6955 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6956 -dynamiclib -Wl,-single_module conftest.c" >&5
6957 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6958 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6960 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6961 lt_cv_apple_cc_single_mod=yes
6963 cat conftest.err >&5
6965 rm -rf libconftest.dylib*
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6970 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6972 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6973 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6974 $as_echo_n "(cached) " >&6
6976 lt_cv_ld_exported_symbols_list=no
6977 save_LDFLAGS=$LDFLAGS
6978 echo "_main" > conftest.sym
6979 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6991 if ac_fn_c_try_link "$LINENO"; then :
6992 lt_cv_ld_exported_symbols_list=yes
6994 lt_cv_ld_exported_symbols_list=no
6996 rm -f core conftest.err conftest.$ac_objext \
6997 conftest$ac_exeext conftest.$ac_ext
6998 LDFLAGS="$save_LDFLAGS"
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7002 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7004 rhapsody* | darwin1.[012])
7005 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7007 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7008 darwin*) # darwin 5.x on
7009 # if running on 10.5 or later, the deployment target defaults
7010 # to the OS version, if on x86, and 10.4, the deployment
7011 # target defaults to 10.4. Don't you love it?
7012 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7013 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7014 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7016 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7018 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7022 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7023 _lt_dar_single_mod='$single_module'
7025 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7026 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7028 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7030 if test "$DSYMUTIL" != ":"; then
7031 _lt_dsymutil='~$DSYMUTIL $lib || :'
7039 ac_cpp='$CPP $CPPFLAGS'
7040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7044 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7045 # On Suns, sometimes $CPP names a directory.
7046 if test -n "$CPP" && test -d "$CPP"; then
7049 if test -z "$CPP"; then
7050 if test "${ac_cv_prog_CPP+set}" = set; then :
7051 $as_echo_n "(cached) " >&6
7053 # Double quotes because CPP needs to be expanded
7054 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7057 for ac_c_preproc_warn_flag in '' yes
7059 # Use a header file that comes with gcc, so configuring glibc
7060 # with a fresh cross-compiler works.
7061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7062 # <limits.h> exists even on freestanding compilers.
7063 # On the NeXT, cc -E runs the code through the compiler's parser,
7064 # not just through cpp. "Syntax error" is here to catch this case.
7065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7066 /* end confdefs.h. */
7068 # include <limits.h>
7070 # include <assert.h>
7074 if ac_fn_c_try_cpp "$LINENO"; then :
7077 # Broken: fails on valid input.
7080 rm -f conftest.err conftest.$ac_ext
7082 # OK, works on sane cases. Now check whether nonexistent headers
7083 # can be detected and how.
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #include <ac_nonexistent.h>
7088 if ac_fn_c_try_cpp "$LINENO"; then :
7089 # Broken: success on invalid input.
7092 # Passes both tests.
7096 rm -f conftest.err conftest.$ac_ext
7099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7100 rm -f conftest.err conftest.$ac_ext
7101 if $ac_preproc_ok; then :
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7114 $as_echo "$CPP" >&6; }
7116 for ac_c_preproc_warn_flag in '' yes
7118 # Use a header file that comes with gcc, so configuring glibc
7119 # with a fresh cross-compiler works.
7120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7121 # <limits.h> exists even on freestanding compilers.
7122 # On the NeXT, cc -E runs the code through the compiler's parser,
7123 # not just through cpp. "Syntax error" is here to catch this case.
7124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7125 /* end confdefs.h. */
7127 # include <limits.h>
7129 # include <assert.h>
7133 if ac_fn_c_try_cpp "$LINENO"; then :
7136 # Broken: fails on valid input.
7139 rm -f conftest.err conftest.$ac_ext
7141 # OK, works on sane cases. Now check whether nonexistent headers
7142 # can be detected and how.
7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7144 /* end confdefs.h. */
7145 #include <ac_nonexistent.h>
7147 if ac_fn_c_try_cpp "$LINENO"; then :
7148 # Broken: success on invalid input.
7151 # Passes both tests.
7155 rm -f conftest.err conftest.$ac_ext
7158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7159 rm -f conftest.err conftest.$ac_ext
7160 if $ac_preproc_ok; then :
7163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7165 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7166 See \`config.log' for more details." "$LINENO" 5; }
7170 ac_cpp='$CPP $CPPFLAGS'
7171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7177 $as_echo_n "checking for ANSI C header files... " >&6; }
7178 if test "${ac_cv_header_stdc+set}" = set; then :
7179 $as_echo_n "(cached) " >&6
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7196 if ac_fn_c_try_compile "$LINENO"; then :
7197 ac_cv_header_stdc=yes
7199 ac_cv_header_stdc=no
7201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7203 if test $ac_cv_header_stdc = yes; then
7204 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7211 $EGREP "memchr" >/dev/null 2>&1; then :
7214 ac_cv_header_stdc=no
7220 if test $ac_cv_header_stdc = yes; then
7221 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7228 $EGREP "free" >/dev/null 2>&1; then :
7231 ac_cv_header_stdc=no
7237 if test $ac_cv_header_stdc = yes; then
7238 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7239 if test "$cross_compiling" = yes; then :
7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243 /* end confdefs.h. */
7246 #if ((' ' & 0x0FF) == 0x020)
7247 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7248 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7250 # define ISLOWER(c) \
7251 (('a' <= (c) && (c) <= 'i') \
7252 || ('j' <= (c) && (c) <= 'r') \
7253 || ('s' <= (c) && (c) <= 'z'))
7254 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7257 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7262 for (i = 0; i < 256; i++)
7263 if (XOR (islower (i), ISLOWER (i))
7264 || toupper (i) != TOUPPER (i))
7269 if ac_fn_c_try_run "$LINENO"; then :
7272 ac_cv_header_stdc=no
7274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7275 conftest.$ac_objext conftest.beam conftest.$ac_ext
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7281 $as_echo "$ac_cv_header_stdc" >&6; }
7282 if test $ac_cv_header_stdc = yes; then
7284 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7288 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7289 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7290 inttypes.h stdint.h unistd.h
7292 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7293 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7295 eval as_val=\$$as_ac_Header
7296 if test "x$as_val" = x""yes; then :
7297 cat >>confdefs.h <<_ACEOF
7298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7306 for ac_header in dlfcn.h
7308 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7310 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7311 cat >>confdefs.h <<_ACEOF
7312 #define HAVE_DLFCN_H 1
7322 ac_cpp='$CXXCPP $CPPFLAGS'
7323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7326 if test -z "$CXX"; then
7327 if test -n "$CCC"; then
7330 if test -n "$ac_tool_prefix"; then
7331 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7334 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if test "${ac_cv_prog_CXX+set}" = set; then :
7338 $as_echo_n "(cached) " >&6
7340 if test -n "$CXX"; then
7341 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7350 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 if test -n "$CXX"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7363 $as_echo "$CXX" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 $as_echo "no" >&6; }
7370 test -n "$CXX" && break
7373 if test -z "$CXX"; then
7375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7377 # Extract the first word of "$ac_prog", so it can be a program name with args.
7378 set dummy $ac_prog; ac_word=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 $as_echo_n "checking for $ac_word... " >&6; }
7381 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7382 $as_echo_n "(cached) " >&6
7384 if test -n "$ac_ct_CXX"; then
7385 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7394 ac_cv_prog_ac_ct_CXX="$ac_prog"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7405 if test -n "$ac_ct_CXX"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7407 $as_echo "$ac_ct_CXX" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7414 test -n "$ac_ct_CXX" && break
7417 if test "x$ac_ct_CXX" = x; then
7420 case $cross_compiling:$ac_tool_warned in
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7424 ac_tool_warned=yes ;;
7432 # Provide some information about the compiler.
7433 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7436 for ac_option in --version -v -V -qversion; do
7437 { { ac_try="$ac_compiler $ac_option >&5"
7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7440 *) ac_try_echo=$ac_try;;
7442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7443 $as_echo "$ac_try_echo"; } >&5
7444 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7446 if test -s conftest.err; then
7448 ... rest of stderr output deleted ...
7449 10q' conftest.err >conftest.er1
7450 cat conftest.er1 >&5
7452 rm -f conftest.er1 conftest.err
7453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7454 test $ac_status = 0; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7458 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7459 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7476 if ac_fn_cxx_try_compile "$LINENO"; then :
7481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7482 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7486 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7487 if test $ac_compiler_gnu = yes; then
7492 ac_test_CXXFLAGS=${CXXFLAGS+set}
7493 ac_save_CXXFLAGS=$CXXFLAGS
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7495 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7496 if test "${ac_cv_prog_cxx_g+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7499 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7500 ac_cxx_werror_flag=yes
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7514 if ac_fn_cxx_try_compile "$LINENO"; then :
7515 ac_cv_prog_cxx_g=yes
7518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 /* end confdefs.h. */
7529 if ac_fn_cxx_try_compile "$LINENO"; then :
7532 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7535 /* end confdefs.h. */
7545 if ac_fn_cxx_try_compile "$LINENO"; then :
7546 ac_cv_prog_cxx_g=yes
7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7553 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7556 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7557 if test "$ac_test_CXXFLAGS" = set; then
7558 CXXFLAGS=$ac_save_CXXFLAGS
7559 elif test $ac_cv_prog_cxx_g = yes; then
7560 if test "$GXX" = yes; then
7566 if test "$GXX" = yes; then
7573 ac_cpp='$CPP $CPPFLAGS'
7574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7578 depcc="$CXX" am_compiler_list=
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7581 $as_echo_n "checking dependency style of $depcc... " >&6; }
7582 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7583 $as_echo_n "(cached) " >&6
7585 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7586 # We make a subdir and do the tests there. Otherwise we can end up
7587 # making bogus files that we don't know about and never remove. For
7588 # instance it was reported that on HP-UX the gcc test will end up
7589 # making a dummy file named `D' -- because `-MD' means `put the output
7592 # Copy depcomp to subdir because otherwise we won't find it if we're
7593 # using a relative directory.
7594 cp "$am_depcomp" conftest.dir
7596 # We will build objects and dependencies in a subdirectory because
7597 # it helps to detect inapplicable dependency modes. For instance
7598 # both Tru64's cc and ICC support -MD to output dependencies as a
7599 # side effect of compilation, but ICC will put the dependencies in
7600 # the current directory while Tru64 will put them in the object
7604 am_cv_CXX_dependencies_compiler_type=none
7605 if test "$am_compiler_list" = ""; then
7606 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7609 case " $depcc " in #(
7610 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7613 for depmode in $am_compiler_list; do
7614 # Setup a source with many dependencies, because some compilers
7615 # like to wrap large dependency lists on column 80 (with \), and
7616 # we should not choose a depcomp mode which is confused by this.
7618 # We need to recreate these files for each test, as the compiler may
7619 # overwrite some of them when testing with obscure command lines.
7620 # This happens at least with the AIX C compiler.
7622 for i in 1 2 3 4 5 6; do
7623 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7624 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7625 # Solaris 8's {/usr,}/bin/sh.
7626 touch sub/conftst$i.h
7628 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7630 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7631 # mode. It turns out that the SunPro C++ compiler does not properly
7632 # handle `-M -o', and we need to detect this. Also, some Intel
7633 # versions had trouble with output in subdirs
7634 am__obj=sub/conftest.${OBJEXT-o}
7635 am__minus_obj="-o $am__obj"
7638 # This depmode causes a compiler race in universal mode.
7639 test "$am__universal" = false || continue
7642 # after this tag, mechanisms are not by side-effect, so they'll
7643 # only be used when explicitly requested
7644 if test "x$enable_dependency_tracking" = xyes; then
7650 msvisualcpp | msvcmsys)
7651 # This compiler won't grok `-c -o', but also, the minuso test has
7652 # not run yet. These depmodes are late enough in the game, and
7653 # so weak that their functioning should not be impacted.
7654 am__obj=conftest.${OBJEXT-o}
7659 if depmode=$depmode \
7660 source=sub/conftest.c object=$am__obj \
7661 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7662 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7663 >/dev/null 2>conftest.err &&
7664 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7665 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7666 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7667 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7668 # icc doesn't choke on unknown options, it will just issue warnings
7669 # or remarks (even with -Werror). So we grep stderr for any message
7670 # that says an option was ignored or not supported.
7671 # When given -MP, icc 7.0 and 7.1 complain thusly:
7672 # icc: Command line warning: ignoring option '-M'; no argument required
7673 # The diagnosis changed in icc 8.0:
7674 # icc: Command line remark: option '-MP' not supported
7675 if (grep 'ignoring option' conftest.err ||
7676 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7677 am_cv_CXX_dependencies_compiler_type=$depmode
7686 am_cv_CXX_dependencies_compiler_type=none
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7691 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7692 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7695 test "x$enable_dependency_tracking" != xno \
7696 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7697 am__fastdepCXX_TRUE=
7698 am__fastdepCXX_FALSE='#'
7700 am__fastdepCXX_TRUE='#'
7701 am__fastdepCXX_FALSE=
7705 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7706 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7707 (test "X$CXX" != "Xg++"))) ; then
7709 ac_cpp='$CXXCPP $CPPFLAGS'
7710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7714 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7715 if test -z "$CXXCPP"; then
7716 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7717 $as_echo_n "(cached) " >&6
7719 # Double quotes because CXXCPP needs to be expanded
7720 for CXXCPP in "$CXX -E" "/lib/cpp"
7723 for ac_cxx_preproc_warn_flag in '' yes
7725 # Use a header file that comes with gcc, so configuring glibc
7726 # with a fresh cross-compiler works.
7727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7728 # <limits.h> exists even on freestanding compilers.
7729 # On the NeXT, cc -E runs the code through the compiler's parser,
7730 # not just through cpp. "Syntax error" is here to catch this case.
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7734 # include <limits.h>
7736 # include <assert.h>
7740 if ac_fn_cxx_try_cpp "$LINENO"; then :
7743 # Broken: fails on valid input.
7746 rm -f conftest.err conftest.$ac_ext
7748 # OK, works on sane cases. Now check whether nonexistent headers
7749 # can be detected and how.
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 #include <ac_nonexistent.h>
7754 if ac_fn_cxx_try_cpp "$LINENO"; then :
7755 # Broken: success on invalid input.
7758 # Passes both tests.
7762 rm -f conftest.err conftest.$ac_ext
7765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7766 rm -f conftest.err conftest.$ac_ext
7767 if $ac_preproc_ok; then :
7772 ac_cv_prog_CXXCPP=$CXXCPP
7775 CXXCPP=$ac_cv_prog_CXXCPP
7777 ac_cv_prog_CXXCPP=$CXXCPP
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7780 $as_echo "$CXXCPP" >&6; }
7782 for ac_cxx_preproc_warn_flag in '' yes
7784 # Use a header file that comes with gcc, so configuring glibc
7785 # with a fresh cross-compiler works.
7786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7787 # <limits.h> exists even on freestanding compilers.
7788 # On the NeXT, cc -E runs the code through the compiler's parser,
7789 # not just through cpp. "Syntax error" is here to catch this case.
7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h. */
7793 # include <limits.h>
7795 # include <assert.h>
7799 if ac_fn_cxx_try_cpp "$LINENO"; then :
7802 # Broken: fails on valid input.
7805 rm -f conftest.err conftest.$ac_ext
7807 # OK, works on sane cases. Now check whether nonexistent headers
7808 # can be detected and how.
7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7811 #include <ac_nonexistent.h>
7813 if ac_fn_cxx_try_cpp "$LINENO"; then :
7814 # Broken: success on invalid input.
7817 # Passes both tests.
7821 rm -f conftest.err conftest.$ac_ext
7824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7825 rm -f conftest.err conftest.$ac_ext
7826 if $ac_preproc_ok; then :
7829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7831 _lt_caught_CXX_error=yes; }
7835 ac_cpp='$CPP $CPPFLAGS'
7836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7841 _lt_caught_CXX_error=yes
7856 # Check whether --enable-shared was given.
7857 if test "${enable_shared+set}" = set; then :
7858 enableval=$enable_shared; p=${PACKAGE-default}
7860 yes) enable_shared=yes ;;
7861 no) enable_shared=no ;;
7864 # Look at the argument we got. We use all the common list separators.
7865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866 for pkg in $enableval; do
7868 if test "X$pkg" = "X$p"; then
7887 # Check whether --enable-static was given.
7888 if test "${enable_static+set}" = set; then :
7889 enableval=$enable_static; p=${PACKAGE-default}
7891 yes) enable_static=yes ;;
7892 no) enable_static=no ;;
7895 # Look at the argument we got. We use all the common list separators.
7896 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7897 for pkg in $enableval; do
7899 if test "X$pkg" = "X$p"; then
7919 # Check whether --with-pic was given.
7920 if test "${with_pic+set}" = set; then :
7921 withval=$with_pic; pic_mode="$withval"
7927 test -z "$pic_mode" && pic_mode=default
7935 # Check whether --enable-fast-install was given.
7936 if test "${enable_fast_install+set}" = set; then :
7937 enableval=$enable_fast_install; p=${PACKAGE-default}
7939 yes) enable_fast_install=yes ;;
7940 no) enable_fast_install=no ;;
7942 enable_fast_install=no
7943 # Look at the argument we got. We use all the common list separators.
7944 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7945 for pkg in $enableval; do
7947 if test "X$pkg" = "X$p"; then
7948 enable_fast_install=yes
7955 enable_fast_install=yes
7968 # This can be used to rebuild libtool when needed
7969 LIBTOOL_DEPS="$ltmain"
7971 # Always use our own libtool.
7972 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7998 test -z "$LN_S" && LN_S="ln -s"
8013 if test -n "${ZSH_VERSION+set}" ; then
8014 setopt NO_GLOB_SUBST
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8018 $as_echo_n "checking for objdir... " >&6; }
8019 if test "${lt_cv_objdir+set}" = set; then :
8020 $as_echo_n "(cached) " >&6
8022 rm -f .libs 2>/dev/null
8023 mkdir .libs 2>/dev/null
8024 if test -d .libs; then
8027 # MS-DOS does not allow filenames that begin with a dot.
8030 rmdir .libs 2>/dev/null
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8033 $as_echo "$lt_cv_objdir" >&6; }
8034 objdir=$lt_cv_objdir
8040 cat >>confdefs.h <<_ACEOF
8041 #define LT_OBJDIR "$lt_cv_objdir/"
8062 # AIX sometimes has problems with the GCC collect2 program. For some
8063 # reason, if we set the COLLECT_NAMES environment variable, the problems
8064 # vanish in a puff of smoke.
8065 if test "X${COLLECT_NAMES+set}" != Xset; then
8067 export COLLECT_NAMES
8072 # Sed substitution that helps us do robust quoting. It backslashifies
8073 # metacharacters that are still active within double-quoted strings.
8074 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8076 # Same as above, but do not quote variable references.
8077 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8079 # Sed substitution to delay expansion of an escaped shell variable in a
8080 # double_quote_subst'ed string.
8081 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8083 # Sed substitution to delay expansion of an escaped single quote.
8084 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8086 # Sed substitution to avoid accidental globbing in evaled expressions
8087 no_glob_subst='s/\*/\\\*/g'
8091 can_build_shared=yes
8093 # All known linkers require a `.a' archive for static linking (except MSVC,
8094 # which needs '.lib').
8097 with_gnu_ld="$lt_cv_prog_gnu_ld"
8100 old_CFLAGS="$CFLAGS"
8102 # Set sane defaults for various variables
8103 test -z "$CC" && CC=cc
8104 test -z "$LTCC" && LTCC=$CC
8105 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8106 test -z "$LD" && LD=ld
8107 test -z "$ac_objext" && ac_objext=o
8109 for cc_temp in $compiler""; do
8111 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8112 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8117 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8120 # Only perform the check for file, if the check method requires it
8121 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8122 case $deplibs_check_method in
8124 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8126 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8127 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8128 $as_echo_n "(cached) " >&6
8132 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8135 lt_save_MAGIC_CMD="$MAGIC_CMD"
8136 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8137 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8138 for ac_dir in $ac_dummy; do
8140 test -z "$ac_dir" && ac_dir=.
8141 if test -f $ac_dir/${ac_tool_prefix}file; then
8142 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8143 if test -n "$file_magic_test_file"; then
8144 case $deplibs_check_method in
8146 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8147 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8148 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8149 $EGREP "$file_magic_regex" > /dev/null; then
8154 *** Warning: the command libtool uses to detect shared libraries,
8155 *** $file_magic_cmd, produces output that libtool cannot recognize.
8156 *** The result is that libtool may fail to recognize shared libraries
8157 *** as such. This will affect the creation of libtool libraries that
8158 *** depend on shared libraries, but programs linked with such libtool
8159 *** libraries will work regardless of this problem. Nevertheless, you
8160 *** may want to report the problem to your system manager and/or to
8161 *** bug-libtool@gnu.org
8171 MAGIC_CMD="$lt_save_MAGIC_CMD"
8176 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8177 if test -n "$MAGIC_CMD"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8179 $as_echo "$MAGIC_CMD" >&6; }
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8182 $as_echo "no" >&6; }
8189 if test -z "$lt_cv_path_MAGIC_CMD"; then
8190 if test -n "$ac_tool_prefix"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8192 $as_echo_n "checking for file... " >&6; }
8193 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8194 $as_echo_n "(cached) " >&6
8198 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8201 lt_save_MAGIC_CMD="$MAGIC_CMD"
8202 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8203 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8204 for ac_dir in $ac_dummy; do
8206 test -z "$ac_dir" && ac_dir=.
8207 if test -f $ac_dir/file; then
8208 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8209 if test -n "$file_magic_test_file"; then
8210 case $deplibs_check_method in
8212 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8213 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8214 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8215 $EGREP "$file_magic_regex" > /dev/null; then
8220 *** Warning: the command libtool uses to detect shared libraries,
8221 *** $file_magic_cmd, produces output that libtool cannot recognize.
8222 *** The result is that libtool may fail to recognize shared libraries
8223 *** as such. This will affect the creation of libtool libraries that
8224 *** depend on shared libraries, but programs linked with such libtool
8225 *** libraries will work regardless of this problem. Nevertheless, you
8226 *** may want to report the problem to your system manager and/or to
8227 *** bug-libtool@gnu.org
8237 MAGIC_CMD="$lt_save_MAGIC_CMD"
8242 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8243 if test -n "$MAGIC_CMD"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8245 $as_echo "$MAGIC_CMD" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8248 $as_echo "no" >&6; }
8261 # Use C for the default configuration in the libtool script
8265 ac_cpp='$CPP $CPPFLAGS'
8266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8271 # Source file extension for C test sources.
8274 # Object file extension for compiled C test sources.
8278 # Code to be used in simple compile tests
8279 lt_simple_compile_test_code="int some_variable = 0;"
8281 # Code to be used in simple link tests
8282 lt_simple_link_test_code='int main(){return(0);}'
8290 # If no C compiler was specified, use CC.
8293 # If no C compiler flags were specified, use CFLAGS.
8294 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8296 # Allow CC to be a program name with arguments.
8299 # Save the default compiler, since it gets overwritten when the other
8300 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8301 compiler_DEFAULT=$CC
8303 # save warnings/boilerplate of simple test code
8304 ac_outfile=conftest.$ac_objext
8305 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8306 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8307 _lt_compiler_boilerplate=`cat conftest.err`
8310 ac_outfile=conftest.$ac_objext
8311 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8312 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8313 _lt_linker_boilerplate=`cat conftest.err`
8318 ## There is no encapsulation within the following macros, do not change
8319 ## the running order or otherwise move them around unless you know exactly
8320 ## what you are doing...
8321 if test -n "$compiler"; then
8323 lt_prog_compiler_no_builtin_flag=
8325 if test "$GCC" = yes; then
8326 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8329 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8330 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8331 $as_echo_n "(cached) " >&6
8333 lt_cv_prog_compiler_rtti_exceptions=no
8334 ac_outfile=conftest.$ac_objext
8335 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8336 lt_compiler_flag="-fno-rtti -fno-exceptions"
8337 # Insert the option either (1) after the last *FLAGS variable, or
8338 # (2) before a word containing "conftest.", or (3) at the end.
8339 # Note that $ac_compile itself does not contain backslashes and begins
8340 # with a dollar sign (not a hyphen), so the echo should work correctly.
8341 # The option is referenced via a variable to avoid confusing sed.
8342 lt_compile=`echo "$ac_compile" | $SED \
8343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8345 -e 's:$: $lt_compiler_flag:'`
8346 (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
8347 (eval "$lt_compile" 2>conftest.err)
8349 cat conftest.err >&5
8350 echo "$as_me:8350: \$? = $ac_status" >&5
8351 if (exit $ac_status) && test -s "$ac_outfile"; then
8352 # The compiler can only warn and ignore the option if not recognized
8353 # So say no if there are warnings other than the usual output.
8354 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8355 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8356 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8357 lt_cv_prog_compiler_rtti_exceptions=yes
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8364 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8366 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8367 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8379 lt_prog_compiler_wl=
8380 lt_prog_compiler_pic=
8381 lt_prog_compiler_static=
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8384 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8386 if test "$GCC" = yes; then
8387 lt_prog_compiler_wl='-Wl,'
8388 lt_prog_compiler_static='-static'
8392 # All AIX code is PIC.
8393 if test "$host_cpu" = ia64; then
8394 # AIX 5 now supports IA64 processor
8395 lt_prog_compiler_static='-Bstatic'
8402 # see comment about AmigaOS4 .so support
8403 lt_prog_compiler_pic='-fPIC'
8406 # FIXME: we need at least 68020 code to build shared libraries, but
8407 # adding the `-m68020' flag to GCC prevents building anything better,
8409 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8414 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8415 # PIC is the default for these OSes.
8418 mingw* | cygwin* | pw32* | os2* | cegcc*)
8419 # This hack is so that the source file can tell whether it is being
8420 # built for inclusion in a dll (and should export symbols for example).
8421 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8422 # (--disable-auto-import) libraries
8423 lt_prog_compiler_pic='-DDLL_EXPORT'
8426 darwin* | rhapsody*)
8427 # PIC is the default on this platform
8428 # Common symbols not allowed in MH_DYLIB files
8429 lt_prog_compiler_pic='-fno-common'
8433 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8434 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8435 # sets the default TLS model and affects inlining.
8441 lt_prog_compiler_pic='-fPIC'
8447 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8448 # Instead, we relocate shared libraries at runtime.
8452 # Just because we use GCC doesn't mean we suddenly get shared libraries
8453 # on systems that don't support them.
8454 lt_prog_compiler_can_build_shared=no
8459 # QNX uses GNU C++, but need to define -shared option too, otherwise
8461 lt_prog_compiler_pic='-fPIC -shared'
8465 if test -d /usr/nec; then
8466 lt_prog_compiler_pic=-Kconform_pic
8471 lt_prog_compiler_pic='-fPIC'
8475 # PORTME Check for flag to pass linker flags through the system compiler.
8478 lt_prog_compiler_wl='-Wl,'
8479 if test "$host_cpu" = ia64; then
8480 # AIX 5 now supports IA64 processor
8481 lt_prog_compiler_static='-Bstatic'
8483 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8487 mingw* | cygwin* | pw32* | os2* | cegcc*)
8488 # This hack is so that the source file can tell whether it is being
8489 # built for inclusion in a dll (and should export symbols for example).
8490 lt_prog_compiler_pic='-DDLL_EXPORT'
8493 hpux9* | hpux10* | hpux11*)
8494 lt_prog_compiler_wl='-Wl,'
8495 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8502 lt_prog_compiler_pic='+Z'
8505 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8506 lt_prog_compiler_static='${wl}-a ${wl}archive'
8509 irix5* | irix6* | nonstopux*)
8510 lt_prog_compiler_wl='-Wl,'
8511 # PIC (with -KPIC) is the default.
8512 lt_prog_compiler_static='-non_shared'
8515 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8516 case $cc_basename in
8517 # old Intel for x86_64 which still supported -KPIC.
8519 lt_prog_compiler_wl='-Wl,'
8520 lt_prog_compiler_pic='-KPIC'
8521 lt_prog_compiler_static='-static'
8523 # icc used to be incompatible with GCC.
8524 # ICC 10 doesn't accept -KPIC any more.
8526 lt_prog_compiler_wl='-Wl,'
8527 lt_prog_compiler_pic='-fPIC'
8528 lt_prog_compiler_static='-static'
8530 # Lahey Fortran 8.1.
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_pic='--shared'
8534 lt_prog_compiler_static='--static'
8536 pgcc* | pgf77* | pgf90* | pgf95*)
8537 # Portland Group compilers (*not* the Pentium gcc compiler,
8538 # which looks to be a dead project)
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_pic='-fpic'
8541 lt_prog_compiler_static='-Bstatic'
8544 lt_prog_compiler_wl='-Wl,'
8545 # All Alpha code is PIC.
8546 lt_prog_compiler_static='-non_shared'
8549 # IBM XL C 8.0/Fortran 10.1 on PPC
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_pic='-qpic'
8552 lt_prog_compiler_static='-qstaticlink'
8555 case `$CC -V 2>&1 | sed 5q` in
8558 lt_prog_compiler_pic='-KPIC'
8559 lt_prog_compiler_static='-Bstatic'
8560 lt_prog_compiler_wl='-Wl,'
8563 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8564 lt_prog_compiler_pic='-KPIC'
8565 lt_prog_compiler_static='-Bstatic'
8566 lt_prog_compiler_wl=''
8574 lt_prog_compiler_pic='-KPIC'
8575 lt_prog_compiler_static='-Bstatic'
8579 # QNX uses GNU C++, but need to define -shared option too, otherwise
8581 lt_prog_compiler_pic='-fPIC -shared'
8584 osf3* | osf4* | osf5*)
8585 lt_prog_compiler_wl='-Wl,'
8586 # All OSF/1 code is PIC.
8587 lt_prog_compiler_static='-non_shared'
8591 lt_prog_compiler_static='-non_shared'
8595 lt_prog_compiler_pic='-KPIC'
8596 lt_prog_compiler_static='-Bstatic'
8597 case $cc_basename in
8599 lt_prog_compiler_wl='-Qoption ld ';;
8601 lt_prog_compiler_wl='-Wl,';;
8606 lt_prog_compiler_wl='-Qoption ld '
8607 lt_prog_compiler_pic='-PIC'
8608 lt_prog_compiler_static='-Bstatic'
8611 sysv4 | sysv4.2uw2* | sysv4.3*)
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_pic='-KPIC'
8614 lt_prog_compiler_static='-Bstatic'
8618 if test -d /usr/nec ;then
8619 lt_prog_compiler_pic='-Kconform_pic'
8620 lt_prog_compiler_static='-Bstatic'
8624 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_pic='-KPIC'
8627 lt_prog_compiler_static='-Bstatic'
8631 lt_prog_compiler_wl='-Wl,'
8632 lt_prog_compiler_can_build_shared=no
8636 lt_prog_compiler_pic='-pic'
8637 lt_prog_compiler_static='-Bstatic'
8641 lt_prog_compiler_can_build_shared=no
8647 # For platforms which do not support PIC, -DPIC is meaningless:
8649 lt_prog_compiler_pic=
8652 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8656 $as_echo "$lt_prog_compiler_pic" >&6; }
8664 # Check to make sure the PIC flag actually works.
8666 if test -n "$lt_prog_compiler_pic"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8668 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8669 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8670 $as_echo_n "(cached) " >&6
8672 lt_cv_prog_compiler_pic_works=no
8673 ac_outfile=conftest.$ac_objext
8674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8675 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8676 # Insert the option either (1) after the last *FLAGS variable, or
8677 # (2) before a word containing "conftest.", or (3) at the end.
8678 # Note that $ac_compile itself does not contain backslashes and begins
8679 # with a dollar sign (not a hyphen), so the echo should work correctly.
8680 # The option is referenced via a variable to avoid confusing sed.
8681 lt_compile=`echo "$ac_compile" | $SED \
8682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8684 -e 's:$: $lt_compiler_flag:'`
8685 (eval echo "\"\$as_me:8685: $lt_compile\"" >&5)
8686 (eval "$lt_compile" 2>conftest.err)
8688 cat conftest.err >&5
8689 echo "$as_me:8689: \$? = $ac_status" >&5
8690 if (exit $ac_status) && test -s "$ac_outfile"; then
8691 # The compiler can only warn and ignore the option if not recognized
8692 # So say no if there are warnings other than the usual output.
8693 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8694 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8695 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8696 lt_cv_prog_compiler_pic_works=yes
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8703 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8705 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8706 case $lt_prog_compiler_pic in
8708 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8711 lt_prog_compiler_pic=
8712 lt_prog_compiler_can_build_shared=no
8723 # Check to make sure the static flag actually works.
8725 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8727 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8728 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8729 $as_echo_n "(cached) " >&6
8731 lt_cv_prog_compiler_static_works=no
8732 save_LDFLAGS="$LDFLAGS"
8733 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8734 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8735 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8736 # The linker can only warn and ignore the option if not recognized
8737 # So say no if there are warnings
8738 if test -s conftest.err; then
8739 # Append any errors to the config.log.
8740 cat conftest.err 1>&5
8741 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8743 if diff conftest.exp conftest.er2 >/dev/null; then
8744 lt_cv_prog_compiler_static_works=yes
8747 lt_cv_prog_compiler_static_works=yes
8751 LDFLAGS="$save_LDFLAGS"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8755 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8757 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8760 lt_prog_compiler_static=
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8770 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8771 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8772 $as_echo_n "(cached) " >&6
8774 lt_cv_prog_compiler_c_o=no
8775 $RM -r conftest 2>/dev/null
8779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8781 lt_compiler_flag="-o out/conftest2.$ac_objext"
8782 # Insert the option either (1) after the last *FLAGS variable, or
8783 # (2) before a word containing "conftest.", or (3) at the end.
8784 # Note that $ac_compile itself does not contain backslashes and begins
8785 # with a dollar sign (not a hyphen), so the echo should work correctly.
8786 lt_compile=`echo "$ac_compile" | $SED \
8787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8789 -e 's:$: $lt_compiler_flag:'`
8790 (eval echo "\"\$as_me:8790: $lt_compile\"" >&5)
8791 (eval "$lt_compile" 2>out/conftest.err)
8793 cat out/conftest.err >&5
8794 echo "$as_me:8794: \$? = $ac_status" >&5
8795 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8797 # The compiler can only warn and ignore the option if not recognized
8798 # So say no if there are warnings
8799 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8800 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8801 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8802 lt_cv_prog_compiler_c_o=yes
8807 # SGI C++ compiler will create directory out/ii_files/ for
8808 # template instantiation
8809 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8810 $RM out/* && rmdir out
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8817 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8825 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8826 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8827 $as_echo_n "(cached) " >&6
8829 lt_cv_prog_compiler_c_o=no
8830 $RM -r conftest 2>/dev/null
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8836 lt_compiler_flag="-o out/conftest2.$ac_objext"
8837 # Insert the option either (1) after the last *FLAGS variable, or
8838 # (2) before a word containing "conftest.", or (3) at the end.
8839 # Note that $ac_compile itself does not contain backslashes and begins
8840 # with a dollar sign (not a hyphen), so the echo should work correctly.
8841 lt_compile=`echo "$ac_compile" | $SED \
8842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8844 -e 's:$: $lt_compiler_flag:'`
8845 (eval echo "\"\$as_me:8845: $lt_compile\"" >&5)
8846 (eval "$lt_compile" 2>out/conftest.err)
8848 cat out/conftest.err >&5
8849 echo "$as_me:8849: \$? = $ac_status" >&5
8850 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8852 # The compiler can only warn and ignore the option if not recognized
8853 # So say no if there are warnings
8854 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8855 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8856 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8857 lt_cv_prog_compiler_c_o=yes
8862 # SGI C++ compiler will create directory out/ii_files/ for
8863 # template instantiation
8864 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8865 $RM out/* && rmdir out
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8872 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8877 hard_links="nottested"
8878 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8879 # do not overwrite the value of need_locks provided by the user
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8881 $as_echo_n "checking if we can lock with hard links... " >&6; }
8884 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8886 ln conftest.a conftest.b 2>&5 || hard_links=no
8887 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8889 $as_echo "$hard_links" >&6; }
8890 if test "$hard_links" = no; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8892 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8905 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8908 allow_undefined_flag=
8909 always_export_symbols=no
8911 archive_expsym_cmds=
8912 compiler_needs_object=no
8913 enable_shared_with_static_runtimes=no
8914 export_dynamic_flag_spec=
8915 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8916 hardcode_automatic=no
8918 hardcode_direct_absolute=no
8919 hardcode_libdir_flag_spec=
8920 hardcode_libdir_flag_spec_ld=
8921 hardcode_libdir_separator=
8923 hardcode_shlibpath_var=unsupported
8925 link_all_deplibs=unknown
8928 old_archive_from_new_cmds=
8929 old_archive_from_expsyms_cmds=
8930 thread_safe_flag_spec=
8931 whole_archive_flag_spec=
8932 # include_expsyms should be a list of space-separated symbols to be *always*
8933 # included in the symbol list
8935 # exclude_expsyms can be an extended regexp of symbols to exclude
8936 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8937 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8938 # as well as any symbol that contains `d'.
8939 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8940 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8941 # platforms (ab)use it in PIC code, but their linkers get confused if
8942 # the symbol is explicitly referenced. Since portable code cannot
8943 # rely on this symbol name, it's probably fine to never include it in
8944 # preloaded symbol tables.
8945 # Exclude shared library initialization/finalization symbols.
8946 extract_expsyms_cmds=
8949 cygwin* | mingw* | pw32* | cegcc*)
8950 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8951 # When not using gcc, we currently assume that we are using
8952 # Microsoft Visual C++.
8953 if test "$GCC" != yes; then
8958 # we just hope/assume this is gcc and not c89 (= MSVC++)
8964 linux* | k*bsd*-gnu)
8970 if test "$with_gnu_ld" = yes; then
8971 # If archive_cmds runs LD, not CC, wlarc should be empty
8974 # Set some defaults for GNU ld with shared library support. These
8975 # are reset later if shared libraries are not supported. Putting them
8976 # here allows them to be overridden if necessary.
8977 runpath_var=LD_RUN_PATH
8978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8979 export_dynamic_flag_spec='${wl}--export-dynamic'
8980 # ancient GNU ld didn't support --whole-archive et. al.
8981 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8982 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8984 whole_archive_flag_spec=
8986 supports_anon_versioning=no
8987 case `$LD -v 2>&1` in
8988 *GNU\ gold*) supports_anon_versioning=yes ;;
8989 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8990 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8991 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8992 *\ 2.11.*) ;; # other 2.11 versions
8993 *) supports_anon_versioning=yes ;;
8996 # See if GNU ld supports shared libraries.
8999 # On AIX/PPC, the GNU linker is very broken
9000 if test "$host_cpu" != ia64; then
9004 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9005 *** to be unable to reliably create shared libraries on AIX.
9006 *** Therefore, libtool is disabling shared libraries support. If you
9007 *** really care for shared libraries, you may want to modify your PATH
9008 *** so that a non-GNU linker is found, and then restart.
9017 # see comment about AmigaOS4 .so support
9018 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9019 archive_expsym_cmds=''
9022 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)'
9023 hardcode_libdir_flag_spec='-L$libdir'
9024 hardcode_minus_L=yes
9030 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9031 allow_undefined_flag=unsupported
9032 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9033 # support --undefined. This deserves some investigation. FIXME
9034 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9040 cygwin* | mingw* | pw32* | cegcc*)
9041 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9042 # as there is no search path for DLLs.
9043 hardcode_libdir_flag_spec='-L$libdir'
9044 allow_undefined_flag=unsupported
9045 always_export_symbols=no
9046 enable_shared_with_static_runtimes=yes
9047 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9049 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9050 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9051 # If the export-symbols file already is a .def file (1st line
9052 # is EXPORTS), use it as is; otherwise, prepend...
9053 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9054 cp $export_symbols $output_objdir/$soname.def;
9056 echo EXPORTS > $output_objdir/$soname.def;
9057 cat $export_symbols >> $output_objdir/$soname.def;
9059 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9067 hardcode_shlibpath_var=no
9068 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9069 export_dynamic_flag_spec='${wl}-E'
9070 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9071 # Instead, shared libraries are loaded at an image base (0x10000000 by
9072 # default) and relocated if they conflict, which is a slow very memory
9073 # consuming and fragmenting process. To avoid this, we pick a random,
9074 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9075 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9076 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9077 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'
9080 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9082 if test "$host_os" = linux-dietlibc; then
9083 case $cc_basename in
9084 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9087 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9088 && test "$tmp_diet" = no
9091 tmp_sharedflag='-shared'
9092 case $cc_basename,$host_cpu in
9093 pgcc*) # Portland Group C compiler
9094 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'
9095 tmp_addflag=' $pic_flag'
9097 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9098 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'
9099 tmp_addflag=' $pic_flag -Mnomain' ;;
9100 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9101 tmp_addflag=' -i_dynamic' ;;
9102 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9103 tmp_addflag=' -i_dynamic -nofor_main' ;;
9104 ifc* | ifort*) # Intel Fortran compiler
9105 tmp_addflag=' -nofor_main' ;;
9106 lf95*) # Lahey Fortran 8.1
9107 whole_archive_flag_spec=
9108 tmp_sharedflag='--shared' ;;
9109 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9110 tmp_sharedflag='-qmkshrobj'
9113 case `$CC -V 2>&1 | sed 5q` in
9114 *Sun\ C*) # Sun C 5.9
9115 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'
9116 compiler_needs_object=yes
9117 tmp_sharedflag='-G' ;;
9118 *Sun\ F*) # Sun Fortran 8.3
9119 tmp_sharedflag='-G' ;;
9121 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123 if test "x$supports_anon_versioning" = xyes; then
9124 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9125 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9126 echo "local: *; };" >> $output_objdir/$libname.ver~
9127 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9130 case $cc_basename in
9132 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9133 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9134 hardcode_libdir_flag_spec=
9135 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9136 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9137 if test "x$supports_anon_versioning" = xyes; then
9138 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9139 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9140 echo "local: *; };" >> $output_objdir/$libname.ver~
9141 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9150 netbsd* | netbsdelf*-gnu)
9151 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9152 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9156 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9161 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9165 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9166 *** create shared libraries on Solaris systems. Therefore, libtool
9167 *** is disabling shared libraries support. We urge you to upgrade GNU
9168 *** binutils to release 2.9.1 or newer. Another option is to modify
9169 *** your PATH or compiler configuration so that the native linker is
9170 *** used, and then restart.
9173 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9174 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9175 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9181 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9182 case `$LD -v 2>&1` in
9183 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9187 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9188 *** reliably create shared libraries on SCO systems. Therefore, libtool
9189 *** is disabling shared libraries support. We urge you to upgrade GNU
9190 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9191 *** your PATH or compiler configuration so that the native linker is
9192 *** used, and then restart.
9197 # For security reasons, it is highly recommended that you always
9198 # use absolute paths for naming shared libraries, and exclude the
9199 # DT_RUNPATH tag from executables and libraries. But doing so
9200 # requires that you compile everything twice, which is a pain.
9201 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9202 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9203 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9204 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9213 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9216 hardcode_shlibpath_var=no
9220 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9221 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9222 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9229 if test "$ld_shlibs" = no; then
9231 hardcode_libdir_flag_spec=
9232 export_dynamic_flag_spec=
9233 whole_archive_flag_spec=
9236 # PORTME fill in a description of your system's linker (not GNU ld)
9239 allow_undefined_flag=unsupported
9240 always_export_symbols=yes
9241 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'
9242 # Note: this linker hardcodes the directories in LIBPATH if there
9243 # are no directories specified by -L.
9244 hardcode_minus_L=yes
9245 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9246 # Neither direct hardcoding nor static linking is supported with a
9248 hardcode_direct=unsupported
9253 if test "$host_cpu" = ia64; then
9254 # On IA64, the linker does run time linking by default, so we don't
9255 # have to do anything special.
9256 aix_use_runtimelinking=no
9257 exp_sym_flag='-Bexport'
9260 # If we're using GNU nm, then we don't want the "-C" option.
9261 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9262 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9263 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'
9265 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'
9267 aix_use_runtimelinking=no
9269 # Test if we are trying to use run time linking or normal
9270 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9271 # need to do runtime linking.
9272 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9273 for ld_flag in $LDFLAGS; do
9274 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9275 aix_use_runtimelinking=yes
9282 exp_sym_flag='-bexport'
9283 no_entry_flag='-bnoentry'
9286 # When large executables or shared objects are built, AIX ld can
9287 # have problems creating the table of contents. If linking a library
9288 # or program results in "error TOC overflow" add -mminimal-toc to
9289 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9290 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9294 hardcode_direct_absolute=yes
9295 hardcode_libdir_separator=':'
9296 link_all_deplibs=yes
9297 file_list_spec='${wl}-f,'
9299 if test "$GCC" = yes; then
9300 case $host_os in aix4.[012]|aix4.[012].*)
9301 # We only want to do this on AIX 4.2 and lower, the check
9302 # below for broken collect2 doesn't work under 4.3+
9303 collect2name=`${CC} -print-prog-name=collect2`
9304 if test -f "$collect2name" &&
9305 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9307 # We have reworked collect2
9310 # We have old collect2
9311 hardcode_direct=unsupported
9312 # It fails to find uninstalled libraries when the uninstalled
9313 # path is not listed in the libpath. Setting hardcode_minus_L
9314 # to unsupported forces relinking
9315 hardcode_minus_L=yes
9316 hardcode_libdir_flag_spec='-L$libdir'
9317 hardcode_libdir_separator=
9321 shared_flag='-shared'
9322 if test "$aix_use_runtimelinking" = yes; then
9323 shared_flag="$shared_flag "'${wl}-G'
9328 if test "$host_cpu" = ia64; then
9329 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9330 # chokes on -Wl,-G. The following line is correct:
9333 if test "$aix_use_runtimelinking" = yes; then
9334 shared_flag='${wl}-G'
9336 shared_flag='${wl}-bM:SRE'
9341 export_dynamic_flag_spec='${wl}-bexpall'
9342 # It seems that -bexpall does not export symbols beginning with
9343 # underscore (_), so it is better to generate a list of symbols to export.
9344 always_export_symbols=yes
9345 if test "$aix_use_runtimelinking" = yes; then
9346 # Warning - without using the other runtime loading flags (-brtl),
9347 # -berok will link without error, but may produce a broken library.
9348 allow_undefined_flag='-berok'
9349 # Determine the default libpath from the value encoded in an
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9362 if ac_fn_c_try_link "$LINENO"; then :
9364 lt_aix_libpath_sed='
9365 /Import File Strings/,/^$/ {
9371 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9372 # Check for a 64-bit object if we didn't find anything.
9373 if test -z "$aix_libpath"; then
9374 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9381 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9382 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"
9384 if test "$host_cpu" = ia64; then
9385 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9386 allow_undefined_flag="-z nodefs"
9387 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"
9389 # Determine the default libpath from the value encoded in an
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9402 if ac_fn_c_try_link "$LINENO"; then :
9404 lt_aix_libpath_sed='
9405 /Import File Strings/,/^$/ {
9411 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9412 # Check for a 64-bit object if we didn't find anything.
9413 if test -z "$aix_libpath"; then
9414 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9421 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9422 # Warning - without using the other run time loading flags,
9423 # -berok will link without error, but may produce a broken library.
9424 no_undefined_flag=' ${wl}-bernotok'
9425 allow_undefined_flag=' ${wl}-berok'
9426 # Exported symbols can be pulled into shared objects from archives
9427 whole_archive_flag_spec='$convenience'
9428 archive_cmds_need_lc=yes
9429 # This is similar to how AIX traditionally builds its shared libraries.
9430 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'
9438 # see comment about AmigaOS4 .so support
9439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9440 archive_expsym_cmds=''
9443 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)'
9444 hardcode_libdir_flag_spec='-L$libdir'
9445 hardcode_minus_L=yes
9451 export_dynamic_flag_spec=-rdynamic
9454 cygwin* | mingw* | pw32* | cegcc*)
9455 # When not using gcc, we currently assume that we are using
9456 # Microsoft Visual C++.
9457 # hardcode_libdir_flag_spec is actually meaningless, as there is
9458 # no search path for DLLs.
9459 hardcode_libdir_flag_spec=' '
9460 allow_undefined_flag=unsupported
9461 # Tell ltmain to make .lib files, not .a files.
9463 # Tell ltmain to make .dll files, not .so files.
9465 # FIXME: Setting linknames here is a bad hack.
9466 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9467 # The linker will automatically build a .lib file if we build a DLL.
9468 old_archive_from_new_cmds='true'
9469 # FIXME: Should let the user specify the lib program.
9470 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9471 fix_srcfile_path='`cygpath -w "$srcfile"`'
9472 enable_shared_with_static_runtimes=yes
9475 darwin* | rhapsody*)
9478 archive_cmds_need_lc=no
9480 hardcode_automatic=yes
9481 hardcode_shlibpath_var=unsupported
9482 whole_archive_flag_spec=''
9483 link_all_deplibs=yes
9484 allow_undefined_flag="$_lt_dar_allow_undefined"
9485 case $cc_basename in
9486 ifort*) _lt_dar_can_shared=yes ;;
9487 *) _lt_dar_can_shared=$GCC ;;
9489 if test "$_lt_dar_can_shared" = "yes"; then
9490 output_verbose_link_cmd=echo
9491 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9492 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9493 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}"
9494 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}"
9503 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9504 hardcode_libdir_flag_spec='-L$libdir'
9505 hardcode_shlibpath_var=no
9512 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9513 # support. Future versions do this automatically, but an explicit c++rt0.o
9514 # does not break anything, and helps significantly (at the cost of a little
9517 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9518 hardcode_libdir_flag_spec='-R$libdir'
9520 hardcode_shlibpath_var=no
9523 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9525 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9527 hardcode_minus_L=yes
9528 hardcode_shlibpath_var=no
9531 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9532 freebsd* | dragonfly*)
9533 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9534 hardcode_libdir_flag_spec='-R$libdir'
9536 hardcode_shlibpath_var=no
9540 if test "$GCC" = yes; then
9541 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'
9543 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'
9545 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9546 hardcode_libdir_separator=:
9549 # hardcode_minus_L: Not really in the search PATH,
9550 # but as the default location of the library.
9551 hardcode_minus_L=yes
9552 export_dynamic_flag_spec='${wl}-E'
9556 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9557 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9559 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9561 if test "$with_gnu_ld" = no; then
9562 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9563 hardcode_libdir_flag_spec_ld='+b $libdir'
9564 hardcode_libdir_separator=:
9566 hardcode_direct_absolute=yes
9567 export_dynamic_flag_spec='${wl}-E'
9568 # hardcode_minus_L: Not really in the search PATH,
9569 # but as the default location of the library.
9570 hardcode_minus_L=yes
9575 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9578 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9584 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9590 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9593 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9600 if test "$with_gnu_ld" = no; then
9601 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9602 hardcode_libdir_separator=:
9607 hardcode_shlibpath_var=no
9611 hardcode_direct_absolute=yes
9612 export_dynamic_flag_spec='${wl}-E'
9614 # hardcode_minus_L: Not really in the search PATH,
9615 # but as the default location of the library.
9616 hardcode_minus_L=yes
9622 irix5* | irix6* | nonstopux*)
9623 if test "$GCC" = yes; then
9624 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'
9625 # Try to use the -exported_symbol ld option, if it does not
9626 # work, assume that -exports_file does not work either and
9627 # implicitly export all symbols.
9628 save_LDFLAGS="$LDFLAGS"
9629 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 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'
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LDFLAGS="$save_LDFLAGS"
9642 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'
9643 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'
9645 archive_cmds_need_lc='no'
9646 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9647 hardcode_libdir_separator=:
9649 link_all_deplibs=yes
9652 netbsd* | netbsdelf*-gnu)
9653 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9654 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9656 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9658 hardcode_libdir_flag_spec='-R$libdir'
9660 hardcode_shlibpath_var=no
9664 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9667 hardcode_libdir_separator=:
9668 hardcode_shlibpath_var=no
9675 if test -f /usr/libexec/ld.so; then
9677 hardcode_shlibpath_var=no
9678 hardcode_direct_absolute=yes
9679 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9680 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9681 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9682 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9683 export_dynamic_flag_spec='${wl}-E'
9686 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9687 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9688 hardcode_libdir_flag_spec='-R$libdir'
9691 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9692 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9702 hardcode_libdir_flag_spec='-L$libdir'
9703 hardcode_minus_L=yes
9704 allow_undefined_flag=unsupported
9705 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'
9706 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9710 if test "$GCC" = yes; then
9711 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9712 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'
9714 allow_undefined_flag=' -expect_unresolved \*'
9715 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'
9717 archive_cmds_need_lc='no'
9718 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9719 hardcode_libdir_separator=:
9722 osf4* | osf5*) # as osf3* with the addition of -msym flag
9723 if test "$GCC" = yes; then
9724 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9725 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'
9726 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9728 allow_undefined_flag=' -expect_unresolved \*'
9729 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'
9730 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~
9731 $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'
9733 # Both c and cxx compiler support -rpath directly
9734 hardcode_libdir_flag_spec='-rpath $libdir'
9736 archive_cmds_need_lc='no'
9737 hardcode_libdir_separator=:
9741 no_undefined_flag=' -z defs'
9742 if test "$GCC" = yes; then
9744 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9746 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9748 case `$CC -V 2>&1` in
9751 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9752 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9753 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9757 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9759 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9763 hardcode_libdir_flag_spec='-R$libdir'
9764 hardcode_shlibpath_var=no
9766 solaris2.[0-5] | solaris2.[0-5].*) ;;
9768 # The compiler driver will combine and reorder linker options,
9769 # but understands `-z linker_flag'. GCC discards it without `$wl',
9770 # but is careful enough not to reorder.
9771 # Supported since Solaris 2.6 (maybe 2.5.1?)
9772 if test "$GCC" = yes; then
9773 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9775 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9779 link_all_deplibs=yes
9783 if test "x$host_vendor" = xsequent; then
9784 # Use $CC to link under sequent, because it throws in some extra .o
9785 # files that make .init and .fini sections work.
9786 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9788 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9790 hardcode_libdir_flag_spec='-L$libdir'
9792 hardcode_minus_L=yes
9793 hardcode_shlibpath_var=no
9797 case $host_vendor in
9799 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9800 hardcode_direct=yes # is this really true???
9803 ## LD is ld it makes a PLAMLIB
9804 ## CC just makes a GrossModule.
9805 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9806 reload_cmds='$CC -r -o $output$reload_objs'
9810 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9811 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9814 runpath_var='LD_RUN_PATH'
9815 hardcode_shlibpath_var=no
9819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_shlibpath_var=no
9821 export_dynamic_flag_spec='-Bexport'
9825 if test -d /usr/nec; then
9826 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_shlibpath_var=no
9828 runpath_var=LD_RUN_PATH
9829 hardcode_runpath_var=yes
9834 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9835 no_undefined_flag='${wl}-z,text'
9836 archive_cmds_need_lc=no
9837 hardcode_shlibpath_var=no
9838 runpath_var='LD_RUN_PATH'
9840 if test "$GCC" = yes; then
9841 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9844 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9849 sysv5* | sco3.2v5* | sco5v6*)
9850 # Note: We can NOT use -z defs as we might desire, because we do not
9851 # link with -lc, and that would cause any symbols used from libc to
9852 # always be unresolved, which means just about no library would
9853 # ever link correctly. If we're not using GNU ld we use -z text
9854 # though, which does catch some bad symbols but isn't as heavy-handed
9856 no_undefined_flag='${wl}-z,text'
9857 allow_undefined_flag='${wl}-z,nodefs'
9858 archive_cmds_need_lc=no
9859 hardcode_shlibpath_var=no
9860 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9861 hardcode_libdir_separator=':'
9862 link_all_deplibs=yes
9863 export_dynamic_flag_spec='${wl}-Bexport'
9864 runpath_var='LD_RUN_PATH'
9866 if test "$GCC" = yes; then
9867 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9876 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877 hardcode_libdir_flag_spec='-L$libdir'
9878 hardcode_shlibpath_var=no
9886 if test x$host_vendor = xsni; then
9888 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9889 export_dynamic_flag_spec='${wl}-Blargedynsym'
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9896 $as_echo "$ld_shlibs" >&6; }
9897 test "$ld_shlibs" = no && can_build_shared=no
9899 with_gnu_ld=$with_gnu_ld
9916 # Do we need to explicitly link libc?
9918 case "x$archive_cmds_need_lc" in
9920 # Assume -lc should be added
9921 archive_cmds_need_lc=yes
9923 if test "$enable_shared" = yes && test "$GCC" = yes; then
9924 case $archive_cmds in
9926 # FIXME: we may have to deal with multi-command sequences.
9929 # Test whether the compiler implicitly links with -lc since on some
9930 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9931 # to ld, don't add -lc before -lgcc.
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9933 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9935 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9938 (eval $ac_compile) 2>&5
9940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9941 test $ac_status = 0; } 2>conftest.err; then
9944 libobjs=conftest.$ac_objext
9946 wl=$lt_prog_compiler_wl
9947 pic_flag=$lt_prog_compiler_pic
9953 lt_save_allow_undefined_flag=$allow_undefined_flag
9954 allow_undefined_flag=
9955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9956 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9959 test $ac_status = 0; }
9961 archive_cmds_need_lc=no
9963 archive_cmds_need_lc=yes
9965 allow_undefined_flag=$lt_save_allow_undefined_flag
9967 cat conftest.err 1>&5
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9971 $as_echo "$archive_cmds_need_lc" >&6; }
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10135 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10137 if test "$GCC" = yes; then
10139 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10140 *) lt_awk_arg="/^libraries:/" ;;
10142 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10143 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10144 # if the path contains ";" then we assume it to be the separator
10145 # otherwise default to the standard path separator (i.e. ":") - it is
10146 # assumed that no part of a normal pathname contains ";" but that should
10147 # okay in the real world where ";" in dirpaths is itself problematic.
10148 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10150 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10152 # Ok, now we have the path, separated by spaces, we can step through it
10153 # and add multilib dir if necessary.
10154 lt_tmp_lt_search_path_spec=
10155 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10156 for lt_sys_path in $lt_search_path_spec; do
10157 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10158 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10160 test -d "$lt_sys_path" && \
10161 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10164 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10165 BEGIN {RS=" "; FS="/|\n";} {
10168 for (lt_i = NF; lt_i > 0; lt_i--) {
10169 if ($lt_i != "" && $lt_i != ".") {
10170 if ($lt_i == "..") {
10173 if (lt_count == 0) {
10174 lt_foo="/" $lt_i lt_foo;
10181 if (lt_foo != "") { lt_freq[lt_foo]++; }
10182 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10184 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10186 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10188 library_names_spec=
10189 libname_spec='lib$name'
10193 postuninstall_cmds=
10197 shlibpath_overrides_runpath=unknown
10199 dynamic_linker="$host_os ld.so"
10200 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10201 need_lib_prefix=unknown
10202 hardcode_into_libs=no
10204 # when you set need_version to no, make sure it does not cause -set_version
10205 # flags to be left without arguments
10206 need_version=unknown
10211 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10212 shlibpath_var=LIBPATH
10214 # AIX 3 has no versioning support, so we append a major version to the name.
10215 soname_spec='${libname}${release}${shared_ext}$major'
10222 hardcode_into_libs=yes
10223 if test "$host_cpu" = ia64; then
10224 # AIX 5 supports IA64
10225 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10226 shlibpath_var=LD_LIBRARY_PATH
10228 # With GCC up to 2.95.x, collect2 would create an import file
10229 # for dependence libraries. The import file would start with
10230 # the line `#! .'. This would cause the generated library to
10231 # depend on `.', always an invalid library. This was fixed in
10232 # development snapshots of GCC prior to 3.0.
10234 aix4 | aix4.[01] | aix4.[01].*)
10235 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10237 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10240 can_build_shared=no
10244 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10245 # soname into executable. Probably we can add versioning support to
10246 # collect2, so additional links can be useful in future.
10247 if test "$aix_use_runtimelinking" = yes; then
10248 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10249 # instead of lib<name>.a to let people know that these are not
10250 # typical AIX shared libraries.
10251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10253 # We preserve .a as extension for shared libraries through AIX4.2
10254 # and later when we are not doing run time linking.
10255 library_names_spec='${libname}${release}.a $libname.a'
10256 soname_spec='${libname}${release}${shared_ext}$major'
10258 shlibpath_var=LIBPATH
10265 # Since July 2007 AmigaOS4 officially supports .so libraries.
10266 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10270 library_names_spec='$libname.ixlibrary $libname.a'
10271 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10272 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'
10278 library_names_spec='${libname}${shared_ext}'
10279 dynamic_linker="$host_os ld.so"
10280 shlibpath_var=LIBRARY_PATH
10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10287 soname_spec='${libname}${release}${shared_ext}$major'
10288 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10289 shlibpath_var=LD_LIBRARY_PATH
10290 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10291 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10292 # the default ld.so.conf also contains /usr/contrib/lib and
10293 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10294 # libtool to hard-code these into programs
10297 cygwin* | mingw* | pw32* | cegcc*)
10298 version_type=windows
10303 case $GCC,$host_os in
10304 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10305 library_names_spec='$libname.dll.a'
10306 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10307 postinstall_cmds='base_file=`basename \${file}`~
10308 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10309 dldir=$destdir/`dirname \$dlpath`~
10310 test -d \$dldir || mkdir -p \$dldir~
10311 $install_prog $dir/$dlname \$dldir/$dlname~
10312 chmod a+x \$dldir/$dlname~
10313 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10314 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10316 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10317 dlpath=$dir/\$dldll~
10319 shlibpath_overrides_runpath=yes
10323 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10324 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10325 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10328 # MinGW DLLs use traditional 'lib' prefix
10329 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10330 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10331 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10332 # It is most probably a Windows format PATH printed by
10333 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10334 # path with ; separators, and with drive letters. We can handle the
10335 # drive letters (cygwin fileutils understands them), so leave them,
10336 # especially as we might pass files found there to a mingw objdump,
10337 # which wouldn't understand a cygwinified path. Ahh.
10338 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10340 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10344 # pw32 DLLs use 'pw' prefix rather than 'lib'
10345 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10351 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10354 dynamic_linker='Win32 ld.exe'
10355 # FIXME: first we should search . and the directory the executable is in
10359 darwin* | rhapsody*)
10360 dynamic_linker="$host_os dyld"
10361 version_type=darwin
10364 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10365 soname_spec='${libname}${release}${major}$shared_ext'
10366 shlibpath_overrides_runpath=yes
10367 shlibpath_var=DYLD_LIBRARY_PATH
10368 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10370 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10371 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10379 soname_spec='${libname}${release}${shared_ext}$major'
10380 shlibpath_var=LD_LIBRARY_PATH
10387 freebsd* | dragonfly*)
10388 # DragonFly does not have aout. When/if they implement a new
10389 # versioning mechanism, adjust this.
10390 if test -x /usr/bin/objformat; then
10391 objformat=`/usr/bin/objformat`
10394 freebsd[123]*) objformat=aout ;;
10395 *) objformat=elf ;;
10398 version_type=freebsd-$objformat
10399 case $version_type in
10401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10406 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10410 shlibpath_var=LD_LIBRARY_PATH
10413 shlibpath_overrides_runpath=yes
10415 freebsd3.[01]* | freebsdelf3.[01]*)
10416 shlibpath_overrides_runpath=yes
10417 hardcode_into_libs=yes
10419 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10420 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10421 shlibpath_overrides_runpath=no
10422 hardcode_into_libs=yes
10424 *) # from 4.6 on, and DragonFly
10425 shlibpath_overrides_runpath=yes
10426 hardcode_into_libs=yes
10435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10436 soname_spec='${libname}${release}${shared_ext}$major'
10437 shlibpath_var=LD_LIBRARY_PATH
10438 hardcode_into_libs=yes
10441 hpux9* | hpux10* | hpux11*)
10442 # Give a soname corresponding to the major version so that dld.sl refuses to
10443 # link against other versions.
10450 hardcode_into_libs=yes
10451 dynamic_linker="$host_os dld.so"
10452 shlibpath_var=LD_LIBRARY_PATH
10453 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455 soname_spec='${libname}${release}${shared_ext}$major'
10456 if test "X$HPUX_IA64_MODE" = X32; then
10457 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10459 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10461 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10465 hardcode_into_libs=yes
10466 dynamic_linker="$host_os dld.sl"
10467 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10468 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470 soname_spec='${libname}${release}${shared_ext}$major'
10471 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10472 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10476 dynamic_linker="$host_os dld.sl"
10477 shlibpath_var=SHLIB_PATH
10478 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 soname_spec='${libname}${release}${shared_ext}$major'
10483 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10484 postinstall_cmds='chmod 555 $lib'
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10492 soname_spec='${libname}${release}${shared_ext}$major'
10493 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10494 shlibpath_var=LD_LIBRARY_PATH
10495 shlibpath_overrides_runpath=no
10496 hardcode_into_libs=yes
10499 irix5* | irix6* | nonstopux*)
10501 nonstopux*) version_type=nonstopux ;;
10503 if test "$lt_cv_prog_gnu_ld" = yes; then
10511 soname_spec='${libname}${release}${shared_ext}$major'
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10514 irix5* | nonstopux*)
10515 libsuff= shlibsuff=
10518 case $LD in # libtool.m4 will add one of these switches to LD
10519 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10520 libsuff= shlibsuff= libmagic=32-bit;;
10521 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10522 libsuff=32 shlibsuff=N32 libmagic=N32;;
10523 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10524 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10525 *) libsuff= shlibsuff= libmagic=never-match;;
10529 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10530 shlibpath_overrides_runpath=no
10531 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10532 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10533 hardcode_into_libs=yes
10536 # No shared lib support for Linux oldld, aout, or coff.
10537 linux*oldld* | linux*aout* | linux*coff*)
10541 # This must be Linux ELF.
10542 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10547 soname_spec='${libname}${release}${shared_ext}$major'
10548 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10549 shlibpath_var=LD_LIBRARY_PATH
10550 shlibpath_overrides_runpath=no
10551 # Some binutils ld are patched to set DT_RUNPATH
10552 save_LDFLAGS=$LDFLAGS
10553 save_libdir=$libdir
10554 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10555 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10569 shlibpath_overrides_runpath=yes
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LDFLAGS=$save_LDFLAGS
10575 libdir=$save_libdir
10577 # This implies no fast_install, which is unacceptable.
10578 # Some rework will be needed to allow for fast_install
10579 # before this can be enabled.
10580 hardcode_into_libs=yes
10582 # Append ld.so.conf contents to the search path
10583 if test -f /etc/ld.so.conf; then
10584 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' ' '`
10585 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10588 # We used to test for /lib/ld.so.1 and disable shared libraries on
10589 # powerpc, because MkLinux only supported shared libraries with the
10590 # GNU dynamic linker. Since this was broken with cross compilers,
10591 # most powerpc-linux boxes support dynamic linking these days and
10592 # people can always --disable-shared, the test was removed, and we
10593 # assume the GNU/Linux dynamic linker is in use.
10594 dynamic_linker='GNU/Linux ld.so'
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10602 soname_spec='${libname}${release}${shared_ext}$major'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 shlibpath_overrides_runpath=no
10605 hardcode_into_libs=yes
10606 dynamic_linker='NetBSD ld.elf_so'
10613 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10615 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10616 dynamic_linker='NetBSD (a.out) ld.so'
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 dynamic_linker='NetBSD ld.elf_so'
10622 shlibpath_var=LD_LIBRARY_PATH
10623 shlibpath_overrides_runpath=yes
10624 hardcode_into_libs=yes
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 shlibpath_var=LD_LIBRARY_PATH
10631 shlibpath_overrides_runpath=yes
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec='${libname}${release}${shared_ext}$major'
10640 shlibpath_var=LD_LIBRARY_PATH
10641 shlibpath_overrides_runpath=no
10642 hardcode_into_libs=yes
10643 dynamic_linker='ldqnx.so'
10648 sys_lib_dlsearch_path_spec="/usr/lib"
10650 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10652 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10653 *) need_version=no ;;
10655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10656 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10657 shlibpath_var=LD_LIBRARY_PATH
10658 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10660 openbsd2.[89] | openbsd2.[89].*)
10661 shlibpath_overrides_runpath=no
10664 shlibpath_overrides_runpath=yes
10668 shlibpath_overrides_runpath=yes
10673 libname_spec='$name'
10676 library_names_spec='$libname${shared_ext} $libname.a'
10677 dynamic_linker='OS/2 ld.exe'
10678 shlibpath_var=LIBPATH
10681 osf3* | osf4* | osf5*)
10685 soname_spec='${libname}${release}${shared_ext}$major'
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10687 shlibpath_var=LD_LIBRARY_PATH
10688 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10689 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 shlibpath_overrides_runpath=yes
10704 hardcode_into_libs=yes
10705 # ldd complains unless libraries are executable
10706 postinstall_cmds='chmod +x $lib'
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10712 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10713 shlibpath_var=LD_LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 if test "$with_gnu_ld" = yes; then
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 shlibpath_var=LD_LIBRARY_PATH
10726 case $host_vendor in
10728 shlibpath_overrides_runpath=no
10730 runpath_var=LD_RUN_PATH
10738 shlibpath_overrides_runpath=no
10739 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10745 if test -d /usr/nec ;then
10747 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10748 soname_spec='$libname${shared_ext}.$major'
10749 shlibpath_var=LD_LIBRARY_PATH
10753 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10754 version_type=freebsd-elf
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10759 shlibpath_var=LD_LIBRARY_PATH
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10762 if test "$with_gnu_ld" = yes; then
10763 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10765 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10768 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10772 sys_lib_dlsearch_path_spec='/usr/lib'
10776 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10781 shlibpath_var=LD_LIBRARY_PATH
10782 shlibpath_overrides_runpath=no
10783 hardcode_into_libs=yes
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 shlibpath_var=LD_LIBRARY_PATH
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10798 $as_echo "$dynamic_linker" >&6; }
10799 test "$dynamic_linker" = no && can_build_shared=no
10801 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10802 if test "$GCC" = yes; then
10803 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10806 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10807 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10809 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10810 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10900 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10902 if test -n "$hardcode_libdir_flag_spec" ||
10903 test -n "$runpath_var" ||
10904 test "X$hardcode_automatic" = "Xyes" ; then
10906 # We can hardcode non-existent directories.
10907 if test "$hardcode_direct" != no &&
10908 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10909 # have to relink, otherwise we might link with an installed library
10910 # when we should be linking with a yet-to-be-installed one
10911 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10912 test "$hardcode_minus_L" != no; then
10913 # Linking always hardcodes the temporary library directory.
10914 hardcode_action=relink
10916 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10917 hardcode_action=immediate
10920 # We cannot hardcode anything, or else we can only hardcode existing
10922 hardcode_action=unsupported
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10925 $as_echo "$hardcode_action" >&6; }
10927 if test "$hardcode_action" = relink ||
10928 test "$inherit_rpath" = yes; then
10929 # Fast installation is not supported
10930 enable_fast_install=no
10931 elif test "$shlibpath_overrides_runpath" = yes ||
10932 test "$enable_shared" = no; then
10933 # Fast installation is not necessary
10934 enable_fast_install=needless
10942 if test "x$enable_dlopen" != xyes; then
10943 enable_dlopen=unknown
10944 enable_dlopen_self=unknown
10945 enable_dlopen_self_static=unknown
10952 lt_cv_dlopen="load_add_on"
10954 lt_cv_dlopen_self=yes
10957 mingw* | pw32* | cegcc*)
10958 lt_cv_dlopen="LoadLibrary"
10963 lt_cv_dlopen="dlopen"
10968 # if libdl is installed we need to link against it
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10970 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10971 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10972 $as_echo_n "(cached) " >&6
10974 ac_check_lib_save_LIBS=$LIBS
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 ac_cv_lib_dl_dlopen=yes
10997 ac_cv_lib_dl_dlopen=no
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11004 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11005 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11006 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11009 lt_cv_dlopen="dyld"
11011 lt_cv_dlopen_self=yes
11018 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11019 if test "x$ac_cv_func_shl_load" = x""yes; then :
11020 lt_cv_dlopen="shl_load"
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11023 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11024 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11025 $as_echo_n "(cached) " >&6
11027 ac_check_lib_save_LIBS=$LIBS
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11042 return shl_load ();
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_dld_shl_load=yes
11050 ac_cv_lib_dld_shl_load=no
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11057 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11058 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11059 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11061 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11062 if test "x$ac_cv_func_dlopen" = x""yes; then :
11063 lt_cv_dlopen="dlopen"
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11067 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11068 $as_echo_n "(cached) " >&6
11070 ac_check_lib_save_LIBS=$LIBS
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 ac_cv_lib_dl_dlopen=yes
11093 ac_cv_lib_dl_dlopen=no
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LIBS=$ac_check_lib_save_LIBS
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11100 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11101 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11102 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11105 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11106 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11107 $as_echo_n "(cached) " >&6
11109 ac_check_lib_save_LIBS=$LIBS
11110 LIBS="-lsvld $LIBS"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11129 if ac_fn_c_try_link "$LINENO"; then :
11130 ac_cv_lib_svld_dlopen=yes
11132 ac_cv_lib_svld_dlopen=no
11134 rm -f core conftest.err conftest.$ac_objext \
11135 conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11139 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11140 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11141 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11144 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11145 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11146 $as_echo_n "(cached) " >&6
11148 ac_check_lib_save_LIBS=$LIBS
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11163 return dld_link ();
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 ac_cv_lib_dld_dld_link=yes
11171 ac_cv_lib_dld_dld_link=no
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11178 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11179 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11180 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11201 if test "x$lt_cv_dlopen" != xno; then
11207 case $lt_cv_dlopen in
11209 save_CPPFLAGS="$CPPFLAGS"
11210 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11212 save_LDFLAGS="$LDFLAGS"
11213 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11216 LIBS="$lt_cv_dlopen_libs $LIBS"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11219 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11220 if test "${lt_cv_dlopen_self+set}" = set; then :
11221 $as_echo_n "(cached) " >&6
11223 if test "$cross_compiling" = yes; then :
11224 lt_cv_dlopen_self=cross
11226 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11227 lt_status=$lt_dlunknown
11228 cat > conftest.$ac_ext <<_LT_EOF
11229 #line 11229 "configure"
11230 #include "confdefs.h"
11239 # define LT_DLGLOBAL RTLD_GLOBAL
11242 # define LT_DLGLOBAL DL_GLOBAL
11244 # define LT_DLGLOBAL 0
11248 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11249 find out it does not work in some platform. */
11250 #ifndef LT_DLLAZY_OR_NOW
11252 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11255 # define LT_DLLAZY_OR_NOW DL_LAZY
11258 # define LT_DLLAZY_OR_NOW RTLD_NOW
11261 # define LT_DLLAZY_OR_NOW DL_NOW
11263 # define LT_DLLAZY_OR_NOW 0
11270 void fnord() { int i=42;}
11273 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11274 int status = $lt_dlunknown;
11278 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11279 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11280 /* dlclose (self); */
11288 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11289 (eval $ac_link) 2>&5
11291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11292 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11293 (./conftest; exit; ) >&5 2>/dev/null
11295 case x$lt_status in
11296 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11297 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11298 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11301 # compilation failed
11302 lt_cv_dlopen_self=no
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11310 $as_echo "$lt_cv_dlopen_self" >&6; }
11312 if test "x$lt_cv_dlopen_self" = xyes; then
11313 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11315 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11316 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11317 $as_echo_n "(cached) " >&6
11319 if test "$cross_compiling" = yes; then :
11320 lt_cv_dlopen_self_static=cross
11322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11323 lt_status=$lt_dlunknown
11324 cat > conftest.$ac_ext <<_LT_EOF
11325 #line 11325 "configure"
11326 #include "confdefs.h"
11335 # define LT_DLGLOBAL RTLD_GLOBAL
11338 # define LT_DLGLOBAL DL_GLOBAL
11340 # define LT_DLGLOBAL 0
11344 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11345 find out it does not work in some platform. */
11346 #ifndef LT_DLLAZY_OR_NOW
11348 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11351 # define LT_DLLAZY_OR_NOW DL_LAZY
11354 # define LT_DLLAZY_OR_NOW RTLD_NOW
11357 # define LT_DLLAZY_OR_NOW DL_NOW
11359 # define LT_DLLAZY_OR_NOW 0
11366 void fnord() { int i=42;}
11369 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11370 int status = $lt_dlunknown;
11374 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11375 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11376 /* dlclose (self); */
11384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11385 (eval $ac_link) 2>&5
11387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11388 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11389 (./conftest; exit; ) >&5 2>/dev/null
11391 case x$lt_status in
11392 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11393 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11394 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11397 # compilation failed
11398 lt_cv_dlopen_self_static=no
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11406 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11409 CPPFLAGS="$save_CPPFLAGS"
11410 LDFLAGS="$save_LDFLAGS"
11415 case $lt_cv_dlopen_self in
11416 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11417 *) enable_dlopen_self=unknown ;;
11420 case $lt_cv_dlopen_self_static in
11421 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11422 *) enable_dlopen_self_static=unknown ;;
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11445 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11446 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11447 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11448 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11450 $as_echo "yes" >&6; }
11452 # FIXME - insert some real tests, host_os isn't really good enough
11455 if test -n "$STRIP" ; then
11456 striplib="$STRIP -x"
11457 old_striplib="$STRIP -S"
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11459 $as_echo "yes" >&6; }
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11462 $as_echo "no" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11467 $as_echo "no" >&6; }
11483 # Report which library types will actually be built
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11485 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11487 $as_echo "$can_build_shared" >&6; }
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11490 $as_echo_n "checking whether to build shared libraries... " >&6; }
11491 test "$can_build_shared" = "no" && enable_shared=no
11493 # On AIX, shared libraries and static libraries use the same namespace, and
11494 # are all built from PIC.
11497 test "$enable_shared" = yes && enable_static=no
11498 if test -n "$RANLIB"; then
11499 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11500 postinstall_cmds='$RANLIB $lib'
11505 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11506 test "$enable_shared" = yes && enable_static=no
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11511 $as_echo "$enable_shared" >&6; }
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11514 $as_echo_n "checking whether to build static libraries... " >&6; }
11515 # Make sure either enable_shared or enable_static is yes.
11516 test "$enable_shared" = yes || enable_static=yes
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11518 $as_echo "$enable_static" >&6; }
11525 ac_cpp='$CPP $CPPFLAGS'
11526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11534 ac_cpp='$CXXCPP $CPPFLAGS'
11535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11539 archive_cmds_need_lc_CXX=no
11540 allow_undefined_flag_CXX=
11541 always_export_symbols_CXX=no
11542 archive_expsym_cmds_CXX=
11543 compiler_needs_object_CXX=no
11544 export_dynamic_flag_spec_CXX=
11545 hardcode_direct_CXX=no
11546 hardcode_direct_absolute_CXX=no
11547 hardcode_libdir_flag_spec_CXX=
11548 hardcode_libdir_flag_spec_ld_CXX=
11549 hardcode_libdir_separator_CXX=
11550 hardcode_minus_L_CXX=no
11551 hardcode_shlibpath_var_CXX=unsupported
11552 hardcode_automatic_CXX=no
11553 inherit_rpath_CXX=no
11555 module_expsym_cmds_CXX=
11556 link_all_deplibs_CXX=unknown
11557 old_archive_cmds_CXX=$old_archive_cmds
11558 no_undefined_flag_CXX=
11559 whole_archive_flag_spec_CXX=
11560 enable_shared_with_static_runtimes_CXX=no
11562 # Source file extension for C++ test sources.
11565 # Object file extension for compiled C++ test sources.
11569 # No sense in running all these tests if we already determined that
11570 # the CXX compiler isn't working. Some variables (like enable_shared)
11571 # are currently assumed to apply to all compilers on this platform,
11572 # and will be corrupted by setting them based on a non-working compiler.
11573 if test "$_lt_caught_CXX_error" != yes; then
11574 # Code to be used in simple compile tests
11575 lt_simple_compile_test_code="int some_variable = 0;"
11577 # Code to be used in simple link tests
11578 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11580 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11587 # If no C compiler was specified, use CC.
11590 # If no C compiler flags were specified, use CFLAGS.
11591 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11593 # Allow CC to be a program name with arguments.
11597 # save warnings/boilerplate of simple test code
11598 ac_outfile=conftest.$ac_objext
11599 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11600 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11601 _lt_compiler_boilerplate=`cat conftest.err`
11604 ac_outfile=conftest.$ac_objext
11605 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11606 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11607 _lt_linker_boilerplate=`cat conftest.err`
11611 # Allow CC to be a program name with arguments.
11616 lt_save_with_gnu_ld=$with_gnu_ld
11617 lt_save_path_LD=$lt_cv_path_LD
11618 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11619 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11621 $as_unset lt_cv_prog_gnu_ld
11623 if test -n "${lt_cv_path_LDCXX+set}"; then
11624 lt_cv_path_LD=$lt_cv_path_LDCXX
11626 $as_unset lt_cv_path_LD
11628 test -z "${LDCXX+set}" || LD=$LDCXX
11632 for cc_temp in $compiler""; do
11634 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11635 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11640 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11643 if test -n "$compiler"; then
11644 # We don't want -fno-exception when compiling C++ code, so set the
11645 # no_builtin_flag separately
11646 if test "$GXX" = yes; then
11647 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11649 lt_prog_compiler_no_builtin_flag_CXX=
11652 if test "$GXX" = yes; then
11653 # Set up default GNU C++ configuration
11657 # Check whether --with-gnu-ld was given.
11658 if test "${with_gnu_ld+set}" = set; then :
11659 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11665 if test "$GCC" = yes; then
11666 # Check if gcc -print-prog-name=ld gives a path.
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11668 $as_echo_n "checking for ld used by $CC... " >&6; }
11671 # gcc leaves a trailing carriage return which upsets mingw
11672 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11674 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11677 # Accept absolute paths.
11679 re_direlt='/[^/][^/]*/\.\./'
11680 # Canonicalize the pathname of ld
11681 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11682 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11683 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11685 test -z "$LD" && LD="$ac_prog"
11688 # If it fails, then pretend we aren't using GCC.
11692 # If it is relative, then search for the first ld in PATH.
11693 with_gnu_ld=unknown
11696 elif test "$with_gnu_ld" = yes; then
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11698 $as_echo_n "checking for GNU ld... " >&6; }
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11701 $as_echo_n "checking for non-GNU ld... " >&6; }
11703 if test "${lt_cv_path_LD+set}" = set; then :
11704 $as_echo_n "(cached) " >&6
11706 if test -z "$LD"; then
11707 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11708 for ac_dir in $PATH; do
11710 test -z "$ac_dir" && ac_dir=.
11711 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11712 lt_cv_path_LD="$ac_dir/$ac_prog"
11713 # Check to see if the program is GNU ld. I'd rather use --version,
11714 # but apparently some variants of GNU ld only accept -v.
11715 # Break only if it was the GNU/non-GNU ld that we prefer.
11716 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11717 *GNU* | *'with BFD'*)
11718 test "$with_gnu_ld" != no && break
11721 test "$with_gnu_ld" != yes && break
11728 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11732 LD="$lt_cv_path_LD"
11733 if test -n "$LD"; then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11735 $as_echo "$LD" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11740 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11742 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11743 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11744 $as_echo_n "(cached) " >&6
11746 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11747 case `$LD -v 2>&1 </dev/null` in
11748 *GNU* | *'with BFD'*)
11749 lt_cv_prog_gnu_ld=yes
11752 lt_cv_prog_gnu_ld=no
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11757 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11758 with_gnu_ld=$lt_cv_prog_gnu_ld
11766 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11767 # archiving commands below assume that GNU ld is being used.
11768 if test "$with_gnu_ld" = yes; then
11769 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11770 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'
11772 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11773 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11775 # If archive_cmds runs LD, not CC, wlarc should be empty
11776 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11777 # investigate it a little bit more. (MM)
11780 # ancient GNU ld didn't support --whole-archive et. al.
11781 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11782 $GREP 'no-whole-archive' > /dev/null; then
11783 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11785 whole_archive_flag_spec_CXX=
11791 # A generic and very simple default shared library creation
11792 # command for GNU C++ for the case where it uses the native
11793 # linker, instead of GNU ld. If possible, this setting should
11794 # overridden to take advantage of the native linker features on
11795 # the platform it is being used on.
11796 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11799 # Commands to make compiler produce verbose output that lists
11800 # what "hidden" libraries, object files and flags are used when
11801 # linking a shared library.
11802 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11810 # PORTME: fill in a description of your system's C++ link characteristics
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11812 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11816 # FIXME: insert proper C++ library support
11820 if test "$host_cpu" = ia64; then
11821 # On IA64, the linker does run time linking by default, so we don't
11822 # have to do anything special.
11823 aix_use_runtimelinking=no
11824 exp_sym_flag='-Bexport'
11827 aix_use_runtimelinking=no
11829 # Test if we are trying to use run time linking or normal
11830 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11831 # need to do runtime linking.
11832 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11833 for ld_flag in $LDFLAGS; do
11836 aix_use_runtimelinking=yes
11844 exp_sym_flag='-bexport'
11845 no_entry_flag='-bnoentry'
11848 # When large executables or shared objects are built, AIX ld can
11849 # have problems creating the table of contents. If linking a library
11850 # or program results in "error TOC overflow" add -mminimal-toc to
11851 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11852 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11854 archive_cmds_CXX=''
11855 hardcode_direct_CXX=yes
11856 hardcode_direct_absolute_CXX=yes
11857 hardcode_libdir_separator_CXX=':'
11858 link_all_deplibs_CXX=yes
11859 file_list_spec_CXX='${wl}-f,'
11861 if test "$GXX" = yes; then
11862 case $host_os in aix4.[012]|aix4.[012].*)
11863 # We only want to do this on AIX 4.2 and lower, the check
11864 # below for broken collect2 doesn't work under 4.3+
11865 collect2name=`${CC} -print-prog-name=collect2`
11866 if test -f "$collect2name" &&
11867 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11869 # We have reworked collect2
11872 # We have old collect2
11873 hardcode_direct_CXX=unsupported
11874 # It fails to find uninstalled libraries when the uninstalled
11875 # path is not listed in the libpath. Setting hardcode_minus_L
11876 # to unsupported forces relinking
11877 hardcode_minus_L_CXX=yes
11878 hardcode_libdir_flag_spec_CXX='-L$libdir'
11879 hardcode_libdir_separator_CXX=
11882 shared_flag='-shared'
11883 if test "$aix_use_runtimelinking" = yes; then
11884 shared_flag="$shared_flag "'${wl}-G'
11888 if test "$host_cpu" = ia64; then
11889 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11890 # chokes on -Wl,-G. The following line is correct:
11893 if test "$aix_use_runtimelinking" = yes; then
11894 shared_flag='${wl}-G'
11896 shared_flag='${wl}-bM:SRE'
11901 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11902 # It seems that -bexpall does not export symbols beginning with
11903 # underscore (_), so it is better to generate a list of symbols to
11905 always_export_symbols_CXX=yes
11906 if test "$aix_use_runtimelinking" = yes; then
11907 # Warning - without using the other runtime loading flags (-brtl),
11908 # -berok will link without error, but may produce a broken library.
11909 allow_undefined_flag_CXX='-berok'
11910 # Determine the default libpath from the value encoded in an empty
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11923 if ac_fn_cxx_try_link "$LINENO"; then :
11925 lt_aix_libpath_sed='
11926 /Import File Strings/,/^$/ {
11932 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11933 # Check for a 64-bit object if we didn't find anything.
11934 if test -z "$aix_libpath"; then
11935 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11938 rm -f core conftest.err conftest.$ac_objext \
11939 conftest$ac_exeext conftest.$ac_ext
11940 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11942 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11944 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"
11946 if test "$host_cpu" = ia64; then
11947 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11948 allow_undefined_flag_CXX="-z nodefs"
11949 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"
11951 # Determine the default libpath from the value encoded in an
11952 # empty executable.
11953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11964 if ac_fn_cxx_try_link "$LINENO"; then :
11966 lt_aix_libpath_sed='
11967 /Import File Strings/,/^$/ {
11973 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11974 # Check for a 64-bit object if we didn't find anything.
11975 if test -z "$aix_libpath"; then
11976 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11979 rm -f core conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11981 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11983 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11984 # Warning - without using the other run time loading flags,
11985 # -berok will link without error, but may produce a broken library.
11986 no_undefined_flag_CXX=' ${wl}-bernotok'
11987 allow_undefined_flag_CXX=' ${wl}-berok'
11988 # Exported symbols can be pulled into shared objects from archives
11989 whole_archive_flag_spec_CXX='$convenience'
11990 archive_cmds_need_lc_CXX=yes
11991 # This is similar to how AIX traditionally builds its shared
11993 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'
11999 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12000 allow_undefined_flag_CXX=unsupported
12001 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12002 # support --undefined. This deserves some investigation. FIXME
12003 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12010 case $cc_basename in
12012 # FIXME: insert proper C++ library support
12018 cygwin* | mingw* | pw32* | cegcc*)
12019 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12020 # as there is no search path for DLLs.
12021 hardcode_libdir_flag_spec_CXX='-L$libdir'
12022 allow_undefined_flag_CXX=unsupported
12023 always_export_symbols_CXX=no
12024 enable_shared_with_static_runtimes_CXX=yes
12026 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12027 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'
12028 # If the export-symbols file already is a .def file (1st line
12029 # is EXPORTS), use it as is; otherwise, prepend...
12030 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12031 cp $export_symbols $output_objdir/$soname.def;
12033 echo EXPORTS > $output_objdir/$soname.def;
12034 cat $export_symbols >> $output_objdir/$soname.def;
12036 $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'
12041 darwin* | rhapsody*)
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_direct_CXX=no
12046 hardcode_automatic_CXX=yes
12047 hardcode_shlibpath_var_CXX=unsupported
12048 whole_archive_flag_spec_CXX=''
12049 link_all_deplibs_CXX=yes
12050 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12051 case $cc_basename in
12052 ifort*) _lt_dar_can_shared=yes ;;
12053 *) _lt_dar_can_shared=$GCC ;;
12055 if test "$_lt_dar_can_shared" = "yes"; then
12056 output_verbose_link_cmd=echo
12057 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}"
12058 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12059 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}"
12060 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}"
12061 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12062 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}"
12063 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}"
12073 case $cc_basename in
12075 # FIXME: insert proper C++ library support
12079 # Green Hills C++ Compiler
12080 # FIXME: insert proper C++ library support
12084 # FIXME: insert proper C++ library support
12091 # C++ shared libraries reported to be fairly broken before
12097 archive_cmds_need_lc_CXX=no
12100 freebsd* | dragonfly*)
12101 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12110 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12111 hardcode_libdir_separator_CXX=:
12112 export_dynamic_flag_spec_CXX='${wl}-E'
12113 hardcode_direct_CXX=yes
12114 hardcode_minus_L_CXX=yes # Not in the search PATH,
12115 # but as the default
12116 # location of the library.
12118 case $cc_basename in
12120 # FIXME: insert proper C++ library support
12124 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'
12125 # Commands to make compiler produce verbose output that lists
12126 # what "hidden" libraries, object files and flags are used when
12127 # linking a shared library.
12129 # There doesn't appear to be a way to prevent this compiler from
12130 # explicitly linking system object files so we need to strip them
12131 # from the output so that they don't get included in the library
12133 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'
12136 if test "$GXX" = yes; then
12137 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'
12139 # FIXME: insert proper C++ library support
12147 if test $with_gnu_ld = no; then
12148 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12149 hardcode_libdir_separator_CXX=:
12155 export_dynamic_flag_spec_CXX='${wl}-E'
12161 hardcode_direct_CXX=no
12162 hardcode_shlibpath_var_CXX=no
12165 hardcode_direct_CXX=yes
12166 hardcode_direct_absolute_CXX=yes
12167 hardcode_minus_L_CXX=yes # Not in the search PATH,
12168 # but as the default
12169 # location of the library.
12173 case $cc_basename in
12175 # FIXME: insert proper C++ library support
12181 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12184 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12187 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12190 # Commands to make compiler produce verbose output that lists
12191 # what "hidden" libraries, object files and flags are used when
12192 # linking a shared library.
12194 # There doesn't appear to be a way to prevent this compiler from
12195 # explicitly linking system object files so we need to strip them
12196 # from the output so that they don't get included in the library
12198 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'
12201 if test "$GXX" = yes; then
12202 if test $with_gnu_ld = no; then
12205 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12208 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12211 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'
12216 # FIXME: insert proper C++ library support
12224 hardcode_direct_CXX=no
12225 hardcode_shlibpath_var_CXX=no
12226 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12227 export_dynamic_flag_spec_CXX='${wl}-E'
12228 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12229 # Instead, shared libraries are loaded at an image base (0x10000000 by
12230 # default) and relocated if they conflict, which is a slow very memory
12231 # consuming and fragmenting process. To avoid this, we pick a random,
12232 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12233 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12234 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'
12235 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'
12238 case $cc_basename in
12241 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'
12243 # Archives containing C++ object files must be created using
12244 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12245 # necessary to make sure instantiated templates are included
12247 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12250 if test "$GXX" = yes; then
12251 if test "$with_gnu_ld" = no; then
12252 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'
12254 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'
12257 link_all_deplibs_CXX=yes
12260 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12261 hardcode_libdir_separator_CXX=:
12262 inherit_rpath_CXX=yes
12265 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12266 case $cc_basename in
12268 # Kuck and Associates, Inc. (KAI) C++ Compiler
12270 # KCC will only create a shared library if the output file
12271 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12272 # to its proper name (with version) after linking.
12273 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'
12274 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'
12275 # Commands to make compiler produce verbose output that lists
12276 # what "hidden" libraries, object files and flags are used when
12277 # linking a shared library.
12279 # There doesn't appear to be a way to prevent this compiler from
12280 # explicitly linking system object files so we need to strip them
12281 # from the output so that they don't get included in the library
12283 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'
12285 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12286 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12288 # Archives containing C++ object files must be created using
12289 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12290 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12295 # version 8.0 and above of icpc choke on multiply defined symbols
12296 # if we add $predep_objects and $postdep_objects, however 7.1 and
12297 # earlier do not add the objects themselves.
12298 case `$CC -V 2>&1` in
12300 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 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'
12303 *) # Version 8.0 or newer
12306 ia64*) tmp_idyn=' -i_dynamic';;
12308 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12309 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'
12312 archive_cmds_need_lc_CXX=no
12313 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12314 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12315 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12318 # Portland Group C++ compiler
12320 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12321 prelink_cmds_CXX='tpldir=Template.dir~
12323 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12324 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12325 old_archive_cmds_CXX='tpldir=Template.dir~
12327 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12328 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12330 archive_cmds_CXX='tpldir=Template.dir~
12332 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12333 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12334 archive_expsym_cmds_CXX='tpldir=Template.dir~
12336 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12337 $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'
12339 *) # Version 6 will use weak symbols
12340 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12341 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'
12345 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12346 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12347 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'
12351 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12352 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'
12354 runpath_var=LD_RUN_PATH
12355 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12356 hardcode_libdir_separator_CXX=:
12358 # Commands to make compiler produce verbose output that lists
12359 # what "hidden" libraries, object files and flags are used when
12360 # linking a shared library.
12362 # There doesn't appear to be a way to prevent this compiler from
12363 # explicitly linking system object files so we need to strip them
12364 # from the output so that they don't get included in the library
12366 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'
12369 # IBM XL 8.0 on PPC, with GNU ld
12370 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12371 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12372 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12373 if test "x$supports_anon_versioning" = xyes; then
12374 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12375 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12376 echo "local: *; };" >> $output_objdir/$libname.ver~
12377 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12381 case `$CC -V 2>&1 | sed 5q` in
12384 no_undefined_flag_CXX=' -zdefs'
12385 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12386 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'
12387 hardcode_libdir_flag_spec_CXX='-R$libdir'
12388 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'
12389 compiler_needs_object_CXX=yes
12391 # Not sure whether something based on
12392 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12394 output_verbose_link_cmd='echo'
12396 # Archives containing C++ object files must be created using
12397 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12398 # necessary to make sure instantiated templates are included
12400 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12408 # FIXME: insert proper C++ library support
12413 # FIXME: insert proper C++ library support
12418 case $cc_basename in
12420 # FIXME: insert proper C++ library support
12424 # FIXME: insert proper C++ library support
12431 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12432 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12434 hardcode_libdir_flag_spec_CXX='-R$libdir'
12435 hardcode_direct_CXX=yes
12436 hardcode_shlibpath_var_CXX=no
12438 # Workaround some broken pre-1.5 toolchains
12439 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12447 # C++ shared libraries are fairly broken
12452 if test -f /usr/libexec/ld.so; then
12453 hardcode_direct_CXX=yes
12454 hardcode_shlibpath_var_CXX=no
12455 hardcode_direct_absolute_CXX=yes
12456 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12457 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12458 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12459 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12460 export_dynamic_flag_spec_CXX='${wl}-E'
12461 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12463 output_verbose_link_cmd=echo
12469 osf3* | osf4* | osf5*)
12470 case $cc_basename in
12472 # Kuck and Associates, Inc. (KAI) C++ Compiler
12474 # KCC will only create a shared library if the output file
12475 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12476 # to its proper name (with version) after linking.
12477 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'
12479 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12480 hardcode_libdir_separator_CXX=:
12482 # Archives containing C++ object files must be created using
12483 # the KAI C++ compiler.
12485 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12486 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12490 # Rational C++ 2.4.1
12491 # FIXME: insert proper C++ library support
12497 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12498 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'
12499 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12502 allow_undefined_flag_CXX=' -expect_unresolved \*'
12503 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'
12504 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12505 echo "-hidden">> $lib.exp~
12506 $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~
12508 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12512 hardcode_libdir_separator_CXX=:
12514 # Commands to make compiler produce verbose output that lists
12515 # what "hidden" libraries, object files and flags are used when
12516 # linking a shared library.
12518 # There doesn't appear to be a way to prevent this compiler from
12519 # explicitly linking system object files so we need to strip them
12520 # from the output so that they don't get included in the library
12522 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'
12525 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12526 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12529 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'
12532 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'
12536 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12537 hardcode_libdir_separator_CXX=:
12539 # Commands to make compiler produce verbose output that lists
12540 # what "hidden" libraries, object files and flags are used when
12541 # linking a shared library.
12542 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12545 # FIXME: insert proper C++ library support
12553 # FIXME: insert proper C++ library support
12558 case $cc_basename in
12561 # FIXME: insert proper C++ library support
12566 # FIXME: insert proper C++ library support
12570 # FIXME: insert proper C++ library support
12577 case $cc_basename in
12579 # Sun C++ 4.2, 5.x and Centerline C++
12580 archive_cmds_need_lc_CXX=yes
12581 no_undefined_flag_CXX=' -zdefs'
12582 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12583 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12584 $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'
12586 hardcode_libdir_flag_spec_CXX='-R$libdir'
12587 hardcode_shlibpath_var_CXX=no
12589 solaris2.[0-5] | solaris2.[0-5].*) ;;
12591 # The compiler driver will combine and reorder linker options,
12592 # but understands `-z linker_flag'.
12593 # Supported since Solaris 2.6 (maybe 2.5.1?)
12594 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12597 link_all_deplibs_CXX=yes
12599 output_verbose_link_cmd='echo'
12601 # Archives containing C++ object files must be created using
12602 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12603 # necessary to make sure instantiated templates are included
12605 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12608 # Green Hills C++ Compiler
12609 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12611 # The C++ compiler must be used to create the archive.
12612 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12615 # GNU C++ compiler with Solaris linker
12616 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12617 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12618 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12619 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12620 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12621 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12623 # Commands to make compiler produce verbose output that lists
12624 # what "hidden" libraries, object files and flags are used when
12625 # linking a shared library.
12626 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12628 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12630 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12631 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12632 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12634 # Commands to make compiler produce verbose output that lists
12635 # what "hidden" libraries, object files and flags are used when
12636 # linking a shared library.
12637 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12640 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12642 solaris2.[0-5] | solaris2.[0-5].*) ;;
12644 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12652 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12653 no_undefined_flag_CXX='${wl}-z,text'
12654 archive_cmds_need_lc_CXX=no
12655 hardcode_shlibpath_var_CXX=no
12656 runpath_var='LD_RUN_PATH'
12658 case $cc_basename in
12660 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12661 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12664 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12665 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12670 sysv5* | sco3.2v5* | sco5v6*)
12671 # Note: We can NOT use -z defs as we might desire, because we do not
12672 # link with -lc, and that would cause any symbols used from libc to
12673 # always be unresolved, which means just about no library would
12674 # ever link correctly. If we're not using GNU ld we use -z text
12675 # though, which does catch some bad symbols but isn't as heavy-handed
12677 no_undefined_flag_CXX='${wl}-z,text'
12678 allow_undefined_flag_CXX='${wl}-z,nodefs'
12679 archive_cmds_need_lc_CXX=no
12680 hardcode_shlibpath_var_CXX=no
12681 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12682 hardcode_libdir_separator_CXX=':'
12683 link_all_deplibs_CXX=yes
12684 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12685 runpath_var='LD_RUN_PATH'
12687 case $cc_basename in
12689 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12690 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12693 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12694 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12700 case $cc_basename in
12702 # NonStop-UX NCC 3.20
12703 # FIXME: insert proper C++ library support
12707 # FIXME: insert proper C++ library support
12714 # FIXME: insert proper C++ library support
12719 # FIXME: insert proper C++ library support
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12725 $as_echo "$ld_shlibs_CXX" >&6; }
12726 test "$ld_shlibs_CXX" = no && can_build_shared=no
12732 ## There is no encapsulation within the following macros, do not change
12733 ## the running order or otherwise move them around unless you know exactly
12734 ## what you are doing...
12735 # Dependencies to place before and after the object being linked:
12736 predep_objects_CXX=
12737 postdep_objects_CXX=
12740 compiler_lib_search_path_CXX=
12742 cat > conftest.$ac_ext <<_LT_EOF
12746 Foo (void) { a = 0; }
12752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12753 (eval $ac_compile) 2>&5
12755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12756 test $ac_status = 0; }; then
12757 # Parse the compiler output and extract the necessary
12758 # objects, libraries and library flags.
12760 # Sentinel used to keep track of whether or not we are before
12761 # the conftest object file.
12762 pre_test_object_deps_done=no
12764 for p in `eval "$output_verbose_link_cmd"`; do
12768 # Some compilers place space between "-{L,R}" and the path.
12769 # Remove the space.
12770 if test $p = "-L" ||
12771 test $p = "-R"; then
12778 if test "$pre_test_object_deps_done" = no; then
12781 # Internal compiler library paths should come after those
12782 # provided the user. The postdeps already come after the
12783 # user supplied libs so there is no need to process them.
12784 if test -z "$compiler_lib_search_path_CXX"; then
12785 compiler_lib_search_path_CXX="${prev}${p}"
12787 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12790 # The "-l" case would never come before the object being
12791 # linked, so don't bother handling this case.
12794 if test -z "$postdeps_CXX"; then
12795 postdeps_CXX="${prev}${p}"
12797 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12803 # This assumes that the test object file only shows up
12804 # once in the compiler output.
12805 if test "$p" = "conftest.$objext"; then
12806 pre_test_object_deps_done=yes
12810 if test "$pre_test_object_deps_done" = no; then
12811 if test -z "$predep_objects_CXX"; then
12812 predep_objects_CXX="$p"
12814 predep_objects_CXX="$predep_objects_CXX $p"
12817 if test -z "$postdep_objects_CXX"; then
12818 postdep_objects_CXX="$p"
12820 postdep_objects_CXX="$postdep_objects_CXX $p"
12825 *) ;; # Ignore the rest.
12833 echo "libtool.m4: error: problem compiling CXX test program"
12836 $RM -f confest.$objext
12838 # PORTME: override above test on systems where it is broken
12841 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12842 # hack all around it, let's just trust "g++" to DTRT.
12843 predep_objects_CXX=
12844 postdep_objects_CXX=
12849 case `$CC -V 2>&1 | sed 5q` in
12853 # The more standards-conforming stlport4 library is
12854 # incompatible with the Cstd library. Avoid specifying
12855 # it if it's in CXXFLAGS. Ignore libCrun as
12856 # -library=stlport4 depends on it.
12857 case " $CXX $CXXFLAGS " in
12858 *" -library=stlport4 "*)
12859 solaris_use_stlport4=yes
12863 if test "$solaris_use_stlport4" != yes; then
12864 postdeps_CXX='-library=Cstd -library=Crun'
12871 case $cc_basename in
12873 # The more standards-conforming stlport4 library is
12874 # incompatible with the Cstd library. Avoid specifying
12875 # it if it's in CXXFLAGS. Ignore libCrun as
12876 # -library=stlport4 depends on it.
12877 case " $CXX $CXXFLAGS " in
12878 *" -library=stlport4 "*)
12879 solaris_use_stlport4=yes
12883 # Adding this requires a known-good setup of shared libraries for
12884 # Sun compiler versions before 5.6, else PIC objects from an old
12885 # archive will be linked into the output, leading to subtle bugs.
12886 if test "$solaris_use_stlport4" != yes; then
12887 postdeps_CXX='-library=Cstd -library=Crun'
12895 case " $postdeps_CXX " in
12896 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12898 compiler_lib_search_dirs_CXX=
12899 if test -n "${compiler_lib_search_path_CXX}"; then
12900 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12933 lt_prog_compiler_wl_CXX=
12934 lt_prog_compiler_pic_CXX=
12935 lt_prog_compiler_static_CXX=
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12938 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12940 # C++ specific cases for pic, static, wl, etc.
12941 if test "$GXX" = yes; then
12942 lt_prog_compiler_wl_CXX='-Wl,'
12943 lt_prog_compiler_static_CXX='-static'
12947 # All AIX code is PIC.
12948 if test "$host_cpu" = ia64; then
12949 # AIX 5 now supports IA64 processor
12950 lt_prog_compiler_static_CXX='-Bstatic'
12957 # see comment about AmigaOS4 .so support
12958 lt_prog_compiler_pic_CXX='-fPIC'
12961 # FIXME: we need at least 68020 code to build shared libraries, but
12962 # adding the `-m68020' flag to GCC prevents building anything better,
12964 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12969 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12970 # PIC is the default for these OSes.
12972 mingw* | cygwin* | os2* | pw32* | cegcc*)
12973 # This hack is so that the source file can tell whether it is being
12974 # built for inclusion in a dll (and should export symbols for example).
12975 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12976 # (--disable-auto-import) libraries
12977 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12979 darwin* | rhapsody*)
12980 # PIC is the default on this platform
12981 # Common symbols not allowed in MH_DYLIB files
12982 lt_prog_compiler_pic_CXX='-fno-common'
12985 # DJGPP does not support shared libraries at all
12986 lt_prog_compiler_pic_CXX=
12989 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12990 # Instead, we relocate shared libraries at runtime.
12993 if test -d /usr/nec; then
12994 lt_prog_compiler_pic_CXX=-Kconform_pic
12998 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12999 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13000 # sets the default TLS model and affects inlining.
13005 lt_prog_compiler_pic_CXX='-fPIC'
13010 # QNX uses GNU C++, but need to define -shared option too, otherwise
13011 # it will coredump.
13012 lt_prog_compiler_pic_CXX='-fPIC -shared'
13015 lt_prog_compiler_pic_CXX='-fPIC'
13021 # All AIX code is PIC.
13022 if test "$host_cpu" = ia64; then
13023 # AIX 5 now supports IA64 processor
13024 lt_prog_compiler_static_CXX='-Bstatic'
13026 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13030 case $cc_basename in
13032 # Green Hills C++ Compiler
13033 # _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"
13038 case $cc_basename in
13040 lt_prog_compiler_pic_CXX='-KPIC'
13043 # Green Hills C++ Compiler
13044 lt_prog_compiler_pic_CXX='-pic'
13050 freebsd* | dragonfly*)
13051 # FreeBSD uses GNU C++
13053 hpux9* | hpux10* | hpux11*)
13054 case $cc_basename in
13056 lt_prog_compiler_wl_CXX='-Wl,'
13057 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13058 if test "$host_cpu" != ia64; then
13059 lt_prog_compiler_pic_CXX='+Z'
13063 lt_prog_compiler_wl_CXX='-Wl,'
13064 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13070 lt_prog_compiler_pic_CXX='+Z'
13079 # This is c89, which is MS Visual C++ (no shared libs)
13080 # Anyone wants to do a port?
13082 irix5* | irix6* | nonstopux*)
13083 case $cc_basename in
13085 lt_prog_compiler_wl_CXX='-Wl,'
13086 lt_prog_compiler_static_CXX='-non_shared'
13087 # CC pic flag -KPIC is the default.
13093 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13094 case $cc_basename in
13097 lt_prog_compiler_wl_CXX='--backend -Wl,'
13098 lt_prog_compiler_pic_CXX='-fPIC'
13101 # old Intel C++ for x86_64 which still supported -KPIC.
13102 lt_prog_compiler_wl_CXX='-Wl,'
13103 lt_prog_compiler_pic_CXX='-KPIC'
13104 lt_prog_compiler_static_CXX='-static'
13107 # Intel C++, used to be incompatible with GCC.
13108 # ICC 10 doesn't accept -KPIC any more.
13109 lt_prog_compiler_wl_CXX='-Wl,'
13110 lt_prog_compiler_pic_CXX='-fPIC'
13111 lt_prog_compiler_static_CXX='-static'
13114 # Portland Group C++ compiler
13115 lt_prog_compiler_wl_CXX='-Wl,'
13116 lt_prog_compiler_pic_CXX='-fpic'
13117 lt_prog_compiler_static_CXX='-Bstatic'
13121 # Make sure the PIC flag is empty. It appears that all Alpha
13122 # Linux and Compaq Tru64 Unix objects are PIC.
13123 lt_prog_compiler_pic_CXX=
13124 lt_prog_compiler_static_CXX='-non_shared'
13127 # IBM XL 8.0 on PPC
13128 lt_prog_compiler_wl_CXX='-Wl,'
13129 lt_prog_compiler_pic_CXX='-qpic'
13130 lt_prog_compiler_static_CXX='-qstaticlink'
13133 case `$CC -V 2>&1 | sed 5q` in
13136 lt_prog_compiler_pic_CXX='-KPIC'
13137 lt_prog_compiler_static_CXX='-Bstatic'
13138 lt_prog_compiler_wl_CXX='-Qoption ld '
13149 case $cc_basename in
13151 lt_prog_compiler_pic_CXX='-W c,exportall'
13157 netbsd* | netbsdelf*-gnu)
13160 # QNX uses GNU C++, but need to define -shared option too, otherwise
13161 # it will coredump.
13162 lt_prog_compiler_pic_CXX='-fPIC -shared'
13164 osf3* | osf4* | osf5*)
13165 case $cc_basename in
13167 lt_prog_compiler_wl_CXX='--backend -Wl,'
13170 # Rational C++ 2.4.1
13171 lt_prog_compiler_pic_CXX='-pic'
13174 # Digital/Compaq C++
13175 lt_prog_compiler_wl_CXX='-Wl,'
13176 # Make sure the PIC flag is empty. It appears that all Alpha
13177 # Linux and Compaq Tru64 Unix objects are PIC.
13178 lt_prog_compiler_pic_CXX=
13179 lt_prog_compiler_static_CXX='-non_shared'
13188 case $cc_basename in
13190 # Sun C++ 4.2, 5.x and Centerline C++
13191 lt_prog_compiler_pic_CXX='-KPIC'
13192 lt_prog_compiler_static_CXX='-Bstatic'
13193 lt_prog_compiler_wl_CXX='-Qoption ld '
13196 # Green Hills C++ Compiler
13197 lt_prog_compiler_pic_CXX='-PIC'
13204 case $cc_basename in
13207 lt_prog_compiler_pic_CXX='-pic'
13208 lt_prog_compiler_static_CXX='-Bstatic'
13212 lt_prog_compiler_pic_CXX='-pic'
13218 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13219 case $cc_basename in
13221 lt_prog_compiler_wl_CXX='-Wl,'
13222 lt_prog_compiler_pic_CXX='-KPIC'
13223 lt_prog_compiler_static_CXX='-Bstatic'
13228 case $cc_basename in
13230 # NonStop-UX NCC 3.20
13231 lt_prog_compiler_pic_CXX='-KPIC'
13240 lt_prog_compiler_can_build_shared_CXX=no
13246 # For platforms which do not support PIC, -DPIC is meaningless:
13248 lt_prog_compiler_pic_CXX=
13251 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13255 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13260 # Check to make sure the PIC flag actually works.
13262 if test -n "$lt_prog_compiler_pic_CXX"; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13264 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13265 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13266 $as_echo_n "(cached) " >&6
13268 lt_cv_prog_compiler_pic_works_CXX=no
13269 ac_outfile=conftest.$ac_objext
13270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13271 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13272 # Insert the option either (1) after the last *FLAGS variable, or
13273 # (2) before a word containing "conftest.", or (3) at the end.
13274 # Note that $ac_compile itself does not contain backslashes and begins
13275 # with a dollar sign (not a hyphen), so the echo should work correctly.
13276 # The option is referenced via a variable to avoid confusing sed.
13277 lt_compile=`echo "$ac_compile" | $SED \
13278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13280 -e 's:$: $lt_compiler_flag:'`
13281 (eval echo "\"\$as_me:13281: $lt_compile\"" >&5)
13282 (eval "$lt_compile" 2>conftest.err)
13284 cat conftest.err >&5
13285 echo "$as_me:13285: \$? = $ac_status" >&5
13286 if (exit $ac_status) && test -s "$ac_outfile"; then
13287 # The compiler can only warn and ignore the option if not recognized
13288 # So say no if there are warnings other than the usual output.
13289 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13290 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13291 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13292 lt_cv_prog_compiler_pic_works_CXX=yes
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13299 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13301 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13302 case $lt_prog_compiler_pic_CXX in
13304 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13307 lt_prog_compiler_pic_CXX=
13308 lt_prog_compiler_can_build_shared_CXX=no
13316 # Check to make sure the static flag actually works.
13318 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13320 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13321 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13322 $as_echo_n "(cached) " >&6
13324 lt_cv_prog_compiler_static_works_CXX=no
13325 save_LDFLAGS="$LDFLAGS"
13326 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13327 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13328 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13329 # The linker can only warn and ignore the option if not recognized
13330 # So say no if there are warnings
13331 if test -s conftest.err; then
13332 # Append any errors to the config.log.
13333 cat conftest.err 1>&5
13334 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13335 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13336 if diff conftest.exp conftest.er2 >/dev/null; then
13337 lt_cv_prog_compiler_static_works_CXX=yes
13340 lt_cv_prog_compiler_static_works_CXX=yes
13344 LDFLAGS="$save_LDFLAGS"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13348 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13350 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13353 lt_prog_compiler_static_CXX=
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13360 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13361 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13362 $as_echo_n "(cached) " >&6
13364 lt_cv_prog_compiler_c_o_CXX=no
13365 $RM -r conftest 2>/dev/null
13369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13371 lt_compiler_flag="-o out/conftest2.$ac_objext"
13372 # Insert the option either (1) after the last *FLAGS variable, or
13373 # (2) before a word containing "conftest.", or (3) at the end.
13374 # Note that $ac_compile itself does not contain backslashes and begins
13375 # with a dollar sign (not a hyphen), so the echo should work correctly.
13376 lt_compile=`echo "$ac_compile" | $SED \
13377 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13378 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13379 -e 's:$: $lt_compiler_flag:'`
13380 (eval echo "\"\$as_me:13380: $lt_compile\"" >&5)
13381 (eval "$lt_compile" 2>out/conftest.err)
13383 cat out/conftest.err >&5
13384 echo "$as_me:13384: \$? = $ac_status" >&5
13385 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13387 # The compiler can only warn and ignore the option if not recognized
13388 # So say no if there are warnings
13389 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13390 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13391 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13392 lt_cv_prog_compiler_c_o_CXX=yes
13397 # SGI C++ compiler will create directory out/ii_files/ for
13398 # template instantiation
13399 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13400 $RM out/* && rmdir out
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13407 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13412 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13413 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13414 $as_echo_n "(cached) " >&6
13416 lt_cv_prog_compiler_c_o_CXX=no
13417 $RM -r conftest 2>/dev/null
13421 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13423 lt_compiler_flag="-o out/conftest2.$ac_objext"
13424 # Insert the option either (1) after the last *FLAGS variable, or
13425 # (2) before a word containing "conftest.", or (3) at the end.
13426 # Note that $ac_compile itself does not contain backslashes and begins
13427 # with a dollar sign (not a hyphen), so the echo should work correctly.
13428 lt_compile=`echo "$ac_compile" | $SED \
13429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13431 -e 's:$: $lt_compiler_flag:'`
13432 (eval echo "\"\$as_me:13432: $lt_compile\"" >&5)
13433 (eval "$lt_compile" 2>out/conftest.err)
13435 cat out/conftest.err >&5
13436 echo "$as_me:13436: \$? = $ac_status" >&5
13437 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13439 # The compiler can only warn and ignore the option if not recognized
13440 # So say no if there are warnings
13441 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13442 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13443 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13444 lt_cv_prog_compiler_c_o_CXX=yes
13449 # SGI C++ compiler will create directory out/ii_files/ for
13450 # template instantiation
13451 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13452 $RM out/* && rmdir out
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13459 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13464 hard_links="nottested"
13465 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13466 # do not overwrite the value of need_locks provided by the user
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13468 $as_echo_n "checking if we can lock with hard links... " >&6; }
13471 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13473 ln conftest.a conftest.b 2>&5 || hard_links=no
13474 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13476 $as_echo "$hard_links" >&6; }
13477 if test "$hard_links" = no; then
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13479 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13489 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13491 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13494 # If we're using GNU nm, then we don't want the "-C" option.
13495 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13496 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13497 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'
13499 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'
13503 export_symbols_cmds_CXX="$ltdll_cmds"
13505 cygwin* | mingw* | cegcc*)
13506 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'
13508 linux* | k*bsd*-gnu)
13509 link_all_deplibs_CXX=no
13512 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13515 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13518 $as_echo "$ld_shlibs_CXX" >&6; }
13519 test "$ld_shlibs_CXX" = no && can_build_shared=no
13521 with_gnu_ld_CXX=$with_gnu_ld
13529 # Do we need to explicitly link libc?
13531 case "x$archive_cmds_need_lc_CXX" in
13533 # Assume -lc should be added
13534 archive_cmds_need_lc_CXX=yes
13536 if test "$enable_shared" = yes && test "$GCC" = yes; then
13537 case $archive_cmds_CXX in
13539 # FIXME: we may have to deal with multi-command sequences.
13542 # Test whether the compiler implicitly links with -lc since on some
13543 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13544 # to ld, don't add -lc before -lgcc.
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13546 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13548 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13551 (eval $ac_compile) 2>&5
13553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13554 test $ac_status = 0; } 2>conftest.err; then
13557 libobjs=conftest.$ac_objext
13559 wl=$lt_prog_compiler_wl_CXX
13560 pic_flag=$lt_prog_compiler_pic_CXX
13566 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13567 allow_undefined_flag_CXX=
13568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13569 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13572 test $ac_status = 0; }
13574 archive_cmds_need_lc_CXX=no
13576 archive_cmds_need_lc_CXX=yes
13578 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13580 cat conftest.err 1>&5
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13584 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13655 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13657 library_names_spec=
13658 libname_spec='lib$name'
13662 postuninstall_cmds=
13666 shlibpath_overrides_runpath=unknown
13668 dynamic_linker="$host_os ld.so"
13669 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13670 need_lib_prefix=unknown
13671 hardcode_into_libs=no
13673 # when you set need_version to no, make sure it does not cause -set_version
13674 # flags to be left without arguments
13675 need_version=unknown
13680 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13681 shlibpath_var=LIBPATH
13683 # AIX 3 has no versioning support, so we append a major version to the name.
13684 soname_spec='${libname}${release}${shared_ext}$major'
13691 hardcode_into_libs=yes
13692 if test "$host_cpu" = ia64; then
13693 # AIX 5 supports IA64
13694 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13695 shlibpath_var=LD_LIBRARY_PATH
13697 # With GCC up to 2.95.x, collect2 would create an import file
13698 # for dependence libraries. The import file would start with
13699 # the line `#! .'. This would cause the generated library to
13700 # depend on `.', always an invalid library. This was fixed in
13701 # development snapshots of GCC prior to 3.0.
13703 aix4 | aix4.[01] | aix4.[01].*)
13704 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13706 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13709 can_build_shared=no
13713 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13714 # soname into executable. Probably we can add versioning support to
13715 # collect2, so additional links can be useful in future.
13716 if test "$aix_use_runtimelinking" = yes; then
13717 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13718 # instead of lib<name>.a to let people know that these are not
13719 # typical AIX shared libraries.
13720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13722 # We preserve .a as extension for shared libraries through AIX4.2
13723 # and later when we are not doing run time linking.
13724 library_names_spec='${libname}${release}.a $libname.a'
13725 soname_spec='${libname}${release}${shared_ext}$major'
13727 shlibpath_var=LIBPATH
13734 # Since July 2007 AmigaOS4 officially supports .so libraries.
13735 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13739 library_names_spec='$libname.ixlibrary $libname.a'
13740 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13741 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'
13747 library_names_spec='${libname}${shared_ext}'
13748 dynamic_linker="$host_os ld.so"
13749 shlibpath_var=LIBRARY_PATH
13755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13756 soname_spec='${libname}${release}${shared_ext}$major'
13757 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13758 shlibpath_var=LD_LIBRARY_PATH
13759 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13760 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13761 # the default ld.so.conf also contains /usr/contrib/lib and
13762 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13763 # libtool to hard-code these into programs
13766 cygwin* | mingw* | pw32* | cegcc*)
13767 version_type=windows
13772 case $GCC,$host_os in
13773 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13774 library_names_spec='$libname.dll.a'
13775 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13776 postinstall_cmds='base_file=`basename \${file}`~
13777 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13778 dldir=$destdir/`dirname \$dlpath`~
13779 test -d \$dldir || mkdir -p \$dldir~
13780 $install_prog $dir/$dlname \$dldir/$dlname~
13781 chmod a+x \$dldir/$dlname~
13782 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13783 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13785 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13786 dlpath=$dir/\$dldll~
13788 shlibpath_overrides_runpath=yes
13792 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13793 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13794 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13797 # MinGW DLLs use traditional 'lib' prefix
13798 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13799 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13800 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13801 # It is most probably a Windows format PATH printed by
13802 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13803 # path with ; separators, and with drive letters. We can handle the
13804 # drive letters (cygwin fileutils understands them), so leave them,
13805 # especially as we might pass files found there to a mingw objdump,
13806 # which wouldn't understand a cygwinified path. Ahh.
13807 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13809 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13813 # pw32 DLLs use 'pw' prefix rather than 'lib'
13814 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13820 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13823 dynamic_linker='Win32 ld.exe'
13824 # FIXME: first we should search . and the directory the executable is in
13828 darwin* | rhapsody*)
13829 dynamic_linker="$host_os dyld"
13830 version_type=darwin
13833 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13834 soname_spec='${libname}${release}${major}$shared_ext'
13835 shlibpath_overrides_runpath=yes
13836 shlibpath_var=DYLD_LIBRARY_PATH
13837 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13839 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13847 soname_spec='${libname}${release}${shared_ext}$major'
13848 shlibpath_var=LD_LIBRARY_PATH
13855 freebsd* | dragonfly*)
13856 # DragonFly does not have aout. When/if they implement a new
13857 # versioning mechanism, adjust this.
13858 if test -x /usr/bin/objformat; then
13859 objformat=`/usr/bin/objformat`
13862 freebsd[123]*) objformat=aout ;;
13863 *) objformat=elf ;;
13866 version_type=freebsd-$objformat
13867 case $version_type in
13869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13874 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13878 shlibpath_var=LD_LIBRARY_PATH
13881 shlibpath_overrides_runpath=yes
13883 freebsd3.[01]* | freebsdelf3.[01]*)
13884 shlibpath_overrides_runpath=yes
13885 hardcode_into_libs=yes
13887 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13888 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13889 shlibpath_overrides_runpath=no
13890 hardcode_into_libs=yes
13892 *) # from 4.6 on, and DragonFly
13893 shlibpath_overrides_runpath=yes
13894 hardcode_into_libs=yes
13903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13904 soname_spec='${libname}${release}${shared_ext}$major'
13905 shlibpath_var=LD_LIBRARY_PATH
13906 hardcode_into_libs=yes
13909 hpux9* | hpux10* | hpux11*)
13910 # Give a soname corresponding to the major version so that dld.sl refuses to
13911 # link against other versions.
13918 hardcode_into_libs=yes
13919 dynamic_linker="$host_os dld.so"
13920 shlibpath_var=LD_LIBRARY_PATH
13921 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13923 soname_spec='${libname}${release}${shared_ext}$major'
13924 if test "X$HPUX_IA64_MODE" = X32; then
13925 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13927 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13929 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13933 hardcode_into_libs=yes
13934 dynamic_linker="$host_os dld.sl"
13935 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13936 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13938 soname_spec='${libname}${release}${shared_ext}$major'
13939 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13940 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13944 dynamic_linker="$host_os dld.sl"
13945 shlibpath_var=SHLIB_PATH
13946 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13948 soname_spec='${libname}${release}${shared_ext}$major'
13951 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13952 postinstall_cmds='chmod 555 $lib'
13959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13960 soname_spec='${libname}${release}${shared_ext}$major'
13961 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13962 shlibpath_var=LD_LIBRARY_PATH
13963 shlibpath_overrides_runpath=no
13964 hardcode_into_libs=yes
13967 irix5* | irix6* | nonstopux*)
13969 nonstopux*) version_type=nonstopux ;;
13971 if test "$lt_cv_prog_gnu_ld" = yes; then
13979 soname_spec='${libname}${release}${shared_ext}$major'
13980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13982 irix5* | nonstopux*)
13983 libsuff= shlibsuff=
13986 case $LD in # libtool.m4 will add one of these switches to LD
13987 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13988 libsuff= shlibsuff= libmagic=32-bit;;
13989 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13990 libsuff=32 shlibsuff=N32 libmagic=N32;;
13991 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13992 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13993 *) libsuff= shlibsuff= libmagic=never-match;;
13997 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13998 shlibpath_overrides_runpath=no
13999 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14000 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14001 hardcode_into_libs=yes
14004 # No shared lib support for Linux oldld, aout, or coff.
14005 linux*oldld* | linux*aout* | linux*coff*)
14009 # This must be Linux ELF.
14010 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14015 soname_spec='${libname}${release}${shared_ext}$major'
14016 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14017 shlibpath_var=LD_LIBRARY_PATH
14018 shlibpath_overrides_runpath=no
14019 # Some binutils ld are patched to set DT_RUNPATH
14020 save_LDFLAGS=$LDFLAGS
14021 save_libdir=$libdir
14022 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14023 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14035 if ac_fn_cxx_try_link "$LINENO"; then :
14036 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14037 shlibpath_overrides_runpath=yes
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 LDFLAGS=$save_LDFLAGS
14043 libdir=$save_libdir
14045 # This implies no fast_install, which is unacceptable.
14046 # Some rework will be needed to allow for fast_install
14047 # before this can be enabled.
14048 hardcode_into_libs=yes
14050 # Append ld.so.conf contents to the search path
14051 if test -f /etc/ld.so.conf; then
14052 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' ' '`
14053 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14056 # We used to test for /lib/ld.so.1 and disable shared libraries on
14057 # powerpc, because MkLinux only supported shared libraries with the
14058 # GNU dynamic linker. Since this was broken with cross compilers,
14059 # most powerpc-linux boxes support dynamic linking these days and
14060 # people can always --disable-shared, the test was removed, and we
14061 # assume the GNU/Linux dynamic linker is in use.
14062 dynamic_linker='GNU/Linux ld.so'
14069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14070 soname_spec='${libname}${release}${shared_ext}$major'
14071 shlibpath_var=LD_LIBRARY_PATH
14072 shlibpath_overrides_runpath=no
14073 hardcode_into_libs=yes
14074 dynamic_linker='NetBSD ld.elf_so'
14081 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14083 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14084 dynamic_linker='NetBSD (a.out) ld.so'
14086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14087 soname_spec='${libname}${release}${shared_ext}$major'
14088 dynamic_linker='NetBSD ld.elf_so'
14090 shlibpath_var=LD_LIBRARY_PATH
14091 shlibpath_overrides_runpath=yes
14092 hardcode_into_libs=yes
14097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14098 shlibpath_var=LD_LIBRARY_PATH
14099 shlibpath_overrides_runpath=yes
14106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14107 soname_spec='${libname}${release}${shared_ext}$major'
14108 shlibpath_var=LD_LIBRARY_PATH
14109 shlibpath_overrides_runpath=no
14110 hardcode_into_libs=yes
14111 dynamic_linker='ldqnx.so'
14116 sys_lib_dlsearch_path_spec="/usr/lib"
14118 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14120 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14121 *) need_version=no ;;
14123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14124 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14125 shlibpath_var=LD_LIBRARY_PATH
14126 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14128 openbsd2.[89] | openbsd2.[89].*)
14129 shlibpath_overrides_runpath=no
14132 shlibpath_overrides_runpath=yes
14136 shlibpath_overrides_runpath=yes
14141 libname_spec='$name'
14144 library_names_spec='$libname${shared_ext} $libname.a'
14145 dynamic_linker='OS/2 ld.exe'
14146 shlibpath_var=LIBPATH
14149 osf3* | osf4* | osf5*)
14153 soname_spec='${libname}${release}${shared_ext}$major'
14154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14155 shlibpath_var=LD_LIBRARY_PATH
14156 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14157 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14169 soname_spec='${libname}${release}${shared_ext}$major'
14170 shlibpath_var=LD_LIBRARY_PATH
14171 shlibpath_overrides_runpath=yes
14172 hardcode_into_libs=yes
14173 # ldd complains unless libraries are executable
14174 postinstall_cmds='chmod +x $lib'
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14180 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14181 shlibpath_var=LD_LIBRARY_PATH
14182 shlibpath_overrides_runpath=yes
14183 if test "$with_gnu_ld" = yes; then
14191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192 soname_spec='${libname}${release}${shared_ext}$major'
14193 shlibpath_var=LD_LIBRARY_PATH
14194 case $host_vendor in
14196 shlibpath_overrides_runpath=no
14198 runpath_var=LD_RUN_PATH
14206 shlibpath_overrides_runpath=no
14207 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14213 if test -d /usr/nec ;then
14215 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14216 soname_spec='$libname${shared_ext}.$major'
14217 shlibpath_var=LD_LIBRARY_PATH
14221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14222 version_type=freebsd-elf
14225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14226 soname_spec='${libname}${release}${shared_ext}$major'
14227 shlibpath_var=LD_LIBRARY_PATH
14228 shlibpath_overrides_runpath=yes
14229 hardcode_into_libs=yes
14230 if test "$with_gnu_ld" = yes; then
14231 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14233 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14236 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14240 sys_lib_dlsearch_path_spec='/usr/lib'
14244 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14249 shlibpath_var=LD_LIBRARY_PATH
14250 shlibpath_overrides_runpath=no
14251 hardcode_into_libs=yes
14256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14257 soname_spec='${libname}${release}${shared_ext}$major'
14258 shlibpath_var=LD_LIBRARY_PATH
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14266 $as_echo "$dynamic_linker" >&6; }
14267 test "$dynamic_linker" = no && can_build_shared=no
14269 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14270 if test "$GCC" = yes; then
14271 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14274 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14275 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14277 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14278 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14317 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14318 hardcode_action_CXX=
14319 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14320 test -n "$runpath_var_CXX" ||
14321 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14323 # We can hardcode non-existent directories.
14324 if test "$hardcode_direct_CXX" != no &&
14325 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14326 # have to relink, otherwise we might link with an installed library
14327 # when we should be linking with a yet-to-be-installed one
14328 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14329 test "$hardcode_minus_L_CXX" != no; then
14330 # Linking always hardcodes the temporary library directory.
14331 hardcode_action_CXX=relink
14333 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14334 hardcode_action_CXX=immediate
14337 # We cannot hardcode anything, or else we can only hardcode existing
14339 hardcode_action_CXX=unsupported
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14342 $as_echo "$hardcode_action_CXX" >&6; }
14344 if test "$hardcode_action_CXX" = relink ||
14345 test "$inherit_rpath_CXX" = yes; then
14346 # Fast installation is not supported
14347 enable_fast_install=no
14348 elif test "$shlibpath_overrides_runpath" = yes ||
14349 test "$enable_shared" = no; then
14350 # Fast installation is not necessary
14351 enable_fast_install=needless
14360 fi # test -n "$compiler"
14366 with_gnu_ld=$lt_save_with_gnu_ld
14367 lt_cv_path_LDCXX=$lt_cv_path_LD
14368 lt_cv_path_LD=$lt_save_path_LD
14369 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14370 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14371 fi # test "$_lt_caught_CXX_error" != yes
14374 ac_cpp='$CPP $CPPFLAGS'
14375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14391 ac_config_commands="$ac_config_commands libtool"
14396 # Only expand once:
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14400 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14402 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14403 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
14404 $as_echo_n "(cached) " >&6
14406 cat >conftest.make <<\_ACEOF
14409 @echo '@@@%%%=$(MAKE)=@@@%%%'
14411 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
14412 case `${MAKE-make} -f conftest.make 2>/dev/null` in
14413 *@@@%%%=?*=@@@%%%*)
14414 eval ac_cv_prog_make_${ac_make}_set=yes;;
14416 eval ac_cv_prog_make_${ac_make}_set=no;;
14418 rm -f conftest.make
14420 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14422 $as_echo "yes" >&6; }
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14426 $as_echo "no" >&6; }
14427 SET_MAKE="MAKE=${MAKE-make}"
14430 if test "x$CC" != xcc; then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
14432 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
14435 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
14437 set dummy $CC; ac_cc=`$as_echo "$2" |
14438 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14439 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
14440 $as_echo_n "(cached) " >&6
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14453 # Make sure it works both with $CC and with simple cc.
14454 # We do the test twice because some compilers refuse to overwrite an
14455 # existing .o file with -o, though they will create one.
14456 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14458 if { { case "(($ac_try" in
14459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14460 *) ac_try_echo=$ac_try;;
14462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14463 $as_echo "$ac_try_echo"; } >&5
14464 (eval "$ac_try") 2>&5
14466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14467 test $ac_status = 0; } &&
14468 test -f conftest2.$ac_objext && { { case "(($ac_try" in
14469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14470 *) ac_try_echo=$ac_try;;
14472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14473 $as_echo "$ac_try_echo"; } >&5
14474 (eval "$ac_try") 2>&5
14476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14477 test $ac_status = 0; };
14479 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
14480 if test "x$CC" != xcc; then
14481 # Test first that cc exists at all.
14482 if { ac_try='cc -c conftest.$ac_ext >&5'
14483 { { case "(($ac_try" in
14484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14485 *) ac_try_echo=$ac_try;;
14487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14488 $as_echo "$ac_try_echo"; } >&5
14489 (eval "$ac_try") 2>&5
14491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14492 test $ac_status = 0; }; }; then
14493 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14495 if { { case "(($ac_try" in
14496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14497 *) ac_try_echo=$ac_try;;
14499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14500 $as_echo "$ac_try_echo"; } >&5
14501 (eval "$ac_try") 2>&5
14503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14504 test $ac_status = 0; } &&
14505 test -f conftest2.$ac_objext && { { case "(($ac_try" in
14506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14507 *) ac_try_echo=$ac_try;;
14509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14510 $as_echo "$ac_try_echo"; } >&5
14511 (eval "$ac_try") 2>&5
14513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14514 test $ac_status = 0; };
14519 # cc exists but doesn't like -o.
14520 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14525 eval ac_cv_prog_cc_${ac_cc}_c_o=no
14527 rm -f core conftest*
14530 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14532 $as_echo "yes" >&6; }
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14535 $as_echo "no" >&6; }
14537 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
14541 # FIXME: we rely on the cache variable name because
14542 # there is no other way.
14544 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14545 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
14546 if test "$am_t" != yes; then
14547 # Losing compiler, so override with the script.
14548 # FIXME: It is wrong to rewrite CC.
14549 # But if we don't then we get into trouble of one sort or another.
14550 # A longer-term fix would be to have automake use am__CC in this case,
14551 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14552 CC="$am_aux_dir/compile $CC"
14557 # --enable-warning=min/max/fatal/none
14558 # Check whether --enable-warnings was given.
14559 if test "${enable_warnings+set}" = set; then :
14560 enableval=$enable_warnings; dk_enable_warnings=$enableval
14562 dk_enable_warnings=min
14566 case $ac_compile in
14570 dk_conftest=conftest.${ac_ext-cc}
14575 dk_conftest=conftest.${ac_ext-c}
14579 if test "x$dk_lang" != x; then :
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $dk_lang compiler warning flags to use" >&5
14582 $as_echo_n "checking which $dk_lang compiler warning flags to use... " >&6; }
14584 case $dk_enable_warnings in
14585 no) dk_warning_flags=;;
14586 max) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-unused-but-set-variable";;
14587 fatal) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-unused-but-set-variable -Werror";;
14588 *) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-unused-but-set-variable";;
14591 dk_deprecation_flags=
14594 if test "x$dk_warning_flags" != x; then :
14596 # Keep in mind that the dummy source must be devoid of any
14597 # problems that might cause diagnostics.
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
14603 for dk_flag in $dk_warning_flags
14605 # Test whether the compiler accepts the flag. GCC doesn't bail
14606 # out when given an unsupported flag but prints a warning, so
14607 # check the compiler output instead.
14608 dk_cc_out=`$dk_cc $dk_tested_flags $dk_flag -c "$dk_conftest" 2>&1 || echo failed`
14609 rm -f "conftest.${OBJEXT-o}"
14611 if test "x$dk_cc_out" = x; then :
14613 if test "x$dk_tested_flags" = x; then :
14614 dk_tested_flags=$dk_flag
14616 dk_tested_flags="$dk_tested_flags $dk_flag"
14621 echo "$dk_cc_out" >&5
14626 rm -f "$dk_conftest"
14629 dk_all_flags=$dk_deprecation_flags$dk_tested_flags
14630 SYNTHESIS_WFLAGS=$dk_all_flags
14633 test "x$dk_all_flags" != x || dk_all_flags=none
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dk_all_flags" >&5
14635 $as_echo "$dk_all_flags" >&6; }
14640 PIC_CXXFLAGS="$lt_prog_compiler_pic_CXX"
14643 # Check whether --enable-debug-logs was given.
14644 if test "${enable_debug_logs+set}" = set; then :
14645 enableval=$enable_debug_logs; enable_debug_logs="$enableval"
14647 enable_debug_logs="no"
14650 if test "$enable_debug_logs" = "yes"; then
14652 cat >>confdefs.h <<_ACEOF
14653 #define SYDEBUG_LOCATION "`pwd`/src/html"
14657 if test "$enable_debug_logs" = "yes"; then
14659 COND_DOXYGEN_FALSE='#'
14661 COND_DOXYGEN_TRUE='#'
14662 COND_DOXYGEN_FALSE=
14668 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14669 if test -n "$ac_tool_prefix"; then
14670 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14671 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14673 $as_echo_n "checking for $ac_word... " >&6; }
14674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14675 $as_echo_n "(cached) " >&6
14677 case $PKG_CONFIG in
14679 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14683 for as_dir in $PATH
14686 test -z "$as_dir" && as_dir=.
14687 for ac_exec_ext in '' $ac_executable_extensions; do
14688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14689 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14700 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14701 if test -n "$PKG_CONFIG"; then
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14703 $as_echo "$PKG_CONFIG" >&6; }
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706 $as_echo "no" >&6; }
14711 if test -z "$ac_cv_path_PKG_CONFIG"; then
14712 ac_pt_PKG_CONFIG=$PKG_CONFIG
14713 # Extract the first word of "pkg-config", so it can be a program name with args.
14714 set dummy pkg-config; ac_word=$2
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14716 $as_echo_n "checking for $ac_word... " >&6; }
14717 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14718 $as_echo_n "(cached) " >&6
14720 case $ac_pt_PKG_CONFIG in
14722 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14726 for as_dir in $PATH
14729 test -z "$as_dir" && as_dir=.
14730 for ac_exec_ext in '' $ac_executable_extensions; do
14731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14732 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14743 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14744 if test -n "$ac_pt_PKG_CONFIG"; then
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14746 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14749 $as_echo "no" >&6; }
14752 if test "x$ac_pt_PKG_CONFIG" = x; then
14755 case $cross_compiling:$ac_tool_warned in
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14759 ac_tool_warned=yes ;;
14761 PKG_CONFIG=$ac_pt_PKG_CONFIG
14764 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14768 if test -n "$PKG_CONFIG"; then
14769 _pkg_min_version=0.9.0
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14771 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14772 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14774 $as_echo "yes" >&6; }
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14777 $as_echo "no" >&6; }
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FOOBAR" >&5
14785 $as_echo_n "checking for FOOBAR... " >&6; }
14787 if test -n "$PKG_CONFIG"; then
14788 if test -n "$FOOBAR_CFLAGS"; then
14789 pkg_cv_FOOBAR_CFLAGS="$FOOBAR_CFLAGS"
14791 if test -n "$PKG_CONFIG" && \
14792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"foobar\""; } >&5
14793 ($PKG_CONFIG --exists --print-errors "foobar") 2>&5
14795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796 test $ac_status = 0; }; then
14797 pkg_cv_FOOBAR_CFLAGS=`$PKG_CONFIG --cflags "foobar" 2>/dev/null`
14805 if test -n "$PKG_CONFIG"; then
14806 if test -n "$FOOBAR_LIBS"; then
14807 pkg_cv_FOOBAR_LIBS="$FOOBAR_LIBS"
14809 if test -n "$PKG_CONFIG" && \
14810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"foobar\""; } >&5
14811 ($PKG_CONFIG --exists --print-errors "foobar") 2>&5
14813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14814 test $ac_status = 0; }; then
14815 pkg_cv_FOOBAR_LIBS=`$PKG_CONFIG --libs "foobar" 2>/dev/null`
14826 if test $pkg_failed = yes; then
14828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14829 _pkg_short_errors_supported=yes
14831 _pkg_short_errors_supported=no
14833 if test $_pkg_short_errors_supported = yes; then
14834 FOOBAR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "foobar"`
14836 FOOBAR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "foobar"`
14838 # Put the nasty error message in config.log where it belongs
14839 echo "$FOOBAR_PKG_ERRORS" >&5
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14842 $as_echo "no" >&6; }
14844 elif test $pkg_failed = untried; then
14847 FOOBAR_CFLAGS=$pkg_cv_FOOBAR_CFLAGS
14848 FOOBAR_LIBS=$pkg_cv_FOOBAR_LIBS
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14850 $as_echo "yes" >&6; }
14854 # Check whether --enable-sqlite was given.
14855 if test "${enable_sqlite+set}" = set; then :
14856 enableval=$enable_sqlite; enable_sqlite=$enableval
14858 enable_sqlite="yes"
14861 if test "$enable_sqlite" == "yes"; then
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
14865 $as_echo_n "checking for SQLITE3... " >&6; }
14867 if test -n "$PKG_CONFIG"; then
14868 if test -n "$SQLITE3_CFLAGS"; then
14869 pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
14871 if test -n "$PKG_CONFIG" && \
14872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
14873 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
14875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14876 test $ac_status = 0; }; then
14877 pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
14885 if test -n "$PKG_CONFIG"; then
14886 if test -n "$SQLITE3_LIBS"; then
14887 pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
14889 if test -n "$PKG_CONFIG" && \
14890 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
14891 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
14893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14894 test $ac_status = 0; }; then
14895 pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
14906 if test $pkg_failed = yes; then
14908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14909 _pkg_short_errors_supported=yes
14911 _pkg_short_errors_supported=no
14913 if test $_pkg_short_errors_supported = yes; then
14914 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
14916 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
14918 # Put the nasty error message in config.log where it belongs
14919 echo "$SQLITE3_PKG_ERRORS" >&5
14921 as_fn_error "Package requirements (sqlite3) were not met:
14923 $SQLITE3_PKG_ERRORS
14925 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14926 installed software in a non-standard prefix.
14928 Alternatively, you may set the environment variables SQLITE3_CFLAGS
14929 and SQLITE3_LIBS to avoid the need to call pkg-config.
14930 See the pkg-config man page for more details.
14932 elif test $pkg_failed = untried; then
14933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14935 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
14936 is in your PATH or set the PKG_CONFIG environment variable to the full
14937 path to pkg-config.
14939 Alternatively, you may set the environment variables SQLITE3_CFLAGS
14940 and SQLITE3_LIBS to avoid the need to call pkg-config.
14941 See the pkg-config man page for more details.
14943 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14944 See \`config.log' for more details." "$LINENO" 5; }
14946 SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
14947 SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14949 $as_echo "yes" >&6; }
14957 cat >>confdefs.h <<_ACEOF
14958 #define ONOFF_SQLITE_SUPPORT $HAVE_SQLITE
14962 # Check whether --enable-regex was given.
14963 if test "${enable_regex+set}" = set; then :
14964 enableval=$enable_regex; enable_regex=$enableval
14969 if test "$enable_regex" == "yes"; then
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5
14973 $as_echo_n "checking for PCRE... " >&6; }
14975 if test -n "$PKG_CONFIG"; then
14976 if test -n "$PCRE_CFLAGS"; then
14977 pkg_cv_PCRE_CFLAGS="$PCRE_CFLAGS"
14979 if test -n "$PKG_CONFIG" && \
14980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
14981 ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
14983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14984 test $ac_status = 0; }; then
14985 pkg_cv_PCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre" 2>/dev/null`
14993 if test -n "$PKG_CONFIG"; then
14994 if test -n "$PCRE_LIBS"; then
14995 pkg_cv_PCRE_LIBS="$PCRE_LIBS"
14997 if test -n "$PKG_CONFIG" && \
14998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
14999 ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
15001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15002 test $ac_status = 0; }; then
15003 pkg_cv_PCRE_LIBS=`$PKG_CONFIG --libs "libpcre" 2>/dev/null`
15014 if test $pkg_failed = yes; then
15016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15017 _pkg_short_errors_supported=yes
15019 _pkg_short_errors_supported=no
15021 if test $_pkg_short_errors_supported = yes; then
15022 PCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpcre"`
15024 PCRE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpcre"`
15026 # Put the nasty error message in config.log where it belongs
15027 echo "$PCRE_PKG_ERRORS" >&5
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15030 $as_echo "no" >&6; }
15031 as_fn_error "libpcre not found, required for --enable-regex" "$LINENO" 5
15032 elif test $pkg_failed = untried; then
15033 as_fn_error "libpcre not found, required for --enable-regex" "$LINENO" 5
15035 PCRE_CFLAGS=$pkg_cv_PCRE_CFLAGS
15036 PCRE_LIBS=$pkg_cv_PCRE_LIBS
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15038 $as_echo "yes" >&6; }
15046 cat >>confdefs.h <<_ACEOF
15047 #define ONOFF_REGEX_SUPPORT $HAVE_PCRE
15051 # Check whether --enable-dlt was given.
15052 if test "${enable_dlt+set}" = set; then :
15053 enableval=$enable_dlt; enable_dlt=$enableval
15054 test $enable_dlt = "yes" || test $enable_dlt = "no" || as_fn_error "invalid value of --enable-dlt: $enableval" "$LINENO" 5
15059 if test "$enable_dlt" = "yes"; then
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLT" >&5
15063 $as_echo_n "checking for DLT... " >&6; }
15065 if test -n "$PKG_CONFIG"; then
15066 if test -n "$DLT_CFLAGS"; then
15067 pkg_cv_DLT_CFLAGS="$DLT_CFLAGS"
15069 if test -n "$PKG_CONFIG" && \
15070 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"automotive-dlt\""; } >&5
15071 ($PKG_CONFIG --exists --print-errors "automotive-dlt") 2>&5
15073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15074 test $ac_status = 0; }; then
15075 pkg_cv_DLT_CFLAGS=`$PKG_CONFIG --cflags "automotive-dlt" 2>/dev/null`
15083 if test -n "$PKG_CONFIG"; then
15084 if test -n "$DLT_LIBS"; then
15085 pkg_cv_DLT_LIBS="$DLT_LIBS"
15087 if test -n "$PKG_CONFIG" && \
15088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"automotive-dlt\""; } >&5
15089 ($PKG_CONFIG --exists --print-errors "automotive-dlt") 2>&5
15091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15092 test $ac_status = 0; }; then
15093 pkg_cv_DLT_LIBS=`$PKG_CONFIG --libs "automotive-dlt" 2>/dev/null`
15104 if test $pkg_failed = yes; then
15106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15107 _pkg_short_errors_supported=yes
15109 _pkg_short_errors_supported=no
15111 if test $_pkg_short_errors_supported = yes; then
15112 DLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "automotive-dlt"`
15114 DLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "automotive-dlt"`
15116 # Put the nasty error message in config.log where it belongs
15117 echo "$DLT_PKG_ERRORS" >&5
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15120 $as_echo "no" >&6; }
15121 as_fn_error "dlt not found, required for --enable-dlt" "$LINENO" 5
15122 elif test $pkg_failed = untried; then
15123 as_fn_error "dlt not found, required for --enable-dlt" "$LINENO" 5
15125 DLT_CFLAGS=$pkg_cv_DLT_CFLAGS
15126 DLT_LIBS=$pkg_cv_DLT_LIBS
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15128 $as_echo "yes" >&6; }
15132 $as_echo "#define USE_DLT 1" >>confdefs.h
15136 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
15137 if test "x$ac_cv_header_zlib_h" = x""yes; then :
15140 as_fn_error "zlib.h not found." "$LINENO" 5
15144 ac_fn_c_check_header_mongrel "$LINENO" "xmltok/xmlparse.h" "ac_cv_header_xmltok_xmlparse_h" "$ac_includes_default"
15145 if test "x$ac_cv_header_xmltok_xmlparse_h" = x""yes; then :
15146 have_system_xmltok="yes"
15150 ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
15151 if test "x$ac_cv_header_expat_h" = x""yes; then :
15152 have_system_expat="yes"
15157 # Check whether --enable-libical was given.
15158 if test "${enable_libical+set}" = set; then :
15159 enableval=$enable_libical; enable_libical=$enableval
15161 enable_libical="yes"
15164 if test "$enable_libical" == "yes"; then
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
15168 $as_echo_n "checking for LIBICAL... " >&6; }
15170 if test -n "$PKG_CONFIG"; then
15171 if test -n "$LIBICAL_CFLAGS"; then
15172 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
15174 if test -n "$PKG_CONFIG" && \
15175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
15176 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
15178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15179 test $ac_status = 0; }; then
15180 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libical" 2>/dev/null`
15188 if test -n "$PKG_CONFIG"; then
15189 if test -n "$LIBICAL_LIBS"; then
15190 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
15192 if test -n "$PKG_CONFIG" && \
15193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
15194 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
15196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15197 test $ac_status = 0; }; then
15198 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libical" 2>/dev/null`
15209 if test $pkg_failed = yes; then
15211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15212 _pkg_short_errors_supported=yes
15214 _pkg_short_errors_supported=no
15216 if test $_pkg_short_errors_supported = yes; then
15217 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libical"`
15219 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libical"`
15221 # Put the nasty error message in config.log where it belongs
15222 echo "$LIBICAL_PKG_ERRORS" >&5
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15225 $as_echo "no" >&6; }
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECAL" >&5
15229 $as_echo_n "checking for LIBECAL... " >&6; }
15231 if test -n "$PKG_CONFIG"; then
15232 if test -n "$LIBECAL_CFLAGS"; then
15233 pkg_cv_LIBECAL_CFLAGS="$LIBECAL_CFLAGS"
15235 if test -n "$PKG_CONFIG" && \
15236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
15237 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
15239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15240 test $ac_status = 0; }; then
15241 pkg_cv_LIBECAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
15249 if test -n "$PKG_CONFIG"; then
15250 if test -n "$LIBECAL_LIBS"; then
15251 pkg_cv_LIBECAL_LIBS="$LIBECAL_LIBS"
15253 if test -n "$PKG_CONFIG" && \
15254 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
15255 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
15257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15258 test $ac_status = 0; }; then
15259 pkg_cv_LIBECAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
15270 if test $pkg_failed = yes; then
15272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15273 _pkg_short_errors_supported=yes
15275 _pkg_short_errors_supported=no
15277 if test $_pkg_short_errors_supported = yes; then
15278 LIBECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
15280 LIBECAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
15282 # Put the nasty error message in config.log where it belongs
15283 echo "$LIBECAL_PKG_ERRORS" >&5
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15286 $as_echo "no" >&6; }
15288 elif test $pkg_failed = untried; then
15291 LIBECAL_CFLAGS=$pkg_cv_LIBECAL_CFLAGS
15292 LIBECAL_LIBS=$pkg_cv_LIBECAL_LIBS
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15294 $as_echo "yes" >&6; }
15296 $as_echo "#define HAVE_LIBICAL 1" >>confdefs.h
15299 $as_echo "#define HAVE_LIBECAL 1" >>confdefs.h
15302 elif test $pkg_failed = untried; then
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECAL" >&5
15306 $as_echo_n "checking for LIBECAL... " >&6; }
15308 if test -n "$PKG_CONFIG"; then
15309 if test -n "$LIBECAL_CFLAGS"; then
15310 pkg_cv_LIBECAL_CFLAGS="$LIBECAL_CFLAGS"
15312 if test -n "$PKG_CONFIG" && \
15313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
15314 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
15316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15317 test $ac_status = 0; }; then
15318 pkg_cv_LIBECAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
15326 if test -n "$PKG_CONFIG"; then
15327 if test -n "$LIBECAL_LIBS"; then
15328 pkg_cv_LIBECAL_LIBS="$LIBECAL_LIBS"
15330 if test -n "$PKG_CONFIG" && \
15331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
15332 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
15334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15335 test $ac_status = 0; }; then
15336 pkg_cv_LIBECAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
15347 if test $pkg_failed = yes; then
15349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15350 _pkg_short_errors_supported=yes
15352 _pkg_short_errors_supported=no
15354 if test $_pkg_short_errors_supported = yes; then
15355 LIBECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
15357 LIBECAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
15359 # Put the nasty error message in config.log where it belongs
15360 echo "$LIBECAL_PKG_ERRORS" >&5
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15363 $as_echo "no" >&6; }
15365 elif test $pkg_failed = untried; then
15368 LIBECAL_CFLAGS=$pkg_cv_LIBECAL_CFLAGS
15369 LIBECAL_LIBS=$pkg_cv_LIBECAL_LIBS
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15371 $as_echo "yes" >&6; }
15373 $as_echo "#define HAVE_LIBICAL 1" >>confdefs.h
15376 $as_echo "#define HAVE_LIBECAL 1" >>confdefs.h
15380 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
15381 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15383 $as_echo "yes" >&6; }
15385 $as_echo "#define HAVE_LIBICAL 1" >>confdefs.h
15390 # Check whether --enable-evolution-compatibility was given.
15391 if test "${enable_evolution_compatibility+set}" = set; then :
15392 enableval=$enable_evolution_compatibility; enable_evolution_compatibility="$enableval"
15394 enable_evolution_compatibility="no"
15397 if test "$enable_evolution_compatibility" == "yes"; then
15399 $as_echo "#define EVOLUTION_COMPATIBILITY 1" >>confdefs.h
15406 # Check whether --with-xmltok was given.
15407 if test "${with_xmltok+set}" = set; then :
15408 withval=$with_xmltok; if test "$withval" = "builtin"; then with_xmltok="builtin"
15409 elif test "$withval" = "system" || test "$withval" = "yes"; then with_xmltok="system"
15410 else with_xmltok="$withval"
15418 # Check whether --with-expat was given.
15419 if test "${with_expat+set}" = set; then :
15420 withval=$with_expat; if test "$withval" = "system" || test "$withval" = "yes"; then with_expat="system"
15421 else with_expath="$withval"
15428 if test "$with_xmltok" = "no" && test "$with_expat" = "no"; then
15429 if test "$have_system_expat" = "yes"; then
15431 XMLPARSE_LIBS="-lexpat"
15432 elif test "$have_system_xmltok" = "yes"; then
15434 XMLPARSE_LIBS="-lxmlparse"
15436 with_xmltok="builtin"
15438 elif test "$with_expat" != "no"; then
15439 if test "$with_expat" = "system"; then
15440 if test "$have_system_expat" = "yes"; then XMLPARSE_LIBS="-lexpat"
15441 else as_fn_error "expat.h not found." "$LINENO" 5
15444 XMLPARSE_LIBS="-L$with_expat/lib -lexpat"
15445 XMLPARSE_CFLAGS="-I$with_expat/include"
15449 if test "$with_xmltok" = "system"; then
15450 if test "$have_system_xmltok" = "yes"; then XMLPARSE_LIBS="-lxmlparse"
15451 else as_fn_error "xmltok/xmplarse.h not found." "$LINENO" 5
15453 elif test "$with_xmltok" != "builtin"; then
15454 XMLPARSE_LIBS="-L$with_xmltok/lib -lxmlparse"
15455 XMLPARSE_CFLAGS="-I$with_xmltok/include"
15459 if test "$with_expat" = "yes"; then
15461 $as_echo "#define HAVE_EXPAT 1" >>confdefs.h
15463 elif test "$with_xmltok" != "builtin"; then
15465 $as_echo "#define HAVE_SYS_XMLTOK 1" >>confdefs.h
15469 $as_echo "#define HAVE_BUILTIN_XMLTOK 1" >>confdefs.h
15475 if test "$with_xmltok" = "builtin"; then
15476 COND_XMLPARSE_TRUE=
15477 COND_XMLPARSE_FALSE='#'
15479 COND_XMLPARSE_TRUE='#'
15480 COND_XMLPARSE_FALSE=
15484 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
15485 if test "x$ac_cv_header_stdint_h" = x""yes; then :
15491 # the autotools SDK always assumes that it is linked against the engine
15493 $as_echo "#define UIAPI_LINKED 1" >>confdefs.h
15496 $as_echo "#define DBAPI_LINKED 1" >>confdefs.h
15499 $as_echo "#define DBAPI_SRV_LINKED 1" >>confdefs.h
15502 # determines which object files are needed in the SDK:
15503 # if linking statically, some object files are shared with
15505 if test "$enable_shared" = "no"; then
15507 COND_STATIC_FALSE='#'
15509 COND_STATIC_TRUE='#'
15514 # Disable unconditionally at the moment. Would add dependency of SDK
15515 # on SyncML Toolkit.
15516 #AC_DEFINE(WITHOUT_SAN_1_1, 1,
15517 # [support for Server Alerted Notifications according to SyncML 1.1])
15519 ac_config_files="$ac_config_files Makefile src/Makefile synthesis.pc synthesis-sdk.pc"
15521 cat >confcache <<\_ACEOF
15522 # This file is a shell script that caches the results of configure
15523 # tests run on this system so they can be shared between configure
15524 # scripts and configure runs, see configure's option --config-cache.
15525 # It is not useful on other systems. If it contains results you don't
15526 # want to keep, you may remove or edit it.
15528 # config.status only pays attention to the cache file if you give it
15529 # the --recheck option to rerun configure.
15531 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15532 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15533 # following values.
15537 # The following way of writing the cache mishandles newlines in values,
15538 # but we know of no workaround that is simple, portable, and efficient.
15539 # So, we kill variables containing newlines.
15540 # Ultrix sh set writes to stderr and can't be redirected directly,
15541 # and sets the high bit in the cache file unless we assign to the vars.
15543 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15544 eval ac_val=\$$ac_var
15548 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15552 _ | IFS | as_nl) ;; #(
15553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15554 *) { eval $ac_var=; unset $ac_var;} ;;
15560 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15561 *${as_nl}ac_space=\ *)
15562 # `set' does not quote correctly, so add quotes: double-quote
15563 # substitution turns \\\\ into \\, and sed turns \\ into \.
15566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15569 # `set' quotes correctly as required by POSIX, so do not add quotes.
15570 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15579 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15581 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15583 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15584 if test -w "$cache_file"; then
15585 test "x$cache_file" != "x/dev/null" &&
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15587 $as_echo "$as_me: updating cache $cache_file" >&6;}
15588 cat confcache >$cache_file
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15591 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15596 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15597 # Let make expand exec_prefix.
15598 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15600 DEFS=-DHAVE_CONFIG_H
15604 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15605 # 1. Remove the extension, and $U if already installed.
15606 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15607 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15608 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15609 # will be set to the directory where LIBOBJS objects are built.
15610 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15611 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15613 LIBOBJS=$ac_libobjs
15615 LTLIBOBJS=$ac_ltlibobjs
15618 if test -n "$EXEEXT"; then
15620 am__EXEEXT_FALSE='#'
15622 am__EXEEXT_TRUE='#'
15626 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15627 as_fn_error "conditional \"AMDEP\" was never defined.
15628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15630 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15631 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15634 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15635 as_fn_error "conditional \"am__fastdepCC\" was never defined.
15636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15639 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15642 if test -z "${COND_DOXYGEN_TRUE}" && test -z "${COND_DOXYGEN_FALSE}"; then
15643 as_fn_error "conditional \"COND_DOXYGEN\" was never defined.
15644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15646 if test -z "${COND_XMLPARSE_TRUE}" && test -z "${COND_XMLPARSE_FALSE}"; then
15647 as_fn_error "conditional \"COND_XMLPARSE\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 if test -z "${COND_STATIC_TRUE}" && test -z "${COND_STATIC_FALSE}"; then
15651 as_fn_error "conditional \"COND_STATIC\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15655 : ${CONFIG_STATUS=./config.status}
15657 ac_clean_files_save=$ac_clean_files
15658 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15660 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15662 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15664 # Generated by $as_me.
15665 # Run this file to recreate the current configuration.
15666 # Compiler output produced by configure, useful for debugging
15667 # configure, is in config.log if it exists.
15670 ac_cs_recheck=false
15673 SHELL=\${CONFIG_SHELL-$SHELL}
15676 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15677 ## -------------------- ##
15678 ## M4sh Initialization. ##
15679 ## -------------------- ##
15681 # Be more Bourne compatible
15682 DUALCASE=1; export DUALCASE # for MKS sh
15683 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15686 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15687 # is contrary to our usage. Disable this feature.
15688 alias -g '${1+"$@"}'='"$@"'
15689 setopt NO_GLOB_SUBST
15691 case `(set -o) 2>/dev/null` in #(
15703 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15704 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15707 # Prefer a ksh shell builtin over an external printf program on Solaris,
15708 # but without wasting forks for bash or zsh.
15709 if test -z "$BASH_VERSION$ZSH_VERSION" \
15710 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15711 as_echo='print -r --'
15712 as_echo_n='print -rn --'
15713 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15714 as_echo='printf %s\n'
15715 as_echo_n='printf %s'
15717 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15718 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15719 as_echo_n='/usr/ucb/echo -n'
15721 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15722 as_echo_n_body='eval
15726 expr "X$arg" : "X\\(.*\\)$as_nl";
15727 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15729 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15731 export as_echo_n_body
15732 as_echo_n='sh -c $as_echo_n_body as_echo'
15734 export as_echo_body
15735 as_echo='sh -c $as_echo_body as_echo'
15738 # The user is always right.
15739 if test "${PATH_SEPARATOR+set}" != set; then
15741 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15742 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15749 # We need space, tab and new line, in precisely that order. Quoting is
15750 # there to prevent editors from complaining about space-tab.
15751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15752 # splitting by setting IFS to empty value.)
15755 # Find who we are. Look in the path if we contain no directory separator.
15757 *[\\/]* ) as_myself=$0 ;;
15758 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15759 for as_dir in $PATH
15762 test -z "$as_dir" && as_dir=.
15763 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15769 # We did not find ourselves, most probably we were run as `sh COMMAND'
15770 # in which case we are not to be found in the path.
15771 if test "x$as_myself" = x; then
15774 if test ! -f "$as_myself"; then
15775 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15779 # Unset variables that we do not need and which cause bugs (e.g. in
15780 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15781 # suppresses any "Segmentation fault" message there. '((' could
15782 # trigger a bug in pdksh 5.2.14.
15783 for as_var in BASH_ENV ENV MAIL MAILPATH
15784 do eval test x\${$as_var+set} = xset \
15785 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15798 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15801 # as_fn_error ERROR [LINENO LOG_FD]
15802 # ---------------------------------
15803 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15804 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15805 # script with status $?, using 1 if that was 0.
15808 as_status=$?; test $as_status -eq 0 && as_status=1
15810 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15811 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15813 $as_echo "$as_me: error: $1" >&2
15814 as_fn_exit $as_status
15818 # as_fn_set_status STATUS
15819 # -----------------------
15820 # Set $? to STATUS, without forking.
15821 as_fn_set_status ()
15824 } # as_fn_set_status
15826 # as_fn_exit STATUS
15827 # -----------------
15828 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15832 as_fn_set_status $1
15838 # Portably unset VAR.
15841 { eval $1=; unset $1;}
15843 as_unset=as_fn_unset
15844 # as_fn_append VAR VALUE
15845 # ----------------------
15846 # Append the text in VALUE to the end of the definition contained in VAR. Take
15847 # advantage of any shell optimizations that allow amortized linear growth over
15848 # repeated appends, instead of the typical quadratic growth present in naive
15850 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15851 eval 'as_fn_append ()
15862 # as_fn_arith ARG...
15863 # ------------------
15864 # Perform arithmetic evaluation on the ARGs, and store the result in the
15865 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15866 # must be portable across $(()) and expr.
15867 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15868 eval 'as_fn_arith ()
15875 as_val=`expr "$@" || test $? -eq 1`
15880 if expr a : '\(a\)' >/dev/null 2>&1 &&
15881 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15887 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15888 as_basename=basename
15893 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15899 as_me=`$as_basename -- "$0" ||
15900 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15901 X"$0" : 'X\(//\)$' \| \
15902 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15904 sed '/^.*\/\([^/][^/]*\)\/*$/{
15918 # Avoid depending upon Character Ranges.
15919 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15920 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15921 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15922 as_cr_digits='0123456789'
15923 as_cr_alnum=$as_cr_Letters$as_cr_digits
15925 ECHO_C= ECHO_N= ECHO_T=
15926 case `echo -n x` in #(((((
15928 case `echo 'xy\c'` in
15929 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15931 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15938 rm -f conf$$ conf$$.exe conf$$.file
15939 if test -d conf$$.dir; then
15940 rm -f conf$$.dir/conf$$.file
15943 mkdir conf$$.dir 2>/dev/null
15945 if (echo >conf$$.file) 2>/dev/null; then
15946 if ln -s conf$$.file conf$$ 2>/dev/null; then
15948 # ... but there are two gotchas:
15949 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15950 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15951 # In both cases, we have to default to `cp -p'.
15952 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15954 elif ln conf$$.file conf$$ 2>/dev/null; then
15962 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15963 rmdir conf$$.dir 2>/dev/null
15968 # Create "$as_dir" as a directory, including parents if necessary.
15973 -*) as_dir=./$as_dir;;
15975 test -d "$as_dir" || eval $as_mkdir_p || {
15979 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15980 *) as_qdir=$as_dir;;
15982 as_dirs="'$as_qdir' $as_dirs"
15983 as_dir=`$as_dirname -- "$as_dir" ||
15984 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15985 X"$as_dir" : 'X\(//\)[^/]' \| \
15986 X"$as_dir" : 'X\(//\)$' \| \
15987 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15988 $as_echo X"$as_dir" |
15989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15993 /^X\(\/\/\)[^/].*/{
16006 test -d "$as_dir" && break
16008 test -z "$as_dirs" || eval "mkdir $as_dirs"
16009 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16013 if mkdir -p . 2>/dev/null; then
16014 as_mkdir_p='mkdir -p "$as_dir"'
16016 test -d ./-p && rmdir ./-p
16020 if test -x / >/dev/null 2>&1; then
16021 as_test_x='test -x'
16023 if ls -dL / >/dev/null 2>&1; then
16030 if test -d "$1"; then
16036 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16037 ???[sx]*):;;*)false;;esac;fi
16041 as_executable_p=$as_test_x
16043 # Sed expression to map a string onto a valid CPP name.
16044 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16046 # Sed expression to map a string onto a valid variable name.
16047 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16051 ## ----------------------------------- ##
16052 ## Main body of $CONFIG_STATUS script. ##
16053 ## ----------------------------------- ##
16055 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16058 # Save the log message, to keep $0 and so on meaningful, and to
16059 # report actual input values of CONFIG_FILES etc. instead of their
16060 # values after options handling.
16062 This file was extended by $as_me, which was
16063 generated by GNU Autoconf 2.65. Invocation command line was
16065 CONFIG_FILES = $CONFIG_FILES
16066 CONFIG_HEADERS = $CONFIG_HEADERS
16067 CONFIG_LINKS = $CONFIG_LINKS
16068 CONFIG_COMMANDS = $CONFIG_COMMANDS
16071 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16076 case $ac_config_files in *"
16077 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16080 case $ac_config_headers in *"
16081 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16086 # Files that config.status was made for.
16087 config_files="$ac_config_files"
16088 config_headers="$ac_config_headers"
16089 config_commands="$ac_config_commands"
16093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16095 \`$as_me' instantiates files and other configuration actions
16096 from templates according to the current configuration. Unless the files
16097 and actions are specified as TAGs, all are instantiated by default.
16099 Usage: $0 [OPTION]... [TAG]...
16101 -h, --help print this help, then exit
16102 -V, --version print version number and configuration settings, then exit
16103 --config print configuration, then exit
16104 -q, --quiet, --silent
16105 do not print progress messages
16106 -d, --debug don't remove temporary files
16107 --recheck update $as_me by reconfiguring in the same conditions
16108 --file=FILE[:TEMPLATE]
16109 instantiate the configuration file FILE
16110 --header=FILE[:TEMPLATE]
16111 instantiate the configuration header FILE
16113 Configuration files:
16116 Configuration headers:
16119 Configuration commands:
16122 Report bugs to the package provider."
16125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16126 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16129 configured by $0, generated by GNU Autoconf 2.65,
16130 with options \\"\$ac_cs_config\\"
16132 Copyright (C) 2009 Free Software Foundation, Inc.
16133 This config.status script is free software; the Free Software Foundation
16134 gives unlimited permission to copy, distribute and modify it."
16141 test -n "\$AWK" || AWK=awk
16144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16145 # The default lists apply if the user does not specify any file.
16151 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16152 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16163 # Handling of the options.
16164 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16166 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16167 $as_echo "$ac_cs_version"; exit ;;
16168 --config | --confi | --conf | --con | --co | --c )
16169 $as_echo "$ac_cs_config"; exit ;;
16170 --debug | --debu | --deb | --de | --d | -d )
16172 --file | --fil | --fi | --f )
16175 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16177 as_fn_append CONFIG_FILES " '$ac_optarg'"
16178 ac_need_defaults=false;;
16179 --header | --heade | --head | --hea )
16182 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16184 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16185 ac_need_defaults=false;;
16187 # Conflict between --help and --header
16188 as_fn_error "ambiguous option: \`$1'
16189 Try \`$0 --help' for more information.";;
16190 --help | --hel | -h )
16191 $as_echo "$ac_cs_usage"; exit ;;
16192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16193 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16196 # This is an error.
16197 -*) as_fn_error "unrecognized option: \`$1'
16198 Try \`$0 --help' for more information." ;;
16200 *) as_fn_append ac_config_targets " $1"
16201 ac_need_defaults=false ;;
16207 ac_configure_extra_args=
16209 if $ac_cs_silent; then
16211 ac_configure_extra_args="$ac_configure_extra_args --silent"
16215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16216 if \$ac_cs_recheck; then
16217 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16219 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16220 CONFIG_SHELL='$SHELL'
16221 export CONFIG_SHELL
16226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16230 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16231 ## Running $as_me. ##
16237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16241 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16244 # The HP-UX ksh and POSIX shell print the target directory to stdout
16245 # if CDPATH is set.
16246 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16248 sed_quote_subst='$sed_quote_subst'
16249 double_quote_subst='$double_quote_subst'
16250 delay_variable_subst='$delay_variable_subst'
16251 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16252 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16253 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16254 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16255 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16256 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16257 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16258 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16259 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16260 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16261 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16262 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16263 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16264 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16265 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16266 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16267 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16268 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16269 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16270 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16271 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16272 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16273 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16274 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16275 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16276 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16277 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16278 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16279 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16280 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16281 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16282 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16283 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16284 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16285 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16286 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16287 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16288 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16289 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16290 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16291 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16292 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16293 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16294 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16295 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"`'
16296 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"`'
16297 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16298 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16299 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16300 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16301 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16302 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16303 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16304 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16305 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16306 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16307 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16308 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16309 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16310 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16311 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16312 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16313 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16314 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16315 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16316 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16317 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16318 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16319 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16320 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16321 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16322 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16323 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16324 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16325 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16326 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16327 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16328 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16329 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16330 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16331 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16332 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16333 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16334 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16335 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16336 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16337 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16338 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16339 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16340 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16341 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16342 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16343 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16344 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16345 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16346 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16347 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16348 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16349 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16350 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16351 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16352 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16353 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16354 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16355 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16356 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16357 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16358 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16359 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16360 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16361 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16362 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16363 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16364 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16365 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16366 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16367 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16368 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16369 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16370 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16371 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16372 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16373 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16374 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16375 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16376 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16377 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16378 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16379 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16380 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16381 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16382 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16383 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16384 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16385 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16386 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16387 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16388 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16389 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16390 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16391 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16392 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16393 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16394 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16395 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16396 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16397 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16398 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16399 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16400 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16401 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16402 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16403 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16404 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16405 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16406 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16407 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16408 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16409 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16410 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16411 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16412 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16413 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16414 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16415 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16416 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16417 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16418 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16419 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16420 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16421 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16424 LTCFLAGS='$LTCFLAGS'
16425 compiler='$compiler_DEFAULT'
16427 # Quote evaled strings.
16439 deplibs_check_method \
16448 lt_cv_sys_global_symbol_pipe \
16449 lt_cv_sys_global_symbol_to_cdecl \
16450 lt_cv_sys_global_symbol_to_c_name_address \
16451 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16454 lt_prog_compiler_no_builtin_flag \
16455 lt_prog_compiler_wl \
16456 lt_prog_compiler_pic \
16457 lt_prog_compiler_static \
16458 lt_cv_prog_compiler_c_o \
16466 export_dynamic_flag_spec \
16467 whole_archive_flag_spec \
16468 compiler_needs_object \
16470 allow_undefined_flag \
16471 no_undefined_flag \
16472 hardcode_libdir_flag_spec \
16473 hardcode_libdir_flag_spec_ld \
16474 hardcode_libdir_separator \
16479 variables_saved_for_relink \
16481 library_names_spec \
16486 compiler_lib_search_dirs \
16491 compiler_lib_search_path \
16494 lt_prog_compiler_no_builtin_flag_CXX \
16495 lt_prog_compiler_wl_CXX \
16496 lt_prog_compiler_pic_CXX \
16497 lt_prog_compiler_static_CXX \
16498 lt_cv_prog_compiler_c_o_CXX \
16499 export_dynamic_flag_spec_CXX \
16500 whole_archive_flag_spec_CXX \
16501 compiler_needs_object_CXX \
16503 allow_undefined_flag_CXX \
16504 no_undefined_flag_CXX \
16505 hardcode_libdir_flag_spec_CXX \
16506 hardcode_libdir_flag_spec_ld_CXX \
16507 hardcode_libdir_separator_CXX \
16508 fix_srcfile_path_CXX \
16509 exclude_expsyms_CXX \
16510 include_expsyms_CXX \
16511 file_list_spec_CXX \
16512 compiler_lib_search_dirs_CXX \
16513 predep_objects_CXX \
16514 postdep_objects_CXX \
16517 compiler_lib_search_path_CXX; do
16518 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16519 *[\\\\\\\`\\"\\\$]*)
16520 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16523 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16528 # Double-quote double-evaled strings.
16529 for var in reload_cmds \
16530 old_postinstall_cmds \
16531 old_postuninstall_cmds \
16533 extract_expsyms_cmds \
16534 old_archive_from_new_cmds \
16535 old_archive_from_expsyms_cmds \
16537 archive_expsym_cmds \
16539 module_expsym_cmds \
16540 export_symbols_cmds \
16543 postuninstall_cmds \
16545 sys_lib_search_path_spec \
16546 sys_lib_dlsearch_path_spec \
16547 old_archive_cmds_CXX \
16548 old_archive_from_new_cmds_CXX \
16549 old_archive_from_expsyms_cmds_CXX \
16551 archive_expsym_cmds_CXX \
16553 module_expsym_cmds_CXX \
16554 export_symbols_cmds_CXX \
16555 prelink_cmds_CXX; do
16556 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16557 *[\\\\\\\`\\"\\\$]*)
16558 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16561 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16566 # Fix-up fallback echo if it was mangled by the above quoting rules.
16568 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16572 ac_aux_dir='$ac_aux_dir'
16573 xsi_shell='$xsi_shell'
16574 lt_shell_append='$lt_shell_append'
16576 # See if we are running on zsh, and set the options which allow our
16577 # commands through without removal of \ escapes INIT.
16578 if test -n "\${ZSH_VERSION+set}" ; then
16579 setopt NO_GLOB_SUBST
16585 TIMESTAMP='$TIMESTAMP'
16596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16598 # Handling of arguments.
16599 for ac_config_target in $ac_config_targets
16601 case $ac_config_target in
16602 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16603 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16604 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16605 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16606 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16607 "synthesis.pc") CONFIG_FILES="$CONFIG_FILES synthesis.pc" ;;
16608 "synthesis-sdk.pc") CONFIG_FILES="$CONFIG_FILES synthesis-sdk.pc" ;;
16610 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16615 # If the user did not use the arguments to specify the items to instantiate,
16616 # then the envvar interface is used. Set only those that are not.
16617 # We use the long form for the default assignment because of an extremely
16618 # bizarre bug on SunOS 4.1.3.
16619 if $ac_need_defaults; then
16620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16625 # Have a temporary directory for convenience. Make it in the build tree
16626 # simply because there is no reason against having it here, and in addition,
16627 # creating and moving files from /tmp can sometimes cause problems.
16628 # Hook for its removal unless debugging.
16629 # Note that there is a small window in which the directory will not be cleaned:
16630 # after its creation but before its name has been assigned to `$tmp'.
16634 trap 'exit_status=$?
16635 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16637 trap 'as_fn_exit 1' 1 2 13 15
16639 # Create a (secure) tmp directory for tmp files.
16642 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16643 test -n "$tmp" && test -d "$tmp"
16646 tmp=./conf$$-$RANDOM
16647 (umask 077 && mkdir "$tmp")
16648 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16650 # Set up the scripts for CONFIG_FILES section.
16651 # No need to generate them if there are no CONFIG_FILES.
16652 # This happens for instance with `./config.status config.h'.
16653 if test -n "$CONFIG_FILES"; then
16656 ac_cr=`echo X | tr X '\015'`
16657 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16658 # But we know of no other shell where ac_cr would be empty at this
16659 # point, so we can use a bashism as a fallback.
16660 if test "x$ac_cr" = x; then
16661 eval ac_cr=\$\'\\r\'
16663 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16664 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16667 ac_cs_awk_cr=$ac_cr
16670 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16675 echo "cat >conf$$subs.awk <<_ACEOF" &&
16676 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16678 } >conf$$subs.sh ||
16679 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16680 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16682 for ac_last_try in false false false false false :; do
16683 . ./conf$$subs.sh ||
16684 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16686 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16687 if test $ac_delim_n = $ac_delim_num; then
16689 elif $ac_last_try; then
16690 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16692 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16695 rm -f conf$$subs.sh
16697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16698 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16702 s/^/S["/; s/!.*/"]=/
16712 s/\(.\{148\}\)..*/\1/
16714 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16726 s/\(.\{148\}\)..*/\1/
16728 s/["\\]/\\&/g; s/^/"/; s/$/"/
16732 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16737 ' <conf$$subs.awk | sed '
16742 ' >>$CONFIG_STATUS || ac_write_fail=1
16743 rm -f conf$$subs.awk
16744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16746 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16747 for (key in S) S_is_set[key] = 1
16753 nfields = split(line, field, "@")
16755 len = length(field[1])
16756 for (i = 2; i < nfields; i++) {
16758 keylen = length(key)
16759 if (S_is_set[key]) {
16761 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16762 len += length(value) + length(field[++i])
16773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16774 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16775 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16778 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16779 || as_fn_error "could not setup config files machinery" "$LINENO" 5
16782 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16783 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16784 # trailing colons and then remove the whole line if VPATH becomes empty
16785 # (actually we leave an empty line to preserve line numbers).
16786 if test "x$srcdir" = x.; then
16787 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16788 s/:*\$(srcdir):*/:/
16789 s/:*\${srcdir}:*/:/
16791 s/^\([^=]*=[ ]*\):*/\1/
16797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16798 fi # test -n "$CONFIG_FILES"
16800 # Set up the scripts for CONFIG_HEADERS section.
16801 # No need to generate them if there are no CONFIG_HEADERS.
16802 # This happens for instance with `./config.status Makefile'.
16803 if test -n "$CONFIG_HEADERS"; then
16804 cat >"$tmp/defines.awk" <<\_ACAWK ||
16808 # Transform confdefs.h into an awk script `defines.awk', embedded as
16809 # here-document in config.status, that substitutes the proper values into
16810 # config.h.in to produce config.h.
16812 # Create a delimiter string that does not exist in confdefs.h, to ease
16813 # handling of long lines.
16815 for ac_last_try in false false :; do
16816 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16817 if test -z "$ac_t"; then
16819 elif $ac_last_try; then
16820 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16822 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16826 # For the awk script, D is an array of macro values keyed by name,
16827 # likewise P contains macro parameters if any. Preserve backslash
16828 # newline sequences.
16830 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16832 s/.\{148\}/&'"$ac_delim"'/g
16835 s/^[ ]*#[ ]*define[ ][ ]*/ /
16842 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16844 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16848 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16849 D["\1"]=" \3\\\\\\n"\\/p
16851 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16856 s/.\{148\}/&'"$ac_delim"'/g
16861 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16864 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16866 ' <confdefs.h | sed '
16867 s/'"$ac_delim"'/"\\\
16868 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16871 for (key in D) D_is_set[key] = 1
16874 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16876 split(line, arg, " ")
16877 if (arg[1] == "#") {
16881 defundef = substr(arg[1], 2)
16884 split(mac1, mac2, "(") #)
16886 prefix = substr(line, 1, index(line, defundef) - 1)
16887 if (D_is_set[macro]) {
16888 # Preserve the white space surrounding the "#".
16889 print prefix "define", macro P[macro] D[macro]
16892 # Replace #undef with comments. This is necessary, for example,
16893 # in the case of _POSIX_SOURCE, which is predefined and required
16894 # on some systems where configure will not decide to define it.
16895 if (defundef == "undef") {
16896 print "/*", prefix defundef, macro, "*/"
16904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16905 as_fn_error "could not setup config headers machinery" "$LINENO" 5
16906 fi # test -n "$CONFIG_HEADERS"
16909 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16914 :[FHLC]) ac_mode=$ac_tag; continue;;
16916 case $ac_mode$ac_tag in
16918 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16919 :[FH]-) ac_tag=-:-;;
16920 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16937 -) ac_f="$tmp/stdin";;
16938 *) # Look for the file first in the build tree, then in the source tree
16939 # (if the path is not absolute). The absolute path cannot be DOS-style,
16940 # because $ac_f cannot contain `:'.
16944 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16946 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16948 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16949 as_fn_append ac_file_inputs " '$ac_f'"
16952 # Let's still pretend it is `configure' which instantiates (i.e., don't
16953 # use $as_me), people would be surprised to read:
16954 # /* config.h. Generated by config.status. */
16955 configure_input='Generated from '`
16956 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16958 if test x"$ac_file" != x-; then
16959 configure_input="$ac_file. $configure_input"
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16961 $as_echo "$as_me: creating $ac_file" >&6;}
16963 # Neutralize special characters interpreted by sed in replacement strings.
16964 case $configure_input in #(
16965 *\&* | *\|* | *\\* )
16966 ac_sed_conf_input=`$as_echo "$configure_input" |
16967 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16968 *) ac_sed_conf_input=$configure_input;;
16972 *:-:* | *:-) cat >"$tmp/stdin" \
16973 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16978 ac_dir=`$as_dirname -- "$ac_file" ||
16979 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16980 X"$ac_file" : 'X\(//\)[^/]' \| \
16981 X"$ac_file" : 'X\(//\)$' \| \
16982 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16983 $as_echo X"$ac_file" |
16984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16988 /^X\(\/\/\)[^/].*/{
17001 as_dir="$ac_dir"; as_fn_mkdir_p
17005 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17007 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17008 # A ".." for each directory in $ac_dir_suffix.
17009 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17010 case $ac_top_builddir_sub in
17011 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17012 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17015 ac_abs_top_builddir=$ac_pwd
17016 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17017 # for backward compatibility:
17018 ac_top_builddir=$ac_top_build_prefix
17021 .) # We are building in place.
17023 ac_top_srcdir=$ac_top_builddir_sub
17024 ac_abs_top_srcdir=$ac_pwd ;;
17025 [\\/]* | ?:[\\/]* ) # Absolute name.
17026 ac_srcdir=$srcdir$ac_dir_suffix;
17027 ac_top_srcdir=$srcdir
17028 ac_abs_top_srcdir=$srcdir ;;
17029 *) # Relative name.
17030 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17031 ac_top_srcdir=$ac_top_build_prefix$srcdir
17032 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17034 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17044 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17045 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17047 ac_MKDIR_P=$MKDIR_P
17049 [\\/$]* | ?:[\\/]* ) ;;
17050 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17055 # If the template does not know about datarootdir, expand it.
17056 # FIXME: This hack should be removed a few years after 2.60.
17057 ac_datarootdir_hack=; ac_datarootdir_seen=
17068 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17069 *datarootdir*) ac_datarootdir_seen=yes;;
17070 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17072 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17075 ac_datarootdir_hack='
17076 s&@datadir@&$datadir&g
17077 s&@docdir@&$docdir&g
17078 s&@infodir@&$infodir&g
17079 s&@localedir@&$localedir&g
17080 s&@mandir@&$mandir&g
17081 s&\\\${datarootdir}&$datarootdir&g' ;;
17085 # Neutralize VPATH when `$srcdir' = `.'.
17086 # Shell code in configure.ac might set extrasub.
17087 # FIXME: do we really want to maintain this feature?
17088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17089 ac_sed_extra="$ac_vpsub
17092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17094 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17095 s|@configure_input@|$ac_sed_conf_input|;t t
17096 s&@top_builddir@&$ac_top_builddir_sub&;t t
17097 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17098 s&@srcdir@&$ac_srcdir&;t t
17099 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17100 s&@top_srcdir@&$ac_top_srcdir&;t t
17101 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17102 s&@builddir@&$ac_builddir&;t t
17103 s&@abs_builddir@&$ac_abs_builddir&;t t
17104 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17105 s&@INSTALL@&$ac_INSTALL&;t t
17106 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17107 $ac_datarootdir_hack
17109 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17110 || as_fn_error "could not create $ac_file" "$LINENO" 5
17112 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17113 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17114 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17116 which seems to be undefined. Please make sure it is defined." >&5
17117 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17118 which seems to be undefined. Please make sure it is defined." >&2;}
17122 -) cat "$tmp/out" && rm -f "$tmp/out";;
17123 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17125 || as_fn_error "could not create $ac_file" "$LINENO" 5
17131 if test x"$ac_file" != x-; then
17133 $as_echo "/* $configure_input */" \
17134 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17135 } >"$tmp/config.h" \
17136 || as_fn_error "could not create $ac_file" "$LINENO" 5
17137 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17139 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17142 mv "$tmp/config.h" "$ac_file" \
17143 || as_fn_error "could not create $ac_file" "$LINENO" 5
17146 $as_echo "/* $configure_input */" \
17147 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17148 || as_fn_error "could not create -" "$LINENO" 5
17150 # Compute "$ac_file"'s index in $config_headers.
17153 for _am_header in $config_headers :; do
17154 case $_am_header in
17155 $_am_arg | $_am_arg:* )
17158 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17161 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17162 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17163 X"$_am_arg" : 'X\(//\)[^/]' \| \
17164 X"$_am_arg" : 'X\(//\)$' \| \
17165 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17166 $as_echo X"$_am_arg" |
17167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17171 /^X\(\/\/\)[^/].*/{
17183 s/.*/./; q'`/stamp-h$_am_stamp_count
17186 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17187 $as_echo "$as_me: executing $ac_file commands" >&6;}
17192 case $ac_file$ac_mode in
17193 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17194 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17195 # are listed without --file. Let's play safe and only enable the eval
17196 # if we detect the quoting.
17197 case $CONFIG_FILES in
17198 *\'*) eval set x "$CONFIG_FILES" ;;
17199 *) set x $CONFIG_FILES ;;
17204 # Strip MF so we end up with the name of the file.
17205 mf=`echo "$mf" | sed -e 's/:.*$//'`
17206 # Check whether this is an Automake generated Makefile or not.
17207 # We used to match only the files named `Makefile.in', but
17208 # some people rename them; so instead we look at the file content.
17209 # Grep'ing the first line is not enough: some people post-process
17210 # each Makefile.in and add a new line on top of each file to say so.
17211 # Grep'ing the whole file is not good either: AIX grep has a line
17212 # limit of 2048, but all sed's we know have understand at least 4000.
17213 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17214 dirpart=`$as_dirname -- "$mf" ||
17215 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17216 X"$mf" : 'X\(//\)[^/]' \| \
17217 X"$mf" : 'X\(//\)$' \| \
17218 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17224 /^X\(\/\/\)[^/].*/{
17240 # Extract the definition of DEPDIR, am__include, and am__quote
17241 # from the Makefile without running `make'.
17242 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17243 test -z "$DEPDIR" && continue
17244 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17245 test -z "am__include" && continue
17246 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17247 # When using ansi2knr, U may be empty or an underscore; expand it
17248 U=`sed -n 's/^U = //p' < "$mf"`
17249 # Find all dependency output files, they are included files with
17250 # $(DEPDIR) in their names. We invoke sed twice because it is the
17251 # simplest approach to changing $(DEPDIR) to its actual value in the
17253 for file in `sed -n "
17254 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17255 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17256 # Make sure the directory exists.
17257 test -f "$dirpart/$file" && continue
17258 fdir=`$as_dirname -- "$file" ||
17259 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17260 X"$file" : 'X\(//\)[^/]' \| \
17261 X"$file" : 'X\(//\)$' \| \
17262 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17263 $as_echo X"$file" |
17264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17268 /^X\(\/\/\)[^/].*/{
17281 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17282 # echo "creating $dirpart/$file"
17283 echo '# dummy' > "$dirpart/$file"
17290 # See if we are running on zsh, and set the options which allow our
17291 # commands through without removal of \ escapes.
17292 if test -n "${ZSH_VERSION+set}" ; then
17293 setopt NO_GLOB_SUBST
17296 cfgfile="${ofile}T"
17297 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17300 cat <<_LT_EOF >> "$cfgfile"
17303 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17304 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17305 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17306 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17308 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17309 # 2006, 2007, 2008 Free Software Foundation, Inc.
17310 # Written by Gordon Matzigkeit, 1996
17312 # This file is part of GNU Libtool.
17314 # GNU Libtool is free software; you can redistribute it and/or
17315 # modify it under the terms of the GNU General Public License as
17316 # published by the Free Software Foundation; either version 2 of
17317 # the License, or (at your option) any later version.
17319 # As a special exception to the GNU General Public License,
17320 # if you distribute this file as part of a program or library that
17321 # is built using GNU Libtool, you may include this file under the
17322 # same distribution terms that you use for the rest of that program.
17324 # GNU Libtool is distributed in the hope that it will be useful,
17325 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17326 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17327 # GNU General Public License for more details.
17329 # You should have received a copy of the GNU General Public License
17330 # along with GNU Libtool; see the file COPYING. If not, a copy
17331 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17332 # obtained by writing to the Free Software Foundation, Inc.,
17333 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17336 # The names of the tagged configurations supported by this script.
17337 available_tags="CXX "
17339 # ### BEGIN LIBTOOL CONFIG
17341 # Which release of libtool.m4 was used?
17342 macro_version=$macro_version
17343 macro_revision=$macro_revision
17345 # Whether or not to build shared libraries.
17346 build_libtool_libs=$enable_shared
17348 # Whether or not to build static libraries.
17349 build_old_libs=$enable_static
17351 # What type of objects to build.
17354 # Whether or not to optimize for fast installation.
17355 fast_install=$enable_fast_install
17358 host_alias=$host_alias
17362 # The build system.
17363 build_alias=$build_alias
17367 # A sed program that does not truncate output.
17370 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17371 Xsed="\$SED -e 1s/^X//"
17373 # A grep program that handles long lines.
17379 # A literal string matcher.
17382 # A BSD- or MS-compatible name lister.
17385 # Whether we need soft or hard links.
17388 # What is the maximum length of a command?
17389 max_cmd_len=$max_cmd_len
17391 # Object file suffix (normally "o").
17394 # Executable file suffix (normally "").
17397 # whether the shell understands "unset".
17400 # turn spaces into newlines.
17403 # turn newlines into spaces.
17406 # How to create reloadable object files.
17407 reload_flag=$lt_reload_flag
17408 reload_cmds=$lt_reload_cmds
17410 # An object symbol dumper.
17411 OBJDUMP=$lt_OBJDUMP
17413 # Method to check whether dependent libraries are shared objects.
17414 deplibs_check_method=$lt_deplibs_check_method
17416 # Command to use when deplibs_check_method == "file_magic".
17417 file_magic_cmd=$lt_file_magic_cmd
17421 AR_FLAGS=$lt_AR_FLAGS
17423 # A symbol stripping program.
17426 # Commands used to install an old-style archive.
17428 old_postinstall_cmds=$lt_old_postinstall_cmds
17429 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17434 # LTCC compiler flags.
17435 LTCFLAGS=$lt_CFLAGS
17437 # Take the output of nm and produce a listing of raw symbols and C names.
17438 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17440 # Transform the output of nm in a proper C declaration.
17441 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17443 # Transform the output of nm in a C name address pair.
17444 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17446 # Transform the output of nm in a C name address pair when lib prefix is needed.
17447 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17449 # The name of the directory that contains temporary libtool files.
17452 # Shell to use when invoking shell scripts.
17455 # An echo program that does not interpret backslashes.
17458 # Used to examine libraries when file_magic_cmd begins with "file".
17459 MAGIC_CMD=$MAGIC_CMD
17461 # Must we lock files when doing compilation?
17462 need_locks=$lt_need_locks
17464 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17465 DSYMUTIL=$lt_DSYMUTIL
17467 # Tool to change global to local symbols on Mac OS X.
17470 # Tool to manipulate fat objects and archives on Mac OS X.
17473 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17476 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17477 OTOOL64=$lt_OTOOL64
17479 # Old archive suffix (normally "a").
17482 # Shared library suffix (normally ".so").
17483 shrext_cmds=$lt_shrext_cmds
17485 # The commands to extract the exported symbol list from a shared archive.
17486 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17488 # Variables whose values should be saved in libtool wrapper scripts and
17489 # restored at link time.
17490 variables_saved_for_relink=$lt_variables_saved_for_relink
17492 # Do we need the "lib" prefix for modules?
17493 need_lib_prefix=$need_lib_prefix
17495 # Do we need a version for libraries?
17496 need_version=$need_version
17498 # Library versioning type.
17499 version_type=$version_type
17501 # Shared library runtime path variable.
17502 runpath_var=$runpath_var
17504 # Shared library path variable.
17505 shlibpath_var=$shlibpath_var
17507 # Is shlibpath searched before the hard-coded library search path?
17508 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17510 # Format of library name prefix.
17511 libname_spec=$lt_libname_spec
17513 # List of archive names. First name is the real one, the rest are links.
17514 # The last name is the one that the linker finds with -lNAME
17515 library_names_spec=$lt_library_names_spec
17517 # The coded name of the library, if different from the real name.
17518 soname_spec=$lt_soname_spec
17520 # Command to use after installation of a shared archive.
17521 postinstall_cmds=$lt_postinstall_cmds
17523 # Command to use after uninstallation of a shared archive.
17524 postuninstall_cmds=$lt_postuninstall_cmds
17526 # Commands used to finish a libtool library installation in a directory.
17527 finish_cmds=$lt_finish_cmds
17529 # As "finish_cmds", except a single script fragment to be evaled but
17531 finish_eval=$lt_finish_eval
17533 # Whether we should hardcode library paths into libraries.
17534 hardcode_into_libs=$hardcode_into_libs
17536 # Compile-time system search path for libraries.
17537 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17539 # Run-time system search path for libraries.
17540 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17542 # Whether dlopen is supported.
17543 dlopen_support=$enable_dlopen
17545 # Whether dlopen of programs is supported.
17546 dlopen_self=$enable_dlopen_self
17548 # Whether dlopen of statically linked programs is supported.
17549 dlopen_self_static=$enable_dlopen_self_static
17551 # Commands to strip libraries.
17552 old_striplib=$lt_old_striplib
17553 striplib=$lt_striplib
17556 # The linker used to build libraries.
17559 # Commands used to build an old-style archive.
17560 old_archive_cmds=$lt_old_archive_cmds
17562 # A language specific compiler.
17565 # Is the compiler the GNU compiler?
17568 # Compiler flag to turn off builtin functions.
17569 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17571 # How to pass a linker flag through the compiler.
17572 wl=$lt_lt_prog_compiler_wl
17574 # Additional compiler flags for building library objects.
17575 pic_flag=$lt_lt_prog_compiler_pic
17577 # Compiler flag to prevent dynamic linking.
17578 link_static_flag=$lt_lt_prog_compiler_static
17580 # Does compiler simultaneously support -c and -o options?
17581 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17583 # Whether or not to add -lc for building shared libraries.
17584 build_libtool_need_lc=$archive_cmds_need_lc
17586 # Whether or not to disallow shared libs when runtime libs are static.
17587 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17589 # Compiler flag to allow reflexive dlopens.
17590 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17592 # Compiler flag to generate shared objects directly from archives.
17593 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17595 # Whether the compiler copes with passing no objects directly.
17596 compiler_needs_object=$lt_compiler_needs_object
17598 # Create an old-style archive from a shared archive.
17599 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17601 # Create a temporary old-style archive to link instead of a shared archive.
17602 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17604 # Commands used to build a shared archive.
17605 archive_cmds=$lt_archive_cmds
17606 archive_expsym_cmds=$lt_archive_expsym_cmds
17608 # Commands used to build a loadable module if different from building
17609 # a shared archive.
17610 module_cmds=$lt_module_cmds
17611 module_expsym_cmds=$lt_module_expsym_cmds
17613 # Whether we are building with GNU ld or not.
17614 with_gnu_ld=$lt_with_gnu_ld
17616 # Flag that allows shared libraries with undefined symbols to be built.
17617 allow_undefined_flag=$lt_allow_undefined_flag
17619 # Flag that enforces no undefined symbols.
17620 no_undefined_flag=$lt_no_undefined_flag
17622 # Flag to hardcode \$libdir into a binary during linking.
17623 # This must work even if \$libdir does not exist
17624 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17626 # If ld is used when linking, flag to hardcode \$libdir into a binary
17627 # during linking. This must work even if \$libdir does not exist.
17628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17630 # Whether we need a single "-rpath" flag with a separated argument.
17631 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17633 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17634 # DIR into the resulting binary.
17635 hardcode_direct=$hardcode_direct
17637 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17638 # DIR into the resulting binary and the resulting library dependency is
17639 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17640 # library is relocated.
17641 hardcode_direct_absolute=$hardcode_direct_absolute
17643 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17644 # into the resulting binary.
17645 hardcode_minus_L=$hardcode_minus_L
17647 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17648 # into the resulting binary.
17649 hardcode_shlibpath_var=$hardcode_shlibpath_var
17651 # Set to "yes" if building a shared library automatically hardcodes DIR
17652 # into the library and all subsequent libraries and executables linked
17654 hardcode_automatic=$hardcode_automatic
17656 # Set to yes if linker adds runtime paths of dependent libraries
17657 # to runtime path list.
17658 inherit_rpath=$inherit_rpath
17660 # Whether libtool must link a program against all its dependency libraries.
17661 link_all_deplibs=$link_all_deplibs
17663 # Fix the shell variable \$srcfile for the compiler.
17664 fix_srcfile_path=$lt_fix_srcfile_path
17666 # Set to "yes" if exported symbols are required.
17667 always_export_symbols=$always_export_symbols
17669 # The commands to list exported symbols.
17670 export_symbols_cmds=$lt_export_symbols_cmds
17672 # Symbols that should not be listed in the preloaded symbols.
17673 exclude_expsyms=$lt_exclude_expsyms
17675 # Symbols that must always be exported.
17676 include_expsyms=$lt_include_expsyms
17678 # Commands necessary for linking programs (against libraries) with templates.
17679 prelink_cmds=$lt_prelink_cmds
17681 # Specify filename containing input files.
17682 file_list_spec=$lt_file_list_spec
17684 # How to hardcode a shared library path into an executable.
17685 hardcode_action=$hardcode_action
17687 # The directories searched by this compiler when creating a shared library.
17688 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17690 # Dependencies to place before and after the objects being linked to
17691 # create a shared library.
17692 predep_objects=$lt_predep_objects
17693 postdep_objects=$lt_postdep_objects
17694 predeps=$lt_predeps
17695 postdeps=$lt_postdeps
17697 # The library search path used internally by the compiler when linking
17698 # a shared library.
17699 compiler_lib_search_path=$lt_compiler_lib_search_path
17701 # ### END LIBTOOL CONFIG
17707 cat <<\_LT_EOF >> "$cfgfile"
17708 # AIX sometimes has problems with the GCC collect2 program. For some
17709 # reason, if we set the COLLECT_NAMES environment variable, the problems
17710 # vanish in a puff of smoke.
17711 if test "X${COLLECT_NAMES+set}" != Xset; then
17713 export COLLECT_NAMES
17720 ltmain="$ac_aux_dir/ltmain.sh"
17723 # We use sed instead of cat because bash on DJGPP gets confused if
17724 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17725 # text mode, it properly converts lines to CR/LF. This bash problem
17726 # is reportedly fixed, but why not run on old versions too?
17727 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17728 || (rm -f "$cfgfile"; exit 1)
17732 cat << \_LT_EOF >> "$cfgfile"
17734 # func_dirname file append nondir_replacement
17735 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17736 # otherwise set result to NONDIR_REPLACEMENT.
17740 */*) func_dirname_result="${1%/*}${2}" ;;
17741 * ) func_dirname_result="${3}" ;;
17745 # func_basename file
17748 func_basename_result="${1##*/}"
17751 # func_dirname_and_basename file append nondir_replacement
17752 # perform func_basename and func_dirname in a single function
17754 # dirname: Compute the dirname of FILE. If nonempty,
17755 # add APPEND to the result, otherwise set result
17756 # to NONDIR_REPLACEMENT.
17757 # value returned in "$func_dirname_result"
17758 # basename: Compute filename of FILE.
17759 # value retuned in "$func_basename_result"
17760 # Implementation must be kept synchronized with func_dirname
17761 # and func_basename. For efficiency, we do not delegate to
17762 # those functions but instead duplicate the functionality here.
17763 func_dirname_and_basename ()
17766 */*) func_dirname_result="${1%/*}${2}" ;;
17767 * ) func_dirname_result="${3}" ;;
17769 func_basename_result="${1##*/}"
17772 # func_stripname prefix suffix name
17773 # strip PREFIX and SUFFIX off of NAME.
17774 # PREFIX and SUFFIX must not contain globbing or regex special
17775 # characters, hashes, percent signs, but SUFFIX may contain a leading
17776 # dot (in which case that matches only a dot).
17779 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17780 # positional parameters, so assign one to ordinary parameter first.
17781 func_stripname_result=${3}
17782 func_stripname_result=${func_stripname_result#"${1}"}
17783 func_stripname_result=${func_stripname_result%"${2}"}
17789 func_opt_split_opt=${1%%=*}
17790 func_opt_split_arg=${1#*=}
17797 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17798 *) func_lo2o_result=${1} ;;
17802 # func_xform libobj-or-source
17805 func_xform_result=${1%.*}.lo
17808 # func_arith arithmetic-term...
17811 func_arith_result=$(( $* ))
17815 # STRING may not start with a hyphen.
17818 func_len_result=${#1}
17823 *) # Bourne compatible functions.
17824 cat << \_LT_EOF >> "$cfgfile"
17826 # func_dirname file append nondir_replacement
17827 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17828 # otherwise set result to NONDIR_REPLACEMENT.
17831 # Extract subdirectory from the argument.
17832 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17833 if test "X$func_dirname_result" = "X${1}"; then
17834 func_dirname_result="${3}"
17836 func_dirname_result="$func_dirname_result${2}"
17840 # func_basename file
17843 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17847 # func_stripname prefix suffix name
17848 # strip PREFIX and SUFFIX off of NAME.
17849 # PREFIX and SUFFIX must not contain globbing or regex special
17850 # characters, hashes, percent signs, but SUFFIX may contain a leading
17851 # dot (in which case that matches only a dot).
17852 # func_strip_suffix prefix name
17856 .*) func_stripname_result=`$ECHO "X${3}" \
17857 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17858 *) func_stripname_result=`$ECHO "X${3}" \
17859 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17864 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17865 my_sed_long_arg='1s/^-[^=]*=//'
17870 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17871 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17877 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17880 # func_xform libobj-or-source
17883 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17886 # func_arith arithmetic-term...
17889 func_arith_result=`expr "$@"`
17893 # STRING may not start with a hyphen.
17896 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17902 case $lt_shell_append in
17904 cat << \_LT_EOF >> "$cfgfile"
17906 # func_append var value
17907 # Append VALUE to the end of shell variable VAR.
17915 cat << \_LT_EOF >> "$cfgfile"
17917 # func_append var value
17918 # Append VALUE to the end of shell variable VAR.
17929 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17930 || (rm -f "$cfgfile"; exit 1)
17932 mv -f "$cfgfile" "$ofile" ||
17933 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17937 cat <<_LT_EOF >> "$ofile"
17939 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17941 # The linker used to build libraries.
17944 # Commands used to build an old-style archive.
17945 old_archive_cmds=$lt_old_archive_cmds_CXX
17947 # A language specific compiler.
17948 CC=$lt_compiler_CXX
17950 # Is the compiler the GNU compiler?
17953 # Compiler flag to turn off builtin functions.
17954 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17956 # How to pass a linker flag through the compiler.
17957 wl=$lt_lt_prog_compiler_wl_CXX
17959 # Additional compiler flags for building library objects.
17960 pic_flag=$lt_lt_prog_compiler_pic_CXX
17962 # Compiler flag to prevent dynamic linking.
17963 link_static_flag=$lt_lt_prog_compiler_static_CXX
17965 # Does compiler simultaneously support -c and -o options?
17966 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17968 # Whether or not to add -lc for building shared libraries.
17969 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17971 # Whether or not to disallow shared libs when runtime libs are static.
17972 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17974 # Compiler flag to allow reflexive dlopens.
17975 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17977 # Compiler flag to generate shared objects directly from archives.
17978 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17980 # Whether the compiler copes with passing no objects directly.
17981 compiler_needs_object=$lt_compiler_needs_object_CXX
17983 # Create an old-style archive from a shared archive.
17984 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17986 # Create a temporary old-style archive to link instead of a shared archive.
17987 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17989 # Commands used to build a shared archive.
17990 archive_cmds=$lt_archive_cmds_CXX
17991 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17993 # Commands used to build a loadable module if different from building
17994 # a shared archive.
17995 module_cmds=$lt_module_cmds_CXX
17996 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17998 # Whether we are building with GNU ld or not.
17999 with_gnu_ld=$lt_with_gnu_ld_CXX
18001 # Flag that allows shared libraries with undefined symbols to be built.
18002 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18004 # Flag that enforces no undefined symbols.
18005 no_undefined_flag=$lt_no_undefined_flag_CXX
18007 # Flag to hardcode \$libdir into a binary during linking.
18008 # This must work even if \$libdir does not exist
18009 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18011 # If ld is used when linking, flag to hardcode \$libdir into a binary
18012 # during linking. This must work even if \$libdir does not exist.
18013 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18015 # Whether we need a single "-rpath" flag with a separated argument.
18016 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18018 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18019 # DIR into the resulting binary.
18020 hardcode_direct=$hardcode_direct_CXX
18022 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18023 # DIR into the resulting binary and the resulting library dependency is
18024 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18025 # library is relocated.
18026 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18028 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18029 # into the resulting binary.
18030 hardcode_minus_L=$hardcode_minus_L_CXX
18032 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18033 # into the resulting binary.
18034 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18036 # Set to "yes" if building a shared library automatically hardcodes DIR
18037 # into the library and all subsequent libraries and executables linked
18039 hardcode_automatic=$hardcode_automatic_CXX
18041 # Set to yes if linker adds runtime paths of dependent libraries
18042 # to runtime path list.
18043 inherit_rpath=$inherit_rpath_CXX
18045 # Whether libtool must link a program against all its dependency libraries.
18046 link_all_deplibs=$link_all_deplibs_CXX
18048 # Fix the shell variable \$srcfile for the compiler.
18049 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18051 # Set to "yes" if exported symbols are required.
18052 always_export_symbols=$always_export_symbols_CXX
18054 # The commands to list exported symbols.
18055 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18057 # Symbols that should not be listed in the preloaded symbols.
18058 exclude_expsyms=$lt_exclude_expsyms_CXX
18060 # Symbols that must always be exported.
18061 include_expsyms=$lt_include_expsyms_CXX
18063 # Commands necessary for linking programs (against libraries) with templates.
18064 prelink_cmds=$lt_prelink_cmds_CXX
18066 # Specify filename containing input files.
18067 file_list_spec=$lt_file_list_spec_CXX
18069 # How to hardcode a shared library path into an executable.
18070 hardcode_action=$hardcode_action_CXX
18072 # The directories searched by this compiler when creating a shared library.
18073 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18075 # Dependencies to place before and after the objects being linked to
18076 # create a shared library.
18077 predep_objects=$lt_predep_objects_CXX
18078 postdep_objects=$lt_postdep_objects_CXX
18079 predeps=$lt_predeps_CXX
18080 postdeps=$lt_postdeps_CXX
18082 # The library search path used internally by the compiler when linking
18083 # a shared library.
18084 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18086 # ### END LIBTOOL TAG CONFIG: CXX
18097 ac_clean_files=$ac_clean_files_save
18099 test $ac_write_fail = 0 ||
18100 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18103 # configure is writing to config.log, and then calls config.status.
18104 # config.status does its own redirection, appending to config.log.
18105 # Unfortunately, on DOS this fails, as config.log is still kept open
18106 # by configure, so config.status won't be able to write to it; its
18107 # output is simply discarded. So we exec the FD to /dev/null,
18108 # effectively closing config.log, so it can be properly (re)opened and
18109 # appended to by config.status. When coming back to configure, we
18110 # need to make the FD available again.
18111 if test "$no_create" != yes; then
18113 ac_config_status_args=
18114 test "$silent" = yes &&
18115 ac_config_status_args="$ac_config_status_args --quiet"
18117 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18119 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18120 # would make configure fail if this is the last instruction.
18121 $ac_cs_success || as_fn_exit $?
18123 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18125 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}