2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for extension 1.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 STATUS 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=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&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, old GNU/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.
699 PACKAGE_NAME='extension'
700 PACKAGE_TARNAME='extension'
701 PACKAGE_VERSION='1.0'
702 PACKAGE_STRING='extension 1.0'
706 # Factoring default headers for most tests.
707 ac_includes_default="\
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
719 # ifdef HAVE_STDLIB_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
742 ac_subst_vars='am__EXEEXT_FALSE
748 GST_EXT_USE_EXT_TOGGLE_FALSE
749 GST_EXT_USE_EXT_TOGGLE_TRUE
752 GST_EXT_USE_EXT_DRMSRC_FALSE
753 GST_EXT_USE_EXT_DRMSRC_TRUE
758 GST_EXT_USE_EXT_AVSYSAUDIO_FALSE
759 GST_EXT_USE_EXT_AVSYSAUDIO_TRUE
762 GST_EXT_USE_EXT_AVSYSCAMERA_FALSE
763 GST_EXT_USE_EXT_AVSYSCAMERA_TRUE
764 GST_EXT_USE_EXT_EVASIMAGESINK_FALSE
765 GST_EXT_USE_EXT_EVASIMAGESINK_TRUE
766 GST_EXT_USE_EXT_AVSYSTEM_FALSE
767 GST_EXT_USE_EXT_AVSYSTEM_TRUE
768 GST_EXT_USE_EXT_ENCODEBIN_FALSE
769 GST_EXT_USE_EXT_ENCODEBIN_TRUE
775 GST_INTERFACES_CFLAGS
792 ISVOLANS_TARGET_FALSE
794 ISPROTECTOR_TARGET_FALSE
795 ISPROTECTOR_TARGET_TRUE
796 ISVOLANS_VODA_SDK_FALSE
797 ISVOLANS_VODA_SDK_TRUE
798 ISPROTECTOR_VODA_SDK_FALSE
799 ISPROTECTOR_VODA_SDK_TRUE
863 INSTALL_STRIP_PROGRAM
877 MAINTAINER_MODE_FALSE
881 GST_PLUGIN_VERSION_NANO
882 GST_PLUGIN_VERSION_MICRO
883 GST_PLUGIN_VERSION_MINOR
884 GST_PLUGIN_VERSION_MAJOR
885 GST_PLUGIN_VERSION_RELEASE
914 program_transform_name
927 enable_option_checking
928 enable_maintainer_mode
929 enable_dependency_tracking
938 enable_ext_evasimagesink
939 enable_ext_gstreamer_camera
940 enable_ext_gstreamer_audio
945 ac_precious_vars='build_alias
971 GST_INTERFACES_CFLAGS
987 # Initialize some variables set by options.
989 ac_init_version=false
990 ac_unrecognized_opts=
992 # The variables have the same names as the options, with
993 # dashes changed to underlines.
1001 program_transform_name=s,x,x,
1009 # Installation directory options.
1010 # These are left unexpanded so users can "make install exec_prefix=/foo"
1011 # and all the variables that are supposed to be based on exec_prefix
1012 # by default will actually change.
1013 # Use braces instead of parens because sh, perl, etc. also accept them.
1014 # (The list follows the same order as the GNU Coding Standards.)
1015 bindir='${exec_prefix}/bin'
1016 sbindir='${exec_prefix}/sbin'
1017 libexecdir='${exec_prefix}/libexec'
1018 datarootdir='${prefix}/share'
1019 datadir='${datarootdir}'
1020 sysconfdir='${prefix}/etc'
1021 sharedstatedir='${prefix}/com'
1022 localstatedir='${prefix}/var'
1023 includedir='${prefix}/include'
1024 oldincludedir='/usr/include'
1025 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1026 infodir='${datarootdir}/info'
1031 libdir='${exec_prefix}/lib'
1032 localedir='${datarootdir}/locale'
1033 mandir='${datarootdir}/man'
1039 # If the previous option needs an argument, assign it.
1040 if test -n "$ac_prev"; then
1041 eval $ac_prev=\$ac_option
1047 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1052 # Accept the important Cygnus configure options, so we can diagnose typos.
1054 case $ac_dashdash$ac_option in
1058 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1060 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1061 bindir=$ac_optarg ;;
1063 -build | --build | --buil | --bui | --bu)
1064 ac_prev=build_alias ;;
1065 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1066 build_alias=$ac_optarg ;;
1068 -cache-file | --cache-file | --cache-fil | --cache-fi \
1069 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1070 ac_prev=cache_file ;;
1071 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1072 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1073 cache_file=$ac_optarg ;;
1075 --config-cache | -C)
1076 cache_file=config.cache ;;
1078 -datadir | --datadir | --datadi | --datad)
1080 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1081 datadir=$ac_optarg ;;
1083 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1084 | --dataroo | --dataro | --datar)
1085 ac_prev=datarootdir ;;
1086 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1087 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1088 datarootdir=$ac_optarg ;;
1090 -disable-* | --disable-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid feature name: $ac_useropt"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1099 "enable_$ac_useropt"
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1104 eval enable_$ac_useropt=no ;;
1106 -docdir | --docdir | --docdi | --doc | --do)
1108 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1109 docdir=$ac_optarg ;;
1111 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1113 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1114 dvidir=$ac_optarg ;;
1116 -enable-* | --enable-*)
1117 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid feature name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1125 "enable_$ac_useropt"
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1130 eval enable_$ac_useropt=\$ac_optarg ;;
1132 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1133 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1134 | --exec | --exe | --ex)
1135 ac_prev=exec_prefix ;;
1136 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1137 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1138 | --exec=* | --exe=* | --ex=*)
1139 exec_prefix=$ac_optarg ;;
1141 -gas | --gas | --ga | --g)
1142 # Obsolete; use --with-gas.
1145 -help | --help | --hel | --he | -h)
1146 ac_init_help=long ;;
1147 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1148 ac_init_help=recursive ;;
1149 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1150 ac_init_help=short ;;
1152 -host | --host | --hos | --ho)
1153 ac_prev=host_alias ;;
1154 -host=* | --host=* | --hos=* | --ho=*)
1155 host_alias=$ac_optarg ;;
1157 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1159 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1161 htmldir=$ac_optarg ;;
1163 -includedir | --includedir | --includedi | --included | --include \
1164 | --includ | --inclu | --incl | --inc)
1165 ac_prev=includedir ;;
1166 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1167 | --includ=* | --inclu=* | --incl=* | --inc=*)
1168 includedir=$ac_optarg ;;
1170 -infodir | --infodir | --infodi | --infod | --info | --inf)
1172 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1173 infodir=$ac_optarg ;;
1175 -libdir | --libdir | --libdi | --libd)
1177 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1178 libdir=$ac_optarg ;;
1180 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1181 | --libexe | --libex | --libe)
1182 ac_prev=libexecdir ;;
1183 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1184 | --libexe=* | --libex=* | --libe=*)
1185 libexecdir=$ac_optarg ;;
1187 -localedir | --localedir | --localedi | --localed | --locale)
1188 ac_prev=localedir ;;
1189 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1190 localedir=$ac_optarg ;;
1192 -localstatedir | --localstatedir | --localstatedi | --localstated \
1193 | --localstate | --localstat | --localsta | --localst | --locals)
1194 ac_prev=localstatedir ;;
1195 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1196 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1197 localstatedir=$ac_optarg ;;
1199 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1201 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1202 mandir=$ac_optarg ;;
1204 -nfp | --nfp | --nf)
1205 # Obsolete; use --without-fp.
1208 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1209 | --no-cr | --no-c | -n)
1212 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1213 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1217 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1218 | --oldin | --oldi | --old | --ol | --o)
1219 ac_prev=oldincludedir ;;
1220 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1221 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1222 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1223 oldincludedir=$ac_optarg ;;
1225 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1227 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1228 prefix=$ac_optarg ;;
1230 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1231 | --program-pre | --program-pr | --program-p)
1232 ac_prev=program_prefix ;;
1233 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1234 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1235 program_prefix=$ac_optarg ;;
1237 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1238 | --program-suf | --program-su | --program-s)
1239 ac_prev=program_suffix ;;
1240 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1241 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1242 program_suffix=$ac_optarg ;;
1244 -program-transform-name | --program-transform-name \
1245 | --program-transform-nam | --program-transform-na \
1246 | --program-transform-n | --program-transform- \
1247 | --program-transform | --program-transfor \
1248 | --program-transfo | --program-transf \
1249 | --program-trans | --program-tran \
1250 | --progr-tra | --program-tr | --program-t)
1251 ac_prev=program_transform_name ;;
1252 -program-transform-name=* | --program-transform-name=* \
1253 | --program-transform-nam=* | --program-transform-na=* \
1254 | --program-transform-n=* | --program-transform-=* \
1255 | --program-transform=* | --program-transfor=* \
1256 | --program-transfo=* | --program-transf=* \
1257 | --program-trans=* | --program-tran=* \
1258 | --progr-tra=* | --program-tr=* | --program-t=*)
1259 program_transform_name=$ac_optarg ;;
1261 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1263 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1264 pdfdir=$ac_optarg ;;
1266 -psdir | --psdir | --psdi | --psd | --ps)
1268 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1272 | -silent | --silent | --silen | --sile | --sil)
1275 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1277 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1279 sbindir=$ac_optarg ;;
1281 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1282 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1283 | --sharedst | --shareds | --shared | --share | --shar \
1285 ac_prev=sharedstatedir ;;
1286 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1287 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1288 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1290 sharedstatedir=$ac_optarg ;;
1292 -site | --site | --sit)
1294 -site=* | --site=* | --sit=*)
1297 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1299 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1300 srcdir=$ac_optarg ;;
1302 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1303 | --syscon | --sysco | --sysc | --sys | --sy)
1304 ac_prev=sysconfdir ;;
1305 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1306 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1307 sysconfdir=$ac_optarg ;;
1309 -target | --target | --targe | --targ | --tar | --ta | --t)
1310 ac_prev=target_alias ;;
1311 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1312 target_alias=$ac_optarg ;;
1314 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317 -version | --version | --versio | --versi | --vers | -V)
1318 ac_init_version=: ;;
1321 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324 as_fn_error $? "invalid package name: $ac_useropt"
1325 ac_useropt_orig=$ac_useropt
1326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327 case $ac_user_opts in
1331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1332 ac_unrecognized_sep=', ';;
1334 eval with_$ac_useropt=\$ac_optarg ;;
1336 -without-* | --without-*)
1337 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1338 # Reject names that are not valid shell variable names.
1339 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1340 as_fn_error $? "invalid package name: $ac_useropt"
1341 ac_useropt_orig=$ac_useropt
1342 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1343 case $ac_user_opts in
1347 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1348 ac_unrecognized_sep=', ';;
1350 eval with_$ac_useropt=no ;;
1353 # Obsolete; use --with-x.
1356 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1357 | --x-incl | --x-inc | --x-in | --x-i)
1358 ac_prev=x_includes ;;
1359 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1360 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1361 x_includes=$ac_optarg ;;
1363 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1364 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1365 ac_prev=x_libraries ;;
1366 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1367 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1368 x_libraries=$ac_optarg ;;
1370 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1371 Try \`$0 --help' for more information"
1375 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1376 # Reject names that are not valid shell variable names.
1377 case $ac_envvar in #(
1378 '' | [0-9]* | *[!_$as_cr_alnum]* )
1379 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1381 eval $ac_envvar=\$ac_optarg
1382 export $ac_envvar ;;
1385 # FIXME: should be removed in autoconf 3.0.
1386 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1387 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1389 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1395 if test -n "$ac_prev"; then
1396 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1397 as_fn_error $? "missing argument to $ac_option"
1400 if test -n "$ac_unrecognized_opts"; then
1401 case $enable_option_checking in
1403 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1404 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1408 # Check all directory arguments for consistency.
1409 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1410 datadir sysconfdir sharedstatedir localstatedir includedir \
1411 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1412 libdir localedir mandir
1414 eval ac_val=\$$ac_var
1415 # Remove trailing slashes.
1418 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1419 eval $ac_var=\$ac_val;;
1421 # Be sure to have absolute directory names.
1423 [\\/$]* | ?:[\\/]* ) continue;;
1424 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1426 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1429 # There might be people who depend on the old broken behavior: `$host'
1430 # used to hold the argument of --host etc.
1431 # FIXME: To remove some day.
1434 target=$target_alias
1436 # FIXME: To remove some day.
1437 if test "x$host_alias" != x; then
1438 if test "x$build_alias" = x; then
1439 cross_compiling=maybe
1440 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1441 If a cross compiler is detected then cross compile mode will be used" >&2
1442 elif test "x$build_alias" != "x$host_alias"; then
1448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1450 test "$silent" = yes && exec 6>/dev/null
1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1454 ac_ls_di=`ls -di .` &&
1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1456 as_fn_error $? "working directory cannot be determined"
1457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1458 as_fn_error $? "pwd does not report name of working directory"
1461 # Find the source files, if location was not specified.
1462 if test -z "$srcdir"; then
1463 ac_srcdir_defaulted=yes
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1493 ac_srcdir_defaulted=no
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1521 # Report the --help message.
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1527 \`configure' configures extension 1.0 to adapt to many kinds of systems.
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1534 Defaults for the options are specified in brackets.
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking ...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1558 For better control, use the options below.
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/extension]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1585 --program-prefix=PREFIX prepend PREFIX to installed program names
1586 --program-suffix=SUFFIX append SUFFIX to installed program names
1587 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1590 --build=BUILD configure for building on BUILD [guessed]
1591 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1595 if test -n "$ac_init_help"; then
1596 case $ac_init_help in
1597 short | recursive ) echo "Configuration of extension 1.0:";;
1602 --disable-option-checking ignore unrecognized --enable/--with options
1603 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1604 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1605 --enable-maintainer-mode enable make rules and dependencies not useful
1606 (and sometimes confusing) to the casual installer
1607 --disable-dependency-tracking speeds up one-time build
1608 --enable-dependency-tracking do not reject slow dependency extractors
1609 --enable-shared[=PKGS] build shared libraries [default=yes]
1610 --enable-static[=PKGS] build static libraries [default=yes]
1611 --enable-fast-install[=PKGS]
1612 optimize for fast installation [default=yes]
1613 --disable-libtool-lock avoid locking (might break parallel builds)
1614 --enable-ext-encodebin using encodebin
1615 --enable-ext-avsystem using avsystem
1616 --enable-ext-evasimagesink
1618 --enable-ext-gstreamer-camera
1619 using gstreamer-camera
1620 --enable-ext-gstreamer-audio
1621 using gstreamer-audio
1622 --enable-ext-drmsrc using drmsrc
1623 --enable-ext-toggle using toggle
1624 --enable-i386 i386 build
1627 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1628 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1629 --with-pic try to use only PIC/non-PIC objects [default=use
1631 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1633 Some influential environment variables:
1634 CC C compiler command
1635 CFLAGS C compiler flags
1636 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1637 nonstandard directory <lib dir>
1638 LIBS libraries to pass to the linker, e.g. -l<library>
1639 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1640 you have headers in a nonstandard directory <include dir>
1641 CXX C++ compiler command
1642 CXXFLAGS C++ compiler flags
1644 CXXCPP C++ preprocessor
1645 PKG_CONFIG path to pkg-config utility
1646 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1647 GST_LIBS linker flags for GST, overriding pkg-config
1649 C compiler flags for GST_BASE, overriding pkg-config
1651 linker flags for GST_BASE, overriding pkg-config
1653 C compiler flags for GSTPB_BASE, overriding pkg-config
1655 linker flags for GSTPB_BASE, overriding pkg-config
1657 C compiler flags for GSTCTRL, overriding pkg-config
1659 linker flags for GSTCTRL, overriding pkg-config
1661 C compiler flags for GST_AUDIO, overriding pkg-config
1663 linker flags for GST_AUDIO, overriding pkg-config
1665 C compiler flags for GST_VIDEO, overriding pkg-config
1667 linker flags for GST_VIDEO, overriding pkg-config
1668 GST_INTERFACES_CFLAGS
1669 C compiler flags for GST_INTERFACES, overriding pkg-config
1671 linker flags for GST_INTERFACES, overriding pkg-config
1672 MMTA_CFLAGS C compiler flags for MMTA, overriding pkg-config
1673 MMTA_LIBS linker flags for MMTA, overriding pkg-config
1674 EFL_CFLAGS C compiler flags for EFL, overriding pkg-config
1675 EFL_LIBS linker flags for EFL, overriding pkg-config
1677 C compiler flags for AVSYSCAMERA, overriding pkg-config
1679 linker flags for AVSYSCAMERA, overriding pkg-config
1681 C compiler flags for AVSYSAUDIO, overriding pkg-config
1683 linker flags for AVSYSAUDIO, overriding pkg-config
1684 CAMSRCJPEGENC_CFLAGS
1685 C compiler flags for CAMSRCJPEGENC, overriding pkg-config
1687 linker flags for CAMSRCJPEGENC, overriding pkg-config
1689 C compiler flags for DRM_SERVICE, overriding pkg-config
1691 linker flags for DRM_SERVICE, overriding pkg-config
1693 Use these variables to override the choices made by `configure' or to help
1694 it to find libraries and programs with nonstandard names/locations.
1696 Report bugs to the package provider.
1701 if test "$ac_init_help" = "recursive"; then
1702 # If there are subdirs, report their specific --help.
1703 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1704 test -d "$ac_dir" ||
1705 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1710 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1712 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1713 # A ".." for each directory in $ac_dir_suffix.
1714 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1715 case $ac_top_builddir_sub in
1716 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1717 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1720 ac_abs_top_builddir=$ac_pwd
1721 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1722 # for backward compatibility:
1723 ac_top_builddir=$ac_top_build_prefix
1726 .) # We are building in place.
1728 ac_top_srcdir=$ac_top_builddir_sub
1729 ac_abs_top_srcdir=$ac_pwd ;;
1730 [\\/]* | ?:[\\/]* ) # Absolute name.
1731 ac_srcdir=$srcdir$ac_dir_suffix;
1732 ac_top_srcdir=$srcdir
1733 ac_abs_top_srcdir=$srcdir ;;
1735 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1736 ac_top_srcdir=$ac_top_build_prefix$srcdir
1737 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1739 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1741 cd "$ac_dir" || { ac_status=$?; continue; }
1742 # Check for guested configure.
1743 if test -f "$ac_srcdir/configure.gnu"; then
1745 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1746 elif test -f "$ac_srcdir/configure"; then
1748 $SHELL "$ac_srcdir/configure" --help=recursive
1750 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1752 cd "$ac_pwd" || { ac_status=$?; break; }
1756 test -n "$ac_init_help" && exit $ac_status
1757 if $ac_init_version; then
1759 extension configure 1.0
1760 generated by GNU Autoconf 2.67
1762 Copyright (C) 2010 Free Software Foundation, Inc.
1763 This configure script is free software; the Free Software Foundation
1764 gives unlimited permission to copy, distribute and modify it.
1769 ## ------------------------ ##
1770 ## Autoconf initialization. ##
1771 ## ------------------------ ##
1773 # ac_fn_c_try_compile LINENO
1774 # --------------------------
1775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1776 ac_fn_c_try_compile ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 rm -f conftest.$ac_objext
1780 if { { ac_try="$ac_compile"
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_compile") 2>conftest.err
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } && {
1796 test -z "$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 } && test -s conftest.$ac_objext; then :
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 as_fn_set_status $ac_retval
1809 } # ac_fn_c_try_compile
1811 # ac_fn_cxx_try_compile LINENO
1812 # ----------------------------
1813 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_cxx_try_compile ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext
1818 if { { ac_try="$ac_compile"
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_compile") 2>conftest.err
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_cxx_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest.$ac_objext; then :
1839 $as_echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845 as_fn_set_status $ac_retval
1847 } # ac_fn_cxx_try_compile
1849 # ac_fn_c_try_link LINENO
1850 # -----------------------
1851 # Try to link conftest.$ac_ext, and return whether this succeeded.
1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 rm -f conftest.$ac_objext conftest$ac_exeext
1856 if { { ac_try="$ac_link"
1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_link") 2>conftest.err
1865 if test -s conftest.err; then
1866 grep -v '^ *+' conftest.err >conftest.er1
1867 cat conftest.er1 >&5
1868 mv -f conftest.er1 conftest.err
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } && {
1872 test -z "$ac_c_werror_flag" ||
1873 test ! -s conftest.err
1874 } && test -s conftest$ac_exeext && {
1875 test "$cross_compiling" = yes ||
1876 $as_test_x conftest$ac_exeext
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1885 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1886 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1887 # interfere with the next link command; also delete a directory that is
1888 # left behind by Apple's compiler. We do this before executing the actions.
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 as_fn_set_status $ac_retval
1893 } # ac_fn_c_try_link
1895 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1896 # -------------------------------------------------------
1897 # Tests whether HEADER exists and can be compiled using the include files in
1898 # INCLUDES, setting the cache variable VAR accordingly.
1899 ac_fn_c_check_header_compile ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval "test \"\${$3+set}\"" = set; then :
1905 $as_echo_n "(cached) " >&6
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1912 if ac_fn_c_try_compile "$LINENO"; then :
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924 } # ac_fn_c_check_header_compile
1926 # ac_fn_c_try_cpp LINENO
1927 # ----------------------
1928 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1932 if { { ac_try="$ac_cpp conftest.$ac_ext"
1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1941 if test -s conftest.err; then
1942 grep -v '^ *+' conftest.err >conftest.er1
1943 cat conftest.er1 >&5
1944 mv -f conftest.er1 conftest.err
1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test $ac_status = 0; } > conftest.i && {
1948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1949 test ! -s conftest.err
1953 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5
1958 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1959 as_fn_set_status $ac_retval
1963 # ac_fn_c_try_run LINENO
1964 # ----------------------
1965 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1966 # that executables *can* be run.
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 if { { ac_try="$ac_link"
1972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1973 *) ac_try_echo=$ac_try;;
1975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1976 $as_echo "$ac_try_echo"; } >&5
1977 (eval "$ac_link") 2>&5
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1981 { { case "(($ac_try" in
1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_try") 2>&5
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; }; }; then :
1993 $as_echo "$as_me: program exited with status $ac_status" >&5
1994 $as_echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.$ac_ext >&5
1997 ac_retval=$ac_status
1999 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2000 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2001 as_fn_set_status $ac_retval
2005 # ac_fn_c_check_func LINENO FUNC VAR
2006 # ----------------------------------
2007 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2008 ac_fn_c_check_func ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval "test \"\${$3+set}\"" = set; then :
2014 $as_echo_n "(cached) " >&6
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2018 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2020 #define $2 innocuous_$2
2022 /* System header to define __stub macros and hopefully few prototypes,
2023 which can conflict with char $2 (); below.
2024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025 <limits.h> exists even on freestanding compilers. */
2028 # include <limits.h>
2030 # include <assert.h>
2035 /* Override any GCC internal prototype to avoid an error.
2036 Use char because int might match the return type of a GCC
2037 builtin and then its argument prototype would still apply. */
2042 /* The GNU C library defines this for functions which it implements
2043 to always fail with ENOSYS. Some functions are actually named
2044 something starting with __ and the normal name is an alias. */
2045 #if defined __stub_$2 || defined __stub___$2
2057 if ac_fn_c_try_link "$LINENO"; then :
2062 rm -f core conftest.err conftest.$ac_objext \
2063 conftest$ac_exeext conftest.$ac_ext
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067 $as_echo "$ac_res" >&6; }
2068 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2070 } # ac_fn_c_check_func
2072 # ac_fn_cxx_try_cpp LINENO
2073 # ------------------------
2074 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2075 ac_fn_cxx_try_cpp ()
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078 if { { ac_try="$ac_cpp conftest.$ac_ext"
2080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2081 *) ac_try_echo=$ac_try;;
2083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2084 $as_echo "$ac_try_echo"; } >&5
2085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2087 if test -s conftest.err; then
2088 grep -v '^ *+' conftest.err >conftest.er1
2089 cat conftest.er1 >&5
2090 mv -f conftest.er1 conftest.err
2092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2093 test $ac_status = 0; } > conftest.i && {
2094 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2095 test ! -s conftest.err
2099 $as_echo "$as_me: failed program was:" >&5
2100 sed 's/^/| /' conftest.$ac_ext >&5
2104 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2105 as_fn_set_status $ac_retval
2107 } # ac_fn_cxx_try_cpp
2109 # ac_fn_cxx_try_link LINENO
2110 # -------------------------
2111 # Try to link conftest.$ac_ext, and return whether this succeeded.
2112 ac_fn_cxx_try_link ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 rm -f conftest.$ac_objext conftest$ac_exeext
2116 if { { ac_try="$ac_link"
2118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119 *) ac_try_echo=$ac_try;;
2121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123 (eval "$ac_link") 2>conftest.err
2125 if test -s conftest.err; then
2126 grep -v '^ *+' conftest.err >conftest.er1
2127 cat conftest.er1 >&5
2128 mv -f conftest.er1 conftest.err
2130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131 test $ac_status = 0; } && {
2132 test -z "$ac_cxx_werror_flag" ||
2133 test ! -s conftest.err
2134 } && test -s conftest$ac_exeext && {
2135 test "$cross_compiling" = yes ||
2136 $as_test_x conftest$ac_exeext
2140 $as_echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2145 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2146 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2147 # interfere with the next link command; also delete a directory that is
2148 # left behind by Apple's compiler. We do this before executing the actions.
2149 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2150 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2151 as_fn_set_status $ac_retval
2153 } # ac_fn_cxx_try_link
2154 cat >config.log <<_ACEOF
2155 This file contains any messages produced by compilers while
2156 running configure, to aid debugging if configure makes a mistake.
2158 It was created by extension $as_me 1.0, which was
2159 generated by GNU Autoconf 2.67. Invocation command line was
2171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2183 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 $as_echo "PATH: $as_dir"
2211 # Keep a trace of the command line.
2212 # Strip out --no-create and --no-recursion so they do not pile up.
2213 # Strip out --silent because we don't want to record it for future runs.
2214 # Also quote any args containing shell meta-characters.
2215 # Make two passes to allow for proper duplicate-argument suppression.
2219 ac_must_keep_next=false
2225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2227 | -silent | --silent | --silen | --sile | --sil)
2230 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2235 as_fn_append ac_configure_args1 " '$ac_arg'"
2236 if test $ac_must_keep_next = true; then
2237 ac_must_keep_next=false # Got value, back to normal.
2240 *=* | --config-cache | -C | -disable-* | --disable-* \
2241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2243 | -with-* | --with-* | -without-* | --without-* | --x)
2244 case "$ac_configure_args0 " in
2245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2248 -* ) ac_must_keep_next=true ;;
2251 as_fn_append ac_configure_args " '$ac_arg'"
2256 { ac_configure_args0=; unset ac_configure_args0;}
2257 { ac_configure_args1=; unset ac_configure_args1;}
2259 # When interrupted or exit'd, cleanup temporary files, and complete
2260 # config.log. We remove comments because anyway the quotes in there
2261 # would cause problems or look ugly.
2262 # WARNING: Use '\'' to represent an apostrophe within the trap.
2263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2264 trap 'exit_status=$?
2265 # Save into config.log some information that might help in debugging.
2269 $as_echo "## ---------------- ##
2270 ## Cache variables. ##
2271 ## ---------------- ##"
2273 # The following way of writing the cache mishandles newlines in values,
2275 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2276 eval ac_val=\$$ac_var
2280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2284 _ | IFS | as_nl) ;; #(
2285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2286 *) { eval $ac_var=; unset $ac_var;} ;;
2291 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2292 *${as_nl}ac_space=\ *)
2294 "s/'\''/'\''\\\\'\'''\''/g;
2295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2298 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2305 $as_echo "## ----------------- ##
2306 ## Output variables. ##
2307 ## ----------------- ##"
2309 for ac_var in $ac_subst_vars
2311 eval ac_val=\$$ac_var
2313 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2315 $as_echo "$ac_var='\''$ac_val'\''"
2319 if test -n "$ac_subst_files"; then
2320 $as_echo "## ------------------- ##
2321 ## File substitutions. ##
2322 ## ------------------- ##"
2324 for ac_var in $ac_subst_files
2326 eval ac_val=\$$ac_var
2328 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2330 $as_echo "$ac_var='\''$ac_val'\''"
2335 if test -s confdefs.h; then
2336 $as_echo "## ----------- ##
2343 test "$ac_signal" != 0 &&
2344 $as_echo "$as_me: caught signal $ac_signal"
2345 $as_echo "$as_me: exit $exit_status"
2347 rm -f core *.core core.conftest.* &&
2348 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2351 for ac_signal in 1 2 13 15; do
2352 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2356 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2357 rm -f -r conftest* confdefs.h
2359 $as_echo "/* confdefs.h */" > confdefs.h
2361 # Predefined preprocessor variables.
2363 cat >>confdefs.h <<_ACEOF
2364 #define PACKAGE_NAME "$PACKAGE_NAME"
2367 cat >>confdefs.h <<_ACEOF
2368 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2371 cat >>confdefs.h <<_ACEOF
2372 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2375 cat >>confdefs.h <<_ACEOF
2376 #define PACKAGE_STRING "$PACKAGE_STRING"
2379 cat >>confdefs.h <<_ACEOF
2380 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2383 cat >>confdefs.h <<_ACEOF
2384 #define PACKAGE_URL "$PACKAGE_URL"
2388 # Let the site file select an alternate cache file if it wants to.
2389 # Prefer an explicitly selected file to automatically selected ones.
2392 if test -n "$CONFIG_SITE"; then
2393 # We do not want a PATH search for config.site.
2394 case $CONFIG_SITE in #((
2395 -*) ac_site_file1=./$CONFIG_SITE;;
2396 */*) ac_site_file1=$CONFIG_SITE;;
2397 *) ac_site_file1=./$CONFIG_SITE;;
2399 elif test "x$prefix" != xNONE; then
2400 ac_site_file1=$prefix/share/config.site
2401 ac_site_file2=$prefix/etc/config.site
2403 ac_site_file1=$ac_default_prefix/share/config.site
2404 ac_site_file2=$ac_default_prefix/etc/config.site
2406 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2408 test "x$ac_site_file" = xNONE && continue
2409 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2411 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2412 sed 's/^/| /' "$ac_site_file" >&5
2414 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2416 as_fn_error $? "failed to load site script $ac_site_file
2417 See \`config.log' for more details" "$LINENO" 5 ; }
2421 if test -r "$cache_file"; then
2422 # Some versions of bash will fail to source /dev/null (special files
2423 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2424 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2426 $as_echo "$as_me: loading cache $cache_file" >&6;}
2428 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2429 *) . "./$cache_file";;
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2434 $as_echo "$as_me: creating cache $cache_file" >&6;}
2438 # Check that the precious variables saved in the cache have kept the same
2440 ac_cache_corrupted=false
2441 for ac_var in $ac_precious_vars; do
2442 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2443 eval ac_new_set=\$ac_env_${ac_var}_set
2444 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2445 eval ac_new_val=\$ac_env_${ac_var}_value
2446 case $ac_old_set,$ac_new_set in
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2449 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2450 ac_cache_corrupted=: ;;
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2453 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2454 ac_cache_corrupted=: ;;
2457 if test "x$ac_old_val" != "x$ac_new_val"; then
2458 # differences in whitespace do not lead to failure.
2459 ac_old_val_w=`echo x $ac_old_val`
2460 ac_new_val_w=`echo x $ac_new_val`
2461 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2463 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2464 ac_cache_corrupted=:
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2467 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2468 eval $ac_var=\$ac_old_val
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2471 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2473 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2476 # Pass precious variables to config.status.
2477 if test "$ac_new_set" = set; then
2479 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2480 *) ac_arg=$ac_var=$ac_new_val ;;
2482 case " $ac_configure_args " in
2483 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2484 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2488 if $ac_cache_corrupted; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2492 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2493 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2495 ## -------------------- ##
2496 ## Main body of script. ##
2497 ## -------------------- ##
2500 ac_cpp='$CPP $CPPFLAGS'
2501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2509 GSTPB_REQUIRED=0.10.0
2515 GST_PLUGIN_VERSION_MAJOR=0
2516 GST_PLUGIN_VERSION_MINOR=10
2517 GST_PLUGIN_VERSION_MICRO=0
2519 GST_PLUGIN_VERSION_NANO=$NANO
2520 if test "x$NANO" = "x" || test "x$NANO" = "x0";
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring gst-plugin for release" >&5
2523 $as_echo "$as_me: configuring gst-plugin for release" >&6;}
2525 GST_PLUGIN_VERSION_RELEASE=1
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring gst-plugin for development with nano $NANO" >&5
2529 $as_echo "$as_me: configuring gst-plugin for development with nano $NANO" >&6;}
2530 VERSION=0.10.0.$NANO
2531 GST_PLUGIN_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
2532 GST_PLUGIN_CVS="yes"
2535 GST_PLUGIN_VERSION=$VERSION
2537 cat >>confdefs.h <<_ACEOF
2538 #define GST_PLUGIN_VERSION "$GST_PLUGIN_VERSION"
2543 cat >>confdefs.h <<_ACEOF
2544 #define GST_PLUGIN_VERSION_RELEASE "$GST_PLUGIN_VERSION_RELEASE"
2554 cat >>confdefs.h <<_ACEOF
2555 #define PACKAGE "$PACKAGE"
2560 cat >>confdefs.h <<_ACEOF
2561 #define VERSION "$VERSION"
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2569 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2570 # Check whether --enable-maintainer-mode was given.
2571 if test "${enable_maintainer_mode+set}" = set; then :
2572 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2574 USE_MAINTAINER_MODE=no
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2578 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2579 if test $USE_MAINTAINER_MODE = yes; then
2580 MAINTAINER_MODE_TRUE=
2581 MAINTAINER_MODE_FALSE='#'
2583 MAINTAINER_MODE_TRUE='#'
2584 MAINTAINER_MODE_FALSE=
2587 MAINT=$MAINTAINER_MODE_TRUE
2591 #AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
2592 am__api_version='1.11'
2595 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2596 if test -f "$ac_dir/install-sh"; then
2598 ac_install_sh="$ac_aux_dir/install-sh -c"
2600 elif test -f "$ac_dir/install.sh"; then
2602 ac_install_sh="$ac_aux_dir/install.sh -c"
2604 elif test -f "$ac_dir/shtool"; then
2606 ac_install_sh="$ac_aux_dir/shtool install -c"
2610 if test -z "$ac_aux_dir"; then
2611 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2614 # These three variables are undocumented and unsupported,
2615 # and are intended to be withdrawn in a future Autoconf release.
2616 # They can cause serious problems if a builder's source tree is in a directory
2617 # whose full name contains unusual characters.
2618 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2619 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2620 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2623 # Find a good install program. We prefer a C program (faster),
2624 # so one script is as good as another. But avoid the broken or
2625 # incompatible versions:
2626 # SysV /etc/install, /usr/sbin/install
2627 # SunOS /usr/etc/install
2628 # IRIX /sbin/install
2630 # AmigaOS /C/install, which installs bootblocks on floppy discs
2631 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2632 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2633 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2634 # OS/2's system install, which has a completely different semantic
2635 # ./install, which can be erroneously created by make from ./install.sh.
2636 # Reject install programs that cannot install multiple files.
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2638 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2639 if test -z "$INSTALL"; then
2640 if test "${ac_cv_path_install+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir=.
2648 # Account for people who put trailing slashes in PATH elements.
2649 case $as_dir/ in #((
2650 ./ | .// | /[cC]/* | \
2651 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2652 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2655 # OSF1 and SCO ODT 3.0 have their own names for install.
2656 # Don't use installbsd from OSF since it installs stuff as root
2658 for ac_prog in ginstall scoinst install; do
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2661 if test $ac_prog = install &&
2662 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2663 # AIX install. It has an incompatible calling convention.
2665 elif test $ac_prog = install &&
2666 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2667 # program-specific install script used by HP pwplus--don't use.
2670 rm -rf conftest.one conftest.two conftest.dir
2671 echo one > conftest.one
2672 echo two > conftest.two
2674 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2675 test -s conftest.one && test -s conftest.two &&
2676 test -s conftest.dir/conftest.one &&
2677 test -s conftest.dir/conftest.two
2679 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2692 rm -rf conftest.one conftest.two conftest.dir
2695 if test "${ac_cv_path_install+set}" = set; then
2696 INSTALL=$ac_cv_path_install
2698 # As a last resort, use the slow shell script. Don't cache a
2699 # value for INSTALL within a source directory, because that will
2700 # break other packages using the cache if that directory is
2701 # removed, or if the value is a relative name.
2702 INSTALL=$ac_install_sh
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2706 $as_echo "$INSTALL" >&6; }
2708 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2709 # It thinks the first close brace ends the variable substitution.
2710 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2712 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2714 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2717 $as_echo_n "checking whether build environment is sane... " >&6; }
2720 echo timestamp > conftest.file
2721 # Reject unsafe characters in $srcdir or the absolute working directory
2722 # name. Accept space and tab only in the latter.
2726 *[\\\"\#\$\&\'\`$am_lf]*)
2727 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2730 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2731 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2734 # Do `set' in a subshell so we don't clobber the current shell's
2735 # arguments. Must try -L first in case configure is actually a
2736 # symlink; some systems play weird games with the mod time of symlinks
2737 # (eg FreeBSD returns the mod time of the symlink's containing
2740 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2741 if test "$*" = "X"; then
2743 set X `ls -t "$srcdir/configure" conftest.file`
2746 if test "$*" != "X $srcdir/configure conftest.file" \
2747 && test "$*" != "X conftest.file $srcdir/configure"; then
2749 # If neither matched, then we have a broken ls. This can happen
2750 # if, for instance, CONFIG_SHELL is bash and it inherits a
2751 # broken ls alias from the environment. This has actually
2752 # happened. Such a system could not be considered "sane".
2753 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2754 alias in your environment" "$LINENO" 5
2757 test "$2" = conftest.file
2763 as_fn_error $? "newly created file is older than distributed files!
2764 Check your system clock" "$LINENO" 5
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2767 $as_echo "yes" >&6; }
2768 test "$program_prefix" != NONE &&
2769 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2770 # Use a double $ so make ignores it.
2771 test "$program_suffix" != NONE &&
2772 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2773 # Double any \ or $.
2774 # By default was `s,x,x', remove it if useless.
2775 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2776 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2778 # expand $ac_aux_dir to an absolute path
2779 am_aux_dir=`cd $ac_aux_dir && pwd`
2781 if test x"${MISSING+set}" != xset; then
2784 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2786 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2789 # Use eval to expand $SHELL
2790 if eval "$MISSING --run true"; then
2791 am_missing_run="$MISSING --run "
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2795 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2798 if test x"${install_sh}" != xset; then
2801 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2803 install_sh="\${SHELL} $am_aux_dir/install-sh"
2807 # Installed binaries are usually stripped using `strip' when the user
2808 # run `make install-strip'. However `strip' might not be the right
2809 # tool to use in cross-compilation environments, therefore Automake
2810 # will honor the `STRIP' environment variable to overrule this program.
2811 if test "$cross_compiling" != no; then
2812 if test -n "$ac_tool_prefix"; then
2813 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2814 set dummy ${ac_tool_prefix}strip; ac_word=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if test "${ac_cv_prog_STRIP+set}" = set; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$STRIP"; then
2821 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir=.
2828 for ac_exec_ext in '' $ac_executable_extensions; do
2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2830 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 STRIP=$ac_cv_prog_STRIP
2841 if test -n "$STRIP"; then
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2843 $as_echo "$STRIP" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2851 if test -z "$ac_cv_prog_STRIP"; then
2853 # Extract the first word of "strip", so it can be a program name with args.
2854 set dummy strip; ac_word=$2
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2856 $as_echo_n "checking for $ac_word... " >&6; }
2857 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2858 $as_echo_n "(cached) " >&6
2860 if test -n "$ac_ct_STRIP"; then
2861 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870 ac_cv_prog_ac_ct_STRIP="strip"
2871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2881 if test -n "$ac_ct_STRIP"; then
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2883 $as_echo "$ac_ct_STRIP" >&6; }
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886 $as_echo "no" >&6; }
2889 if test "x$ac_ct_STRIP" = x; then
2892 case $cross_compiling:$ac_tool_warned in
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2896 ac_tool_warned=yes ;;
2901 STRIP="$ac_cv_prog_STRIP"
2905 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2908 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2909 if test -z "$MKDIR_P"; then
2910 if test "${ac_cv_path_mkdir+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2917 test -z "$as_dir" && as_dir=.
2918 for ac_prog in mkdir gmkdir; do
2919 for ac_exec_ext in '' $ac_executable_extensions; do
2920 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2921 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2922 'mkdir (GNU coreutils) '* | \
2923 'mkdir (coreutils) '* | \
2924 'mkdir (fileutils) '4.1*)
2925 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2935 test -d ./--version && rmdir ./--version
2936 if test "${ac_cv_path_mkdir+set}" = set; then
2937 MKDIR_P="$ac_cv_path_mkdir -p"
2939 # As a last resort, use the slow shell script. Don't cache a
2940 # value for MKDIR_P within a source directory, because that will
2941 # break other packages using the cache if that directory is
2942 # removed, or if the value is a relative name.
2943 MKDIR_P="$ac_install_sh -d"
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2947 $as_echo "$MKDIR_P" >&6; }
2951 [\\/$]* | ?:[\\/]*) ;;
2952 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2955 for ac_prog in gawk mawk nawk awk
2957 # Extract the first word of "$ac_prog", so it can be a program name with args.
2958 set dummy $ac_prog; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if test "${ac_cv_prog_AWK+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$AWK"; then
2965 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974 ac_cv_prog_AWK="$ac_prog"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 if test -n "$AWK"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2987 $as_echo "$AWK" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2994 test -n "$AWK" && break
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2998 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3000 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3001 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3002 $as_echo_n "(cached) " >&6
3004 cat >conftest.make <<\_ACEOF
3007 @echo '@@@%%%=$(MAKE)=@@@%%%'
3009 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3010 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3012 eval ac_cv_prog_make_${ac_make}_set=yes;;
3014 eval ac_cv_prog_make_${ac_make}_set=no;;
3018 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3020 $as_echo "yes" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3025 SET_MAKE="MAKE=${MAKE-make}"
3028 rm -rf .tst 2>/dev/null
3029 mkdir .tst 2>/dev/null
3030 if test -d .tst; then
3035 rmdir .tst 2>/dev/null
3037 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3038 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3039 # is not polluted with repeated "-I."
3040 am__isrc=' -I$(srcdir)'
3041 # test to see if srcdir already configured
3042 if test -f $srcdir/config.status; then
3043 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3047 # test whether we have cygpath
3048 if test -z "$CYGPATH_W"; then
3049 if (cygpath --version) >/dev/null 2>/dev/null; then
3050 CYGPATH_W='cygpath -w'
3057 # Define the identity of the package.
3062 cat >>confdefs.h <<_ACEOF
3063 #define PACKAGE "$PACKAGE"
3067 cat >>confdefs.h <<_ACEOF
3068 #define VERSION "$VERSION"
3071 # Some tools Automake needs.
3073 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3076 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3079 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3082 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3085 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3087 # We need awk for the "check" target. The system "awk" is bad on
3089 # Always define AMTAR for backward compatibility.
3091 AMTAR=${AMTAR-"${am_missing_run}tar"}
3093 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3100 #AC_CONFIG_MACRO_DIR([m4])
3103 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
3106 ac_config_headers="$ac_config_headers config.h"
3110 ac_cpp='$CPP $CPPFLAGS'
3111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3114 if test -n "$ac_tool_prefix"; then
3115 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3116 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if test "${ac_cv_prog_CC+set}" = set; then :
3120 $as_echo_n "(cached) " >&6
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC="$CC" # Let the user override the test.
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir=.
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3132 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 if test -n "$CC"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145 $as_echo "$CC" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3153 if test -z "$ac_cv_prog_CC"; then
3155 # Extract the first word of "gcc", so it can be a program name with args.
3156 set dummy gcc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$ac_ct_CC"; then
3163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3172 ac_cv_prog_ac_ct_CC="gcc"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3183 if test -n "$ac_ct_CC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3185 $as_echo "$ac_ct_CC" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3191 if test "x$ac_ct_CC" = x; then
3194 case $cross_compiling:$ac_tool_warned in
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3198 ac_tool_warned=yes ;;
3206 if test -z "$CC"; then
3207 if test -n "$ac_tool_prefix"; then
3208 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3209 set dummy ${ac_tool_prefix}cc; ac_word=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if test "${ac_cv_prog_CC+set}" = set; then :
3213 $as_echo_n "(cached) " >&6
3215 if test -n "$CC"; then
3216 ac_cv_prog_CC="$CC" # Let the user override the test.
3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir=.
3223 for ac_exec_ext in '' $ac_executable_extensions; do
3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 ac_cv_prog_CC="${ac_tool_prefix}cc"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 if test -n "$CC"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3238 $as_echo "$CC" >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3247 if test -z "$CC"; then
3248 # Extract the first word of "cc", so it can be a program name with args.
3249 set dummy cc; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_CC+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$CC"; then
3256 ac_cv_prog_CC="$CC" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3267 ac_prog_rejected=yes
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 if test $ac_prog_rejected = yes; then
3279 # We found a bogon in the path, so make sure we never use it.
3280 set dummy $ac_cv_prog_CC
3282 if test $# != 0; then
3283 # We chose a different compiler from the bogus one.
3284 # However, it has the same basename, so the bogon will be chosen
3285 # first if we set CC to just the basename; use the full file name.
3287 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3293 if test -n "$CC"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3295 $as_echo "$CC" >&6; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3303 if test -z "$CC"; then
3304 if test -n "$ac_tool_prefix"; then
3305 for ac_prog in cl.exe
3307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310 $as_echo_n "checking for $ac_word... " >&6; }
3311 if test "${ac_cv_prog_CC+set}" = set; then :
3312 $as_echo_n "(cached) " >&6
3314 if test -n "$CC"; then
3315 ac_cv_prog_CC="$CC" # Let the user override the test.
3317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321 test -z "$as_dir" && as_dir=.
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 if test -n "$CC"; then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3337 $as_echo "$CC" >&6; }
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3344 test -n "$CC" && break
3347 if test -z "$CC"; then
3349 for ac_prog in cl.exe
3351 # Extract the first word of "$ac_prog", so it can be a program name with args.
3352 set dummy $ac_prog; ac_word=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3356 $as_echo_n "(cached) " >&6
3358 if test -n "$ac_ct_CC"; then
3359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3368 ac_cv_prog_ac_ct_CC="$ac_prog"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3379 if test -n "$ac_ct_CC"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3381 $as_echo "$ac_ct_CC" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3388 test -n "$ac_ct_CC" && break
3391 if test "x$ac_ct_CC" = x; then
3394 case $cross_compiling:$ac_tool_warned in
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3398 ac_tool_warned=yes ;;
3407 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error $? "no acceptable C compiler found in \$PATH
3410 See \`config.log' for more details" "$LINENO" 5 ; }
3412 # Provide some information about the compiler.
3413 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3416 for ac_option in --version -v -V -qversion; do
3417 { { ac_try="$ac_compiler $ac_option >&5"
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423 $as_echo "$ac_try_echo"; } >&5
3424 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3426 if test -s conftest.err; then
3428 ... rest of stderr output deleted ...
3429 10q' conftest.err >conftest.er1
3430 cat conftest.er1 >&5
3432 rm -f conftest.er1 conftest.err
3433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3434 test $ac_status = 0; }
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 ac_clean_files_save=$ac_clean_files
3449 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3450 # Try to create an executable without -o first, disregard a.out.
3451 # It will help us diagnose broken compilers, and finding out an intuition
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3454 $as_echo_n "checking whether the C compiler works... " >&6; }
3455 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3457 # The possible output files:
3458 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3461 for ac_file in $ac_files
3464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3465 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3470 if { { ac_try="$ac_link_default"
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_link_default") 2>&5
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }; then :
3481 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3482 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3483 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3484 # so that the user can short-circuit this test for compilers unknown to
3486 for ac_file in $ac_files ''
3488 test -f "$ac_file" || continue
3490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3493 # We found the default executable, but exeext='' is most
3497 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3499 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3501 # We set ac_cv_exeext here because the later test for it is not
3502 # safe: cross compilers may not add the suffix if given an `-o'
3503 # argument, so we may need to know it at that point already.
3504 # Even if this section looks crufty: it has the advantage of
3511 test "$ac_cv_exeext" = no && ac_cv_exeext=
3516 if test -z "$ac_file"; then :
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3519 $as_echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.$ac_ext >&5
3522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 as_fn_error 77 "C compiler cannot create executables
3525 See \`config.log' for more details" "$LINENO" 5 ; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3528 $as_echo "yes" >&6; }
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3531 $as_echo_n "checking for C compiler default output file name... " >&6; }
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3533 $as_echo "$ac_file" >&6; }
3534 ac_exeext=$ac_cv_exeext
3536 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3537 ac_clean_files=$ac_clean_files_save
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3539 $as_echo_n "checking for suffix of executables... " >&6; }
3540 if { { ac_try="$ac_link"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3546 $as_echo "$ac_try_echo"; } >&5
3547 (eval "$ac_link") 2>&5
3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550 test $ac_status = 0; }; then :
3551 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3552 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3553 # work properly (i.e., refer to `conftest.exe'), while it won't with
3555 for ac_file in conftest.exe conftest conftest.*; do
3556 test -f "$ac_file" || continue
3558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3559 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3568 See \`config.log' for more details" "$LINENO" 5 ; }
3570 rm -f conftest conftest$ac_cv_exeext
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3572 $as_echo "$ac_cv_exeext" >&6; }
3574 rm -f conftest.$ac_ext
3575 EXEEXT=$ac_cv_exeext
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3583 FILE *f = fopen ("conftest.out", "w");
3584 return ferror (f) || fclose (f) != 0;
3590 ac_clean_files="$ac_clean_files conftest.out"
3591 # Check that the compiler produces executables we can run. If not, either
3592 # the compiler is broken, or we cross compile.
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3594 $as_echo_n "checking whether we are cross compiling... " >&6; }
3595 if test "$cross_compiling" != yes; then
3596 { { ac_try="$ac_link"
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 $as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_link") 2>&5
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }
3607 if { ac_try='./conftest$ac_cv_exeext'
3608 { { case "(($ac_try" in
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_try") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; }; then
3620 if test "$cross_compiling" = maybe; then
3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625 as_fn_error $? "cannot run C compiled programs.
3626 If you meant to cross compile, use \`--host'.
3627 See \`config.log' for more details" "$LINENO" 5 ; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3632 $as_echo "$cross_compiling" >&6; }
3634 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3635 ac_clean_files=$ac_clean_files_save
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3637 $as_echo_n "checking for suffix of object files... " >&6; }
3638 if test "${ac_cv_objext+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3652 rm -f conftest.o conftest.obj
3653 if { { ac_try="$ac_compile"
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659 $as_echo "$ac_try_echo"; } >&5
3660 (eval "$ac_compile") 2>&5
3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 test $ac_status = 0; }; then :
3664 for ac_file in conftest.o conftest.obj conftest.*; do
3665 test -f "$ac_file" || continue;
3667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3668 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3673 $as_echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.$ac_ext >&5
3676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3678 as_fn_error $? "cannot compute suffix of object files: cannot compile
3679 See \`config.log' for more details" "$LINENO" 5 ; }
3681 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3684 $as_echo "$ac_cv_objext" >&6; }
3685 OBJEXT=$ac_cv_objext
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3688 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3689 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693 /* end confdefs.h. */
3706 if ac_fn_c_try_compile "$LINENO"; then :
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3716 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3717 if test $ac_compiler_gnu = yes; then
3722 ac_test_CFLAGS=${CFLAGS+set}
3723 ac_save_CFLAGS=$CFLAGS
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3725 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3726 if test "${ac_cv_prog_cc_g+set}" = set; then :
3727 $as_echo_n "(cached) " >&6
3729 ac_save_c_werror_flag=$ac_c_werror_flag
3730 ac_c_werror_flag=yes
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3744 if ac_fn_c_try_compile "$LINENO"; then :
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3759 if ac_fn_c_try_compile "$LINENO"; then :
3762 ac_c_werror_flag=$ac_save_c_werror_flag
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 ac_c_werror_flag=$ac_save_c_werror_flag
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3786 $as_echo "$ac_cv_prog_cc_g" >&6; }
3787 if test "$ac_test_CFLAGS" = set; then
3788 CFLAGS=$ac_save_CFLAGS
3789 elif test $ac_cv_prog_cc_g = yes; then
3790 if test "$GCC" = yes; then
3796 if test "$GCC" = yes; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3803 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3804 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3807 ac_cv_prog_cc_c89=no
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3813 #include <sys/types.h>
3814 #include <sys/stat.h>
3815 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3816 struct buf { int x; };
3817 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3818 static char *e (p, i)
3824 static char *f (char * (*g) (char **, int), char **p, ...)
3829 s = g (p, va_arg (v,int));
3834 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3835 function prototypes and stuff, but not '\xHH' hex character constants.
3836 These don't provoke an error unfortunately, instead are silently treated
3837 as 'x'. The following induces an error, until -std is added to get
3838 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3839 array size at least. It's necessary to write '\x00'==0 to get something
3840 that's true only with -std. */
3841 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3843 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3844 inside strings and character constants. */
3846 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3848 int test (int i, double x);
3849 struct s1 {int (*f) (int a);};
3850 struct s2 {int (*f) (double a);};
3851 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3857 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3862 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3863 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3865 CC="$ac_save_CC $ac_arg"
3866 if ac_fn_c_try_compile "$LINENO"; then :
3867 ac_cv_prog_cc_c89=$ac_arg
3869 rm -f core conftest.err conftest.$ac_objext
3870 test "x$ac_cv_prog_cc_c89" != "xno" && break
3872 rm -f conftest.$ac_ext
3877 case "x$ac_cv_prog_cc_c89" in
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3880 $as_echo "none needed" >&6; } ;;
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3883 $as_echo "unsupported" >&6; } ;;
3885 CC="$CC $ac_cv_prog_cc_c89"
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3887 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3889 if test "x$ac_cv_prog_cc_c89" != xno; then :
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3898 DEPDIR="${am__leading_dot}deps"
3900 ac_config_commands="$ac_config_commands depfiles"
3903 am_make=${MAKE-make}
3904 cat > confinc << 'END'
3906 @echo this is the am__doit target
3909 # If we don't find an include directive, just comment out the code.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3911 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3915 # First try GNU make style include.
3916 echo "include confinc" > confmf
3917 # Ignore all kinds of additional output from `make'.
3918 case `$am_make -s -f confmf 2> /dev/null` in #(
3919 *the\ am__doit\ target*)
3925 # Now try BSD make style include.
3926 if test "$am__include" = "#"; then
3927 echo '.include "confinc"' > confmf
3928 case `$am_make -s -f confmf 2> /dev/null` in #(
3929 *the\ am__doit\ target*)
3930 am__include=.include
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3939 $as_echo "$_am_result" >&6; }
3940 rm -f confinc confmf
3942 # Check whether --enable-dependency-tracking was given.
3943 if test "${enable_dependency_tracking+set}" = set; then :
3944 enableval=$enable_dependency_tracking;
3947 if test "x$enable_dependency_tracking" != xno; then
3948 am_depcomp="$ac_aux_dir/depcomp"
3951 if test "x$enable_dependency_tracking" != xno; then
3961 depcc="$CC" am_compiler_list=
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3964 $as_echo_n "checking dependency style of $depcc... " >&6; }
3965 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3969 # We make a subdir and do the tests there. Otherwise we can end up
3970 # making bogus files that we don't know about and never remove. For
3971 # instance it was reported that on HP-UX the gcc test will end up
3972 # making a dummy file named `D' -- because `-MD' means `put the output
3975 # Copy depcomp to subdir because otherwise we won't find it if we're
3976 # using a relative directory.
3977 cp "$am_depcomp" conftest.dir
3979 # We will build objects and dependencies in a subdirectory because
3980 # it helps to detect inapplicable dependency modes. For instance
3981 # both Tru64's cc and ICC support -MD to output dependencies as a
3982 # side effect of compilation, but ICC will put the dependencies in
3983 # the current directory while Tru64 will put them in the object
3987 am_cv_CC_dependencies_compiler_type=none
3988 if test "$am_compiler_list" = ""; then
3989 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3992 case " $depcc " in #(
3993 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3996 for depmode in $am_compiler_list; do
3997 # Setup a source with many dependencies, because some compilers
3998 # like to wrap large dependency lists on column 80 (with \), and
3999 # we should not choose a depcomp mode which is confused by this.
4001 # We need to recreate these files for each test, as the compiler may
4002 # overwrite some of them when testing with obscure command lines.
4003 # This happens at least with the AIX C compiler.
4005 for i in 1 2 3 4 5 6; do
4006 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4007 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4008 # Solaris 8's {/usr,}/bin/sh.
4009 touch sub/conftst$i.h
4011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4013 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4014 # mode. It turns out that the SunPro C++ compiler does not properly
4015 # handle `-M -o', and we need to detect this. Also, some Intel
4016 # versions had trouble with output in subdirs
4017 am__obj=sub/conftest.${OBJEXT-o}
4018 am__minus_obj="-o $am__obj"
4021 # This depmode causes a compiler race in universal mode.
4022 test "$am__universal" = false || continue
4025 # after this tag, mechanisms are not by side-effect, so they'll
4026 # only be used when explicitly requested
4027 if test "x$enable_dependency_tracking" = xyes; then
4033 msvisualcpp | msvcmsys)
4034 # This compiler won't grok `-c -o', but also, the minuso test has
4035 # not run yet. These depmodes are late enough in the game, and
4036 # so weak that their functioning should not be impacted.
4037 am__obj=conftest.${OBJEXT-o}
4042 if depmode=$depmode \
4043 source=sub/conftest.c object=$am__obj \
4044 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4045 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4046 >/dev/null 2>conftest.err &&
4047 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4048 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4049 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4050 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4051 # icc doesn't choke on unknown options, it will just issue warnings
4052 # or remarks (even with -Werror). So we grep stderr for any message
4053 # that says an option was ignored or not supported.
4054 # When given -MP, icc 7.0 and 7.1 complain thusly:
4055 # icc: Command line warning: ignoring option '-M'; no argument required
4056 # The diagnosis changed in icc 8.0:
4057 # icc: Command line remark: option '-MP' not supported
4058 if (grep 'ignoring option' conftest.err ||
4059 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4060 am_cv_CC_dependencies_compiler_type=$depmode
4069 am_cv_CC_dependencies_compiler_type=none
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4074 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4075 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4078 test "x$enable_dependency_tracking" != xno \
4079 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4081 am__fastdepCC_FALSE='#'
4083 am__fastdepCC_TRUE='#'
4084 am__fastdepCC_FALSE=
4089 ac_cpp='$CXXCPP $CPPFLAGS'
4090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4093 if test -z "$CXX"; then
4094 if test -n "$CCC"; then
4097 if test -n "$ac_tool_prefix"; then
4098 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4103 $as_echo_n "checking for $ac_word... " >&6; }
4104 if test "${ac_cv_prog_CXX+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4107 if test -n "$CXX"; then
4108 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir=.
4115 for ac_exec_ext in '' $ac_executable_extensions; do
4116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4117 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 if test -n "$CXX"; then
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4130 $as_echo "$CXX" >&6; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4133 $as_echo "no" >&6; }
4137 test -n "$CXX" && break
4140 if test -z "$CXX"; then
4142 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4144 # Extract the first word of "$ac_prog", so it can be a program name with args.
4145 set dummy $ac_prog; ac_word=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4151 if test -n "$ac_ct_CXX"; then
4152 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_ac_ct_CXX="$ac_prog"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4172 if test -n "$ac_ct_CXX"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4174 $as_echo "$ac_ct_CXX" >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4181 test -n "$ac_ct_CXX" && break
4184 if test "x$ac_ct_CXX" = x; then
4187 case $cross_compiling:$ac_tool_warned in
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4191 ac_tool_warned=yes ;;
4199 # Provide some information about the compiler.
4200 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4203 for ac_option in --version -v -V -qversion; do
4204 { { ac_try="$ac_compiler $ac_option >&5"
4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4210 $as_echo "$ac_try_echo"; } >&5
4211 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4213 if test -s conftest.err; then
4215 ... rest of stderr output deleted ...
4216 10q' conftest.err >conftest.er1
4217 cat conftest.er1 >&5
4219 rm -f conftest.er1 conftest.err
4220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4221 test $ac_status = 0; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4225 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4226 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4243 if ac_fn_cxx_try_compile "$LINENO"; then :
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4253 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4254 if test $ac_compiler_gnu = yes; then
4259 ac_test_CXXFLAGS=${CXXFLAGS+set}
4260 ac_save_CXXFLAGS=$CXXFLAGS
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4262 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4263 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4264 $as_echo_n "(cached) " >&6
4266 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4267 ac_cxx_werror_flag=yes
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4281 if ac_fn_cxx_try_compile "$LINENO"; then :
4282 ac_cv_prog_cxx_g=yes
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4296 if ac_fn_cxx_try_compile "$LINENO"; then :
4299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4312 if ac_fn_cxx_try_compile "$LINENO"; then :
4313 ac_cv_prog_cxx_g=yes
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4323 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4324 if test "$ac_test_CXXFLAGS" = set; then
4325 CXXFLAGS=$ac_save_CXXFLAGS
4326 elif test $ac_cv_prog_cxx_g = yes; then
4327 if test "$GXX" = yes; then
4333 if test "$GXX" = yes; then
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 depcc="$CXX" am_compiler_list=
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4348 $as_echo_n "checking dependency style of $depcc... " >&6; }
4349 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4353 # We make a subdir and do the tests there. Otherwise we can end up
4354 # making bogus files that we don't know about and never remove. For
4355 # instance it was reported that on HP-UX the gcc test will end up
4356 # making a dummy file named `D' -- because `-MD' means `put the output
4359 # Copy depcomp to subdir because otherwise we won't find it if we're
4360 # using a relative directory.
4361 cp "$am_depcomp" conftest.dir
4363 # We will build objects and dependencies in a subdirectory because
4364 # it helps to detect inapplicable dependency modes. For instance
4365 # both Tru64's cc and ICC support -MD to output dependencies as a
4366 # side effect of compilation, but ICC will put the dependencies in
4367 # the current directory while Tru64 will put them in the object
4371 am_cv_CXX_dependencies_compiler_type=none
4372 if test "$am_compiler_list" = ""; then
4373 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4376 case " $depcc " in #(
4377 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4380 for depmode in $am_compiler_list; do
4381 # Setup a source with many dependencies, because some compilers
4382 # like to wrap large dependency lists on column 80 (with \), and
4383 # we should not choose a depcomp mode which is confused by this.
4385 # We need to recreate these files for each test, as the compiler may
4386 # overwrite some of them when testing with obscure command lines.
4387 # This happens at least with the AIX C compiler.
4389 for i in 1 2 3 4 5 6; do
4390 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4391 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4392 # Solaris 8's {/usr,}/bin/sh.
4393 touch sub/conftst$i.h
4395 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4397 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4398 # mode. It turns out that the SunPro C++ compiler does not properly
4399 # handle `-M -o', and we need to detect this. Also, some Intel
4400 # versions had trouble with output in subdirs
4401 am__obj=sub/conftest.${OBJEXT-o}
4402 am__minus_obj="-o $am__obj"
4405 # This depmode causes a compiler race in universal mode.
4406 test "$am__universal" = false || continue
4409 # after this tag, mechanisms are not by side-effect, so they'll
4410 # only be used when explicitly requested
4411 if test "x$enable_dependency_tracking" = xyes; then
4417 msvisualcpp | msvcmsys)
4418 # This compiler won't grok `-c -o', but also, the minuso test has
4419 # not run yet. These depmodes are late enough in the game, and
4420 # so weak that their functioning should not be impacted.
4421 am__obj=conftest.${OBJEXT-o}
4426 if depmode=$depmode \
4427 source=sub/conftest.c object=$am__obj \
4428 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4429 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4430 >/dev/null 2>conftest.err &&
4431 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4432 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4433 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4434 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4435 # icc doesn't choke on unknown options, it will just issue warnings
4436 # or remarks (even with -Werror). So we grep stderr for any message
4437 # that says an option was ignored or not supported.
4438 # When given -MP, icc 7.0 and 7.1 complain thusly:
4439 # icc: Command line warning: ignoring option '-M'; no argument required
4440 # The diagnosis changed in icc 8.0:
4441 # icc: Command line remark: option '-MP' not supported
4442 if (grep 'ignoring option' conftest.err ||
4443 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4444 am_cv_CXX_dependencies_compiler_type=$depmode
4453 am_cv_CXX_dependencies_compiler_type=none
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4458 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4459 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4462 test "x$enable_dependency_tracking" != xno \
4463 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4464 am__fastdepCXX_TRUE=
4465 am__fastdepCXX_FALSE='#'
4467 am__fastdepCXX_TRUE='#'
4468 am__fastdepCXX_FALSE=
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4475 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4480 macro_version='2.2.6b'
4481 macro_revision='1.3017'
4495 ltmain="$ac_aux_dir/ltmain.sh"
4497 # Make sure we can run config.sub.
4498 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4499 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4502 $as_echo_n "checking build system type... " >&6; }
4503 if test "${ac_cv_build+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4506 ac_build_alias=$build_alias
4507 test "x$ac_build_alias" = x &&
4508 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4509 test "x$ac_build_alias" = x &&
4510 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4511 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4512 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4516 $as_echo "$ac_cv_build" >&6; }
4517 case $ac_cv_build in
4519 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4522 ac_save_IFS=$IFS; IFS='-'
4528 # Remember, the first character of IFS is used to create $*,
4529 # except with old shells:
4532 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4536 $as_echo_n "checking host system type... " >&6; }
4537 if test "${ac_cv_host+set}" = set; then :
4538 $as_echo_n "(cached) " >&6
4540 if test "x$host_alias" = x; then
4541 ac_cv_host=$ac_cv_build
4543 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4544 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4549 $as_echo "$ac_cv_host" >&6; }
4552 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4555 ac_save_IFS=$IFS; IFS='-'
4561 # Remember, the first character of IFS is used to create $*,
4562 # except with old shells:
4565 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4569 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4570 if test "${ac_cv_path_SED+set}" = set; then :
4571 $as_echo_n "(cached) " >&6
4573 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4574 for ac_i in 1 2 3 4 5 6 7; do
4575 ac_script="$ac_script$as_nl$ac_script"
4577 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4578 { ac_script=; unset ac_script;}
4579 if test -z "$SED"; then
4580 ac_path_SED_found=false
4581 # Loop through the user's path and test for each of PROGNAME-LIST
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 test -z "$as_dir" && as_dir=.
4587 for ac_prog in sed gsed; do
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4590 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4591 # Check for GNU ac_path_SED and select it if it is found.
4592 # Check for GNU $ac_path_SED
4593 case `"$ac_path_SED" --version 2>&1` in
4595 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4598 $as_echo_n 0123456789 >"conftest.in"
4601 cat "conftest.in" "conftest.in" >"conftest.tmp"
4602 mv "conftest.tmp" "conftest.in"
4603 cp "conftest.in" "conftest.nl"
4604 $as_echo '' >> "conftest.nl"
4605 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4606 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4607 as_fn_arith $ac_count + 1 && ac_count=$as_val
4608 if test $ac_count -gt ${ac_path_SED_max-0}; then
4609 # Best one so far, save it but keep looking for a better one
4610 ac_cv_path_SED="$ac_path_SED"
4611 ac_path_SED_max=$ac_count
4613 # 10*(2^10) chars as input seems more than enough
4614 test $ac_count -gt 10 && break
4616 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4619 $ac_path_SED_found && break 3
4624 if test -z "$ac_cv_path_SED"; then
4625 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4633 $as_echo "$ac_cv_path_SED" >&6; }
4634 SED="$ac_cv_path_SED"
4637 test -z "$SED" && SED=sed
4638 Xsed="$SED -e 1s/^X//"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4651 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4652 if test "${ac_cv_path_GREP+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -z "$GREP"; then
4656 ac_path_GREP_found=false
4657 # Loop through the user's path and test for each of PROGNAME-LIST
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4662 test -z "$as_dir" && as_dir=.
4663 for ac_prog in grep ggrep; do
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4666 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4667 # Check for GNU ac_path_GREP and select it if it is found.
4668 # Check for GNU $ac_path_GREP
4669 case `"$ac_path_GREP" --version 2>&1` in
4671 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4674 $as_echo_n 0123456789 >"conftest.in"
4677 cat "conftest.in" "conftest.in" >"conftest.tmp"
4678 mv "conftest.tmp" "conftest.in"
4679 cp "conftest.in" "conftest.nl"
4680 $as_echo 'GREP' >> "conftest.nl"
4681 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4682 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4683 as_fn_arith $ac_count + 1 && ac_count=$as_val
4684 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4685 # Best one so far, save it but keep looking for a better one
4686 ac_cv_path_GREP="$ac_path_GREP"
4687 ac_path_GREP_max=$ac_count
4689 # 10*(2^10) chars as input seems more than enough
4690 test $ac_count -gt 10 && break
4692 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4695 $ac_path_GREP_found && break 3
4700 if test -z "$ac_cv_path_GREP"; then
4701 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4704 ac_cv_path_GREP=$GREP
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4709 $as_echo "$ac_cv_path_GREP" >&6; }
4710 GREP="$ac_cv_path_GREP"
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4714 $as_echo_n "checking for egrep... " >&6; }
4715 if test "${ac_cv_path_EGREP+set}" = set; then :
4716 $as_echo_n "(cached) " >&6
4718 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4719 then ac_cv_path_EGREP="$GREP -E"
4721 if test -z "$EGREP"; then
4722 ac_path_EGREP_found=false
4723 # Loop through the user's path and test for each of PROGNAME-LIST
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4725 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4728 test -z "$as_dir" && as_dir=.
4729 for ac_prog in egrep; do
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4732 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4733 # Check for GNU ac_path_EGREP and select it if it is found.
4734 # Check for GNU $ac_path_EGREP
4735 case `"$ac_path_EGREP" --version 2>&1` in
4737 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4740 $as_echo_n 0123456789 >"conftest.in"
4743 cat "conftest.in" "conftest.in" >"conftest.tmp"
4744 mv "conftest.tmp" "conftest.in"
4745 cp "conftest.in" "conftest.nl"
4746 $as_echo 'EGREP' >> "conftest.nl"
4747 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4748 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4749 as_fn_arith $ac_count + 1 && ac_count=$as_val
4750 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4751 # Best one so far, save it but keep looking for a better one
4752 ac_cv_path_EGREP="$ac_path_EGREP"
4753 ac_path_EGREP_max=$ac_count
4755 # 10*(2^10) chars as input seems more than enough
4756 test $ac_count -gt 10 && break
4758 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4761 $ac_path_EGREP_found && break 3
4766 if test -z "$ac_cv_path_EGREP"; then
4767 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4770 ac_cv_path_EGREP=$EGREP
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4776 $as_echo "$ac_cv_path_EGREP" >&6; }
4777 EGREP="$ac_cv_path_EGREP"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4781 $as_echo_n "checking for fgrep... " >&6; }
4782 if test "${ac_cv_path_FGREP+set}" = set; then :
4783 $as_echo_n "(cached) " >&6
4785 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4786 then ac_cv_path_FGREP="$GREP -F"
4788 if test -z "$FGREP"; then
4789 ac_path_FGREP_found=false
4790 # Loop through the user's path and test for each of PROGNAME-LIST
4791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4795 test -z "$as_dir" && as_dir=.
4796 for ac_prog in fgrep; do
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4799 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4800 # Check for GNU ac_path_FGREP and select it if it is found.
4801 # Check for GNU $ac_path_FGREP
4802 case `"$ac_path_FGREP" --version 2>&1` in
4804 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4807 $as_echo_n 0123456789 >"conftest.in"
4810 cat "conftest.in" "conftest.in" >"conftest.tmp"
4811 mv "conftest.tmp" "conftest.in"
4812 cp "conftest.in" "conftest.nl"
4813 $as_echo 'FGREP' >> "conftest.nl"
4814 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4815 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4816 as_fn_arith $ac_count + 1 && ac_count=$as_val
4817 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4818 # Best one so far, save it but keep looking for a better one
4819 ac_cv_path_FGREP="$ac_path_FGREP"
4820 ac_path_FGREP_max=$ac_count
4822 # 10*(2^10) chars as input seems more than enough
4823 test $ac_count -gt 10 && break
4825 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4828 $ac_path_FGREP_found && break 3
4833 if test -z "$ac_cv_path_FGREP"; then
4834 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4837 ac_cv_path_FGREP=$FGREP
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4843 $as_echo "$ac_cv_path_FGREP" >&6; }
4844 FGREP="$ac_cv_path_FGREP"
4847 test -z "$GREP" && GREP=grep
4867 # Check whether --with-gnu-ld was given.
4868 if test "${with_gnu_ld+set}" = set; then :
4869 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4875 if test "$GCC" = yes; then
4876 # Check if gcc -print-prog-name=ld gives a path.
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4878 $as_echo_n "checking for ld used by $CC... " >&6; }
4881 # gcc leaves a trailing carriage return which upsets mingw
4882 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4884 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4887 # Accept absolute paths.
4889 re_direlt='/[^/][^/]*/\.\./'
4890 # Canonicalize the pathname of ld
4891 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4892 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4893 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4895 test -z "$LD" && LD="$ac_prog"
4898 # If it fails, then pretend we aren't using GCC.
4902 # If it is relative, then search for the first ld in PATH.
4906 elif test "$with_gnu_ld" = yes; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4908 $as_echo_n "checking for GNU ld... " >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4911 $as_echo_n "checking for non-GNU ld... " >&6; }
4913 if test "${lt_cv_path_LD+set}" = set; then :
4914 $as_echo_n "(cached) " >&6
4916 if test -z "$LD"; then
4917 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4918 for ac_dir in $PATH; do
4920 test -z "$ac_dir" && ac_dir=.
4921 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4922 lt_cv_path_LD="$ac_dir/$ac_prog"
4923 # Check to see if the program is GNU ld. I'd rather use --version,
4924 # but apparently some variants of GNU ld only accept -v.
4925 # Break only if it was the GNU/non-GNU ld that we prefer.
4926 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4927 *GNU* | *'with BFD'*)
4928 test "$with_gnu_ld" != no && break
4931 test "$with_gnu_ld" != yes && break
4938 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4943 if test -n "$LD"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4945 $as_echo "$LD" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4950 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4952 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4953 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4954 $as_echo_n "(cached) " >&6
4956 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4957 case `$LD -v 2>&1 </dev/null` in
4958 *GNU* | *'with BFD'*)
4959 lt_cv_prog_gnu_ld=yes
4962 lt_cv_prog_gnu_ld=no
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4967 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4968 with_gnu_ld=$lt_cv_prog_gnu_ld
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4979 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4980 if test "${lt_cv_path_NM+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$NM"; then
4984 # Let the user override the test.
4987 lt_nm_to_check="${ac_tool_prefix}nm"
4988 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4989 lt_nm_to_check="$lt_nm_to_check nm"
4991 for lt_tmp_nm in $lt_nm_to_check; do
4992 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4993 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4995 test -z "$ac_dir" && ac_dir=.
4996 tmp_nm="$ac_dir/$lt_tmp_nm"
4997 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4998 # Check to see if the nm accepts a BSD-compat flag.
4999 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5000 # nm: unknown option "B" ignored
5001 # Tru64's nm complains that /dev/null is an invalid object file
5002 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5003 */dev/null* | *'Invalid file or object type'*)
5004 lt_cv_path_NM="$tmp_nm -B"
5008 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5010 lt_cv_path_NM="$tmp_nm -p"
5014 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5015 continue # so that we can try to find one that supports BSD flags
5024 : ${lt_cv_path_NM=no}
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5028 $as_echo "$lt_cv_path_NM" >&6; }
5029 if test "$lt_cv_path_NM" != "no"; then
5032 # Didn't find any BSD compatible name lister, look for dumpbin.
5033 if test -n "$ac_tool_prefix"; then
5034 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$DUMPBIN"; then
5044 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 DUMPBIN=$ac_cv_prog_DUMPBIN
5064 if test -n "$DUMPBIN"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5066 $as_echo "$DUMPBIN" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$DUMPBIN" && break
5076 if test -z "$DUMPBIN"; then
5077 ac_ct_DUMPBIN=$DUMPBIN
5078 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy $ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$ac_ct_DUMPBIN"; then
5088 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5108 if test -n "$ac_ct_DUMPBIN"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5110 $as_echo "$ac_ct_DUMPBIN" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$ac_ct_DUMPBIN" && break
5120 if test "x$ac_ct_DUMPBIN" = x; then
5123 case $cross_compiling:$ac_tool_warned in
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned=yes ;;
5129 DUMPBIN=$ac_ct_DUMPBIN
5134 if test "$DUMPBIN" != ":"; then
5138 test -z "$NM" && NM=nm
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5146 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5147 if test "${lt_cv_nm_interface+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5150 lt_cv_nm_interface="BSD nm"
5151 echo "int some_variable = 0;" > conftest.$ac_ext
5152 (eval echo "\"\$as_me:5152: $ac_compile\"" >&5)
5153 (eval "$ac_compile" 2>conftest.err)
5154 cat conftest.err >&5
5155 (eval echo "\"\$as_me:5155: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5156 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5157 cat conftest.err >&5
5158 (eval echo "\"\$as_me:5158: output\"" >&5)
5159 cat conftest.out >&5
5160 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5161 lt_cv_nm_interface="MS dumpbin"
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5166 $as_echo "$lt_cv_nm_interface" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5169 $as_echo_n "checking whether ln -s works... " >&6; }
5171 if test "$LN_S" = "ln -s"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5173 $as_echo "yes" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5176 $as_echo "no, using $LN_S" >&6; }
5179 # find the maximum length of command line arguments
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5181 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5182 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5183 $as_echo_n "(cached) " >&6
5190 # On DJGPP, this test can blow up pretty badly due to problems in libc
5191 # (any single argument exceeding 2000 bytes causes a buffer overrun
5192 # during glob expansion). Even if it were fixed, the result of this
5193 # check would be larger than it should be.
5194 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5198 # Under GNU Hurd, this test is not required because there is
5199 # no limit to the length of command line arguments.
5200 # Libtool will interpret -1 as no limit whatsoever
5201 lt_cv_sys_max_cmd_len=-1;
5204 cygwin* | mingw* | cegcc*)
5205 # On Win9x/ME, this test blows up -- it succeeds, but takes
5206 # about 5 minutes as the teststring grows exponentially.
5207 # Worse, since 9x/ME are not pre-emptively multitasking,
5208 # you end up with a "frozen" computer, even though with patience
5209 # the test eventually succeeds (with a max line length of 256k).
5210 # Instead, let's just punt: use the minimum linelength reported by
5211 # all of the supported platforms: 8192 (on NT/2K/XP).
5212 lt_cv_sys_max_cmd_len=8192;
5216 # On AmigaOS with pdksh, this test takes hours, literally.
5217 # So we just punt and use a minimum line length of 8192.
5218 lt_cv_sys_max_cmd_len=8192;
5221 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5222 # This has been around since 386BSD, at least. Likely further.
5223 if test -x /sbin/sysctl; then
5224 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5225 elif test -x /usr/sbin/sysctl; then
5226 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5228 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5230 # And add a safety zone
5231 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5232 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5236 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5237 lt_cv_sys_max_cmd_len=196608
5241 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5242 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5243 # nice to cause kernel panics so lets avoid the loop below.
5244 # First set a reasonable default.
5245 lt_cv_sys_max_cmd_len=16384
5247 if test -x /sbin/sysconfig; then
5248 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5249 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5254 lt_cv_sys_max_cmd_len=102400
5256 sysv5* | sco5v6* | sysv4.2uw2*)
5257 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5258 if test -n "$kargmax"; then
5259 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5261 lt_cv_sys_max_cmd_len=32768
5265 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5266 if test -n "$lt_cv_sys_max_cmd_len"; then
5267 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5268 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5270 # Make teststring a little bigger before we do anything with it.
5271 # a 1K string should be a reasonable start.
5272 for i in 1 2 3 4 5 6 7 8 ; do
5273 teststring=$teststring$teststring
5275 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5276 # If test is not a shell built-in, we'll probably end up computing a
5277 # maximum length that is only half of the actual maximum length, but
5279 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5280 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5281 test $i != 17 # 1/2 MB should be enough
5284 teststring=$teststring$teststring
5286 # Only check the string length outside the loop.
5287 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5289 # Add a significant safety factor because C++ compilers can tack on
5290 # massive amounts of additional arguments before passing them to the
5291 # linker. It appears as though 1/2 is a usable value.
5292 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5299 if test -n $lt_cv_sys_max_cmd_len ; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5301 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5304 $as_echo "none" >&6; }
5306 max_cmd_len=$lt_cv_sys_max_cmd_len
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5318 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5319 # Try some XSI features
5322 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5324 && eval 'test $(( 1 + 1 )) -eq 2 \
5325 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5328 $as_echo "$xsi_shell" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5332 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5334 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5336 && lt_shell_append=yes
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5338 $as_echo "$lt_shell_append" >&6; }
5341 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5351 # test EBCDIC or ASCII
5352 case `echo X|tr X '\101'` in
5353 A) # ASCII based system
5354 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5355 lt_SP2NL='tr \040 \012'
5356 lt_NL2SP='tr \015\012 \040\040'
5358 *) # EBCDIC based system
5359 lt_SP2NL='tr \100 \n'
5360 lt_NL2SP='tr \r\n \100\100'
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5373 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5374 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 lt_cv_ld_reload_flag='-r'
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5380 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5381 reload_flag=$lt_cv_ld_reload_flag
5382 case $reload_flag in
5384 *) reload_flag=" $reload_flag" ;;
5386 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5389 if test "$GCC" = yes; then
5390 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5392 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5405 if test -n "$ac_tool_prefix"; then
5406 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5407 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5411 $as_echo_n "(cached) " >&6
5413 if test -n "$OBJDUMP"; then
5414 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5423 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 OBJDUMP=$ac_cv_prog_OBJDUMP
5434 if test -n "$OBJDUMP"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5436 $as_echo "$OBJDUMP" >&6; }
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5444 if test -z "$ac_cv_prog_OBJDUMP"; then
5445 ac_ct_OBJDUMP=$OBJDUMP
5446 # Extract the first word of "objdump", so it can be a program name with args.
5447 set dummy objdump; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5451 $as_echo_n "(cached) " >&6
5453 if test -n "$ac_ct_OBJDUMP"; then
5454 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5474 if test -n "$ac_ct_OBJDUMP"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5476 $as_echo "$ac_ct_OBJDUMP" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5482 if test "x$ac_ct_OBJDUMP" = x; then
5485 case $cross_compiling:$ac_tool_warned in
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5489 ac_tool_warned=yes ;;
5491 OBJDUMP=$ac_ct_OBJDUMP
5494 OBJDUMP="$ac_cv_prog_OBJDUMP"
5497 test -z "$OBJDUMP" && OBJDUMP=objdump
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5508 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5509 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5510 $as_echo_n "(cached) " >&6
5512 lt_cv_file_magic_cmd='$MAGIC_CMD'
5513 lt_cv_file_magic_test_file=
5514 lt_cv_deplibs_check_method='unknown'
5515 # Need to set the preceding variable on all platforms that support
5516 # interlibrary dependencies.
5517 # 'none' -- dependencies not supported.
5518 # `unknown' -- same as none, but documents that we really don't know.
5519 # 'pass_all' -- all dependencies passed with no checks.
5520 # 'test_compile' -- check by making test program.
5521 # 'file_magic [[regex]]' -- check by looking for files in library path
5522 # which responds to the $file_magic_cmd with a given extended regex.
5523 # If you have `file' or equivalent on your system and you're not sure
5524 # whether `pass_all' will *always* work, you probably want this one.
5528 lt_cv_deplibs_check_method=pass_all
5532 lt_cv_deplibs_check_method=pass_all
5536 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5537 lt_cv_file_magic_cmd='/usr/bin/file -L'
5538 lt_cv_file_magic_test_file=/shlib/libc.so
5542 # func_win32_libid is a shell function defined in ltmain.sh
5543 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5544 lt_cv_file_magic_cmd='func_win32_libid'
5548 # Base MSYS/MinGW do not provide the 'file' command needed by
5549 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5550 # unless we find 'file', for example because we are cross-compiling.
5551 if ( file / ) >/dev/null 2>&1; then
5552 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5553 lt_cv_file_magic_cmd='func_win32_libid'
5555 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5556 lt_cv_file_magic_cmd='$OBJDUMP -f'
5561 # use the weaker test based on 'objdump'. See mingw*.
5562 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5563 lt_cv_file_magic_cmd='$OBJDUMP -f'
5566 darwin* | rhapsody*)
5567 lt_cv_deplibs_check_method=pass_all
5570 freebsd* | dragonfly*)
5571 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5574 # Not sure whether the presence of OpenBSD here was a mistake.
5575 # Let's accept both of them until this is cleared up.
5576 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5577 lt_cv_file_magic_cmd=/usr/bin/file
5578 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5582 lt_cv_deplibs_check_method=pass_all
5587 lt_cv_deplibs_check_method=pass_all
5590 hpux10.20* | hpux11*)
5591 lt_cv_file_magic_cmd=/usr/bin/file
5594 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5595 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5598 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]'
5599 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5602 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5603 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5609 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5613 irix5* | irix6* | nonstopux*)
5615 *-32|*"-32 ") libmagic=32-bit;;
5616 *-n32|*"-n32 ") libmagic=N32;;
5617 *-64|*"-64 ") libmagic=64-bit;;
5618 *) libmagic=never-match;;
5620 lt_cv_deplibs_check_method=pass_all
5623 # This must be Linux ELF.
5624 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5625 lt_cv_deplibs_check_method=pass_all
5628 netbsd* | netbsdelf*-gnu)
5629 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5630 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5632 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5637 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5638 lt_cv_file_magic_cmd=/usr/bin/file
5639 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5643 lt_cv_deplibs_check_method=pass_all
5647 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5648 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5650 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5654 osf3* | osf4* | osf5*)
5655 lt_cv_deplibs_check_method=pass_all
5659 lt_cv_deplibs_check_method=pass_all
5663 lt_cv_deplibs_check_method=pass_all
5666 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5667 lt_cv_deplibs_check_method=pass_all
5671 case $host_vendor in
5673 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]'
5674 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5677 lt_cv_deplibs_check_method=pass_all
5680 lt_cv_file_magic_cmd='/bin/file'
5681 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5684 lt_cv_file_magic_cmd='/bin/file'
5685 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5686 lt_cv_file_magic_test_file=/lib/libc.so
5689 lt_cv_deplibs_check_method=pass_all
5692 lt_cv_deplibs_check_method=pass_all
5698 lt_cv_deplibs_check_method=pass_all
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5704 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5705 file_magic_cmd=$lt_cv_file_magic_cmd
5706 deplibs_check_method=$lt_cv_deplibs_check_method
5707 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5720 if test -n "$ac_tool_prefix"; then
5721 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5722 set dummy ${ac_tool_prefix}ar; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if test "${ac_cv_prog_AR+set}" = set; then :
5726 $as_echo_n "(cached) " >&6
5728 if test -n "$AR"; then
5729 ac_cv_prog_AR="$AR" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738 ac_cv_prog_AR="${ac_tool_prefix}ar"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 if test -n "$AR"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5751 $as_echo "$AR" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5759 if test -z "$ac_cv_prog_AR"; then
5761 # Extract the first word of "ar", so it can be a program name with args.
5762 set dummy ar; ac_word=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5766 $as_echo_n "(cached) " >&6
5768 if test -n "$ac_ct_AR"; then
5769 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir=.
5776 for ac_exec_ext in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_ac_ct_AR="ar"
5779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5789 if test -n "$ac_ct_AR"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5791 $as_echo "$ac_ct_AR" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5797 if test "x$ac_ct_AR" = x; then
5800 case $cross_compiling:$ac_tool_warned in
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804 ac_tool_warned=yes ;;
5812 test -z "$AR" && AR=ar
5813 test -z "$AR_FLAGS" && AR_FLAGS=cru
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5827 set dummy ${ac_tool_prefix}strip; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if test "${ac_cv_prog_STRIP+set}" = set; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$STRIP"; then
5834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 STRIP=$ac_cv_prog_STRIP
5854 if test -n "$STRIP"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5856 $as_echo "$STRIP" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5864 if test -z "$ac_cv_prog_STRIP"; then
5866 # Extract the first word of "strip", so it can be a program name with args.
5867 set dummy strip; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$ac_ct_STRIP"; then
5874 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_STRIP="strip"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5894 if test -n "$ac_ct_STRIP"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5896 $as_echo "$ac_ct_STRIP" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5902 if test "x$ac_ct_STRIP" = x; then
5905 case $cross_compiling:$ac_tool_warned in
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909 ac_tool_warned=yes ;;
5914 STRIP="$ac_cv_prog_STRIP"
5917 test -z "$STRIP" && STRIP=:
5924 if test -n "$ac_tool_prefix"; then
5925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5926 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5932 if test -n "$RANLIB"; then
5933 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 RANLIB=$ac_cv_prog_RANLIB
5953 if test -n "$RANLIB"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5955 $as_echo "$RANLIB" >&6; }
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5963 if test -z "$ac_cv_prog_RANLIB"; then
5964 ac_ct_RANLIB=$RANLIB
5965 # Extract the first word of "ranlib", so it can be a program name with args.
5966 set dummy ranlib; ac_word=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968 $as_echo_n "checking for $ac_word... " >&6; }
5969 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5970 $as_echo_n "(cached) " >&6
5972 if test -n "$ac_ct_RANLIB"; then
5973 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982 ac_cv_prog_ac_ct_RANLIB="ranlib"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5993 if test -n "$ac_ct_RANLIB"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5995 $as_echo "$ac_ct_RANLIB" >&6; }
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 $as_echo "no" >&6; }
6001 if test "x$ac_ct_RANLIB" = x; then
6004 case $cross_compiling:$ac_tool_warned in
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6008 ac_tool_warned=yes ;;
6010 RANLIB=$ac_ct_RANLIB
6013 RANLIB="$ac_cv_prog_RANLIB"
6016 test -z "$RANLIB" && RANLIB=:
6023 # Determine commands to create old-style static archives.
6024 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6025 old_postinstall_cmds='chmod 644 $oldlib'
6026 old_postuninstall_cmds=
6028 if test -n "$RANLIB"; then
6031 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6034 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6037 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6073 # If no C compiler was specified, use CC.
6076 # If no C compiler flags were specified, use CFLAGS.
6077 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6079 # Allow CC to be a program name with arguments.
6083 # Check for command to grab the raw symbol name followed by C symbol from nm.
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6085 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6086 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6090 # These are sane defaults that work on at least a few old systems.
6091 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6093 # Character class describing NM global symbol codes.
6094 symcode='[BCDEGRST]'
6096 # Regexp to match symbols that can be accessed directly from C.
6097 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6099 # Define system-specific variables.
6104 cygwin* | mingw* | pw32* | cegcc*)
6105 symcode='[ABCDGISTW]'
6108 if test "$host_cpu" = ia64; then
6109 symcode='[ABCDEGRST]'
6113 symcode='[BCDEGRST]'
6116 symcode='[BCDEGQRST]'
6127 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6135 # If we're using GNU nm, then use its standard symbol codes.
6136 case `$NM -V 2>&1` in
6137 *GNU* | *'with BFD'*)
6138 symcode='[ABCDGIRSTW]' ;;
6141 # Transform an extracted symbol line into a proper C declaration.
6142 # Some systems (esp. on ia64) link data and code symbols differently,
6143 # so use this general approach.
6144 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6146 # Transform an extracted symbol line into symbol name and symbol address
6147 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6148 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'"
6150 # Handle CRLF in mingw tool chain
6154 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6158 # Try without a prefix underscore, then with it.
6159 for ac_symprfx in "" "_"; do
6161 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6162 symxfrm="\\1 $ac_symprfx\\2 \\2"
6164 # Write the raw and C identifiers.
6165 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6166 # Fake it for dumpbin and say T for any non-static function
6167 # and D for any global variable.
6168 # Also find C++ and __fastcall symbols from MSVC++,
6169 # which start with @ or ?.
6170 lt_cv_sys_global_symbol_pipe="$AWK '"\
6171 " {last_section=section; section=\$ 3};"\
6172 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6173 " \$ 0!~/External *\|/{next};"\
6174 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6175 " {if(hide[section]) next};"\
6176 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6177 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6178 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6179 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6180 " ' prfx=^$ac_symprfx"
6182 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6185 # Check to see that the pipe works correctly.
6189 cat > conftest.$ac_ext <<_LT_EOF
6194 void nm_test_func(void);
6195 void nm_test_func(void){}
6199 int main(){nm_test_var='a';nm_test_func();return(0);}
6202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6203 (eval $ac_compile) 2>&5
6205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6206 test $ac_status = 0; }; then
6207 # Now try to grab the symbols.
6209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6210 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6213 test $ac_status = 0; } && test -s "$nlist"; then
6214 # Try sorting and uniquifying the output.
6215 if sort "$nlist" | uniq > "$nlist"T; then
6216 mv -f "$nlist"T "$nlist"
6221 # Make sure that we snagged all the symbols we need.
6222 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6223 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6224 cat <<_LT_EOF > conftest.$ac_ext
6230 # Now generate the symbol file.
6231 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6233 cat <<_LT_EOF >> conftest.$ac_ext
6235 /* The mapping between symbol names and symbols. */
6240 lt__PROGRAM__LTX_preloaded_symbols[] =
6242 { "@PROGRAM@", (void *) 0 },
6244 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6245 cat <<\_LT_EOF >> conftest.$ac_ext
6249 /* This works around a problem in FreeBSD linker */
6250 #ifdef FREEBSD_WORKAROUND
6251 static const void *lt_preloaded_setup() {
6252 return lt__PROGRAM__LTX_preloaded_symbols;
6260 # Now try linking the two files.
6261 mv conftest.$ac_objext conftstm.$ac_objext
6262 lt_save_LIBS="$LIBS"
6263 lt_save_CFLAGS="$CFLAGS"
6264 LIBS="conftstm.$ac_objext"
6265 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6267 (eval $ac_link) 2>&5
6269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6270 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6273 LIBS="$lt_save_LIBS"
6274 CFLAGS="$lt_save_CFLAGS"
6276 echo "cannot find nm_test_func in $nlist" >&5
6279 echo "cannot find nm_test_var in $nlist" >&5
6282 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6285 echo "$progname: failed program was:" >&5
6286 cat conftest.$ac_ext >&5
6288 rm -rf conftest* conftst*
6290 # Do not use the global_symbol_pipe unless it works.
6291 if test "$pipe_works" = yes; then
6294 lt_cv_sys_global_symbol_pipe=
6300 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6301 lt_cv_sys_global_symbol_to_cdecl=
6303 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6305 $as_echo "failed" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6308 $as_echo "ok" >&6; }
6333 # Check whether --enable-libtool-lock was given.
6334 if test "${enable_libtool_lock+set}" = set; then :
6335 enableval=$enable_libtool_lock;
6338 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6340 # Some flags need to be propagated to the compiler or linker for good
6344 # Find out which ABI we are using.
6345 echo 'int i;' > conftest.$ac_ext
6346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6347 (eval $ac_compile) 2>&5
6349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6350 test $ac_status = 0; }; then
6351 case `/usr/bin/file conftest.$ac_objext` in
6363 # Find out which ABI we are using.
6364 echo '#line 6364 "configure"' > conftest.$ac_ext
6365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6366 (eval $ac_compile) 2>&5
6368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6369 test $ac_status = 0; }; then
6370 if test "$lt_cv_prog_gnu_ld" = yes; then
6371 case `/usr/bin/file conftest.$ac_objext` in
6373 LD="${LD-ld} -melf32bsmip"
6376 LD="${LD-ld} -melf32bmipn32"
6379 LD="${LD-ld} -melf64bmip"
6383 case `/usr/bin/file conftest.$ac_objext` in
6399 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6400 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6401 # Find out which ABI we are using.
6402 echo 'int i;' > conftest.$ac_ext
6403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6404 (eval $ac_compile) 2>&5
6406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6407 test $ac_status = 0; }; then
6408 case `/usr/bin/file conftest.o` in
6411 x86_64-*kfreebsd*-gnu)
6412 LD="${LD-ld} -m elf_i386_fbsd"
6415 LD="${LD-ld} -m elf_i386"
6417 ppc64-*linux*|powerpc64-*linux*)
6418 LD="${LD-ld} -m elf32ppclinux"
6421 LD="${LD-ld} -m elf_s390"
6424 LD="${LD-ld} -m elf32_sparc"
6430 x86_64-*kfreebsd*-gnu)
6431 LD="${LD-ld} -m elf_x86_64_fbsd"
6434 LD="${LD-ld} -m elf_x86_64"
6436 ppc*-*linux*|powerpc*-*linux*)
6437 LD="${LD-ld} -m elf64ppc"
6439 s390*-*linux*|s390*-*tpf*)
6440 LD="${LD-ld} -m elf64_s390"
6443 LD="${LD-ld} -m elf64_sparc"
6453 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6454 SAVE_CFLAGS="$CFLAGS"
6455 CFLAGS="$CFLAGS -belf"
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6457 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6458 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6462 ac_cpp='$CPP $CPPFLAGS'
6463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6478 if ac_fn_c_try_link "$LINENO"; then :
6479 lt_cv_cc_needs_belf=yes
6481 lt_cv_cc_needs_belf=no
6483 rm -f core conftest.err conftest.$ac_objext \
6484 conftest$ac_exeext conftest.$ac_ext
6486 ac_cpp='$CPP $CPPFLAGS'
6487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6493 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6494 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6495 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6496 CFLAGS="$SAVE_CFLAGS"
6500 # Find out which ABI we are using.
6501 echo 'int i;' > conftest.$ac_ext
6502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6503 (eval $ac_compile) 2>&5
6505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6506 test $ac_status = 0; }; then
6507 case `/usr/bin/file conftest.o` in
6509 case $lt_cv_prog_gnu_ld in
6510 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6512 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6524 need_locks="$enable_libtool_lock"
6528 rhapsody* | darwin*)
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6537 if test -n "$DSYMUTIL"; then
6538 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6558 if test -n "$DSYMUTIL"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6560 $as_echo "$DSYMUTIL" >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6568 if test -z "$ac_cv_prog_DSYMUTIL"; then
6569 ac_ct_DSYMUTIL=$DSYMUTIL
6570 # Extract the first word of "dsymutil", so it can be a program name with args.
6571 set dummy dsymutil; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6577 if test -n "$ac_ct_DSYMUTIL"; then
6578 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6598 if test -n "$ac_ct_DSYMUTIL"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6600 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6606 if test "x$ac_ct_DSYMUTIL" = x; then
6609 case $cross_compiling:$ac_tool_warned in
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6615 DSYMUTIL=$ac_ct_DSYMUTIL
6618 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6621 if test -n "$ac_tool_prefix"; then
6622 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6623 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 $as_echo_n "checking for $ac_word... " >&6; }
6626 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6627 $as_echo_n "(cached) " >&6
6629 if test -n "$NMEDIT"; then
6630 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir=.
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 NMEDIT=$ac_cv_prog_NMEDIT
6650 if test -n "$NMEDIT"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6652 $as_echo "$NMEDIT" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6660 if test -z "$ac_cv_prog_NMEDIT"; then
6661 ac_ct_NMEDIT=$NMEDIT
6662 # Extract the first word of "nmedit", so it can be a program name with args.
6663 set dummy nmedit; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6667 $as_echo_n "(cached) " >&6
6669 if test -n "$ac_ct_NMEDIT"; then
6670 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6690 if test -n "$ac_ct_NMEDIT"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6692 $as_echo "$ac_ct_NMEDIT" >&6; }
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6698 if test "x$ac_ct_NMEDIT" = x; then
6701 case $cross_compiling:$ac_tool_warned in
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6705 ac_tool_warned=yes ;;
6707 NMEDIT=$ac_ct_NMEDIT
6710 NMEDIT="$ac_cv_prog_NMEDIT"
6713 if test -n "$ac_tool_prefix"; then
6714 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6715 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if test "${ac_cv_prog_LIPO+set}" = set; then :
6719 $as_echo_n "(cached) " >&6
6721 if test -n "$LIPO"; then
6722 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741 LIPO=$ac_cv_prog_LIPO
6742 if test -n "$LIPO"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6744 $as_echo "$LIPO" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 $as_echo "no" >&6; }
6752 if test -z "$ac_cv_prog_LIPO"; then
6754 # Extract the first word of "lipo", so it can be a program name with args.
6755 set dummy lipo; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 $as_echo_n "checking for $ac_word... " >&6; }
6758 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6759 $as_echo_n "(cached) " >&6
6761 if test -n "$ac_ct_LIPO"; then
6762 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_prog_ac_ct_LIPO="lipo"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6781 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6782 if test -n "$ac_ct_LIPO"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6784 $as_echo "$ac_ct_LIPO" >&6; }
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 $as_echo "no" >&6; }
6790 if test "x$ac_ct_LIPO" = x; then
6793 case $cross_compiling:$ac_tool_warned in
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6797 ac_tool_warned=yes ;;
6802 LIPO="$ac_cv_prog_LIPO"
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6807 set dummy ${ac_tool_prefix}otool; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6811 $as_echo_n "(cached) " >&6
6813 if test -n "$OTOOL"; then
6814 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 OTOOL=$ac_cv_prog_OTOOL
6834 if test -n "$OTOOL"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6836 $as_echo "$OTOOL" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6844 if test -z "$ac_cv_prog_OTOOL"; then
6846 # Extract the first word of "otool", so it can be a program name with args.
6847 set dummy otool; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6851 $as_echo_n "(cached) " >&6
6853 if test -n "$ac_ct_OTOOL"; then
6854 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6863 ac_cv_prog_ac_ct_OTOOL="otool"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6874 if test -n "$ac_ct_OTOOL"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6876 $as_echo "$ac_ct_OTOOL" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6882 if test "x$ac_ct_OTOOL" = x; then
6885 case $cross_compiling:$ac_tool_warned in
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6889 ac_tool_warned=yes ;;
6894 OTOOL="$ac_cv_prog_OTOOL"
6897 if test -n "$ac_tool_prefix"; then
6898 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6899 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6901 $as_echo_n "checking for $ac_word... " >&6; }
6902 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6903 $as_echo_n "(cached) " >&6
6905 if test -n "$OTOOL64"; then
6906 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925 OTOOL64=$ac_cv_prog_OTOOL64
6926 if test -n "$OTOOL64"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6928 $as_echo "$OTOOL64" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6931 $as_echo "no" >&6; }
6936 if test -z "$ac_cv_prog_OTOOL64"; then
6937 ac_ct_OTOOL64=$OTOOL64
6938 # Extract the first word of "otool64", so it can be a program name with args.
6939 set dummy otool64; ac_word=$2
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 $as_echo_n "checking for $ac_word... " >&6; }
6942 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6943 $as_echo_n "(cached) " >&6
6945 if test -n "$ac_ct_OTOOL64"; then
6946 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6955 ac_cv_prog_ac_ct_OTOOL64="otool64"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6966 if test -n "$ac_ct_OTOOL64"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6968 $as_echo "$ac_ct_OTOOL64" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 $as_echo "no" >&6; }
6974 if test "x$ac_ct_OTOOL64" = x; then
6977 case $cross_compiling:$ac_tool_warned in
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6981 ac_tool_warned=yes ;;
6983 OTOOL64=$ac_ct_OTOOL64
6986 OTOOL64="$ac_cv_prog_OTOOL64"
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7016 $as_echo_n "checking for -single_module linker flag... " >&6; }
7017 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7018 $as_echo_n "(cached) " >&6
7020 lt_cv_apple_cc_single_mod=no
7021 if test -z "${LT_MULTI_MODULE}"; then
7022 # By default we will add the -single_module flag. You can override
7023 # by either setting the environment variable LT_MULTI_MODULE
7024 # non-empty at configure time, or by adding -multi_module to the
7026 rm -rf libconftest.dylib*
7027 echo "int foo(void){return 1;}" > conftest.c
7028 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7029 -dynamiclib -Wl,-single_module conftest.c" >&5
7030 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7031 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7033 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7034 lt_cv_apple_cc_single_mod=yes
7036 cat conftest.err >&5
7038 rm -rf libconftest.dylib*
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7043 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7045 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7046 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7047 $as_echo_n "(cached) " >&6
7049 lt_cv_ld_exported_symbols_list=no
7050 save_LDFLAGS=$LDFLAGS
7051 echo "_main" > conftest.sym
7052 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7064 if ac_fn_c_try_link "$LINENO"; then :
7065 lt_cv_ld_exported_symbols_list=yes
7067 lt_cv_ld_exported_symbols_list=no
7069 rm -f core conftest.err conftest.$ac_objext \
7070 conftest$ac_exeext conftest.$ac_ext
7071 LDFLAGS="$save_LDFLAGS"
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7075 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7077 rhapsody* | darwin1.[012])
7078 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7080 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7081 darwin*) # darwin 5.x on
7082 # if running on 10.5 or later, the deployment target defaults
7083 # to the OS version, if on x86, and 10.4, the deployment
7084 # target defaults to 10.4. Don't you love it?
7085 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7086 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7087 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7089 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7091 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7095 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7096 _lt_dar_single_mod='$single_module'
7098 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7099 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7101 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7103 if test "$DSYMUTIL" != ":"; then
7104 _lt_dsymutil='~$DSYMUTIL $lib || :'
7112 ac_cpp='$CPP $CPPFLAGS'
7113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7117 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7118 # On Suns, sometimes $CPP names a directory.
7119 if test -n "$CPP" && test -d "$CPP"; then
7122 if test -z "$CPP"; then
7123 if test "${ac_cv_prog_CPP+set}" = set; then :
7124 $as_echo_n "(cached) " >&6
7126 # Double quotes because CPP needs to be expanded
7127 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7130 for ac_c_preproc_warn_flag in '' yes
7132 # Use a header file that comes with gcc, so configuring glibc
7133 # with a fresh cross-compiler works.
7134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7135 # <limits.h> exists even on freestanding compilers.
7136 # On the NeXT, cc -E runs the code through the compiler's parser,
7137 # not just through cpp. "Syntax error" is here to catch this case.
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7141 # include <limits.h>
7143 # include <assert.h>
7147 if ac_fn_c_try_cpp "$LINENO"; then :
7150 # Broken: fails on valid input.
7153 rm -f conftest.err conftest.i conftest.$ac_ext
7155 # OK, works on sane cases. Now check whether nonexistent headers
7156 # can be detected and how.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #include <ac_nonexistent.h>
7161 if ac_fn_c_try_cpp "$LINENO"; then :
7162 # Broken: success on invalid input.
7165 # Passes both tests.
7169 rm -f conftest.err conftest.i conftest.$ac_ext
7172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7173 rm -f conftest.i conftest.err conftest.$ac_ext
7174 if $ac_preproc_ok; then :
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7187 $as_echo "$CPP" >&6; }
7189 for ac_c_preproc_warn_flag in '' yes
7191 # Use a header file that comes with gcc, so configuring glibc
7192 # with a fresh cross-compiler works.
7193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7194 # <limits.h> exists even on freestanding compilers.
7195 # On the NeXT, cc -E runs the code through the compiler's parser,
7196 # not just through cpp. "Syntax error" is here to catch this case.
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7200 # include <limits.h>
7202 # include <assert.h>
7206 if ac_fn_c_try_cpp "$LINENO"; then :
7209 # Broken: fails on valid input.
7212 rm -f conftest.err conftest.i conftest.$ac_ext
7214 # OK, works on sane cases. Now check whether nonexistent headers
7215 # can be detected and how.
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7218 #include <ac_nonexistent.h>
7220 if ac_fn_c_try_cpp "$LINENO"; then :
7221 # Broken: success on invalid input.
7224 # Passes both tests.
7228 rm -f conftest.err conftest.i conftest.$ac_ext
7231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7232 rm -f conftest.i conftest.err conftest.$ac_ext
7233 if $ac_preproc_ok; then :
7236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7238 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7239 See \`config.log' for more details" "$LINENO" 5 ; }
7243 ac_cpp='$CPP $CPPFLAGS'
7244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7250 $as_echo_n "checking for ANSI C header files... " >&6; }
7251 if test "${ac_cv_header_stdc+set}" = set; then :
7252 $as_echo_n "(cached) " >&6
7254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7269 if ac_fn_c_try_compile "$LINENO"; then :
7270 ac_cv_header_stdc=yes
7272 ac_cv_header_stdc=no
7274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7276 if test $ac_cv_header_stdc = yes; then
7277 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7284 $EGREP "memchr" >/dev/null 2>&1; then :
7287 ac_cv_header_stdc=no
7293 if test $ac_cv_header_stdc = yes; then
7294 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7296 /* end confdefs.h. */
7300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7301 $EGREP "free" >/dev/null 2>&1; then :
7304 ac_cv_header_stdc=no
7310 if test $ac_cv_header_stdc = yes; then
7311 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7312 if test "$cross_compiling" = yes; then :
7315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316 /* end confdefs.h. */
7319 #if ((' ' & 0x0FF) == 0x020)
7320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7323 # define ISLOWER(c) \
7324 (('a' <= (c) && (c) <= 'i') \
7325 || ('j' <= (c) && (c) <= 'r') \
7326 || ('s' <= (c) && (c) <= 'z'))
7327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7335 for (i = 0; i < 256; i++)
7336 if (XOR (islower (i), ISLOWER (i))
7337 || toupper (i) != TOUPPER (i))
7342 if ac_fn_c_try_run "$LINENO"; then :
7345 ac_cv_header_stdc=no
7347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7348 conftest.$ac_objext conftest.beam conftest.$ac_ext
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7354 $as_echo "$ac_cv_header_stdc" >&6; }
7355 if test $ac_cv_header_stdc = yes; then
7357 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7361 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7362 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7363 inttypes.h stdint.h unistd.h
7365 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7366 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7369 cat >>confdefs.h <<_ACEOF
7370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7378 for ac_header in dlfcn.h
7380 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7382 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define HAVE_DLFCN_H 1
7394 ac_cpp='$CXXCPP $CPPFLAGS'
7395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7398 if test -z "$CXX"; then
7399 if test -n "$CCC"; then
7402 if test -n "$ac_tool_prefix"; then
7403 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408 $as_echo_n "checking for $ac_word... " >&6; }
7409 if test "${ac_cv_prog_CXX+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7412 if test -n "$CXX"; then
7413 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 test -z "$as_dir" && as_dir=.
7420 for ac_exec_ext in '' $ac_executable_extensions; do
7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7422 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 if test -n "$CXX"; then
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7435 $as_echo "$CXX" >&6; }
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 $as_echo "no" >&6; }
7442 test -n "$CXX" && break
7445 if test -z "$CXX"; then
7447 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7449 # Extract the first word of "$ac_prog", so it can be a program name with args.
7450 set dummy $ac_prog; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7456 if test -n "$ac_ct_CXX"; then
7457 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7466 ac_cv_prog_ac_ct_CXX="$ac_prog"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7477 if test -n "$ac_ct_CXX"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7479 $as_echo "$ac_ct_CXX" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7486 test -n "$ac_ct_CXX" && break
7489 if test "x$ac_ct_CXX" = x; then
7492 case $cross_compiling:$ac_tool_warned in
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7504 # Provide some information about the compiler.
7505 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7508 for ac_option in --version -v -V -qversion; do
7509 { { ac_try="$ac_compiler $ac_option >&5"
7511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7512 *) ac_try_echo=$ac_try;;
7514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7515 $as_echo "$ac_try_echo"; } >&5
7516 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7518 if test -s conftest.err; then
7520 ... rest of stderr output deleted ...
7521 10q' conftest.err >conftest.er1
7522 cat conftest.er1 >&5
7524 rm -f conftest.er1 conftest.err
7525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7526 test $ac_status = 0; }
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7530 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7531 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7532 $as_echo_n "(cached) " >&6
7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7535 /* end confdefs.h. */
7548 if ac_fn_cxx_try_compile "$LINENO"; then :
7553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7558 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7559 if test $ac_compiler_gnu = yes; then
7564 ac_test_CXXFLAGS=${CXXFLAGS+set}
7565 ac_save_CXXFLAGS=$CXXFLAGS
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7567 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7568 if test "${ac_cv_prog_cxx_g+set}" = set; then :
7569 $as_echo_n "(cached) " >&6
7571 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7572 ac_cxx_werror_flag=yes
7575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7576 /* end confdefs.h. */
7586 if ac_fn_cxx_try_compile "$LINENO"; then :
7587 ac_cv_prog_cxx_g=yes
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7601 if ac_fn_cxx_try_compile "$LINENO"; then :
7604 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7617 if ac_fn_cxx_try_compile "$LINENO"; then :
7618 ac_cv_prog_cxx_g=yes
7620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7625 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7628 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7629 if test "$ac_test_CXXFLAGS" = set; then
7630 CXXFLAGS=$ac_save_CXXFLAGS
7631 elif test $ac_cv_prog_cxx_g = yes; then
7632 if test "$GXX" = yes; then
7638 if test "$GXX" = yes; then
7645 ac_cpp='$CPP $CPPFLAGS'
7646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7650 depcc="$CXX" am_compiler_list=
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7653 $as_echo_n "checking dependency style of $depcc... " >&6; }
7654 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7655 $as_echo_n "(cached) " >&6
7657 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7658 # We make a subdir and do the tests there. Otherwise we can end up
7659 # making bogus files that we don't know about and never remove. For
7660 # instance it was reported that on HP-UX the gcc test will end up
7661 # making a dummy file named `D' -- because `-MD' means `put the output
7664 # Copy depcomp to subdir because otherwise we won't find it if we're
7665 # using a relative directory.
7666 cp "$am_depcomp" conftest.dir
7668 # We will build objects and dependencies in a subdirectory because
7669 # it helps to detect inapplicable dependency modes. For instance
7670 # both Tru64's cc and ICC support -MD to output dependencies as a
7671 # side effect of compilation, but ICC will put the dependencies in
7672 # the current directory while Tru64 will put them in the object
7676 am_cv_CXX_dependencies_compiler_type=none
7677 if test "$am_compiler_list" = ""; then
7678 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7681 case " $depcc " in #(
7682 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7685 for depmode in $am_compiler_list; do
7686 # Setup a source with many dependencies, because some compilers
7687 # like to wrap large dependency lists on column 80 (with \), and
7688 # we should not choose a depcomp mode which is confused by this.
7690 # We need to recreate these files for each test, as the compiler may
7691 # overwrite some of them when testing with obscure command lines.
7692 # This happens at least with the AIX C compiler.
7694 for i in 1 2 3 4 5 6; do
7695 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7696 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7697 # Solaris 8's {/usr,}/bin/sh.
7698 touch sub/conftst$i.h
7700 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7702 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7703 # mode. It turns out that the SunPro C++ compiler does not properly
7704 # handle `-M -o', and we need to detect this. Also, some Intel
7705 # versions had trouble with output in subdirs
7706 am__obj=sub/conftest.${OBJEXT-o}
7707 am__minus_obj="-o $am__obj"
7710 # This depmode causes a compiler race in universal mode.
7711 test "$am__universal" = false || continue
7714 # after this tag, mechanisms are not by side-effect, so they'll
7715 # only be used when explicitly requested
7716 if test "x$enable_dependency_tracking" = xyes; then
7722 msvisualcpp | msvcmsys)
7723 # This compiler won't grok `-c -o', but also, the minuso test has
7724 # not run yet. These depmodes are late enough in the game, and
7725 # so weak that their functioning should not be impacted.
7726 am__obj=conftest.${OBJEXT-o}
7731 if depmode=$depmode \
7732 source=sub/conftest.c object=$am__obj \
7733 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7734 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7735 >/dev/null 2>conftest.err &&
7736 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7737 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7738 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7739 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7740 # icc doesn't choke on unknown options, it will just issue warnings
7741 # or remarks (even with -Werror). So we grep stderr for any message
7742 # that says an option was ignored or not supported.
7743 # When given -MP, icc 7.0 and 7.1 complain thusly:
7744 # icc: Command line warning: ignoring option '-M'; no argument required
7745 # The diagnosis changed in icc 8.0:
7746 # icc: Command line remark: option '-MP' not supported
7747 if (grep 'ignoring option' conftest.err ||
7748 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7749 am_cv_CXX_dependencies_compiler_type=$depmode
7758 am_cv_CXX_dependencies_compiler_type=none
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7763 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7764 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7767 test "x$enable_dependency_tracking" != xno \
7768 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7769 am__fastdepCXX_TRUE=
7770 am__fastdepCXX_FALSE='#'
7772 am__fastdepCXX_TRUE='#'
7773 am__fastdepCXX_FALSE=
7777 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7778 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7779 (test "X$CXX" != "Xg++"))) ; then
7781 ac_cpp='$CXXCPP $CPPFLAGS'
7782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7786 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7787 if test -z "$CXXCPP"; then
7788 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7789 $as_echo_n "(cached) " >&6
7791 # Double quotes because CXXCPP needs to be expanded
7792 for CXXCPP in "$CXX -E" "/lib/cpp"
7795 for ac_cxx_preproc_warn_flag in '' yes
7797 # Use a header file that comes with gcc, so configuring glibc
7798 # with a fresh cross-compiler works.
7799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7800 # <limits.h> exists even on freestanding compilers.
7801 # On the NeXT, cc -E runs the code through the compiler's parser,
7802 # not just through cpp. "Syntax error" is here to catch this case.
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7806 # include <limits.h>
7808 # include <assert.h>
7812 if ac_fn_cxx_try_cpp "$LINENO"; then :
7815 # Broken: fails on valid input.
7818 rm -f conftest.err conftest.i conftest.$ac_ext
7820 # OK, works on sane cases. Now check whether nonexistent headers
7821 # can be detected and how.
7822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7823 /* end confdefs.h. */
7824 #include <ac_nonexistent.h>
7826 if ac_fn_cxx_try_cpp "$LINENO"; then :
7827 # Broken: success on invalid input.
7830 # Passes both tests.
7834 rm -f conftest.err conftest.i conftest.$ac_ext
7837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7838 rm -f conftest.i conftest.err conftest.$ac_ext
7839 if $ac_preproc_ok; then :
7844 ac_cv_prog_CXXCPP=$CXXCPP
7847 CXXCPP=$ac_cv_prog_CXXCPP
7849 ac_cv_prog_CXXCPP=$CXXCPP
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7852 $as_echo "$CXXCPP" >&6; }
7854 for ac_cxx_preproc_warn_flag in '' yes
7856 # Use a header file that comes with gcc, so configuring glibc
7857 # with a fresh cross-compiler works.
7858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7859 # <limits.h> exists even on freestanding compilers.
7860 # On the NeXT, cc -E runs the code through the compiler's parser,
7861 # not just through cpp. "Syntax error" is here to catch this case.
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7865 # include <limits.h>
7867 # include <assert.h>
7871 if ac_fn_cxx_try_cpp "$LINENO"; then :
7874 # Broken: fails on valid input.
7877 rm -f conftest.err conftest.i conftest.$ac_ext
7879 # OK, works on sane cases. Now check whether nonexistent headers
7880 # can be detected and how.
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7883 #include <ac_nonexistent.h>
7885 if ac_fn_cxx_try_cpp "$LINENO"; then :
7886 # Broken: success on invalid input.
7889 # Passes both tests.
7893 rm -f conftest.err conftest.i conftest.$ac_ext
7896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7897 rm -f conftest.i conftest.err conftest.$ac_ext
7898 if $ac_preproc_ok; then :
7901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7903 _lt_caught_CXX_error=yes; }
7907 ac_cpp='$CPP $CPPFLAGS'
7908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7913 _lt_caught_CXX_error=yes
7930 # Check whether --enable-shared was given.
7931 if test "${enable_shared+set}" = set; then :
7932 enableval=$enable_shared; p=${PACKAGE-default}
7934 yes) enable_shared=yes ;;
7935 no) enable_shared=no ;;
7938 # Look at the argument we got. We use all the common list separators.
7939 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7940 for pkg in $enableval; do
7942 if test "X$pkg" = "X$p"; then
7961 # Check whether --enable-static was given.
7962 if test "${enable_static+set}" = set; then :
7963 enableval=$enable_static; p=${PACKAGE-default}
7965 yes) enable_static=yes ;;
7966 no) enable_static=no ;;
7969 # Look at the argument we got. We use all the common list separators.
7970 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7971 for pkg in $enableval; do
7973 if test "X$pkg" = "X$p"; then
7993 # Check whether --with-pic was given.
7994 if test "${with_pic+set}" = set; then :
7995 withval=$with_pic; pic_mode="$withval"
8001 test -z "$pic_mode" && pic_mode=default
8009 # Check whether --enable-fast-install was given.
8010 if test "${enable_fast_install+set}" = set; then :
8011 enableval=$enable_fast_install; p=${PACKAGE-default}
8013 yes) enable_fast_install=yes ;;
8014 no) enable_fast_install=no ;;
8016 enable_fast_install=no
8017 # Look at the argument we got. We use all the common list separators.
8018 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8019 for pkg in $enableval; do
8021 if test "X$pkg" = "X$p"; then
8022 enable_fast_install=yes
8029 enable_fast_install=yes
8042 # This can be used to rebuild libtool when needed
8043 LIBTOOL_DEPS="$ltmain"
8045 # Always use our own libtool.
8046 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8072 test -z "$LN_S" && LN_S="ln -s"
8087 if test -n "${ZSH_VERSION+set}" ; then
8088 setopt NO_GLOB_SUBST
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8092 $as_echo_n "checking for objdir... " >&6; }
8093 if test "${lt_cv_objdir+set}" = set; then :
8094 $as_echo_n "(cached) " >&6
8096 rm -f .libs 2>/dev/null
8097 mkdir .libs 2>/dev/null
8098 if test -d .libs; then
8101 # MS-DOS does not allow filenames that begin with a dot.
8104 rmdir .libs 2>/dev/null
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8107 $as_echo "$lt_cv_objdir" >&6; }
8108 objdir=$lt_cv_objdir
8114 cat >>confdefs.h <<_ACEOF
8115 #define LT_OBJDIR "$lt_cv_objdir/"
8136 # AIX sometimes has problems with the GCC collect2 program. For some
8137 # reason, if we set the COLLECT_NAMES environment variable, the problems
8138 # vanish in a puff of smoke.
8139 if test "X${COLLECT_NAMES+set}" != Xset; then
8141 export COLLECT_NAMES
8146 # Sed substitution that helps us do robust quoting. It backslashifies
8147 # metacharacters that are still active within double-quoted strings.
8148 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8150 # Same as above, but do not quote variable references.
8151 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8153 # Sed substitution to delay expansion of an escaped shell variable in a
8154 # double_quote_subst'ed string.
8155 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8157 # Sed substitution to delay expansion of an escaped single quote.
8158 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8160 # Sed substitution to avoid accidental globbing in evaled expressions
8161 no_glob_subst='s/\*/\\\*/g'
8165 can_build_shared=yes
8167 # All known linkers require a `.a' archive for static linking (except MSVC,
8168 # which needs '.lib').
8171 with_gnu_ld="$lt_cv_prog_gnu_ld"
8174 old_CFLAGS="$CFLAGS"
8176 # Set sane defaults for various variables
8177 test -z "$CC" && CC=cc
8178 test -z "$LTCC" && LTCC=$CC
8179 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8180 test -z "$LD" && LD=ld
8181 test -z "$ac_objext" && ac_objext=o
8183 for cc_temp in $compiler""; do
8185 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8186 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8191 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8194 # Only perform the check for file, if the check method requires it
8195 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8196 case $deplibs_check_method in
8198 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8200 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8201 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8202 $as_echo_n "(cached) " >&6
8206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8209 lt_save_MAGIC_CMD="$MAGIC_CMD"
8210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8211 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8212 for ac_dir in $ac_dummy; do
8214 test -z "$ac_dir" && ac_dir=.
8215 if test -f $ac_dir/${ac_tool_prefix}file; then
8216 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8217 if test -n "$file_magic_test_file"; then
8218 case $deplibs_check_method in
8220 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8221 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8222 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8223 $EGREP "$file_magic_regex" > /dev/null; then
8228 *** Warning: the command libtool uses to detect shared libraries,
8229 *** $file_magic_cmd, produces output that libtool cannot recognize.
8230 *** The result is that libtool may fail to recognize shared libraries
8231 *** as such. This will affect the creation of libtool libraries that
8232 *** depend on shared libraries, but programs linked with such libtool
8233 *** libraries will work regardless of this problem. Nevertheless, you
8234 *** may want to report the problem to your system manager and/or to
8235 *** bug-libtool@gnu.org
8245 MAGIC_CMD="$lt_save_MAGIC_CMD"
8250 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8251 if test -n "$MAGIC_CMD"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8253 $as_echo "$MAGIC_CMD" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8263 if test -z "$lt_cv_path_MAGIC_CMD"; then
8264 if test -n "$ac_tool_prefix"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8266 $as_echo_n "checking for file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8335 # Use C for the default configuration in the libtool script
8339 ac_cpp='$CPP $CPPFLAGS'
8340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8345 # Source file extension for C test sources.
8348 # Object file extension for compiled C test sources.
8352 # Code to be used in simple compile tests
8353 lt_simple_compile_test_code="int some_variable = 0;"
8355 # Code to be used in simple link tests
8356 lt_simple_link_test_code='int main(){return(0);}'
8364 # If no C compiler was specified, use CC.
8367 # If no C compiler flags were specified, use CFLAGS.
8368 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8370 # Allow CC to be a program name with arguments.
8373 # Save the default compiler, since it gets overwritten when the other
8374 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8375 compiler_DEFAULT=$CC
8377 # save warnings/boilerplate of simple test code
8378 ac_outfile=conftest.$ac_objext
8379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8381 _lt_compiler_boilerplate=`cat conftest.err`
8384 ac_outfile=conftest.$ac_objext
8385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8387 _lt_linker_boilerplate=`cat conftest.err`
8392 ## There is no encapsulation within the following macros, do not change
8393 ## the running order or otherwise move them around unless you know exactly
8394 ## what you are doing...
8395 if test -n "$compiler"; then
8397 lt_prog_compiler_no_builtin_flag=
8399 if test "$GCC" = yes; then
8400 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8403 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8404 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8405 $as_echo_n "(cached) " >&6
8407 lt_cv_prog_compiler_rtti_exceptions=no
8408 ac_outfile=conftest.$ac_objext
8409 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8410 lt_compiler_flag="-fno-rtti -fno-exceptions"
8411 # Insert the option either (1) after the last *FLAGS variable, or
8412 # (2) before a word containing "conftest.", or (3) at the end.
8413 # Note that $ac_compile itself does not contain backslashes and begins
8414 # with a dollar sign (not a hyphen), so the echo should work correctly.
8415 # The option is referenced via a variable to avoid confusing sed.
8416 lt_compile=`echo "$ac_compile" | $SED \
8417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8419 -e 's:$: $lt_compiler_flag:'`
8420 (eval echo "\"\$as_me:8420: $lt_compile\"" >&5)
8421 (eval "$lt_compile" 2>conftest.err)
8423 cat conftest.err >&5
8424 echo "$as_me:8424: \$? = $ac_status" >&5
8425 if (exit $ac_status) && test -s "$ac_outfile"; then
8426 # The compiler can only warn and ignore the option if not recognized
8427 # So say no if there are warnings other than the usual output.
8428 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8429 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8430 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8431 lt_cv_prog_compiler_rtti_exceptions=yes
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8438 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8440 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8441 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8453 lt_prog_compiler_wl=
8454 lt_prog_compiler_pic=
8455 lt_prog_compiler_static=
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8458 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8460 if test "$GCC" = yes; then
8461 lt_prog_compiler_wl='-Wl,'
8462 lt_prog_compiler_static='-static'
8466 # All AIX code is PIC.
8467 if test "$host_cpu" = ia64; then
8468 # AIX 5 now supports IA64 processor
8469 lt_prog_compiler_static='-Bstatic'
8476 # see comment about AmigaOS4 .so support
8477 lt_prog_compiler_pic='-fPIC'
8480 # FIXME: we need at least 68020 code to build shared libraries, but
8481 # adding the `-m68020' flag to GCC prevents building anything better,
8483 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8488 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8489 # PIC is the default for these OSes.
8492 mingw* | cygwin* | pw32* | os2* | cegcc*)
8493 # This hack is so that the source file can tell whether it is being
8494 # built for inclusion in a dll (and should export symbols for example).
8495 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8496 # (--disable-auto-import) libraries
8497 lt_prog_compiler_pic='-DDLL_EXPORT'
8500 darwin* | rhapsody*)
8501 # PIC is the default on this platform
8502 # Common symbols not allowed in MH_DYLIB files
8503 lt_prog_compiler_pic='-fno-common'
8507 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8508 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8509 # sets the default TLS model and affects inlining.
8515 lt_prog_compiler_pic='-fPIC'
8521 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8522 # Instead, we relocate shared libraries at runtime.
8526 # Just because we use GCC doesn't mean we suddenly get shared libraries
8527 # on systems that don't support them.
8528 lt_prog_compiler_can_build_shared=no
8533 # QNX uses GNU C++, but need to define -shared option too, otherwise
8535 lt_prog_compiler_pic='-fPIC -shared'
8539 if test -d /usr/nec; then
8540 lt_prog_compiler_pic=-Kconform_pic
8545 lt_prog_compiler_pic='-fPIC'
8549 # PORTME Check for flag to pass linker flags through the system compiler.
8552 lt_prog_compiler_wl='-Wl,'
8553 if test "$host_cpu" = ia64; then
8554 # AIX 5 now supports IA64 processor
8555 lt_prog_compiler_static='-Bstatic'
8557 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8561 mingw* | cygwin* | pw32* | os2* | cegcc*)
8562 # This hack is so that the source file can tell whether it is being
8563 # built for inclusion in a dll (and should export symbols for example).
8564 lt_prog_compiler_pic='-DDLL_EXPORT'
8567 hpux9* | hpux10* | hpux11*)
8568 lt_prog_compiler_wl='-Wl,'
8569 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8576 lt_prog_compiler_pic='+Z'
8579 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8580 lt_prog_compiler_static='${wl}-a ${wl}archive'
8583 irix5* | irix6* | nonstopux*)
8584 lt_prog_compiler_wl='-Wl,'
8585 # PIC (with -KPIC) is the default.
8586 lt_prog_compiler_static='-non_shared'
8589 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8590 case $cc_basename in
8591 # old Intel for x86_64 which still supported -KPIC.
8593 lt_prog_compiler_wl='-Wl,'
8594 lt_prog_compiler_pic='-KPIC'
8595 lt_prog_compiler_static='-static'
8597 # icc used to be incompatible with GCC.
8598 # ICC 10 doesn't accept -KPIC any more.
8600 lt_prog_compiler_wl='-Wl,'
8601 lt_prog_compiler_pic='-fPIC'
8602 lt_prog_compiler_static='-static'
8604 # Lahey Fortran 8.1.
8606 lt_prog_compiler_wl='-Wl,'
8607 lt_prog_compiler_pic='--shared'
8608 lt_prog_compiler_static='--static'
8610 pgcc* | pgf77* | pgf90* | pgf95*)
8611 # Portland Group compilers (*not* the Pentium gcc compiler,
8612 # which looks to be a dead project)
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_pic='-fpic'
8615 lt_prog_compiler_static='-Bstatic'
8618 lt_prog_compiler_wl='-Wl,'
8619 # All Alpha code is PIC.
8620 lt_prog_compiler_static='-non_shared'
8623 # IBM XL C 8.0/Fortran 10.1 on PPC
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='-qpic'
8626 lt_prog_compiler_static='-qstaticlink'
8629 case `$CC -V 2>&1 | sed 5q` in
8632 lt_prog_compiler_pic='-KPIC'
8633 lt_prog_compiler_static='-Bstatic'
8634 lt_prog_compiler_wl='-Wl,'
8637 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8638 lt_prog_compiler_pic='-KPIC'
8639 lt_prog_compiler_static='-Bstatic'
8640 lt_prog_compiler_wl=''
8648 lt_prog_compiler_pic='-KPIC'
8649 lt_prog_compiler_static='-Bstatic'
8653 # QNX uses GNU C++, but need to define -shared option too, otherwise
8655 lt_prog_compiler_pic='-fPIC -shared'
8658 osf3* | osf4* | osf5*)
8659 lt_prog_compiler_wl='-Wl,'
8660 # All OSF/1 code is PIC.
8661 lt_prog_compiler_static='-non_shared'
8665 lt_prog_compiler_static='-non_shared'
8669 lt_prog_compiler_pic='-KPIC'
8670 lt_prog_compiler_static='-Bstatic'
8671 case $cc_basename in
8673 lt_prog_compiler_wl='-Qoption ld ';;
8675 lt_prog_compiler_wl='-Wl,';;
8680 lt_prog_compiler_wl='-Qoption ld '
8681 lt_prog_compiler_pic='-PIC'
8682 lt_prog_compiler_static='-Bstatic'
8685 sysv4 | sysv4.2uw2* | sysv4.3*)
8686 lt_prog_compiler_wl='-Wl,'
8687 lt_prog_compiler_pic='-KPIC'
8688 lt_prog_compiler_static='-Bstatic'
8692 if test -d /usr/nec ;then
8693 lt_prog_compiler_pic='-Kconform_pic'
8694 lt_prog_compiler_static='-Bstatic'
8698 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8699 lt_prog_compiler_wl='-Wl,'
8700 lt_prog_compiler_pic='-KPIC'
8701 lt_prog_compiler_static='-Bstatic'
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_can_build_shared=no
8710 lt_prog_compiler_pic='-pic'
8711 lt_prog_compiler_static='-Bstatic'
8715 lt_prog_compiler_can_build_shared=no
8721 # For platforms which do not support PIC, -DPIC is meaningless:
8723 lt_prog_compiler_pic=
8726 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8730 $as_echo "$lt_prog_compiler_pic" >&6; }
8738 # Check to make sure the PIC flag actually works.
8740 if test -n "$lt_prog_compiler_pic"; then
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8742 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8743 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8744 $as_echo_n "(cached) " >&6
8746 lt_cv_prog_compiler_pic_works=no
8747 ac_outfile=conftest.$ac_objext
8748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8749 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8750 # Insert the option either (1) after the last *FLAGS variable, or
8751 # (2) before a word containing "conftest.", or (3) at the end.
8752 # Note that $ac_compile itself does not contain backslashes and begins
8753 # with a dollar sign (not a hyphen), so the echo should work correctly.
8754 # The option is referenced via a variable to avoid confusing sed.
8755 lt_compile=`echo "$ac_compile" | $SED \
8756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8758 -e 's:$: $lt_compiler_flag:'`
8759 (eval echo "\"\$as_me:8759: $lt_compile\"" >&5)
8760 (eval "$lt_compile" 2>conftest.err)
8762 cat conftest.err >&5
8763 echo "$as_me:8763: \$? = $ac_status" >&5
8764 if (exit $ac_status) && test -s "$ac_outfile"; then
8765 # The compiler can only warn and ignore the option if not recognized
8766 # So say no if there are warnings other than the usual output.
8767 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8769 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8770 lt_cv_prog_compiler_pic_works=yes
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8777 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8779 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8780 case $lt_prog_compiler_pic in
8782 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8785 lt_prog_compiler_pic=
8786 lt_prog_compiler_can_build_shared=no
8797 # Check to make sure the static flag actually works.
8799 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8801 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8802 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8803 $as_echo_n "(cached) " >&6
8805 lt_cv_prog_compiler_static_works=no
8806 save_LDFLAGS="$LDFLAGS"
8807 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8808 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8809 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8810 # The linker can only warn and ignore the option if not recognized
8811 # So say no if there are warnings
8812 if test -s conftest.err; then
8813 # Append any errors to the config.log.
8814 cat conftest.err 1>&5
8815 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8816 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8817 if diff conftest.exp conftest.er2 >/dev/null; then
8818 lt_cv_prog_compiler_static_works=yes
8821 lt_cv_prog_compiler_static_works=yes
8825 LDFLAGS="$save_LDFLAGS"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8829 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8831 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8834 lt_prog_compiler_static=
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8844 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8845 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8846 $as_echo_n "(cached) " >&6
8848 lt_cv_prog_compiler_c_o=no
8849 $RM -r conftest 2>/dev/null
8853 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8855 lt_compiler_flag="-o out/conftest2.$ac_objext"
8856 # Insert the option either (1) after the last *FLAGS variable, or
8857 # (2) before a word containing "conftest.", or (3) at the end.
8858 # Note that $ac_compile itself does not contain backslashes and begins
8859 # with a dollar sign (not a hyphen), so the echo should work correctly.
8860 lt_compile=`echo "$ac_compile" | $SED \
8861 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8862 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8863 -e 's:$: $lt_compiler_flag:'`
8864 (eval echo "\"\$as_me:8864: $lt_compile\"" >&5)
8865 (eval "$lt_compile" 2>out/conftest.err)
8867 cat out/conftest.err >&5
8868 echo "$as_me:8868: \$? = $ac_status" >&5
8869 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8871 # The compiler can only warn and ignore the option if not recognized
8872 # So say no if there are warnings
8873 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8874 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8875 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8876 lt_cv_prog_compiler_c_o=yes
8881 # SGI C++ compiler will create directory out/ii_files/ for
8882 # template instantiation
8883 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8884 $RM out/* && rmdir out
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8891 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8899 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8900 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8903 lt_cv_prog_compiler_c_o=no
8904 $RM -r conftest 2>/dev/null
8908 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8910 lt_compiler_flag="-o out/conftest2.$ac_objext"
8911 # Insert the option either (1) after the last *FLAGS variable, or
8912 # (2) before a word containing "conftest.", or (3) at the end.
8913 # Note that $ac_compile itself does not contain backslashes and begins
8914 # with a dollar sign (not a hyphen), so the echo should work correctly.
8915 lt_compile=`echo "$ac_compile" | $SED \
8916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8918 -e 's:$: $lt_compiler_flag:'`
8919 (eval echo "\"\$as_me:8919: $lt_compile\"" >&5)
8920 (eval "$lt_compile" 2>out/conftest.err)
8922 cat out/conftest.err >&5
8923 echo "$as_me:8923: \$? = $ac_status" >&5
8924 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8926 # The compiler can only warn and ignore the option if not recognized
8927 # So say no if there are warnings
8928 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8929 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8930 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8931 lt_cv_prog_compiler_c_o=yes
8936 # SGI C++ compiler will create directory out/ii_files/ for
8937 # template instantiation
8938 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8939 $RM out/* && rmdir out
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8946 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8951 hard_links="nottested"
8952 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8953 # do not overwrite the value of need_locks provided by the user
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8955 $as_echo_n "checking if we can lock with hard links... " >&6; }
8958 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8960 ln conftest.a conftest.b 2>&5 || hard_links=no
8961 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8963 $as_echo "$hard_links" >&6; }
8964 if test "$hard_links" = no; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8966 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8979 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8982 allow_undefined_flag=
8983 always_export_symbols=no
8985 archive_expsym_cmds=
8986 compiler_needs_object=no
8987 enable_shared_with_static_runtimes=no
8988 export_dynamic_flag_spec=
8989 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8990 hardcode_automatic=no
8992 hardcode_direct_absolute=no
8993 hardcode_libdir_flag_spec=
8994 hardcode_libdir_flag_spec_ld=
8995 hardcode_libdir_separator=
8997 hardcode_shlibpath_var=unsupported
8999 link_all_deplibs=unknown
9002 old_archive_from_new_cmds=
9003 old_archive_from_expsyms_cmds=
9004 thread_safe_flag_spec=
9005 whole_archive_flag_spec=
9006 # include_expsyms should be a list of space-separated symbols to be *always*
9007 # included in the symbol list
9009 # exclude_expsyms can be an extended regexp of symbols to exclude
9010 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9011 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9012 # as well as any symbol that contains `d'.
9013 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9014 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9015 # platforms (ab)use it in PIC code, but their linkers get confused if
9016 # the symbol is explicitly referenced. Since portable code cannot
9017 # rely on this symbol name, it's probably fine to never include it in
9018 # preloaded symbol tables.
9019 # Exclude shared library initialization/finalization symbols.
9020 extract_expsyms_cmds=
9023 cygwin* | mingw* | pw32* | cegcc*)
9024 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9025 # When not using gcc, we currently assume that we are using
9026 # Microsoft Visual C++.
9027 if test "$GCC" != yes; then
9032 # we just hope/assume this is gcc and not c89 (= MSVC++)
9038 linux* | k*bsd*-gnu)
9044 if test "$with_gnu_ld" = yes; then
9045 # If archive_cmds runs LD, not CC, wlarc should be empty
9048 # Set some defaults for GNU ld with shared library support. These
9049 # are reset later if shared libraries are not supported. Putting them
9050 # here allows them to be overridden if necessary.
9051 runpath_var=LD_RUN_PATH
9052 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9053 export_dynamic_flag_spec='${wl}--export-dynamic'
9054 # ancient GNU ld didn't support --whole-archive et. al.
9055 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9056 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9058 whole_archive_flag_spec=
9060 supports_anon_versioning=no
9061 case `$LD -v 2>&1` in
9062 *GNU\ gold*) supports_anon_versioning=yes ;;
9063 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9064 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9065 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9066 *\ 2.11.*) ;; # other 2.11 versions
9067 *) supports_anon_versioning=yes ;;
9070 # See if GNU ld supports shared libraries.
9073 # On AIX/PPC, the GNU linker is very broken
9074 if test "$host_cpu" != ia64; then
9078 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9079 *** to be unable to reliably create shared libraries on AIX.
9080 *** Therefore, libtool is disabling shared libraries support. If you
9081 *** really care for shared libraries, you may want to modify your PATH
9082 *** so that a non-GNU linker is found, and then restart.
9091 # see comment about AmigaOS4 .so support
9092 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093 archive_expsym_cmds=''
9096 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)'
9097 hardcode_libdir_flag_spec='-L$libdir'
9098 hardcode_minus_L=yes
9104 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9105 allow_undefined_flag=unsupported
9106 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9107 # support --undefined. This deserves some investigation. FIXME
9108 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 cygwin* | mingw* | pw32* | cegcc*)
9115 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9116 # as there is no search path for DLLs.
9117 hardcode_libdir_flag_spec='-L$libdir'
9118 allow_undefined_flag=unsupported
9119 always_export_symbols=no
9120 enable_shared_with_static_runtimes=yes
9121 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9123 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9124 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9125 # If the export-symbols file already is a .def file (1st line
9126 # is EXPORTS), use it as is; otherwise, prepend...
9127 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9128 cp $export_symbols $output_objdir/$soname.def;
9130 echo EXPORTS > $output_objdir/$soname.def;
9131 cat $export_symbols >> $output_objdir/$soname.def;
9133 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9141 hardcode_shlibpath_var=no
9142 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9143 export_dynamic_flag_spec='${wl}-E'
9144 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9145 # Instead, shared libraries are loaded at an image base (0x10000000 by
9146 # default) and relocated if they conflict, which is a slow very memory
9147 # consuming and fragmenting process. To avoid this, we pick a random,
9148 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9149 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9150 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9151 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'
9154 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9156 if test "$host_os" = linux-dietlibc; then
9157 case $cc_basename in
9158 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9161 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9162 && test "$tmp_diet" = no
9165 tmp_sharedflag='-shared'
9166 case $cc_basename,$host_cpu in
9167 pgcc*) # Portland Group C compiler
9168 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'
9169 tmp_addflag=' $pic_flag'
9171 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9172 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'
9173 tmp_addflag=' $pic_flag -Mnomain' ;;
9174 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9175 tmp_addflag=' -i_dynamic' ;;
9176 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9177 tmp_addflag=' -i_dynamic -nofor_main' ;;
9178 ifc* | ifort*) # Intel Fortran compiler
9179 tmp_addflag=' -nofor_main' ;;
9180 lf95*) # Lahey Fortran 8.1
9181 whole_archive_flag_spec=
9182 tmp_sharedflag='--shared' ;;
9183 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9184 tmp_sharedflag='-qmkshrobj'
9187 case `$CC -V 2>&1 | sed 5q` in
9188 *Sun\ C*) # Sun C 5.9
9189 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'
9190 compiler_needs_object=yes
9191 tmp_sharedflag='-G' ;;
9192 *Sun\ F*) # Sun Fortran 8.3
9193 tmp_sharedflag='-G' ;;
9195 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197 if test "x$supports_anon_versioning" = xyes; then
9198 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9199 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9200 echo "local: *; };" >> $output_objdir/$libname.ver~
9201 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9204 case $cc_basename in
9206 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9207 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9208 hardcode_libdir_flag_spec=
9209 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9210 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9211 if test "x$supports_anon_versioning" = xyes; then
9212 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9213 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9214 echo "local: *; };" >> $output_objdir/$libname.ver~
9215 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9224 netbsd* | netbsdelf*-gnu)
9225 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9226 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9229 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9230 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9235 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9239 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9240 *** create shared libraries on Solaris systems. Therefore, libtool
9241 *** is disabling shared libraries support. We urge you to upgrade GNU
9242 *** binutils to release 2.9.1 or newer. Another option is to modify
9243 *** your PATH or compiler configuration so that the native linker is
9244 *** used, and then restart.
9247 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9248 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9255 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9256 case `$LD -v 2>&1` in
9257 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9261 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9262 *** reliably create shared libraries on SCO systems. Therefore, libtool
9263 *** is disabling shared libraries support. We urge you to upgrade GNU
9264 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9265 *** your PATH or compiler configuration so that the native linker is
9266 *** used, and then restart.
9271 # For security reasons, it is highly recommended that you always
9272 # use absolute paths for naming shared libraries, and exclude the
9273 # DT_RUNPATH tag from executables and libraries. But doing so
9274 # requires that you compile everything twice, which is a pain.
9275 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9276 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9277 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9278 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9287 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9290 hardcode_shlibpath_var=no
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9303 if test "$ld_shlibs" = no; then
9305 hardcode_libdir_flag_spec=
9306 export_dynamic_flag_spec=
9307 whole_archive_flag_spec=
9310 # PORTME fill in a description of your system's linker (not GNU ld)
9313 allow_undefined_flag=unsupported
9314 always_export_symbols=yes
9315 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'
9316 # Note: this linker hardcodes the directories in LIBPATH if there
9317 # are no directories specified by -L.
9318 hardcode_minus_L=yes
9319 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9320 # Neither direct hardcoding nor static linking is supported with a
9322 hardcode_direct=unsupported
9327 if test "$host_cpu" = ia64; then
9328 # On IA64, the linker does run time linking by default, so we don't
9329 # have to do anything special.
9330 aix_use_runtimelinking=no
9331 exp_sym_flag='-Bexport'
9334 # If we're using GNU nm, then we don't want the "-C" option.
9335 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9336 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9337 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'
9339 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'
9341 aix_use_runtimelinking=no
9343 # Test if we are trying to use run time linking or normal
9344 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9345 # need to do runtime linking.
9346 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9347 for ld_flag in $LDFLAGS; do
9348 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9349 aix_use_runtimelinking=yes
9356 exp_sym_flag='-bexport'
9357 no_entry_flag='-bnoentry'
9360 # When large executables or shared objects are built, AIX ld can
9361 # have problems creating the table of contents. If linking a library
9362 # or program results in "error TOC overflow" add -mminimal-toc to
9363 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9364 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9368 hardcode_direct_absolute=yes
9369 hardcode_libdir_separator=':'
9370 link_all_deplibs=yes
9371 file_list_spec='${wl}-f,'
9373 if test "$GCC" = yes; then
9374 case $host_os in aix4.[012]|aix4.[012].*)
9375 # We only want to do this on AIX 4.2 and lower, the check
9376 # below for broken collect2 doesn't work under 4.3+
9377 collect2name=`${CC} -print-prog-name=collect2`
9378 if test -f "$collect2name" &&
9379 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9381 # We have reworked collect2
9384 # We have old collect2
9385 hardcode_direct=unsupported
9386 # It fails to find uninstalled libraries when the uninstalled
9387 # path is not listed in the libpath. Setting hardcode_minus_L
9388 # to unsupported forces relinking
9389 hardcode_minus_L=yes
9390 hardcode_libdir_flag_spec='-L$libdir'
9391 hardcode_libdir_separator=
9395 shared_flag='-shared'
9396 if test "$aix_use_runtimelinking" = yes; then
9397 shared_flag="$shared_flag "'${wl}-G'
9402 if test "$host_cpu" = ia64; then
9403 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9404 # chokes on -Wl,-G. The following line is correct:
9407 if test "$aix_use_runtimelinking" = yes; then
9408 shared_flag='${wl}-G'
9410 shared_flag='${wl}-bM:SRE'
9415 export_dynamic_flag_spec='${wl}-bexpall'
9416 # It seems that -bexpall does not export symbols beginning with
9417 # underscore (_), so it is better to generate a list of symbols to export.
9418 always_export_symbols=yes
9419 if test "$aix_use_runtimelinking" = yes; then
9420 # Warning - without using the other runtime loading flags (-brtl),
9421 # -berok will link without error, but may produce a broken library.
9422 allow_undefined_flag='-berok'
9423 # Determine the default libpath from the value encoded in an
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9436 if ac_fn_c_try_link "$LINENO"; then :
9438 lt_aix_libpath_sed='
9439 /Import File Strings/,/^$/ {
9445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9446 # Check for a 64-bit object if we didn't find anything.
9447 if test -z "$aix_libpath"; then
9448 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9455 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9456 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"
9458 if test "$host_cpu" = ia64; then
9459 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9460 allow_undefined_flag="-z nodefs"
9461 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"
9463 # Determine the default libpath from the value encoded in an
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9476 if ac_fn_c_try_link "$LINENO"; then :
9478 lt_aix_libpath_sed='
9479 /Import File Strings/,/^$/ {
9485 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9486 # Check for a 64-bit object if we didn't find anything.
9487 if test -z "$aix_libpath"; then
9488 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9495 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9496 # Warning - without using the other run time loading flags,
9497 # -berok will link without error, but may produce a broken library.
9498 no_undefined_flag=' ${wl}-bernotok'
9499 allow_undefined_flag=' ${wl}-berok'
9500 # Exported symbols can be pulled into shared objects from archives
9501 whole_archive_flag_spec='$convenience'
9502 archive_cmds_need_lc=yes
9503 # This is similar to how AIX traditionally builds its shared libraries.
9504 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'
9512 # see comment about AmigaOS4 .so support
9513 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9514 archive_expsym_cmds=''
9517 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)'
9518 hardcode_libdir_flag_spec='-L$libdir'
9519 hardcode_minus_L=yes
9525 export_dynamic_flag_spec=-rdynamic
9528 cygwin* | mingw* | pw32* | cegcc*)
9529 # When not using gcc, we currently assume that we are using
9530 # Microsoft Visual C++.
9531 # hardcode_libdir_flag_spec is actually meaningless, as there is
9532 # no search path for DLLs.
9533 hardcode_libdir_flag_spec=' '
9534 allow_undefined_flag=unsupported
9535 # Tell ltmain to make .lib files, not .a files.
9537 # Tell ltmain to make .dll files, not .so files.
9539 # FIXME: Setting linknames here is a bad hack.
9540 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9541 # The linker will automatically build a .lib file if we build a DLL.
9542 old_archive_from_new_cmds='true'
9543 # FIXME: Should let the user specify the lib program.
9544 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9545 fix_srcfile_path='`cygpath -w "$srcfile"`'
9546 enable_shared_with_static_runtimes=yes
9549 darwin* | rhapsody*)
9552 archive_cmds_need_lc=no
9554 hardcode_automatic=yes
9555 hardcode_shlibpath_var=unsupported
9556 whole_archive_flag_spec=''
9557 link_all_deplibs=yes
9558 allow_undefined_flag="$_lt_dar_allow_undefined"
9559 case $cc_basename in
9560 ifort*) _lt_dar_can_shared=yes ;;
9561 *) _lt_dar_can_shared=$GCC ;;
9563 if test "$_lt_dar_can_shared" = "yes"; then
9564 output_verbose_link_cmd=echo
9565 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9566 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9567 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}"
9568 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}"
9577 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9578 hardcode_libdir_flag_spec='-L$libdir'
9579 hardcode_shlibpath_var=no
9586 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9587 # support. Future versions do this automatically, but an explicit c++rt0.o
9588 # does not break anything, and helps significantly (at the cost of a little
9591 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9592 hardcode_libdir_flag_spec='-R$libdir'
9594 hardcode_shlibpath_var=no
9597 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9599 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9601 hardcode_minus_L=yes
9602 hardcode_shlibpath_var=no
9605 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9606 freebsd* | dragonfly*)
9607 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9608 hardcode_libdir_flag_spec='-R$libdir'
9610 hardcode_shlibpath_var=no
9614 if test "$GCC" = yes; then
9615 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'
9617 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'
9619 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9620 hardcode_libdir_separator=:
9623 # hardcode_minus_L: Not really in the search PATH,
9624 # but as the default location of the library.
9625 hardcode_minus_L=yes
9626 export_dynamic_flag_spec='${wl}-E'
9630 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9631 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9633 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9635 if test "$with_gnu_ld" = no; then
9636 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637 hardcode_libdir_flag_spec_ld='+b $libdir'
9638 hardcode_libdir_separator=:
9640 hardcode_direct_absolute=yes
9641 export_dynamic_flag_spec='${wl}-E'
9642 # hardcode_minus_L: Not really in the search PATH,
9643 # but as the default location of the library.
9644 hardcode_minus_L=yes
9649 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9652 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9655 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9658 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9667 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9670 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9674 if test "$with_gnu_ld" = no; then
9675 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9676 hardcode_libdir_separator=:
9681 hardcode_shlibpath_var=no
9685 hardcode_direct_absolute=yes
9686 export_dynamic_flag_spec='${wl}-E'
9688 # hardcode_minus_L: Not really in the search PATH,
9689 # but as the default location of the library.
9690 hardcode_minus_L=yes
9696 irix5* | irix6* | nonstopux*)
9697 if test "$GCC" = yes; then
9698 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'
9699 # Try to use the -exported_symbol ld option, if it does not
9700 # work, assume that -exports_file does not work either and
9701 # implicitly export all symbols.
9702 save_LDFLAGS="$LDFLAGS"
9703 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9708 if ac_fn_c_try_link "$LINENO"; then :
9709 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'
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 LDFLAGS="$save_LDFLAGS"
9716 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'
9717 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'
9719 archive_cmds_need_lc='no'
9720 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9721 hardcode_libdir_separator=:
9723 link_all_deplibs=yes
9726 netbsd* | netbsdelf*-gnu)
9727 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9728 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9730 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9732 hardcode_libdir_flag_spec='-R$libdir'
9734 hardcode_shlibpath_var=no
9738 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9741 hardcode_libdir_separator=:
9742 hardcode_shlibpath_var=no
9749 if test -f /usr/libexec/ld.so; then
9751 hardcode_shlibpath_var=no
9752 hardcode_direct_absolute=yes
9753 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9754 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9755 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9756 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9757 export_dynamic_flag_spec='${wl}-E'
9760 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9761 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762 hardcode_libdir_flag_spec='-R$libdir'
9765 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9766 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9776 hardcode_libdir_flag_spec='-L$libdir'
9777 hardcode_minus_L=yes
9778 allow_undefined_flag=unsupported
9779 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'
9780 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9784 if test "$GCC" = yes; then
9785 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9786 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'
9788 allow_undefined_flag=' -expect_unresolved \*'
9789 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'
9791 archive_cmds_need_lc='no'
9792 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9793 hardcode_libdir_separator=:
9796 osf4* | osf5*) # as osf3* with the addition of -msym flag
9797 if test "$GCC" = yes; then
9798 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9799 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'
9800 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9802 allow_undefined_flag=' -expect_unresolved \*'
9803 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'
9804 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~
9805 $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'
9807 # Both c and cxx compiler support -rpath directly
9808 hardcode_libdir_flag_spec='-rpath $libdir'
9810 archive_cmds_need_lc='no'
9811 hardcode_libdir_separator=:
9815 no_undefined_flag=' -z defs'
9816 if test "$GCC" = yes; then
9818 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9819 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9820 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9822 case `$CC -V 2>&1` in
9825 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9826 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9827 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9831 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9833 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9837 hardcode_libdir_flag_spec='-R$libdir'
9838 hardcode_shlibpath_var=no
9840 solaris2.[0-5] | solaris2.[0-5].*) ;;
9842 # The compiler driver will combine and reorder linker options,
9843 # but understands `-z linker_flag'. GCC discards it without `$wl',
9844 # but is careful enough not to reorder.
9845 # Supported since Solaris 2.6 (maybe 2.5.1?)
9846 if test "$GCC" = yes; then
9847 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9849 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9853 link_all_deplibs=yes
9857 if test "x$host_vendor" = xsequent; then
9858 # Use $CC to link under sequent, because it throws in some extra .o
9859 # files that make .init and .fini sections work.
9860 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9862 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_libdir_flag_spec='-L$libdir'
9866 hardcode_minus_L=yes
9867 hardcode_shlibpath_var=no
9871 case $host_vendor in
9873 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_direct=yes # is this really true???
9877 ## LD is ld it makes a PLAMLIB
9878 ## CC just makes a GrossModule.
9879 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9880 reload_cmds='$CC -r -o $output$reload_objs'
9884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9888 runpath_var='LD_RUN_PATH'
9889 hardcode_shlibpath_var=no
9893 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9894 hardcode_shlibpath_var=no
9895 export_dynamic_flag_spec='-Bexport'
9899 if test -d /usr/nec; then
9900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9901 hardcode_shlibpath_var=no
9902 runpath_var=LD_RUN_PATH
9903 hardcode_runpath_var=yes
9908 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9909 no_undefined_flag='${wl}-z,text'
9910 archive_cmds_need_lc=no
9911 hardcode_shlibpath_var=no
9912 runpath_var='LD_RUN_PATH'
9914 if test "$GCC" = yes; then
9915 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9923 sysv5* | sco3.2v5* | sco5v6*)
9924 # Note: We can NOT use -z defs as we might desire, because we do not
9925 # link with -lc, and that would cause any symbols used from libc to
9926 # always be unresolved, which means just about no library would
9927 # ever link correctly. If we're not using GNU ld we use -z text
9928 # though, which does catch some bad symbols but isn't as heavy-handed
9930 no_undefined_flag='${wl}-z,text'
9931 allow_undefined_flag='${wl}-z,nodefs'
9932 archive_cmds_need_lc=no
9933 hardcode_shlibpath_var=no
9934 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9935 hardcode_libdir_separator=':'
9936 link_all_deplibs=yes
9937 export_dynamic_flag_spec='${wl}-Bexport'
9938 runpath_var='LD_RUN_PATH'
9940 if test "$GCC" = yes; then
9941 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951 hardcode_libdir_flag_spec='-L$libdir'
9952 hardcode_shlibpath_var=no
9960 if test x$host_vendor = xsni; then
9962 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9963 export_dynamic_flag_spec='${wl}-Blargedynsym'
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9970 $as_echo "$ld_shlibs" >&6; }
9971 test "$ld_shlibs" = no && can_build_shared=no
9973 with_gnu_ld=$with_gnu_ld
9990 # Do we need to explicitly link libc?
9992 case "x$archive_cmds_need_lc" in
9994 # Assume -lc should be added
9995 archive_cmds_need_lc=yes
9997 if test "$enable_shared" = yes && test "$GCC" = yes; then
9998 case $archive_cmds in
10000 # FIXME: we may have to deal with multi-command sequences.
10003 # Test whether the compiler implicitly links with -lc since on some
10004 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10005 # to ld, don't add -lc before -lgcc.
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10007 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10009 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10012 (eval $ac_compile) 2>&5
10014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10015 test $ac_status = 0; } 2>conftest.err; then
10018 libobjs=conftest.$ac_objext
10020 wl=$lt_prog_compiler_wl
10021 pic_flag=$lt_prog_compiler_pic
10027 lt_save_allow_undefined_flag=$allow_undefined_flag
10028 allow_undefined_flag=
10029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10030 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10033 test $ac_status = 0; }
10035 archive_cmds_need_lc=no
10037 archive_cmds_need_lc=yes
10039 allow_undefined_flag=$lt_save_allow_undefined_flag
10041 cat conftest.err 1>&5
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10045 $as_echo "$archive_cmds_need_lc" >&6; }
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10209 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10211 if test "$GCC" = yes; then
10213 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10214 *) lt_awk_arg="/^libraries:/" ;;
10216 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10217 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10218 # if the path contains ";" then we assume it to be the separator
10219 # otherwise default to the standard path separator (i.e. ":") - it is
10220 # assumed that no part of a normal pathname contains ";" but that should
10221 # okay in the real world where ";" in dirpaths is itself problematic.
10222 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10224 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10226 # Ok, now we have the path, separated by spaces, we can step through it
10227 # and add multilib dir if necessary.
10228 lt_tmp_lt_search_path_spec=
10229 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10230 for lt_sys_path in $lt_search_path_spec; do
10231 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10232 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10234 test -d "$lt_sys_path" && \
10235 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10238 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10239 BEGIN {RS=" "; FS="/|\n";} {
10242 for (lt_i = NF; lt_i > 0; lt_i--) {
10243 if ($lt_i != "" && $lt_i != ".") {
10244 if ($lt_i == "..") {
10247 if (lt_count == 0) {
10248 lt_foo="/" $lt_i lt_foo;
10255 if (lt_foo != "") { lt_freq[lt_foo]++; }
10256 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10258 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10260 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10262 library_names_spec=
10263 libname_spec='lib$name'
10267 postuninstall_cmds=
10271 shlibpath_overrides_runpath=unknown
10273 dynamic_linker="$host_os ld.so"
10274 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10275 need_lib_prefix=unknown
10276 hardcode_into_libs=no
10278 # when you set need_version to no, make sure it does not cause -set_version
10279 # flags to be left without arguments
10280 need_version=unknown
10285 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10286 shlibpath_var=LIBPATH
10288 # AIX 3 has no versioning support, so we append a major version to the name.
10289 soname_spec='${libname}${release}${shared_ext}$major'
10296 hardcode_into_libs=yes
10297 if test "$host_cpu" = ia64; then
10298 # AIX 5 supports IA64
10299 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10300 shlibpath_var=LD_LIBRARY_PATH
10302 # With GCC up to 2.95.x, collect2 would create an import file
10303 # for dependence libraries. The import file would start with
10304 # the line `#! .'. This would cause the generated library to
10305 # depend on `.', always an invalid library. This was fixed in
10306 # development snapshots of GCC prior to 3.0.
10308 aix4 | aix4.[01] | aix4.[01].*)
10309 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10311 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10314 can_build_shared=no
10318 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10319 # soname into executable. Probably we can add versioning support to
10320 # collect2, so additional links can be useful in future.
10321 if test "$aix_use_runtimelinking" = yes; then
10322 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10323 # instead of lib<name>.a to let people know that these are not
10324 # typical AIX shared libraries.
10325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327 # We preserve .a as extension for shared libraries through AIX4.2
10328 # and later when we are not doing run time linking.
10329 library_names_spec='${libname}${release}.a $libname.a'
10330 soname_spec='${libname}${release}${shared_ext}$major'
10332 shlibpath_var=LIBPATH
10339 # Since July 2007 AmigaOS4 officially supports .so libraries.
10340 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344 library_names_spec='$libname.ixlibrary $libname.a'
10345 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10346 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'
10352 library_names_spec='${libname}${shared_ext}'
10353 dynamic_linker="$host_os ld.so"
10354 shlibpath_var=LIBRARY_PATH
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec='${libname}${release}${shared_ext}$major'
10362 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10363 shlibpath_var=LD_LIBRARY_PATH
10364 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10365 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10366 # the default ld.so.conf also contains /usr/contrib/lib and
10367 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10368 # libtool to hard-code these into programs
10371 cygwin* | mingw* | pw32* | cegcc*)
10372 version_type=windows
10377 case $GCC,$host_os in
10378 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10379 library_names_spec='$libname.dll.a'
10380 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10381 postinstall_cmds='base_file=`basename \${file}`~
10382 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10383 dldir=$destdir/`dirname \$dlpath`~
10384 test -d \$dldir || mkdir -p \$dldir~
10385 $install_prog $dir/$dlname \$dldir/$dlname~
10386 chmod a+x \$dldir/$dlname~
10387 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10388 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10390 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10391 dlpath=$dir/\$dldll~
10393 shlibpath_overrides_runpath=yes
10397 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10398 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10399 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10402 # MinGW DLLs use traditional 'lib' prefix
10403 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10404 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10405 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10406 # It is most probably a Windows format PATH printed by
10407 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10408 # path with ; separators, and with drive letters. We can handle the
10409 # drive letters (cygwin fileutils understands them), so leave them,
10410 # especially as we might pass files found there to a mingw objdump,
10411 # which wouldn't understand a cygwinified path. Ahh.
10412 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10414 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10418 # pw32 DLLs use 'pw' prefix rather than 'lib'
10419 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10425 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10428 dynamic_linker='Win32 ld.exe'
10429 # FIXME: first we should search . and the directory the executable is in
10433 darwin* | rhapsody*)
10434 dynamic_linker="$host_os dyld"
10435 version_type=darwin
10438 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10439 soname_spec='${libname}${release}${major}$shared_ext'
10440 shlibpath_overrides_runpath=yes
10441 shlibpath_var=DYLD_LIBRARY_PATH
10442 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10444 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10445 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10453 soname_spec='${libname}${release}${shared_ext}$major'
10454 shlibpath_var=LD_LIBRARY_PATH
10461 freebsd* | dragonfly*)
10462 # DragonFly does not have aout. When/if they implement a new
10463 # versioning mechanism, adjust this.
10464 if test -x /usr/bin/objformat; then
10465 objformat=`/usr/bin/objformat`
10468 freebsd[123]*) objformat=aout ;;
10469 *) objformat=elf ;;
10472 version_type=freebsd-$objformat
10473 case $version_type in
10475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10480 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10484 shlibpath_var=LD_LIBRARY_PATH
10487 shlibpath_overrides_runpath=yes
10489 freebsd3.[01]* | freebsdelf3.[01]*)
10490 shlibpath_overrides_runpath=yes
10491 hardcode_into_libs=yes
10493 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10494 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10495 shlibpath_overrides_runpath=no
10496 hardcode_into_libs=yes
10498 *) # from 4.6 on, and DragonFly
10499 shlibpath_overrides_runpath=yes
10500 hardcode_into_libs=yes
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10510 soname_spec='${libname}${release}${shared_ext}$major'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 hardcode_into_libs=yes
10515 hpux9* | hpux10* | hpux11*)
10516 # Give a soname corresponding to the major version so that dld.sl refuses to
10517 # link against other versions.
10524 hardcode_into_libs=yes
10525 dynamic_linker="$host_os dld.so"
10526 shlibpath_var=LD_LIBRARY_PATH
10527 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 if test "X$HPUX_IA64_MODE" = X32; then
10531 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10533 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10535 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10539 hardcode_into_libs=yes
10540 dynamic_linker="$host_os dld.sl"
10541 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10542 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544 soname_spec='${libname}${release}${shared_ext}$major'
10545 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10546 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10550 dynamic_linker="$host_os dld.sl"
10551 shlibpath_var=SHLIB_PATH
10552 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10557 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10558 postinstall_cmds='chmod 555 $lib'
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10566 soname_spec='${libname}${release}${shared_ext}$major'
10567 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10568 shlibpath_var=LD_LIBRARY_PATH
10569 shlibpath_overrides_runpath=no
10570 hardcode_into_libs=yes
10573 irix5* | irix6* | nonstopux*)
10575 nonstopux*) version_type=nonstopux ;;
10577 if test "$lt_cv_prog_gnu_ld" = yes; then
10585 soname_spec='${libname}${release}${shared_ext}$major'
10586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10588 irix5* | nonstopux*)
10589 libsuff= shlibsuff=
10592 case $LD in # libtool.m4 will add one of these switches to LD
10593 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10594 libsuff= shlibsuff= libmagic=32-bit;;
10595 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10596 libsuff=32 shlibsuff=N32 libmagic=N32;;
10597 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10598 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10599 *) libsuff= shlibsuff= libmagic=never-match;;
10603 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10604 shlibpath_overrides_runpath=no
10605 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10606 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10607 hardcode_into_libs=yes
10610 # No shared lib support for Linux oldld, aout, or coff.
10611 linux*oldld* | linux*aout* | linux*coff*)
10615 # This must be Linux ELF.
10616 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621 soname_spec='${libname}${release}${shared_ext}$major'
10622 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10623 shlibpath_var=LD_LIBRARY_PATH
10624 shlibpath_overrides_runpath=no
10625 # Some binutils ld are patched to set DT_RUNPATH
10626 save_LDFLAGS=$LDFLAGS
10627 save_libdir=$libdir
10628 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10629 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10643 shlibpath_overrides_runpath=yes
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 LDFLAGS=$save_LDFLAGS
10649 libdir=$save_libdir
10651 # This implies no fast_install, which is unacceptable.
10652 # Some rework will be needed to allow for fast_install
10653 # before this can be enabled.
10654 hardcode_into_libs=yes
10656 # Append ld.so.conf contents to the search path
10657 if test -f /etc/ld.so.conf; then
10658 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' ' '`
10659 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10662 # We used to test for /lib/ld.so.1 and disable shared libraries on
10663 # powerpc, because MkLinux only supported shared libraries with the
10664 # GNU dynamic linker. Since this was broken with cross compilers,
10665 # most powerpc-linux boxes support dynamic linking these days and
10666 # people can always --disable-shared, the test was removed, and we
10667 # assume the GNU/Linux dynamic linker is in use.
10668 dynamic_linker='GNU/Linux ld.so'
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10676 soname_spec='${libname}${release}${shared_ext}$major'
10677 shlibpath_var=LD_LIBRARY_PATH
10678 shlibpath_overrides_runpath=no
10679 hardcode_into_libs=yes
10680 dynamic_linker='NetBSD ld.elf_so'
10687 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10689 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10690 dynamic_linker='NetBSD (a.out) ld.so'
10692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10693 soname_spec='${libname}${release}${shared_ext}$major'
10694 dynamic_linker='NetBSD ld.elf_so'
10696 shlibpath_var=LD_LIBRARY_PATH
10697 shlibpath_overrides_runpath=yes
10698 hardcode_into_libs=yes
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 shlibpath_var=LD_LIBRARY_PATH
10705 shlibpath_overrides_runpath=yes
10712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10713 soname_spec='${libname}${release}${shared_ext}$major'
10714 shlibpath_var=LD_LIBRARY_PATH
10715 shlibpath_overrides_runpath=no
10716 hardcode_into_libs=yes
10717 dynamic_linker='ldqnx.so'
10722 sys_lib_dlsearch_path_spec="/usr/lib"
10724 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10726 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10727 *) need_version=no ;;
10729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10730 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10731 shlibpath_var=LD_LIBRARY_PATH
10732 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10734 openbsd2.[89] | openbsd2.[89].*)
10735 shlibpath_overrides_runpath=no
10738 shlibpath_overrides_runpath=yes
10742 shlibpath_overrides_runpath=yes
10747 libname_spec='$name'
10750 library_names_spec='$libname${shared_ext} $libname.a'
10751 dynamic_linker='OS/2 ld.exe'
10752 shlibpath_var=LIBPATH
10755 osf3* | osf4* | osf5*)
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10763 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 soname_spec='${libname}${release}${shared_ext}$major'
10776 shlibpath_var=LD_LIBRARY_PATH
10777 shlibpath_overrides_runpath=yes
10778 hardcode_into_libs=yes
10779 # ldd complains unless libraries are executable
10780 postinstall_cmds='chmod +x $lib'
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10786 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10787 shlibpath_var=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath=yes
10789 if test "$with_gnu_ld" = yes; then
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798 soname_spec='${libname}${release}${shared_ext}$major'
10799 shlibpath_var=LD_LIBRARY_PATH
10800 case $host_vendor in
10802 shlibpath_overrides_runpath=no
10804 runpath_var=LD_RUN_PATH
10812 shlibpath_overrides_runpath=no
10813 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10819 if test -d /usr/nec ;then
10821 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10822 soname_spec='$libname${shared_ext}.$major'
10823 shlibpath_var=LD_LIBRARY_PATH
10827 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10828 version_type=freebsd-elf
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10832 soname_spec='${libname}${release}${shared_ext}$major'
10833 shlibpath_var=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath=yes
10835 hardcode_into_libs=yes
10836 if test "$with_gnu_ld" = yes; then
10837 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10839 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10842 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10846 sys_lib_dlsearch_path_spec='/usr/lib'
10850 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10857 hardcode_into_libs=yes
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 shlibpath_var=LD_LIBRARY_PATH
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10872 $as_echo "$dynamic_linker" >&6; }
10873 test "$dynamic_linker" = no && can_build_shared=no
10875 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10876 if test "$GCC" = yes; then
10877 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10880 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10881 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10883 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10884 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10974 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10976 if test -n "$hardcode_libdir_flag_spec" ||
10977 test -n "$runpath_var" ||
10978 test "X$hardcode_automatic" = "Xyes" ; then
10980 # We can hardcode non-existent directories.
10981 if test "$hardcode_direct" != no &&
10982 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10983 # have to relink, otherwise we might link with an installed library
10984 # when we should be linking with a yet-to-be-installed one
10985 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10986 test "$hardcode_minus_L" != no; then
10987 # Linking always hardcodes the temporary library directory.
10988 hardcode_action=relink
10990 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10991 hardcode_action=immediate
10994 # We cannot hardcode anything, or else we can only hardcode existing
10996 hardcode_action=unsupported
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10999 $as_echo "$hardcode_action" >&6; }
11001 if test "$hardcode_action" = relink ||
11002 test "$inherit_rpath" = yes; then
11003 # Fast installation is not supported
11004 enable_fast_install=no
11005 elif test "$shlibpath_overrides_runpath" = yes ||
11006 test "$enable_shared" = no; then
11007 # Fast installation is not necessary
11008 enable_fast_install=needless
11016 if test "x$enable_dlopen" != xyes; then
11017 enable_dlopen=unknown
11018 enable_dlopen_self=unknown
11019 enable_dlopen_self_static=unknown
11026 lt_cv_dlopen="load_add_on"
11028 lt_cv_dlopen_self=yes
11031 mingw* | pw32* | cegcc*)
11032 lt_cv_dlopen="LoadLibrary"
11037 lt_cv_dlopen="dlopen"
11042 # if libdl is installed we need to link against it
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11044 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11045 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11046 $as_echo_n "(cached) " >&6
11048 ac_check_lib_save_LIBS=$LIBS
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11068 if ac_fn_c_try_link "$LINENO"; then :
11069 ac_cv_lib_dl_dlopen=yes
11071 ac_cv_lib_dl_dlopen=no
11073 rm -f core conftest.err conftest.$ac_objext \
11074 conftest$ac_exeext conftest.$ac_ext
11075 LIBS=$ac_check_lib_save_LIBS
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11078 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11079 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11080 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11083 lt_cv_dlopen="dyld"
11085 lt_cv_dlopen_self=yes
11092 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11093 if test "x$ac_cv_func_shl_load" = x""yes; then :
11094 lt_cv_dlopen="shl_load"
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11097 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11098 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11099 $as_echo_n "(cached) " >&6
11101 ac_check_lib_save_LIBS=$LIBS
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11116 return shl_load ();
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_dld_shl_load=yes
11124 ac_cv_lib_dld_shl_load=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11131 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11132 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11133 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11135 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11136 if test "x$ac_cv_func_dlopen" = x""yes; then :
11137 lt_cv_dlopen="dlopen"
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11140 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11141 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11142 $as_echo_n "(cached) " >&6
11144 ac_check_lib_save_LIBS=$LIBS
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_dl_dlopen=yes
11167 ac_cv_lib_dl_dlopen=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11175 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11176 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11179 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11180 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lsvld $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_svld_dlopen=yes
11206 ac_cv_lib_svld_dlopen=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11213 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11214 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11215 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11218 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11219 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11222 ac_check_lib_save_LIBS=$LIBS
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11237 return dld_link ();
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_dld_dld_link=yes
11245 ac_cv_lib_dld_dld_link=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11252 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11253 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11254 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11275 if test "x$lt_cv_dlopen" != xno; then
11281 case $lt_cv_dlopen in
11283 save_CPPFLAGS="$CPPFLAGS"
11284 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11286 save_LDFLAGS="$LDFLAGS"
11287 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11290 LIBS="$lt_cv_dlopen_libs $LIBS"
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11293 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11294 if test "${lt_cv_dlopen_self+set}" = set; then :
11295 $as_echo_n "(cached) " >&6
11297 if test "$cross_compiling" = yes; then :
11298 lt_cv_dlopen_self=cross
11300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11301 lt_status=$lt_dlunknown
11302 cat > conftest.$ac_ext <<_LT_EOF
11303 #line 11303 "configure"
11304 #include "confdefs.h"
11313 # define LT_DLGLOBAL RTLD_GLOBAL
11316 # define LT_DLGLOBAL DL_GLOBAL
11318 # define LT_DLGLOBAL 0
11322 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11323 find out it does not work in some platform. */
11324 #ifndef LT_DLLAZY_OR_NOW
11326 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11329 # define LT_DLLAZY_OR_NOW DL_LAZY
11332 # define LT_DLLAZY_OR_NOW RTLD_NOW
11335 # define LT_DLLAZY_OR_NOW DL_NOW
11337 # define LT_DLLAZY_OR_NOW 0
11344 void fnord() { int i=42;}
11347 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11348 int status = $lt_dlunknown;
11352 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11353 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11354 /* dlclose (self); */
11362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11363 (eval $ac_link) 2>&5
11365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11366 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11367 (./conftest; exit; ) >&5 2>/dev/null
11369 case x$lt_status in
11370 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11371 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11372 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11375 # compilation failed
11376 lt_cv_dlopen_self=no
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11384 $as_echo "$lt_cv_dlopen_self" >&6; }
11386 if test "x$lt_cv_dlopen_self" = xyes; then
11387 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11389 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11390 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11391 $as_echo_n "(cached) " >&6
11393 if test "$cross_compiling" = yes; then :
11394 lt_cv_dlopen_self_static=cross
11396 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11397 lt_status=$lt_dlunknown
11398 cat > conftest.$ac_ext <<_LT_EOF
11399 #line 11399 "configure"
11400 #include "confdefs.h"
11409 # define LT_DLGLOBAL RTLD_GLOBAL
11412 # define LT_DLGLOBAL DL_GLOBAL
11414 # define LT_DLGLOBAL 0
11418 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11419 find out it does not work in some platform. */
11420 #ifndef LT_DLLAZY_OR_NOW
11422 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11425 # define LT_DLLAZY_OR_NOW DL_LAZY
11428 # define LT_DLLAZY_OR_NOW RTLD_NOW
11431 # define LT_DLLAZY_OR_NOW DL_NOW
11433 # define LT_DLLAZY_OR_NOW 0
11440 void fnord() { int i=42;}
11443 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11444 int status = $lt_dlunknown;
11448 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11449 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11450 /* dlclose (self); */
11458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11459 (eval $ac_link) 2>&5
11461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11462 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11463 (./conftest; exit; ) >&5 2>/dev/null
11465 case x$lt_status in
11466 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11467 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11468 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11471 # compilation failed
11472 lt_cv_dlopen_self_static=no
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11480 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11483 CPPFLAGS="$save_CPPFLAGS"
11484 LDFLAGS="$save_LDFLAGS"
11489 case $lt_cv_dlopen_self in
11490 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11491 *) enable_dlopen_self=unknown ;;
11494 case $lt_cv_dlopen_self_static in
11495 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11496 *) enable_dlopen_self_static=unknown ;;
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11519 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11520 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11521 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11522 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11524 $as_echo "yes" >&6; }
11526 # FIXME - insert some real tests, host_os isn't really good enough
11529 if test -n "$STRIP" ; then
11530 striplib="$STRIP -x"
11531 old_striplib="$STRIP -S"
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11533 $as_echo "yes" >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536 $as_echo "no" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11541 $as_echo "no" >&6; }
11557 # Report which library types will actually be built
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11559 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11561 $as_echo "$can_build_shared" >&6; }
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11564 $as_echo_n "checking whether to build shared libraries... " >&6; }
11565 test "$can_build_shared" = "no" && enable_shared=no
11567 # On AIX, shared libraries and static libraries use the same namespace, and
11568 # are all built from PIC.
11571 test "$enable_shared" = yes && enable_static=no
11572 if test -n "$RANLIB"; then
11573 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11574 postinstall_cmds='$RANLIB $lib'
11579 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11580 test "$enable_shared" = yes && enable_static=no
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11585 $as_echo "$enable_shared" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11588 $as_echo_n "checking whether to build static libraries... " >&6; }
11589 # Make sure either enable_shared or enable_static is yes.
11590 test "$enable_shared" = yes || enable_static=yes
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11592 $as_echo "$enable_static" >&6; }
11599 ac_cpp='$CPP $CPPFLAGS'
11600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11608 ac_cpp='$CXXCPP $CPPFLAGS'
11609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11613 archive_cmds_need_lc_CXX=no
11614 allow_undefined_flag_CXX=
11615 always_export_symbols_CXX=no
11616 archive_expsym_cmds_CXX=
11617 compiler_needs_object_CXX=no
11618 export_dynamic_flag_spec_CXX=
11619 hardcode_direct_CXX=no
11620 hardcode_direct_absolute_CXX=no
11621 hardcode_libdir_flag_spec_CXX=
11622 hardcode_libdir_flag_spec_ld_CXX=
11623 hardcode_libdir_separator_CXX=
11624 hardcode_minus_L_CXX=no
11625 hardcode_shlibpath_var_CXX=unsupported
11626 hardcode_automatic_CXX=no
11627 inherit_rpath_CXX=no
11629 module_expsym_cmds_CXX=
11630 link_all_deplibs_CXX=unknown
11631 old_archive_cmds_CXX=$old_archive_cmds
11632 no_undefined_flag_CXX=
11633 whole_archive_flag_spec_CXX=
11634 enable_shared_with_static_runtimes_CXX=no
11636 # Source file extension for C++ test sources.
11639 # Object file extension for compiled C++ test sources.
11643 # No sense in running all these tests if we already determined that
11644 # the CXX compiler isn't working. Some variables (like enable_shared)
11645 # are currently assumed to apply to all compilers on this platform,
11646 # and will be corrupted by setting them based on a non-working compiler.
11647 if test "$_lt_caught_CXX_error" != yes; then
11648 # Code to be used in simple compile tests
11649 lt_simple_compile_test_code="int some_variable = 0;"
11651 # Code to be used in simple link tests
11652 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11654 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11661 # If no C compiler was specified, use CC.
11664 # If no C compiler flags were specified, use CFLAGS.
11665 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11667 # Allow CC to be a program name with arguments.
11671 # save warnings/boilerplate of simple test code
11672 ac_outfile=conftest.$ac_objext
11673 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11674 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11675 _lt_compiler_boilerplate=`cat conftest.err`
11678 ac_outfile=conftest.$ac_objext
11679 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11680 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11681 _lt_linker_boilerplate=`cat conftest.err`
11685 # Allow CC to be a program name with arguments.
11690 lt_save_with_gnu_ld=$with_gnu_ld
11691 lt_save_path_LD=$lt_cv_path_LD
11692 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11693 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11695 $as_unset lt_cv_prog_gnu_ld
11697 if test -n "${lt_cv_path_LDCXX+set}"; then
11698 lt_cv_path_LD=$lt_cv_path_LDCXX
11700 $as_unset lt_cv_path_LD
11702 test -z "${LDCXX+set}" || LD=$LDCXX
11706 for cc_temp in $compiler""; do
11708 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11709 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11714 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11717 if test -n "$compiler"; then
11718 # We don't want -fno-exception when compiling C++ code, so set the
11719 # no_builtin_flag separately
11720 if test "$GXX" = yes; then
11721 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11723 lt_prog_compiler_no_builtin_flag_CXX=
11726 if test "$GXX" = yes; then
11727 # Set up default GNU C++ configuration
11731 # Check whether --with-gnu-ld was given.
11732 if test "${with_gnu_ld+set}" = set; then :
11733 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11739 if test "$GCC" = yes; then
11740 # Check if gcc -print-prog-name=ld gives a path.
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11742 $as_echo_n "checking for ld used by $CC... " >&6; }
11745 # gcc leaves a trailing carriage return which upsets mingw
11746 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11748 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11751 # Accept absolute paths.
11753 re_direlt='/[^/][^/]*/\.\./'
11754 # Canonicalize the pathname of ld
11755 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11756 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11757 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11759 test -z "$LD" && LD="$ac_prog"
11762 # If it fails, then pretend we aren't using GCC.
11766 # If it is relative, then search for the first ld in PATH.
11767 with_gnu_ld=unknown
11770 elif test "$with_gnu_ld" = yes; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11772 $as_echo_n "checking for GNU ld... " >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11775 $as_echo_n "checking for non-GNU ld... " >&6; }
11777 if test "${lt_cv_path_LD+set}" = set; then :
11778 $as_echo_n "(cached) " >&6
11780 if test -z "$LD"; then
11781 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11782 for ac_dir in $PATH; do
11784 test -z "$ac_dir" && ac_dir=.
11785 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11786 lt_cv_path_LD="$ac_dir/$ac_prog"
11787 # Check to see if the program is GNU ld. I'd rather use --version,
11788 # but apparently some variants of GNU ld only accept -v.
11789 # Break only if it was the GNU/non-GNU ld that we prefer.
11790 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11791 *GNU* | *'with BFD'*)
11792 test "$with_gnu_ld" != no && break
11795 test "$with_gnu_ld" != yes && break
11802 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11806 LD="$lt_cv_path_LD"
11807 if test -n "$LD"; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11809 $as_echo "$LD" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11814 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11816 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11817 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11818 $as_echo_n "(cached) " >&6
11820 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11821 case `$LD -v 2>&1 </dev/null` in
11822 *GNU* | *'with BFD'*)
11823 lt_cv_prog_gnu_ld=yes
11826 lt_cv_prog_gnu_ld=no
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11831 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11832 with_gnu_ld=$lt_cv_prog_gnu_ld
11840 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11841 # archiving commands below assume that GNU ld is being used.
11842 if test "$with_gnu_ld" = yes; then
11843 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11844 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'
11846 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11847 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11849 # If archive_cmds runs LD, not CC, wlarc should be empty
11850 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11851 # investigate it a little bit more. (MM)
11854 # ancient GNU ld didn't support --whole-archive et. al.
11855 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11856 $GREP 'no-whole-archive' > /dev/null; then
11857 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11859 whole_archive_flag_spec_CXX=
11865 # A generic and very simple default shared library creation
11866 # command for GNU C++ for the case where it uses the native
11867 # linker, instead of GNU ld. If possible, this setting should
11868 # overridden to take advantage of the native linker features on
11869 # the platform it is being used on.
11870 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11873 # Commands to make compiler produce verbose output that lists
11874 # what "hidden" libraries, object files and flags are used when
11875 # linking a shared library.
11876 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11884 # PORTME: fill in a description of your system's C++ link characteristics
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11886 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11890 # FIXME: insert proper C++ library support
11894 if test "$host_cpu" = ia64; then
11895 # On IA64, the linker does run time linking by default, so we don't
11896 # have to do anything special.
11897 aix_use_runtimelinking=no
11898 exp_sym_flag='-Bexport'
11901 aix_use_runtimelinking=no
11903 # Test if we are trying to use run time linking or normal
11904 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11905 # need to do runtime linking.
11906 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11907 for ld_flag in $LDFLAGS; do
11910 aix_use_runtimelinking=yes
11918 exp_sym_flag='-bexport'
11919 no_entry_flag='-bnoentry'
11922 # When large executables or shared objects are built, AIX ld can
11923 # have problems creating the table of contents. If linking a library
11924 # or program results in "error TOC overflow" add -mminimal-toc to
11925 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11926 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11928 archive_cmds_CXX=''
11929 hardcode_direct_CXX=yes
11930 hardcode_direct_absolute_CXX=yes
11931 hardcode_libdir_separator_CXX=':'
11932 link_all_deplibs_CXX=yes
11933 file_list_spec_CXX='${wl}-f,'
11935 if test "$GXX" = yes; then
11936 case $host_os in aix4.[012]|aix4.[012].*)
11937 # We only want to do this on AIX 4.2 and lower, the check
11938 # below for broken collect2 doesn't work under 4.3+
11939 collect2name=`${CC} -print-prog-name=collect2`
11940 if test -f "$collect2name" &&
11941 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11943 # We have reworked collect2
11946 # We have old collect2
11947 hardcode_direct_CXX=unsupported
11948 # It fails to find uninstalled libraries when the uninstalled
11949 # path is not listed in the libpath. Setting hardcode_minus_L
11950 # to unsupported forces relinking
11951 hardcode_minus_L_CXX=yes
11952 hardcode_libdir_flag_spec_CXX='-L$libdir'
11953 hardcode_libdir_separator_CXX=
11956 shared_flag='-shared'
11957 if test "$aix_use_runtimelinking" = yes; then
11958 shared_flag="$shared_flag "'${wl}-G'
11962 if test "$host_cpu" = ia64; then
11963 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11964 # chokes on -Wl,-G. The following line is correct:
11967 if test "$aix_use_runtimelinking" = yes; then
11968 shared_flag='${wl}-G'
11970 shared_flag='${wl}-bM:SRE'
11975 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11976 # It seems that -bexpall does not export symbols beginning with
11977 # underscore (_), so it is better to generate a list of symbols to
11979 always_export_symbols_CXX=yes
11980 if test "$aix_use_runtimelinking" = yes; then
11981 # Warning - without using the other runtime loading flags (-brtl),
11982 # -berok will link without error, but may produce a broken library.
11983 allow_undefined_flag_CXX='-berok'
11984 # Determine the default libpath from the value encoded in an empty
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11997 if ac_fn_cxx_try_link "$LINENO"; then :
11999 lt_aix_libpath_sed='
12000 /Import File Strings/,/^$/ {
12006 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12007 # Check for a 64-bit object if we didn't find anything.
12008 if test -z "$aix_libpath"; then
12009 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12012 rm -f core conftest.err conftest.$ac_objext \
12013 conftest$ac_exeext conftest.$ac_ext
12014 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12016 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12018 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"
12020 if test "$host_cpu" = ia64; then
12021 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12022 allow_undefined_flag_CXX="-z nodefs"
12023 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"
12025 # Determine the default libpath from the value encoded in an
12026 # empty executable.
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12038 if ac_fn_cxx_try_link "$LINENO"; then :
12040 lt_aix_libpath_sed='
12041 /Import File Strings/,/^$/ {
12047 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12048 # Check for a 64-bit object if we didn't find anything.
12049 if test -z "$aix_libpath"; then
12050 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12053 rm -f core conftest.err conftest.$ac_objext \
12054 conftest$ac_exeext conftest.$ac_ext
12055 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12057 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12058 # Warning - without using the other run time loading flags,
12059 # -berok will link without error, but may produce a broken library.
12060 no_undefined_flag_CXX=' ${wl}-bernotok'
12061 allow_undefined_flag_CXX=' ${wl}-berok'
12062 # Exported symbols can be pulled into shared objects from archives
12063 whole_archive_flag_spec_CXX='$convenience'
12064 archive_cmds_need_lc_CXX=yes
12065 # This is similar to how AIX traditionally builds its shared
12067 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'
12073 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12074 allow_undefined_flag_CXX=unsupported
12075 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12076 # support --undefined. This deserves some investigation. FIXME
12077 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12084 case $cc_basename in
12086 # FIXME: insert proper C++ library support
12092 cygwin* | mingw* | pw32* | cegcc*)
12093 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12094 # as there is no search path for DLLs.
12095 hardcode_libdir_flag_spec_CXX='-L$libdir'
12096 allow_undefined_flag_CXX=unsupported
12097 always_export_symbols_CXX=no
12098 enable_shared_with_static_runtimes_CXX=yes
12100 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12101 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'
12102 # If the export-symbols file already is a .def file (1st line
12103 # is EXPORTS), use it as is; otherwise, prepend...
12104 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12105 cp $export_symbols $output_objdir/$soname.def;
12107 echo EXPORTS > $output_objdir/$soname.def;
12108 cat $export_symbols >> $output_objdir/$soname.def;
12110 $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'
12115 darwin* | rhapsody*)
12118 archive_cmds_need_lc_CXX=no
12119 hardcode_direct_CXX=no
12120 hardcode_automatic_CXX=yes
12121 hardcode_shlibpath_var_CXX=unsupported
12122 whole_archive_flag_spec_CXX=''
12123 link_all_deplibs_CXX=yes
12124 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12125 case $cc_basename in
12126 ifort*) _lt_dar_can_shared=yes ;;
12127 *) _lt_dar_can_shared=$GCC ;;
12129 if test "$_lt_dar_can_shared" = "yes"; then
12130 output_verbose_link_cmd=echo
12131 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}"
12132 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12133 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}"
12134 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}"
12135 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12136 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}"
12137 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}"
12147 case $cc_basename in
12149 # FIXME: insert proper C++ library support
12153 # Green Hills C++ Compiler
12154 # FIXME: insert proper C++ library support
12158 # FIXME: insert proper C++ library support
12165 # C++ shared libraries reported to be fairly broken before
12171 archive_cmds_need_lc_CXX=no
12174 freebsd* | dragonfly*)
12175 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12184 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12185 hardcode_libdir_separator_CXX=:
12186 export_dynamic_flag_spec_CXX='${wl}-E'
12187 hardcode_direct_CXX=yes
12188 hardcode_minus_L_CXX=yes # Not in the search PATH,
12189 # but as the default
12190 # location of the library.
12192 case $cc_basename in
12194 # FIXME: insert proper C++ library support
12198 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'
12199 # Commands to make compiler produce verbose output that lists
12200 # what "hidden" libraries, object files and flags are used when
12201 # linking a shared library.
12203 # There doesn't appear to be a way to prevent this compiler from
12204 # explicitly linking system object files so we need to strip them
12205 # from the output so that they don't get included in the library
12207 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'
12210 if test "$GXX" = yes; then
12211 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'
12213 # FIXME: insert proper C++ library support
12221 if test $with_gnu_ld = no; then
12222 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12223 hardcode_libdir_separator_CXX=:
12229 export_dynamic_flag_spec_CXX='${wl}-E'
12235 hardcode_direct_CXX=no
12236 hardcode_shlibpath_var_CXX=no
12239 hardcode_direct_CXX=yes
12240 hardcode_direct_absolute_CXX=yes
12241 hardcode_minus_L_CXX=yes # Not in the search PATH,
12242 # but as the default
12243 # location of the library.
12247 case $cc_basename in
12249 # FIXME: insert proper C++ library support
12255 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12258 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12261 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12264 # Commands to make compiler produce verbose output that lists
12265 # what "hidden" libraries, object files and flags are used when
12266 # linking a shared library.
12268 # There doesn't appear to be a way to prevent this compiler from
12269 # explicitly linking system object files so we need to strip them
12270 # from the output so that they don't get included in the library
12272 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'
12275 if test "$GXX" = yes; then
12276 if test $with_gnu_ld = no; then
12279 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12282 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12285 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'
12290 # FIXME: insert proper C++ library support
12298 hardcode_direct_CXX=no
12299 hardcode_shlibpath_var_CXX=no
12300 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12301 export_dynamic_flag_spec_CXX='${wl}-E'
12302 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12303 # Instead, shared libraries are loaded at an image base (0x10000000 by
12304 # default) and relocated if they conflict, which is a slow very memory
12305 # consuming and fragmenting process. To avoid this, we pick a random,
12306 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12307 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12308 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'
12309 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'
12312 case $cc_basename in
12315 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'
12317 # Archives containing C++ object files must be created using
12318 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12319 # necessary to make sure instantiated templates are included
12321 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12324 if test "$GXX" = yes; then
12325 if test "$with_gnu_ld" = no; then
12326 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'
12328 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'
12331 link_all_deplibs_CXX=yes
12334 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12335 hardcode_libdir_separator_CXX=:
12336 inherit_rpath_CXX=yes
12339 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12340 case $cc_basename in
12342 # Kuck and Associates, Inc. (KAI) C++ Compiler
12344 # KCC will only create a shared library if the output file
12345 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12346 # to its proper name (with version) after linking.
12347 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'
12348 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'
12349 # Commands to make compiler produce verbose output that lists
12350 # what "hidden" libraries, object files and flags are used when
12351 # linking a shared library.
12353 # There doesn't appear to be a way to prevent this compiler from
12354 # explicitly linking system object files so we need to strip them
12355 # from the output so that they don't get included in the library
12357 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'
12359 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12360 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12362 # Archives containing C++ object files must be created using
12363 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12364 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12369 # version 8.0 and above of icpc choke on multiply defined symbols
12370 # if we add $predep_objects and $postdep_objects, however 7.1 and
12371 # earlier do not add the objects themselves.
12372 case `$CC -V 2>&1` in
12374 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12375 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'
12377 *) # Version 8.0 or newer
12380 ia64*) tmp_idyn=' -i_dynamic';;
12382 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12383 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'
12386 archive_cmds_need_lc_CXX=no
12387 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12388 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12389 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12392 # Portland Group C++ compiler
12394 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12395 prelink_cmds_CXX='tpldir=Template.dir~
12397 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12398 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12399 old_archive_cmds_CXX='tpldir=Template.dir~
12401 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12402 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12404 archive_cmds_CXX='tpldir=Template.dir~
12406 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12407 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12408 archive_expsym_cmds_CXX='tpldir=Template.dir~
12410 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12411 $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'
12413 *) # Version 6 will use weak symbols
12414 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12415 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'
12419 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12420 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12421 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'
12425 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12426 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'
12428 runpath_var=LD_RUN_PATH
12429 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12430 hardcode_libdir_separator_CXX=:
12432 # Commands to make compiler produce verbose output that lists
12433 # what "hidden" libraries, object files and flags are used when
12434 # linking a shared library.
12436 # There doesn't appear to be a way to prevent this compiler from
12437 # explicitly linking system object files so we need to strip them
12438 # from the output so that they don't get included in the library
12440 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'
12443 # IBM XL 8.0 on PPC, with GNU ld
12444 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12445 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12446 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12447 if test "x$supports_anon_versioning" = xyes; then
12448 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12449 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12450 echo "local: *; };" >> $output_objdir/$libname.ver~
12451 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12455 case `$CC -V 2>&1 | sed 5q` in
12458 no_undefined_flag_CXX=' -zdefs'
12459 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12460 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'
12461 hardcode_libdir_flag_spec_CXX='-R$libdir'
12462 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'
12463 compiler_needs_object_CXX=yes
12465 # Not sure whether something based on
12466 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12468 output_verbose_link_cmd='echo'
12470 # Archives containing C++ object files must be created using
12471 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12472 # necessary to make sure instantiated templates are included
12474 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12482 # FIXME: insert proper C++ library support
12487 # FIXME: insert proper C++ library support
12492 case $cc_basename in
12494 # FIXME: insert proper C++ library support
12498 # FIXME: insert proper C++ library support
12505 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12506 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12508 hardcode_libdir_flag_spec_CXX='-R$libdir'
12509 hardcode_direct_CXX=yes
12510 hardcode_shlibpath_var_CXX=no
12512 # Workaround some broken pre-1.5 toolchains
12513 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12521 # C++ shared libraries are fairly broken
12526 if test -f /usr/libexec/ld.so; then
12527 hardcode_direct_CXX=yes
12528 hardcode_shlibpath_var_CXX=no
12529 hardcode_direct_absolute_CXX=yes
12530 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12531 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12532 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12533 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12534 export_dynamic_flag_spec_CXX='${wl}-E'
12535 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12537 output_verbose_link_cmd=echo
12543 osf3* | osf4* | osf5*)
12544 case $cc_basename in
12546 # Kuck and Associates, Inc. (KAI) C++ Compiler
12548 # KCC will only create a shared library if the output file
12549 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12550 # to its proper name (with version) after linking.
12551 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'
12553 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12554 hardcode_libdir_separator_CXX=:
12556 # Archives containing C++ object files must be created using
12557 # the KAI C++ compiler.
12559 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12560 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12564 # Rational C++ 2.4.1
12565 # FIXME: insert proper C++ library support
12571 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12572 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'
12573 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12576 allow_undefined_flag_CXX=' -expect_unresolved \*'
12577 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'
12578 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12579 echo "-hidden">> $lib.exp~
12580 $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~
12582 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12586 hardcode_libdir_separator_CXX=:
12588 # Commands to make compiler produce verbose output that lists
12589 # what "hidden" libraries, object files and flags are used when
12590 # linking a shared library.
12592 # There doesn't appear to be a way to prevent this compiler from
12593 # explicitly linking system object files so we need to strip them
12594 # from the output so that they don't get included in the library
12596 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'
12599 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12600 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12603 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'
12606 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'
12610 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12611 hardcode_libdir_separator_CXX=:
12613 # Commands to make compiler produce verbose output that lists
12614 # what "hidden" libraries, object files and flags are used when
12615 # linking a shared library.
12616 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12619 # FIXME: insert proper C++ library support
12627 # FIXME: insert proper C++ library support
12632 case $cc_basename in
12635 # FIXME: insert proper C++ library support
12640 # FIXME: insert proper C++ library support
12644 # FIXME: insert proper C++ library support
12651 case $cc_basename in
12653 # Sun C++ 4.2, 5.x and Centerline C++
12654 archive_cmds_need_lc_CXX=yes
12655 no_undefined_flag_CXX=' -zdefs'
12656 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12658 $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'
12660 hardcode_libdir_flag_spec_CXX='-R$libdir'
12661 hardcode_shlibpath_var_CXX=no
12663 solaris2.[0-5] | solaris2.[0-5].*) ;;
12665 # The compiler driver will combine and reorder linker options,
12666 # but understands `-z linker_flag'.
12667 # Supported since Solaris 2.6 (maybe 2.5.1?)
12668 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12671 link_all_deplibs_CXX=yes
12673 output_verbose_link_cmd='echo'
12675 # Archives containing C++ object files must be created using
12676 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12677 # necessary to make sure instantiated templates are included
12679 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12682 # Green Hills C++ Compiler
12683 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12685 # The C++ compiler must be used to create the archive.
12686 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12689 # GNU C++ compiler with Solaris linker
12690 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12691 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12692 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12693 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12694 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12695 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12697 # Commands to make compiler produce verbose output that lists
12698 # what "hidden" libraries, object files and flags are used when
12699 # linking a shared library.
12700 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12702 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12704 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12705 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12706 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12708 # Commands to make compiler produce verbose output that lists
12709 # what "hidden" libraries, object files and flags are used when
12710 # linking a shared library.
12711 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12714 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12716 solaris2.[0-5] | solaris2.[0-5].*) ;;
12718 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12726 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12727 no_undefined_flag_CXX='${wl}-z,text'
12728 archive_cmds_need_lc_CXX=no
12729 hardcode_shlibpath_var_CXX=no
12730 runpath_var='LD_RUN_PATH'
12732 case $cc_basename in
12734 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12735 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12738 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12739 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12744 sysv5* | sco3.2v5* | sco5v6*)
12745 # Note: We can NOT use -z defs as we might desire, because we do not
12746 # link with -lc, and that would cause any symbols used from libc to
12747 # always be unresolved, which means just about no library would
12748 # ever link correctly. If we're not using GNU ld we use -z text
12749 # though, which does catch some bad symbols but isn't as heavy-handed
12751 no_undefined_flag_CXX='${wl}-z,text'
12752 allow_undefined_flag_CXX='${wl}-z,nodefs'
12753 archive_cmds_need_lc_CXX=no
12754 hardcode_shlibpath_var_CXX=no
12755 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12756 hardcode_libdir_separator_CXX=':'
12757 link_all_deplibs_CXX=yes
12758 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12759 runpath_var='LD_RUN_PATH'
12761 case $cc_basename in
12763 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12764 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12767 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12768 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12774 case $cc_basename in
12776 # NonStop-UX NCC 3.20
12777 # FIXME: insert proper C++ library support
12781 # FIXME: insert proper C++ library support
12788 # FIXME: insert proper C++ library support
12793 # FIXME: insert proper C++ library support
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12799 $as_echo "$ld_shlibs_CXX" >&6; }
12800 test "$ld_shlibs_CXX" = no && can_build_shared=no
12806 ## There is no encapsulation within the following macros, do not change
12807 ## the running order or otherwise move them around unless you know exactly
12808 ## what you are doing...
12809 # Dependencies to place before and after the object being linked:
12810 predep_objects_CXX=
12811 postdep_objects_CXX=
12814 compiler_lib_search_path_CXX=
12816 cat > conftest.$ac_ext <<_LT_EOF
12820 Foo (void) { a = 0; }
12826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12827 (eval $ac_compile) 2>&5
12829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12830 test $ac_status = 0; }; then
12831 # Parse the compiler output and extract the necessary
12832 # objects, libraries and library flags.
12834 # Sentinel used to keep track of whether or not we are before
12835 # the conftest object file.
12836 pre_test_object_deps_done=no
12838 for p in `eval "$output_verbose_link_cmd"`; do
12842 # Some compilers place space between "-{L,R}" and the path.
12843 # Remove the space.
12844 if test $p = "-L" ||
12845 test $p = "-R"; then
12852 if test "$pre_test_object_deps_done" = no; then
12855 # Internal compiler library paths should come after those
12856 # provided the user. The postdeps already come after the
12857 # user supplied libs so there is no need to process them.
12858 if test -z "$compiler_lib_search_path_CXX"; then
12859 compiler_lib_search_path_CXX="${prev}${p}"
12861 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12864 # The "-l" case would never come before the object being
12865 # linked, so don't bother handling this case.
12868 if test -z "$postdeps_CXX"; then
12869 postdeps_CXX="${prev}${p}"
12871 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12877 # This assumes that the test object file only shows up
12878 # once in the compiler output.
12879 if test "$p" = "conftest.$objext"; then
12880 pre_test_object_deps_done=yes
12884 if test "$pre_test_object_deps_done" = no; then
12885 if test -z "$predep_objects_CXX"; then
12886 predep_objects_CXX="$p"
12888 predep_objects_CXX="$predep_objects_CXX $p"
12891 if test -z "$postdep_objects_CXX"; then
12892 postdep_objects_CXX="$p"
12894 postdep_objects_CXX="$postdep_objects_CXX $p"
12899 *) ;; # Ignore the rest.
12907 echo "libtool.m4: error: problem compiling CXX test program"
12910 $RM -f confest.$objext
12912 # PORTME: override above test on systems where it is broken
12915 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12916 # hack all around it, let's just trust "g++" to DTRT.
12917 predep_objects_CXX=
12918 postdep_objects_CXX=
12923 case `$CC -V 2>&1 | sed 5q` in
12927 # The more standards-conforming stlport4 library is
12928 # incompatible with the Cstd library. Avoid specifying
12929 # it if it's in CXXFLAGS. Ignore libCrun as
12930 # -library=stlport4 depends on it.
12931 case " $CXX $CXXFLAGS " in
12932 *" -library=stlport4 "*)
12933 solaris_use_stlport4=yes
12937 if test "$solaris_use_stlport4" != yes; then
12938 postdeps_CXX='-library=Cstd -library=Crun'
12945 case $cc_basename in
12947 # The more standards-conforming stlport4 library is
12948 # incompatible with the Cstd library. Avoid specifying
12949 # it if it's in CXXFLAGS. Ignore libCrun as
12950 # -library=stlport4 depends on it.
12951 case " $CXX $CXXFLAGS " in
12952 *" -library=stlport4 "*)
12953 solaris_use_stlport4=yes
12957 # Adding this requires a known-good setup of shared libraries for
12958 # Sun compiler versions before 5.6, else PIC objects from an old
12959 # archive will be linked into the output, leading to subtle bugs.
12960 if test "$solaris_use_stlport4" != yes; then
12961 postdeps_CXX='-library=Cstd -library=Crun'
12969 case " $postdeps_CXX " in
12970 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12972 compiler_lib_search_dirs_CXX=
12973 if test -n "${compiler_lib_search_path_CXX}"; then
12974 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13007 lt_prog_compiler_wl_CXX=
13008 lt_prog_compiler_pic_CXX=
13009 lt_prog_compiler_static_CXX=
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13012 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13014 # C++ specific cases for pic, static, wl, etc.
13015 if test "$GXX" = yes; then
13016 lt_prog_compiler_wl_CXX='-Wl,'
13017 lt_prog_compiler_static_CXX='-static'
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'
13031 # see comment about AmigaOS4 .so support
13032 lt_prog_compiler_pic_CXX='-fPIC'
13035 # FIXME: we need at least 68020 code to build shared libraries, but
13036 # adding the `-m68020' flag to GCC prevents building anything better,
13038 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13043 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13044 # PIC is the default for these OSes.
13046 mingw* | cygwin* | os2* | pw32* | cegcc*)
13047 # This hack is so that the source file can tell whether it is being
13048 # built for inclusion in a dll (and should export symbols for example).
13049 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13050 # (--disable-auto-import) libraries
13051 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13053 darwin* | rhapsody*)
13054 # PIC is the default on this platform
13055 # Common symbols not allowed in MH_DYLIB files
13056 lt_prog_compiler_pic_CXX='-fno-common'
13059 # DJGPP does not support shared libraries at all
13060 lt_prog_compiler_pic_CXX=
13063 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13064 # Instead, we relocate shared libraries at runtime.
13067 if test -d /usr/nec; then
13068 lt_prog_compiler_pic_CXX=-Kconform_pic
13072 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13073 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13074 # sets the default TLS model and affects inlining.
13079 lt_prog_compiler_pic_CXX='-fPIC'
13084 # QNX uses GNU C++, but need to define -shared option too, otherwise
13085 # it will coredump.
13086 lt_prog_compiler_pic_CXX='-fPIC -shared'
13089 lt_prog_compiler_pic_CXX='-fPIC'
13095 # All AIX code is PIC.
13096 if test "$host_cpu" = ia64; then
13097 # AIX 5 now supports IA64 processor
13098 lt_prog_compiler_static_CXX='-Bstatic'
13100 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13104 case $cc_basename in
13106 # Green Hills C++ Compiler
13107 # _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"
13112 case $cc_basename in
13114 lt_prog_compiler_pic_CXX='-KPIC'
13117 # Green Hills C++ Compiler
13118 lt_prog_compiler_pic_CXX='-pic'
13124 freebsd* | dragonfly*)
13125 # FreeBSD uses GNU C++
13127 hpux9* | hpux10* | hpux11*)
13128 case $cc_basename in
13130 lt_prog_compiler_wl_CXX='-Wl,'
13131 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13132 if test "$host_cpu" != ia64; then
13133 lt_prog_compiler_pic_CXX='+Z'
13137 lt_prog_compiler_wl_CXX='-Wl,'
13138 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13144 lt_prog_compiler_pic_CXX='+Z'
13153 # This is c89, which is MS Visual C++ (no shared libs)
13154 # Anyone wants to do a port?
13156 irix5* | irix6* | nonstopux*)
13157 case $cc_basename in
13159 lt_prog_compiler_wl_CXX='-Wl,'
13160 lt_prog_compiler_static_CXX='-non_shared'
13161 # CC pic flag -KPIC is the default.
13167 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13168 case $cc_basename in
13171 lt_prog_compiler_wl_CXX='--backend -Wl,'
13172 lt_prog_compiler_pic_CXX='-fPIC'
13175 # old Intel C++ for x86_64 which still supported -KPIC.
13176 lt_prog_compiler_wl_CXX='-Wl,'
13177 lt_prog_compiler_pic_CXX='-KPIC'
13178 lt_prog_compiler_static_CXX='-static'
13181 # Intel C++, used to be incompatible with GCC.
13182 # ICC 10 doesn't accept -KPIC any more.
13183 lt_prog_compiler_wl_CXX='-Wl,'
13184 lt_prog_compiler_pic_CXX='-fPIC'
13185 lt_prog_compiler_static_CXX='-static'
13188 # Portland Group C++ compiler
13189 lt_prog_compiler_wl_CXX='-Wl,'
13190 lt_prog_compiler_pic_CXX='-fpic'
13191 lt_prog_compiler_static_CXX='-Bstatic'
13195 # Make sure the PIC flag is empty. It appears that all Alpha
13196 # Linux and Compaq Tru64 Unix objects are PIC.
13197 lt_prog_compiler_pic_CXX=
13198 lt_prog_compiler_static_CXX='-non_shared'
13201 # IBM XL 8.0 on PPC
13202 lt_prog_compiler_wl_CXX='-Wl,'
13203 lt_prog_compiler_pic_CXX='-qpic'
13204 lt_prog_compiler_static_CXX='-qstaticlink'
13207 case `$CC -V 2>&1 | sed 5q` in
13210 lt_prog_compiler_pic_CXX='-KPIC'
13211 lt_prog_compiler_static_CXX='-Bstatic'
13212 lt_prog_compiler_wl_CXX='-Qoption ld '
13223 case $cc_basename in
13225 lt_prog_compiler_pic_CXX='-W c,exportall'
13231 netbsd* | netbsdelf*-gnu)
13234 # QNX uses GNU C++, but need to define -shared option too, otherwise
13235 # it will coredump.
13236 lt_prog_compiler_pic_CXX='-fPIC -shared'
13238 osf3* | osf4* | osf5*)
13239 case $cc_basename in
13241 lt_prog_compiler_wl_CXX='--backend -Wl,'
13244 # Rational C++ 2.4.1
13245 lt_prog_compiler_pic_CXX='-pic'
13248 # Digital/Compaq C++
13249 lt_prog_compiler_wl_CXX='-Wl,'
13250 # Make sure the PIC flag is empty. It appears that all Alpha
13251 # Linux and Compaq Tru64 Unix objects are PIC.
13252 lt_prog_compiler_pic_CXX=
13253 lt_prog_compiler_static_CXX='-non_shared'
13262 case $cc_basename in
13264 # Sun C++ 4.2, 5.x and Centerline C++
13265 lt_prog_compiler_pic_CXX='-KPIC'
13266 lt_prog_compiler_static_CXX='-Bstatic'
13267 lt_prog_compiler_wl_CXX='-Qoption ld '
13270 # Green Hills C++ Compiler
13271 lt_prog_compiler_pic_CXX='-PIC'
13278 case $cc_basename in
13281 lt_prog_compiler_pic_CXX='-pic'
13282 lt_prog_compiler_static_CXX='-Bstatic'
13286 lt_prog_compiler_pic_CXX='-pic'
13292 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13293 case $cc_basename in
13295 lt_prog_compiler_wl_CXX='-Wl,'
13296 lt_prog_compiler_pic_CXX='-KPIC'
13297 lt_prog_compiler_static_CXX='-Bstatic'
13302 case $cc_basename in
13304 # NonStop-UX NCC 3.20
13305 lt_prog_compiler_pic_CXX='-KPIC'
13314 lt_prog_compiler_can_build_shared_CXX=no
13320 # For platforms which do not support PIC, -DPIC is meaningless:
13322 lt_prog_compiler_pic_CXX=
13325 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13329 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13334 # Check to make sure the PIC flag actually works.
13336 if test -n "$lt_prog_compiler_pic_CXX"; then
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13338 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13339 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13340 $as_echo_n "(cached) " >&6
13342 lt_cv_prog_compiler_pic_works_CXX=no
13343 ac_outfile=conftest.$ac_objext
13344 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13345 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13346 # Insert the option either (1) after the last *FLAGS variable, or
13347 # (2) before a word containing "conftest.", or (3) at the end.
13348 # Note that $ac_compile itself does not contain backslashes and begins
13349 # with a dollar sign (not a hyphen), so the echo should work correctly.
13350 # The option is referenced via a variable to avoid confusing sed.
13351 lt_compile=`echo "$ac_compile" | $SED \
13352 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13353 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13354 -e 's:$: $lt_compiler_flag:'`
13355 (eval echo "\"\$as_me:13355: $lt_compile\"" >&5)
13356 (eval "$lt_compile" 2>conftest.err)
13358 cat conftest.err >&5
13359 echo "$as_me:13359: \$? = $ac_status" >&5
13360 if (exit $ac_status) && test -s "$ac_outfile"; then
13361 # The compiler can only warn and ignore the option if not recognized
13362 # So say no if there are warnings other than the usual output.
13363 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13364 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13365 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13366 lt_cv_prog_compiler_pic_works_CXX=yes
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13373 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13375 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13376 case $lt_prog_compiler_pic_CXX in
13378 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13381 lt_prog_compiler_pic_CXX=
13382 lt_prog_compiler_can_build_shared_CXX=no
13390 # Check to make sure the static flag actually works.
13392 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13394 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13395 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13396 $as_echo_n "(cached) " >&6
13398 lt_cv_prog_compiler_static_works_CXX=no
13399 save_LDFLAGS="$LDFLAGS"
13400 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13401 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13402 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13403 # The linker can only warn and ignore the option if not recognized
13404 # So say no if there are warnings
13405 if test -s conftest.err; then
13406 # Append any errors to the config.log.
13407 cat conftest.err 1>&5
13408 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13409 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13410 if diff conftest.exp conftest.er2 >/dev/null; then
13411 lt_cv_prog_compiler_static_works_CXX=yes
13414 lt_cv_prog_compiler_static_works_CXX=yes
13418 LDFLAGS="$save_LDFLAGS"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13422 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13424 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13427 lt_prog_compiler_static_CXX=
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13434 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13435 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13436 $as_echo_n "(cached) " >&6
13438 lt_cv_prog_compiler_c_o_CXX=no
13439 $RM -r conftest 2>/dev/null
13443 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13445 lt_compiler_flag="-o out/conftest2.$ac_objext"
13446 # Insert the option either (1) after the last *FLAGS variable, or
13447 # (2) before a word containing "conftest.", or (3) at the end.
13448 # Note that $ac_compile itself does not contain backslashes and begins
13449 # with a dollar sign (not a hyphen), so the echo should work correctly.
13450 lt_compile=`echo "$ac_compile" | $SED \
13451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13453 -e 's:$: $lt_compiler_flag:'`
13454 (eval echo "\"\$as_me:13454: $lt_compile\"" >&5)
13455 (eval "$lt_compile" 2>out/conftest.err)
13457 cat out/conftest.err >&5
13458 echo "$as_me:13458: \$? = $ac_status" >&5
13459 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13461 # The compiler can only warn and ignore the option if not recognized
13462 # So say no if there are warnings
13463 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13464 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13465 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13466 lt_cv_prog_compiler_c_o_CXX=yes
13471 # SGI C++ compiler will create directory out/ii_files/ for
13472 # template instantiation
13473 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13474 $RM out/* && rmdir out
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13481 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13486 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13487 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13488 $as_echo_n "(cached) " >&6
13490 lt_cv_prog_compiler_c_o_CXX=no
13491 $RM -r conftest 2>/dev/null
13495 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13497 lt_compiler_flag="-o out/conftest2.$ac_objext"
13498 # Insert the option either (1) after the last *FLAGS variable, or
13499 # (2) before a word containing "conftest.", or (3) at the end.
13500 # Note that $ac_compile itself does not contain backslashes and begins
13501 # with a dollar sign (not a hyphen), so the echo should work correctly.
13502 lt_compile=`echo "$ac_compile" | $SED \
13503 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13505 -e 's:$: $lt_compiler_flag:'`
13506 (eval echo "\"\$as_me:13506: $lt_compile\"" >&5)
13507 (eval "$lt_compile" 2>out/conftest.err)
13509 cat out/conftest.err >&5
13510 echo "$as_me:13510: \$? = $ac_status" >&5
13511 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13513 # The compiler can only warn and ignore the option if not recognized
13514 # So say no if there are warnings
13515 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13516 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13517 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13518 lt_cv_prog_compiler_c_o_CXX=yes
13523 # SGI C++ compiler will create directory out/ii_files/ for
13524 # template instantiation
13525 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13526 $RM out/* && rmdir out
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13533 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13538 hard_links="nottested"
13539 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13540 # do not overwrite the value of need_locks provided by the user
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13542 $as_echo_n "checking if we can lock with hard links... " >&6; }
13545 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13547 ln conftest.a conftest.b 2>&5 || hard_links=no
13548 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13550 $as_echo "$hard_links" >&6; }
13551 if test "$hard_links" = no; then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13553 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13563 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13565 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13568 # If we're using GNU nm, then we don't want the "-C" option.
13569 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13570 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13571 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'
13573 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'
13577 export_symbols_cmds_CXX="$ltdll_cmds"
13579 cygwin* | mingw* | cegcc*)
13580 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'
13582 linux* | k*bsd*-gnu)
13583 link_all_deplibs_CXX=no
13586 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13589 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13592 $as_echo "$ld_shlibs_CXX" >&6; }
13593 test "$ld_shlibs_CXX" = no && can_build_shared=no
13595 with_gnu_ld_CXX=$with_gnu_ld
13603 # Do we need to explicitly link libc?
13605 case "x$archive_cmds_need_lc_CXX" in
13607 # Assume -lc should be added
13608 archive_cmds_need_lc_CXX=yes
13610 if test "$enable_shared" = yes && test "$GCC" = yes; then
13611 case $archive_cmds_CXX in
13613 # FIXME: we may have to deal with multi-command sequences.
13616 # Test whether the compiler implicitly links with -lc since on some
13617 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13618 # to ld, don't add -lc before -lgcc.
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13620 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13622 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13625 (eval $ac_compile) 2>&5
13627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13628 test $ac_status = 0; } 2>conftest.err; then
13631 libobjs=conftest.$ac_objext
13633 wl=$lt_prog_compiler_wl_CXX
13634 pic_flag=$lt_prog_compiler_pic_CXX
13640 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13641 allow_undefined_flag_CXX=
13642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13643 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13646 test $ac_status = 0; }
13648 archive_cmds_need_lc_CXX=no
13650 archive_cmds_need_lc_CXX=yes
13652 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13654 cat conftest.err 1>&5
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13658 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13729 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13731 library_names_spec=
13732 libname_spec='lib$name'
13736 postuninstall_cmds=
13740 shlibpath_overrides_runpath=unknown
13742 dynamic_linker="$host_os ld.so"
13743 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13744 need_lib_prefix=unknown
13745 hardcode_into_libs=no
13747 # when you set need_version to no, make sure it does not cause -set_version
13748 # flags to be left without arguments
13749 need_version=unknown
13754 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13755 shlibpath_var=LIBPATH
13757 # AIX 3 has no versioning support, so we append a major version to the name.
13758 soname_spec='${libname}${release}${shared_ext}$major'
13765 hardcode_into_libs=yes
13766 if test "$host_cpu" = ia64; then
13767 # AIX 5 supports IA64
13768 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13769 shlibpath_var=LD_LIBRARY_PATH
13771 # With GCC up to 2.95.x, collect2 would create an import file
13772 # for dependence libraries. The import file would start with
13773 # the line `#! .'. This would cause the generated library to
13774 # depend on `.', always an invalid library. This was fixed in
13775 # development snapshots of GCC prior to 3.0.
13777 aix4 | aix4.[01] | aix4.[01].*)
13778 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13780 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13783 can_build_shared=no
13787 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13788 # soname into executable. Probably we can add versioning support to
13789 # collect2, so additional links can be useful in future.
13790 if test "$aix_use_runtimelinking" = yes; then
13791 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13792 # instead of lib<name>.a to let people know that these are not
13793 # typical AIX shared libraries.
13794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13796 # We preserve .a as extension for shared libraries through AIX4.2
13797 # and later when we are not doing run time linking.
13798 library_names_spec='${libname}${release}.a $libname.a'
13799 soname_spec='${libname}${release}${shared_ext}$major'
13801 shlibpath_var=LIBPATH
13808 # Since July 2007 AmigaOS4 officially supports .so libraries.
13809 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13813 library_names_spec='$libname.ixlibrary $libname.a'
13814 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13815 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'
13821 library_names_spec='${libname}${shared_ext}'
13822 dynamic_linker="$host_os ld.so"
13823 shlibpath_var=LIBRARY_PATH
13829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13830 soname_spec='${libname}${release}${shared_ext}$major'
13831 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13832 shlibpath_var=LD_LIBRARY_PATH
13833 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13834 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13835 # the default ld.so.conf also contains /usr/contrib/lib and
13836 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13837 # libtool to hard-code these into programs
13840 cygwin* | mingw* | pw32* | cegcc*)
13841 version_type=windows
13846 case $GCC,$host_os in
13847 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13848 library_names_spec='$libname.dll.a'
13849 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13850 postinstall_cmds='base_file=`basename \${file}`~
13851 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13852 dldir=$destdir/`dirname \$dlpath`~
13853 test -d \$dldir || mkdir -p \$dldir~
13854 $install_prog $dir/$dlname \$dldir/$dlname~
13855 chmod a+x \$dldir/$dlname~
13856 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13857 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13859 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13860 dlpath=$dir/\$dldll~
13862 shlibpath_overrides_runpath=yes
13866 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13867 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13868 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13871 # MinGW DLLs use traditional 'lib' prefix
13872 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13873 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13874 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13875 # It is most probably a Windows format PATH printed by
13876 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13877 # path with ; separators, and with drive letters. We can handle the
13878 # drive letters (cygwin fileutils understands them), so leave them,
13879 # especially as we might pass files found there to a mingw objdump,
13880 # which wouldn't understand a cygwinified path. Ahh.
13881 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13883 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13887 # pw32 DLLs use 'pw' prefix rather than 'lib'
13888 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13894 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13897 dynamic_linker='Win32 ld.exe'
13898 # FIXME: first we should search . and the directory the executable is in
13902 darwin* | rhapsody*)
13903 dynamic_linker="$host_os dyld"
13904 version_type=darwin
13907 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13908 soname_spec='${libname}${release}${major}$shared_ext'
13909 shlibpath_overrides_runpath=yes
13910 shlibpath_var=DYLD_LIBRARY_PATH
13911 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13913 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13921 soname_spec='${libname}${release}${shared_ext}$major'
13922 shlibpath_var=LD_LIBRARY_PATH
13929 freebsd* | dragonfly*)
13930 # DragonFly does not have aout. When/if they implement a new
13931 # versioning mechanism, adjust this.
13932 if test -x /usr/bin/objformat; then
13933 objformat=`/usr/bin/objformat`
13936 freebsd[123]*) objformat=aout ;;
13937 *) objformat=elf ;;
13940 version_type=freebsd-$objformat
13941 case $version_type in
13943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13948 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13952 shlibpath_var=LD_LIBRARY_PATH
13955 shlibpath_overrides_runpath=yes
13957 freebsd3.[01]* | freebsdelf3.[01]*)
13958 shlibpath_overrides_runpath=yes
13959 hardcode_into_libs=yes
13961 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13962 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13963 shlibpath_overrides_runpath=no
13964 hardcode_into_libs=yes
13966 *) # from 4.6 on, and DragonFly
13967 shlibpath_overrides_runpath=yes
13968 hardcode_into_libs=yes
13977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13978 soname_spec='${libname}${release}${shared_ext}$major'
13979 shlibpath_var=LD_LIBRARY_PATH
13980 hardcode_into_libs=yes
13983 hpux9* | hpux10* | hpux11*)
13984 # Give a soname corresponding to the major version so that dld.sl refuses to
13985 # link against other versions.
13992 hardcode_into_libs=yes
13993 dynamic_linker="$host_os dld.so"
13994 shlibpath_var=LD_LIBRARY_PATH
13995 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13997 soname_spec='${libname}${release}${shared_ext}$major'
13998 if test "X$HPUX_IA64_MODE" = X32; then
13999 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14001 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14003 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14007 hardcode_into_libs=yes
14008 dynamic_linker="$host_os dld.sl"
14009 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14010 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012 soname_spec='${libname}${release}${shared_ext}$major'
14013 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14014 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14018 dynamic_linker="$host_os dld.sl"
14019 shlibpath_var=SHLIB_PATH
14020 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14022 soname_spec='${libname}${release}${shared_ext}$major'
14025 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14026 postinstall_cmds='chmod 555 $lib'
14033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14034 soname_spec='${libname}${release}${shared_ext}$major'
14035 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14036 shlibpath_var=LD_LIBRARY_PATH
14037 shlibpath_overrides_runpath=no
14038 hardcode_into_libs=yes
14041 irix5* | irix6* | nonstopux*)
14043 nonstopux*) version_type=nonstopux ;;
14045 if test "$lt_cv_prog_gnu_ld" = yes; then
14053 soname_spec='${libname}${release}${shared_ext}$major'
14054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14056 irix5* | nonstopux*)
14057 libsuff= shlibsuff=
14060 case $LD in # libtool.m4 will add one of these switches to LD
14061 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14062 libsuff= shlibsuff= libmagic=32-bit;;
14063 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14064 libsuff=32 shlibsuff=N32 libmagic=N32;;
14065 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14066 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14067 *) libsuff= shlibsuff= libmagic=never-match;;
14071 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14072 shlibpath_overrides_runpath=no
14073 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14074 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14075 hardcode_into_libs=yes
14078 # No shared lib support for Linux oldld, aout, or coff.
14079 linux*oldld* | linux*aout* | linux*coff*)
14083 # This must be Linux ELF.
14084 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14089 soname_spec='${libname}${release}${shared_ext}$major'
14090 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14091 shlibpath_var=LD_LIBRARY_PATH
14092 shlibpath_overrides_runpath=no
14093 # Some binutils ld are patched to set DT_RUNPATH
14094 save_LDFLAGS=$LDFLAGS
14095 save_libdir=$libdir
14096 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14097 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14109 if ac_fn_cxx_try_link "$LINENO"; then :
14110 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14111 shlibpath_overrides_runpath=yes
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LDFLAGS=$save_LDFLAGS
14117 libdir=$save_libdir
14119 # This implies no fast_install, which is unacceptable.
14120 # Some rework will be needed to allow for fast_install
14121 # before this can be enabled.
14122 hardcode_into_libs=yes
14124 # Append ld.so.conf contents to the search path
14125 if test -f /etc/ld.so.conf; then
14126 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' ' '`
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14130 # We used to test for /lib/ld.so.1 and disable shared libraries on
14131 # powerpc, because MkLinux only supported shared libraries with the
14132 # GNU dynamic linker. Since this was broken with cross compilers,
14133 # most powerpc-linux boxes support dynamic linking these days and
14134 # people can always --disable-shared, the test was removed, and we
14135 # assume the GNU/Linux dynamic linker is in use.
14136 dynamic_linker='GNU/Linux ld.so'
14143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14144 soname_spec='${libname}${release}${shared_ext}$major'
14145 shlibpath_var=LD_LIBRARY_PATH
14146 shlibpath_overrides_runpath=no
14147 hardcode_into_libs=yes
14148 dynamic_linker='NetBSD ld.elf_so'
14155 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14157 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14158 dynamic_linker='NetBSD (a.out) ld.so'
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14161 soname_spec='${libname}${release}${shared_ext}$major'
14162 dynamic_linker='NetBSD ld.elf_so'
14164 shlibpath_var=LD_LIBRARY_PATH
14165 shlibpath_overrides_runpath=yes
14166 hardcode_into_libs=yes
14171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14172 shlibpath_var=LD_LIBRARY_PATH
14173 shlibpath_overrides_runpath=yes
14180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14181 soname_spec='${libname}${release}${shared_ext}$major'
14182 shlibpath_var=LD_LIBRARY_PATH
14183 shlibpath_overrides_runpath=no
14184 hardcode_into_libs=yes
14185 dynamic_linker='ldqnx.so'
14190 sys_lib_dlsearch_path_spec="/usr/lib"
14192 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14194 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14195 *) need_version=no ;;
14197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14198 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14199 shlibpath_var=LD_LIBRARY_PATH
14200 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14202 openbsd2.[89] | openbsd2.[89].*)
14203 shlibpath_overrides_runpath=no
14206 shlibpath_overrides_runpath=yes
14210 shlibpath_overrides_runpath=yes
14215 libname_spec='$name'
14218 library_names_spec='$libname${shared_ext} $libname.a'
14219 dynamic_linker='OS/2 ld.exe'
14220 shlibpath_var=LIBPATH
14223 osf3* | osf4* | osf5*)
14227 soname_spec='${libname}${release}${shared_ext}$major'
14228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229 shlibpath_var=LD_LIBRARY_PATH
14230 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14231 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14243 soname_spec='${libname}${release}${shared_ext}$major'
14244 shlibpath_var=LD_LIBRARY_PATH
14245 shlibpath_overrides_runpath=yes
14246 hardcode_into_libs=yes
14247 # ldd complains unless libraries are executable
14248 postinstall_cmds='chmod +x $lib'
14253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14254 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 shlibpath_overrides_runpath=yes
14257 if test "$with_gnu_ld" = yes; then
14265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14266 soname_spec='${libname}${release}${shared_ext}$major'
14267 shlibpath_var=LD_LIBRARY_PATH
14268 case $host_vendor in
14270 shlibpath_overrides_runpath=no
14272 runpath_var=LD_RUN_PATH
14280 shlibpath_overrides_runpath=no
14281 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14287 if test -d /usr/nec ;then
14289 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14290 soname_spec='$libname${shared_ext}.$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14295 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14296 version_type=freebsd-elf
14299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14300 soname_spec='${libname}${release}${shared_ext}$major'
14301 shlibpath_var=LD_LIBRARY_PATH
14302 shlibpath_overrides_runpath=yes
14303 hardcode_into_libs=yes
14304 if test "$with_gnu_ld" = yes; then
14305 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14307 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14310 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14314 sys_lib_dlsearch_path_spec='/usr/lib'
14318 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 shlibpath_overrides_runpath=no
14325 hardcode_into_libs=yes
14330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14331 soname_spec='${libname}${release}${shared_ext}$major'
14332 shlibpath_var=LD_LIBRARY_PATH
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14340 $as_echo "$dynamic_linker" >&6; }
14341 test "$dynamic_linker" = no && can_build_shared=no
14343 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14344 if test "$GCC" = yes; then
14345 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14348 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14349 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14351 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14352 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14391 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14392 hardcode_action_CXX=
14393 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14394 test -n "$runpath_var_CXX" ||
14395 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14397 # We can hardcode non-existent directories.
14398 if test "$hardcode_direct_CXX" != no &&
14399 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14400 # have to relink, otherwise we might link with an installed library
14401 # when we should be linking with a yet-to-be-installed one
14402 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14403 test "$hardcode_minus_L_CXX" != no; then
14404 # Linking always hardcodes the temporary library directory.
14405 hardcode_action_CXX=relink
14407 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14408 hardcode_action_CXX=immediate
14411 # We cannot hardcode anything, or else we can only hardcode existing
14413 hardcode_action_CXX=unsupported
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14416 $as_echo "$hardcode_action_CXX" >&6; }
14418 if test "$hardcode_action_CXX" = relink ||
14419 test "$inherit_rpath_CXX" = yes; then
14420 # Fast installation is not supported
14421 enable_fast_install=no
14422 elif test "$shlibpath_overrides_runpath" = yes ||
14423 test "$enable_shared" = no; then
14424 # Fast installation is not necessary
14425 enable_fast_install=needless
14434 fi # test -n "$compiler"
14440 with_gnu_ld=$lt_save_with_gnu_ld
14441 lt_cv_path_LDCXX=$lt_cv_path_LD
14442 lt_cv_path_LD=$lt_save_path_LD
14443 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14444 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14445 fi # test "$_lt_caught_CXX_error" != yes
14448 ac_cpp='$CPP $CPPFLAGS'
14449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14465 ac_config_commands="$ac_config_commands libtool"
14470 # Only expand once:
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
14476 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
14478 save_CFLAGS="$CFLAGS"
14479 CFLAGS="$CFLAGS -Wall"
14481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14492 if ac_fn_c_try_compile "$LINENO"; then :
14497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14498 CFLAGS="$save_CFLAGS"
14500 if test "X$flag_ok" = Xyes ; then
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14508 $as_echo "$flag_ok" >&6; }
14511 if test "x$GST_WALL" = "xyes"; then
14512 GST_ERROR="$GST_ERROR -Wall"
14514 # if test "x$GST_PLUGIN_CVS" = "xyes"; then
14515 # AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
14519 # Extract the first word of "pkg-config", so it can be a program name with args.
14520 set dummy pkg-config; ac_word=$2
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14522 $as_echo_n "checking for $ac_word... " >&6; }
14523 if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then :
14524 $as_echo_n "(cached) " >&6
14526 if test -n "$HAVE_PKGCONFIG"; then
14527 ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
14529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14530 for as_dir in $PATH
14533 test -z "$as_dir" && as_dir=.
14534 for ac_exec_ext in '' $ac_executable_extensions; do
14535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14536 ac_cv_prog_HAVE_PKGCONFIG="yes"
14537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14544 test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
14547 HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
14548 if test -n "$HAVE_PKGCONFIG"; then
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKGCONFIG" >&5
14550 $as_echo "$HAVE_PKGCONFIG" >&6; }
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14553 $as_echo "no" >&6; }
14558 if test "x$HAVE_PKGCONFIG" = "xno"; then
14559 as_fn_error $? "you need to have pkgconfig installed !" "$LINENO" 5
14562 if test "x$DISTRO" = "xvodafone-sdk"; then
14564 IS_VODA_SDK_FALSE='#'
14566 IS_VODA_SDK_TRUE='#'
14570 if test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xprotector"; then
14571 ISPROTECTOR_VODA_SDK_TRUE=
14572 ISPROTECTOR_VODA_SDK_FALSE='#'
14574 ISPROTECTOR_VODA_SDK_TRUE='#'
14575 ISPROTECTOR_VODA_SDK_FALSE=
14578 if test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xvolans"; then
14579 ISVOLANS_VODA_SDK_TRUE=
14580 ISVOLANS_VODA_SDK_FALSE='#'
14582 ISVOLANS_VODA_SDK_TRUE='#'
14583 ISVOLANS_VODA_SDK_FALSE=
14586 if test "x$ARCH" = "xarm" && test "x$MACHINE" = "xprotector"; then
14587 ISPROTECTOR_TARGET_TRUE=
14588 ISPROTECTOR_TARGET_FALSE='#'
14590 ISPROTECTOR_TARGET_TRUE='#'
14591 ISPROTECTOR_TARGET_FALSE=
14594 if test "x$ARCH" = "xarm" && test "x$MACHINE" = "xvolans"; then
14595 ISVOLANS_TARGET_TRUE=
14596 ISVOLANS_TARGET_FALSE='#'
14598 ISVOLANS_TARGET_TRUE='#'
14599 ISVOLANS_TARGET_FALSE=
14605 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14606 if test -n "$ac_tool_prefix"; then
14607 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14608 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14610 $as_echo_n "checking for $ac_word... " >&6; }
14611 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14612 $as_echo_n "(cached) " >&6
14614 case $PKG_CONFIG in
14616 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14620 for as_dir in $PATH
14623 test -z "$as_dir" && as_dir=.
14624 for ac_exec_ext in '' $ac_executable_extensions; do
14625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14626 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14637 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14638 if test -n "$PKG_CONFIG"; then
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14640 $as_echo "$PKG_CONFIG" >&6; }
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14643 $as_echo "no" >&6; }
14648 if test -z "$ac_cv_path_PKG_CONFIG"; then
14649 ac_pt_PKG_CONFIG=$PKG_CONFIG
14650 # Extract the first word of "pkg-config", so it can be a program name with args.
14651 set dummy pkg-config; ac_word=$2
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14653 $as_echo_n "checking for $ac_word... " >&6; }
14654 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14655 $as_echo_n "(cached) " >&6
14657 case $ac_pt_PKG_CONFIG in
14659 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14663 for as_dir in $PATH
14666 test -z "$as_dir" && as_dir=.
14667 for ac_exec_ext in '' $ac_executable_extensions; do
14668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14669 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14680 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14681 if test -n "$ac_pt_PKG_CONFIG"; then
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14683 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14686 $as_echo "no" >&6; }
14689 if test "x$ac_pt_PKG_CONFIG" = x; then
14692 case $cross_compiling:$ac_tool_warned in
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14696 ac_tool_warned=yes ;;
14698 PKG_CONFIG=$ac_pt_PKG_CONFIG
14701 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14705 if test -n "$PKG_CONFIG"; then
14706 _pkg_min_version=0.9.0
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14708 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14709 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14711 $as_echo "yes" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14714 $as_echo "no" >&6; }
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
14722 $as_echo_n "checking for GST... " >&6; }
14724 if test -n "$PKG_CONFIG"; then
14725 if test -n "$GST_CFLAGS"; then
14726 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
14728 if test -n "$PKG_CONFIG" && \
14729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14730 gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
14731 ($PKG_CONFIG --exists --print-errors "\
14732 gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
14734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14735 test $ac_status = 0; }; then
14736 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "\
14737 gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
14745 if test -n "$PKG_CONFIG"; then
14746 if test -n "$GST_LIBS"; then
14747 pkg_cv_GST_LIBS="$GST_LIBS"
14749 if test -n "$PKG_CONFIG" && \
14750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14751 gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
14752 ($PKG_CONFIG --exists --print-errors "\
14753 gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
14755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14756 test $ac_status = 0; }; then
14757 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "\
14758 gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
14767 if test $pkg_failed = yes; then
14768 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
14769 gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
14770 # Put the nasty error message in config.log where it belongs
14771 echo "$GST_PKG_ERRORS" 1>&5
14774 elif test $pkg_failed = untried; then
14777 GST_CFLAGS=$pkg_cv_GST_CFLAGS
14778 GST_LIBS=$pkg_cv_GST_LIBS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14780 $as_echo "yes" >&6; }
14784 if test "x$HAVE_GST" = "xno"; then
14785 as_fn_error $? "you need gstreamer development packages installed !" "$LINENO" 5
14788 GST_CFLAGS="$GST_CFLAGS $GST_ERROR"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
14793 $as_echo_n "checking for GST... " >&6; }
14795 if test -n "$PKG_CONFIG"; then
14796 if test -n "$GST_CFLAGS"; then
14797 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
14799 if test -n "$PKG_CONFIG" && \
14800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10\""; } >&5
14801 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10") 2>&5
14803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14804 test $ac_status = 0; }; then
14805 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 >= 0.10" 2>/dev/null`
14813 if test -n "$PKG_CONFIG"; then
14814 if test -n "$GST_LIBS"; then
14815 pkg_cv_GST_LIBS="$GST_LIBS"
14817 if test -n "$PKG_CONFIG" && \
14818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= 0.10\""; } >&5
14819 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= 0.10") 2>&5
14821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14822 test $ac_status = 0; }; then
14823 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 >= 0.10" 2>/dev/null`
14832 if test $pkg_failed = yes; then
14833 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 >= 0.10"`
14834 # Put the nasty error message in config.log where it belongs
14835 echo "$GST_PKG_ERRORS" 1>&5
14837 as_fn_error $? "Package requirements (gstreamer-0.10 >= 0.10) were not met.
14838 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14839 installed software in a non-standard prefix.
14841 Alternatively you may set the GST_CFLAGS and GST_LIBS environment variables
14842 to avoid the need to call pkg-config. See the pkg-config man page for
14843 more details." "$LINENO" 5
14844 elif test $pkg_failed = untried; then
14845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14847 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14848 is in your PATH or set the PKG_CONFIG environment variable to the full
14849 path to pkg-config.
14851 Alternatively you may set the GST_CFLAGS and GST_LIBS environment variables
14852 to avoid the need to call pkg-config. See the pkg-config man page for
14855 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
14856 See \`config.log' for more details" "$LINENO" 5 ; }
14858 GST_CFLAGS=$pkg_cv_GST_CFLAGS
14859 GST_LIBS=$pkg_cv_GST_LIBS
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14861 $as_echo "yes" >&6; }
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
14872 $as_echo_n "checking for GST_BASE... " >&6; }
14874 if test -n "$PKG_CONFIG"; then
14875 if test -n "$GST_BASE_CFLAGS"; then
14876 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
14878 if test -n "$PKG_CONFIG" && \
14879 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
14880 ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
14882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14883 test $ac_status = 0; }; then
14884 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
14892 if test -n "$PKG_CONFIG"; then
14893 if test -n "$GST_BASE_LIBS"; then
14894 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
14896 if test -n "$PKG_CONFIG" && \
14897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
14898 ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
14900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14901 test $ac_status = 0; }; then
14902 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
14911 if test $pkg_failed = yes; then
14912 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
14913 # Put the nasty error message in config.log where it belongs
14914 echo "$GST_BASE_PKG_ERRORS" 1>&5
14917 elif test $pkg_failed = untried; then
14920 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
14921 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14923 $as_echo "yes" >&6; }
14927 if test "x$HAVE_GST_BASE" = "xno"; then
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: no GStreamer base class libraries found (gstreamer-base-$GST_MAJORMINOR)" >&5
14929 $as_echo "$as_me: no GStreamer base class libraries found (gstreamer-base-$GST_MAJORMINOR)" >&6;}
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTPB_BASE" >&5
14938 $as_echo_n "checking for GSTPB_BASE... " >&6; }
14940 if test -n "$PKG_CONFIG"; then
14941 if test -n "$GSTPB_BASE_CFLAGS"; then
14942 pkg_cv_GSTPB_BASE_CFLAGS="$GSTPB_BASE_CFLAGS"
14944 if test -n "$PKG_CONFIG" && \
14945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\""; } >&5
14946 ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
14948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14949 test $ac_status = 0; }; then
14950 pkg_cv_GSTPB_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
14958 if test -n "$PKG_CONFIG"; then
14959 if test -n "$GSTPB_BASE_LIBS"; then
14960 pkg_cv_GSTPB_BASE_LIBS="$GSTPB_BASE_LIBS"
14962 if test -n "$PKG_CONFIG" && \
14963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\""; } >&5
14964 ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
14966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 test $ac_status = 0; }; then
14968 pkg_cv_GSTPB_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
14977 if test $pkg_failed = yes; then
14978 GSTPB_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQUIRED"`
14979 # Put the nasty error message in config.log where it belongs
14980 echo "$GSTPB_BASE_PKG_ERRORS" 1>&5
14983 elif test $pkg_failed = untried; then
14986 GSTPB_BASE_CFLAGS=$pkg_cv_GSTPB_BASE_CFLAGS
14987 GSTPB_BASE_LIBS=$pkg_cv_GSTPB_BASE_LIBS
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14989 $as_echo "yes" >&6; }
14990 HAVE_GSTPB_BASE=yes
14993 if test "x$HAVE_GSTPB_BASE" = "xno"; then
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_MAJORMINOR)" >&5
14995 $as_echo "$as_me: no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_MAJORMINOR)" >&6;}
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTCTRL" >&5
15004 $as_echo_n "checking for GSTCTRL... " >&6; }
15006 if test -n "$PKG_CONFIG"; then
15007 if test -n "$GSTCTRL_CFLAGS"; then
15008 pkg_cv_GSTCTRL_CFLAGS="$GSTCTRL_CFLAGS"
15010 if test -n "$PKG_CONFIG" && \
15011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\""; } >&5
15012 ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
15014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15015 test $ac_status = 0; }; then
15016 pkg_cv_GSTCTRL_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-controller-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
15024 if test -n "$PKG_CONFIG"; then
15025 if test -n "$GSTCTRL_LIBS"; then
15026 pkg_cv_GSTCTRL_LIBS="$GSTCTRL_LIBS"
15028 if test -n "$PKG_CONFIG" && \
15029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GSTPB_REQUIRED\""; } >&5
15030 ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GSTPB_REQUIRED") 2>&5
15032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15033 test $ac_status = 0; }; then
15034 pkg_cv_GSTCTRL_LIBS=`$PKG_CONFIG --libs "gstreamer-controller-$GST_MAJORMINOR >= $GSTPB_REQUIRED" 2>/dev/null`
15043 if test $pkg_failed = yes; then
15044 GSTCTRL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GSTPB_REQUIRED"`
15045 # Put the nasty error message in config.log where it belongs
15046 echo "$GSTCTRL_PKG_ERRORS" 1>&5
15049 elif test $pkg_failed = untried; then
15052 GSTCTRL_CFLAGS=$pkg_cv_GSTCTRL_CFLAGS
15053 GSTCTRL_LIBS=$pkg_cv_GSTCTRL_LIBS
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15055 $as_echo "yes" >&6; }
15059 if test "x$HAVE_GSTCTRL" = "xno"; then
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: no GStreamer Controller libraries found (gstreamer-controller-$GST_MAJORMINOR)" >&5
15061 $as_echo "$as_me: no GStreamer Controller libraries found (gstreamer-controller-$GST_MAJORMINOR)" >&6;}
15067 if test "x${prefix}" = "x$HOME"; then
15068 plugindir="$HOME/.gstreamer-$GST_MAJORMINOR/plugins"
15070 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
15074 #GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*'
15075 GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\|FIR_\|arkamys_malloc\|arkamys_free\).*'
15076 #GST_PLUGIN_LDFLAGS='-module -avoid-version'
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_AUDIO" >&5
15083 $as_echo_n "checking for GST_AUDIO... " >&6; }
15085 if test -n "$PKG_CONFIG"; then
15086 if test -n "$GST_AUDIO_CFLAGS"; then
15087 pkg_cv_GST_AUDIO_CFLAGS="$GST_AUDIO_CFLAGS"
15089 if test -n "$PKG_CONFIG" && \
15090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-audio-\$GST_MAJORMINOR >= \$GST_REQUIRED \""; } >&5
15091 ($PKG_CONFIG --exists --print-errors "gstreamer-audio-$GST_MAJORMINOR >= $GST_REQUIRED ") 2>&5
15093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15094 test $ac_status = 0; }; then
15095 pkg_cv_GST_AUDIO_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-audio-$GST_MAJORMINOR >= $GST_REQUIRED " 2>/dev/null`
15103 if test -n "$PKG_CONFIG"; then
15104 if test -n "$GST_AUDIO_LIBS"; then
15105 pkg_cv_GST_AUDIO_LIBS="$GST_AUDIO_LIBS"
15107 if test -n "$PKG_CONFIG" && \
15108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-audio-\$GST_MAJORMINOR >= \$GST_REQUIRED \""; } >&5
15109 ($PKG_CONFIG --exists --print-errors "gstreamer-audio-$GST_MAJORMINOR >= $GST_REQUIRED ") 2>&5
15111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15112 test $ac_status = 0; }; then
15113 pkg_cv_GST_AUDIO_LIBS=`$PKG_CONFIG --libs "gstreamer-audio-$GST_MAJORMINOR >= $GST_REQUIRED " 2>/dev/null`
15122 if test $pkg_failed = yes; then
15123 GST_AUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-audio-$GST_MAJORMINOR >= $GST_REQUIRED "`
15124 # Put the nasty error message in config.log where it belongs
15125 echo "$GST_AUDIO_PKG_ERRORS" 1>&5
15127 as_fn_error $? "Package requirements (gstreamer-audio-$GST_MAJORMINOR >= $GST_REQUIRED ) were not met.
15128 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15129 installed software in a non-standard prefix.
15131 Alternatively you may set the GST_AUDIO_CFLAGS and GST_AUDIO_LIBS environment variables
15132 to avoid the need to call pkg-config. See the pkg-config man page for
15133 more details." "$LINENO" 5
15134 elif test $pkg_failed = untried; then
15135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15137 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15138 is in your PATH or set the PKG_CONFIG environment variable to the full
15139 path to pkg-config.
15141 Alternatively you may set the GST_AUDIO_CFLAGS and GST_AUDIO_LIBS environment variables
15142 to avoid the need to call pkg-config. See the pkg-config man page for
15145 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15146 See \`config.log' for more details" "$LINENO" 5 ; }
15148 GST_AUDIO_CFLAGS=$pkg_cv_GST_AUDIO_CFLAGS
15149 GST_AUDIO_LIBS=$pkg_cv_GST_AUDIO_LIBS
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15151 $as_echo "yes" >&6; }
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_VIDEO" >&5
15162 $as_echo_n "checking for GST_VIDEO... " >&6; }
15164 if test -n "$PKG_CONFIG"; then
15165 if test -n "$GST_VIDEO_CFLAGS"; then
15166 pkg_cv_GST_VIDEO_CFLAGS="$GST_VIDEO_CFLAGS"
15168 if test -n "$PKG_CONFIG" && \
15169 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
15170 ($PKG_CONFIG --exists --print-errors "gstreamer-video-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15173 test $ac_status = 0; }; then
15174 pkg_cv_GST_VIDEO_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-video-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15182 if test -n "$PKG_CONFIG"; then
15183 if test -n "$GST_VIDEO_LIBS"; then
15184 pkg_cv_GST_VIDEO_LIBS="$GST_VIDEO_LIBS"
15186 if test -n "$PKG_CONFIG" && \
15187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-video-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
15188 ($PKG_CONFIG --exists --print-errors "gstreamer-video-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15191 test $ac_status = 0; }; then
15192 pkg_cv_GST_VIDEO_LIBS=`$PKG_CONFIG --libs "gstreamer-video-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15201 if test $pkg_failed = yes; then
15202 GST_VIDEO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-video-$GST_MAJORMINOR >= $GST_REQUIRED"`
15203 # Put the nasty error message in config.log where it belongs
15204 echo "$GST_VIDEO_PKG_ERRORS" 1>&5
15206 as_fn_error $? "Package requirements (gstreamer-video-$GST_MAJORMINOR >= $GST_REQUIRED) were not met.
15207 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15208 installed software in a non-standard prefix.
15210 Alternatively you may set the GST_VIDEO_CFLAGS and GST_VIDEO_LIBS environment variables
15211 to avoid the need to call pkg-config. See the pkg-config man page for
15212 more details." "$LINENO" 5
15213 elif test $pkg_failed = untried; then
15214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15216 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15217 is in your PATH or set the PKG_CONFIG environment variable to the full
15218 path to pkg-config.
15220 Alternatively you may set the GST_VIDEO_CFLAGS and GST_VIDEO_LIBS environment variables
15221 to avoid the need to call pkg-config. See the pkg-config man page for
15224 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15225 See \`config.log' for more details" "$LINENO" 5 ; }
15227 GST_VIDEO_CFLAGS=$pkg_cv_GST_VIDEO_CFLAGS
15228 GST_VIDEO_LIBS=$pkg_cv_GST_VIDEO_LIBS
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15230 $as_echo "yes" >&6; }
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_INTERFACES" >&5
15240 $as_echo_n "checking for GST_INTERFACES... " >&6; }
15242 if test -n "$PKG_CONFIG"; then
15243 if test -n "$GST_INTERFACES_CFLAGS"; then
15244 pkg_cv_GST_INTERFACES_CFLAGS="$GST_INTERFACES_CFLAGS"
15246 if test -n "$PKG_CONFIG" && \
15247 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
15248 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15251 test $ac_status = 0; }; then
15252 pkg_cv_GST_INTERFACES_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15260 if test -n "$PKG_CONFIG"; then
15261 if test -n "$GST_INTERFACES_LIBS"; then
15262 pkg_cv_GST_INTERFACES_LIBS="$GST_INTERFACES_LIBS"
15264 if test -n "$PKG_CONFIG" && \
15265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-\$GST_MAJORMINOR >= \$GST_REQUIRED\""; } >&5
15266 ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQUIRED") 2>&5
15268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15269 test $ac_status = 0; }; then
15270 pkg_cv_GST_INTERFACES_LIBS=`$PKG_CONFIG --libs "gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQUIRED" 2>/dev/null`
15279 if test $pkg_failed = yes; then
15280 GST_INTERFACES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQUIRED"`
15281 # Put the nasty error message in config.log where it belongs
15282 echo "$GST_INTERFACES_PKG_ERRORS" 1>&5
15284 as_fn_error $? "Package requirements (gstreamer-interfaces-$GST_MAJORMINOR >= $GST_REQUIRED) were not met.
15285 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15286 installed software in a non-standard prefix.
15288 Alternatively you may set the GST_INTERFACES_CFLAGS and GST_INTERFACES_LIBS environment variables
15289 to avoid the need to call pkg-config. See the pkg-config man page for
15290 more details." "$LINENO" 5
15291 elif test $pkg_failed = untried; then
15292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15294 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15295 is in your PATH or set the PKG_CONFIG environment variable to the full
15296 path to pkg-config.
15298 Alternatively you may set the GST_INTERFACES_CFLAGS and GST_INTERFACES_LIBS environment variables
15299 to avoid the need to call pkg-config. See the pkg-config man page for
15302 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15303 See \`config.log' for more details" "$LINENO" 5 ; }
15305 GST_INTERFACES_CFLAGS=$pkg_cv_GST_INTERFACES_CFLAGS
15306 GST_INTERFACES_LIBS=$pkg_cv_GST_INTERFACES_LIBS
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15308 $as_echo "yes" >&6; }
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MMTA" >&5
15317 $as_echo_n "checking for MMTA... " >&6; }
15319 if test -n "$PKG_CONFIG"; then
15320 if test -n "$MMTA_CFLAGS"; then
15321 pkg_cv_MMTA_CFLAGS="$MMTA_CFLAGS"
15323 if test -n "$PKG_CONFIG" && \
15324 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-ta\""; } >&5
15325 ($PKG_CONFIG --exists --print-errors "mm-ta") 2>&5
15327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15328 test $ac_status = 0; }; then
15329 pkg_cv_MMTA_CFLAGS=`$PKG_CONFIG --cflags "mm-ta" 2>/dev/null`
15337 if test -n "$PKG_CONFIG"; then
15338 if test -n "$MMTA_LIBS"; then
15339 pkg_cv_MMTA_LIBS="$MMTA_LIBS"
15341 if test -n "$PKG_CONFIG" && \
15342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-ta\""; } >&5
15343 ($PKG_CONFIG --exists --print-errors "mm-ta") 2>&5
15345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15346 test $ac_status = 0; }; then
15347 pkg_cv_MMTA_LIBS=`$PKG_CONFIG --libs "mm-ta" 2>/dev/null`
15356 if test $pkg_failed = yes; then
15357 MMTA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mm-ta"`
15358 # Put the nasty error message in config.log where it belongs
15359 echo "$MMTA_PKG_ERRORS" 1>&5
15361 as_fn_error $? "Package requirements (mm-ta) were not met.
15362 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15363 installed software in a non-standard prefix.
15365 Alternatively you may set the MMTA_CFLAGS and MMTA_LIBS environment variables
15366 to avoid the need to call pkg-config. See the pkg-config man page for
15367 more details." "$LINENO" 5
15368 elif test $pkg_failed = untried; then
15369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15371 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15372 is in your PATH or set the PKG_CONFIG environment variable to the full
15373 path to pkg-config.
15375 Alternatively you may set the MMTA_CFLAGS and MMTA_LIBS environment variables
15376 to avoid the need to call pkg-config. See the pkg-config man page for
15379 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15380 See \`config.log' for more details" "$LINENO" 5 ; }
15382 MMTA_CFLAGS=$pkg_cv_MMTA_CFLAGS
15383 MMTA_LIBS=$pkg_cv_MMTA_LIBS
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15385 $as_echo "yes" >&6; }
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EFL" >&5
15394 $as_echo_n "checking for EFL... " >&6; }
15396 if test -n "$PKG_CONFIG"; then
15397 if test -n "$EFL_CFLAGS"; then
15398 pkg_cv_EFL_CFLAGS="$EFL_CFLAGS"
15400 if test -n "$PKG_CONFIG" && \
15401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15402 evas >= \$EFL_REQUIRED
15403 ecore >= \$EFL_REQUIRED
15404 ecore-x >= \$EFL_REQUIRED
15406 ($PKG_CONFIG --exists --print-errors "
15407 evas >= $EFL_REQUIRED
15408 ecore >= $EFL_REQUIRED
15409 ecore-x >= $EFL_REQUIRED
15412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15413 test $ac_status = 0; }; then
15414 pkg_cv_EFL_CFLAGS=`$PKG_CONFIG --cflags "
15415 evas >= $EFL_REQUIRED
15416 ecore >= $EFL_REQUIRED
15417 ecore-x >= $EFL_REQUIRED
15426 if test -n "$PKG_CONFIG"; then
15427 if test -n "$EFL_LIBS"; then
15428 pkg_cv_EFL_LIBS="$EFL_LIBS"
15430 if test -n "$PKG_CONFIG" && \
15431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15432 evas >= \$EFL_REQUIRED
15433 ecore >= \$EFL_REQUIRED
15434 ecore-x >= \$EFL_REQUIRED
15436 ($PKG_CONFIG --exists --print-errors "
15437 evas >= $EFL_REQUIRED
15438 ecore >= $EFL_REQUIRED
15439 ecore-x >= $EFL_REQUIRED
15442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15443 test $ac_status = 0; }; then
15444 pkg_cv_EFL_LIBS=`$PKG_CONFIG --libs "
15445 evas >= $EFL_REQUIRED
15446 ecore >= $EFL_REQUIRED
15447 ecore-x >= $EFL_REQUIRED
15457 if test $pkg_failed = yes; then
15458 EFL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
15459 evas >= $EFL_REQUIRED
15460 ecore >= $EFL_REQUIRED
15461 ecore-x >= $EFL_REQUIRED
15463 # Put the nasty error message in config.log where it belongs
15464 echo "$EFL_PKG_ERRORS" 1>&5
15468 You need to install or upgrade the EFL development
15469 packages on your system. On debian-based systems these are
15470 libevas-dev and libecore-dev.
15471 The minimum version required is $EFL_REQUIRED.
15474 elif test $pkg_failed = untried; then
15477 You need to install or upgrade the EFL development
15478 packages on your system. On debian-based systems these are
15479 libevas-dev and libecore-dev.
15480 The minimum version required is $EFL_REQUIRED.
15484 EFL_CFLAGS=$pkg_cv_EFL_CFLAGS
15485 EFL_LIBS=$pkg_cv_EFL_LIBS
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15487 $as_echo "yes" >&6; }
15495 # Check whether --enable-ext-encodebin was given.
15496 if test "${enable_ext_encodebin+set}" = set; then :
15497 enableval=$enable_ext_encodebin;
15498 case "${enableval}" in
15499 yes) GST_EXT_USE_EXT_ENCODEBIN=yes ;;
15500 no) GST_EXT_USE_EXT_ENCODEBIN=no ;;
15501 *) as_fn_error $? "bad value ${enableval} for --enable-ext-encodebin" "$LINENO" 5 ;;
15505 GST_EXT_USE_EXT_ENCODEBIN=yes
15508 if test "x$GST_EXT_USE_EXT_ENCODEBIN" = "xyes"; then
15509 GST_EXT_USE_EXT_ENCODEBIN_TRUE=
15510 GST_EXT_USE_EXT_ENCODEBIN_FALSE='#'
15512 GST_EXT_USE_EXT_ENCODEBIN_TRUE='#'
15513 GST_EXT_USE_EXT_ENCODEBIN_FALSE=
15517 # Check whether --enable-ext-avsystem was given.
15518 if test "${enable_ext_avsystem+set}" = set; then :
15519 enableval=$enable_ext_avsystem;
15520 case "${enableval}" in
15521 yes) GST_EXT_USE_EXT_AVSYSTEM=yes ;;
15522 no) GST_EXT_USE_EXT_AVSYSTEM=no ;;
15523 *) as_fn_error $? "bad value ${enableval} for --enable-ext-avsystem" "$LINENO" 5 ;;
15527 GST_EXT_USE_EXT_AVSYSTEM=yes
15530 if test "x$GST_EXT_USE_EXT_AVSYSTEM" = "xyes"; then
15531 GST_EXT_USE_EXT_AVSYSTEM_TRUE=
15532 GST_EXT_USE_EXT_AVSYSTEM_FALSE='#'
15534 GST_EXT_USE_EXT_AVSYSTEM_TRUE='#'
15535 GST_EXT_USE_EXT_AVSYSTEM_FALSE=
15539 # Check whether --enable-ext-evasimagesink was given.
15540 if test "${enable_ext_evasimagesink+set}" = set; then :
15541 enableval=$enable_ext_evasimagesink;
15542 case "${enableval}" in
15543 yes) GST_EXT_USE_EXT_EVASIMAGESINK=yes ;;
15544 no) GST_EXT_USE_EXT_EVASIMAGESINK=no ;;
15545 *) as_fn_error $? "bad value ${enableval} for --enable-ext-evasimagesink" "$LINENO" 5 ;;
15549 GST_EXT_USE_EXT_EVASIMAGESINK=yes
15552 if test "x$GST_EXT_USE_EXT_EVASIMAGESINK" = "xyes"; then
15553 GST_EXT_USE_EXT_EVASIMAGESINK_TRUE=
15554 GST_EXT_USE_EXT_EVASIMAGESINK_FALSE='#'
15556 GST_EXT_USE_EXT_EVASIMAGESINK_TRUE='#'
15557 GST_EXT_USE_EXT_EVASIMAGESINK_FALSE=
15561 # Check whether --enable-ext-gstreamer-camera was given.
15562 if test "${enable_ext_gstreamer_camera+set}" = set; then :
15563 enableval=$enable_ext_gstreamer_camera;
15564 case "${enableval}" in
15565 yes) GST_EXT_USE_EXT_AVSYSCAMERA=yes ;;
15566 no) GST_EXT_USE_EXT_AVSYSCAMERA=no ;;
15567 *) as_fn_error $? "bad value ${enableval} for --enable-ext-gstreamer-camera" "$LINENO" 5 ;;
15571 GST_EXT_USE_EXT_AVSYSCAMERA=yes
15574 if test "x$GST_EXT_USE_EXT_AVSYSCAMERA" = "xyes"; then
15575 GST_EXT_USE_EXT_AVSYSCAMERA_TRUE=
15576 GST_EXT_USE_EXT_AVSYSCAMERA_FALSE='#'
15578 GST_EXT_USE_EXT_AVSYSCAMERA_TRUE='#'
15579 GST_EXT_USE_EXT_AVSYSCAMERA_FALSE=
15583 if test "x$GST_EXT_USE_EXT_AVSYSCAMERA" = "xyes"; then
15584 HAVE_AVSYSCAMERA=NO
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVSYSCAMERA" >&5
15588 $as_echo_n "checking for AVSYSCAMERA... " >&6; }
15590 if test -n "$PKG_CONFIG"; then
15591 if test -n "$AVSYSCAMERA_CFLAGS"; then
15592 pkg_cv_AVSYSCAMERA_CFLAGS="$AVSYSCAMERA_CFLAGS"
15594 if test -n "$PKG_CONFIG" && \
15595 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avsyscamera\""; } >&5
15596 ($PKG_CONFIG --exists --print-errors "avsyscamera") 2>&5
15598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15599 test $ac_status = 0; }; then
15600 pkg_cv_AVSYSCAMERA_CFLAGS=`$PKG_CONFIG --cflags "avsyscamera" 2>/dev/null`
15608 if test -n "$PKG_CONFIG"; then
15609 if test -n "$AVSYSCAMERA_LIBS"; then
15610 pkg_cv_AVSYSCAMERA_LIBS="$AVSYSCAMERA_LIBS"
15612 if test -n "$PKG_CONFIG" && \
15613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avsyscamera\""; } >&5
15614 ($PKG_CONFIG --exists --print-errors "avsyscamera") 2>&5
15616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15617 test $ac_status = 0; }; then
15618 pkg_cv_AVSYSCAMERA_LIBS=`$PKG_CONFIG --libs "avsyscamera" 2>/dev/null`
15627 if test $pkg_failed = yes; then
15628 AVSYSCAMERA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "avsyscamera"`
15629 # Put the nasty error message in config.log where it belongs
15630 echo "$AVSYSCAMERA_PKG_ERRORS" 1>&5
15633 HAVE_AVSYSCAMERA="no"
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635 $as_echo "no" >&6; }
15637 elif test $pkg_failed = untried; then
15639 HAVE_AVSYSCAMERA="no"
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15641 $as_echo "no" >&6; }
15644 AVSYSCAMERA_CFLAGS=$pkg_cv_AVSYSCAMERA_CFLAGS
15645 AVSYSCAMERA_LIBS=$pkg_cv_AVSYSCAMERA_LIBS
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15647 $as_echo "yes" >&6; }
15648 HAVE_AVSYSCAMERA="yes"
15650 if test "x$HAVE_AVSYSCAMERA" = "xno"; then
15651 as_fn_error $? "no avsyscamera package found" "$LINENO" 5
15657 # Check whether --enable-ext-gstreamer-audio was given.
15658 if test "${enable_ext_gstreamer_audio+set}" = set; then :
15659 enableval=$enable_ext_gstreamer_audio;
15660 case "${enableval}" in
15661 yes) GST_EXT_USE_EXT_AVSYSAUDIO=yes ;;
15662 no) GST_EXT_USE_EXT_AVSYSAUDIO=no ;;
15663 *) as_fn_error $? "bad value ${enableval} for --enable-ext-gstreamer-audio" "$LINENO" 5 ;;
15667 GST_EXT_USE_EXT_AVSYSAUDIO=yes
15670 if test "x$GST_EXT_USE_EXT_AVSYSAUDIO" = "xyes"; then
15671 GST_EXT_USE_EXT_AVSYSAUDIO_TRUE=
15672 GST_EXT_USE_EXT_AVSYSAUDIO_FALSE='#'
15674 GST_EXT_USE_EXT_AVSYSAUDIO_TRUE='#'
15675 GST_EXT_USE_EXT_AVSYSAUDIO_FALSE=
15679 if test "x$GST_EXT_USE_EXT_AVSYSAUDIO" = "xyes"; then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVSYSAUDIO" >&5
15684 $as_echo_n "checking for AVSYSAUDIO... " >&6; }
15686 if test -n "$PKG_CONFIG"; then
15687 if test -n "$AVSYSAUDIO_CFLAGS"; then
15688 pkg_cv_AVSYSAUDIO_CFLAGS="$AVSYSAUDIO_CFLAGS"
15690 if test -n "$PKG_CONFIG" && \
15691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avsysaudio\""; } >&5
15692 ($PKG_CONFIG --exists --print-errors "avsysaudio") 2>&5
15694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15695 test $ac_status = 0; }; then
15696 pkg_cv_AVSYSAUDIO_CFLAGS=`$PKG_CONFIG --cflags "avsysaudio" 2>/dev/null`
15704 if test -n "$PKG_CONFIG"; then
15705 if test -n "$AVSYSAUDIO_LIBS"; then
15706 pkg_cv_AVSYSAUDIO_LIBS="$AVSYSAUDIO_LIBS"
15708 if test -n "$PKG_CONFIG" && \
15709 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avsysaudio\""; } >&5
15710 ($PKG_CONFIG --exists --print-errors "avsysaudio") 2>&5
15712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15713 test $ac_status = 0; }; then
15714 pkg_cv_AVSYSAUDIO_LIBS=`$PKG_CONFIG --libs "avsysaudio" 2>/dev/null`
15723 if test $pkg_failed = yes; then
15724 AVSYSAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "avsysaudio"`
15725 # Put the nasty error message in config.log where it belongs
15726 echo "$AVSYSAUDIO_PKG_ERRORS" 1>&5
15729 HAVE_AVSYSAUDIO="no"
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15731 $as_echo "no" >&6; }
15733 elif test $pkg_failed = untried; then
15735 HAVE_AVSYSAUDIO="no"
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15737 $as_echo "no" >&6; }
15740 AVSYSAUDIO_CFLAGS=$pkg_cv_AVSYSAUDIO_CFLAGS
15741 AVSYSAUDIO_LIBS=$pkg_cv_AVSYSAUDIO_LIBS
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15743 $as_echo "yes" >&6; }
15744 HAVE_AVSYSAUDIO="yes"
15746 if test "x$HAVE_AVSYSAUDIO" = "xno"; then
15747 as_fn_error $? "no avsysaudio package found" "$LINENO" 5
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAMSRCJPEGENC" >&5
15756 $as_echo_n "checking for CAMSRCJPEGENC... " >&6; }
15758 if test -n "$PKG_CONFIG"; then
15759 if test -n "$CAMSRCJPEGENC_CFLAGS"; then
15760 pkg_cv_CAMSRCJPEGENC_CFLAGS="$CAMSRCJPEGENC_CFLAGS"
15762 if test -n "$PKG_CONFIG" && \
15763 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"camsrcjpegenc\""; } >&5
15764 ($PKG_CONFIG --exists --print-errors "camsrcjpegenc") 2>&5
15766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15767 test $ac_status = 0; }; then
15768 pkg_cv_CAMSRCJPEGENC_CFLAGS=`$PKG_CONFIG --cflags "camsrcjpegenc" 2>/dev/null`
15776 if test -n "$PKG_CONFIG"; then
15777 if test -n "$CAMSRCJPEGENC_LIBS"; then
15778 pkg_cv_CAMSRCJPEGENC_LIBS="$CAMSRCJPEGENC_LIBS"
15780 if test -n "$PKG_CONFIG" && \
15781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"camsrcjpegenc\""; } >&5
15782 ($PKG_CONFIG --exists --print-errors "camsrcjpegenc") 2>&5
15784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15785 test $ac_status = 0; }; then
15786 pkg_cv_CAMSRCJPEGENC_LIBS=`$PKG_CONFIG --libs "camsrcjpegenc" 2>/dev/null`
15795 if test $pkg_failed = yes; then
15796 CAMSRCJPEGENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "camsrcjpegenc"`
15797 # Put the nasty error message in config.log where it belongs
15798 echo "$CAMSRCJPEGENC_PKG_ERRORS" 1>&5
15800 as_fn_error $? "Package requirements (camsrcjpegenc) were not met.
15801 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15802 installed software in a non-standard prefix.
15804 Alternatively you may set the CAMSRCJPEGENC_CFLAGS and CAMSRCJPEGENC_LIBS environment variables
15805 to avoid the need to call pkg-config. See the pkg-config man page for
15806 more details." "$LINENO" 5
15807 elif test $pkg_failed = untried; then
15808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15810 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15811 is in your PATH or set the PKG_CONFIG environment variable to the full
15812 path to pkg-config.
15814 Alternatively you may set the CAMSRCJPEGENC_CFLAGS and CAMSRCJPEGENC_LIBS environment variables
15815 to avoid the need to call pkg-config. See the pkg-config man page for
15818 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15819 See \`config.log' for more details" "$LINENO" 5 ; }
15821 CAMSRCJPEGENC_CFLAGS=$pkg_cv_CAMSRCJPEGENC_CFLAGS
15822 CAMSRCJPEGENC_LIBS=$pkg_cv_CAMSRCJPEGENC_LIBS
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15824 $as_echo "yes" >&6; }
15830 # Check whether --enable-ext-drmsrc was given.
15831 if test "${enable_ext_drmsrc+set}" = set; then :
15832 enableval=$enable_ext_drmsrc;
15833 case "${enableval}" in
15834 yes) GST_EXT_USE_EXT_DRMSRC=yes ;;
15835 no) GST_EXT_USE_EXT_DRMSRC=no ;;
15836 *) as_fn_error $? "bad value ${enableval} for --enable-ext-drmsrc" "$LINENO" 5 ;;
15840 GST_EXT_USE_EXT_DRMSRC=yes
15843 if test "x$GST_EXT_USE_EXT_DRMSRC" = "xyes"; then
15844 GST_EXT_USE_EXT_DRMSRC_TRUE=
15845 GST_EXT_USE_EXT_DRMSRC_FALSE='#'
15847 GST_EXT_USE_EXT_DRMSRC_TRUE='#'
15848 GST_EXT_USE_EXT_DRMSRC_FALSE=
15852 if test "x$GST_EXT_USE_EXT_DRMSRC" = "xyes"; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRM_SERVICE" >&5
15856 $as_echo_n "checking for DRM_SERVICE... " >&6; }
15858 if test -n "$PKG_CONFIG"; then
15859 if test -n "$DRM_SERVICE_CFLAGS"; then
15860 pkg_cv_DRM_SERVICE_CFLAGS="$DRM_SERVICE_CFLAGS"
15862 if test -n "$PKG_CONFIG" && \
15863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"drm-service\""; } >&5
15864 ($PKG_CONFIG --exists --print-errors "drm-service") 2>&5
15866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15867 test $ac_status = 0; }; then
15868 pkg_cv_DRM_SERVICE_CFLAGS=`$PKG_CONFIG --cflags "drm-service" 2>/dev/null`
15876 if test -n "$PKG_CONFIG"; then
15877 if test -n "$DRM_SERVICE_LIBS"; then
15878 pkg_cv_DRM_SERVICE_LIBS="$DRM_SERVICE_LIBS"
15880 if test -n "$PKG_CONFIG" && \
15881 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"drm-service\""; } >&5
15882 ($PKG_CONFIG --exists --print-errors "drm-service") 2>&5
15884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15885 test $ac_status = 0; }; then
15886 pkg_cv_DRM_SERVICE_LIBS=`$PKG_CONFIG --libs "drm-service" 2>/dev/null`
15895 if test $pkg_failed = yes; then
15896 DRM_SERVICE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "drm-service"`
15897 # Put the nasty error message in config.log where it belongs
15898 echo "$DRM_SERVICE_PKG_ERRORS" 1>&5
15900 as_fn_error $? "Package requirements (drm-service) were not met.
15901 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15902 installed software in a non-standard prefix.
15904 Alternatively you may set the DRM_SERVICE_CFLAGS and DRM_SERVICE_LIBS environment variables
15905 to avoid the need to call pkg-config. See the pkg-config man page for
15906 more details." "$LINENO" 5
15907 elif test $pkg_failed = untried; then
15908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15910 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15911 is in your PATH or set the PKG_CONFIG environment variable to the full
15912 path to pkg-config.
15914 Alternatively you may set the DRM_SERVICE_CFLAGS and DRM_SERVICE_LIBS environment variables
15915 to avoid the need to call pkg-config. See the pkg-config man page for
15918 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
15919 See \`config.log' for more details" "$LINENO" 5 ; }
15921 DRM_SERVICE_CFLAGS=$pkg_cv_DRM_SERVICE_CFLAGS
15922 DRM_SERVICE_LIBS=$pkg_cv_DRM_SERVICE_LIBS
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15924 $as_echo "yes" >&6; }
15931 # Check whether --enable-ext-toggle was given.
15932 if test "${enable_ext_toggle+set}" = set; then :
15933 enableval=$enable_ext_toggle;
15934 case "${enableval}" in
15935 yes) GST_EXT_USE_EXT_TOGGLE=yes ;;
15936 no) GST_EXT_USE_EXT_TOGGLE=no ;;
15937 *) as_fn_error $? "bad value ${enableval} for --enable-ext-toggle" "$LINENO" 5 ;;
15941 GST_EXT_USE_EXT_TOGGLE=yes
15944 if test "x$GST_EXT_USE_EXT_TOGGLE" = "xyes"; then
15945 GST_EXT_USE_EXT_TOGGLE_TRUE=
15946 GST_EXT_USE_EXT_TOGGLE_FALSE='#'
15948 GST_EXT_USE_EXT_TOGGLE_TRUE='#'
15949 GST_EXT_USE_EXT_TOGGLE_FALSE=
15953 # Check whether --enable-i386 was given.
15954 if test "${enable_i386+set}" = set; then :
15955 enableval=$enable_i386;
15956 case "${enableval}" in
15957 yes) IS_I386=yes ;;
15959 *) as_fn_error $? "bad value ${enableval} for --enable-i386" "$LINENO" 5 ;;
15966 if test "x$IS_I386" = "xyes"; then
15975 ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile avsystem/Makefile avsystem/src/Makefile encodebin/Makefile encodebin/src/Makefile evasimagesink/Makefile evasimagesink/src/Makefile toggle/Makefile toggle/src/Makefile drmsrc/Makefile drmsrc/src/Makefile"
15977 cat >confcache <<\_ACEOF
15978 # This file is a shell script that caches the results of configure
15979 # tests run on this system so they can be shared between configure
15980 # scripts and configure runs, see configure's option --config-cache.
15981 # It is not useful on other systems. If it contains results you don't
15982 # want to keep, you may remove or edit it.
15984 # config.status only pays attention to the cache file if you give it
15985 # the --recheck option to rerun configure.
15987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15989 # following values.
15993 # The following way of writing the cache mishandles newlines in values,
15994 # but we know of no workaround that is simple, portable, and efficient.
15995 # So, we kill variables containing newlines.
15996 # Ultrix sh set writes to stderr and can't be redirected directly,
15997 # and sets the high bit in the cache file unless we assign to the vars.
15999 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16000 eval ac_val=\$$ac_var
16004 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16005 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16008 _ | IFS | as_nl) ;; #(
16009 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16010 *) { eval $ac_var=; unset $ac_var;} ;;
16016 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16017 *${as_nl}ac_space=\ *)
16018 # `set' does not quote correctly, so add quotes: double-quote
16019 # substitution turns \\\\ into \\, and sed turns \\ into \.
16022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16025 # `set' quotes correctly as required by POSIX, so do not add quotes.
16026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16037 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16039 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16040 if test -w "$cache_file"; then
16041 test "x$cache_file" != "x/dev/null" &&
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16043 $as_echo "$as_me: updating cache $cache_file" >&6;}
16044 cat confcache >$cache_file
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16047 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16052 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16053 # Let make expand exec_prefix.
16054 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16056 DEFS=-DHAVE_CONFIG_H
16061 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16062 # 1. Remove the extension, and $U if already installed.
16063 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16064 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16065 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16066 # will be set to the directory where LIBOBJS objects are built.
16067 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16068 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16070 LIBOBJS=$ac_libobjs
16072 LTLIBOBJS=$ac_ltlibobjs
16075 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16076 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16079 if test -n "$EXEEXT"; then
16081 am__EXEEXT_FALSE='#'
16083 am__EXEEXT_TRUE='#'
16087 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16088 as_fn_error $? "conditional \"AMDEP\" was never defined.
16089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16091 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16092 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16095 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16096 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16099 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16100 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16103 if test -z "${IS_VODA_SDK_TRUE}" && test -z "${IS_VODA_SDK_FALSE}"; then
16104 as_fn_error $? "conditional \"IS_VODA_SDK\" was never defined.
16105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16107 if test -z "${ISPROTECTOR_VODA_SDK_TRUE}" && test -z "${ISPROTECTOR_VODA_SDK_FALSE}"; then
16108 as_fn_error $? "conditional \"ISPROTECTOR_VODA_SDK\" was never defined.
16109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16111 if test -z "${ISVOLANS_VODA_SDK_TRUE}" && test -z "${ISVOLANS_VODA_SDK_FALSE}"; then
16112 as_fn_error $? "conditional \"ISVOLANS_VODA_SDK\" was never defined.
16113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16115 if test -z "${ISPROTECTOR_TARGET_TRUE}" && test -z "${ISPROTECTOR_TARGET_FALSE}"; then
16116 as_fn_error $? "conditional \"ISPROTECTOR_TARGET\" was never defined.
16117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16119 if test -z "${ISVOLANS_TARGET_TRUE}" && test -z "${ISVOLANS_TARGET_FALSE}"; then
16120 as_fn_error $? "conditional \"ISVOLANS_TARGET\" was never defined.
16121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16123 if test -z "${GST_EXT_USE_EXT_ENCODEBIN_TRUE}" && test -z "${GST_EXT_USE_EXT_ENCODEBIN_FALSE}"; then
16124 as_fn_error $? "conditional \"GST_EXT_USE_EXT_ENCODEBIN\" was never defined.
16125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16127 if test -z "${GST_EXT_USE_EXT_AVSYSTEM_TRUE}" && test -z "${GST_EXT_USE_EXT_AVSYSTEM_FALSE}"; then
16128 as_fn_error $? "conditional \"GST_EXT_USE_EXT_AVSYSTEM\" was never defined.
16129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16131 if test -z "${GST_EXT_USE_EXT_EVASIMAGESINK_TRUE}" && test -z "${GST_EXT_USE_EXT_EVASIMAGESINK_FALSE}"; then
16132 as_fn_error $? "conditional \"GST_EXT_USE_EXT_EVASIMAGESINK\" was never defined.
16133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16135 if test -z "${GST_EXT_USE_EXT_AVSYSCAMERA_TRUE}" && test -z "${GST_EXT_USE_EXT_AVSYSCAMERA_FALSE}"; then
16136 as_fn_error $? "conditional \"GST_EXT_USE_EXT_AVSYSCAMERA\" was never defined.
16137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16139 if test -z "${GST_EXT_USE_EXT_AVSYSAUDIO_TRUE}" && test -z "${GST_EXT_USE_EXT_AVSYSAUDIO_FALSE}"; then
16140 as_fn_error $? "conditional \"GST_EXT_USE_EXT_AVSYSAUDIO\" was never defined.
16141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16143 if test -z "${GST_EXT_USE_EXT_DRMSRC_TRUE}" && test -z "${GST_EXT_USE_EXT_DRMSRC_FALSE}"; then
16144 as_fn_error $? "conditional \"GST_EXT_USE_EXT_DRMSRC\" was never defined.
16145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16147 if test -z "${GST_EXT_USE_EXT_TOGGLE_TRUE}" && test -z "${GST_EXT_USE_EXT_TOGGLE_FALSE}"; then
16148 as_fn_error $? "conditional \"GST_EXT_USE_EXT_TOGGLE\" was never defined.
16149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16151 if test -z "${IS_I386_TRUE}" && test -z "${IS_I386_FALSE}"; then
16152 as_fn_error $? "conditional \"IS_I386\" was never defined.
16153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16156 : ${CONFIG_STATUS=./config.status}
16158 ac_clean_files_save=$ac_clean_files
16159 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16161 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16163 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16165 # Generated by $as_me.
16166 # Run this file to recreate the current configuration.
16167 # Compiler output produced by configure, useful for debugging
16168 # configure, is in config.log if it exists.
16171 ac_cs_recheck=false
16174 SHELL=\${CONFIG_SHELL-$SHELL}
16177 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16178 ## -------------------- ##
16179 ## M4sh Initialization. ##
16180 ## -------------------- ##
16182 # Be more Bourne compatible
16183 DUALCASE=1; export DUALCASE # for MKS sh
16184 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16187 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16188 # is contrary to our usage. Disable this feature.
16189 alias -g '${1+"$@"}'='"$@"'
16190 setopt NO_GLOB_SUBST
16192 case `(set -o) 2>/dev/null` in #(
16204 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16205 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16206 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16207 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16208 # Prefer a ksh shell builtin over an external printf program on Solaris,
16209 # but without wasting forks for bash or zsh.
16210 if test -z "$BASH_VERSION$ZSH_VERSION" \
16211 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16212 as_echo='print -r --'
16213 as_echo_n='print -rn --'
16214 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16215 as_echo='printf %s\n'
16216 as_echo_n='printf %s'
16218 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16219 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16220 as_echo_n='/usr/ucb/echo -n'
16222 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16223 as_echo_n_body='eval
16227 expr "X$arg" : "X\\(.*\\)$as_nl";
16228 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16230 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16232 export as_echo_n_body
16233 as_echo_n='sh -c $as_echo_n_body as_echo'
16235 export as_echo_body
16236 as_echo='sh -c $as_echo_body as_echo'
16239 # The user is always right.
16240 if test "${PATH_SEPARATOR+set}" != set; then
16242 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16243 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16250 # We need space, tab and new line, in precisely that order. Quoting is
16251 # there to prevent editors from complaining about space-tab.
16252 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16253 # splitting by setting IFS to empty value.)
16256 # Find who we are. Look in the path if we contain no directory separator.
16258 *[\\/]* ) as_myself=$0 ;;
16259 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16260 for as_dir in $PATH
16263 test -z "$as_dir" && as_dir=.
16264 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16270 # We did not find ourselves, most probably we were run as `sh COMMAND'
16271 # in which case we are not to be found in the path.
16272 if test "x$as_myself" = x; then
16275 if test ! -f "$as_myself"; then
16276 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16280 # Unset variables that we do not need and which cause bugs (e.g. in
16281 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16282 # suppresses any "Segmentation fault" message there. '((' could
16283 # trigger a bug in pdksh 5.2.14.
16284 for as_var in BASH_ENV ENV MAIL MAILPATH
16285 do eval test x\${$as_var+set} = xset \
16286 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16299 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16302 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16303 # ----------------------------------------
16304 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16305 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16306 # script with STATUS, using 1 if that was 0.
16309 as_status=$1; test $as_status -eq 0 && as_status=1
16311 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16312 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16314 $as_echo "$as_me: error: $2" >&2
16315 as_fn_exit $as_status
16319 # as_fn_set_status STATUS
16320 # -----------------------
16321 # Set $? to STATUS, without forking.
16322 as_fn_set_status ()
16325 } # as_fn_set_status
16327 # as_fn_exit STATUS
16328 # -----------------
16329 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16333 as_fn_set_status $1
16339 # Portably unset VAR.
16342 { eval $1=; unset $1;}
16344 as_unset=as_fn_unset
16345 # as_fn_append VAR VALUE
16346 # ----------------------
16347 # Append the text in VALUE to the end of the definition contained in VAR. Take
16348 # advantage of any shell optimizations that allow amortized linear growth over
16349 # repeated appends, instead of the typical quadratic growth present in naive
16351 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16352 eval 'as_fn_append ()
16363 # as_fn_arith ARG...
16364 # ------------------
16365 # Perform arithmetic evaluation on the ARGs, and store the result in the
16366 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16367 # must be portable across $(()) and expr.
16368 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16369 eval 'as_fn_arith ()
16376 as_val=`expr "$@" || test $? -eq 1`
16381 if expr a : '\(a\)' >/dev/null 2>&1 &&
16382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16389 as_basename=basename
16394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16400 as_me=`$as_basename -- "$0" ||
16401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16402 X"$0" : 'X\(//\)$' \| \
16403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16405 sed '/^.*\/\([^/][^/]*\)\/*$/{
16419 # Avoid depending upon Character Ranges.
16420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16423 as_cr_digits='0123456789'
16424 as_cr_alnum=$as_cr_Letters$as_cr_digits
16426 ECHO_C= ECHO_N= ECHO_T=
16427 case `echo -n x` in #(((((
16429 case `echo 'xy\c'` in
16430 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16432 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16439 rm -f conf$$ conf$$.exe conf$$.file
16440 if test -d conf$$.dir; then
16441 rm -f conf$$.dir/conf$$.file
16444 mkdir conf$$.dir 2>/dev/null
16446 if (echo >conf$$.file) 2>/dev/null; then
16447 if ln -s conf$$.file conf$$ 2>/dev/null; then
16449 # ... but there are two gotchas:
16450 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16451 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16452 # In both cases, we have to default to `cp -p'.
16453 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16455 elif ln conf$$.file conf$$ 2>/dev/null; then
16463 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16464 rmdir conf$$.dir 2>/dev/null
16469 # Create "$as_dir" as a directory, including parents if necessary.
16474 -*) as_dir=./$as_dir;;
16476 test -d "$as_dir" || eval $as_mkdir_p || {
16480 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16481 *) as_qdir=$as_dir;;
16483 as_dirs="'$as_qdir' $as_dirs"
16484 as_dir=`$as_dirname -- "$as_dir" ||
16485 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16486 X"$as_dir" : 'X\(//\)[^/]' \| \
16487 X"$as_dir" : 'X\(//\)$' \| \
16488 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16489 $as_echo X"$as_dir" |
16490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16494 /^X\(\/\/\)[^/].*/{
16507 test -d "$as_dir" && break
16509 test -z "$as_dirs" || eval "mkdir $as_dirs"
16510 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16514 if mkdir -p . 2>/dev/null; then
16515 as_mkdir_p='mkdir -p "$as_dir"'
16517 test -d ./-p && rmdir ./-p
16521 if test -x / >/dev/null 2>&1; then
16522 as_test_x='test -x'
16524 if ls -dL / >/dev/null 2>&1; then
16531 if test -d "$1"; then
16537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16538 ???[sx]*):;;*)false;;esac;fi
16542 as_executable_p=$as_test_x
16544 # Sed expression to map a string onto a valid CPP name.
16545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16547 # Sed expression to map a string onto a valid variable name.
16548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16552 ## ----------------------------------- ##
16553 ## Main body of $CONFIG_STATUS script. ##
16554 ## ----------------------------------- ##
16556 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16559 # Save the log message, to keep $0 and so on meaningful, and to
16560 # report actual input values of CONFIG_FILES etc. instead of their
16561 # values after options handling.
16563 This file was extended by extension $as_me 1.0, which was
16564 generated by GNU Autoconf 2.67. Invocation command line was
16566 CONFIG_FILES = $CONFIG_FILES
16567 CONFIG_HEADERS = $CONFIG_HEADERS
16568 CONFIG_LINKS = $CONFIG_LINKS
16569 CONFIG_COMMANDS = $CONFIG_COMMANDS
16572 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16577 case $ac_config_files in *"
16578 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16581 case $ac_config_headers in *"
16582 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16587 # Files that config.status was made for.
16588 config_files="$ac_config_files"
16589 config_headers="$ac_config_headers"
16590 config_commands="$ac_config_commands"
16594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16596 \`$as_me' instantiates files and other configuration actions
16597 from templates according to the current configuration. Unless the files
16598 and actions are specified as TAGs, all are instantiated by default.
16600 Usage: $0 [OPTION]... [TAG]...
16602 -h, --help print this help, then exit
16603 -V, --version print version number and configuration settings, then exit
16604 --config print configuration, then exit
16605 -q, --quiet, --silent
16606 do not print progress messages
16607 -d, --debug don't remove temporary files
16608 --recheck update $as_me by reconfiguring in the same conditions
16609 --file=FILE[:TEMPLATE]
16610 instantiate the configuration file FILE
16611 --header=FILE[:TEMPLATE]
16612 instantiate the configuration header FILE
16614 Configuration files:
16617 Configuration headers:
16620 Configuration commands:
16623 Report bugs to the package provider."
16626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16627 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16629 extension config.status 1.0
16630 configured by $0, generated by GNU Autoconf 2.67,
16631 with options \\"\$ac_cs_config\\"
16633 Copyright (C) 2010 Free Software Foundation, Inc.
16634 This config.status script is free software; the Free Software Foundation
16635 gives unlimited permission to copy, distribute and modify it."
16642 test -n "\$AWK" || AWK=awk
16645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16646 # The default lists apply if the user does not specify any file.
16652 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16653 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16657 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16669 # Handling of the options.
16670 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16672 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16673 $as_echo "$ac_cs_version"; exit ;;
16674 --config | --confi | --conf | --con | --co | --c )
16675 $as_echo "$ac_cs_config"; exit ;;
16676 --debug | --debu | --deb | --de | --d | -d )
16678 --file | --fil | --fi | --f )
16681 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16682 '') as_fn_error $? "missing file argument" ;;
16684 as_fn_append CONFIG_FILES " '$ac_optarg'"
16685 ac_need_defaults=false;;
16686 --header | --heade | --head | --hea )
16689 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16691 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16692 ac_need_defaults=false;;
16694 # Conflict between --help and --header
16695 as_fn_error $? "ambiguous option: \`$1'
16696 Try \`$0 --help' for more information.";;
16697 --help | --hel | -h )
16698 $as_echo "$ac_cs_usage"; exit ;;
16699 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16700 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16703 # This is an error.
16704 -*) as_fn_error $? "unrecognized option: \`$1'
16705 Try \`$0 --help' for more information." ;;
16707 *) as_fn_append ac_config_targets " $1"
16708 ac_need_defaults=false ;;
16714 ac_configure_extra_args=
16716 if $ac_cs_silent; then
16718 ac_configure_extra_args="$ac_configure_extra_args --silent"
16722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16723 if \$ac_cs_recheck; then
16724 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16726 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16727 CONFIG_SHELL='$SHELL'
16728 export CONFIG_SHELL
16733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16737 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16738 ## Running $as_me. ##
16744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16748 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16751 # The HP-UX ksh and POSIX shell print the target directory to stdout
16752 # if CDPATH is set.
16753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16755 sed_quote_subst='$sed_quote_subst'
16756 double_quote_subst='$double_quote_subst'
16757 delay_variable_subst='$delay_variable_subst'
16758 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16759 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16760 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16761 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16762 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16763 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16764 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16765 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16766 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16767 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16768 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16769 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16770 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16771 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16772 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16773 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16774 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16775 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16776 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16777 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16778 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16779 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16780 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16781 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16782 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16783 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16784 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16785 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16786 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16787 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16788 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16789 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16790 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16791 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16792 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16793 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16794 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16795 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16796 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16797 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16798 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16799 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16800 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16801 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16802 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"`'
16803 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"`'
16804 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16805 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16806 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16807 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16808 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16809 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16810 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16811 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16812 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16813 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16814 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16815 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16816 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16817 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16818 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16819 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16820 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16821 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16822 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16823 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16824 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16825 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16826 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16827 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16828 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16829 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16830 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16831 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16832 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16833 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16834 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16835 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16836 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16837 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16838 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16839 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16840 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16841 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16842 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16843 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16844 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16845 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16846 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16847 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16848 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16849 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16850 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16851 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16852 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16853 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16854 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16855 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16856 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16857 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16858 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16859 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16860 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16861 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16862 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16863 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16864 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16865 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16866 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16867 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16868 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16869 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16870 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16871 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16872 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16873 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16874 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16875 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16876 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16877 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16878 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16879 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16880 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16881 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16882 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16883 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16884 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16885 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16886 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16887 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16888 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16889 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16890 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16891 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16892 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16893 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16894 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16895 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16896 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16897 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16898 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16899 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16900 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16901 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16902 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16903 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16904 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16905 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16906 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16907 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16908 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16909 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16910 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16911 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16912 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16913 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16914 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16915 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16916 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16917 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16918 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16919 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16920 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16921 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16922 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16923 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16924 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16925 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16926 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16927 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16928 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16931 LTCFLAGS='$LTCFLAGS'
16932 compiler='$compiler_DEFAULT'
16934 # Quote evaled strings.
16946 deplibs_check_method \
16955 lt_cv_sys_global_symbol_pipe \
16956 lt_cv_sys_global_symbol_to_cdecl \
16957 lt_cv_sys_global_symbol_to_c_name_address \
16958 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16961 lt_prog_compiler_no_builtin_flag \
16962 lt_prog_compiler_wl \
16963 lt_prog_compiler_pic \
16964 lt_prog_compiler_static \
16965 lt_cv_prog_compiler_c_o \
16973 export_dynamic_flag_spec \
16974 whole_archive_flag_spec \
16975 compiler_needs_object \
16977 allow_undefined_flag \
16978 no_undefined_flag \
16979 hardcode_libdir_flag_spec \
16980 hardcode_libdir_flag_spec_ld \
16981 hardcode_libdir_separator \
16986 variables_saved_for_relink \
16988 library_names_spec \
16993 compiler_lib_search_dirs \
16998 compiler_lib_search_path \
17001 lt_prog_compiler_no_builtin_flag_CXX \
17002 lt_prog_compiler_wl_CXX \
17003 lt_prog_compiler_pic_CXX \
17004 lt_prog_compiler_static_CXX \
17005 lt_cv_prog_compiler_c_o_CXX \
17006 export_dynamic_flag_spec_CXX \
17007 whole_archive_flag_spec_CXX \
17008 compiler_needs_object_CXX \
17010 allow_undefined_flag_CXX \
17011 no_undefined_flag_CXX \
17012 hardcode_libdir_flag_spec_CXX \
17013 hardcode_libdir_flag_spec_ld_CXX \
17014 hardcode_libdir_separator_CXX \
17015 fix_srcfile_path_CXX \
17016 exclude_expsyms_CXX \
17017 include_expsyms_CXX \
17018 file_list_spec_CXX \
17019 compiler_lib_search_dirs_CXX \
17020 predep_objects_CXX \
17021 postdep_objects_CXX \
17024 compiler_lib_search_path_CXX; do
17025 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17026 *[\\\\\\\`\\"\\\$]*)
17027 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17030 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17035 # Double-quote double-evaled strings.
17036 for var in reload_cmds \
17037 old_postinstall_cmds \
17038 old_postuninstall_cmds \
17040 extract_expsyms_cmds \
17041 old_archive_from_new_cmds \
17042 old_archive_from_expsyms_cmds \
17044 archive_expsym_cmds \
17046 module_expsym_cmds \
17047 export_symbols_cmds \
17050 postuninstall_cmds \
17052 sys_lib_search_path_spec \
17053 sys_lib_dlsearch_path_spec \
17054 old_archive_cmds_CXX \
17055 old_archive_from_new_cmds_CXX \
17056 old_archive_from_expsyms_cmds_CXX \
17058 archive_expsym_cmds_CXX \
17060 module_expsym_cmds_CXX \
17061 export_symbols_cmds_CXX \
17062 prelink_cmds_CXX; do
17063 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17064 *[\\\\\\\`\\"\\\$]*)
17065 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17068 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17073 # Fix-up fallback echo if it was mangled by the above quoting rules.
17075 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17079 ac_aux_dir='$ac_aux_dir'
17080 xsi_shell='$xsi_shell'
17081 lt_shell_append='$lt_shell_append'
17083 # See if we are running on zsh, and set the options which allow our
17084 # commands through without removal of \ escapes INIT.
17085 if test -n "\${ZSH_VERSION+set}" ; then
17086 setopt NO_GLOB_SUBST
17092 TIMESTAMP='$TIMESTAMP'
17103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17105 # Handling of arguments.
17106 for ac_config_target in $ac_config_targets
17108 case $ac_config_target in
17109 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17110 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17111 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17112 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17113 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
17114 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
17115 "avsystem/Makefile") CONFIG_FILES="$CONFIG_FILES avsystem/Makefile" ;;
17116 "avsystem/src/Makefile") CONFIG_FILES="$CONFIG_FILES avsystem/src/Makefile" ;;
17117 "encodebin/Makefile") CONFIG_FILES="$CONFIG_FILES encodebin/Makefile" ;;
17118 "encodebin/src/Makefile") CONFIG_FILES="$CONFIG_FILES encodebin/src/Makefile" ;;
17119 "evasimagesink/Makefile") CONFIG_FILES="$CONFIG_FILES evasimagesink/Makefile" ;;
17120 "evasimagesink/src/Makefile") CONFIG_FILES="$CONFIG_FILES evasimagesink/src/Makefile" ;;
17121 "toggle/Makefile") CONFIG_FILES="$CONFIG_FILES toggle/Makefile" ;;
17122 "toggle/src/Makefile") CONFIG_FILES="$CONFIG_FILES toggle/src/Makefile" ;;
17123 "drmsrc/Makefile") CONFIG_FILES="$CONFIG_FILES drmsrc/Makefile" ;;
17124 "drmsrc/src/Makefile") CONFIG_FILES="$CONFIG_FILES drmsrc/src/Makefile" ;;
17126 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17131 # If the user did not use the arguments to specify the items to instantiate,
17132 # then the envvar interface is used. Set only those that are not.
17133 # We use the long form for the default assignment because of an extremely
17134 # bizarre bug on SunOS 4.1.3.
17135 if $ac_need_defaults; then
17136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17137 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17138 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17141 # Have a temporary directory for convenience. Make it in the build tree
17142 # simply because there is no reason against having it here, and in addition,
17143 # creating and moving files from /tmp can sometimes cause problems.
17144 # Hook for its removal unless debugging.
17145 # Note that there is a small window in which the directory will not be cleaned:
17146 # after its creation but before its name has been assigned to `$tmp'.
17150 trap 'exit_status=$?
17151 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17153 trap 'as_fn_exit 1' 1 2 13 15
17155 # Create a (secure) tmp directory for tmp files.
17158 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17159 test -n "$tmp" && test -d "$tmp"
17162 tmp=./conf$$-$RANDOM
17163 (umask 077 && mkdir "$tmp")
17164 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17166 # Set up the scripts for CONFIG_FILES section.
17167 # No need to generate them if there are no CONFIG_FILES.
17168 # This happens for instance with `./config.status config.h'.
17169 if test -n "$CONFIG_FILES"; then
17172 ac_cr=`echo X | tr X '\015'`
17173 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17174 # But we know of no other shell where ac_cr would be empty at this
17175 # point, so we can use a bashism as a fallback.
17176 if test "x$ac_cr" = x; then
17177 eval ac_cr=\$\'\\r\'
17179 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17180 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17183 ac_cs_awk_cr=$ac_cr
17186 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17191 echo "cat >conf$$subs.awk <<_ACEOF" &&
17192 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17194 } >conf$$subs.sh ||
17195 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17196 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17198 for ac_last_try in false false false false false :; do
17199 . ./conf$$subs.sh ||
17200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17202 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17203 if test $ac_delim_n = $ac_delim_num; then
17205 elif $ac_last_try; then
17206 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17208 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17211 rm -f conf$$subs.sh
17213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17214 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17218 s/^/S["/; s/!.*/"]=/
17228 s/\(.\{148\}\)..*/\1/
17230 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17235 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17242 s/\(.\{148\}\)..*/\1/
17244 s/["\\]/\\&/g; s/^/"/; s/$/"/
17248 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17253 ' <conf$$subs.awk | sed '
17258 ' >>$CONFIG_STATUS || ac_write_fail=1
17259 rm -f conf$$subs.awk
17260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17262 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17263 for (key in S) S_is_set[key] = 1
17269 nfields = split(line, field, "@")
17271 len = length(field[1])
17272 for (i = 2; i < nfields; i++) {
17274 keylen = length(key)
17275 if (S_is_set[key]) {
17277 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17278 len += length(value) + length(field[++i])
17289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17290 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17291 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17294 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17295 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17298 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17299 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17300 # trailing colons and then remove the whole line if VPATH becomes empty
17301 # (actually we leave an empty line to preserve line numbers).
17302 if test "x$srcdir" = x.; then
17303 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17322 fi # test -n "$CONFIG_FILES"
17324 # Set up the scripts for CONFIG_HEADERS section.
17325 # No need to generate them if there are no CONFIG_HEADERS.
17326 # This happens for instance with `./config.status Makefile'.
17327 if test -n "$CONFIG_HEADERS"; then
17328 cat >"$tmp/defines.awk" <<\_ACAWK ||
17332 # Transform confdefs.h into an awk script `defines.awk', embedded as
17333 # here-document in config.status, that substitutes the proper values into
17334 # config.h.in to produce config.h.
17336 # Create a delimiter string that does not exist in confdefs.h, to ease
17337 # handling of long lines.
17339 for ac_last_try in false false :; do
17340 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17341 if test -z "$ac_t"; then
17343 elif $ac_last_try; then
17344 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17346 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17350 # For the awk script, D is an array of macro values keyed by name,
17351 # likewise P contains macro parameters if any. Preserve backslash
17352 # newline sequences.
17354 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17356 s/.\{148\}/&'"$ac_delim"'/g
17359 s/^[ ]*#[ ]*define[ ][ ]*/ /
17366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17373 D["\1"]=" \3\\\\\\n"\\/p
17375 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17380 s/.\{148\}/&'"$ac_delim"'/g
17385 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17388 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17390 ' <confdefs.h | sed '
17391 s/'"$ac_delim"'/"\\\
17392 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17395 for (key in D) D_is_set[key] = 1
17398 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17400 split(line, arg, " ")
17401 if (arg[1] == "#") {
17405 defundef = substr(arg[1], 2)
17408 split(mac1, mac2, "(") #)
17410 prefix = substr(line, 1, index(line, defundef) - 1)
17411 if (D_is_set[macro]) {
17412 # Preserve the white space surrounding the "#".
17413 print prefix "define", macro P[macro] D[macro]
17416 # Replace #undef with comments. This is necessary, for example,
17417 # in the case of _POSIX_SOURCE, which is predefined and required
17418 # on some systems where configure will not decide to define it.
17419 if (defundef == "undef") {
17420 print "/*", prefix defundef, macro, "*/"
17428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17429 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17430 fi # test -n "$CONFIG_HEADERS"
17433 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17438 :[FHLC]) ac_mode=$ac_tag; continue;;
17440 case $ac_mode$ac_tag in
17442 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17443 :[FH]-) ac_tag=-:-;;
17444 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17461 -) ac_f="$tmp/stdin";;
17462 *) # Look for the file first in the build tree, then in the source tree
17463 # (if the path is not absolute). The absolute path cannot be DOS-style,
17464 # because $ac_f cannot contain `:'.
17468 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17470 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17472 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17473 as_fn_append ac_file_inputs " '$ac_f'"
17476 # Let's still pretend it is `configure' which instantiates (i.e., don't
17477 # use $as_me), people would be surprised to read:
17478 # /* config.h. Generated by config.status. */
17479 configure_input='Generated from '`
17480 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17482 if test x"$ac_file" != x-; then
17483 configure_input="$ac_file. $configure_input"
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17485 $as_echo "$as_me: creating $ac_file" >&6;}
17487 # Neutralize special characters interpreted by sed in replacement strings.
17488 case $configure_input in #(
17489 *\&* | *\|* | *\\* )
17490 ac_sed_conf_input=`$as_echo "$configure_input" |
17491 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17492 *) ac_sed_conf_input=$configure_input;;
17496 *:-:* | *:-) cat >"$tmp/stdin" \
17497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17502 ac_dir=`$as_dirname -- "$ac_file" ||
17503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17504 X"$ac_file" : 'X\(//\)[^/]' \| \
17505 X"$ac_file" : 'X\(//\)$' \| \
17506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17507 $as_echo X"$ac_file" |
17508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17512 /^X\(\/\/\)[^/].*/{
17525 as_dir="$ac_dir"; as_fn_mkdir_p
17529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17532 # A ".." for each directory in $ac_dir_suffix.
17533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17534 case $ac_top_builddir_sub in
17535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17539 ac_abs_top_builddir=$ac_pwd
17540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17541 # for backward compatibility:
17542 ac_top_builddir=$ac_top_build_prefix
17545 .) # We are building in place.
17547 ac_top_srcdir=$ac_top_builddir_sub
17548 ac_abs_top_srcdir=$ac_pwd ;;
17549 [\\/]* | ?:[\\/]* ) # Absolute name.
17550 ac_srcdir=$srcdir$ac_dir_suffix;
17551 ac_top_srcdir=$srcdir
17552 ac_abs_top_srcdir=$srcdir ;;
17553 *) # Relative name.
17554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17555 ac_top_srcdir=$ac_top_build_prefix$srcdir
17556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17568 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17569 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17571 ac_MKDIR_P=$MKDIR_P
17573 [\\/$]* | ?:[\\/]* ) ;;
17574 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17579 # If the template does not know about datarootdir, expand it.
17580 # FIXME: This hack should be removed a few years after 2.60.
17581 ac_datarootdir_hack=; ac_datarootdir_seen=
17592 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17593 *datarootdir*) ac_datarootdir_seen=yes;;
17594 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17596 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17599 ac_datarootdir_hack='
17600 s&@datadir@&$datadir&g
17601 s&@docdir@&$docdir&g
17602 s&@infodir@&$infodir&g
17603 s&@localedir@&$localedir&g
17604 s&@mandir@&$mandir&g
17605 s&\\\${datarootdir}&$datarootdir&g' ;;
17609 # Neutralize VPATH when `$srcdir' = `.'.
17610 # Shell code in configure.ac might set extrasub.
17611 # FIXME: do we really want to maintain this feature?
17612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17613 ac_sed_extra="$ac_vpsub
17616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17618 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17619 s|@configure_input@|$ac_sed_conf_input|;t t
17620 s&@top_builddir@&$ac_top_builddir_sub&;t t
17621 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17622 s&@srcdir@&$ac_srcdir&;t t
17623 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17624 s&@top_srcdir@&$ac_top_srcdir&;t t
17625 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17626 s&@builddir@&$ac_builddir&;t t
17627 s&@abs_builddir@&$ac_abs_builddir&;t t
17628 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17629 s&@INSTALL@&$ac_INSTALL&;t t
17630 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17631 $ac_datarootdir_hack
17633 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17636 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17637 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17638 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17640 which seems to be undefined. Please make sure it is defined" >&5
17641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17642 which seems to be undefined. Please make sure it is defined" >&2;}
17646 -) cat "$tmp/out" && rm -f "$tmp/out";;
17647 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17655 if test x"$ac_file" != x-; then
17657 $as_echo "/* $configure_input */" \
17658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17659 } >"$tmp/config.h" \
17660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17661 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17666 mv "$tmp/config.h" "$ac_file" \
17667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17670 $as_echo "/* $configure_input */" \
17671 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17672 || as_fn_error $? "could not create -" "$LINENO" 5
17674 # Compute "$ac_file"'s index in $config_headers.
17677 for _am_header in $config_headers :; do
17678 case $_am_header in
17679 $_am_arg | $_am_arg:* )
17682 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17687 X"$_am_arg" : 'X\(//\)[^/]' \| \
17688 X"$_am_arg" : 'X\(//\)$' \| \
17689 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17690 $as_echo X"$_am_arg" |
17691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17695 /^X\(\/\/\)[^/].*/{
17707 s/.*/./; q'`/stamp-h$_am_stamp_count
17710 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17711 $as_echo "$as_me: executing $ac_file commands" >&6;}
17716 case $ac_file$ac_mode in
17717 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17718 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17719 # are listed without --file. Let's play safe and only enable the eval
17720 # if we detect the quoting.
17721 case $CONFIG_FILES in
17722 *\'*) eval set x "$CONFIG_FILES" ;;
17723 *) set x $CONFIG_FILES ;;
17728 # Strip MF so we end up with the name of the file.
17729 mf=`echo "$mf" | sed -e 's/:.*$//'`
17730 # Check whether this is an Automake generated Makefile or not.
17731 # We used to match only the files named `Makefile.in', but
17732 # some people rename them; so instead we look at the file content.
17733 # Grep'ing the first line is not enough: some people post-process
17734 # each Makefile.in and add a new line on top of each file to say so.
17735 # Grep'ing the whole file is not good either: AIX grep has a line
17736 # limit of 2048, but all sed's we know have understand at least 4000.
17737 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17738 dirpart=`$as_dirname -- "$mf" ||
17739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17740 X"$mf" : 'X\(//\)[^/]' \| \
17741 X"$mf" : 'X\(//\)$' \| \
17742 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17748 /^X\(\/\/\)[^/].*/{
17764 # Extract the definition of DEPDIR, am__include, and am__quote
17765 # from the Makefile without running `make'.
17766 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17767 test -z "$DEPDIR" && continue
17768 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17769 test -z "am__include" && continue
17770 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17771 # When using ansi2knr, U may be empty or an underscore; expand it
17772 U=`sed -n 's/^U = //p' < "$mf"`
17773 # Find all dependency output files, they are included files with
17774 # $(DEPDIR) in their names. We invoke sed twice because it is the
17775 # simplest approach to changing $(DEPDIR) to its actual value in the
17777 for file in `sed -n "
17778 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17779 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17780 # Make sure the directory exists.
17781 test -f "$dirpart/$file" && continue
17782 fdir=`$as_dirname -- "$file" ||
17783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17784 X"$file" : 'X\(//\)[^/]' \| \
17785 X"$file" : 'X\(//\)$' \| \
17786 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17787 $as_echo X"$file" |
17788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17792 /^X\(\/\/\)[^/].*/{
17805 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17806 # echo "creating $dirpart/$file"
17807 echo '# dummy' > "$dirpart/$file"
17814 # See if we are running on zsh, and set the options which allow our
17815 # commands through without removal of \ escapes.
17816 if test -n "${ZSH_VERSION+set}" ; then
17817 setopt NO_GLOB_SUBST
17820 cfgfile="${ofile}T"
17821 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17824 cat <<_LT_EOF >> "$cfgfile"
17827 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17828 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17829 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17830 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17832 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17833 # 2006, 2007, 2008 Free Software Foundation, Inc.
17834 # Written by Gordon Matzigkeit, 1996
17836 # This file is part of GNU Libtool.
17838 # GNU Libtool is free software; you can redistribute it and/or
17839 # modify it under the terms of the GNU General Public License as
17840 # published by the Free Software Foundation; either version 2 of
17841 # the License, or (at your option) any later version.
17843 # As a special exception to the GNU General Public License,
17844 # if you distribute this file as part of a program or library that
17845 # is built using GNU Libtool, you may include this file under the
17846 # same distribution terms that you use for the rest of that program.
17848 # GNU Libtool is distributed in the hope that it will be useful,
17849 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17850 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17851 # GNU General Public License for more details.
17853 # You should have received a copy of the GNU General Public License
17854 # along with GNU Libtool; see the file COPYING. If not, a copy
17855 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17856 # obtained by writing to the Free Software Foundation, Inc.,
17857 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17860 # The names of the tagged configurations supported by this script.
17861 available_tags="CXX "
17863 # ### BEGIN LIBTOOL CONFIG
17865 # Which release of libtool.m4 was used?
17866 macro_version=$macro_version
17867 macro_revision=$macro_revision
17869 # Whether or not to build shared libraries.
17870 build_libtool_libs=$enable_shared
17872 # Whether or not to build static libraries.
17873 build_old_libs=$enable_static
17875 # What type of objects to build.
17878 # Whether or not to optimize for fast installation.
17879 fast_install=$enable_fast_install
17882 host_alias=$host_alias
17886 # The build system.
17887 build_alias=$build_alias
17891 # A sed program that does not truncate output.
17894 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17895 Xsed="\$SED -e 1s/^X//"
17897 # A grep program that handles long lines.
17903 # A literal string matcher.
17906 # A BSD- or MS-compatible name lister.
17909 # Whether we need soft or hard links.
17912 # What is the maximum length of a command?
17913 max_cmd_len=$max_cmd_len
17915 # Object file suffix (normally "o").
17918 # Executable file suffix (normally "").
17921 # whether the shell understands "unset".
17924 # turn spaces into newlines.
17927 # turn newlines into spaces.
17930 # How to create reloadable object files.
17931 reload_flag=$lt_reload_flag
17932 reload_cmds=$lt_reload_cmds
17934 # An object symbol dumper.
17935 OBJDUMP=$lt_OBJDUMP
17937 # Method to check whether dependent libraries are shared objects.
17938 deplibs_check_method=$lt_deplibs_check_method
17940 # Command to use when deplibs_check_method == "file_magic".
17941 file_magic_cmd=$lt_file_magic_cmd
17945 AR_FLAGS=$lt_AR_FLAGS
17947 # A symbol stripping program.
17950 # Commands used to install an old-style archive.
17952 old_postinstall_cmds=$lt_old_postinstall_cmds
17953 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17958 # LTCC compiler flags.
17959 LTCFLAGS=$lt_CFLAGS
17961 # Take the output of nm and produce a listing of raw symbols and C names.
17962 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17964 # Transform the output of nm in a proper C declaration.
17965 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17967 # Transform the output of nm in a C name address pair.
17968 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17970 # Transform the output of nm in a C name address pair when lib prefix is needed.
17971 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17973 # The name of the directory that contains temporary libtool files.
17976 # Shell to use when invoking shell scripts.
17979 # An echo program that does not interpret backslashes.
17982 # Used to examine libraries when file_magic_cmd begins with "file".
17983 MAGIC_CMD=$MAGIC_CMD
17985 # Must we lock files when doing compilation?
17986 need_locks=$lt_need_locks
17988 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17989 DSYMUTIL=$lt_DSYMUTIL
17991 # Tool to change global to local symbols on Mac OS X.
17994 # Tool to manipulate fat objects and archives on Mac OS X.
17997 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18000 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18001 OTOOL64=$lt_OTOOL64
18003 # Old archive suffix (normally "a").
18006 # Shared library suffix (normally ".so").
18007 shrext_cmds=$lt_shrext_cmds
18009 # The commands to extract the exported symbol list from a shared archive.
18010 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18012 # Variables whose values should be saved in libtool wrapper scripts and
18013 # restored at link time.
18014 variables_saved_for_relink=$lt_variables_saved_for_relink
18016 # Do we need the "lib" prefix for modules?
18017 need_lib_prefix=$need_lib_prefix
18019 # Do we need a version for libraries?
18020 need_version=$need_version
18022 # Library versioning type.
18023 version_type=$version_type
18025 # Shared library runtime path variable.
18026 runpath_var=$runpath_var
18028 # Shared library path variable.
18029 shlibpath_var=$shlibpath_var
18031 # Is shlibpath searched before the hard-coded library search path?
18032 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18034 # Format of library name prefix.
18035 libname_spec=$lt_libname_spec
18037 # List of archive names. First name is the real one, the rest are links.
18038 # The last name is the one that the linker finds with -lNAME
18039 library_names_spec=$lt_library_names_spec
18041 # The coded name of the library, if different from the real name.
18042 soname_spec=$lt_soname_spec
18044 # Command to use after installation of a shared archive.
18045 postinstall_cmds=$lt_postinstall_cmds
18047 # Command to use after uninstallation of a shared archive.
18048 postuninstall_cmds=$lt_postuninstall_cmds
18050 # Commands used to finish a libtool library installation in a directory.
18051 finish_cmds=$lt_finish_cmds
18053 # As "finish_cmds", except a single script fragment to be evaled but
18055 finish_eval=$lt_finish_eval
18057 # Whether we should hardcode library paths into libraries.
18058 hardcode_into_libs=$hardcode_into_libs
18060 # Compile-time system search path for libraries.
18061 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18063 # Run-time system search path for libraries.
18064 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18066 # Whether dlopen is supported.
18067 dlopen_support=$enable_dlopen
18069 # Whether dlopen of programs is supported.
18070 dlopen_self=$enable_dlopen_self
18072 # Whether dlopen of statically linked programs is supported.
18073 dlopen_self_static=$enable_dlopen_self_static
18075 # Commands to strip libraries.
18076 old_striplib=$lt_old_striplib
18077 striplib=$lt_striplib
18080 # The linker used to build libraries.
18083 # Commands used to build an old-style archive.
18084 old_archive_cmds=$lt_old_archive_cmds
18086 # A language specific compiler.
18089 # Is the compiler the GNU compiler?
18092 # Compiler flag to turn off builtin functions.
18093 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18095 # How to pass a linker flag through the compiler.
18096 wl=$lt_lt_prog_compiler_wl
18098 # Additional compiler flags for building library objects.
18099 pic_flag=$lt_lt_prog_compiler_pic
18101 # Compiler flag to prevent dynamic linking.
18102 link_static_flag=$lt_lt_prog_compiler_static
18104 # Does compiler simultaneously support -c and -o options?
18105 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18107 # Whether or not to add -lc for building shared libraries.
18108 build_libtool_need_lc=$archive_cmds_need_lc
18110 # Whether or not to disallow shared libs when runtime libs are static.
18111 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18113 # Compiler flag to allow reflexive dlopens.
18114 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18116 # Compiler flag to generate shared objects directly from archives.
18117 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18119 # Whether the compiler copes with passing no objects directly.
18120 compiler_needs_object=$lt_compiler_needs_object
18122 # Create an old-style archive from a shared archive.
18123 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18125 # Create a temporary old-style archive to link instead of a shared archive.
18126 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18128 # Commands used to build a shared archive.
18129 archive_cmds=$lt_archive_cmds
18130 archive_expsym_cmds=$lt_archive_expsym_cmds
18132 # Commands used to build a loadable module if different from building
18133 # a shared archive.
18134 module_cmds=$lt_module_cmds
18135 module_expsym_cmds=$lt_module_expsym_cmds
18137 # Whether we are building with GNU ld or not.
18138 with_gnu_ld=$lt_with_gnu_ld
18140 # Flag that allows shared libraries with undefined symbols to be built.
18141 allow_undefined_flag=$lt_allow_undefined_flag
18143 # Flag that enforces no undefined symbols.
18144 no_undefined_flag=$lt_no_undefined_flag
18146 # Flag to hardcode \$libdir into a binary during linking.
18147 # This must work even if \$libdir does not exist
18148 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18150 # If ld is used when linking, flag to hardcode \$libdir into a binary
18151 # during linking. This must work even if \$libdir does not exist.
18152 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18154 # Whether we need a single "-rpath" flag with a separated argument.
18155 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18157 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18158 # DIR into the resulting binary.
18159 hardcode_direct=$hardcode_direct
18161 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18162 # DIR into the resulting binary and the resulting library dependency is
18163 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18164 # library is relocated.
18165 hardcode_direct_absolute=$hardcode_direct_absolute
18167 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18168 # into the resulting binary.
18169 hardcode_minus_L=$hardcode_minus_L
18171 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18172 # into the resulting binary.
18173 hardcode_shlibpath_var=$hardcode_shlibpath_var
18175 # Set to "yes" if building a shared library automatically hardcodes DIR
18176 # into the library and all subsequent libraries and executables linked
18178 hardcode_automatic=$hardcode_automatic
18180 # Set to yes if linker adds runtime paths of dependent libraries
18181 # to runtime path list.
18182 inherit_rpath=$inherit_rpath
18184 # Whether libtool must link a program against all its dependency libraries.
18185 link_all_deplibs=$link_all_deplibs
18187 # Fix the shell variable \$srcfile for the compiler.
18188 fix_srcfile_path=$lt_fix_srcfile_path
18190 # Set to "yes" if exported symbols are required.
18191 always_export_symbols=$always_export_symbols
18193 # The commands to list exported symbols.
18194 export_symbols_cmds=$lt_export_symbols_cmds
18196 # Symbols that should not be listed in the preloaded symbols.
18197 exclude_expsyms=$lt_exclude_expsyms
18199 # Symbols that must always be exported.
18200 include_expsyms=$lt_include_expsyms
18202 # Commands necessary for linking programs (against libraries) with templates.
18203 prelink_cmds=$lt_prelink_cmds
18205 # Specify filename containing input files.
18206 file_list_spec=$lt_file_list_spec
18208 # How to hardcode a shared library path into an executable.
18209 hardcode_action=$hardcode_action
18211 # The directories searched by this compiler when creating a shared library.
18212 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18214 # Dependencies to place before and after the objects being linked to
18215 # create a shared library.
18216 predep_objects=$lt_predep_objects
18217 postdep_objects=$lt_postdep_objects
18218 predeps=$lt_predeps
18219 postdeps=$lt_postdeps
18221 # The library search path used internally by the compiler when linking
18222 # a shared library.
18223 compiler_lib_search_path=$lt_compiler_lib_search_path
18225 # ### END LIBTOOL CONFIG
18231 cat <<\_LT_EOF >> "$cfgfile"
18232 # AIX sometimes has problems with the GCC collect2 program. For some
18233 # reason, if we set the COLLECT_NAMES environment variable, the problems
18234 # vanish in a puff of smoke.
18235 if test "X${COLLECT_NAMES+set}" != Xset; then
18237 export COLLECT_NAMES
18244 ltmain="$ac_aux_dir/ltmain.sh"
18247 # We use sed instead of cat because bash on DJGPP gets confused if
18248 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18249 # text mode, it properly converts lines to CR/LF. This bash problem
18250 # is reportedly fixed, but why not run on old versions too?
18251 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18252 || (rm -f "$cfgfile"; exit 1)
18256 cat << \_LT_EOF >> "$cfgfile"
18258 # func_dirname file append nondir_replacement
18259 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18260 # otherwise set result to NONDIR_REPLACEMENT.
18264 */*) func_dirname_result="${1%/*}${2}" ;;
18265 * ) func_dirname_result="${3}" ;;
18269 # func_basename file
18272 func_basename_result="${1##*/}"
18275 # func_dirname_and_basename file append nondir_replacement
18276 # perform func_basename and func_dirname in a single function
18278 # dirname: Compute the dirname of FILE. If nonempty,
18279 # add APPEND to the result, otherwise set result
18280 # to NONDIR_REPLACEMENT.
18281 # value returned in "$func_dirname_result"
18282 # basename: Compute filename of FILE.
18283 # value retuned in "$func_basename_result"
18284 # Implementation must be kept synchronized with func_dirname
18285 # and func_basename. For efficiency, we do not delegate to
18286 # those functions but instead duplicate the functionality here.
18287 func_dirname_and_basename ()
18290 */*) func_dirname_result="${1%/*}${2}" ;;
18291 * ) func_dirname_result="${3}" ;;
18293 func_basename_result="${1##*/}"
18296 # func_stripname prefix suffix name
18297 # strip PREFIX and SUFFIX off of NAME.
18298 # PREFIX and SUFFIX must not contain globbing or regex special
18299 # characters, hashes, percent signs, but SUFFIX may contain a leading
18300 # dot (in which case that matches only a dot).
18303 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18304 # positional parameters, so assign one to ordinary parameter first.
18305 func_stripname_result=${3}
18306 func_stripname_result=${func_stripname_result#"${1}"}
18307 func_stripname_result=${func_stripname_result%"${2}"}
18313 func_opt_split_opt=${1%%=*}
18314 func_opt_split_arg=${1#*=}
18321 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18322 *) func_lo2o_result=${1} ;;
18326 # func_xform libobj-or-source
18329 func_xform_result=${1%.*}.lo
18332 # func_arith arithmetic-term...
18335 func_arith_result=$(( $* ))
18339 # STRING may not start with a hyphen.
18342 func_len_result=${#1}
18347 *) # Bourne compatible functions.
18348 cat << \_LT_EOF >> "$cfgfile"
18350 # func_dirname file append nondir_replacement
18351 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18352 # otherwise set result to NONDIR_REPLACEMENT.
18355 # Extract subdirectory from the argument.
18356 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18357 if test "X$func_dirname_result" = "X${1}"; then
18358 func_dirname_result="${3}"
18360 func_dirname_result="$func_dirname_result${2}"
18364 # func_basename file
18367 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18371 # func_stripname prefix suffix name
18372 # strip PREFIX and SUFFIX off of NAME.
18373 # PREFIX and SUFFIX must not contain globbing or regex special
18374 # characters, hashes, percent signs, but SUFFIX may contain a leading
18375 # dot (in which case that matches only a dot).
18376 # func_strip_suffix prefix name
18380 .*) func_stripname_result=`$ECHO "X${3}" \
18381 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18382 *) func_stripname_result=`$ECHO "X${3}" \
18383 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18388 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18389 my_sed_long_arg='1s/^-[^=]*=//'
18394 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18395 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18401 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18404 # func_xform libobj-or-source
18407 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18410 # func_arith arithmetic-term...
18413 func_arith_result=`expr "$@"`
18417 # STRING may not start with a hyphen.
18420 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18426 case $lt_shell_append in
18428 cat << \_LT_EOF >> "$cfgfile"
18430 # func_append var value
18431 # Append VALUE to the end of shell variable VAR.
18439 cat << \_LT_EOF >> "$cfgfile"
18441 # func_append var value
18442 # Append VALUE to the end of shell variable VAR.
18453 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18454 || (rm -f "$cfgfile"; exit 1)
18456 mv -f "$cfgfile" "$ofile" ||
18457 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18461 cat <<_LT_EOF >> "$ofile"
18463 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18465 # The linker used to build libraries.
18468 # Commands used to build an old-style archive.
18469 old_archive_cmds=$lt_old_archive_cmds_CXX
18471 # A language specific compiler.
18472 CC=$lt_compiler_CXX
18474 # Is the compiler the GNU compiler?
18477 # Compiler flag to turn off builtin functions.
18478 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18480 # How to pass a linker flag through the compiler.
18481 wl=$lt_lt_prog_compiler_wl_CXX
18483 # Additional compiler flags for building library objects.
18484 pic_flag=$lt_lt_prog_compiler_pic_CXX
18486 # Compiler flag to prevent dynamic linking.
18487 link_static_flag=$lt_lt_prog_compiler_static_CXX
18489 # Does compiler simultaneously support -c and -o options?
18490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18492 # Whether or not to add -lc for building shared libraries.
18493 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18495 # Whether or not to disallow shared libs when runtime libs are static.
18496 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18498 # Compiler flag to allow reflexive dlopens.
18499 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18501 # Compiler flag to generate shared objects directly from archives.
18502 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18504 # Whether the compiler copes with passing no objects directly.
18505 compiler_needs_object=$lt_compiler_needs_object_CXX
18507 # Create an old-style archive from a shared archive.
18508 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18510 # Create a temporary old-style archive to link instead of a shared archive.
18511 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18513 # Commands used to build a shared archive.
18514 archive_cmds=$lt_archive_cmds_CXX
18515 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18517 # Commands used to build a loadable module if different from building
18518 # a shared archive.
18519 module_cmds=$lt_module_cmds_CXX
18520 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18522 # Whether we are building with GNU ld or not.
18523 with_gnu_ld=$lt_with_gnu_ld_CXX
18525 # Flag that allows shared libraries with undefined symbols to be built.
18526 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18528 # Flag that enforces no undefined symbols.
18529 no_undefined_flag=$lt_no_undefined_flag_CXX
18531 # Flag to hardcode \$libdir into a binary during linking.
18532 # This must work even if \$libdir does not exist
18533 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18535 # If ld is used when linking, flag to hardcode \$libdir into a binary
18536 # during linking. This must work even if \$libdir does not exist.
18537 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18539 # Whether we need a single "-rpath" flag with a separated argument.
18540 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18542 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18543 # DIR into the resulting binary.
18544 hardcode_direct=$hardcode_direct_CXX
18546 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18547 # DIR into the resulting binary and the resulting library dependency is
18548 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18549 # library is relocated.
18550 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18552 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18553 # into the resulting binary.
18554 hardcode_minus_L=$hardcode_minus_L_CXX
18556 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18557 # into the resulting binary.
18558 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18560 # Set to "yes" if building a shared library automatically hardcodes DIR
18561 # into the library and all subsequent libraries and executables linked
18563 hardcode_automatic=$hardcode_automatic_CXX
18565 # Set to yes if linker adds runtime paths of dependent libraries
18566 # to runtime path list.
18567 inherit_rpath=$inherit_rpath_CXX
18569 # Whether libtool must link a program against all its dependency libraries.
18570 link_all_deplibs=$link_all_deplibs_CXX
18572 # Fix the shell variable \$srcfile for the compiler.
18573 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18575 # Set to "yes" if exported symbols are required.
18576 always_export_symbols=$always_export_symbols_CXX
18578 # The commands to list exported symbols.
18579 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18581 # Symbols that should not be listed in the preloaded symbols.
18582 exclude_expsyms=$lt_exclude_expsyms_CXX
18584 # Symbols that must always be exported.
18585 include_expsyms=$lt_include_expsyms_CXX
18587 # Commands necessary for linking programs (against libraries) with templates.
18588 prelink_cmds=$lt_prelink_cmds_CXX
18590 # Specify filename containing input files.
18591 file_list_spec=$lt_file_list_spec_CXX
18593 # How to hardcode a shared library path into an executable.
18594 hardcode_action=$hardcode_action_CXX
18596 # The directories searched by this compiler when creating a shared library.
18597 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18599 # Dependencies to place before and after the objects being linked to
18600 # create a shared library.
18601 predep_objects=$lt_predep_objects_CXX
18602 postdep_objects=$lt_postdep_objects_CXX
18603 predeps=$lt_predeps_CXX
18604 postdeps=$lt_postdeps_CXX
18606 # The library search path used internally by the compiler when linking
18607 # a shared library.
18608 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18610 # ### END LIBTOOL TAG CONFIG: CXX
18621 ac_clean_files=$ac_clean_files_save
18623 test $ac_write_fail = 0 ||
18624 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18627 # configure is writing to config.log, and then calls config.status.
18628 # config.status does its own redirection, appending to config.log.
18629 # Unfortunately, on DOS this fails, as config.log is still kept open
18630 # by configure, so config.status won't be able to write to it; its
18631 # output is simply discarded. So we exec the FD to /dev/null,
18632 # effectively closing config.log, so it can be properly (re)opened and
18633 # appended to by config.status. When coming back to configure, we
18634 # need to make the FD available again.
18635 if test "$no_create" != yes; then
18637 ac_config_status_args=
18638 test "$silent" = yes &&
18639 ac_config_status_args="$ac_config_status_args --quiet"
18641 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18643 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18644 # would make configure fail if this is the last instruction.
18645 $ac_cs_success || as_fn_exit 1
18647 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18649 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}