2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libcec 2:1:0.
5 # Report bugs to <http://libcec.pulse-eight.com/>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://libcec.pulse-eight.com/ about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libcec'
592 PACKAGE_TARNAME
='libcec'
593 PACKAGE_VERSION
='2:1:0'
594 PACKAGE_STRING
='libcec 2:1:0'
595 PACKAGE_BUGREPORT
='http://libcec.pulse-eight.com/'
598 # Factoring default headers for most tests.
599 ac_includes_default
="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars
='am__EXEEXT_FALSE
651 USE_TDA995X_API_FALSE
655 USE_P8_USB_DETECT_FALSE
656 USE_P8_USB_DETECT_TRUE
733 INSTALL_STRIP_PROGRAM
775 program_transform_name
788 enable_option_checking
790 enable_dependency_tracking
801 with_tda995x_toolkit_path
804 with_rpi_include_path
807 ac_precious_vars
='build_alias
827 # Initialize some variables set by options.
829 ac_init_version
=false
830 ac_unrecognized_opts
=
832 # The variables have the same names as the options, with
833 # dashes changed to underlines.
841 program_transform_name
=s
,x
,x
,
849 # Installation directory options.
850 # These are left unexpanded so users can "make install exec_prefix=/foo"
851 # and all the variables that are supposed to be based on exec_prefix
852 # by default will actually change.
853 # Use braces instead of parens because sh, perl, etc. also accept them.
854 # (The list follows the same order as the GNU Coding Standards.)
855 bindir
='${exec_prefix}/bin'
856 sbindir
='${exec_prefix}/sbin'
857 libexecdir
='${exec_prefix}/libexec'
858 datarootdir
='${prefix}/share'
859 datadir
='${datarootdir}'
860 sysconfdir
='${prefix}/etc'
861 sharedstatedir
='${prefix}/com'
862 localstatedir
='${prefix}/var'
863 includedir
='${prefix}/include'
864 oldincludedir
='/usr/include'
865 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
866 infodir
='${datarootdir}/info'
871 libdir
='${exec_prefix}/lib'
872 localedir
='${datarootdir}/locale'
873 mandir
='${datarootdir}/man'
879 # If the previous option needs an argument, assign it.
880 if test -n "$ac_prev"; then
881 eval $ac_prev=\
$ac_option
887 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
892 # Accept the important Cygnus configure options, so we can diagnose typos.
894 case $ac_dashdash$ac_option in
898 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
900 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
903 -build |
--build |
--buil |
--bui |
--bu)
904 ac_prev
=build_alias
;;
905 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
906 build_alias
=$ac_optarg ;;
908 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
909 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
910 ac_prev
=cache_file
;;
911 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
912 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
913 cache_file
=$ac_optarg ;;
916 cache_file
=config.cache
;;
918 -datadir |
--datadir |
--datadi |
--datad)
920 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
921 datadir
=$ac_optarg ;;
923 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
924 |
--dataroo |
--dataro |
--datar)
925 ac_prev
=datarootdir
;;
926 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
927 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
928 datarootdir
=$ac_optarg ;;
930 -disable-* |
--disable-*)
931 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
932 # Reject names that are not valid shell variable names.
933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
934 as_fn_error $?
"invalid feature name: $ac_useropt"
935 ac_useropt_orig
=$ac_useropt
936 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937 case $ac_user_opts in
941 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
942 ac_unrecognized_sep
=', ';;
944 eval enable_
$ac_useropt=no
;;
946 -docdir |
--docdir |
--docdi |
--doc |
--do)
948 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
951 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
953 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
956 -enable-* |
--enable-*)
957 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
960 as_fn_error $?
"invalid feature name: $ac_useropt"
961 ac_useropt_orig
=$ac_useropt
962 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
968 ac_unrecognized_sep
=', ';;
970 eval enable_
$ac_useropt=\
$ac_optarg ;;
972 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
973 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
974 |
--exec |
--exe |
--ex)
975 ac_prev
=exec_prefix
;;
976 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
977 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
978 |
--exec=* |
--exe=* |
--ex=*)
979 exec_prefix
=$ac_optarg ;;
981 -gas |
--gas |
--ga |
--g)
982 # Obsolete; use --with-gas.
985 -help |
--help |
--hel |
--he |
-h)
987 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
988 ac_init_help
=recursive
;;
989 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
990 ac_init_help
=short
;;
992 -host |
--host |
--hos |
--ho)
993 ac_prev
=host_alias
;;
994 -host=* |
--host=* |
--hos=* |
--ho=*)
995 host_alias
=$ac_optarg ;;
997 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
999 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1001 htmldir
=$ac_optarg ;;
1003 -includedir |
--includedir |
--includedi |
--included |
--include \
1004 |
--includ |
--inclu |
--incl |
--inc)
1005 ac_prev
=includedir
;;
1006 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1007 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1008 includedir
=$ac_optarg ;;
1010 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1012 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1013 infodir
=$ac_optarg ;;
1015 -libdir |
--libdir |
--libdi |
--libd)
1017 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1018 libdir
=$ac_optarg ;;
1020 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1021 |
--libexe |
--libex |
--libe)
1022 ac_prev
=libexecdir
;;
1023 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1024 |
--libexe=* |
--libex=* |
--libe=*)
1025 libexecdir
=$ac_optarg ;;
1027 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1028 ac_prev
=localedir
;;
1029 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1030 localedir
=$ac_optarg ;;
1032 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1033 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1034 ac_prev
=localstatedir
;;
1035 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1036 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1037 localstatedir
=$ac_optarg ;;
1039 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1041 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1042 mandir
=$ac_optarg ;;
1044 -nfp |
--nfp |
--nf)
1045 # Obsolete; use --without-fp.
1048 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1049 |
--no-cr |
--no-c |
-n)
1052 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1053 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1056 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1057 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1058 |
--oldin |
--oldi |
--old |
--ol |
--o)
1059 ac_prev
=oldincludedir
;;
1060 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1061 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1062 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1063 oldincludedir
=$ac_optarg ;;
1065 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1067 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1068 prefix
=$ac_optarg ;;
1070 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1071 |
--program-pre |
--program-pr |
--program-p)
1072 ac_prev
=program_prefix
;;
1073 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1074 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1075 program_prefix
=$ac_optarg ;;
1077 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1078 |
--program-suf |
--program-su |
--program-s)
1079 ac_prev
=program_suffix
;;
1080 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1081 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1082 program_suffix
=$ac_optarg ;;
1084 -program-transform-name |
--program-transform-name \
1085 |
--program-transform-nam |
--program-transform-na \
1086 |
--program-transform-n |
--program-transform- \
1087 |
--program-transform |
--program-transfor \
1088 |
--program-transfo |
--program-transf \
1089 |
--program-trans |
--program-tran \
1090 |
--progr-tra |
--program-tr |
--program-t)
1091 ac_prev
=program_transform_name
;;
1092 -program-transform-name=* |
--program-transform-name=* \
1093 |
--program-transform-nam=* |
--program-transform-na=* \
1094 |
--program-transform-n=* |
--program-transform-=* \
1095 |
--program-transform=* |
--program-transfor=* \
1096 |
--program-transfo=* |
--program-transf=* \
1097 |
--program-trans=* |
--program-tran=* \
1098 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1099 program_transform_name
=$ac_optarg ;;
1101 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1103 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1104 pdfdir
=$ac_optarg ;;
1106 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1108 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1111 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1112 |
-silent |
--silent |
--silen |
--sile |
--sil)
1115 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1117 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1119 sbindir
=$ac_optarg ;;
1121 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1122 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1123 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1125 ac_prev
=sharedstatedir
;;
1126 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1127 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1128 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1130 sharedstatedir
=$ac_optarg ;;
1132 -site |
--site |
--sit)
1134 -site=* |
--site=* |
--sit=*)
1137 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1139 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1140 srcdir
=$ac_optarg ;;
1142 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1143 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1144 ac_prev
=sysconfdir
;;
1145 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1146 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1147 sysconfdir
=$ac_optarg ;;
1149 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1150 ac_prev
=target_alias
;;
1151 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1152 target_alias
=$ac_optarg ;;
1154 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1157 -version |
--version |
--versio |
--versi |
--vers |
-V)
1158 ac_init_version
=: ;;
1161 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1164 as_fn_error $?
"invalid package name: $ac_useropt"
1165 ac_useropt_orig
=$ac_useropt
1166 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1167 case $ac_user_opts in
1171 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1172 ac_unrecognized_sep
=', ';;
1174 eval with_
$ac_useropt=\
$ac_optarg ;;
1176 -without-* |
--without-*)
1177 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error $?
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=no
;;
1193 # Obsolete; use --with-x.
1196 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1197 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1198 ac_prev
=x_includes
;;
1199 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1200 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1201 x_includes
=$ac_optarg ;;
1203 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1204 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1205 ac_prev
=x_libraries
;;
1206 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1207 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1208 x_libraries
=$ac_optarg ;;
1210 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1211 Try \`$0 --help' for more information"
1215 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1216 # Reject names that are not valid shell variable names.
1217 case $ac_envvar in #(
1218 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1219 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1221 eval $ac_envvar=\
$ac_optarg
1222 export $ac_envvar ;;
1225 # FIXME: should be removed in autoconf 3.0.
1226 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1227 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1228 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1229 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1235 if test -n "$ac_prev"; then
1236 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1237 as_fn_error $?
"missing argument to $ac_option"
1240 if test -n "$ac_unrecognized_opts"; then
1241 case $enable_option_checking in
1243 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1244 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1248 # Check all directory arguments for consistency.
1249 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1250 datadir sysconfdir sharedstatedir localstatedir includedir \
1251 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1252 libdir localedir mandir
1254 eval ac_val
=\$
$ac_var
1255 # Remove trailing slashes.
1258 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1259 eval $ac_var=\
$ac_val;;
1261 # Be sure to have absolute directory names.
1263 [\\/$
]* | ?
:[\\/]* ) continue;;
1264 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1266 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1269 # There might be people who depend on the old broken behavior: `$host'
1270 # used to hold the argument of --host etc.
1271 # FIXME: To remove some day.
1274 target
=$target_alias
1276 # FIXME: To remove some day.
1277 if test "x$host_alias" != x
; then
1278 if test "x$build_alias" = x
; then
1279 cross_compiling
=maybe
1280 elif test "x$build_alias" != "x$host_alias"; then
1286 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1288 test "$silent" = yes && exec 6>/dev
/null
1291 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di
=`ls -di .` &&
1293 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1294 as_fn_error $?
"working directory cannot be determined"
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296 as_fn_error $?
"pwd does not report name of working directory"
1299 # Find the source files, if location was not specified.
1300 if test -z "$srcdir"; then
1301 ac_srcdir_defaulted
=yes
1302 # Try the directory containing this script, then the parent directory.
1303 ac_confdir
=`$as_dirname -- "$as_myself" ||
1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1305 X"$as_myself" : 'X\(//\)[^/]' \| \
1306 X"$as_myself" : 'X\(//\)$' \| \
1307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1308 $as_echo X"$as_myself" |
1309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1331 ac_srcdir_defaulted
=no
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1335 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1337 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1341 # When building in place, set srcdir=.
1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
1345 # Remove unnecessary trailing slashes from srcdir.
1346 # Double slashes in file names in object file debugging info
1347 # mess up M-x gdb in Emacs.
1349 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351 for ac_var
in $ac_precious_vars; do
1352 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1353 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1354 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1355 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1359 # Report the --help message.
1361 if test "$ac_init_help" = "long"; then
1362 # Omit some internal or obsolete options to make the list less imposing.
1363 # This message is too long to be a string in the A/UX 3.1 sh.
1365 \`configure' configures libcec 2:1:0 to adapt to many kinds of systems.
1367 Usage: $0 [OPTION]... [VAR=VALUE]...
1369 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1370 VAR=VALUE. See below for descriptions of some of the useful variables.
1372 Defaults for the options are specified in brackets.
1375 -h, --help display this help and exit
1376 --help=short display options specific to this package
1377 --help=recursive display the short help of all the included packages
1378 -V, --version display version information and exit
1379 -q, --quiet, --silent do not print \`checking ...' messages
1380 --cache-file=FILE cache test results in FILE [disabled]
1381 -C, --config-cache alias for \`--cache-file=config.cache'
1382 -n, --no-create do not create output files
1383 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1385 Installation directories:
1386 --prefix=PREFIX install architecture-independent files in PREFIX
1387 [$ac_default_prefix]
1388 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1391 By default, \`make install' will install all the files in
1392 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1393 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1394 for instance \`--prefix=\$HOME'.
1396 For better control, use the options below.
1398 Fine tuning of the installation directories:
1399 --bindir=DIR user executables [EPREFIX/bin]
1400 --sbindir=DIR system admin executables [EPREFIX/sbin]
1401 --libexecdir=DIR program executables [EPREFIX/libexec]
1402 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1403 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1404 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1405 --libdir=DIR object code libraries [EPREFIX/lib]
1406 --includedir=DIR C header files [PREFIX/include]
1407 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1408 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1409 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1410 --infodir=DIR info documentation [DATAROOTDIR/info]
1411 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1412 --mandir=DIR man documentation [DATAROOTDIR/man]
1413 --docdir=DIR documentation root [DATAROOTDIR/doc/libcec]
1414 --htmldir=DIR html documentation [DOCDIR]
1415 --dvidir=DIR dvi documentation [DOCDIR]
1416 --pdfdir=DIR pdf documentation [DOCDIR]
1417 --psdir=DIR ps documentation [DOCDIR]
1423 --program-prefix=PREFIX prepend PREFIX to installed program names
1424 --program-suffix=SUFFIX append SUFFIX to installed program names
1425 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1428 --build=BUILD configure
for building on BUILD
[guessed
]
1429 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1433 if test -n "$ac_init_help"; then
1434 case $ac_init_help in
1435 short | recursive
) echo "Configuration of libcec 2:1:0:";;
1440 --disable-option-checking ignore unrecognized
--enable/--with options
1441 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1442 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1443 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1444 --disable-silent-rules verbose build output
(undo
: "make V=0")
1445 --enable-dependency-tracking
1446 do not reject slow dependency extractors
1447 --disable-dependency-tracking
1448 speeds up one-time build
1449 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1450 --enable-static[=PKGS
] build static libraries
[default
=yes]
1451 --enable-fast-install[=PKGS
]
1452 optimize
for fast installation
[default
=yes]
1453 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1454 --enable-debug include debug symbols
(default is no
)
1455 --enable-optimisation optimisation flag
(default is
yes)
1456 --enable-tda995x enable support
for the TDA995x
(default is no
)
1457 --enable-exynos enable support
for the Exynos
(default is
yes)
1458 --enable-rpi enable support
for the Raspberry Pi
(default is
1462 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1463 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1464 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1466 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1467 --with-sysroot=DIR Search
for dependent libraries within DIR
1468 (or the compiler
's sysroot if not specified).
1469 --with-tda995x-toolkit-path
1470 location of the TDA995x driver toolkit (default is
1472 --with-rpi-include-path location of the Raspberry Pi headers (location of
1473 /opt/vc/include, default is auto)
1474 --with-rpi-lib-path location of the Raspberry Pi libraries (location of
1475 libbcm_host.so, default is auto)
1477 Some influential environment variables:
1478 CXX C++ compiler command
1479 CXXFLAGS C++ compiler flags
1480 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1481 nonstandard directory <lib dir>
1482 LIBS libraries to pass to the linker, e.g. -l<library>
1483 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484 you have headers in a nonstandard directory <include dir>
1485 CC C compiler command
1486 CFLAGS C compiler flags
1488 CXXCPP C++ preprocessor
1489 PKG_CONFIG path to pkg-config utility
1491 directories to add to pkg-config's search path
1493 path overriding pkg-config
's built-in search path
1494 UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1495 UDEV_LIBS linker flags for UDEV, overriding pkg-config
1497 Use these variables to override the choices made by `configure' or to
help
1498 it to
find libraries and programs with nonstandard names
/locations.
1500 Report bugs to
<http
://libcec.pulse-eight.com
/>.
1505 if test "$ac_init_help" = "recursive"; then
1506 # If there are subdirs, report their specific --help.
1507 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1508 test -d "$ac_dir" ||
1509 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1514 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1516 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1517 # A ".." for each directory in $ac_dir_suffix.
1518 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1519 case $ac_top_builddir_sub in
1520 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1521 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1524 ac_abs_top_builddir
=$ac_pwd
1525 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1526 # for backward compatibility:
1527 ac_top_builddir
=$ac_top_build_prefix
1530 .
) # We are building in place.
1532 ac_top_srcdir
=$ac_top_builddir_sub
1533 ac_abs_top_srcdir
=$ac_pwd ;;
1534 [\\/]* | ?
:[\\/]* ) # Absolute name.
1535 ac_srcdir
=$srcdir$ac_dir_suffix;
1536 ac_top_srcdir
=$srcdir
1537 ac_abs_top_srcdir
=$srcdir ;;
1539 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1541 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1543 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1545 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1546 # Check for guested configure.
1547 if test -f "$ac_srcdir/configure.gnu"; then
1549 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550 elif test -f "$ac_srcdir/configure"; then
1552 $SHELL "$ac_srcdir/configure" --help=recursive
1554 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1560 test -n "$ac_init_help" && exit $ac_status
1561 if $ac_init_version; then
1563 libcec configure
2:1:0
1564 generated by GNU Autoconf
2.69
1566 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1567 This configure
script is free software
; the Free Software Foundation
1568 gives unlimited permission to copy
, distribute and modify it.
1573 ## ------------------------ ##
1574 ## Autoconf initialization. ##
1575 ## ------------------------ ##
1577 # ac_fn_cxx_try_compile LINENO
1578 # ----------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_cxx_try_compile
()
1582 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1583 rm -f conftest.
$ac_objext
1584 if { { ac_try
="$ac_compile"
1586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1593 if test -s conftest.err; then
1594 grep -v '^ *+' conftest.err >conftest.er1
1595 cat conftest.er1 >&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_cxx_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.$ac_objext; then :
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_status $ac_retval
1613 } # ac_fn_cxx_try_compile
1615 # ac_fn_c_try_compile LINENO
1616 # --------------------------
1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_c_try_compile ()
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 rm -f conftest.$ac_objext
1622 if { { ac_try="$ac_compile"
1624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1625 *) ac_try_echo
=$ac_try;;
1627 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_compile") 2>conftest.err
1631 if test -s conftest.err
; then
1632 grep -v '^ *+' conftest.err
>conftest.er1
1633 cat conftest.er1
>&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest.
$ac_objext; then :
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.
$ac_ext >&5
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status
$ac_retval
1651 } # ac_fn_c_try_compile
1653 # ac_fn_c_try_link LINENO
1654 # -----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1659 rm -f conftest.
$ac_objext conftest
$ac_exeext
1660 if { { ac_try
="$ac_link"
1662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest$ac_exeext && {
1679 test "$cross_compiling" = yes ||
1680 test -x conftest$ac_exeext
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691 # interfere with the next link command; also delete a directory that is
1692 # left behind by Apple's compiler. We do this before executing the actions.
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_link
1699 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1700 # -------------------------------------------------------
1701 # Tests whether HEADER exists and can be compiled using the include files in
1702 # INCLUDES, setting the cache variable VAR accordingly.
1703 ac_fn_c_check_header_compile ()
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1716 if ac_fn_c_try_compile "$LINENO"; then :
1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725 $as_echo "$ac_res" >&6; }
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 } # ac_fn_c_check_header_compile
1730 # ac_fn_c_try_cpp LINENO
1731 # ----------------------
1732 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 if { { ac_try="$ac_cpp conftest.$ac_ext"
1738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1739 *) ac_try_echo
=$ac_try;;
1741 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1745 if test -s conftest.err
; then
1746 grep -v '^ *+' conftest.err
>conftest.er1
1747 cat conftest.er1
>&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } > conftest.i
&& {
1752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.
$ac_ext >&5
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 as_fn_set_status
$ac_retval
1767 # ac_fn_c_try_run LINENO
1768 # ----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770 # that executables *can* be run.
1773 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1774 if { { ac_try
="$ac_link"
1776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785 { { case "(($ac_try" in
1786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1787 *) ac_try_echo
=$ac_try;;
1789 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_try") 2>&5
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; }; }; then :
1797 $as_echo "$as_me: program exited with status $ac_status" >&5
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.
$ac_ext >&5
1801 ac_retval
=$ac_status
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status
$ac_retval
1809 # ac_fn_c_check_func LINENO FUNC VAR
1810 # ----------------------------------
1811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1812 ac_fn_c_check_func
()
1814 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if eval \
${$3+:} false
; then :
1818 $as_echo_n "(cached) " >&6
1820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1822 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1824 #define $2 innocuous_$2
1826 /* System header to define __stub macros and hopefully few prototypes,
1827 which can conflict with char $2 (); below.
1828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1829 <limits.h> exists even on freestanding compilers. */
1832 # include <limits.h>
1834 # include <assert.h>
1839 /* Override any GCC internal prototype to avoid an error.
1840 Use char because int might match the return type of a GCC
1841 builtin and then its argument prototype would still apply. */
1846 /* The GNU C library defines this for functions which it implements
1847 to always fail with ENOSYS. Some functions are actually named
1848 something starting with __ and the normal name is an alias. */
1849 #if defined __stub_$2 || defined __stub___$2
1861 if ac_fn_c_try_link
"$LINENO"; then :
1866 rm -f core conftest.err conftest.
$ac_objext \
1867 conftest
$ac_exeext conftest.
$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 } # ac_fn_c_check_func
1876 # ac_fn_cxx_try_cpp LINENO
1877 # ------------------------
1878 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1879 ac_fn_cxx_try_cpp
()
1881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1882 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1891 if test -s conftest.err; then
1892 grep -v '^ *+' conftest.err >conftest.er1
1893 cat conftest.er1 >&5
1894 mv -f conftest.er1 conftest.err
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } > conftest.i && {
1898 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1899 test ! -s conftest.err
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 as_fn_set_status $ac_retval
1911 } # ac_fn_cxx_try_cpp
1913 # ac_fn_cxx_try_link LINENO
1914 # -------------------------
1915 # Try to link conftest.$ac_ext, and return whether this succeeded.
1916 ac_fn_cxx_try_link ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 rm -f conftest.$ac_objext conftest$ac_exeext
1920 if { { ac_try="$ac_link"
1922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1923 *) ac_try_echo
=$ac_try;;
1925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_link") 2>conftest.err
1929 if test -s conftest.err
; then
1930 grep -v '^ *+' conftest.err
>conftest.er1
1931 cat conftest.er1
>&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_cxx_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest
$ac_exeext && {
1939 test "$cross_compiling" = yes ||
1940 test -x conftest
$ac_exeext
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.
$ac_ext >&5
1949 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1950 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1951 # interfere with the next link command; also delete a directory that is
1952 # left behind by Apple's compiler. We do this before executing the actions.
1953 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status
$ac_retval
1957 } # ac_fn_cxx_try_link
1959 # ac_fn_cxx_check_func LINENO FUNC VAR
1960 # ------------------------------------
1961 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1962 ac_fn_cxx_check_func
()
1964 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \
${$3+:} false
; then :
1968 $as_echo_n "(cached) " >&6
1970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1972 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1974 #define $2 innocuous_$2
1976 /* System header to define __stub macros and hopefully few prototypes,
1977 which can conflict with char $2 (); below.
1978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1979 <limits.h> exists even on freestanding compilers. */
1982 # include <limits.h>
1984 # include <assert.h>
1989 /* Override any GCC internal prototype to avoid an error.
1990 Use char because int might match the return type of a GCC
1991 builtin and then its argument prototype would still apply. */
1996 /* The GNU C library defines this for functions which it implements
1997 to always fail with ENOSYS. Some functions are actually named
1998 something starting with __ and the normal name is an alias. */
1999 #if defined __stub_$2 || defined __stub___$2
2011 if ac_fn_cxx_try_link
"$LINENO"; then :
2016 rm -f core conftest.err conftest.
$ac_objext \
2017 conftest
$ac_exeext conftest.
$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 } # ac_fn_cxx_check_func
2026 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2027 # ---------------------------------------------------------
2028 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2029 # the include files in INCLUDES and setting the cache variable VAR
2031 ac_fn_cxx_check_header_mongrel
()
2033 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2034 if eval \
${$3+:} false
; then :
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval \
${$3+:} false
; then :
2038 $as_echo_n "(cached) " >&6
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042 $as_echo "$ac_res" >&6; }
2044 # Is the header compilable?
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2046 $as_echo_n "checking $2 usability... " >&6; }
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2052 if ac_fn_cxx_try_compile
"$LINENO"; then :
2053 ac_header_compiler
=yes
2055 ac_header_compiler
=no
2057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2059 $as_echo "$ac_header_compiler" >&6; }
2061 # Is the header present?
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2063 $as_echo_n "checking $2 presence... " >&6; }
2064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2068 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2069 ac_header_preproc
=yes
2071 ac_header_preproc
=no
2073 rm -f conftest.err conftest.i conftest.
$ac_ext
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2075 $as_echo "$ac_header_preproc" >&6; }
2077 # So? What about this header?
2078 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2081 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2083 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2087 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2089 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2091 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2093 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2095 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2096 ( $as_echo "## --------------------------------------------- ##
2097 ## Report this to http://libcec.pulse-eight.com/ ##
2098 ## --------------------------------------------- ##"
2099 ) |
sed "s/^/$as_me: WARNING: /" >&2
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2103 $as_echo_n "checking for $2... " >&6; }
2104 if eval \
${$3+:} false
; then :
2105 $as_echo_n "(cached) " >&6
2107 eval "$3=\$ac_header_compiler"
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115 } # ac_fn_cxx_check_header_mongrel
2116 cat >config.log
<<_ACEOF
2117 This file contains any messages produced by compilers while
2118 running configure, to aid debugging if configure makes a mistake.
2120 It was created by libcec $as_me 2:1:0, which was
2121 generated by GNU Autoconf 2.69. Invocation command line was
2133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir
=.
2157 $as_echo "PATH: $as_dir"
2173 # Keep a trace of the command line.
2174 # Strip out --no-create and --no-recursion so they do not pile up.
2175 # Strip out --silent because we don't want to record it for future runs.
2176 # Also quote any args containing shell meta-characters.
2177 # Make two passes to allow for proper duplicate-argument suppression.
2181 ac_must_keep_next
=false
2187 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2188 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2189 |
-silent |
--silent |
--silen |
--sile |
--sil)
2192 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2195 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2197 as_fn_append ac_configure_args1
" '$ac_arg'"
2198 if test $ac_must_keep_next = true
; then
2199 ac_must_keep_next
=false
# Got value, back to normal.
2202 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2203 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2204 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2205 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2206 case "$ac_configure_args0 " in
2207 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2210 -* ) ac_must_keep_next
=true
;;
2213 as_fn_append ac_configure_args
" '$ac_arg'"
2218 { ac_configure_args0
=; unset ac_configure_args0
;}
2219 { ac_configure_args1
=; unset ac_configure_args1
;}
2221 # When interrupted or exit'd, cleanup temporary files, and complete
2222 # config.log. We remove comments because anyway the quotes in there
2223 # would cause problems or look ugly.
2224 # WARNING: Use '\'' to represent an apostrophe within the trap.
2225 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2226 trap 'exit_status=$?
2227 # Save into config.log some information that might help in debugging.
2231 $as_echo "## ---------------- ##
2232 ## Cache variables. ##
2233 ## ---------------- ##"
2235 # The following way of writing the cache mishandles newlines in values,
2237 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2238 eval ac_val=\$$ac_var
2242 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2246 _ | IFS | as_nl) ;; #(
2247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2248 *) { eval $ac_var=; unset $ac_var;} ;;
2253 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2254 *${as_nl}ac_space=\ *)
2256 "s/'\''/'\''\\\\'\'''\''/g;
2257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2267 $as_echo "## ----------------- ##
2268 ## Output variables. ##
2269 ## ----------------- ##"
2271 for ac_var in $ac_subst_vars
2273 eval ac_val=\$$ac_var
2275 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2277 $as_echo "$ac_var='\''$ac_val'\''"
2281 if test -n "$ac_subst_files"; then
2282 $as_echo "## ------------------- ##
2283 ## File substitutions. ##
2284 ## ------------------- ##"
2286 for ac_var
in $ac_subst_files
2288 eval ac_val
=\$
$ac_var
2290 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2292 $as_echo "$ac_var='\''$ac_val'\''"
2297 if test -s confdefs.h; then
2298 $as_echo "## ----------- ##
2305 test "$ac_signal" != 0 &&
2306 $as_echo "$as_me: caught signal $ac_signal"
2307 $as_echo "$as_me: exit $exit_status"
2309 rm -f core *.core core.conftest.* &&
2310 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2313 for ac_signal
in 1 2 13 15; do
2314 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2319 rm -f -r conftest
* confdefs.h
2321 $as_echo "/* confdefs.h */" > confdefs.h
2323 # Predefined preprocessor variables.
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_NAME "$PACKAGE_NAME"
2329 cat >>confdefs.h
<<_ACEOF
2330 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2333 cat >>confdefs.h
<<_ACEOF
2334 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2337 cat >>confdefs.h
<<_ACEOF
2338 #define PACKAGE_STRING "$PACKAGE_STRING"
2341 cat >>confdefs.h
<<_ACEOF
2342 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2345 cat >>confdefs.h
<<_ACEOF
2346 #define PACKAGE_URL "$PACKAGE_URL"
2350 # Let the site file select an alternate cache file if it wants to.
2351 # Prefer an explicitly selected file to automatically selected ones.
2354 if test -n "$CONFIG_SITE"; then
2355 # We do not want a PATH search for config.site.
2356 case $CONFIG_SITE in #((
2357 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2358 */*) ac_site_file1
=$CONFIG_SITE;;
2359 *) ac_site_file1
=.
/$CONFIG_SITE;;
2361 elif test "x$prefix" != xNONE
; then
2362 ac_site_file1
=$prefix/share
/config.site
2363 ac_site_file2
=$prefix/etc
/config.site
2365 ac_site_file1
=$ac_default_prefix/share
/config.site
2366 ac_site_file2
=$ac_default_prefix/etc
/config.site
2368 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2370 test "x$ac_site_file" = xNONE
&& continue
2371 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2373 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2374 sed 's/^/| /' "$ac_site_file" >&5
2376 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 as_fn_error $?
"failed to load site script $ac_site_file
2379 See \`config.log' for more details" "$LINENO" 5; }
2383 if test -r "$cache_file"; then
2384 # Some versions of bash will fail to source /dev/null (special files
2385 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2386 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2388 $as_echo "$as_me: loading cache $cache_file" >&6;}
2390 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2391 *) .
"./$cache_file";;
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2396 $as_echo "$as_me: creating cache $cache_file" >&6;}
2400 # Check that the precious variables saved in the cache have kept the same
2402 ac_cache_corrupted
=false
2403 for ac_var
in $ac_precious_vars; do
2404 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2405 eval ac_new_set
=\
$ac_env_${ac_var}_set
2406 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2407 eval ac_new_val
=\
$ac_env_${ac_var}_value
2408 case $ac_old_set,$ac_new_set in
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2411 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2412 ac_cache_corrupted
=: ;;
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2415 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2416 ac_cache_corrupted
=: ;;
2419 if test "x$ac_old_val" != "x$ac_new_val"; then
2420 # differences in whitespace do not lead to failure.
2421 ac_old_val_w
=`echo x $ac_old_val`
2422 ac_new_val_w
=`echo x $ac_new_val`
2423 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2425 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2426 ac_cache_corrupted
=:
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2429 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2430 eval $ac_var=\
$ac_old_val
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2433 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2435 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2438 # Pass precious variables to config.status.
2439 if test "$ac_new_set" = set; then
2441 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2442 *) ac_arg
=$ac_var=$ac_new_val ;;
2444 case " $ac_configure_args " in
2445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2446 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2450 if $ac_cache_corrupted; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2454 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2455 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2457 ## -------------------- ##
2458 ## Main body of script. ##
2459 ## -------------------- ##
2462 ac_cpp
='$CPP $CPPFLAGS'
2463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2468 ac_config_headers
="$ac_config_headers config.h"
2472 am__api_version
='1.14'
2475 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2476 if test -f "$ac_dir/install-sh"; then
2478 ac_install_sh
="$ac_aux_dir/install-sh -c"
2480 elif test -f "$ac_dir/install.sh"; then
2482 ac_install_sh
="$ac_aux_dir/install.sh -c"
2484 elif test -f "$ac_dir/shtool"; then
2486 ac_install_sh
="$ac_aux_dir/shtool install -c"
2490 if test -z "$ac_aux_dir"; then
2491 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2494 # These three variables are undocumented and unsupported,
2495 # and are intended to be withdrawn in a future Autoconf release.
2496 # They can cause serious problems if a builder's source tree is in a directory
2497 # whose full name contains unusual characters.
2498 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2499 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2500 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2503 # Find a good install program. We prefer a C program (faster),
2504 # so one script is as good as another. But avoid the broken or
2505 # incompatible versions:
2506 # SysV /etc/install, /usr/sbin/install
2507 # SunOS /usr/etc/install
2508 # IRIX /sbin/install
2510 # AmigaOS /C/install, which installs bootblocks on floppy discs
2511 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2512 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2513 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2514 # OS/2's system install, which has a completely different semantic
2515 # ./install, which can be erroneously created by make from ./install.sh.
2516 # Reject install programs that cannot install multiple files.
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2518 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2519 if test -z "$INSTALL"; then
2520 if ${ac_cv_path_install+:} false
; then :
2521 $as_echo_n "(cached) " >&6
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 # Account for people who put trailing slashes in PATH elements.
2529 case $as_dir/ in #((
2530 .
/ | .
// |
/[cC
]/* | \
2531 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2532 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2535 # OSF1 and SCO ODT 3.0 have their own names for install.
2536 # Don't use installbsd from OSF since it installs stuff as root
2538 for ac_prog
in ginstall scoinst
install; do
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2541 if test $ac_prog = install &&
2542 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2543 # AIX install. It has an incompatible calling convention.
2545 elif test $ac_prog = install &&
2546 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2547 # program-specific install script used by HP pwplus--don't use.
2550 rm -rf conftest.one conftest.two conftest.dir
2551 echo one
> conftest.one
2552 echo two
> conftest.two
2554 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2555 test -s conftest.one
&& test -s conftest.two
&&
2556 test -s conftest.dir
/conftest.one
&&
2557 test -s conftest.dir
/conftest.two
2559 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2572 rm -rf conftest.one conftest.two conftest.dir
2575 if test "${ac_cv_path_install+set}" = set; then
2576 INSTALL
=$ac_cv_path_install
2578 # As a last resort, use the slow shell script. Don't cache a
2579 # value for INSTALL within a source directory, because that will
2580 # break other packages using the cache if that directory is
2581 # removed, or if the value is a relative name.
2582 INSTALL
=$ac_install_sh
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2586 $as_echo "$INSTALL" >&6; }
2588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2589 # It thinks the first close brace ends the variable substitution.
2590 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2592 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2594 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2597 $as_echo_n "checking whether build environment is sane... " >&6; }
2598 # Reject unsafe characters in $srcdir or the absolute working directory
2599 # name. Accept space and tab only in the latter.
2603 *[\\\"\
#\$\&\'\`$am_lf]*)
2604 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2607 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2608 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2611 # Do 'set' in a subshell so we don't clobber the current shell's
2612 # arguments. Must try -L first in case configure is actually a
2613 # symlink; some systems play weird games with the mod time of symlinks
2614 # (eg FreeBSD returns the mod time of the symlink's containing
2618 for am_try
in 1 2; do
2619 echo "timestamp, slept: $am_has_slept" > conftest.
file
2620 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2621 if test "$*" = "X"; then
2623 set X
`ls -t "$srcdir/configure" conftest.file`
2625 if test "$*" != "X $srcdir/configure conftest.file" \
2626 && test "$*" != "X conftest.file $srcdir/configure"; then
2628 # If neither matched, then we have a broken ls. This can happen
2629 # if, for instance, CONFIG_SHELL is bash and it inherits a
2630 # broken ls alias from the environment. This has actually
2631 # happened. Such a system could not be considered "sane".
2632 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2633 alias in your environment" "$LINENO" 5
2635 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2642 test "$2" = conftest.
file
2648 as_fn_error $?
"newly created file is older than distributed files!
2649 Check your system clock" "$LINENO" 5
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652 $as_echo "yes" >&6; }
2653 # If we didn't sleep, we still need to ensure time stamps of config.status and
2654 # generated files are strictly newer.
2656 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2663 test "$program_prefix" != NONE
&&
2664 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2665 # Use a double $ so make ignores it.
2666 test "$program_suffix" != NONE
&&
2667 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2668 # Double any \ or $.
2669 # By default was `s,x,x', remove it if useless.
2670 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2671 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2673 # expand $ac_aux_dir to an absolute path
2674 am_aux_dir
=`cd $ac_aux_dir && pwd`
2676 if test x
"${MISSING+set}" != xset
; then
2679 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2681 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2684 # Use eval to expand $SHELL
2685 if eval "$MISSING --is-lightweight"; then
2686 am_missing_run
="$MISSING "
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2690 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2693 if test x
"${install_sh}" != xset
; then
2696 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2698 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2702 # Installed binaries are usually stripped using 'strip' when the user
2703 # run "make install-strip". However 'strip' might not be the right
2704 # tool to use in cross-compilation environments, therefore Automake
2705 # will honor the 'STRIP' environment variable to overrule this program.
2706 if test "$cross_compiling" != no
; then
2707 if test -n "$ac_tool_prefix"; then
2708 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2709 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2711 $as_echo_n "checking for $ac_word... " >&6; }
2712 if ${ac_cv_prog_STRIP+:} false
; then :
2713 $as_echo_n "(cached) " >&6
2715 if test -n "$STRIP"; then
2716 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2722 test -z "$as_dir" && as_dir
=.
2723 for ac_exec_ext
in '' $ac_executable_extensions; do
2724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2725 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 STRIP
=$ac_cv_prog_STRIP
2736 if test -n "$STRIP"; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2738 $as_echo "$STRIP" >&6; }
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741 $as_echo "no" >&6; }
2746 if test -z "$ac_cv_prog_STRIP"; then
2748 # Extract the first word of "strip", so it can be a program name with args.
2749 set dummy strip
; ac_word
=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$ac_ct_STRIP"; then
2756 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_ac_ct_STRIP
="strip"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2776 if test -n "$ac_ct_STRIP"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2778 $as_echo "$ac_ct_STRIP" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2784 if test "x$ac_ct_STRIP" = x
; then
2787 case $cross_compiling:$ac_tool_warned in
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2791 ac_tool_warned
=yes ;;
2796 STRIP
="$ac_cv_prog_STRIP"
2800 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2803 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2804 if test -z "$MKDIR_P"; then
2805 if ${ac_cv_path_mkdir+:} false
; then :
2806 $as_echo_n "(cached) " >&6
2808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2809 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2812 test -z "$as_dir" && as_dir
=.
2813 for ac_prog
in mkdir gmkdir
; do
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2816 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2817 'mkdir (GNU coreutils) '* | \
2818 'mkdir (coreutils) '* | \
2819 'mkdir (fileutils) '4.1*)
2820 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2830 test -d .
/--version && rmdir .
/--version
2831 if test "${ac_cv_path_mkdir+set}" = set; then
2832 MKDIR_P
="$ac_cv_path_mkdir -p"
2834 # As a last resort, use the slow shell script. Don't cache a
2835 # value for MKDIR_P within a source directory, because that will
2836 # break other packages using the cache if that directory is
2837 # removed, or if the value is a relative name.
2838 MKDIR_P
="$ac_install_sh -d"
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2842 $as_echo "$MKDIR_P" >&6; }
2844 for ac_prog
in gawk mawk nawk
awk
2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2847 set dummy
$ac_prog; ac_word
=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_AWK+:} false
; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$AWK"; then
2854 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir
=.
2861 for ac_exec_ext
in '' $ac_executable_extensions; do
2862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2863 ac_cv_prog_AWK
="$ac_prog"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 if test -n "$AWK"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2876 $as_echo "$AWK" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2883 test -n "$AWK" && break
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2887 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2889 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2890 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2891 $as_echo_n "(cached) " >&6
2893 cat >conftest.
make <<\_ACEOF
2896 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2898 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2899 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2901 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2903 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2907 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2909 $as_echo "yes" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2914 SET_MAKE
="MAKE=${MAKE-make}"
2917 rm -rf .tst
2>/dev
/null
2918 mkdir .tst
2>/dev
/null
2919 if test -d .tst
; then
2924 rmdir .tst
2>/dev
/null
2926 # Check whether --enable-silent-rules was given.
2927 if test "${enable_silent_rules+set}" = set; then :
2928 enableval
=$enable_silent_rules;
2931 case $enable_silent_rules in # (((
2932 yes) AM_DEFAULT_VERBOSITY
=0;;
2933 no
) AM_DEFAULT_VERBOSITY
=1;;
2934 *) AM_DEFAULT_VERBOSITY
=1;;
2936 am_make
=${MAKE-make}
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2938 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2939 if ${am_cv_make_support_nested_variables+:} false
; then :
2940 $as_echo_n "(cached) " >&6
2942 if $as_echo 'TRUE=$(BAR$(V))
2948 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2949 am_cv_make_support_nested_variables
=yes
2951 am_cv_make_support_nested_variables
=no
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2955 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2956 if test $am_cv_make_support_nested_variables = yes; then
2958 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2960 AM_V
=$AM_DEFAULT_VERBOSITY
2961 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2965 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2966 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2967 # is not polluted with repeated "-I."
2968 am__isrc
=' -I$(srcdir)'
2969 # test to see if srcdir already configured
2970 if test -f $srcdir/config.status
; then
2971 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2975 # test whether we have cygpath
2976 if test -z "$CYGPATH_W"; then
2977 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2978 CYGPATH_W
='cygpath -w'
2985 # Define the identity of the package.
2990 cat >>confdefs.h
<<_ACEOF
2991 #define PACKAGE "$PACKAGE"
2995 cat >>confdefs.h
<<_ACEOF
2996 #define VERSION "$VERSION"
2999 # Some tools Automake needs.
3001 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3004 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3007 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3010 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3013 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3015 # For better backward compatibility. To be removed once Automake 1.9.x
3016 # dies out for good. For more background, see:
3017 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3018 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3019 mkdir_p
='$(MKDIR_P)'
3021 # We need awk for the "check" target. The system "awk" is bad on
3023 # Always define AMTAR for backward compatibility. Yes, it's still used
3024 # in the wild :-( We should find a proper way to deprecate it ...
3028 # We'll loop over all known methods to create a tar archive until one works.
3029 _am_tools
='gnutar pax cpio none'
3031 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3038 # POSIX will say in a future version that running "rm -f" with no argument
3039 # is OK; and we want to be able to make that assumption in our Makefile
3040 # recipes. So use an aggressive probe to check that the usage we want is
3041 # actually supported "in the wild" to an acceptable degree.
3042 # See automake bug#10828.
3043 # To make any issue more visible, cause the running configure to be aborted
3044 # by default if the 'rm' program in use doesn't match our expectations; the
3045 # user can still override this though.
3046 if rm -f && rm -fr && rm -rf; then : OK
; else
3050 Your 'rm' program seems unable to run without file operands specified
3051 on the command line, even when the '-f' option is present. This is contrary
3052 to the behaviour of most rm programs out there, and not conforming with
3053 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3055 Please tell bug-automake@gnu.org about your system, including the value
3056 of your $PATH and any error possibly output before this message. This
3057 can help us improve future automake versions.
3060 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3061 echo 'Configuration will proceed anyway, since you have set the' >&2
3062 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3066 Aborting the configuration process, to ensure you take notice of the issue.
3068 You can download and install GNU coreutils to get an 'rm' implementation
3069 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3071 If you want to complete the configuration process using your problematic
3072 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3073 to "yes", and re-run configure.
3076 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3079 # Check whether --enable-silent-rules was given.
3080 if test "${enable_silent_rules+set}" = set; then :
3081 enableval
=$enable_silent_rules;
3084 case $enable_silent_rules in # (((
3085 yes) AM_DEFAULT_VERBOSITY
=0;;
3086 no
) AM_DEFAULT_VERBOSITY
=1;;
3087 *) AM_DEFAULT_VERBOSITY
=0;;
3089 am_make
=${MAKE-make}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3091 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3092 if ${am_cv_make_support_nested_variables+:} false
; then :
3093 $as_echo_n "(cached) " >&6
3095 if $as_echo 'TRUE=$(BAR$(V))
3101 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3102 am_cv_make_support_nested_variables
=yes
3104 am_cv_make_support_nested_variables
=no
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3108 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3109 if test $am_cv_make_support_nested_variables = yes; then
3111 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3113 AM_V
=$AM_DEFAULT_VERBOSITY
3114 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3119 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3120 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3121 # is not polluted with repeated "-I."
3122 am__isrc
=' -I$(srcdir)'
3123 # test to see if srcdir already configured
3124 if test -f $srcdir/config.status
; then
3125 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3129 # test whether we have cygpath
3130 if test -z "$CYGPATH_W"; then
3131 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3132 CYGPATH_W
='cygpath -w'
3139 # Define the identity of the package.
3145 cat >>confdefs.h
<<_ACEOF
3146 #define PACKAGE "$PACKAGE"
3150 cat >>confdefs.h
<<_ACEOF
3151 #define VERSION "$VERSION"
3154 # Some tools Automake needs.
3156 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3159 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3162 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3165 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3168 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3170 # For better backward compatibility. To be removed once Automake 1.9.x
3171 # dies out for good. For more background, see:
3172 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3173 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3174 mkdir_p
='$(MKDIR_P)'
3176 # We need awk for the "check" target. The system "awk" is bad on
3178 # Always define AMTAR for backward compatibility. Yes, it's still used
3179 # in the wild :-( We should find a proper way to deprecate it ...
3183 # We'll loop over all known methods to create a tar archive until one works.
3184 _am_tools
='gnutar pax cpio none'
3186 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3193 # POSIX will say in a future version that running "rm -f" with no argument
3194 # is OK; and we want to be able to make that assumption in our Makefile
3195 # recipes. So use an aggressive probe to check that the usage we want is
3196 # actually supported "in the wild" to an acceptable degree.
3197 # See automake bug#10828.
3198 # To make any issue more visible, cause the running configure to be aborted
3199 # by default if the 'rm' program in use doesn't match our expectations; the
3200 # user can still override this though.
3201 if rm -f && rm -fr && rm -rf; then : OK
; else
3205 Your 'rm' program seems unable to run without file operands specified
3206 on the command line, even when the '-f' option is present. This is contrary
3207 to the behaviour of most rm programs out there, and not conforming with
3208 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3210 Please tell bug-automake@gnu.org about your system, including the value
3211 of your $PATH and any error possibly output before this message. This
3212 can help us improve future automake versions.
3215 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3216 echo 'Configuration will proceed anyway, since you have set the' >&2
3217 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3221 Aborting the configuration process, to ensure you take notice of the issue.
3223 You can download and install GNU coreutils to get an 'rm' implementation
3224 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3226 If you want to complete the configuration process using your problematic
3227 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3228 to "yes", and re-run configure.
3231 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3235 # Make sure we can run config.sub.
3236 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3237 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3240 $as_echo_n "checking build system type... " >&6; }
3241 if ${ac_cv_build+:} false
; then :
3242 $as_echo_n "(cached) " >&6
3244 ac_build_alias
=$build_alias
3245 test "x$ac_build_alias" = x
&&
3246 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3247 test "x$ac_build_alias" = x
&&
3248 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3249 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3250 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3254 $as_echo "$ac_cv_build" >&6; }
3255 case $ac_cv_build in
3257 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3260 ac_save_IFS
=$IFS; IFS
='-'
3266 # Remember, the first character of IFS is used to create $*,
3267 # except with old shells:
3270 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3274 $as_echo_n "checking host system type... " >&6; }
3275 if ${ac_cv_host+:} false
; then :
3276 $as_echo_n "(cached) " >&6
3278 if test "x$host_alias" = x
; then
3279 ac_cv_host
=$ac_cv_build
3281 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3282 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3287 $as_echo "$ac_cv_host" >&6; }
3290 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3293 ac_save_IFS
=$IFS; IFS
='-'
3299 # Remember, the first character of IFS is used to create $*,
3300 # except with old shells:
3303 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3307 cflags_reset
="$CFLAGS"
3309 ac_cpp
='$CXXCPP $CPPFLAGS'
3310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3315 ac_cpp
='$CXXCPP $CPPFLAGS'
3316 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3319 if test -z "$CXX"; then
3320 if test -n "$CCC"; then
3323 if test -n "$ac_tool_prefix"; then
3324 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3327 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_CXX+:} false
; then :
3331 $as_echo_n "(cached) " >&6
3333 if test -n "$CXX"; then
3334 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir
=.
3341 for ac_exec_ext
in '' $ac_executable_extensions; do
3342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 if test -n "$CXX"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3356 $as_echo "$CXX" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3363 test -n "$CXX" && break
3366 if test -z "$CXX"; then
3368 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3370 # Extract the first word of "$ac_prog", so it can be a program name with args.
3371 set dummy
$ac_prog; ac_word
=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$ac_ct_CXX"; then
3378 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir
=.
3385 for ac_exec_ext
in '' $ac_executable_extensions; do
3386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3387 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3398 if test -n "$ac_ct_CXX"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3400 $as_echo "$ac_ct_CXX" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3407 test -n "$ac_ct_CXX" && break
3410 if test "x$ac_ct_CXX" = x
; then
3413 case $cross_compiling:$ac_tool_warned in
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3417 ac_tool_warned
=yes ;;
3425 # Provide some information about the compiler.
3426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3429 for ac_option
in --version -v -V -qversion; do
3430 { { ac_try
="$ac_compiler $ac_option >&5"
3432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436 $as_echo "$ac_try_echo"; } >&5
3437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3439 if test -s conftest.err; then
3441 ... rest of stderr output deleted ...
3442 10q' conftest.err >conftest.er1
3443 cat conftest.er1 >&5
3445 rm -f conftest.er1 conftest.err
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3461 ac_clean_files_save=$ac_clean_files
3462 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3463 # Try to create an executable without -o first, disregard a.out.
3464 # It will help us diagnose broken compilers, and finding out an intuition
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3467 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3468 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3470 # The possible output files:
3471 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3474 for ac_file in $ac_files
3477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3478 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3483 if { { ac_try="$ac_link_default"
3485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3486 *) ac_try_echo
=$ac_try;;
3488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_link_default") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; then :
3494 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3495 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3496 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3497 # so that the user can short-circuit this test for compilers unknown to
3499 for ac_file
in $ac_files ''
3501 test -f "$ac_file" ||
continue
3503 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3506 # We found the default executable, but exeext='' is most
3510 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3512 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3514 # We set ac_cv_exeext here because the later test for it is not
3515 # safe: cross compilers may not add the suffix if given an `-o'
3516 # argument, so we may need to know it at that point already.
3517 # Even if this section looks crufty: it has the advantage of
3524 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3529 if test -z "$ac_file"; then :
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3532 $as_echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.
$ac_ext >&5
3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error
77 "C++ compiler cannot create executables
3538 See \`config.log' for more details" "$LINENO" 5; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3541 $as_echo "yes" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3544 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3546 $as_echo "$ac_file" >&6; }
3547 ac_exeext
=$ac_cv_exeext
3549 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3550 ac_clean_files
=$ac_clean_files_save
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3552 $as_echo_n "checking for suffix of executables... " >&6; }
3553 if { { ac_try
="$ac_link"
3555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559 $as_echo "$ac_try_echo"; } >&5
3560 (eval "$ac_link") 2>&5
3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563 test $ac_status = 0; }; then :
3564 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3565 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3566 # work properly (i.e., refer to `conftest.exe'), while it won't with
3568 for ac_file
in conftest.exe conftest conftest.
*; do
3569 test -f "$ac_file" ||
continue
3571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3581 See \`config.log' for more details" "$LINENO" 5; }
3583 rm -f conftest conftest
$ac_cv_exeext
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3585 $as_echo "$ac_cv_exeext" >&6; }
3587 rm -f conftest.
$ac_ext
3588 EXEEXT
=$ac_cv_exeext
3590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3596 FILE *f = fopen ("conftest.out", "w");
3597 return ferror (f) || fclose (f) != 0;
3603 ac_clean_files
="$ac_clean_files conftest.out"
3604 # Check that the compiler produces executables we can run. If not, either
3605 # the compiler is broken, or we cross compile.
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3607 $as_echo_n "checking whether we are cross compiling... " >&6; }
3608 if test "$cross_compiling" != yes; then
3609 { { ac_try
="$ac_link"
3611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_link") 2>&5
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }
3620 if { ac_try='./conftest$ac_cv_exeext'
3621 { { case "(($ac_try" in
3622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3623 *) ac_try_echo
=$ac_try;;
3625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; }; }; then
3633 if test "$cross_compiling" = maybe
; then
3636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error $?
"cannot run C++ compiled programs.
3639 If you meant to cross compile, use \`--host'.
3640 See \`config.log' for more details" "$LINENO" 5; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3645 $as_echo "$cross_compiling" >&6; }
3647 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3648 ac_clean_files
=$ac_clean_files_save
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3650 $as_echo_n "checking for suffix of object files... " >&6; }
3651 if ${ac_cv_objext+:} false
; then :
3652 $as_echo_n "(cached) " >&6
3654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 rm -f conftest.o conftest.obj
3666 if { { ac_try
="$ac_compile"
3668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3672 $as_echo "$ac_try_echo"; } >&5
3673 (eval "$ac_compile") 2>&5
3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3676 test $ac_status = 0; }; then :
3677 for ac_file in conftest.o conftest.obj conftest.*; do
3678 test -f "$ac_file" || continue;
3680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3686 $as_echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3692 See \
`config.log' for more details" "$LINENO" 5; }
3694 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3697 $as_echo "$ac_cv_objext" >&6; }
3698 OBJEXT=$ac_cv_objext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3701 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3702 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3719 if ac_fn_cxx_try_compile "$LINENO"; then :
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3729 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3730 if test $ac_compiler_gnu = yes; then
3735 ac_test_CXXFLAGS=${CXXFLAGS+set}
3736 ac_save_CXXFLAGS=$CXXFLAGS
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3738 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3739 if ${ac_cv_prog_cxx_g+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3743 ac_cxx_werror_flag=yes
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3757 if ac_fn_cxx_try_compile "$LINENO"; then :
3758 ac_cv_prog_cxx_g=yes
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_cxx_try_compile "$LINENO"; then :
3775 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_cxx_try_compile "$LINENO"; then :
3789 ac_cv_prog_cxx_g=yes
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3799 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3800 if test "$ac_test_CXXFLAGS" = set; then
3801 CXXFLAGS=$ac_save_CXXFLAGS
3802 elif test $ac_cv_prog_cxx_g = yes; then
3803 if test "$GXX" = yes; then
3809 if test "$GXX" = yes; then
3816 ac_cpp='$CXXCPP $CPPFLAGS'
3817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3820 DEPDIR="${am__leading_dot}deps"
3822 ac_config_commands="$ac_config_commands depfiles"
3825 am_make=${MAKE-make}
3826 cat > confinc << 'END'
3828 @echo this is the am__doit target
3831 # If we don't find an include directive, just comment out the code.
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3833 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3837 # First try GNU make style include.
3838 echo "include confinc" > confmf
3839 # Ignore all kinds of additional output from 'make'.
3840 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3841 *the\ am__doit\ target*)
3847 # Now try BSD make style include.
3848 if test "$am__include" = "#"; then
3849 echo '.include "confinc"' > confmf
3850 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3851 *the\ am__doit\ target*)
3852 am__include=.include
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3861 $as_echo "$_am_result" >&6; }
3862 rm -f confinc confmf
3864 # Check whether --enable-dependency-tracking was given.
3865 if test "${enable_dependency_tracking+set}" = set; then :
3866 enableval=$enable_dependency_tracking;
3869 if test "x$enable_dependency_tracking" != xno; then
3870 am_depcomp="$ac_aux_dir/depcomp"
3874 if test "x$enable_dependency_tracking" != xno; then
3884 depcc="$CXX" am_compiler_list=
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3887 $as_echo_n "checking dependency style of $depcc... " >&6; }
3888 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3889 $as_echo_n "(cached) " >&6
3891 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3892 # We make a subdir and do the tests there. Otherwise we can end up
3893 # making bogus files that we don't know about and never remove. For
3894 # instance it was reported that on HP-UX the gcc test will end up
3895 # making a dummy file named 'D' -- because '-MD' means "put the output
3899 # Copy depcomp to subdir because otherwise we won't find it if we're
3900 # using a relative directory.
3901 cp "$am_depcomp" conftest.dir
3903 # We will build objects and dependencies in a subdirectory because
3904 # it helps to detect inapplicable dependency modes. For instance
3905 # both Tru64's cc and ICC support -MD to output dependencies as a
3906 # side effect of compilation, but ICC will put the dependencies in
3907 # the current directory while Tru64 will put them in the object
3911 am_cv_CXX_dependencies_compiler_type=none
3912 if test "$am_compiler_list" = ""; then
3913 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3916 case " $depcc " in #(
3917 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3920 for depmode in $am_compiler_list; do
3921 # Setup a source with many dependencies, because some compilers
3922 # like to wrap large dependency lists on column 80 (with \), and
3923 # we should not choose a depcomp mode which is confused by this.
3925 # We need to recreate these files for each test, as the compiler may
3926 # overwrite some of them when testing with obscure command lines.
3927 # This happens at least with the AIX C compiler.
3929 for i in 1 2 3 4 5 6; do
3930 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3931 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3932 # Solaris 10 /bin/sh.
3933 echo '/* dummy */' > sub/conftst$i.h
3935 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3937 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3938 # mode. It turns out that the SunPro C++ compiler does not properly
3939 # handle '-M -o', and we need to detect this. Also, some Intel
3940 # versions had trouble with output in subdirs.
3941 am__obj=sub/conftest.${OBJEXT-o}
3942 am__minus_obj="-o $am__obj"
3945 # This depmode causes a compiler race in universal mode.
3946 test "$am__universal" = false || continue
3949 # After this tag, mechanisms are not by side-effect, so they'll
3950 # only be used when explicitly requested.
3951 if test "x$enable_dependency_tracking" = xyes; then
3957 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3958 # This compiler won't grok '-c -o', but also, the minuso test has
3959 # not run yet. These depmodes are late enough in the game, and
3960 # so weak that their functioning should not be impacted.
3961 am__obj=conftest.${OBJEXT-o}
3966 if depmode=$depmode \
3967 source=sub/conftest.c object=$am__obj \
3968 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3969 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3970 >/dev/null 2>conftest.err &&
3971 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3972 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3973 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3974 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3975 # icc doesn't choke on unknown options, it will just issue warnings
3976 # or remarks (even with -Werror). So we grep stderr for any message
3977 # that says an option was ignored or not supported.
3978 # When given -MP, icc 7.0 and 7.1 complain thusly:
3979 # icc: Command line warning: ignoring option '-M'; no argument required
3980 # The diagnosis changed in icc 8.0:
3981 # icc: Command line remark: option '-MP' not supported
3982 if (grep 'ignoring option' conftest.err ||
3983 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3984 am_cv_CXX_dependencies_compiler_type=$depmode
3993 am_cv_CXX_dependencies_compiler_type=none
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3998 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3999 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4002 test "x$enable_dependency_tracking" != xno \
4003 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4004 am__fastdepCXX_TRUE=
4005 am__fastdepCXX_FALSE='#'
4007 am__fastdepCXX_TRUE='#'
4008 am__fastdepCXX_FALSE=
4012 depcc="$CXX" am_compiler_list=
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4015 $as_echo_n "checking dependency style of $depcc... " >&6; }
4016 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4017 $as_echo_n "(cached) " >&6
4019 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4020 # We make a subdir and do the tests there. Otherwise we can end up
4021 # making bogus files that we don't know about and never remove. For
4022 # instance it was reported that on HP-UX the gcc test will end up
4023 # making a dummy file named 'D' -- because '-MD' means "put the output
4027 # Copy depcomp to subdir because otherwise we won't find it if we're
4028 # using a relative directory.
4029 cp "$am_depcomp" conftest.dir
4031 # We will build objects and dependencies in a subdirectory because
4032 # it helps to detect inapplicable dependency modes. For instance
4033 # both Tru64's cc and ICC support -MD to output dependencies as a
4034 # side effect of compilation, but ICC will put the dependencies in
4035 # the current directory while Tru64 will put them in the object
4039 am_cv_CXX_dependencies_compiler_type=none
4040 if test "$am_compiler_list" = ""; then
4041 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4044 case " $depcc " in #(
4045 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4048 for depmode in $am_compiler_list; do
4049 # Setup a source with many dependencies, because some compilers
4050 # like to wrap large dependency lists on column 80 (with \), and
4051 # we should not choose a depcomp mode which is confused by this.
4053 # We need to recreate these files for each test, as the compiler may
4054 # overwrite some of them when testing with obscure command lines.
4055 # This happens at least with the AIX C compiler.
4057 for i in 1 2 3 4 5 6; do
4058 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4059 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4060 # Solaris 10 /bin/sh.
4061 echo '/* dummy */' > sub/conftst$i.h
4063 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4065 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4066 # mode. It turns out that the SunPro C++ compiler does not properly
4067 # handle '-M -o', and we need to detect this. Also, some Intel
4068 # versions had trouble with output in subdirs.
4069 am__obj=sub/conftest.${OBJEXT-o}
4070 am__minus_obj="-o $am__obj"
4073 # This depmode causes a compiler race in universal mode.
4074 test "$am__universal" = false || continue
4077 # After this tag, mechanisms are not by side-effect, so they'll
4078 # only be used when explicitly requested.
4079 if test "x$enable_dependency_tracking" = xyes; then
4085 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4086 # This compiler won't grok '-c -o', but also, the minuso test has
4087 # not run yet. These depmodes are late enough in the game, and
4088 # so weak that their functioning should not be impacted.
4089 am__obj=conftest.${OBJEXT-o}
4094 if depmode=$depmode \
4095 source=sub/conftest.c object=$am__obj \
4096 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4097 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4098 >/dev/null 2>conftest.err &&
4099 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4100 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4101 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4102 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4103 # icc doesn't choke on unknown options, it will just issue warnings
4104 # or remarks (even with -Werror). So we grep stderr for any message
4105 # that says an option was ignored or not supported.
4106 # When given -MP, icc 7.0 and 7.1 complain thusly:
4107 # icc: Command line warning: ignoring option '-M'; no argument required
4108 # The diagnosis changed in icc 8.0:
4109 # icc: Command line remark: option '-MP' not supported
4110 if (grep 'ignoring option' conftest.err ||
4111 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4112 am_cv_CXX_dependencies_compiler_type=$depmode
4121 am_cv_CXX_dependencies_compiler_type=none
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4126 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4127 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4130 test "x$enable_dependency_tracking" != xno \
4131 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4132 am__fastdepCXX_TRUE=
4133 am__fastdepCXX_FALSE='#'
4135 am__fastdepCXX_TRUE='#'
4136 am__fastdepCXX_FALSE=
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4143 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4148 macro_version='2.4.2'
4149 macro_revision='1.3337'
4163 ltmain="$ac_aux_dir/ltmain.sh"
4165 # Backslashify metacharacters that are still active within
4166 # double-quoted strings.
4167 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4169 # Same as above, but do not quote variable references.
4170 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4172 # Sed substitution to delay expansion of an escaped shell variable in a
4173 # double_quote_subst'ed string.
4174 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4176 # Sed substitution to delay expansion of an escaped single quote.
4177 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4179 # Sed substitution to avoid accidental globbing in evaled expressions
4180 no_glob_subst='s/\*/\\\*/g'
4182 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4183 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4184 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4187 $as_echo_n "checking how to print
strings...
" >&6; }
4188 # Test print first, because it will be a builtin if present.
4189 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4190 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4192 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4195 # Use this function as a fallback that always works.
4196 func_fallback_echo ()
4198 eval 'cat <<_LTECHO_EOF
4202 ECHO='func_fallback_echo'
4205 # func_echo_all arg...
4206 # Invoke $ECHO with all args, space-separated.
4213 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4214 $as_echo "printf" >&6; } ;;
4215 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4216 $as_echo "print
-r" >&6; } ;;
4217 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4218 $as_echo "cat" >&6; } ;;
4235 ac_cpp='$CPP $CPPFLAGS'
4236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4239 if test -n "$ac_tool_prefix"; then
4240 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
4241 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4243 $as_echo_n "checking
for $ac_word...
" >&6; }
4244 if ${ac_cv_prog_CC+:} false; then :
4245 $as_echo_n "(cached
) " >&6
4247 if test -n "$CC"; then
4248 ac_cv_prog_CC="$CC" # Let the user override the test.
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
4258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4268 if test -n "$CC"; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
4270 $as_echo "$CC" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4273 $as_echo "no
" >&6; }
4278 if test -z "$ac_cv_prog_CC"; then
4280 # Extract the first word of "gcc
", so it can be a program name with args.
4281 set dummy gcc; ac_word=$2
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4283 $as_echo_n "checking
for $ac_word...
" >&6; }
4284 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4285 $as_echo_n "(cached
) " >&6
4287 if test -n "$ac_ct_CC"; then
4288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir=.
4295 for ac_exec_ext in '' $ac_executable_extensions; do
4296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4297 ac_cv_prog_ac_ct_CC="gcc
"
4298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4307 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4308 if test -n "$ac_ct_CC"; then
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
4310 $as_echo "$ac_ct_CC" >&6; }
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4313 $as_echo "no
" >&6; }
4316 if test "x
$ac_ct_CC" = x; then
4319 case $cross_compiling:$ac_tool_warned in
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4322 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4323 ac_tool_warned=yes ;;
4331 if test -z "$CC"; then
4332 if test -n "$ac_tool_prefix"; then
4333 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
4334 set dummy ${ac_tool_prefix}cc; ac_word=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4336 $as_echo_n "checking
for $ac_word...
" >&6; }
4337 if ${ac_cv_prog_CC+:} false; then :
4338 $as_echo_n "(cached
) " >&6
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC="$CC" # Let the user override the test.
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_CC="${ac_tool_prefix}cc
"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4361 if test -n "$CC"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
4363 $as_echo "$CC" >&6; }
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4366 $as_echo "no
" >&6; }
4372 if test -z "$CC"; then
4373 # Extract the first word of "cc
", so it can be a program name with args.
4374 set dummy cc; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4376 $as_echo_n "checking
for $ac_word...
" >&6; }
4377 if ${ac_cv_prog_CC+:} false; then :
4378 $as_echo_n "(cached
) " >&6
4380 if test -n "$CC"; then
4381 ac_cv_prog_CC="$CC" # Let the user override the test.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
4392 ac_prog_rejected=yes
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4403 if test $ac_prog_rejected = yes; then
4404 # We found a bogon in the path, so make sure we never use it.
4405 set dummy $ac_cv_prog_CC
4407 if test $# != 0; then
4408 # We chose a different compiler from the bogus one.
4409 # However, it has the same basename, so the bogon will be chosen
4410 # first if we set CC to just the basename; use the full file name.
4412 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4418 if test -n "$CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
4420 $as_echo "$CC" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4423 $as_echo "no
" >&6; }
4428 if test -z "$CC"; then
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in cl.exe
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4435 $as_echo_n "checking
for $ac_word...
" >&6; }
4436 if ${ac_cv_prog_CC+:} false; then :
4437 $as_echo_n "(cached
) " >&6
4439 if test -n "$CC"; then
4440 ac_cv_prog_CC="$CC" # Let the user override the test.
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4460 if test -n "$CC"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
4462 $as_echo "$CC" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4465 $as_echo "no
" >&6; }
4469 test -n "$CC" && break
4472 if test -z "$CC"; then
4474 for ac_prog in cl.exe
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4479 $as_echo_n "checking
for $ac_word...
" >&6; }
4480 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4481 $as_echo_n "(cached
) " >&6
4483 if test -n "$ac_ct_CC"; then
4484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_ac_ct_CC="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4504 if test -n "$ac_ct_CC"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
4506 $as_echo "$ac_ct_CC" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4509 $as_echo "no
" >&6; }
4513 test -n "$ac_ct_CC" && break
4516 if test "x
$ac_ct_CC" = x; then
4519 case $cross_compiling:$ac_tool_warned in
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4522 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4523 ac_tool_warned=yes ;;
4532 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
4533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4534 as_fn_error $? "no acceptable C compiler found in \$PATH
4535 See \`config.log' for more details
" "$LINENO" 5; }
4537 # Provide some information about the compiler.
4538 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
4541 for ac_option in --version -v -V -qversion; do
4542 { { ac_try="$ac_compiler $ac_option >&5"
4544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4545 *) ac_try_echo=$ac_try;;
4547 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4548 $as_echo "$ac_try_echo"; } >&5
4549 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4551 if test -s conftest.err; then
4553 ... rest of stderr output deleted ...
4554 10q' conftest.err >conftest.er1
4555 cat conftest.er1 >&5
4557 rm -f conftest.er1 conftest.err
4558 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
4559 test $ac_status = 0; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
4563 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
4564 if ${ac_cv_c_compiler_gnu+:} false; then :
4565 $as_echo_n "(cached
) " >&6
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4581 if ac_fn_c_try_compile "$LINENO"; then :
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
4591 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4592 if test $ac_compiler_gnu = yes; then
4597 ac_test_CFLAGS=${CFLAGS+set}
4598 ac_save_CFLAGS=$CFLAGS
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
4600 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
4601 if ${ac_cv_prog_cc_g+:} false; then :
4602 $as_echo_n "(cached
) " >&6
4604 ac_save_c_werror_flag=$ac_c_werror_flag
4605 ac_c_werror_flag=yes
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4619 if ac_fn_c_try_compile "$LINENO"; then :
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4634 if ac_fn_c_try_compile "$LINENO"; then :
4637 ac_c_werror_flag=$ac_save_c_werror_flag
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4650 if ac_fn_c_try_compile "$LINENO"; then :
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 ac_c_werror_flag=$ac_save_c_werror_flag
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
4661 $as_echo "$ac_cv_prog_cc_g" >&6; }
4662 if test "$ac_test_CFLAGS" = set; then
4663 CFLAGS=$ac_save_CFLAGS
4664 elif test $ac_cv_prog_cc_g = yes; then
4665 if test "$GCC" = yes; then
4671 if test "$GCC" = yes; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
4678 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
4679 if ${ac_cv_prog_cc_c89+:} false; then :
4680 $as_echo_n "(cached
) " >&6
4682 ac_cv_prog_cc_c89=no
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4689 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4690 struct buf { int x; };
4691 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4692 static char *e (p, i)
4698 static char *f (char * (*g) (char **, int), char **p, ...)
4703 s = g (p, va_arg (v,int));
4708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4709 function prototypes and stuff, but not '\xHH' hex character constants.
4710 These don't provoke an error unfortunately, instead are silently treated
4711 as 'x'. The following induces an error, until -std is added to get
4712 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4713 array size at least. It's necessary to write '\x00'==0 to get something
4714 that's true only with -std. */
4715 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4718 inside strings and character constants. */
4720 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4722 int test (int i, double x);
4723 struct s1 {int (*f) (int a);};
4724 struct s2 {int (*f) (double a);};
4725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4736 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4737 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4739 CC="$ac_save_CC $ac_arg"
4740 if ac_fn_c_try_compile "$LINENO"; then :
4741 ac_cv_prog_cc_c89=$ac_arg
4743 rm -f core conftest.err conftest.$ac_objext
4744 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
4746 rm -f conftest.$ac_ext
4751 case "x
$ac_cv_prog_cc_c89" in
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
4754 $as_echo "none needed
" >&6; } ;;
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
4757 $as_echo "unsupported
" >&6; } ;;
4759 CC="$CC $ac_cv_prog_cc_c89"
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
4761 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4763 if test "x
$ac_cv_prog_cc_c89" != xno; then :
4768 ac_cpp='$CXXCPP $CPPFLAGS'
4769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4774 ac_cpp='$CPP $CPPFLAGS'
4775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC understands
-c and
-o together
" >&5
4779 $as_echo_n "checking whether
$CC understands
-c and
-o together...
" >&6; }
4780 if ${am_cv_prog_cc_c_o+:} false; then :
4781 $as_echo_n "(cached
) " >&6
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4794 # Make sure it works both with $CC and with simple cc.
4795 # Following AC_PROG_CC_C_O, we do the test twice because some
4796 # compilers refuse to overwrite an existing .o file with -o,
4797 # though they will create one.
4798 am_cv_prog_cc_c_o=yes
4800 if { echo "$as_me:$LINENO: $CC -c conftest.
$ac_ext -o conftest2.
$ac_objext" >&5
4801 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4804 (exit $ac_status); } \
4805 && test -f conftest2.$ac_objext; then
4808 am_cv_prog_cc_c_o=no
4812 rm -f core conftest*
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_prog_cc_c_o" >&5
4816 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4817 if test "$am_cv_prog_cc_c_o" != yes; then
4818 # Losing compiler, so override with the script.
4819 # FIXME: It is wrong to rewrite CC.
4820 # But if we don't then we get into trouble of one sort or another.
4821 # A longer-term fix would be to have automake use am__CC in this case,
4822 # and then we could set am__CC="\$
(top_srcdir
)/compile \$
(CC
)"
4823 CC="$am_aux_dir/compile
$CC"
4826 ac_cpp='$CXXCPP $CPPFLAGS'
4827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4832 depcc="$CC" am_compiler_list=
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of
$depcc" >&5
4835 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
4836 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4837 $as_echo_n "(cached
) " >&6
4839 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4840 # We make a subdir and do the tests there. Otherwise we can end up
4841 # making bogus files that we don't know about and never remove. For
4842 # instance it was reported that on HP-UX the gcc test will end up
4843 # making a dummy file named 'D' -- because '-MD' means "put the output
4847 # Copy depcomp to subdir because otherwise we won't find it if we're
4848 # using a relative directory.
4849 cp "$am_depcomp" conftest.dir
4851 # We will build objects and dependencies in a subdirectory because
4852 # it helps to detect inapplicable dependency modes. For instance
4853 # both Tru64's cc and ICC support -MD to output dependencies as a
4854 # side effect of compilation, but ICC will put the dependencies in
4855 # the current directory while Tru64 will put them in the object
4859 am_cv_CC_dependencies_compiler_type
=none
4860 if test "$am_compiler_list" = ""; then
4861 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4864 case " $depcc " in #(
4865 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4868 for depmode
in $am_compiler_list; do
4869 # Setup a source with many dependencies, because some compilers
4870 # like to wrap large dependency lists on column 80 (with \), and
4871 # we should not choose a depcomp mode which is confused by this.
4873 # We need to recreate these files for each test, as the compiler may
4874 # overwrite some of them when testing with obscure command lines.
4875 # This happens at least with the AIX C compiler.
4877 for i
in 1 2 3 4 5 6; do
4878 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4879 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4880 # Solaris 10 /bin/sh.
4881 echo '/* dummy */' > sub
/conftst
$i.h
4883 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4885 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4886 # mode. It turns out that the SunPro C++ compiler does not properly
4887 # handle '-M -o', and we need to detect this. Also, some Intel
4888 # versions had trouble with output in subdirs.
4889 am__obj
=sub
/conftest.
${OBJEXT-o}
4890 am__minus_obj
="-o $am__obj"
4893 # This depmode causes a compiler race in universal mode.
4894 test "$am__universal" = false ||
continue
4897 # After this tag, mechanisms are not by side-effect, so they'll
4898 # only be used when explicitly requested.
4899 if test "x$enable_dependency_tracking" = xyes
; then
4905 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4906 # This compiler won't grok '-c -o', but also, the minuso test has
4907 # not run yet. These depmodes are late enough in the game, and
4908 # so weak that their functioning should not be impacted.
4909 am__obj
=conftest.
${OBJEXT-o}
4914 if depmode
=$depmode \
4915 source=sub
/conftest.c object
=$am__obj \
4916 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4917 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4918 >/dev
/null
2>conftest.err
&&
4919 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4920 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4921 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4922 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4923 # icc doesn't choke on unknown options, it will just issue warnings
4924 # or remarks (even with -Werror). So we grep stderr for any message
4925 # that says an option was ignored or not supported.
4926 # When given -MP, icc 7.0 and 7.1 complain thusly:
4927 # icc: Command line warning: ignoring option '-M'; no argument required
4928 # The diagnosis changed in icc 8.0:
4929 # icc: Command line remark: option '-MP' not supported
4930 if (grep 'ignoring option' conftest.err ||
4931 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4932 am_cv_CC_dependencies_compiler_type
=$depmode
4941 am_cv_CC_dependencies_compiler_type
=none
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4946 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4947 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4950 test "x$enable_dependency_tracking" != xno \
4951 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4953 am__fastdepCC_FALSE
='#'
4955 am__fastdepCC_TRUE
='#'
4956 am__fastdepCC_FALSE
=
4960 depcc
="$CC" am_compiler_list
=
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4963 $as_echo_n "checking dependency style of $depcc... " >&6; }
4964 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4968 # We make a subdir and do the tests there. Otherwise we can end up
4969 # making bogus files that we don't know about and never remove. For
4970 # instance it was reported that on HP-UX the gcc test will end up
4971 # making a dummy file named 'D' -- because '-MD' means "put the output
4975 # Copy depcomp to subdir because otherwise we won't find it if we're
4976 # using a relative directory.
4977 cp "$am_depcomp" conftest.dir
4979 # We will build objects and dependencies in a subdirectory because
4980 # it helps to detect inapplicable dependency modes. For instance
4981 # both Tru64's cc and ICC support -MD to output dependencies as a
4982 # side effect of compilation, but ICC will put the dependencies in
4983 # the current directory while Tru64 will put them in the object
4987 am_cv_CC_dependencies_compiler_type
=none
4988 if test "$am_compiler_list" = ""; then
4989 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4992 case " $depcc " in #(
4993 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4996 for depmode
in $am_compiler_list; do
4997 # Setup a source with many dependencies, because some compilers
4998 # like to wrap large dependency lists on column 80 (with \), and
4999 # we should not choose a depcomp mode which is confused by this.
5001 # We need to recreate these files for each test, as the compiler may
5002 # overwrite some of them when testing with obscure command lines.
5003 # This happens at least with the AIX C compiler.
5005 for i
in 1 2 3 4 5 6; do
5006 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5007 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5008 # Solaris 10 /bin/sh.
5009 echo '/* dummy */' > sub
/conftst
$i.h
5011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5013 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5014 # mode. It turns out that the SunPro C++ compiler does not properly
5015 # handle '-M -o', and we need to detect this. Also, some Intel
5016 # versions had trouble with output in subdirs.
5017 am__obj
=sub
/conftest.
${OBJEXT-o}
5018 am__minus_obj
="-o $am__obj"
5021 # This depmode causes a compiler race in universal mode.
5022 test "$am__universal" = false ||
continue
5025 # After this tag, mechanisms are not by side-effect, so they'll
5026 # only be used when explicitly requested.
5027 if test "x$enable_dependency_tracking" = xyes
; then
5033 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5034 # This compiler won't grok '-c -o', but also, the minuso test has
5035 # not run yet. These depmodes are late enough in the game, and
5036 # so weak that their functioning should not be impacted.
5037 am__obj
=conftest.
${OBJEXT-o}
5042 if depmode
=$depmode \
5043 source=sub
/conftest.c object
=$am__obj \
5044 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5045 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5046 >/dev
/null
2>conftest.err
&&
5047 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5048 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5049 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5050 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5051 # icc doesn't choke on unknown options, it will just issue warnings
5052 # or remarks (even with -Werror). So we grep stderr for any message
5053 # that says an option was ignored or not supported.
5054 # When given -MP, icc 7.0 and 7.1 complain thusly:
5055 # icc: Command line warning: ignoring option '-M'; no argument required
5056 # The diagnosis changed in icc 8.0:
5057 # icc: Command line remark: option '-MP' not supported
5058 if (grep 'ignoring option' conftest.err ||
5059 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5060 am_cv_CC_dependencies_compiler_type
=$depmode
5069 am_cv_CC_dependencies_compiler_type
=none
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5074 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5075 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5078 test "x$enable_dependency_tracking" != xno \
5079 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5081 am__fastdepCC_FALSE
='#'
5083 am__fastdepCC_TRUE
='#'
5084 am__fastdepCC_FALSE
=
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5089 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5090 if ${ac_cv_path_SED+:} false
; then :
5091 $as_echo_n "(cached) " >&6
5093 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5094 for ac_i
in 1 2 3 4 5 6 7; do
5095 ac_script
="$ac_script$as_nl$ac_script"
5097 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5098 { ac_script
=; unset ac_script
;}
5099 if test -z "$SED"; then
5100 ac_path_SED_found
=false
5101 # Loop through the user's path and test for each of PROGNAME-LIST
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_prog
in sed gsed
; do
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5110 as_fn_executable_p
"$ac_path_SED" ||
continue
5111 # Check for GNU ac_path_SED and select it if it is found.
5112 # Check for GNU $ac_path_SED
5113 case `"$ac_path_SED" --version 2>&1` in
5115 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5118 $as_echo_n 0123456789 >"conftest.in"
5121 cat "conftest.in" "conftest.in" >"conftest.tmp"
5122 mv "conftest.tmp" "conftest.in"
5123 cp "conftest.in" "conftest.nl"
5124 $as_echo '' >> "conftest.nl"
5125 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5126 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5127 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5128 if test $ac_count -gt ${ac_path_SED_max-0}; then
5129 # Best one so far, save it but keep looking for a better one
5130 ac_cv_path_SED
="$ac_path_SED"
5131 ac_path_SED_max
=$ac_count
5133 # 10*(2^10) chars as input seems more than enough
5134 test $ac_count -gt 10 && break
5136 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5139 $ac_path_SED_found && break 3
5144 if test -z "$ac_cv_path_SED"; then
5145 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5153 $as_echo "$ac_cv_path_SED" >&6; }
5154 SED
="$ac_cv_path_SED"
5157 test -z "$SED" && SED
=sed
5158 Xsed
="$SED -e 1s/^X//"
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5171 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5172 if ${ac_cv_path_GREP+:} false
; then :
5173 $as_echo_n "(cached) " >&6
5175 if test -z "$GREP"; then
5176 ac_path_GREP_found
=false
5177 # Loop through the user's path and test for each of PROGNAME-LIST
5178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5182 test -z "$as_dir" && as_dir
=.
5183 for ac_prog
in grep ggrep
; do
5184 for ac_exec_ext
in '' $ac_executable_extensions; do
5185 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5186 as_fn_executable_p
"$ac_path_GREP" ||
continue
5187 # Check for GNU ac_path_GREP and select it if it is found.
5188 # Check for GNU $ac_path_GREP
5189 case `"$ac_path_GREP" --version 2>&1` in
5191 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5194 $as_echo_n 0123456789 >"conftest.in"
5197 cat "conftest.in" "conftest.in" >"conftest.tmp"
5198 mv "conftest.tmp" "conftest.in"
5199 cp "conftest.in" "conftest.nl"
5200 $as_echo 'GREP' >> "conftest.nl"
5201 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5202 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5203 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5204 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5205 # Best one so far, save it but keep looking for a better one
5206 ac_cv_path_GREP
="$ac_path_GREP"
5207 ac_path_GREP_max
=$ac_count
5209 # 10*(2^10) chars as input seems more than enough
5210 test $ac_count -gt 10 && break
5212 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5215 $ac_path_GREP_found && break 3
5220 if test -z "$ac_cv_path_GREP"; then
5221 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5224 ac_cv_path_GREP
=$GREP
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5229 $as_echo "$ac_cv_path_GREP" >&6; }
5230 GREP
="$ac_cv_path_GREP"
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5234 $as_echo_n "checking for egrep... " >&6; }
5235 if ${ac_cv_path_EGREP+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5238 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5239 then ac_cv_path_EGREP
="$GREP -E"
5241 if test -z "$EGREP"; then
5242 ac_path_EGREP_found
=false
5243 # Loop through the user's path and test for each of PROGNAME-LIST
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5245 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_prog
in egrep; do
5250 for ac_exec_ext
in '' $ac_executable_extensions; do
5251 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5252 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5253 # Check for GNU ac_path_EGREP and select it if it is found.
5254 # Check for GNU $ac_path_EGREP
5255 case `"$ac_path_EGREP" --version 2>&1` in
5257 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5260 $as_echo_n 0123456789 >"conftest.in"
5263 cat "conftest.in" "conftest.in" >"conftest.tmp"
5264 mv "conftest.tmp" "conftest.in"
5265 cp "conftest.in" "conftest.nl"
5266 $as_echo 'EGREP' >> "conftest.nl"
5267 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5268 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5269 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5270 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5271 # Best one so far, save it but keep looking for a better one
5272 ac_cv_path_EGREP
="$ac_path_EGREP"
5273 ac_path_EGREP_max
=$ac_count
5275 # 10*(2^10) chars as input seems more than enough
5276 test $ac_count -gt 10 && break
5278 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5281 $ac_path_EGREP_found && break 3
5286 if test -z "$ac_cv_path_EGREP"; then
5287 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5290 ac_cv_path_EGREP
=$EGREP
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5296 $as_echo "$ac_cv_path_EGREP" >&6; }
5297 EGREP
="$ac_cv_path_EGREP"
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5301 $as_echo_n "checking for fgrep... " >&6; }
5302 if ${ac_cv_path_FGREP+:} false
; then :
5303 $as_echo_n "(cached) " >&6
5305 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5306 then ac_cv_path_FGREP
="$GREP -F"
5308 if test -z "$FGREP"; then
5309 ac_path_FGREP_found
=false
5310 # Loop through the user's path and test for each of PROGNAME-LIST
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5312 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_prog
in fgrep
; do
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5319 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5320 # Check for GNU ac_path_FGREP and select it if it is found.
5321 # Check for GNU $ac_path_FGREP
5322 case `"$ac_path_FGREP" --version 2>&1` in
5324 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5327 $as_echo_n 0123456789 >"conftest.in"
5330 cat "conftest.in" "conftest.in" >"conftest.tmp"
5331 mv "conftest.tmp" "conftest.in"
5332 cp "conftest.in" "conftest.nl"
5333 $as_echo 'FGREP' >> "conftest.nl"
5334 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5335 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5336 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5337 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5338 # Best one so far, save it but keep looking for a better one
5339 ac_cv_path_FGREP
="$ac_path_FGREP"
5340 ac_path_FGREP_max
=$ac_count
5342 # 10*(2^10) chars as input seems more than enough
5343 test $ac_count -gt 10 && break
5345 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5348 $ac_path_FGREP_found && break 3
5353 if test -z "$ac_cv_path_FGREP"; then
5354 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5357 ac_cv_path_FGREP
=$FGREP
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5363 $as_echo "$ac_cv_path_FGREP" >&6; }
5364 FGREP
="$ac_cv_path_FGREP"
5367 test -z "$GREP" && GREP
=grep
5387 # Check whether --with-gnu-ld was given.
5388 if test "${with_gnu_ld+set}" = set; then :
5389 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5395 if test "$GCC" = yes; then
5396 # Check if gcc -print-prog-name=ld gives a path.
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5398 $as_echo_n "checking for ld used by $CC... " >&6; }
5401 # gcc leaves a trailing carriage return which upsets mingw
5402 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5404 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5407 # Accept absolute paths.
5409 re_direlt
='/[^/][^/]*/\.\./'
5410 # Canonicalize the pathname of ld
5411 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5412 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5413 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5415 test -z "$LD" && LD
="$ac_prog"
5418 # If it fails, then pretend we aren't using GCC.
5422 # If it is relative, then search for the first ld in PATH.
5426 elif test "$with_gnu_ld" = yes; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5428 $as_echo_n "checking for GNU ld... " >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5431 $as_echo_n "checking for non-GNU ld... " >&6; }
5433 if ${lt_cv_path_LD+:} false
; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -z "$LD"; then
5437 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5438 for ac_dir
in $PATH; do
5440 test -z "$ac_dir" && ac_dir
=.
5441 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5442 lt_cv_path_LD
="$ac_dir/$ac_prog"
5443 # Check to see if the program is GNU ld. I'd rather use --version,
5444 # but apparently some variants of GNU ld only accept -v.
5445 # Break only if it was the GNU/non-GNU ld that we prefer.
5446 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5447 *GNU
* |
*'with BFD'*)
5448 test "$with_gnu_ld" != no
&& break
5451 test "$with_gnu_ld" != yes && break
5458 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5463 if test -n "$LD"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5465 $as_echo "$LD" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5470 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5472 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5473 if ${lt_cv_prog_gnu_ld+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5477 case `$LD -v 2>&1 </dev/null` in
5478 *GNU
* |
*'with BFD'*)
5479 lt_cv_prog_gnu_ld
=yes
5482 lt_cv_prog_gnu_ld
=no
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5487 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5488 with_gnu_ld
=$lt_cv_prog_gnu_ld
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5499 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5500 if ${lt_cv_path_NM+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -n "$NM"; then
5504 # Let the user override the test.
5507 lt_nm_to_check
="${ac_tool_prefix}nm"
5508 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5509 lt_nm_to_check
="$lt_nm_to_check nm"
5511 for lt_tmp_nm
in $lt_nm_to_check; do
5512 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5513 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5515 test -z "$ac_dir" && ac_dir
=.
5516 tmp_nm
="$ac_dir/$lt_tmp_nm"
5517 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5518 # Check to see if the nm accepts a BSD-compat flag.
5519 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5520 # nm: unknown option "B" ignored
5521 # Tru64's nm complains that /dev/null is an invalid object file
5522 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5523 */dev
/null
* |
*'Invalid file or object type'*)
5524 lt_cv_path_NM
="$tmp_nm -B"
5528 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5530 lt_cv_path_NM
="$tmp_nm -p"
5534 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5535 continue # so that we can try to find one that supports BSD flags
5544 : ${lt_cv_path_NM=no}
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5548 $as_echo "$lt_cv_path_NM" >&6; }
5549 if test "$lt_cv_path_NM" != "no"; then
5552 # Didn't find any BSD compatible name lister, look for dumpbin.
5553 if test -n "$DUMPBIN"; then :
5554 # Let the user override the test.
5556 if test -n "$ac_tool_prefix"; then
5557 for ac_prog
in dumpbin
"link -dump"
5559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5560 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -n "$DUMPBIN"; then
5567 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 DUMPBIN
=$ac_cv_prog_DUMPBIN
5587 if test -n "$DUMPBIN"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5589 $as_echo "$DUMPBIN" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5596 test -n "$DUMPBIN" && break
5599 if test -z "$DUMPBIN"; then
5600 ac_ct_DUMPBIN
=$DUMPBIN
5601 for ac_prog
in dumpbin
"link -dump"
5603 # Extract the first word of "$ac_prog", so it can be a program name with args.
5604 set dummy
$ac_prog; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$ac_ct_DUMPBIN"; then
5611 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5631 if test -n "$ac_ct_DUMPBIN"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5633 $as_echo "$ac_ct_DUMPBIN" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5640 test -n "$ac_ct_DUMPBIN" && break
5643 if test "x$ac_ct_DUMPBIN" = x
; then
5646 case $cross_compiling:$ac_tool_warned in
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5650 ac_tool_warned
=yes ;;
5652 DUMPBIN
=$ac_ct_DUMPBIN
5656 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5658 DUMPBIN
="$DUMPBIN -symbols"
5666 if test "$DUMPBIN" != ":"; then
5670 test -z "$NM" && NM
=nm
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5678 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5679 if ${lt_cv_nm_interface+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5682 lt_cv_nm_interface
="BSD nm"
5683 echo "int some_variable = 0;" > conftest.
$ac_ext
5684 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5685 (eval "$ac_compile" 2>conftest.err
)
5686 cat conftest.err
>&5
5687 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5688 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5689 cat conftest.err
>&5
5690 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5691 cat conftest.out
>&5
5692 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5693 lt_cv_nm_interface
="MS dumpbin"
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5698 $as_echo "$lt_cv_nm_interface" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5701 $as_echo_n "checking whether ln -s works... " >&6; }
5703 if test "$LN_S" = "ln -s"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5705 $as_echo "yes" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5708 $as_echo "no, using $LN_S" >&6; }
5711 # find the maximum length of command line arguments
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5713 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5714 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5715 $as_echo_n "(cached) " >&6
5722 # On DJGPP, this test can blow up pretty badly due to problems in libc
5723 # (any single argument exceeding 2000 bytes causes a buffer overrun
5724 # during glob expansion). Even if it were fixed, the result of this
5725 # check would be larger than it should be.
5726 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5730 # Under GNU Hurd, this test is not required because there is
5731 # no limit to the length of command line arguments.
5732 # Libtool will interpret -1 as no limit whatsoever
5733 lt_cv_sys_max_cmd_len
=-1;
5736 cygwin
* | mingw
* | cegcc
*)
5737 # On Win9x/ME, this test blows up -- it succeeds, but takes
5738 # about 5 minutes as the teststring grows exponentially.
5739 # Worse, since 9x/ME are not pre-emptively multitasking,
5740 # you end up with a "frozen" computer, even though with patience
5741 # the test eventually succeeds (with a max line length of 256k).
5742 # Instead, let's just punt: use the minimum linelength reported by
5743 # all of the supported platforms: 8192 (on NT/2K/XP).
5744 lt_cv_sys_max_cmd_len
=8192;
5748 # On MiNT this can take a long time and run out of memory.
5749 lt_cv_sys_max_cmd_len
=8192;
5753 # On AmigaOS with pdksh, this test takes hours, literally.
5754 # So we just punt and use a minimum line length of 8192.
5755 lt_cv_sys_max_cmd_len
=8192;
5758 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5759 # This has been around since 386BSD, at least. Likely further.
5760 if test -x /sbin
/sysctl
; then
5761 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5762 elif test -x /usr
/sbin
/sysctl
; then
5763 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5765 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5767 # And add a safety zone
5768 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5769 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5773 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5774 lt_cv_sys_max_cmd_len
=196608
5778 # The test takes a long time on OS/2.
5779 lt_cv_sys_max_cmd_len
=8192
5783 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5784 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5785 # nice to cause kernel panics so lets avoid the loop below.
5786 # First set a reasonable default.
5787 lt_cv_sys_max_cmd_len
=16384
5789 if test -x /sbin
/sysconfig
; then
5790 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5791 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5796 lt_cv_sys_max_cmd_len
=102400
5798 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5799 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5800 if test -n "$kargmax"; then
5801 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5803 lt_cv_sys_max_cmd_len
=32768
5807 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5808 if test -n "$lt_cv_sys_max_cmd_len" && \
5809 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
5810 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5811 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5813 # Make teststring a little bigger before we do anything with it.
5814 # a 1K string should be a reasonable start.
5815 for i
in 1 2 3 4 5 6 7 8 ; do
5816 teststring
=$teststring$teststring
5818 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5819 # If test is not a shell built-in, we'll probably end up computing a
5820 # maximum length that is only half of the actual maximum length, but
5822 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5823 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5824 test $i != 17 # 1/2 MB should be enough
5827 teststring
=$teststring$teststring
5829 # Only check the string length outside the loop.
5830 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5832 # Add a significant safety factor because C++ compilers can tack on
5833 # massive amounts of additional arguments before passing them to the
5834 # linker. It appears as though 1/2 is a usable value.
5835 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5842 if test -n $lt_cv_sys_max_cmd_len ; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5844 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5847 $as_echo "none" >&6; }
5849 max_cmd_len
=$lt_cv_sys_max_cmd_len
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5861 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5862 # Try some XSI features
5865 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5867 && eval 'test $(( 1 + 1 )) -eq 2 \
5868 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5871 $as_echo "$xsi_shell" >&6; }
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5875 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5877 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5879 && lt_shell_append=yes
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5881 $as_echo "$lt_shell_append" >&6; }
5884 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5894 # test EBCDIC or ASCII
5895 case `echo X|tr X '\101'` in
5896 A) # ASCII based system
5897 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5898 lt_SP2NL='tr \040 \012'
5899 lt_NL2SP='tr \015\012 \040\040'
5901 *) # EBCDIC based system
5902 lt_SP2NL='tr \100 \n'
5903 lt_NL2SP='tr \r\n \100\100'
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5916 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5917 if ${lt_cv_to_host_file_cmd+:} false; then :
5918 $as_echo_n "(cached
) " >&6
5923 *-*-mingw* ) # actually msys
5924 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5927 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5929 * ) # otherwise, assume *nix
5930 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5936 *-*-mingw* ) # actually msys
5937 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5940 lt_cv_to_host_file_cmd=func_convert_file_noop
5942 * ) # otherwise, assume *nix
5943 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5947 * ) # unhandled hosts (and "normal
" native builds)
5948 lt_cv_to_host_file_cmd=func_convert_file_noop
5954 to_host_file_cmd=$lt_cv_to_host_file_cmd
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5956 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5963 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5964 if ${lt_cv_to_tool_file_cmd+:} false; then :
5965 $as_echo_n "(cached
) " >&6
5967 #assume ordinary cross tools, or native build.
5968 lt_cv_to_tool_file_cmd=func_convert_file_noop
5972 *-*-mingw* ) # actually msys
5973 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5981 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5983 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5990 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5991 if ${lt_cv_ld_reload_flag+:} false; then :
5992 $as_echo_n "(cached
) " >&6
5994 lt_cv_ld_reload_flag='-r'
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5997 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5998 reload_flag=$lt_cv_ld_reload_flag
5999 case $reload_flag in
6001 *) reload_flag=" $reload_flag" ;;
6003 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6005 cygwin* | mingw* | pw32* | cegcc*)
6006 if test "$GCC" != yes; then
6011 if test "$GCC" = yes; then
6012 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6014 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6027 if test -n "$ac_tool_prefix"; then
6028 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6031 $as_echo_n "checking
for $ac_word...
" >&6; }
6032 if ${ac_cv_prog_OBJDUMP+:} false; then :
6033 $as_echo_n "(cached
) " >&6
6035 if test -n "$OBJDUMP"; then
6036 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6055 OBJDUMP=$ac_cv_prog_OBJDUMP
6056 if test -n "$OBJDUMP"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6058 $as_echo "$OBJDUMP" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6061 $as_echo "no
" >&6; }
6066 if test -z "$ac_cv_prog_OBJDUMP"; then
6067 ac_ct_OBJDUMP=$OBJDUMP
6068 # Extract the first word of "objdump
", so it can be a program name with args.
6069 set dummy objdump; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6071 $as_echo_n "checking
for $ac_word...
" >&6; }
6072 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6073 $as_echo_n "(cached
) " >&6
6075 if test -n "$ac_ct_OBJDUMP"; then
6076 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6095 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6096 if test -n "$ac_ct_OBJDUMP"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6098 $as_echo "$ac_ct_OBJDUMP" >&6; }
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6101 $as_echo "no
" >&6; }
6104 if test "x
$ac_ct_OBJDUMP" = x; then
6107 case $cross_compiling:$ac_tool_warned in
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6110 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6111 ac_tool_warned=yes ;;
6113 OBJDUMP=$ac_ct_OBJDUMP
6116 OBJDUMP="$ac_cv_prog_OBJDUMP"
6119 test -z "$OBJDUMP" && OBJDUMP=objdump
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6130 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6131 if ${lt_cv_deplibs_check_method+:} false; then :
6132 $as_echo_n "(cached
) " >&6
6134 lt_cv_file_magic_cmd='$MAGIC_CMD'
6135 lt_cv_file_magic_test_file=
6136 lt_cv_deplibs_check_method='unknown'
6137 # Need to set the preceding variable on all platforms that support
6138 # interlibrary dependencies.
6139 # 'none' -- dependencies not supported.
6140 # `unknown' -- same as none, but documents that we really don't know.
6141 # 'pass_all' -- all dependencies passed with no checks.
6142 # 'test_compile' -- check by making test program.
6143 # 'file_magic [[regex]]' -- check by looking for files in library path
6144 # which responds to the $file_magic_cmd with a given extended regex.
6145 # If you have `file' or equivalent on your system and you're not sure
6146 # whether `pass_all' will *always* work, you probably want this one.
6150 lt_cv_deplibs_check_method=pass_all
6154 lt_cv_deplibs_check_method=pass_all
6158 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6159 lt_cv_file_magic_cmd='/usr/bin/file -L'
6160 lt_cv_file_magic_test_file=/shlib/libc.so
6164 # func_win32_libid is a shell function defined in ltmain.sh
6165 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6166 lt_cv_file_magic_cmd='func_win32_libid'
6170 # Base MSYS/MinGW do not provide the 'file' command needed by
6171 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6172 # unless we find 'file', for example because we are cross-compiling.
6173 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6174 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6175 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6176 lt_cv_file_magic_cmd='func_win32_libid'
6178 # Keep this pattern in sync with the one in func_win32_libid.
6179 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6180 lt_cv_file_magic_cmd='$OBJDUMP -f'
6185 # use the weaker test based on 'objdump'. See mingw*.
6186 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6187 lt_cv_file_magic_cmd='$OBJDUMP -f'
6190 darwin* | rhapsody*)
6191 lt_cv_deplibs_check_method=pass_all
6194 freebsd* | dragonfly*)
6195 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6198 # Not sure whether the presence of OpenBSD here was a mistake.
6199 # Let's accept both of them until this is cleared up.
6200 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6201 lt_cv_file_magic_cmd=/usr/bin/file
6202 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6206 lt_cv_deplibs_check_method=pass_all
6211 lt_cv_deplibs_check_method=pass_all
6214 hpux10.20* | hpux11*)
6215 lt_cv_file_magic_cmd=/usr/bin/file
6218 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6219 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6222 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6223 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6226 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6227 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6233 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6234 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6237 irix5* | irix6* | nonstopux*)
6239 *-32|*"-32 ") libmagic=32-bit;;
6240 *-n32|*"-n32 ") libmagic=N32;;
6241 *-64|*"-64 ") libmagic=64-bit;;
6242 *) libmagic=never-match;;
6244 lt_cv_deplibs_check_method=pass_all
6247 # This must be glibc/ELF.
6248 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6249 lt_cv_deplibs_check_method=pass_all
6252 netbsd* | netbsdelf*-gnu)
6253 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6254 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6256 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6261 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6262 lt_cv_file_magic_cmd=/usr/bin/file
6263 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6267 lt_cv_deplibs_check_method=pass_all
6271 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6272 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6274 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6278 osf3* | osf4* | osf5*)
6279 lt_cv_deplibs_check_method=pass_all
6283 lt_cv_deplibs_check_method=pass_all
6287 lt_cv_deplibs_check_method=pass_all
6290 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6291 lt_cv_deplibs_check_method=pass_all
6295 case $host_vendor in
6297 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]'
6298 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6301 lt_cv_deplibs_check_method=pass_all
6304 lt_cv_file_magic_cmd='/bin/file'
6305 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6308 lt_cv_file_magic_cmd='/bin/file'
6309 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6310 lt_cv_file_magic_test_file=/lib/libc.so
6313 lt_cv_deplibs_check_method=pass_all
6316 lt_cv_deplibs_check_method=pass_all
6322 lt_cv_deplibs_check_method=pass_all
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6328 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6332 if test "$build" = "$host"; then
6335 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6338 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6344 file_magic_cmd=$lt_cv_file_magic_cmd
6345 deplibs_check_method=$lt_cv_deplibs_check_method
6346 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6369 if test -n "$ac_tool_prefix"; then
6370 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6371 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6373 $as_echo_n "checking
for $ac_word...
" >&6; }
6374 if ${ac_cv_prog_DLLTOOL+:} false; then :
6375 $as_echo_n "(cached
) " >&6
6377 if test -n "$DLLTOOL"; then
6378 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 test -z "$as_dir" && as_dir=.
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6387 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6397 DLLTOOL=$ac_cv_prog_DLLTOOL
6398 if test -n "$DLLTOOL"; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6400 $as_echo "$DLLTOOL" >&6; }
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6403 $as_echo "no
" >&6; }
6408 if test -z "$ac_cv_prog_DLLTOOL"; then
6409 ac_ct_DLLTOOL=$DLLTOOL
6410 # Extract the first word of "dlltool
", so it can be a program name with args.
6411 set dummy dlltool; ac_word=$2
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6413 $as_echo_n "checking
for $ac_word...
" >&6; }
6414 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6415 $as_echo_n "(cached
) " >&6
6417 if test -n "$ac_ct_DLLTOOL"; then
6418 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6424 test -z "$as_dir" && as_dir=.
6425 for ac_exec_ext in '' $ac_executable_extensions; do
6426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6427 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6437 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6438 if test -n "$ac_ct_DLLTOOL"; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6440 $as_echo "$ac_ct_DLLTOOL" >&6; }
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6443 $as_echo "no
" >&6; }
6446 if test "x
$ac_ct_DLLTOOL" = x; then
6449 case $cross_compiling:$ac_tool_warned in
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6452 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6453 ac_tool_warned=yes ;;
6455 DLLTOOL=$ac_ct_DLLTOOL
6458 DLLTOOL="$ac_cv_prog_DLLTOOL"
6461 test -z "$DLLTOOL" && DLLTOOL=dlltool
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6473 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6474 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6475 $as_echo_n "(cached
) " >&6
6477 lt_cv_sharedlib_from_linklib_cmd='unknown'
6480 cygwin* | mingw* | pw32* | cegcc*)
6481 # two different shell functions defined in ltmain.sh
6482 # decide which to use based on capabilities of $DLLTOOL
6483 case `$DLLTOOL --help 2>&1` in
6484 *--identify-strict*)
6485 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6488 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6493 # fallback: assume linklib IS sharedlib
6494 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6500 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6501 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6502 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6511 if test -n "$ac_tool_prefix"; then
6514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6517 $as_echo_n "checking
for $ac_word...
" >&6; }
6518 if ${ac_cv_prog_AR+:} false; then :
6519 $as_echo_n "(cached
) " >&6
6521 if test -n "$AR"; then
6522 ac_cv_prog_AR="$AR" # Let the user override the test.
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6531 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6542 if test -n "$AR"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6544 $as_echo "$AR" >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6547 $as_echo "no
" >&6; }
6551 test -n "$AR" && break
6554 if test -z "$AR"; then
6558 # Extract the first word of "$ac_prog", so it can be a program name with args.
6559 set dummy $ac_prog; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6561 $as_echo_n "checking
for $ac_word...
" >&6; }
6562 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6563 $as_echo_n "(cached
) " >&6
6565 if test -n "$ac_ct_AR"; then
6566 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575 ac_cv_prog_ac_ct_AR="$ac_prog"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6585 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6586 if test -n "$ac_ct_AR"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6588 $as_echo "$ac_ct_AR" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6591 $as_echo "no
" >&6; }
6595 test -n "$ac_ct_AR" && break
6598 if test "x
$ac_ct_AR" = x; then
6601 case $cross_compiling:$ac_tool_warned in
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6604 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6605 ac_tool_warned=yes ;;
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6625 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6626 if ${lt_cv_ar_at_file+:} false; then :
6627 $as_echo_n "(cached
) " >&6
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6641 if ac_fn_cxx_try_compile "$LINENO"; then :
6642 echo conftest.$ac_objext > conftest.lst
6643 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6644 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6645 (eval $lt_ar_try) 2>&5
6647 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6648 test $ac_status = 0; }
6649 if test "$ac_status" -eq 0; then
6650 # Ensure the archiver fails upon bogus file names.
6651 rm -f conftest.$ac_objext libconftest.a
6652 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6653 (eval $lt_ar_try) 2>&5
6655 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6656 test $ac_status = 0; }
6657 if test "$ac_status" -ne 0; then
6661 rm -f conftest.* libconftest.a
6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6668 $as_echo "$lt_cv_ar_at_file" >&6; }
6670 if test "x
$lt_cv_ar_at_file" = xno; then
6673 archiver_list_spec=$lt_cv_ar_at_file
6682 if test -n "$ac_tool_prefix"; then
6683 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6684 set dummy ${ac_tool_prefix}strip; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6686 $as_echo_n "checking
for $ac_word...
" >&6; }
6687 if ${ac_cv_prog_STRIP+:} false; then :
6688 $as_echo_n "(cached
) " >&6
6690 if test -n "$STRIP"; then
6691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6700 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6710 STRIP=$ac_cv_prog_STRIP
6711 if test -n "$STRIP"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6713 $as_echo "$STRIP" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6716 $as_echo "no
" >&6; }
6721 if test -z "$ac_cv_prog_STRIP"; then
6723 # Extract the first word of "strip
", so it can be a program name with args.
6724 set dummy strip; ac_word=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6726 $as_echo_n "checking
for $ac_word...
" >&6; }
6727 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6728 $as_echo_n "(cached
) " >&6
6730 if test -n "$ac_ct_STRIP"; then
6731 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6740 ac_cv_prog_ac_ct_STRIP="strip
"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6750 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6751 if test -n "$ac_ct_STRIP"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6753 $as_echo "$ac_ct_STRIP" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6756 $as_echo "no
" >&6; }
6759 if test "x
$ac_ct_STRIP" = x; then
6762 case $cross_compiling:$ac_tool_warned in
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6765 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6766 ac_tool_warned=yes ;;
6771 STRIP="$ac_cv_prog_STRIP"
6774 test -z "$STRIP" && STRIP=:
6781 if test -n "$ac_tool_prefix"; then
6782 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6783 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6785 $as_echo_n "checking
for $ac_word...
" >&6; }
6786 if ${ac_cv_prog_RANLIB+:} false; then :
6787 $as_echo_n "(cached
) " >&6
6789 if test -n "$RANLIB"; then
6790 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796 test -z "$as_dir" && as_dir=.
6797 for ac_exec_ext in '' $ac_executable_extensions; do
6798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6809 RANLIB=$ac_cv_prog_RANLIB
6810 if test -n "$RANLIB"; then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6812 $as_echo "$RANLIB" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6815 $as_echo "no
" >&6; }
6820 if test -z "$ac_cv_prog_RANLIB"; then
6821 ac_ct_RANLIB=$RANLIB
6822 # Extract the first word of "ranlib
", so it can be a program name with args.
6823 set dummy ranlib; ac_word=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6825 $as_echo_n "checking
for $ac_word...
" >&6; }
6826 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6827 $as_echo_n "(cached
) " >&6
6829 if test -n "$ac_ct_RANLIB"; then
6830 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir=.
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6839 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6849 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6850 if test -n "$ac_ct_RANLIB"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6852 $as_echo "$ac_ct_RANLIB" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6855 $as_echo "no
" >&6; }
6858 if test "x
$ac_ct_RANLIB" = x; then
6861 case $cross_compiling:$ac_tool_warned in
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6864 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6865 ac_tool_warned=yes ;;
6867 RANLIB=$ac_ct_RANLIB
6870 RANLIB="$ac_cv_prog_RANLIB"
6873 test -z "$RANLIB" && RANLIB=:
6880 # Determine commands to create old-style static archives.
6881 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6882 old_postinstall_cmds='chmod 644 $oldlib'
6883 old_postuninstall_cmds=
6885 if test -n "$RANLIB"; then
6888 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6891 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6894 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6899 lock_old_archive_extraction=yes ;;
6901 lock_old_archive_extraction=no ;;
6942 # If no C compiler was specified, use CC.
6945 # If no C compiler flags were specified, use CFLAGS.
6946 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6948 # Allow CC to be a program name with arguments.
6952 # Check for command to grab the raw symbol name followed by C symbol from nm.
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6954 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6955 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6956 $as_echo_n "(cached
) " >&6
6959 # These are sane defaults that work on at least a few old systems.
6960 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6962 # Character class describing NM global symbol codes.
6963 symcode='[BCDEGRST]'
6965 # Regexp to match symbols that can be accessed directly from C.
6966 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6968 # Define system-specific variables.
6973 cygwin* | mingw* | pw32* | cegcc*)
6974 symcode='[ABCDGISTW]'
6977 if test "$host_cpu" = ia64; then
6978 symcode='[ABCDEGRST]'
6982 symcode='[BCDEGRST]'
6985 symcode='[BCDEGQRST]'
6996 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7004 # If we're using GNU nm, then use its standard symbol codes.
7005 case `$NM -V 2>&1` in
7006 *GNU* | *'with BFD'*)
7007 symcode='[ABCDGIRSTW]' ;;
7010 # Transform an extracted symbol line into a proper C declaration.
7011 # Some systems (esp. on ia64) link data and code symbols differently,
7012 # so use this general approach.
7013 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7015 # Transform an extracted symbol line into symbol name and symbol address
7016 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7017 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'"
7019 # Handle CRLF in mingw tool chain
7023 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7027 # Try without a prefix underscore, then with it.
7028 for ac_symprfx in "" "_
"; do
7030 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7031 symxfrm="\\1 $ac_symprfx\\2 \\2"
7033 # Write the raw and C identifiers.
7034 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7035 # Fake it for dumpbin and say T for any non-static function
7036 # and D for any global variable.
7037 # Also find C++ and __fastcall symbols from MSVC++,
7038 # which start with @ or ?.
7039 lt_cv_sys_global_symbol_pipe="$AWK '"\
7040 " {last_section=section; section=\$ 3};"\
7041 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7042 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7043 " \$ 0!~/External *\|/{next};"\
7044 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7045 " {if(hide[section]) next};"\
7046 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7047 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7048 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7049 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7050 " ' prfx
=^
$ac_symprfx"
7052 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7054 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7056 # Check to see that the pipe works correctly.
7060 cat > conftest.$ac_ext <<_LT_EOF
7065 void nm_test_func(void);
7066 void nm_test_func(void){}
7070 int main(){nm_test_var='a';nm_test_func();return(0);}
7073 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074 (eval $ac_compile) 2>&5
7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7077 test $ac_status = 0; }; then
7078 # Now try to grab the symbols.
7080 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7081 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7084 test $ac_status = 0; } && test -s "$nlist"; then
7085 # Try sorting and uniquifying the output.
7086 if sort "$nlist" | uniq > "$nlist"T; then
7087 mv -f "$nlist"T "$nlist"
7092 # Make sure that we snagged all the symbols we need.
7093 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7094 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7095 cat <<_LT_EOF > conftest.$ac_ext
7096 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7097 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7098 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7099 relocations are performed -- see ld's documentation on pseudo-relocs. */
7100 # define LT_DLSYM_CONST
7101 #elif defined(__osf__)
7102 /* This system does not cope well with relocations in const data. */
7103 # define LT_DLSYM_CONST
7105 # define LT_DLSYM_CONST const
7113 # Now generate the symbol file.
7114 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7116 cat <<_LT_EOF >> conftest.$ac_ext
7118 /* The mapping between symbol names and symbols. */
7119 LT_DLSYM_CONST struct {
7123 lt__PROGRAM__LTX_preloaded_symbols[] =
7125 { "@PROGRAM@
", (void *) 0 },
7127 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7128 cat <<\_LT_EOF >> conftest.$ac_ext
7132 /* This works around a problem in FreeBSD linker */
7133 #ifdef FREEBSD_WORKAROUND
7134 static const void *lt_preloaded_setup() {
7135 return lt__PROGRAM__LTX_preloaded_symbols;
7143 # Now try linking the two files.
7144 mv conftest.$ac_objext conftstm.$ac_objext
7145 lt_globsym_save_LIBS=$LIBS
7146 lt_globsym_save_CFLAGS=$CFLAGS
7147 LIBS="conftstm.
$ac_objext"
7148 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7149 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7150 (eval $ac_link) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7153 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7156 LIBS=$lt_globsym_save_LIBS
7157 CFLAGS=$lt_globsym_save_CFLAGS
7159 echo "cannot
find nm_test_func
in $nlist" >&5
7162 echo "cannot
find nm_test_var
in $nlist" >&5
7165 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7168 echo "$progname: failed program was
:" >&5
7169 cat conftest.$ac_ext >&5
7171 rm -rf conftest* conftst*
7173 # Do not use the global_symbol_pipe unless it works.
7174 if test "$pipe_works" = yes; then
7177 lt_cv_sys_global_symbol_pipe=
7183 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7184 lt_cv_sys_global_symbol_to_cdecl=
7186 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7188 $as_echo "failed
" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7191 $as_echo "ok
" >&6; }
7194 # Response file support.
7195 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7196 nm_file_list_spec='@'
7197 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7198 nm_file_list_spec='@'
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7228 $as_echo_n "checking
for sysroot...
" >&6; }
7230 # Check whether --with-sysroot was given.
7231 if test "${with_sysroot+set}" = set; then :
7232 withval=$with_sysroot;
7239 case ${with_sysroot} in #(
7241 if test "$GCC" = yes; then
7242 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7246 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7252 $as_echo "${with_sysroot}" >&6; }
7253 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7258 $as_echo "${lt_sysroot:-no}" >&6; }
7265 # Check whether --enable-libtool-lock was given.
7266 if test "${enable_libtool_lock+set}" = set; then :
7267 enableval=$enable_libtool_lock;
7270 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7272 # Some flags need to be propagated to the compiler or linker for good
7276 # Find out which ABI we are using.
7277 echo 'int i;' > conftest.$ac_ext
7278 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7279 (eval $ac_compile) 2>&5
7281 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7282 test $ac_status = 0; }; then
7283 case `/usr/bin/file conftest.$ac_objext` in
7295 # Find out which ABI we are using.
7296 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7297 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7298 (eval $ac_compile) 2>&5
7300 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7301 test $ac_status = 0; }; then
7302 if test "$lt_cv_prog_gnu_ld" = yes; then
7303 case `/usr/bin/file conftest.$ac_objext` in
7305 LD="${LD-ld} -melf32bsmip"
7308 LD="${LD-ld} -melf32bmipn32"
7311 LD="${LD-ld} -melf64bmip"
7315 case `/usr/bin/file conftest.$ac_objext` in
7331 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7332 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7333 # Find out which ABI we are using.
7334 echo 'int i;' > conftest.$ac_ext
7335 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7336 (eval $ac_compile) 2>&5
7338 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7339 test $ac_status = 0; }; then
7340 case `/usr/bin/file conftest.o` in
7343 x86_64-*kfreebsd*-gnu)
7344 LD="${LD-ld} -m elf_i386_fbsd
"
7347 case `/usr/bin/file conftest.o` in
7349 LD="${LD-ld} -m elf32_x86_64
"
7352 LD="${LD-ld} -m elf_i386
"
7357 LD="${LD-ld} -m elf32lppclinux
"
7360 LD="${LD-ld} -m elf32ppclinux
"
7363 LD="${LD-ld} -m elf_s390
"
7366 LD="${LD-ld} -m elf32_sparc
"
7372 x86_64-*kfreebsd*-gnu)
7373 LD="${LD-ld} -m elf_x86_64_fbsd
"
7376 LD="${LD-ld} -m elf_x86_64
"
7379 LD="${LD-ld} -m elf64lppc
"
7382 LD="${LD-ld} -m elf64ppc
"
7384 s390*-*linux*|s390*-*tpf*)
7385 LD="${LD-ld} -m elf64_s390
"
7388 LD="${LD-ld} -m elf64_sparc
"
7398 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7399 SAVE_CFLAGS="$CFLAGS"
7400 CFLAGS="$CFLAGS -belf"
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7402 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7403 if ${lt_cv_cc_needs_belf+:} false; then :
7404 $as_echo_n "(cached
) " >&6
7407 ac_cpp='$CPP $CPPFLAGS'
7408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7423 if ac_fn_c_try_link "$LINENO"; then :
7424 lt_cv_cc_needs_belf=yes
7426 lt_cv_cc_needs_belf=no
7428 rm -f core conftest.err conftest.$ac_objext \
7429 conftest$ac_exeext conftest.$ac_ext
7431 ac_cpp='$CPP $CPPFLAGS'
7432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7438 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7439 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7440 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7441 CFLAGS="$SAVE_CFLAGS"
7445 # Find out which ABI we are using.
7446 echo 'int i;' > conftest.$ac_ext
7447 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7448 (eval $ac_compile) 2>&5
7450 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7451 test $ac_status = 0; }; then
7452 case `/usr/bin/file conftest.o` in
7454 case $lt_cv_prog_gnu_ld in
7458 LD="${LD-ld} -m elf_x86_64
"
7461 LD="${LD-ld} -m elf64_sparc
"
7464 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7465 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7470 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7482 need_locks="$enable_libtool_lock"
7484 if test -n "$ac_tool_prefix"; then
7485 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7486 set dummy ${ac_tool_prefix}mt; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7488 $as_echo_n "checking
for $ac_word...
" >&6; }
7489 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7490 $as_echo_n "(cached
) " >&6
7492 if test -n "$MANIFEST_TOOL"; then
7493 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7512 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7513 if test -n "$MANIFEST_TOOL"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7515 $as_echo "$MANIFEST_TOOL" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7518 $as_echo "no
" >&6; }
7523 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7524 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7525 # Extract the first word of "mt
", so it can be a program name with args.
7526 set dummy mt; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7528 $as_echo_n "checking
for $ac_word...
" >&6; }
7529 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7530 $as_echo_n "(cached
) " >&6
7532 if test -n "$ac_ct_MANIFEST_TOOL"; then
7533 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7552 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7553 if test -n "$ac_ct_MANIFEST_TOOL"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7555 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7558 $as_echo "no
" >&6; }
7561 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7564 case $cross_compiling:$ac_tool_warned in
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7567 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7568 ac_tool_warned=yes ;;
7570 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7573 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7576 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7578 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7579 if ${lt_cv_path_mainfest_tool+:} false; then :
7580 $as_echo_n "(cached
) " >&6
7582 lt_cv_path_mainfest_tool=no
7583 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7584 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7585 cat conftest.err >&5
7586 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7587 lt_cv_path_mainfest_tool=yes
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7592 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7593 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7603 rhapsody* | darwin*)
7604 if test -n "$ac_tool_prefix"; then
7605 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7606 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7608 $as_echo_n "checking
for $ac_word...
" >&6; }
7609 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7610 $as_echo_n "(cached
) " >&6
7612 if test -n "$DSYMUTIL"; then
7613 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7632 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7633 if test -n "$DSYMUTIL"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7635 $as_echo "$DSYMUTIL" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7638 $as_echo "no
" >&6; }
7643 if test -z "$ac_cv_prog_DSYMUTIL"; then
7644 ac_ct_DSYMUTIL=$DSYMUTIL
7645 # Extract the first word of "dsymutil
", so it can be a program name with args.
7646 set dummy dsymutil; ac_word=$2
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7648 $as_echo_n "checking
for $ac_word...
" >&6; }
7649 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7650 $as_echo_n "(cached
) " >&6
7652 if test -n "$ac_ct_DSYMUTIL"; then
7653 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 test -z "$as_dir" && as_dir=.
7660 for ac_exec_ext in '' $ac_executable_extensions; do
7661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7662 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7672 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7673 if test -n "$ac_ct_DSYMUTIL"; then
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7675 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7678 $as_echo "no
" >&6; }
7681 if test "x
$ac_ct_DSYMUTIL" = x; then
7684 case $cross_compiling:$ac_tool_warned in
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7687 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7688 ac_tool_warned=yes ;;
7690 DSYMUTIL=$ac_ct_DSYMUTIL
7693 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7696 if test -n "$ac_tool_prefix"; then
7697 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7698 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7700 $as_echo_n "checking
for $ac_word...
" >&6; }
7701 if ${ac_cv_prog_NMEDIT+:} false; then :
7702 $as_echo_n "(cached
) " >&6
7704 if test -n "$NMEDIT"; then
7705 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 NMEDIT=$ac_cv_prog_NMEDIT
7725 if test -n "$NMEDIT"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7727 $as_echo "$NMEDIT" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7730 $as_echo "no
" >&6; }
7735 if test -z "$ac_cv_prog_NMEDIT"; then
7736 ac_ct_NMEDIT=$NMEDIT
7737 # Extract the first word of "nmedit
", so it can be a program name with args.
7738 set dummy nmedit; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7740 $as_echo_n "checking
for $ac_word...
" >&6; }
7741 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7742 $as_echo_n "(cached
) " >&6
7744 if test -n "$ac_ct_NMEDIT"; then
7745 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7764 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7765 if test -n "$ac_ct_NMEDIT"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7767 $as_echo "$ac_ct_NMEDIT" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7770 $as_echo "no
" >&6; }
7773 if test "x
$ac_ct_NMEDIT" = x; then
7776 case $cross_compiling:$ac_tool_warned in
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7779 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7780 ac_tool_warned=yes ;;
7782 NMEDIT=$ac_ct_NMEDIT
7785 NMEDIT="$ac_cv_prog_NMEDIT"
7788 if test -n "$ac_tool_prefix"; then
7789 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7790 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7792 $as_echo_n "checking
for $ac_word...
" >&6; }
7793 if ${ac_cv_prog_LIPO+:} false; then :
7794 $as_echo_n "(cached
) " >&6
7796 if test -n "$LIPO"; then
7797 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7816 LIPO=$ac_cv_prog_LIPO
7817 if test -n "$LIPO"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7819 $as_echo "$LIPO" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7822 $as_echo "no
" >&6; }
7827 if test -z "$ac_cv_prog_LIPO"; then
7829 # Extract the first word of "lipo
", so it can be a program name with args.
7830 set dummy lipo; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7832 $as_echo_n "checking
for $ac_word...
" >&6; }
7833 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 if test -n "$ac_ct_LIPO"; then
7837 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_ac_ct_LIPO="lipo
"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7856 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7857 if test -n "$ac_ct_LIPO"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7859 $as_echo "$ac_ct_LIPO" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7862 $as_echo "no
" >&6; }
7865 if test "x
$ac_ct_LIPO" = x; then
7868 case $cross_compiling:$ac_tool_warned in
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7872 ac_tool_warned=yes ;;
7877 LIPO="$ac_cv_prog_LIPO"
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}otool; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7884 $as_echo_n "checking
for $ac_word...
" >&6; }
7885 if ${ac_cv_prog_OTOOL+:} false; then :
7886 $as_echo_n "(cached
) " >&6
7888 if test -n "$OTOOL"; then
7889 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7908 OTOOL=$ac_cv_prog_OTOOL
7909 if test -n "$OTOOL"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7911 $as_echo "$OTOOL" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7914 $as_echo "no
" >&6; }
7919 if test -z "$ac_cv_prog_OTOOL"; then
7921 # Extract the first word of "otool
", so it can be a program name with args.
7922 set dummy otool; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$ac_ct_OTOOL"; then
7929 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_ac_ct_OTOOL="otool
"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7948 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7949 if test -n "$ac_ct_OTOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7951 $as_echo "$ac_ct_OTOOL" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7957 if test "x
$ac_ct_OTOOL" = x; then
7960 case $cross_compiling:$ac_tool_warned in
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7963 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7964 ac_tool_warned=yes ;;
7969 OTOOL="$ac_cv_prog_OTOOL"
7972 if test -n "$ac_tool_prefix"; then
7973 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7974 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if ${ac_cv_prog_OTOOL64+:} false; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$OTOOL64"; then
7981 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 OTOOL64=$ac_cv_prog_OTOOL64
8001 if test -n "$OTOOL64"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8003 $as_echo "$OTOOL64" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8011 if test -z "$ac_cv_prog_OTOOL64"; then
8012 ac_ct_OTOOL64=$OTOOL64
8013 # Extract the first word of "otool64
", so it can be a program name with args.
8014 set dummy otool64; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8016 $as_echo_n "checking
for $ac_word...
" >&6; }
8017 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8018 $as_echo_n "(cached
) " >&6
8020 if test -n "$ac_ct_OTOOL64"; then
8021 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8040 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8041 if test -n "$ac_ct_OTOOL64"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8043 $as_echo "$ac_ct_OTOOL64" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8046 $as_echo "no
" >&6; }
8049 if test "x
$ac_ct_OTOOL64" = x; then
8052 case $cross_compiling:$ac_tool_warned in
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8055 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8056 ac_tool_warned=yes ;;
8058 OTOOL64=$ac_ct_OTOOL64
8061 OTOOL64="$ac_cv_prog_OTOOL64"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8091 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8092 if ${lt_cv_apple_cc_single_mod+:} false; then :
8093 $as_echo_n "(cached
) " >&6
8095 lt_cv_apple_cc_single_mod=no
8096 if test -z "${LT_MULTI_MODULE}"; then
8097 # By default we will add the -single_module flag. You can override
8098 # by either setting the environment variable LT_MULTI_MODULE
8099 # non-empty at configure time, or by adding -multi_module to the
8101 rm -rf libconftest.dylib*
8102 echo "int foo
(void
){return 1;}" > conftest.c
8103 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8104 -dynamiclib -Wl,-single_module conftest.c
" >&5
8105 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8106 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8108 # If there is a non-empty error log, and "single_module
"
8109 # appears in it, assume the flag caused a linker warning
8110 if test -s conftest.err && $GREP single_module conftest.err; then
8111 cat conftest.err >&5
8112 # Otherwise, if the output was created with a 0 exit code from
8113 # the compiler, it worked.
8114 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8115 lt_cv_apple_cc_single_mod=yes
8117 cat conftest.err >&5
8119 rm -rf libconftest.dylib*
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8124 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8127 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8128 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8129 $as_echo_n "(cached
) " >&6
8131 lt_cv_ld_exported_symbols_list=no
8132 save_LDFLAGS=$LDFLAGS
8133 echo "_main
" > conftest.sym
8134 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8146 if ac_fn_c_try_link "$LINENO"; then :
8147 lt_cv_ld_exported_symbols_list=yes
8149 lt_cv_ld_exported_symbols_list=no
8151 rm -f core conftest.err conftest.$ac_objext \
8152 conftest$ac_exeext conftest.$ac_ext
8153 LDFLAGS="$save_LDFLAGS"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8157 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8160 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8161 if ${lt_cv_ld_force_load+:} false; then :
8162 $as_echo_n "(cached
) " >&6
8164 lt_cv_ld_force_load=no
8165 cat > conftest.c << _LT_EOF
8166 int forced_loaded() { return 2;}
8168 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8169 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8170 echo "$AR cru libconftest.a conftest.o
" >&5
8171 $AR cru libconftest.a conftest.o 2>&5
8172 echo "$RANLIB libconftest.a
" >&5
8173 $RANLIB libconftest.a 2>&5
8174 cat > conftest.c << _LT_EOF
8175 int main() { return 0;}
8177 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8178 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8180 if test -s conftest.err && $GREP force_load conftest.err; then
8181 cat conftest.err >&5
8182 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8183 lt_cv_ld_force_load=yes
8185 cat conftest.err >&5
8187 rm -f conftest.err libconftest.a conftest conftest.c
8188 rm -rf conftest.dSYM
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8192 $as_echo "$lt_cv_ld_force_load" >&6; }
8194 rhapsody* | darwin1.[012])
8195 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8197 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8198 darwin*) # darwin 5.x on
8199 # if running on 10.5 or later, the deployment target defaults
8200 # to the OS version, if on x86, and 10.4, the deployment
8201 # target defaults to 10.4. Don't you love it?
8202 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8203 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8204 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8206 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8208 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8212 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8213 _lt_dar_single_mod='$single_module'
8215 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8216 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8218 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8220 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8221 _lt_dsymutil='~$DSYMUTIL $lib || :'
8229 ac_cpp='$CPP $CPPFLAGS'
8230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8234 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8235 # On Suns, sometimes $CPP names a directory.
8236 if test -n "$CPP" && test -d "$CPP"; then
8239 if test -z "$CPP"; then
8240 if ${ac_cv_prog_CPP+:} false; then :
8241 $as_echo_n "(cached
) " >&6
8243 # Double quotes because CPP needs to be expanded
8244 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8247 for ac_c_preproc_warn_flag in '' yes
8249 # Use a header file that comes with gcc, so configuring glibc
8250 # with a fresh cross-compiler works.
8251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8252 # <limits.h> exists even on freestanding compilers.
8253 # On the NeXT, cc -E runs the code through the compiler's parser,
8254 # not just through cpp. "Syntax error
" is here to catch this case.
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8258 # include <limits.h>
8260 # include <assert.h>
8264 if ac_fn_c_try_cpp "$LINENO"; then :
8267 # Broken: fails on valid input.
8270 rm -f conftest.err conftest.i conftest.$ac_ext
8272 # OK, works on sane cases. Now check whether nonexistent headers
8273 # can be detected and how.
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 #include <ac_nonexistent.h>
8278 if ac_fn_c_try_cpp "$LINENO"; then :
8279 # Broken: success on invalid input.
8282 # Passes both tests.
8286 rm -f conftest.err conftest.i conftest.$ac_ext
8289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8290 rm -f conftest.i conftest.err conftest.$ac_ext
8291 if $ac_preproc_ok; then :
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8304 $as_echo "$CPP" >&6; }
8306 for ac_c_preproc_warn_flag in '' yes
8308 # Use a header file that comes with gcc, so configuring glibc
8309 # with a fresh cross-compiler works.
8310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8311 # <limits.h> exists even on freestanding compilers.
8312 # On the NeXT, cc -E runs the code through the compiler's parser,
8313 # not just through cpp. "Syntax error
" is here to catch this case.
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8317 # include <limits.h>
8319 # include <assert.h>
8323 if ac_fn_c_try_cpp "$LINENO"; then :
8326 # Broken: fails on valid input.
8329 rm -f conftest.err conftest.i conftest.$ac_ext
8331 # OK, works on sane cases. Now check whether nonexistent headers
8332 # can be detected and how.
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8335 #include <ac_nonexistent.h>
8337 if ac_fn_c_try_cpp "$LINENO"; then :
8338 # Broken: success on invalid input.
8341 # Passes both tests.
8345 rm -f conftest.err conftest.i conftest.$ac_ext
8348 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8349 rm -f conftest.i conftest.err conftest.$ac_ext
8350 if $ac_preproc_ok; then :
8353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8355 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8356 See \`config.log' for more details
" "$LINENO" 5; }
8360 ac_cpp='$CPP $CPPFLAGS'
8361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8367 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8368 if ${ac_cv_header_stdc+:} false; then :
8369 $as_echo_n "(cached
) " >&6
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8386 if ac_fn_c_try_compile "$LINENO"; then :
8387 ac_cv_header_stdc=yes
8389 ac_cv_header_stdc=no
8391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8393 if test $ac_cv_header_stdc = yes; then
8394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8400 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8401 $EGREP "memchr
" >/dev/null 2>&1; then :
8404 ac_cv_header_stdc=no
8410 if test $ac_cv_header_stdc = yes; then
8411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8417 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8418 $EGREP "free
" >/dev/null 2>&1; then :
8421 ac_cv_header_stdc=no
8427 if test $ac_cv_header_stdc = yes; then
8428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8429 if test "$cross_compiling" = yes; then :
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8436 #if ((' ' & 0x0FF) == 0x020)
8437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8440 # define ISLOWER(c) \
8441 (('a' <= (c) && (c) <= 'i') \
8442 || ('j' <= (c) && (c) <= 'r') \
8443 || ('s' <= (c) && (c) <= 'z'))
8444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8452 for (i = 0; i < 256; i++)
8453 if (XOR (islower (i), ISLOWER (i))
8454 || toupper (i) != TOUPPER (i))
8459 if ac_fn_c_try_run "$LINENO"; then :
8462 ac_cv_header_stdc=no
8464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8465 conftest.$ac_objext conftest.beam conftest.$ac_ext
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8471 $as_echo "$ac_cv_header_stdc" >&6; }
8472 if test $ac_cv_header_stdc = yes; then
8474 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8479 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8480 inttypes.h stdint.h unistd.h
8482 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8483 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8485 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8486 cat >>confdefs.h
<<_ACEOF
8487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8495 for ac_header
in dlfcn.h
8497 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8499 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8500 cat >>confdefs.h
<<_ACEOF
8501 #define HAVE_DLFCN_H 1
8510 func_stripname_cnf
()
8513 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8514 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8516 } # func_stripname_cnf
8532 # Check whether --enable-shared was given.
8533 if test "${enable_shared+set}" = set; then :
8534 enableval
=$enable_shared; p
=${PACKAGE-default}
8536 yes) enable_shared
=yes ;;
8537 no
) enable_shared
=no
;;
8540 # Look at the argument we got. We use all the common list separators.
8541 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8542 for pkg
in $enableval; do
8544 if test "X$pkg" = "X$p"; then
8563 # Check whether --enable-static was given.
8564 if test "${enable_static+set}" = set; then :
8565 enableval
=$enable_static; p
=${PACKAGE-default}
8567 yes) enable_static
=yes ;;
8568 no
) enable_static
=no
;;
8571 # Look at the argument we got. We use all the common list separators.
8572 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8573 for pkg
in $enableval; do
8575 if test "X$pkg" = "X$p"; then
8595 # Check whether --with-pic was given.
8596 if test "${with_pic+set}" = set; then :
8597 withval
=$with_pic; lt_p
=${PACKAGE-default}
8599 yes|no
) pic_mode
=$withval ;;
8602 # Look at the argument we got. We use all the common list separators.
8603 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8604 for lt_pkg
in $withval; do
8606 if test "X$lt_pkg" = "X$lt_p"; then
8618 test -z "$pic_mode" && pic_mode
=default
8626 # Check whether --enable-fast-install was given.
8627 if test "${enable_fast_install+set}" = set; then :
8628 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8630 yes) enable_fast_install
=yes ;;
8631 no
) enable_fast_install
=no
;;
8633 enable_fast_install
=no
8634 # Look at the argument we got. We use all the common list separators.
8635 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8636 for pkg
in $enableval; do
8638 if test "X$pkg" = "X$p"; then
8639 enable_fast_install
=yes
8646 enable_fast_install
=yes
8659 # This can be used to rebuild libtool when needed
8660 LIBTOOL_DEPS
="$ltmain"
8662 # Always use our own libtool.
8663 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8694 test -z "$LN_S" && LN_S
="ln -s"
8709 if test -n "${ZSH_VERSION+set}" ; then
8710 setopt NO_GLOB_SUBST
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8714 $as_echo_n "checking for objdir... " >&6; }
8715 if ${lt_cv_objdir+:} false
; then :
8716 $as_echo_n "(cached) " >&6
8718 rm -f .libs
2>/dev
/null
8719 mkdir .libs
2>/dev
/null
8720 if test -d .libs
; then
8723 # MS-DOS does not allow filenames that begin with a dot.
8726 rmdir .libs
2>/dev
/null
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8729 $as_echo "$lt_cv_objdir" >&6; }
8730 objdir
=$lt_cv_objdir
8736 cat >>confdefs.h
<<_ACEOF
8737 #define LT_OBJDIR "$lt_cv_objdir/"
8745 # AIX sometimes has problems with the GCC collect2 program. For some
8746 # reason, if we set the COLLECT_NAMES environment variable, the problems
8747 # vanish in a puff of smoke.
8748 if test "X${COLLECT_NAMES+set}" != Xset
; then
8750 export COLLECT_NAMES
8757 can_build_shared
=yes
8759 # All known linkers require a `.a' archive for static linking (except MSVC,
8760 # which needs '.lib').
8763 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8766 old_CFLAGS
="$CFLAGS"
8768 # Set sane defaults for various variables
8769 test -z "$CC" && CC
=cc
8770 test -z "$LTCC" && LTCC
=$CC
8771 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8772 test -z "$LD" && LD
=ld
8773 test -z "$ac_objext" && ac_objext
=o
8775 for cc_temp
in $compiler""; do
8777 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8778 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8783 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8786 # Only perform the check for file, if the check method requires it
8787 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8788 case $deplibs_check_method in
8790 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8792 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8793 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8794 $as_echo_n "(cached) " >&6
8798 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8801 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8802 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8803 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8804 for ac_dir
in $ac_dummy; do
8806 test -z "$ac_dir" && ac_dir
=.
8807 if test -f $ac_dir/${ac_tool_prefix}file; then
8808 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8809 if test -n "$file_magic_test_file"; then
8810 case $deplibs_check_method in
8812 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8813 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8814 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8815 $EGREP "$file_magic_regex" > /dev
/null
; then
8820 *** Warning: the command libtool uses to detect shared libraries,
8821 *** $file_magic_cmd, produces output that libtool cannot recognize.
8822 *** The result is that libtool may fail to recognize shared libraries
8823 *** as such. This will affect the creation of libtool libraries that
8824 *** depend on shared libraries, but programs linked with such libtool
8825 *** libraries will work regardless of this problem. Nevertheless, you
8826 *** may want to report the problem to your system manager and/or to
8827 *** bug-libtool@gnu.org
8837 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8842 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8843 if test -n "$MAGIC_CMD"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8845 $as_echo "$MAGIC_CMD" >&6; }
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8855 if test -z "$lt_cv_path_MAGIC_CMD"; then
8856 if test -n "$ac_tool_prefix"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8858 $as_echo_n "checking for file... " >&6; }
8859 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8860 $as_echo_n "(cached) " >&6
8864 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8867 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8868 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8869 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8870 for ac_dir
in $ac_dummy; do
8872 test -z "$ac_dir" && ac_dir
=.
8873 if test -f $ac_dir/file; then
8874 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8875 if test -n "$file_magic_test_file"; then
8876 case $deplibs_check_method in
8878 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8879 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8880 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8881 $EGREP "$file_magic_regex" > /dev
/null
; then
8886 *** Warning: the command libtool uses to detect shared libraries,
8887 *** $file_magic_cmd, produces output that libtool cannot recognize.
8888 *** The result is that libtool may fail to recognize shared libraries
8889 *** as such. This will affect the creation of libtool libraries that
8890 *** depend on shared libraries, but programs linked with such libtool
8891 *** libraries will work regardless of this problem. Nevertheless, you
8892 *** may want to report the problem to your system manager and/or to
8893 *** bug-libtool@gnu.org
8903 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8908 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8909 if test -n "$MAGIC_CMD"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8911 $as_echo "$MAGIC_CMD" >&6; }
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914 $as_echo "no" >&6; }
8927 # Use C for the default configuration in the libtool script
8931 ac_cpp
='$CPP $CPPFLAGS'
8932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8937 # Source file extension for C test sources.
8940 # Object file extension for compiled C test sources.
8944 # Code to be used in simple compile tests
8945 lt_simple_compile_test_code
="int some_variable = 0;"
8947 # Code to be used in simple link tests
8948 lt_simple_link_test_code
='int main(){return(0);}'
8956 # If no C compiler was specified, use CC.
8959 # If no C compiler flags were specified, use CFLAGS.
8960 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8962 # Allow CC to be a program name with arguments.
8965 # Save the default compiler, since it gets overwritten when the other
8966 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8967 compiler_DEFAULT
=$CC
8969 # save warnings/boilerplate of simple test code
8970 ac_outfile
=conftest.
$ac_objext
8971 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8972 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8973 _lt_compiler_boilerplate
=`cat conftest.err`
8976 ac_outfile
=conftest.
$ac_objext
8977 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8978 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8979 _lt_linker_boilerplate
=`cat conftest.err`
8983 if test -n "$compiler"; then
8985 lt_prog_compiler_no_builtin_flag
=
8987 if test "$GCC" = yes; then
8988 case $cc_basename in
8990 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8992 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8996 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8997 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8998 $as_echo_n "(cached) " >&6
9000 lt_cv_prog_compiler_rtti_exceptions
=no
9001 ac_outfile
=conftest.
$ac_objext
9002 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9003 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9004 # Insert the option either (1) after the last *FLAGS variable, or
9005 # (2) before a word containing "conftest.", or (3) at the end.
9006 # Note that $ac_compile itself does not contain backslashes and begins
9007 # with a dollar sign (not a hyphen), so the echo should work correctly.
9008 # The option is referenced via a variable to avoid confusing sed.
9009 lt_compile
=`echo "$ac_compile" | $SED \
9010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9012 -e 's:$: $lt_compiler_flag:'`
9013 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9014 (eval "$lt_compile" 2>conftest.err
)
9016 cat conftest.err
>&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 if (exit $ac_status) && test -s "$ac_outfile"; then
9019 # The compiler can only warn and ignore the option if not recognized
9020 # So say no if there are warnings other than the usual output.
9021 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9022 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9023 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9024 lt_cv_prog_compiler_rtti_exceptions
=yes
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9031 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9033 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9034 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9046 lt_prog_compiler_wl
=
9047 lt_prog_compiler_pic
=
9048 lt_prog_compiler_static
=
9051 if test "$GCC" = yes; then
9052 lt_prog_compiler_wl
='-Wl,'
9053 lt_prog_compiler_static
='-static'
9057 # All AIX code is PIC.
9058 if test "$host_cpu" = ia64
; then
9059 # AIX 5 now supports IA64 processor
9060 lt_prog_compiler_static
='-Bstatic'
9067 # see comment about AmigaOS4 .so support
9068 lt_prog_compiler_pic
='-fPIC'
9071 # FIXME: we need at least 68020 code to build shared libraries, but
9072 # adding the `-m68020' flag to GCC prevents building anything better,
9074 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9079 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9080 # PIC is the default for these OSes.
9083 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9084 # This hack is so that the source file can tell whether it is being
9085 # built for inclusion in a dll (and should export symbols for example).
9086 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9087 # (--disable-auto-import) libraries
9088 lt_prog_compiler_pic
='-DDLL_EXPORT'
9091 darwin
* | rhapsody
*)
9092 # PIC is the default on this platform
9093 # Common symbols not allowed in MH_DYLIB files
9094 lt_prog_compiler_pic
='-fno-common'
9098 # PIC is the default for Haiku.
9099 # The "-static" flag exists, but is broken.
9100 lt_prog_compiler_static
=
9104 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9105 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9106 # sets the default TLS model and affects inlining.
9112 lt_prog_compiler_pic
='-fPIC'
9118 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9119 # Instead, we relocate shared libraries at runtime.
9123 # Just because we use GCC doesn't mean we suddenly get shared libraries
9124 # on systems that don't support them.
9125 lt_prog_compiler_can_build_shared
=no
9130 # QNX uses GNU C++, but need to define -shared option too, otherwise
9132 lt_prog_compiler_pic
='-fPIC -shared'
9136 if test -d /usr
/nec
; then
9137 lt_prog_compiler_pic
=-Kconform_pic
9142 lt_prog_compiler_pic
='-fPIC'
9146 case $cc_basename in
9147 nvcc
*) # Cuda Compiler Driver 2.2
9148 lt_prog_compiler_wl
='-Xlinker '
9149 if test -n "$lt_prog_compiler_pic"; then
9150 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9155 # PORTME Check for flag to pass linker flags through the system compiler.
9158 lt_prog_compiler_wl
='-Wl,'
9159 if test "$host_cpu" = ia64
; then
9160 # AIX 5 now supports IA64 processor
9161 lt_prog_compiler_static
='-Bstatic'
9163 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9167 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9168 # This hack is so that the source file can tell whether it is being
9169 # built for inclusion in a dll (and should export symbols for example).
9170 lt_prog_compiler_pic
='-DDLL_EXPORT'
9173 hpux9
* | hpux10
* | hpux11
*)
9174 lt_prog_compiler_wl
='-Wl,'
9175 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9182 lt_prog_compiler_pic
='+Z'
9185 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9186 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9189 irix5
* | irix6
* | nonstopux
*)
9190 lt_prog_compiler_wl
='-Wl,'
9191 # PIC (with -KPIC) is the default.
9192 lt_prog_compiler_static
='-non_shared'
9195 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9196 case $cc_basename in
9197 # old Intel for x86_64 which still supported -KPIC.
9199 lt_prog_compiler_wl
='-Wl,'
9200 lt_prog_compiler_pic
='-KPIC'
9201 lt_prog_compiler_static
='-static'
9203 # icc used to be incompatible with GCC.
9204 # ICC 10 doesn't accept -KPIC any more.
9206 lt_prog_compiler_wl
='-Wl,'
9207 lt_prog_compiler_pic
='-fPIC'
9208 lt_prog_compiler_static
='-static'
9210 # Lahey Fortran 8.1.
9212 lt_prog_compiler_wl
='-Wl,'
9213 lt_prog_compiler_pic
='--shared'
9214 lt_prog_compiler_static
='--static'
9217 # NAG Fortran compiler
9218 lt_prog_compiler_wl
='-Wl,-Wl,,'
9219 lt_prog_compiler_pic
='-PIC'
9220 lt_prog_compiler_static
='-Bstatic'
9222 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9223 # Portland Group compilers (*not* the Pentium gcc compiler,
9224 # which looks to be a dead project)
9225 lt_prog_compiler_wl
='-Wl,'
9226 lt_prog_compiler_pic
='-fpic'
9227 lt_prog_compiler_static
='-Bstatic'
9230 lt_prog_compiler_wl
='-Wl,'
9231 # All Alpha code is PIC.
9232 lt_prog_compiler_static
='-non_shared'
9234 xl
* | bgxl
* | bgf
* | mpixl
*)
9235 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9236 lt_prog_compiler_wl
='-Wl,'
9237 lt_prog_compiler_pic
='-qpic'
9238 lt_prog_compiler_static
='-qstaticlink'
9241 case `$CC -V 2>&1 | sed 5q` in
9242 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9243 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9244 lt_prog_compiler_pic
='-KPIC'
9245 lt_prog_compiler_static
='-Bstatic'
9246 lt_prog_compiler_wl
=''
9248 *Sun\ F
* |
*Sun
*Fortran
*)
9249 lt_prog_compiler_pic
='-KPIC'
9250 lt_prog_compiler_static
='-Bstatic'
9251 lt_prog_compiler_wl
='-Qoption ld '
9255 lt_prog_compiler_pic
='-KPIC'
9256 lt_prog_compiler_static
='-Bstatic'
9257 lt_prog_compiler_wl
='-Wl,'
9259 *Intel
*\
[CF
]*Compiler
*)
9260 lt_prog_compiler_wl
='-Wl,'
9261 lt_prog_compiler_pic
='-fPIC'
9262 lt_prog_compiler_static
='-static'
9265 lt_prog_compiler_wl
='-Wl,'
9266 lt_prog_compiler_pic
='-fpic'
9267 lt_prog_compiler_static
='-Bstatic'
9275 lt_prog_compiler_pic
='-KPIC'
9276 lt_prog_compiler_static
='-Bstatic'
9280 # QNX uses GNU C++, but need to define -shared option too, otherwise
9282 lt_prog_compiler_pic
='-fPIC -shared'
9285 osf3
* | osf4
* | osf5
*)
9286 lt_prog_compiler_wl
='-Wl,'
9287 # All OSF/1 code is PIC.
9288 lt_prog_compiler_static
='-non_shared'
9292 lt_prog_compiler_static
='-non_shared'
9296 lt_prog_compiler_pic
='-KPIC'
9297 lt_prog_compiler_static
='-Bstatic'
9298 case $cc_basename in
9299 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9300 lt_prog_compiler_wl
='-Qoption ld ';;
9302 lt_prog_compiler_wl
='-Wl,';;
9307 lt_prog_compiler_wl
='-Qoption ld '
9308 lt_prog_compiler_pic
='-PIC'
9309 lt_prog_compiler_static
='-Bstatic'
9312 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9313 lt_prog_compiler_wl
='-Wl,'
9314 lt_prog_compiler_pic
='-KPIC'
9315 lt_prog_compiler_static
='-Bstatic'
9319 if test -d /usr
/nec
;then
9320 lt_prog_compiler_pic
='-Kconform_pic'
9321 lt_prog_compiler_static
='-Bstatic'
9325 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9326 lt_prog_compiler_wl
='-Wl,'
9327 lt_prog_compiler_pic
='-KPIC'
9328 lt_prog_compiler_static
='-Bstatic'
9332 lt_prog_compiler_wl
='-Wl,'
9333 lt_prog_compiler_can_build_shared
=no
9337 lt_prog_compiler_pic
='-pic'
9338 lt_prog_compiler_static
='-Bstatic'
9342 lt_prog_compiler_can_build_shared
=no
9348 # For platforms which do not support PIC, -DPIC is meaningless:
9350 lt_prog_compiler_pic
=
9353 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9359 if ${lt_cv_prog_compiler_pic+:} false
; then :
9360 $as_echo_n "(cached) " >&6
9362 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9365 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9366 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9369 # Check to make sure the PIC flag actually works.
9371 if test -n "$lt_prog_compiler_pic"; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9373 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9374 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9375 $as_echo_n "(cached) " >&6
9377 lt_cv_prog_compiler_pic_works
=no
9378 ac_outfile
=conftest.
$ac_objext
9379 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9380 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9381 # Insert the option either (1) after the last *FLAGS variable, or
9382 # (2) before a word containing "conftest.", or (3) at the end.
9383 # Note that $ac_compile itself does not contain backslashes and begins
9384 # with a dollar sign (not a hyphen), so the echo should work correctly.
9385 # The option is referenced via a variable to avoid confusing sed.
9386 lt_compile
=`echo "$ac_compile" | $SED \
9387 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9388 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9389 -e 's:$: $lt_compiler_flag:'`
9390 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9391 (eval "$lt_compile" 2>conftest.err
)
9393 cat conftest.err
>&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 if (exit $ac_status) && test -s "$ac_outfile"; then
9396 # The compiler can only warn and ignore the option if not recognized
9397 # So say no if there are warnings other than the usual output.
9398 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9399 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9400 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9401 lt_cv_prog_compiler_pic_works
=yes
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9408 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9410 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9411 case $lt_prog_compiler_pic in
9413 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9416 lt_prog_compiler_pic
=
9417 lt_prog_compiler_can_build_shared
=no
9433 # Check to make sure the static flag actually works.
9435 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9437 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9438 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 lt_cv_prog_compiler_static_works
=no
9442 save_LDFLAGS
="$LDFLAGS"
9443 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9444 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9445 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9446 # The linker can only warn and ignore the option if not recognized
9447 # So say no if there are warnings
9448 if test -s conftest.err
; then
9449 # Append any errors to the config.log.
9450 cat conftest.err
1>&5
9451 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9452 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9453 if diff conftest.exp conftest.er2
>/dev
/null
; then
9454 lt_cv_prog_compiler_static_works
=yes
9457 lt_cv_prog_compiler_static_works
=yes
9461 LDFLAGS
="$save_LDFLAGS"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9465 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9467 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9470 lt_prog_compiler_static
=
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9480 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9481 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 lt_cv_prog_compiler_c_o
=no
9485 $RM -r conftest
2>/dev
/null
9489 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9491 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9492 # Insert the option either (1) after the last *FLAGS variable, or
9493 # (2) before a word containing "conftest.", or (3) at the end.
9494 # Note that $ac_compile itself does not contain backslashes and begins
9495 # with a dollar sign (not a hyphen), so the echo should work correctly.
9496 lt_compile
=`echo "$ac_compile" | $SED \
9497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9499 -e 's:$: $lt_compiler_flag:'`
9500 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9501 (eval "$lt_compile" 2>out
/conftest.err
)
9503 cat out
/conftest.err
>&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9507 # The compiler can only warn and ignore the option if not recognized
9508 # So say no if there are warnings
9509 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9510 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9511 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9512 lt_cv_prog_compiler_c_o
=yes
9517 # SGI C++ compiler will create directory out/ii_files/ for
9518 # template instantiation
9519 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9520 $RM out
/* && rmdir out
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9527 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9535 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9536 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9537 $as_echo_n "(cached) " >&6
9539 lt_cv_prog_compiler_c_o
=no
9540 $RM -r conftest
2>/dev
/null
9544 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9546 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9547 # Insert the option either (1) after the last *FLAGS variable, or
9548 # (2) before a word containing "conftest.", or (3) at the end.
9549 # Note that $ac_compile itself does not contain backslashes and begins
9550 # with a dollar sign (not a hyphen), so the echo should work correctly.
9551 lt_compile
=`echo "$ac_compile" | $SED \
9552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9554 -e 's:$: $lt_compiler_flag:'`
9555 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9556 (eval "$lt_compile" 2>out
/conftest.err
)
9558 cat out
/conftest.err
>&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9562 # The compiler can only warn and ignore the option if not recognized
9563 # So say no if there are warnings
9564 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9565 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9566 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9567 lt_cv_prog_compiler_c_o
=yes
9572 # SGI C++ compiler will create directory out/ii_files/ for
9573 # template instantiation
9574 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9575 $RM out
/* && rmdir out
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9582 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9587 hard_links
="nottested"
9588 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9589 # do not overwrite the value of need_locks provided by the user
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9591 $as_echo_n "checking if we can lock with hard links... " >&6; }
9594 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9596 ln conftest.a conftest.b
2>&5 || hard_links
=no
9597 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9599 $as_echo "$hard_links" >&6; }
9600 if test "$hard_links" = no
; then
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9602 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9615 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9618 allow_undefined_flag
=
9619 always_export_symbols
=no
9621 archive_expsym_cmds
=
9622 compiler_needs_object
=no
9623 enable_shared_with_static_runtimes
=no
9624 export_dynamic_flag_spec
=
9625 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9626 hardcode_automatic
=no
9628 hardcode_direct_absolute
=no
9629 hardcode_libdir_flag_spec
=
9630 hardcode_libdir_separator
=
9632 hardcode_shlibpath_var
=unsupported
9634 link_all_deplibs
=unknown
9637 old_archive_from_new_cmds
=
9638 old_archive_from_expsyms_cmds
=
9639 thread_safe_flag_spec
=
9640 whole_archive_flag_spec
=
9641 # include_expsyms should be a list of space-separated symbols to be *always*
9642 # included in the symbol list
9644 # exclude_expsyms can be an extended regexp of symbols to exclude
9645 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9646 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9647 # as well as any symbol that contains `d'.
9648 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9649 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9650 # platforms (ab)use it in PIC code, but their linkers get confused if
9651 # the symbol is explicitly referenced. Since portable code cannot
9652 # rely on this symbol name, it's probably fine to never include it in
9653 # preloaded symbol tables.
9654 # Exclude shared library initialization/finalization symbols.
9655 extract_expsyms_cmds
=
9658 cygwin
* | mingw
* | pw32
* | cegcc
*)
9659 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9660 # When not using gcc, we currently assume that we are using
9661 # Microsoft Visual C++.
9662 if test "$GCC" != yes; then
9667 # we just hope/assume this is gcc and not c89 (= MSVC++)
9673 linux
* | k
*bsd
*-gnu | gnu
*)
9680 # On some targets, GNU ld is compatible enough with the native linker
9681 # that we're better off using the native interface for both.
9682 lt_use_gnu_ld_interface
=no
9683 if test "$with_gnu_ld" = yes; then
9686 # The AIX port of GNU ld has always aspired to compatibility
9687 # with the native linker. However, as the warning in the GNU ld
9688 # block says, versions before 2.19.5* couldn't really create working
9689 # shared libraries, regardless of the interface used.
9690 case `$LD -v 2>&1` in
9691 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9692 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9693 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9695 lt_use_gnu_ld_interface
=yes
9700 lt_use_gnu_ld_interface
=yes
9705 if test "$lt_use_gnu_ld_interface" = yes; then
9706 # If archive_cmds runs LD, not CC, wlarc should be empty
9709 # Set some defaults for GNU ld with shared library support. These
9710 # are reset later if shared libraries are not supported. Putting them
9711 # here allows them to be overridden if necessary.
9712 runpath_var
=LD_RUN_PATH
9713 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9714 export_dynamic_flag_spec
='${wl}--export-dynamic'
9715 # ancient GNU ld didn't support --whole-archive et. al.
9716 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9717 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9719 whole_archive_flag_spec
=
9721 supports_anon_versioning
=no
9722 case `$LD -v 2>&1` in
9723 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9724 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9725 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9726 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9727 *\
2.11.
*) ;; # other 2.11 versions
9728 *) supports_anon_versioning
=yes ;;
9731 # See if GNU ld supports shared libraries.
9734 # On AIX/PPC, the GNU linker is very broken
9735 if test "$host_cpu" != ia64
; then
9739 *** Warning: the GNU linker, at least up to release 2.19, is reported
9740 *** to be unable to reliably create shared libraries on AIX.
9741 *** Therefore, libtool is disabling shared libraries support. If you
9742 *** really care for shared libraries, you may want to install binutils
9743 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9744 *** You will then need to restart the configuration process.
9753 # see comment about AmigaOS4 .so support
9754 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9755 archive_expsym_cmds
=''
9758 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)'
9759 hardcode_libdir_flag_spec
='-L$libdir'
9760 hardcode_minus_L
=yes
9766 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9767 allow_undefined_flag
=unsupported
9768 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9769 # support --undefined. This deserves some investigation. FIXME
9770 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9776 cygwin
* | mingw
* | pw32
* | cegcc
*)
9777 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9778 # as there is no search path for DLLs.
9779 hardcode_libdir_flag_spec
='-L$libdir'
9780 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9781 allow_undefined_flag
=unsupported
9782 always_export_symbols
=no
9783 enable_shared_with_static_runtimes
=yes
9784 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9785 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9787 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9788 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9789 # If the export-symbols file already is a .def file (1st line
9790 # is EXPORTS), use it as is; otherwise, prepend...
9791 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9792 cp $export_symbols $output_objdir/$soname.def;
9794 echo EXPORTS > $output_objdir/$soname.def;
9795 cat $export_symbols >> $output_objdir/$soname.def;
9797 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9804 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9805 link_all_deplibs
=yes
9810 hardcode_shlibpath_var
=no
9811 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9812 export_dynamic_flag_spec
='${wl}-E'
9813 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9814 # Instead, shared libraries are loaded at an image base (0x10000000 by
9815 # default) and relocated if they conflict, which is a slow very memory
9816 # consuming and fragmenting process. To avoid this, we pick a random,
9817 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9818 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9819 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9820 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'
9823 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9825 if test "$host_os" = linux-dietlibc
; then
9826 case $cc_basename in
9827 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9830 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9831 && test "$tmp_diet" = no
9833 tmp_addflag
=' $pic_flag'
9834 tmp_sharedflag
='-shared'
9835 case $cc_basename,$host_cpu in
9836 pgcc
*) # Portland Group C compiler
9837 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9838 tmp_addflag
=' $pic_flag'
9840 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9841 # Portland Group f77 and f90 compilers
9842 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9843 tmp_addflag
=' $pic_flag -Mnomain' ;;
9844 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9845 tmp_addflag
=' -i_dynamic' ;;
9846 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9847 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9848 ifc
* | ifort
*) # Intel Fortran compiler
9849 tmp_addflag
=' -nofor_main' ;;
9850 lf95
*) # Lahey Fortran 8.1
9851 whole_archive_flag_spec
=
9852 tmp_sharedflag
='--shared' ;;
9853 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9854 tmp_sharedflag
='-qmkshrobj'
9856 nvcc
*) # Cuda Compiler Driver 2.2
9857 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9858 compiler_needs_object
=yes
9861 case `$CC -V 2>&1 | sed 5q` in
9862 *Sun\ C
*) # Sun C 5.9
9863 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9864 compiler_needs_object
=yes
9865 tmp_sharedflag
='-G' ;;
9866 *Sun\ F
*) # Sun Fortran 8.3
9867 tmp_sharedflag
='-G' ;;
9869 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9871 if test "x$supports_anon_versioning" = xyes
; then
9872 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9873 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9874 echo "local: *; };" >> $output_objdir/$libname.ver~
9875 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9878 case $cc_basename in
9879 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9880 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9881 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9882 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9883 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9884 if test "x$supports_anon_versioning" = xyes
; then
9885 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9886 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9887 echo "local: *; };" >> $output_objdir/$libname.ver~
9888 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9897 netbsd
* | netbsdelf
*-gnu)
9898 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9899 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9902 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9903 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9908 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9912 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9913 *** create shared libraries on Solaris systems. Therefore, libtool
9914 *** is disabling shared libraries support. We urge you to upgrade GNU
9915 *** binutils to release 2.9.1 or newer. Another option is to modify
9916 *** your PATH or compiler configuration so that the native linker is
9917 *** used, and then restart.
9920 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9921 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9922 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9928 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9929 case `$LD -v 2>&1` in
9930 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9934 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9935 *** reliably create shared libraries on SCO systems. Therefore, libtool
9936 *** is disabling shared libraries support. We urge you to upgrade GNU
9937 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9938 *** your PATH or compiler configuration so that the native linker is
9939 *** used, and then restart.
9944 # For security reasons, it is highly recommended that you always
9945 # use absolute paths for naming shared libraries, and exclude the
9946 # DT_RUNPATH tag from executables and libraries. But doing so
9947 # requires that you compile everything twice, which is a pain.
9948 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9949 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9950 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9951 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9960 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9963 hardcode_shlibpath_var
=no
9967 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9968 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9969 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9976 if test "$ld_shlibs" = no
; then
9978 hardcode_libdir_flag_spec
=
9979 export_dynamic_flag_spec
=
9980 whole_archive_flag_spec
=
9983 # PORTME fill in a description of your system's linker (not GNU ld)
9986 allow_undefined_flag
=unsupported
9987 always_export_symbols
=yes
9988 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'
9989 # Note: this linker hardcodes the directories in LIBPATH if there
9990 # are no directories specified by -L.
9991 hardcode_minus_L
=yes
9992 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9993 # Neither direct hardcoding nor static linking is supported with a
9995 hardcode_direct
=unsupported
10000 if test "$host_cpu" = ia64
; then
10001 # On IA64, the linker does run time linking by default, so we don't
10002 # have to do anything special.
10003 aix_use_runtimelinking
=no
10004 exp_sym_flag
='-Bexport'
10007 # If we're using GNU nm, then we don't want the "-C" option.
10008 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10009 # Also, AIX nm treats weak defined symbols like other global
10010 # defined symbols, whereas GNU nm marks them as "W".
10011 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10012 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10014 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'
10016 aix_use_runtimelinking
=no
10018 # Test if we are trying to use run time linking or normal
10019 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10020 # need to do runtime linking.
10021 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10022 for ld_flag
in $LDFLAGS; do
10023 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10024 aix_use_runtimelinking
=yes
10031 exp_sym_flag
='-bexport'
10032 no_entry_flag
='-bnoentry'
10035 # When large executables or shared objects are built, AIX ld can
10036 # have problems creating the table of contents. If linking a library
10037 # or program results in "error TOC overflow" add -mminimal-toc to
10038 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10039 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10042 hardcode_direct
=yes
10043 hardcode_direct_absolute
=yes
10044 hardcode_libdir_separator
=':'
10045 link_all_deplibs
=yes
10046 file_list_spec
='${wl}-f,'
10048 if test "$GCC" = yes; then
10049 case $host_os in aix4.
[012]|aix4.
[012].
*)
10050 # We only want to do this on AIX 4.2 and lower, the check
10051 # below for broken collect2 doesn't work under 4.3+
10052 collect2name
=`${CC} -print-prog-name=collect2`
10053 if test -f "$collect2name" &&
10054 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10056 # We have reworked collect2
10059 # We have old collect2
10060 hardcode_direct
=unsupported
10061 # It fails to find uninstalled libraries when the uninstalled
10062 # path is not listed in the libpath. Setting hardcode_minus_L
10063 # to unsupported forces relinking
10064 hardcode_minus_L
=yes
10065 hardcode_libdir_flag_spec
='-L$libdir'
10066 hardcode_libdir_separator
=
10070 shared_flag
='-shared'
10071 if test "$aix_use_runtimelinking" = yes; then
10072 shared_flag
="$shared_flag "'${wl}-G'
10074 link_all_deplibs
=no
10077 if test "$host_cpu" = ia64
; then
10078 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10079 # chokes on -Wl,-G. The following line is correct:
10082 if test "$aix_use_runtimelinking" = yes; then
10083 shared_flag
='${wl}-G'
10085 shared_flag
='${wl}-bM:SRE'
10090 export_dynamic_flag_spec
='${wl}-bexpall'
10091 # It seems that -bexpall does not export symbols beginning with
10092 # underscore (_), so it is better to generate a list of symbols to export.
10093 always_export_symbols
=yes
10094 if test "$aix_use_runtimelinking" = yes; then
10095 # Warning - without using the other runtime loading flags (-brtl),
10096 # -berok will link without error, but may produce a broken library.
10097 allow_undefined_flag
='-berok'
10098 # Determine the default libpath from the value encoded in an
10099 # empty executable.
10100 if test "${lt_cv_aix_libpath+set}" = set; then
10101 aix_libpath
=$lt_cv_aix_libpath
10103 if ${lt_cv_aix_libpath_+:} false
; then :
10104 $as_echo_n "(cached) " >&6
10106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10117 if ac_fn_c_try_link
"$LINENO"; then :
10119 lt_aix_libpath_sed
='
10120 /Import File Strings/,/^$/ {
10122 s/^0 *\([^ ]*\) *$/\1/
10126 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10127 # Check for a 64-bit object if we didn't find anything.
10128 if test -z "$lt_cv_aix_libpath_"; then
10129 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10132 rm -f core conftest.err conftest.
$ac_objext \
10133 conftest
$ac_exeext conftest.
$ac_ext
10134 if test -z "$lt_cv_aix_libpath_"; then
10135 lt_cv_aix_libpath_
="/usr/lib:/lib"
10140 aix_libpath
=$lt_cv_aix_libpath_
10143 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10144 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10146 if test "$host_cpu" = ia64
; then
10147 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10148 allow_undefined_flag
="-z nodefs"
10149 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"
10151 # Determine the default libpath from the value encoded in an
10152 # empty executable.
10153 if test "${lt_cv_aix_libpath+set}" = set; then
10154 aix_libpath
=$lt_cv_aix_libpath
10156 if ${lt_cv_aix_libpath_+:} false
; then :
10157 $as_echo_n "(cached) " >&6
10159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10170 if ac_fn_c_try_link
"$LINENO"; then :
10172 lt_aix_libpath_sed
='
10173 /Import File Strings/,/^$/ {
10175 s/^0 *\([^ ]*\) *$/\1/
10179 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10180 # Check for a 64-bit object if we didn't find anything.
10181 if test -z "$lt_cv_aix_libpath_"; then
10182 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10185 rm -f core conftest.err conftest.
$ac_objext \
10186 conftest
$ac_exeext conftest.
$ac_ext
10187 if test -z "$lt_cv_aix_libpath_"; then
10188 lt_cv_aix_libpath_
="/usr/lib:/lib"
10193 aix_libpath
=$lt_cv_aix_libpath_
10196 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10197 # Warning - without using the other run time loading flags,
10198 # -berok will link without error, but may produce a broken library.
10199 no_undefined_flag
=' ${wl}-bernotok'
10200 allow_undefined_flag
=' ${wl}-berok'
10201 if test "$with_gnu_ld" = yes; then
10202 # We only use this code for GNU lds that support --whole-archive.
10203 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10205 # Exported symbols can be pulled into shared objects from archives
10206 whole_archive_flag_spec
='$convenience'
10208 archive_cmds_need_lc
=yes
10209 # This is similar to how AIX traditionally builds its shared libraries.
10210 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'
10218 # see comment about AmigaOS4 .so support
10219 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10220 archive_expsym_cmds
=''
10223 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)'
10224 hardcode_libdir_flag_spec
='-L$libdir'
10225 hardcode_minus_L
=yes
10231 export_dynamic_flag_spec
=-rdynamic
10234 cygwin
* | mingw
* | pw32
* | cegcc
*)
10235 # When not using gcc, we currently assume that we are using
10236 # Microsoft Visual C++.
10237 # hardcode_libdir_flag_spec is actually meaningless, as there is
10238 # no search path for DLLs.
10239 case $cc_basename in
10242 hardcode_libdir_flag_spec
=' '
10243 allow_undefined_flag
=unsupported
10244 always_export_symbols
=yes
10246 # Tell ltmain to make .lib files, not .a files.
10248 # Tell ltmain to make .dll files, not .so files.
10250 # FIXME: Setting linknames here is a bad hack.
10251 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10252 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10253 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10255 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10257 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10259 # The linker will not automatically build a static lib if we build a DLL.
10260 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10261 enable_shared_with_static_runtimes
=yes
10262 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10263 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10265 old_postinstall_cmds
='chmod 644 $oldlib'
10266 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10267 lt_tool_outputfile="@TOOL_OUTPUT@"~
10268 case $lt_outputfile in
10271 lt_outputfile="$lt_outputfile.exe"
10272 lt_tool_outputfile="$lt_tool_outputfile.exe"
10275 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10276 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10277 $RM "$lt_outputfile.manifest";
10281 # Assume MSVC wrapper
10282 hardcode_libdir_flag_spec
=' '
10283 allow_undefined_flag
=unsupported
10284 # Tell ltmain to make .lib files, not .a files.
10286 # Tell ltmain to make .dll files, not .so files.
10288 # FIXME: Setting linknames here is a bad hack.
10289 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10290 # The linker will automatically build a .lib file if we build a DLL.
10291 old_archive_from_new_cmds
='true'
10292 # FIXME: Should let the user specify the lib program.
10293 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10294 enable_shared_with_static_runtimes
=yes
10299 darwin
* | rhapsody
*)
10302 archive_cmds_need_lc
=no
10304 hardcode_automatic
=yes
10305 hardcode_shlibpath_var
=unsupported
10306 if test "$lt_cv_ld_force_load" = "yes"; then
10307 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10310 whole_archive_flag_spec
=''
10312 link_all_deplibs
=yes
10313 allow_undefined_flag
="$_lt_dar_allow_undefined"
10314 case $cc_basename in
10315 ifort
*) _lt_dar_can_shared
=yes ;;
10316 *) _lt_dar_can_shared
=$GCC ;;
10318 if test "$_lt_dar_can_shared" = "yes"; then
10319 output_verbose_link_cmd
=func_echo_all
10320 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10321 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10322 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}"
10323 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}"
10332 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10333 hardcode_libdir_flag_spec
='-L$libdir'
10334 hardcode_shlibpath_var
=no
10337 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10338 # support. Future versions do this automatically, but an explicit c++rt0.o
10339 # does not break anything, and helps significantly (at the cost of a little
10342 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10343 hardcode_libdir_flag_spec
='-R$libdir'
10344 hardcode_direct
=yes
10345 hardcode_shlibpath_var
=no
10348 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10350 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10351 hardcode_direct
=yes
10352 hardcode_minus_L
=yes
10353 hardcode_shlibpath_var
=no
10356 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10357 freebsd
* | dragonfly
*)
10358 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10359 hardcode_libdir_flag_spec
='-R$libdir'
10360 hardcode_direct
=yes
10361 hardcode_shlibpath_var
=no
10365 if test "$GCC" = yes; then
10366 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10368 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'
10370 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10371 hardcode_libdir_separator
=:
10372 hardcode_direct
=yes
10374 # hardcode_minus_L: Not really in the search PATH,
10375 # but as the default location of the library.
10376 hardcode_minus_L
=yes
10377 export_dynamic_flag_spec
='${wl}-E'
10381 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10382 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10386 if test "$with_gnu_ld" = no
; then
10387 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10388 hardcode_libdir_separator
=:
10389 hardcode_direct
=yes
10390 hardcode_direct_absolute
=yes
10391 export_dynamic_flag_spec
='${wl}-E'
10392 # hardcode_minus_L: Not really in the search PATH,
10393 # but as the default location of the library.
10394 hardcode_minus_L
=yes
10399 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10402 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10405 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10408 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10414 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10421 # Older versions of the 11.00 compiler do not understand -b yet
10422 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10424 $as_echo_n "checking if $CC understands -b... " >&6; }
10425 if ${lt_cv_prog_compiler__b+:} false
; then :
10426 $as_echo_n "(cached) " >&6
10428 lt_cv_prog_compiler__b
=no
10429 save_LDFLAGS
="$LDFLAGS"
10430 LDFLAGS
="$LDFLAGS -b"
10431 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10432 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10433 # The linker can only warn and ignore the option if not recognized
10434 # So say no if there are warnings
10435 if test -s conftest.err
; then
10436 # Append any errors to the config.log.
10437 cat conftest.err
1>&5
10438 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10439 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10440 if diff conftest.exp conftest.er2
>/dev
/null
; then
10441 lt_cv_prog_compiler__b
=yes
10444 lt_cv_prog_compiler__b
=yes
10448 LDFLAGS
="$save_LDFLAGS"
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10452 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10454 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10455 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10457 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10463 if test "$with_gnu_ld" = no
; then
10464 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10465 hardcode_libdir_separator
=:
10470 hardcode_shlibpath_var
=no
10473 hardcode_direct
=yes
10474 hardcode_direct_absolute
=yes
10475 export_dynamic_flag_spec
='${wl}-E'
10477 # hardcode_minus_L: Not really in the search PATH,
10478 # but as the default location of the library.
10479 hardcode_minus_L
=yes
10485 irix5
* | irix6
* | nonstopux
*)
10486 if test "$GCC" = yes; then
10487 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10488 # Try to use the -exported_symbol ld option, if it does not
10489 # work, assume that -exports_file does not work either and
10490 # implicitly export all symbols.
10491 # This should be the same for all languages, so no per-tag cache variable.
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10493 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10494 if ${lt_cv_irix_exported_symbol+:} false
; then :
10495 $as_echo_n "(cached) " >&6
10497 save_LDFLAGS
="$LDFLAGS"
10498 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 int foo (void) { return 0; }
10503 if ac_fn_c_try_link
"$LINENO"; then :
10504 lt_cv_irix_exported_symbol
=yes
10506 lt_cv_irix_exported_symbol
=no
10508 rm -f core conftest.err conftest.
$ac_objext \
10509 conftest
$ac_exeext conftest.
$ac_ext
10510 LDFLAGS
="$save_LDFLAGS"
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10513 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10514 if test "$lt_cv_irix_exported_symbol" = yes; then
10515 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10518 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10519 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10521 archive_cmds_need_lc
='no'
10522 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10523 hardcode_libdir_separator
=:
10525 link_all_deplibs
=yes
10528 netbsd
* | netbsdelf
*-gnu)
10529 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10530 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10532 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10534 hardcode_libdir_flag_spec
='-R$libdir'
10535 hardcode_direct
=yes
10536 hardcode_shlibpath_var
=no
10540 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10541 hardcode_direct
=yes
10542 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10543 hardcode_libdir_separator
=:
10544 hardcode_shlibpath_var
=no
10551 if test -f /usr
/libexec
/ld.so
; then
10552 hardcode_direct
=yes
10553 hardcode_shlibpath_var
=no
10554 hardcode_direct_absolute
=yes
10555 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10556 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10557 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10558 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10559 export_dynamic_flag_spec
='${wl}-E'
10562 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10563 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10564 hardcode_libdir_flag_spec
='-R$libdir'
10567 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10568 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10578 hardcode_libdir_flag_spec
='-L$libdir'
10579 hardcode_minus_L
=yes
10580 allow_undefined_flag
=unsupported
10581 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'
10582 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10586 if test "$GCC" = yes; then
10587 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10588 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10590 allow_undefined_flag
=' -expect_unresolved \*'
10591 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10593 archive_cmds_need_lc
='no'
10594 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10595 hardcode_libdir_separator
=:
10598 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10599 if test "$GCC" = yes; then
10600 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10601 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10602 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10604 allow_undefined_flag
=' -expect_unresolved \*'
10605 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10606 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~
10607 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10609 # Both c and cxx compiler support -rpath directly
10610 hardcode_libdir_flag_spec
='-rpath $libdir'
10612 archive_cmds_need_lc
='no'
10613 hardcode_libdir_separator
=:
10617 no_undefined_flag
=' -z defs'
10618 if test "$GCC" = yes; then
10620 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10622 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10624 case `$CC -V 2>&1` in
10627 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10628 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10629 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10633 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10634 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10635 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10639 hardcode_libdir_flag_spec
='-R$libdir'
10640 hardcode_shlibpath_var
=no
10642 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10644 # The compiler driver will combine and reorder linker options,
10645 # but understands `-z linker_flag'. GCC discards it without `$wl',
10646 # but is careful enough not to reorder.
10647 # Supported since Solaris 2.6 (maybe 2.5.1?)
10648 if test "$GCC" = yes; then
10649 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10651 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10655 link_all_deplibs
=yes
10659 if test "x$host_vendor" = xsequent
; then
10660 # Use $CC to link under sequent, because it throws in some extra .o
10661 # files that make .init and .fini sections work.
10662 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10664 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10666 hardcode_libdir_flag_spec
='-L$libdir'
10667 hardcode_direct
=yes
10668 hardcode_minus_L
=yes
10669 hardcode_shlibpath_var
=no
10673 case $host_vendor in
10675 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10676 hardcode_direct
=yes # is this really true???
10679 ## LD is ld it makes a PLAMLIB
10680 ## CC just makes a GrossModule.
10681 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10682 reload_cmds
='$CC -r -o $output$reload_objs'
10686 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10687 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10690 runpath_var
='LD_RUN_PATH'
10691 hardcode_shlibpath_var
=no
10695 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10696 hardcode_shlibpath_var
=no
10697 export_dynamic_flag_spec
='-Bexport'
10701 if test -d /usr
/nec
; then
10702 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10703 hardcode_shlibpath_var
=no
10704 runpath_var
=LD_RUN_PATH
10705 hardcode_runpath_var
=yes
10710 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10711 no_undefined_flag
='${wl}-z,text'
10712 archive_cmds_need_lc
=no
10713 hardcode_shlibpath_var
=no
10714 runpath_var
='LD_RUN_PATH'
10716 if test "$GCC" = yes; then
10717 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10718 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10720 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10721 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10725 sysv5
* | sco3.2v5
* | sco5v6
*)
10726 # Note: We can NOT use -z defs as we might desire, because we do not
10727 # link with -lc, and that would cause any symbols used from libc to
10728 # always be unresolved, which means just about no library would
10729 # ever link correctly. If we're not using GNU ld we use -z text
10730 # though, which does catch some bad symbols but isn't as heavy-handed
10732 no_undefined_flag
='${wl}-z,text'
10733 allow_undefined_flag
='${wl}-z,nodefs'
10734 archive_cmds_need_lc
=no
10735 hardcode_shlibpath_var
=no
10736 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10737 hardcode_libdir_separator
=':'
10738 link_all_deplibs
=yes
10739 export_dynamic_flag_spec
='${wl}-Bexport'
10740 runpath_var
='LD_RUN_PATH'
10742 if test "$GCC" = yes; then
10743 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10744 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10746 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10747 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10752 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10753 hardcode_libdir_flag_spec
='-L$libdir'
10754 hardcode_shlibpath_var
=no
10762 if test x
$host_vendor = xsni
; then
10764 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10765 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10772 $as_echo "$ld_shlibs" >&6; }
10773 test "$ld_shlibs" = no
&& can_build_shared
=no
10775 with_gnu_ld
=$with_gnu_ld
10792 # Do we need to explicitly link libc?
10794 case "x$archive_cmds_need_lc" in
10796 # Assume -lc should be added
10797 archive_cmds_need_lc
=yes
10799 if test "$enable_shared" = yes && test "$GCC" = yes; then
10800 case $archive_cmds in
10802 # FIXME: we may have to deal with multi-command sequences.
10805 # Test whether the compiler implicitly links with -lc since on some
10806 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10807 # to ld, don't add -lc before -lgcc.
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10809 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10810 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10811 $as_echo_n "(cached) " >&6
10814 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10817 (eval $ac_compile) 2>&5
10819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10820 test $ac_status = 0; } 2>conftest.err
; then
10823 libobjs
=conftest.
$ac_objext
10825 wl
=$lt_prog_compiler_wl
10826 pic_flag
=$lt_prog_compiler_pic
10832 lt_save_allow_undefined_flag
=$allow_undefined_flag
10833 allow_undefined_flag
=
10834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10835 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10838 test $ac_status = 0; }
10840 lt_cv_archive_cmds_need_lc
=no
10842 lt_cv_archive_cmds_need_lc
=yes
10844 allow_undefined_flag
=$lt_save_allow_undefined_flag
10846 cat conftest.err
1>&5
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10852 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10853 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11012 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11014 if test "$GCC" = yes; then
11016 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11017 *) lt_awk_arg
="/^libraries:/" ;;
11020 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11021 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11023 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11024 case $lt_search_path_spec in
11026 # if the path contains ";" then we assume it to be the separator
11027 # otherwise default to the standard path separator (i.e. ":") - it is
11028 # assumed that no part of a normal pathname contains ";" but that should
11029 # okay in the real world where ";" in dirpaths is itself problematic.
11030 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11033 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11036 # Ok, now we have the path, separated by spaces, we can step through it
11037 # and add multilib dir if necessary.
11038 lt_tmp_lt_search_path_spec
=
11039 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11040 for lt_sys_path
in $lt_search_path_spec; do
11041 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11042 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11044 test -d "$lt_sys_path" && \
11045 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11048 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11049 BEGIN {RS=" "; FS="/|\n";} {
11052 for (lt_i = NF; lt_i > 0; lt_i--) {
11053 if ($lt_i != "" && $lt_i != ".") {
11054 if ($lt_i == "..") {
11057 if (lt_count == 0) {
11058 lt_foo="/" $lt_i lt_foo;
11065 if (lt_foo != "") { lt_freq[lt_foo]++; }
11066 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11068 # AWK program above erroneously prepends '/' to C:/dos/paths
11071 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11072 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11074 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11076 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11078 library_names_spec
=
11079 libname_spec
='lib$name'
11083 postuninstall_cmds
=
11087 shlibpath_overrides_runpath
=unknown
11089 dynamic_linker
="$host_os ld.so"
11090 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11091 need_lib_prefix
=unknown
11092 hardcode_into_libs
=no
11094 # when you set need_version to no, make sure it does not cause -set_version
11095 # flags to be left without arguments
11096 need_version
=unknown
11100 version_type
=linux
# correct to gnu/linux during the next big refactor
11101 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11102 shlibpath_var
=LIBPATH
11104 # AIX 3 has no versioning support, so we append a major version to the name.
11105 soname_spec
='${libname}${release}${shared_ext}$major'
11109 version_type
=linux
# correct to gnu/linux during the next big refactor
11112 hardcode_into_libs
=yes
11113 if test "$host_cpu" = ia64
; then
11114 # AIX 5 supports IA64
11115 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11116 shlibpath_var
=LD_LIBRARY_PATH
11118 # With GCC up to 2.95.x, collect2 would create an import file
11119 # for dependence libraries. The import file would start with
11120 # the line `#! .'. This would cause the generated library to
11121 # depend on `.', always an invalid library. This was fixed in
11122 # development snapshots of GCC prior to 3.0.
11124 aix4 | aix4.
[01] | aix4.
[01].
*)
11125 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11127 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11130 can_build_shared
=no
11134 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11135 # soname into executable. Probably we can add versioning support to
11136 # collect2, so additional links can be useful in future.
11137 if test "$aix_use_runtimelinking" = yes; then
11138 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11139 # instead of lib<name>.a to let people know that these are not
11140 # typical AIX shared libraries.
11141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 # We preserve .a as extension for shared libraries through AIX4.2
11144 # and later when we are not doing run time linking.
11145 library_names_spec
='${libname}${release}.a $libname.a'
11146 soname_spec
='${libname}${release}${shared_ext}$major'
11148 shlibpath_var
=LIBPATH
11155 # Since July 2007 AmigaOS4 officially supports .so libraries.
11156 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11160 library_names_spec
='$libname.ixlibrary $libname.a'
11161 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11162 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11168 library_names_spec
='${libname}${shared_ext}'
11169 dynamic_linker
="$host_os ld.so"
11170 shlibpath_var
=LIBRARY_PATH
11174 version_type
=linux
# correct to gnu/linux during the next big refactor
11176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11177 soname_spec
='${libname}${release}${shared_ext}$major'
11178 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11179 shlibpath_var
=LD_LIBRARY_PATH
11180 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11181 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11182 # the default ld.so.conf also contains /usr/contrib/lib and
11183 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11184 # libtool to hard-code these into programs
11187 cygwin
* | mingw
* | pw32
* | cegcc
*)
11188 version_type
=windows
11193 case $GCC,$cc_basename in
11196 library_names_spec
='$libname.dll.a'
11197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11198 postinstall_cmds
='base_file=`basename \${file}`~
11199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11200 dldir=$destdir/`dirname \$dlpath`~
11201 test -d \$dldir || mkdir -p \$dldir~
11202 $install_prog $dir/$dlname \$dldir/$dlname~
11203 chmod a+x \$dldir/$dlname~
11204 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11205 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11207 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11208 dlpath=$dir/\$dldll~
11210 shlibpath_overrides_runpath
=yes
11214 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11215 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11217 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11220 # MinGW DLLs use traditional 'lib' prefix
11221 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11224 # pw32 DLLs use 'pw' prefix rather than 'lib'
11225 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11228 dynamic_linker
='Win32 ld.exe'
11233 libname_spec
='$name'
11234 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11235 library_names_spec
='${libname}.dll.lib'
11239 sys_lib_search_path_spec
=
11242 for lt_path
in $LIB
11245 # Let DOS variable expansion print the short 8.3 style file name.
11246 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11247 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11250 # Convert to MSYS style.
11251 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11254 # Convert to unix form, then to dos form, then back to unix form
11255 # but this time dos style (no spaces!) so that the unix form looks
11256 # like /cygdrive/c/PROGRA~1:/cygdr...
11257 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11258 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11259 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11262 sys_lib_search_path_spec
="$LIB"
11263 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11264 # It is most probably a Windows format PATH.
11265 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11267 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11269 # FIXME: find the short name or the path components, as spaces are
11270 # common. (e.g. "Program Files" -> "PROGRA~1")
11274 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11275 postinstall_cmds
='base_file=`basename \${file}`~
11276 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11277 dldir=$destdir/`dirname \$dlpath`~
11278 test -d \$dldir || mkdir -p \$dldir~
11279 $install_prog $dir/$dlname \$dldir/$dlname'
11280 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11281 dlpath=$dir/\$dldll~
11283 shlibpath_overrides_runpath
=yes
11284 dynamic_linker
='Win32 link.exe'
11288 # Assume MSVC wrapper
11289 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11290 dynamic_linker
='Win32 ld.exe'
11293 # FIXME: first we should search . and the directory the executable is in
11297 darwin
* | rhapsody
*)
11298 dynamic_linker
="$host_os dyld"
11299 version_type
=darwin
11302 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11303 soname_spec
='${libname}${release}${major}$shared_ext'
11304 shlibpath_overrides_runpath
=yes
11305 shlibpath_var
=DYLD_LIBRARY_PATH
11306 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11308 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11309 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11313 version_type
=linux
# correct to gnu/linux during the next big refactor
11316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11317 soname_spec
='${libname}${release}${shared_ext}$major'
11318 shlibpath_var
=LD_LIBRARY_PATH
11321 freebsd
* | dragonfly
*)
11322 # DragonFly does not have aout. When/if they implement a new
11323 # versioning mechanism, adjust this.
11324 if test -x /usr
/bin
/objformat
; then
11325 objformat
=`/usr/bin/objformat`
11328 freebsd
[23].
*) objformat
=aout
;;
11329 *) objformat
=elf
;;
11332 version_type
=freebsd-
$objformat
11333 case $version_type in
11335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11340 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11344 shlibpath_var
=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath
=yes
11349 freebsd3.
[01]* | freebsdelf3.
[01]*)
11350 shlibpath_overrides_runpath
=yes
11351 hardcode_into_libs
=yes
11353 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11354 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11355 shlibpath_overrides_runpath
=no
11356 hardcode_into_libs
=yes
11358 *) # from 4.6 on, and DragonFly
11359 shlibpath_overrides_runpath
=yes
11360 hardcode_into_libs
=yes
11366 version_type
=linux
# correct to gnu/linux during the next big refactor
11369 dynamic_linker
="$host_os runtime_loader"
11370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11371 soname_spec
='${libname}${release}${shared_ext}$major'
11372 shlibpath_var
=LIBRARY_PATH
11373 shlibpath_overrides_runpath
=yes
11374 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11375 hardcode_into_libs
=yes
11378 hpux9
* | hpux10
* | hpux11
*)
11379 # Give a soname corresponding to the major version so that dld.sl refuses to
11380 # link against other versions.
11387 hardcode_into_libs
=yes
11388 dynamic_linker
="$host_os dld.so"
11389 shlibpath_var
=LD_LIBRARY_PATH
11390 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11392 soname_spec
='${libname}${release}${shared_ext}$major'
11393 if test "X$HPUX_IA64_MODE" = X32
; then
11394 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11396 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11398 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11402 hardcode_into_libs
=yes
11403 dynamic_linker
="$host_os dld.sl"
11404 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11405 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11407 soname_spec
='${libname}${release}${shared_ext}$major'
11408 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11409 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11413 dynamic_linker
="$host_os dld.sl"
11414 shlibpath_var
=SHLIB_PATH
11415 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417 soname_spec
='${libname}${release}${shared_ext}$major'
11420 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11421 postinstall_cmds
='chmod 555 $lib'
11422 # or fails outright, so override atomically:
11423 install_override_mode
=555
11427 version_type
=linux
# correct to gnu/linux during the next big refactor
11430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11431 soname_spec
='${libname}${release}${shared_ext}$major'
11432 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11433 shlibpath_var
=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath
=no
11435 hardcode_into_libs
=yes
11438 irix5
* | irix6
* | nonstopux
*)
11440 nonstopux
*) version_type
=nonstopux
;;
11442 if test "$lt_cv_prog_gnu_ld" = yes; then
11443 version_type
=linux
# correct to gnu/linux during the next big refactor
11450 soname_spec
='${libname}${release}${shared_ext}$major'
11451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11453 irix5
* | nonstopux
*)
11454 libsuff
= shlibsuff
=
11457 case $LD in # libtool.m4 will add one of these switches to LD
11458 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11459 libsuff
= shlibsuff
= libmagic
=32-bit;;
11460 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11461 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11462 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11463 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11464 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11468 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11469 shlibpath_overrides_runpath
=no
11470 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11471 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11472 hardcode_into_libs
=yes
11475 # No shared lib support for Linux oldld, aout, or coff.
11476 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11480 # This must be glibc/ELF.
11481 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11482 version_type
=linux
# correct to gnu/linux during the next big refactor
11485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 soname_spec
='${libname}${release}${shared_ext}$major'
11487 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11488 shlibpath_var
=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath
=no
11491 # Some binutils ld are patched to set DT_RUNPATH
11492 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11493 $as_echo_n "(cached) " >&6
11495 lt_cv_shlibpath_overrides_runpath
=no
11496 save_LDFLAGS
=$LDFLAGS
11497 save_libdir
=$libdir
11498 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11499 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11511 if ac_fn_c_try_link
"$LINENO"; then :
11512 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11513 lt_cv_shlibpath_overrides_runpath
=yes
11516 rm -f core conftest.err conftest.
$ac_objext \
11517 conftest
$ac_exeext conftest.
$ac_ext
11518 LDFLAGS
=$save_LDFLAGS
11519 libdir
=$save_libdir
11523 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11525 # This implies no fast_install, which is unacceptable.
11526 # Some rework will be needed to allow for fast_install
11527 # before this can be enabled.
11528 hardcode_into_libs
=yes
11530 # Append ld.so.conf contents to the search path
11531 if test -f /etc
/ld.so.conf
; then
11532 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;s/"//g;/^$/d' | tr '\n' ' '`
11533 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11536 # We used to test for /lib/ld.so.1 and disable shared libraries on
11537 # powerpc, because MkLinux only supported shared libraries with the
11538 # GNU dynamic linker. Since this was broken with cross compilers,
11539 # most powerpc-linux boxes support dynamic linking these days and
11540 # people can always --disable-shared, the test was removed, and we
11541 # assume the GNU/Linux dynamic linker is in use.
11542 dynamic_linker
='GNU/Linux ld.so'
11549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11550 soname_spec
='${libname}${release}${shared_ext}$major'
11551 shlibpath_var
=LD_LIBRARY_PATH
11552 shlibpath_overrides_runpath
=no
11553 hardcode_into_libs
=yes
11554 dynamic_linker
='NetBSD ld.elf_so'
11561 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11563 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11564 dynamic_linker
='NetBSD (a.out) ld.so'
11566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11567 soname_spec
='${libname}${release}${shared_ext}$major'
11568 dynamic_linker
='NetBSD ld.elf_so'
11570 shlibpath_var
=LD_LIBRARY_PATH
11571 shlibpath_overrides_runpath
=yes
11572 hardcode_into_libs
=yes
11576 version_type
=linux
# correct to gnu/linux during the next big refactor
11577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578 shlibpath_var
=LD_LIBRARY_PATH
11579 shlibpath_overrides_runpath
=yes
11586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11587 soname_spec
='${libname}${release}${shared_ext}$major'
11588 shlibpath_var
=LD_LIBRARY_PATH
11589 shlibpath_overrides_runpath
=no
11590 hardcode_into_libs
=yes
11591 dynamic_linker
='ldqnx.so'
11596 sys_lib_dlsearch_path_spec
="/usr/lib"
11598 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11600 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11601 *) need_version
=no
;;
11603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11604 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11605 shlibpath_var
=LD_LIBRARY_PATH
11606 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11608 openbsd2.
[89] | openbsd2.
[89].
*)
11609 shlibpath_overrides_runpath
=no
11612 shlibpath_overrides_runpath
=yes
11616 shlibpath_overrides_runpath
=yes
11621 libname_spec
='$name'
11624 library_names_spec
='$libname${shared_ext} $libname.a'
11625 dynamic_linker
='OS/2 ld.exe'
11626 shlibpath_var
=LIBPATH
11629 osf3
* | osf4
* | osf5
*)
11633 soname_spec
='${libname}${release}${shared_ext}$major'
11634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635 shlibpath_var
=LD_LIBRARY_PATH
11636 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11637 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11645 version_type
=linux
# correct to gnu/linux during the next big refactor
11648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11649 soname_spec
='${libname}${release}${shared_ext}$major'
11650 shlibpath_var
=LD_LIBRARY_PATH
11651 shlibpath_overrides_runpath
=yes
11652 hardcode_into_libs
=yes
11653 # ldd complains unless libraries are executable
11654 postinstall_cmds
='chmod +x $lib'
11659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11660 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11661 shlibpath_var
=LD_LIBRARY_PATH
11662 shlibpath_overrides_runpath
=yes
11663 if test "$with_gnu_ld" = yes; then
11670 version_type
=linux
# correct to gnu/linux during the next big refactor
11671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11672 soname_spec
='${libname}${release}${shared_ext}$major'
11673 shlibpath_var
=LD_LIBRARY_PATH
11674 case $host_vendor in
11676 shlibpath_overrides_runpath
=no
11678 runpath_var
=LD_RUN_PATH
11686 shlibpath_overrides_runpath
=no
11687 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11693 if test -d /usr
/nec
;then
11694 version_type
=linux
# correct to gnu/linux during the next big refactor
11695 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11696 soname_spec
='$libname${shared_ext}.$major'
11697 shlibpath_var
=LD_LIBRARY_PATH
11701 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11702 version_type
=freebsd-elf
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11706 soname_spec
='${libname}${release}${shared_ext}$major'
11707 shlibpath_var
=LD_LIBRARY_PATH
11708 shlibpath_overrides_runpath
=yes
11709 hardcode_into_libs
=yes
11710 if test "$with_gnu_ld" = yes; then
11711 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11713 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11716 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11720 sys_lib_dlsearch_path_spec
='/usr/lib'
11724 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11725 version_type
=linux
# correct to gnu/linux during the next big refactor
11728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 shlibpath_var
=LD_LIBRARY_PATH
11730 shlibpath_overrides_runpath
=no
11731 hardcode_into_libs
=yes
11735 version_type
=linux
# correct to gnu/linux during the next big refactor
11736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737 soname_spec
='${libname}${release}${shared_ext}$major'
11738 shlibpath_var
=LD_LIBRARY_PATH
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11746 $as_echo "$dynamic_linker" >&6; }
11747 test "$dynamic_linker" = no
&& can_build_shared
=no
11749 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11750 if test "$GCC" = yes; then
11751 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11754 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11755 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11757 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11758 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11853 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11855 if test -n "$hardcode_libdir_flag_spec" ||
11856 test -n "$runpath_var" ||
11857 test "X$hardcode_automatic" = "Xyes" ; then
11859 # We can hardcode non-existent directories.
11860 if test "$hardcode_direct" != no
&&
11861 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11862 # have to relink, otherwise we might link with an installed library
11863 # when we should be linking with a yet-to-be-installed one
11864 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11865 test "$hardcode_minus_L" != no
; then
11866 # Linking always hardcodes the temporary library directory.
11867 hardcode_action
=relink
11869 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11870 hardcode_action
=immediate
11873 # We cannot hardcode anything, or else we can only hardcode existing
11875 hardcode_action
=unsupported
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11878 $as_echo "$hardcode_action" >&6; }
11880 if test "$hardcode_action" = relink ||
11881 test "$inherit_rpath" = yes; then
11882 # Fast installation is not supported
11883 enable_fast_install
=no
11884 elif test "$shlibpath_overrides_runpath" = yes ||
11885 test "$enable_shared" = no
; then
11886 # Fast installation is not necessary
11887 enable_fast_install
=needless
11895 if test "x$enable_dlopen" != xyes
; then
11896 enable_dlopen
=unknown
11897 enable_dlopen_self
=unknown
11898 enable_dlopen_self_static
=unknown
11905 lt_cv_dlopen
="load_add_on"
11907 lt_cv_dlopen_self
=yes
11910 mingw
* | pw32
* | cegcc
*)
11911 lt_cv_dlopen
="LoadLibrary"
11916 lt_cv_dlopen
="dlopen"
11921 # if libdl is installed we need to link against it
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11923 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11924 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11925 $as_echo_n "(cached) " >&6
11927 ac_check_lib_save_LIBS
=$LIBS
11929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11947 if ac_fn_c_try_link
"$LINENO"; then :
11948 ac_cv_lib_dl_dlopen
=yes
11950 ac_cv_lib_dl_dlopen
=no
11952 rm -f core conftest.err conftest.
$ac_objext \
11953 conftest
$ac_exeext conftest.
$ac_ext
11954 LIBS
=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11958 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11959 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11962 lt_cv_dlopen
="dyld"
11964 lt_cv_dlopen_self
=yes
11971 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11972 if test "x$ac_cv_func_shl_load" = xyes
; then :
11973 lt_cv_dlopen
="shl_load"
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11976 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11977 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11978 $as_echo_n "(cached) " >&6
11980 ac_check_lib_save_LIBS
=$LIBS
11982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
11995 return shl_load ();
12000 if ac_fn_c_try_link
"$LINENO"; then :
12001 ac_cv_lib_dld_shl_load
=yes
12003 ac_cv_lib_dld_shl_load
=no
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_lib_save_LIBS
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12010 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12011 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12012 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12014 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12015 if test "x$ac_cv_func_dlopen" = xyes
; then :
12016 lt_cv_dlopen
="dlopen"
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12019 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12020 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12021 $as_echo_n "(cached) " >&6
12023 ac_check_lib_save_LIBS
=$LIBS
12025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12028 /* Override any GCC internal prototype to avoid an error.
12029 Use char because int might match the return type of a GCC
12030 builtin and then its argument prototype would still apply. */
12043 if ac_fn_c_try_link
"$LINENO"; then :
12044 ac_cv_lib_dl_dlopen
=yes
12046 ac_cv_lib_dl_dlopen
=no
12048 rm -f core conftest.err conftest.
$ac_objext \
12049 conftest
$ac_exeext conftest.
$ac_ext
12050 LIBS
=$ac_check_lib_save_LIBS
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12053 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12054 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12055 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12058 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12059 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12060 $as_echo_n "(cached) " >&6
12062 ac_check_lib_save_LIBS
=$LIBS
12063 LIBS
="-lsvld $LIBS"
12064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12082 if ac_fn_c_try_link
"$LINENO"; then :
12083 ac_cv_lib_svld_dlopen
=yes
12085 ac_cv_lib_svld_dlopen
=no
12087 rm -f core conftest.err conftest.
$ac_objext \
12088 conftest
$ac_exeext conftest.
$ac_ext
12089 LIBS
=$ac_check_lib_save_LIBS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12092 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12093 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12094 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12097 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12098 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12099 $as_echo_n "(cached) " >&6
12101 ac_check_lib_save_LIBS
=$LIBS
12103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12116 return dld_link ();
12121 if ac_fn_c_try_link
"$LINENO"; then :
12122 ac_cv_lib_dld_dld_link
=yes
12124 ac_cv_lib_dld_dld_link
=no
12126 rm -f core conftest.err conftest.
$ac_objext \
12127 conftest
$ac_exeext conftest.
$ac_ext
12128 LIBS
=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12131 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12132 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12133 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12154 if test "x$lt_cv_dlopen" != xno
; then
12160 case $lt_cv_dlopen in
12162 save_CPPFLAGS
="$CPPFLAGS"
12163 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12165 save_LDFLAGS
="$LDFLAGS"
12166 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12169 LIBS
="$lt_cv_dlopen_libs $LIBS"
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12172 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12173 if ${lt_cv_dlopen_self+:} false
; then :
12174 $as_echo_n "(cached) " >&6
12176 if test "$cross_compiling" = yes; then :
12177 lt_cv_dlopen_self
=cross
12179 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12180 lt_status
=$lt_dlunknown
12181 cat > conftest.
$ac_ext <<_LT_EOF
12182 #line $LINENO "configure"
12183 #include "confdefs.h"
12192 # define LT_DLGLOBAL RTLD_GLOBAL
12195 # define LT_DLGLOBAL DL_GLOBAL
12197 # define LT_DLGLOBAL 0
12201 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12202 find out it does not work in some platform. */
12203 #ifndef LT_DLLAZY_OR_NOW
12205 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12208 # define LT_DLLAZY_OR_NOW DL_LAZY
12211 # define LT_DLLAZY_OR_NOW RTLD_NOW
12214 # define LT_DLLAZY_OR_NOW DL_NOW
12216 # define LT_DLLAZY_OR_NOW 0
12223 /* When -fvisbility=hidden is used, assume the code has been annotated
12224 correspondingly for the symbols needed. */
12225 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12226 int fnord () __attribute__((visibility("default")));
12229 int fnord () { return 42; }
12232 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12233 int status = $lt_dlunknown;
12237 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12240 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12241 else puts (dlerror ());
12243 /* dlclose (self); */
12251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12252 (eval $ac_link) 2>&5
12254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12255 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12256 (.
/conftest
; exit; ) >&5 2>/dev
/null
12258 case x
$lt_status in
12259 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12260 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12261 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12264 # compilation failed
12265 lt_cv_dlopen_self
=no
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12273 $as_echo "$lt_cv_dlopen_self" >&6; }
12275 if test "x$lt_cv_dlopen_self" = xyes
; then
12276 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12278 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12279 if ${lt_cv_dlopen_self_static+:} false
; then :
12280 $as_echo_n "(cached) " >&6
12282 if test "$cross_compiling" = yes; then :
12283 lt_cv_dlopen_self_static
=cross
12285 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12286 lt_status
=$lt_dlunknown
12287 cat > conftest.
$ac_ext <<_LT_EOF
12288 #line $LINENO "configure"
12289 #include "confdefs.h"
12298 # define LT_DLGLOBAL RTLD_GLOBAL
12301 # define LT_DLGLOBAL DL_GLOBAL
12303 # define LT_DLGLOBAL 0
12307 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12308 find out it does not work in some platform. */
12309 #ifndef LT_DLLAZY_OR_NOW
12311 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12314 # define LT_DLLAZY_OR_NOW DL_LAZY
12317 # define LT_DLLAZY_OR_NOW RTLD_NOW
12320 # define LT_DLLAZY_OR_NOW DL_NOW
12322 # define LT_DLLAZY_OR_NOW 0
12329 /* When -fvisbility=hidden is used, assume the code has been annotated
12330 correspondingly for the symbols needed. */
12331 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12332 int fnord () __attribute__((visibility("default")));
12335 int fnord () { return 42; }
12338 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12339 int status = $lt_dlunknown;
12343 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12346 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12347 else puts (dlerror ());
12349 /* dlclose (self); */
12357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12358 (eval $ac_link) 2>&5
12360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12361 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12362 (.
/conftest
; exit; ) >&5 2>/dev
/null
12364 case x
$lt_status in
12365 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12366 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12367 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12370 # compilation failed
12371 lt_cv_dlopen_self_static
=no
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12379 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12382 CPPFLAGS
="$save_CPPFLAGS"
12383 LDFLAGS
="$save_LDFLAGS"
12388 case $lt_cv_dlopen_self in
12389 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12390 *) enable_dlopen_self
=unknown
;;
12393 case $lt_cv_dlopen_self_static in
12394 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12395 *) enable_dlopen_self_static
=unknown
;;
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12418 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12419 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12420 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12421 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12423 $as_echo "yes" >&6; }
12425 # FIXME - insert some real tests, host_os isn't really good enough
12428 if test -n "$STRIP" ; then
12429 striplib
="$STRIP -x"
12430 old_striplib
="$STRIP -S"
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12432 $as_echo "yes" >&6; }
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12435 $as_echo "no" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440 $as_echo "no" >&6; }
12456 # Report which library types will actually be built
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12458 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12460 $as_echo "$can_build_shared" >&6; }
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12463 $as_echo_n "checking whether to build shared libraries... " >&6; }
12464 test "$can_build_shared" = "no" && enable_shared
=no
12466 # On AIX, shared libraries and static libraries use the same namespace, and
12467 # are all built from PIC.
12470 test "$enable_shared" = yes && enable_static
=no
12471 if test -n "$RANLIB"; then
12472 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12473 postinstall_cmds
='$RANLIB $lib'
12478 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12479 test "$enable_shared" = yes && enable_static
=no
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12484 $as_echo "$enable_shared" >&6; }
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12487 $as_echo_n "checking whether to build static libraries... " >&6; }
12488 # Make sure either enable_shared or enable_static is yes.
12489 test "$enable_shared" = yes || enable_static
=yes
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12491 $as_echo "$enable_static" >&6; }
12498 ac_cpp
='$CXXCPP $CPPFLAGS'
12499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12505 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12506 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12507 (test "X$CXX" != "Xg++"))) ; then
12509 ac_cpp
='$CXXCPP $CPPFLAGS'
12510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12514 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12515 if test -z "$CXXCPP"; then
12516 if ${ac_cv_prog_CXXCPP+:} false
; then :
12517 $as_echo_n "(cached) " >&6
12519 # Double quotes because CXXCPP needs to be expanded
12520 for CXXCPP
in "$CXX -E" "/lib/cpp"
12522 ac_preproc_ok
=false
12523 for ac_cxx_preproc_warn_flag
in '' yes
12525 # Use a header file that comes with gcc, so configuring glibc
12526 # with a fresh cross-compiler works.
12527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12528 # <limits.h> exists even on freestanding compilers.
12529 # On the NeXT, cc -E runs the code through the compiler's parser,
12530 # not just through cpp. "Syntax error" is here to catch this case.
12531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 # include <limits.h>
12536 # include <assert.h>
12540 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12543 # Broken: fails on valid input.
12546 rm -f conftest.err conftest.i conftest.
$ac_ext
12548 # OK, works on sane cases. Now check whether nonexistent headers
12549 # can be detected and how.
12550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h. */
12552 #include <ac_nonexistent.h>
12554 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12555 # Broken: success on invalid input.
12558 # Passes both tests.
12562 rm -f conftest.err conftest.i conftest.
$ac_ext
12565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12566 rm -f conftest.i conftest.err conftest.
$ac_ext
12567 if $ac_preproc_ok; then :
12572 ac_cv_prog_CXXCPP
=$CXXCPP
12575 CXXCPP
=$ac_cv_prog_CXXCPP
12577 ac_cv_prog_CXXCPP
=$CXXCPP
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12580 $as_echo "$CXXCPP" >&6; }
12581 ac_preproc_ok
=false
12582 for ac_cxx_preproc_warn_flag
in '' yes
12584 # Use a header file that comes with gcc, so configuring glibc
12585 # with a fresh cross-compiler works.
12586 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12587 # <limits.h> exists even on freestanding compilers.
12588 # On the NeXT, cc -E runs the code through the compiler's parser,
12589 # not just through cpp. "Syntax error" is here to catch this case.
12590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 # include <limits.h>
12595 # include <assert.h>
12599 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12602 # Broken: fails on valid input.
12605 rm -f conftest.err conftest.i conftest.
$ac_ext
12607 # OK, works on sane cases. Now check whether nonexistent headers
12608 # can be detected and how.
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12611 #include <ac_nonexistent.h>
12613 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12614 # Broken: success on invalid input.
12617 # Passes both tests.
12621 rm -f conftest.err conftest.i conftest.
$ac_ext
12624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12625 rm -f conftest.i conftest.err conftest.
$ac_ext
12626 if $ac_preproc_ok; then :
12629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12631 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12632 See \`config.log' for more details" "$LINENO" 5; }
12636 ac_cpp
='$CXXCPP $CPPFLAGS'
12637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12642 _lt_caught_CXX_error
=yes
12646 ac_cpp
='$CXXCPP $CPPFLAGS'
12647 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12648 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12649 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12651 archive_cmds_need_lc_CXX
=no
12652 allow_undefined_flag_CXX
=
12653 always_export_symbols_CXX
=no
12654 archive_expsym_cmds_CXX
=
12655 compiler_needs_object_CXX
=no
12656 export_dynamic_flag_spec_CXX
=
12657 hardcode_direct_CXX
=no
12658 hardcode_direct_absolute_CXX
=no
12659 hardcode_libdir_flag_spec_CXX
=
12660 hardcode_libdir_separator_CXX
=
12661 hardcode_minus_L_CXX
=no
12662 hardcode_shlibpath_var_CXX
=unsupported
12663 hardcode_automatic_CXX
=no
12664 inherit_rpath_CXX
=no
12666 module_expsym_cmds_CXX
=
12667 link_all_deplibs_CXX
=unknown
12668 old_archive_cmds_CXX
=$old_archive_cmds
12669 reload_flag_CXX
=$reload_flag
12670 reload_cmds_CXX
=$reload_cmds
12671 no_undefined_flag_CXX
=
12672 whole_archive_flag_spec_CXX
=
12673 enable_shared_with_static_runtimes_CXX
=no
12675 # Source file extension for C++ test sources.
12678 # Object file extension for compiled C++ test sources.
12682 # No sense in running all these tests if we already determined that
12683 # the CXX compiler isn't working. Some variables (like enable_shared)
12684 # are currently assumed to apply to all compilers on this platform,
12685 # and will be corrupted by setting them based on a non-working compiler.
12686 if test "$_lt_caught_CXX_error" != yes; then
12687 # Code to be used in simple compile tests
12688 lt_simple_compile_test_code
="int some_variable = 0;"
12690 # Code to be used in simple link tests
12691 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12693 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12700 # If no C compiler was specified, use CC.
12703 # If no C compiler flags were specified, use CFLAGS.
12704 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12706 # Allow CC to be a program name with arguments.
12710 # save warnings/boilerplate of simple test code
12711 ac_outfile
=conftest.
$ac_objext
12712 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12713 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12714 _lt_compiler_boilerplate
=`cat conftest.err`
12717 ac_outfile
=conftest.
$ac_objext
12718 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12719 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12720 _lt_linker_boilerplate
=`cat conftest.err`
12724 # Allow CC to be a program name with arguments.
12726 lt_save_CFLAGS
=$CFLAGS
12730 lt_save_with_gnu_ld
=$with_gnu_ld
12731 lt_save_path_LD
=$lt_cv_path_LD
12732 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12733 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12735 $as_unset lt_cv_prog_gnu_ld
12737 if test -n "${lt_cv_path_LDCXX+set}"; then
12738 lt_cv_path_LD
=$lt_cv_path_LDCXX
12740 $as_unset lt_cv_path_LD
12742 test -z "${LDCXX+set}" || LD
=$LDCXX
12747 for cc_temp
in $compiler""; do
12749 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12750 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12755 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12758 if test -n "$compiler"; then
12759 # We don't want -fno-exception when compiling C++ code, so set the
12760 # no_builtin_flag separately
12761 if test "$GXX" = yes; then
12762 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12764 lt_prog_compiler_no_builtin_flag_CXX
=
12767 if test "$GXX" = yes; then
12768 # Set up default GNU C++ configuration
12772 # Check whether --with-gnu-ld was given.
12773 if test "${with_gnu_ld+set}" = set; then :
12774 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12780 if test "$GCC" = yes; then
12781 # Check if gcc -print-prog-name=ld gives a path.
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12783 $as_echo_n "checking for ld used by $CC... " >&6; }
12786 # gcc leaves a trailing carriage return which upsets mingw
12787 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12789 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12792 # Accept absolute paths.
12794 re_direlt
='/[^/][^/]*/\.\./'
12795 # Canonicalize the pathname of ld
12796 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12797 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12798 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12800 test -z "$LD" && LD
="$ac_prog"
12803 # If it fails, then pretend we aren't using GCC.
12807 # If it is relative, then search for the first ld in PATH.
12808 with_gnu_ld
=unknown
12811 elif test "$with_gnu_ld" = yes; then
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12813 $as_echo_n "checking for GNU ld... " >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12816 $as_echo_n "checking for non-GNU ld... " >&6; }
12818 if ${lt_cv_path_LD+:} false
; then :
12819 $as_echo_n "(cached) " >&6
12821 if test -z "$LD"; then
12822 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12823 for ac_dir
in $PATH; do
12825 test -z "$ac_dir" && ac_dir
=.
12826 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12827 lt_cv_path_LD
="$ac_dir/$ac_prog"
12828 # Check to see if the program is GNU ld. I'd rather use --version,
12829 # but apparently some variants of GNU ld only accept -v.
12830 # Break only if it was the GNU/non-GNU ld that we prefer.
12831 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12832 *GNU
* |
*'with BFD'*)
12833 test "$with_gnu_ld" != no
&& break
12836 test "$with_gnu_ld" != yes && break
12843 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12847 LD
="$lt_cv_path_LD"
12848 if test -n "$LD"; then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12850 $as_echo "$LD" >&6; }
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12853 $as_echo "no" >&6; }
12855 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12857 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12858 if ${lt_cv_prog_gnu_ld+:} false
; then :
12859 $as_echo_n "(cached) " >&6
12861 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12862 case `$LD -v 2>&1 </dev/null` in
12863 *GNU
* |
*'with BFD'*)
12864 lt_cv_prog_gnu_ld
=yes
12867 lt_cv_prog_gnu_ld
=no
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12872 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12873 with_gnu_ld
=$lt_cv_prog_gnu_ld
12881 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12882 # archiving commands below assume that GNU ld is being used.
12883 if test "$with_gnu_ld" = yes; then
12884 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12885 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12887 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12888 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12890 # If archive_cmds runs LD, not CC, wlarc should be empty
12891 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12892 # investigate it a little bit more. (MM)
12895 # ancient GNU ld didn't support --whole-archive et. al.
12896 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12897 $GREP 'no-whole-archive' > /dev
/null
; then
12898 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12900 whole_archive_flag_spec_CXX
=
12906 # A generic and very simple default shared library creation
12907 # command for GNU C++ for the case where it uses the native
12908 # linker, instead of GNU ld. If possible, this setting should
12909 # overridden to take advantage of the native linker features on
12910 # the platform it is being used on.
12911 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12914 # Commands to make compiler produce verbose output that lists
12915 # what "hidden" libraries, object files and flags are used when
12916 # linking a shared library.
12917 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12925 # PORTME: fill in a description of your system's C++ link characteristics
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12927 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12931 # FIXME: insert proper C++ library support
12935 if test "$host_cpu" = ia64
; then
12936 # On IA64, the linker does run time linking by default, so we don't
12937 # have to do anything special.
12938 aix_use_runtimelinking
=no
12939 exp_sym_flag
='-Bexport'
12942 aix_use_runtimelinking
=no
12944 # Test if we are trying to use run time linking or normal
12945 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12946 # need to do runtime linking.
12947 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12948 for ld_flag
in $LDFLAGS; do
12951 aix_use_runtimelinking
=yes
12959 exp_sym_flag
='-bexport'
12960 no_entry_flag
='-bnoentry'
12963 # When large executables or shared objects are built, AIX ld can
12964 # have problems creating the table of contents. If linking a library
12965 # or program results in "error TOC overflow" add -mminimal-toc to
12966 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12967 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12969 archive_cmds_CXX
=''
12970 hardcode_direct_CXX
=yes
12971 hardcode_direct_absolute_CXX
=yes
12972 hardcode_libdir_separator_CXX
=':'
12973 link_all_deplibs_CXX
=yes
12974 file_list_spec_CXX
='${wl}-f,'
12976 if test "$GXX" = yes; then
12977 case $host_os in aix4.
[012]|aix4.
[012].
*)
12978 # We only want to do this on AIX 4.2 and lower, the check
12979 # below for broken collect2 doesn't work under 4.3+
12980 collect2name
=`${CC} -print-prog-name=collect2`
12981 if test -f "$collect2name" &&
12982 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12984 # We have reworked collect2
12987 # We have old collect2
12988 hardcode_direct_CXX
=unsupported
12989 # It fails to find uninstalled libraries when the uninstalled
12990 # path is not listed in the libpath. Setting hardcode_minus_L
12991 # to unsupported forces relinking
12992 hardcode_minus_L_CXX
=yes
12993 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12994 hardcode_libdir_separator_CXX
=
12997 shared_flag
='-shared'
12998 if test "$aix_use_runtimelinking" = yes; then
12999 shared_flag
="$shared_flag "'${wl}-G'
13003 if test "$host_cpu" = ia64
; then
13004 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13005 # chokes on -Wl,-G. The following line is correct:
13008 if test "$aix_use_runtimelinking" = yes; then
13009 shared_flag
='${wl}-G'
13011 shared_flag
='${wl}-bM:SRE'
13016 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13017 # It seems that -bexpall does not export symbols beginning with
13018 # underscore (_), so it is better to generate a list of symbols to
13020 always_export_symbols_CXX
=yes
13021 if test "$aix_use_runtimelinking" = yes; then
13022 # Warning - without using the other runtime loading flags (-brtl),
13023 # -berok will link without error, but may produce a broken library.
13024 allow_undefined_flag_CXX
='-berok'
13025 # Determine the default libpath from the value encoded in an empty
13027 if test "${lt_cv_aix_libpath+set}" = set; then
13028 aix_libpath
=$lt_cv_aix_libpath
13030 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13031 $as_echo_n "(cached) " >&6
13033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13044 if ac_fn_cxx_try_link
"$LINENO"; then :
13046 lt_aix_libpath_sed
='
13047 /Import File Strings/,/^$/ {
13049 s/^0 *\([^ ]*\) *$/\1/
13053 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13054 # Check for a 64-bit object if we didn't find anything.
13055 if test -z "$lt_cv_aix_libpath__CXX"; then
13056 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13059 rm -f core conftest.err conftest.
$ac_objext \
13060 conftest
$ac_exeext conftest.
$ac_ext
13061 if test -z "$lt_cv_aix_libpath__CXX"; then
13062 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13067 aix_libpath
=$lt_cv_aix_libpath__CXX
13070 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13072 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13074 if test "$host_cpu" = ia64
; then
13075 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13076 allow_undefined_flag_CXX
="-z nodefs"
13077 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"
13079 # Determine the default libpath from the value encoded in an
13080 # empty executable.
13081 if test "${lt_cv_aix_libpath+set}" = set; then
13082 aix_libpath
=$lt_cv_aix_libpath
13084 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13085 $as_echo_n "(cached) " >&6
13087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13098 if ac_fn_cxx_try_link
"$LINENO"; then :
13100 lt_aix_libpath_sed
='
13101 /Import File Strings/,/^$/ {
13103 s/^0 *\([^ ]*\) *$/\1/
13107 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13108 # Check for a 64-bit object if we didn't find anything.
13109 if test -z "$lt_cv_aix_libpath__CXX"; then
13110 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13113 rm -f core conftest.err conftest.
$ac_objext \
13114 conftest
$ac_exeext conftest.
$ac_ext
13115 if test -z "$lt_cv_aix_libpath__CXX"; then
13116 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13121 aix_libpath
=$lt_cv_aix_libpath__CXX
13124 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13125 # Warning - without using the other run time loading flags,
13126 # -berok will link without error, but may produce a broken library.
13127 no_undefined_flag_CXX
=' ${wl}-bernotok'
13128 allow_undefined_flag_CXX
=' ${wl}-berok'
13129 if test "$with_gnu_ld" = yes; then
13130 # We only use this code for GNU lds that support --whole-archive.
13131 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13133 # Exported symbols can be pulled into shared objects from archives
13134 whole_archive_flag_spec_CXX
='$convenience'
13136 archive_cmds_need_lc_CXX
=yes
13137 # This is similar to how AIX traditionally builds its shared
13139 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'
13145 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13146 allow_undefined_flag_CXX
=unsupported
13147 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13148 # support --undefined. This deserves some investigation. FIXME
13149 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13156 case $cc_basename in
13158 # FIXME: insert proper C++ library support
13164 cygwin
* | mingw
* | pw32
* | cegcc
*)
13165 case $GXX,$cc_basename in
13168 # hardcode_libdir_flag_spec is actually meaningless, as there is
13169 # no search path for DLLs.
13170 hardcode_libdir_flag_spec_CXX
=' '
13171 allow_undefined_flag_CXX
=unsupported
13172 always_export_symbols_CXX
=yes
13173 file_list_spec_CXX
='@'
13174 # Tell ltmain to make .lib files, not .a files.
13176 # Tell ltmain to make .dll files, not .so files.
13178 # FIXME: Setting linknames here is a bad hack.
13179 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13180 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13181 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13183 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13185 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13187 # The linker will not automatically build a static lib if we build a DLL.
13188 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13189 enable_shared_with_static_runtimes_CXX
=yes
13191 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13192 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13193 lt_tool_outputfile="@TOOL_OUTPUT@"~
13194 case $lt_outputfile in
13197 lt_outputfile="$lt_outputfile.exe"
13198 lt_tool_outputfile="$lt_tool_outputfile.exe"
13201 func_to_tool_file "$lt_outputfile"~
13202 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13203 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13204 $RM "$lt_outputfile.manifest";
13209 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13210 # as there is no search path for DLLs.
13211 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13212 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13213 allow_undefined_flag_CXX
=unsupported
13214 always_export_symbols_CXX
=no
13215 enable_shared_with_static_runtimes_CXX
=yes
13217 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13218 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'
13219 # If the export-symbols file already is a .def file (1st line
13220 # is EXPORTS), use it as is; otherwise, prepend...
13221 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13222 cp $export_symbols $output_objdir/$soname.def;
13224 echo EXPORTS > $output_objdir/$soname.def;
13225 cat $export_symbols >> $output_objdir/$soname.def;
13227 $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'
13234 darwin
* | rhapsody
*)
13237 archive_cmds_need_lc_CXX
=no
13238 hardcode_direct_CXX
=no
13239 hardcode_automatic_CXX
=yes
13240 hardcode_shlibpath_var_CXX
=unsupported
13241 if test "$lt_cv_ld_force_load" = "yes"; then
13242 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13245 whole_archive_flag_spec_CXX
=''
13247 link_all_deplibs_CXX
=yes
13248 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13249 case $cc_basename in
13250 ifort
*) _lt_dar_can_shared
=yes ;;
13251 *) _lt_dar_can_shared
=$GCC ;;
13253 if test "$_lt_dar_can_shared" = "yes"; then
13254 output_verbose_link_cmd
=func_echo_all
13255 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}"
13256 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13257 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}"
13258 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}"
13259 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13260 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}"
13261 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}"
13271 case $cc_basename in
13273 # FIXME: insert proper C++ library support
13277 # Green Hills C++ Compiler
13278 # FIXME: insert proper C++ library support
13282 # FIXME: insert proper C++ library support
13289 # C++ shared libraries reported to be fairly broken before
13295 archive_cmds_need_lc_CXX
=no
13298 freebsd
* | dragonfly
*)
13299 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13305 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13306 link_all_deplibs_CXX
=yes
13310 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13311 hardcode_libdir_separator_CXX
=:
13312 export_dynamic_flag_spec_CXX
='${wl}-E'
13313 hardcode_direct_CXX
=yes
13314 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13315 # but as the default
13316 # location of the library.
13318 case $cc_basename in
13320 # FIXME: insert proper C++ library support
13324 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'
13325 # Commands to make compiler produce verbose output that lists
13326 # what "hidden" libraries, object files and flags are used when
13327 # linking a shared library.
13329 # There doesn't appear to be a way to prevent this compiler from
13330 # explicitly linking system object files so we need to strip them
13331 # from the output so that they don't get included in the library
13333 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; func_echo_all "$list"'
13336 if test "$GXX" = yes; then
13337 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13339 # FIXME: insert proper C++ library support
13347 if test $with_gnu_ld = no
; then
13348 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13349 hardcode_libdir_separator_CXX
=:
13355 export_dynamic_flag_spec_CXX
='${wl}-E'
13361 hardcode_direct_CXX
=no
13362 hardcode_shlibpath_var_CXX
=no
13365 hardcode_direct_CXX
=yes
13366 hardcode_direct_absolute_CXX
=yes
13367 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13368 # but as the default
13369 # location of the library.
13373 case $cc_basename in
13375 # FIXME: insert proper C++ library support
13381 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13384 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13387 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13390 # Commands to make compiler produce verbose output that lists
13391 # what "hidden" libraries, object files and flags are used when
13392 # linking a shared library.
13394 # There doesn't appear to be a way to prevent this compiler from
13395 # explicitly linking system object files so we need to strip them
13396 # from the output so that they don't get included in the library
13398 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; func_echo_all "$list"'
13401 if test "$GXX" = yes; then
13402 if test $with_gnu_ld = no
; then
13405 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13408 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13411 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13416 # FIXME: insert proper C++ library support
13424 hardcode_direct_CXX
=no
13425 hardcode_shlibpath_var_CXX
=no
13426 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13427 export_dynamic_flag_spec_CXX
='${wl}-E'
13428 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13429 # Instead, shared libraries are loaded at an image base (0x10000000 by
13430 # default) and relocated if they conflict, which is a slow very memory
13431 # consuming and fragmenting process. To avoid this, we pick a random,
13432 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13433 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13434 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'
13435 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'
13438 case $cc_basename in
13441 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13443 # Archives containing C++ object files must be created using
13444 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13445 # necessary to make sure instantiated templates are included
13447 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13450 if test "$GXX" = yes; then
13451 if test "$with_gnu_ld" = no
; then
13452 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13454 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13457 link_all_deplibs_CXX
=yes
13460 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13461 hardcode_libdir_separator_CXX
=:
13462 inherit_rpath_CXX
=yes
13465 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13466 case $cc_basename in
13468 # Kuck and Associates, Inc. (KAI) C++ Compiler
13470 # KCC will only create a shared library if the output file
13471 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13472 # to its proper name (with version) after linking.
13473 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'
13474 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'
13475 # Commands to make compiler produce verbose output that lists
13476 # what "hidden" libraries, object files and flags are used when
13477 # linking a shared library.
13479 # There doesn't appear to be a way to prevent this compiler from
13480 # explicitly linking system object files so we need to strip them
13481 # from the output so that they don't get included in the library
13483 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; func_echo_all "$list"'
13485 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13486 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13488 # Archives containing C++ object files must be created using
13489 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13490 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13495 # version 8.0 and above of icpc choke on multiply defined symbols
13496 # if we add $predep_objects and $postdep_objects, however 7.1 and
13497 # earlier do not add the objects themselves.
13498 case `$CC -V 2>&1` in
13500 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13501 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'
13503 *) # Version 8.0 or newer
13506 ia64
*) tmp_idyn
=' -i_dynamic';;
13508 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13509 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'
13512 archive_cmds_need_lc_CXX
=no
13513 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13514 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13515 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13518 # Portland Group C++ compiler
13520 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13521 prelink_cmds_CXX
='tpldir=Template.dir~
13523 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13524 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13525 old_archive_cmds_CXX
='tpldir=Template.dir~
13527 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13528 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13530 archive_cmds_CXX
='tpldir=Template.dir~
13532 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13533 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13534 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13536 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13537 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13539 *) # Version 6 and above use weak symbols
13540 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13541 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'
13545 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13546 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13547 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13551 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13552 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'
13554 runpath_var
=LD_RUN_PATH
13555 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13556 hardcode_libdir_separator_CXX
=:
13558 # Commands to make compiler produce verbose output that lists
13559 # what "hidden" libraries, object files and flags are used when
13560 # linking a shared library.
13562 # There doesn't appear to be a way to prevent this compiler from
13563 # explicitly linking system object files so we need to strip them
13564 # from the output so that they don't get included in the library
13566 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13568 xl
* | mpixl
* | bgxl
*)
13569 # IBM XL 8.0 on PPC, with GNU ld
13570 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13571 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13572 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13573 if test "x$supports_anon_versioning" = xyes
; then
13574 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13575 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13576 echo "local: *; };" >> $output_objdir/$libname.ver~
13577 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13581 case `$CC -V 2>&1 | sed 5q` in
13584 no_undefined_flag_CXX
=' -zdefs'
13585 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13586 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'
13587 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13588 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13589 compiler_needs_object_CXX
=yes
13591 # Not sure whether something based on
13592 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13594 output_verbose_link_cmd
='func_echo_all'
13596 # Archives containing C++ object files must be created using
13597 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13598 # necessary to make sure instantiated templates are included
13600 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13608 # FIXME: insert proper C++ library support
13613 # FIXME: insert proper C++ library support
13618 case $cc_basename in
13620 # FIXME: insert proper C++ library support
13624 # FIXME: insert proper C++ library support
13631 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13632 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13634 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13635 hardcode_direct_CXX
=yes
13636 hardcode_shlibpath_var_CXX
=no
13638 # Workaround some broken pre-1.5 toolchains
13639 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13647 # C++ shared libraries are fairly broken
13652 if test -f /usr
/libexec
/ld.so
; then
13653 hardcode_direct_CXX
=yes
13654 hardcode_shlibpath_var_CXX
=no
13655 hardcode_direct_absolute_CXX
=yes
13656 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13657 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13658 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13659 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13660 export_dynamic_flag_spec_CXX
='${wl}-E'
13661 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13663 output_verbose_link_cmd
=func_echo_all
13669 osf3
* | osf4
* | osf5
*)
13670 case $cc_basename in
13672 # Kuck and Associates, Inc. (KAI) C++ Compiler
13674 # KCC will only create a shared library if the output file
13675 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13676 # to its proper name (with version) after linking.
13677 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'
13679 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13680 hardcode_libdir_separator_CXX
=:
13682 # Archives containing C++ object files must be created using
13683 # the KAI C++ compiler.
13685 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13686 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13690 # Rational C++ 2.4.1
13691 # FIXME: insert proper C++ library support
13697 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13698 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13699 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13702 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13703 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13704 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13705 echo "-hidden">> $lib.exp~
13706 $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13708 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13712 hardcode_libdir_separator_CXX
=:
13714 # Commands to make compiler produce verbose output that lists
13715 # what "hidden" libraries, object files and flags are used when
13716 # linking a shared library.
13718 # There doesn't appear to be a way to prevent this compiler from
13719 # explicitly linking system object files so we need to strip them
13720 # from the output so that they don't get included in the library
13722 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13725 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13726 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13729 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13732 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13736 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13737 hardcode_libdir_separator_CXX
=:
13739 # Commands to make compiler produce verbose output that lists
13740 # what "hidden" libraries, object files and flags are used when
13741 # linking a shared library.
13742 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13745 # FIXME: insert proper C++ library support
13753 # FIXME: insert proper C++ library support
13758 case $cc_basename in
13761 # FIXME: insert proper C++ library support
13766 # FIXME: insert proper C++ library support
13770 # FIXME: insert proper C++ library support
13777 case $cc_basename in
13779 # Sun C++ 4.2, 5.x and Centerline C++
13780 archive_cmds_need_lc_CXX
=yes
13781 no_undefined_flag_CXX
=' -zdefs'
13782 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13783 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13784 $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'
13786 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13787 hardcode_shlibpath_var_CXX
=no
13789 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13791 # The compiler driver will combine and reorder linker options,
13792 # but understands `-z linker_flag'.
13793 # Supported since Solaris 2.6 (maybe 2.5.1?)
13794 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13797 link_all_deplibs_CXX
=yes
13799 output_verbose_link_cmd
='func_echo_all'
13801 # Archives containing C++ object files must be created using
13802 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13803 # necessary to make sure instantiated templates are included
13805 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13808 # Green Hills C++ Compiler
13809 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13811 # The C++ compiler must be used to create the archive.
13812 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13815 # GNU C++ compiler with Solaris linker
13816 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13817 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13818 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13819 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13820 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13821 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13823 # Commands to make compiler produce verbose output that lists
13824 # what "hidden" libraries, object files and flags are used when
13825 # linking a shared library.
13826 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13828 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13830 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13831 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13832 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13834 # Commands to make compiler produce verbose output that lists
13835 # what "hidden" libraries, object files and flags are used when
13836 # linking a shared library.
13837 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13840 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13842 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13844 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13852 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13853 no_undefined_flag_CXX
='${wl}-z,text'
13854 archive_cmds_need_lc_CXX
=no
13855 hardcode_shlibpath_var_CXX
=no
13856 runpath_var
='LD_RUN_PATH'
13858 case $cc_basename in
13860 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13861 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13864 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13865 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13870 sysv5
* | sco3.2v5
* | sco5v6
*)
13871 # Note: We can NOT use -z defs as we might desire, because we do not
13872 # link with -lc, and that would cause any symbols used from libc to
13873 # always be unresolved, which means just about no library would
13874 # ever link correctly. If we're not using GNU ld we use -z text
13875 # though, which does catch some bad symbols but isn't as heavy-handed
13877 no_undefined_flag_CXX
='${wl}-z,text'
13878 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13879 archive_cmds_need_lc_CXX
=no
13880 hardcode_shlibpath_var_CXX
=no
13881 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13882 hardcode_libdir_separator_CXX
=':'
13883 link_all_deplibs_CXX
=yes
13884 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13885 runpath_var
='LD_RUN_PATH'
13887 case $cc_basename in
13889 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13890 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13891 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13892 '"$old_archive_cmds_CXX"
13893 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13894 '"$reload_cmds_CXX"
13897 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13898 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13904 case $cc_basename in
13906 # NonStop-UX NCC 3.20
13907 # FIXME: insert proper C++ library support
13911 # FIXME: insert proper C++ library support
13918 # FIXME: insert proper C++ library support
13923 # FIXME: insert proper C++ library support
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13929 $as_echo "$ld_shlibs_CXX" >&6; }
13930 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13936 ## There is no encapsulation within the following macros, do not change
13937 ## the running order or otherwise move them around unless you know exactly
13938 ## what you are doing...
13939 # Dependencies to place before and after the object being linked:
13940 predep_objects_CXX
=
13941 postdep_objects_CXX
=
13944 compiler_lib_search_path_CXX
=
13946 cat > conftest.
$ac_ext <<_LT_EOF
13950 Foo (void) { a = 0; }
13957 _lt_libdeps_save_CFLAGS
=$CFLAGS
13958 case "$CC $CFLAGS " in #(
13959 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13960 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13961 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
13964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13965 (eval $ac_compile) 2>&5
13967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13968 test $ac_status = 0; }; then
13969 # Parse the compiler output and extract the necessary
13970 # objects, libraries and library flags.
13972 # Sentinel used to keep track of whether or not we are before
13973 # the conftest object file.
13974 pre_test_object_deps_done
=no
13976 for p
in `eval "$output_verbose_link_cmd"`; do
13977 case ${prev}${p} in
13980 # Some compilers place space between "-{L,R}" and the path.
13981 # Remove the space.
13982 if test $p = "-L" ||
13983 test $p = "-R"; then
13988 # Expand the sysroot to ease extracting the directories later.
13989 if test -z "$prev"; then
13991 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13992 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13993 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13997 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13999 if test "$pre_test_object_deps_done" = no
; then
14002 # Internal compiler library paths should come after those
14003 # provided the user. The postdeps already come after the
14004 # user supplied libs so there is no need to process them.
14005 if test -z "$compiler_lib_search_path_CXX"; then
14006 compiler_lib_search_path_CXX
="${prev}${p}"
14008 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14011 # The "-l" case would never come before the object being
14012 # linked, so don't bother handling this case.
14015 if test -z "$postdeps_CXX"; then
14016 postdeps_CXX
="${prev}${p}"
14018 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14024 *.lto.
$objext) ;; # Ignore GCC LTO objects
14026 # This assumes that the test object file only shows up
14027 # once in the compiler output.
14028 if test "$p" = "conftest.$objext"; then
14029 pre_test_object_deps_done
=yes
14033 if test "$pre_test_object_deps_done" = no
; then
14034 if test -z "$predep_objects_CXX"; then
14035 predep_objects_CXX
="$p"
14037 predep_objects_CXX
="$predep_objects_CXX $p"
14040 if test -z "$postdep_objects_CXX"; then
14041 postdep_objects_CXX
="$p"
14043 postdep_objects_CXX
="$postdep_objects_CXX $p"
14048 *) ;; # Ignore the rest.
14056 echo "libtool.m4: error: problem compiling CXX test program"
14059 $RM -f confest.
$objext
14060 CFLAGS
=$_lt_libdeps_save_CFLAGS
14062 # PORTME: override above test on systems where it is broken
14065 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14066 # hack all around it, let's just trust "g++" to DTRT.
14067 predep_objects_CXX
=
14068 postdep_objects_CXX
=
14073 case `$CC -V 2>&1 | sed 5q` in
14077 # The more standards-conforming stlport4 library is
14078 # incompatible with the Cstd library. Avoid specifying
14079 # it if it's in CXXFLAGS. Ignore libCrun as
14080 # -library=stlport4 depends on it.
14081 case " $CXX $CXXFLAGS " in
14082 *" -library=stlport4 "*)
14083 solaris_use_stlport4
=yes
14087 if test "$solaris_use_stlport4" != yes; then
14088 postdeps_CXX
='-library=Cstd -library=Crun'
14095 case $cc_basename in
14097 # The more standards-conforming stlport4 library is
14098 # incompatible with the Cstd library. Avoid specifying
14099 # it if it's in CXXFLAGS. Ignore libCrun as
14100 # -library=stlport4 depends on it.
14101 case " $CXX $CXXFLAGS " in
14102 *" -library=stlport4 "*)
14103 solaris_use_stlport4
=yes
14107 # Adding this requires a known-good setup of shared libraries for
14108 # Sun compiler versions before 5.6, else PIC objects from an old
14109 # archive will be linked into the output, leading to subtle bugs.
14110 if test "$solaris_use_stlport4" != yes; then
14111 postdeps_CXX
='-library=Cstd -library=Crun'
14119 case " $postdeps_CXX " in
14120 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14122 compiler_lib_search_dirs_CXX
=
14123 if test -n "${compiler_lib_search_path_CXX}"; then
14124 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14157 lt_prog_compiler_wl_CXX
=
14158 lt_prog_compiler_pic_CXX
=
14159 lt_prog_compiler_static_CXX
=
14162 # C++ specific cases for pic, static, wl, etc.
14163 if test "$GXX" = yes; then
14164 lt_prog_compiler_wl_CXX
='-Wl,'
14165 lt_prog_compiler_static_CXX
='-static'
14169 # All AIX code is PIC.
14170 if test "$host_cpu" = ia64
; then
14171 # AIX 5 now supports IA64 processor
14172 lt_prog_compiler_static_CXX
='-Bstatic'
14179 # see comment about AmigaOS4 .so support
14180 lt_prog_compiler_pic_CXX
='-fPIC'
14183 # FIXME: we need at least 68020 code to build shared libraries, but
14184 # adding the `-m68020' flag to GCC prevents building anything better,
14186 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14191 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14192 # PIC is the default for these OSes.
14194 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14195 # This hack is so that the source file can tell whether it is being
14196 # built for inclusion in a dll (and should export symbols for example).
14197 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14198 # (--disable-auto-import) libraries
14199 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14201 darwin
* | rhapsody
*)
14202 # PIC is the default on this platform
14203 # Common symbols not allowed in MH_DYLIB files
14204 lt_prog_compiler_pic_CXX
='-fno-common'
14207 # DJGPP does not support shared libraries at all
14208 lt_prog_compiler_pic_CXX
=
14211 # PIC is the default for Haiku.
14212 # The "-static" flag exists, but is broken.
14213 lt_prog_compiler_static_CXX
=
14216 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14217 # Instead, we relocate shared libraries at runtime.
14220 if test -d /usr
/nec
; then
14221 lt_prog_compiler_pic_CXX
=-Kconform_pic
14225 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14226 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14227 # sets the default TLS model and affects inlining.
14232 lt_prog_compiler_pic_CXX
='-fPIC'
14237 # QNX uses GNU C++, but need to define -shared option too, otherwise
14238 # it will coredump.
14239 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14242 lt_prog_compiler_pic_CXX
='-fPIC'
14248 # All AIX code is PIC.
14249 if test "$host_cpu" = ia64
; then
14250 # AIX 5 now supports IA64 processor
14251 lt_prog_compiler_static_CXX
='-Bstatic'
14253 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14257 case $cc_basename in
14259 # Green Hills C++ Compiler
14260 # _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"
14264 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14265 # This hack is so that the source file can tell whether it is being
14266 # built for inclusion in a dll (and should export symbols for example).
14267 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14270 case $cc_basename in
14272 lt_prog_compiler_pic_CXX
='-KPIC'
14275 # Green Hills C++ Compiler
14276 lt_prog_compiler_pic_CXX
='-pic'
14282 freebsd
* | dragonfly
*)
14283 # FreeBSD uses GNU C++
14285 hpux9
* | hpux10
* | hpux11
*)
14286 case $cc_basename in
14288 lt_prog_compiler_wl_CXX
='-Wl,'
14289 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14290 if test "$host_cpu" != ia64
; then
14291 lt_prog_compiler_pic_CXX
='+Z'
14295 lt_prog_compiler_wl_CXX
='-Wl,'
14296 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14302 lt_prog_compiler_pic_CXX
='+Z'
14311 # This is c89, which is MS Visual C++ (no shared libs)
14312 # Anyone wants to do a port?
14314 irix5
* | irix6
* | nonstopux
*)
14315 case $cc_basename in
14317 lt_prog_compiler_wl_CXX
='-Wl,'
14318 lt_prog_compiler_static_CXX
='-non_shared'
14319 # CC pic flag -KPIC is the default.
14325 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14326 case $cc_basename in
14329 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14330 lt_prog_compiler_pic_CXX
='-fPIC'
14333 # old Intel C++ for x86_64 which still supported -KPIC.
14334 lt_prog_compiler_wl_CXX
='-Wl,'
14335 lt_prog_compiler_pic_CXX
='-KPIC'
14336 lt_prog_compiler_static_CXX
='-static'
14339 # Intel C++, used to be incompatible with GCC.
14340 # ICC 10 doesn't accept -KPIC any more.
14341 lt_prog_compiler_wl_CXX
='-Wl,'
14342 lt_prog_compiler_pic_CXX
='-fPIC'
14343 lt_prog_compiler_static_CXX
='-static'
14346 # Portland Group C++ compiler
14347 lt_prog_compiler_wl_CXX
='-Wl,'
14348 lt_prog_compiler_pic_CXX
='-fpic'
14349 lt_prog_compiler_static_CXX
='-Bstatic'
14353 # Make sure the PIC flag is empty. It appears that all Alpha
14354 # Linux and Compaq Tru64 Unix objects are PIC.
14355 lt_prog_compiler_pic_CXX
=
14356 lt_prog_compiler_static_CXX
='-non_shared'
14358 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14359 # IBM XL 8.0, 9.0 on PPC and BlueGene
14360 lt_prog_compiler_wl_CXX
='-Wl,'
14361 lt_prog_compiler_pic_CXX
='-qpic'
14362 lt_prog_compiler_static_CXX
='-qstaticlink'
14365 case `$CC -V 2>&1 | sed 5q` in
14368 lt_prog_compiler_pic_CXX
='-KPIC'
14369 lt_prog_compiler_static_CXX
='-Bstatic'
14370 lt_prog_compiler_wl_CXX
='-Qoption ld '
14381 case $cc_basename in
14383 lt_prog_compiler_pic_CXX
='-W c,exportall'
14389 netbsd
* | netbsdelf
*-gnu)
14392 # QNX uses GNU C++, but need to define -shared option too, otherwise
14393 # it will coredump.
14394 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14396 osf3
* | osf4
* | osf5
*)
14397 case $cc_basename in
14399 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14402 # Rational C++ 2.4.1
14403 lt_prog_compiler_pic_CXX
='-pic'
14406 # Digital/Compaq C++
14407 lt_prog_compiler_wl_CXX
='-Wl,'
14408 # Make sure the PIC flag is empty. It appears that all Alpha
14409 # Linux and Compaq Tru64 Unix objects are PIC.
14410 lt_prog_compiler_pic_CXX
=
14411 lt_prog_compiler_static_CXX
='-non_shared'
14420 case $cc_basename in
14422 # Sun C++ 4.2, 5.x and Centerline C++
14423 lt_prog_compiler_pic_CXX
='-KPIC'
14424 lt_prog_compiler_static_CXX
='-Bstatic'
14425 lt_prog_compiler_wl_CXX
='-Qoption ld '
14428 # Green Hills C++ Compiler
14429 lt_prog_compiler_pic_CXX
='-PIC'
14436 case $cc_basename in
14439 lt_prog_compiler_pic_CXX
='-pic'
14440 lt_prog_compiler_static_CXX
='-Bstatic'
14444 lt_prog_compiler_pic_CXX
='-pic'
14450 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14451 case $cc_basename in
14453 lt_prog_compiler_wl_CXX
='-Wl,'
14454 lt_prog_compiler_pic_CXX
='-KPIC'
14455 lt_prog_compiler_static_CXX
='-Bstatic'
14460 case $cc_basename in
14462 # NonStop-UX NCC 3.20
14463 lt_prog_compiler_pic_CXX
='-KPIC'
14472 lt_prog_compiler_can_build_shared_CXX
=no
14478 # For platforms which do not support PIC, -DPIC is meaningless:
14480 lt_prog_compiler_pic_CXX
=
14483 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14488 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14489 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14490 $as_echo_n "(cached) " >&6
14492 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14495 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14496 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14499 # Check to make sure the PIC flag actually works.
14501 if test -n "$lt_prog_compiler_pic_CXX"; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14503 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14504 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14505 $as_echo_n "(cached) " >&6
14507 lt_cv_prog_compiler_pic_works_CXX
=no
14508 ac_outfile
=conftest.
$ac_objext
14509 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14510 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14511 # Insert the option either (1) after the last *FLAGS variable, or
14512 # (2) before a word containing "conftest.", or (3) at the end.
14513 # Note that $ac_compile itself does not contain backslashes and begins
14514 # with a dollar sign (not a hyphen), so the echo should work correctly.
14515 # The option is referenced via a variable to avoid confusing sed.
14516 lt_compile
=`echo "$ac_compile" | $SED \
14517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14519 -e 's:$: $lt_compiler_flag:'`
14520 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14521 (eval "$lt_compile" 2>conftest.err
)
14523 cat conftest.err
>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 if (exit $ac_status) && test -s "$ac_outfile"; then
14526 # The compiler can only warn and ignore the option if not recognized
14527 # So say no if there are warnings other than the usual output.
14528 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14529 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14530 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14531 lt_cv_prog_compiler_pic_works_CXX
=yes
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14538 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14540 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14541 case $lt_prog_compiler_pic_CXX in
14543 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14546 lt_prog_compiler_pic_CXX
=
14547 lt_prog_compiler_can_build_shared_CXX
=no
14557 # Check to make sure the static flag actually works.
14559 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14561 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14562 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14563 $as_echo_n "(cached) " >&6
14565 lt_cv_prog_compiler_static_works_CXX
=no
14566 save_LDFLAGS
="$LDFLAGS"
14567 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14568 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14569 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14570 # The linker can only warn and ignore the option if not recognized
14571 # So say no if there are warnings
14572 if test -s conftest.err
; then
14573 # Append any errors to the config.log.
14574 cat conftest.err
1>&5
14575 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14576 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14577 if diff conftest.exp conftest.er2
>/dev
/null
; then
14578 lt_cv_prog_compiler_static_works_CXX
=yes
14581 lt_cv_prog_compiler_static_works_CXX
=yes
14585 LDFLAGS
="$save_LDFLAGS"
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14589 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14591 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14594 lt_prog_compiler_static_CXX
=
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14601 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14602 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14603 $as_echo_n "(cached) " >&6
14605 lt_cv_prog_compiler_c_o_CXX
=no
14606 $RM -r conftest
2>/dev
/null
14610 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14612 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14613 # Insert the option either (1) after the last *FLAGS variable, or
14614 # (2) before a word containing "conftest.", or (3) at the end.
14615 # Note that $ac_compile itself does not contain backslashes and begins
14616 # with a dollar sign (not a hyphen), so the echo should work correctly.
14617 lt_compile
=`echo "$ac_compile" | $SED \
14618 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14619 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14620 -e 's:$: $lt_compiler_flag:'`
14621 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14622 (eval "$lt_compile" 2>out
/conftest.err
)
14624 cat out
/conftest.err
>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14628 # The compiler can only warn and ignore the option if not recognized
14629 # So say no if there are warnings
14630 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14631 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14632 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14633 lt_cv_prog_compiler_c_o_CXX
=yes
14638 # SGI C++ compiler will create directory out/ii_files/ for
14639 # template instantiation
14640 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14641 $RM out
/* && rmdir out
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14648 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14653 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14654 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14655 $as_echo_n "(cached) " >&6
14657 lt_cv_prog_compiler_c_o_CXX
=no
14658 $RM -r conftest
2>/dev
/null
14662 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14664 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14665 # Insert the option either (1) after the last *FLAGS variable, or
14666 # (2) before a word containing "conftest.", or (3) at the end.
14667 # Note that $ac_compile itself does not contain backslashes and begins
14668 # with a dollar sign (not a hyphen), so the echo should work correctly.
14669 lt_compile
=`echo "$ac_compile" | $SED \
14670 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14672 -e 's:$: $lt_compiler_flag:'`
14673 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14674 (eval "$lt_compile" 2>out
/conftest.err
)
14676 cat out
/conftest.err
>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14680 # The compiler can only warn and ignore the option if not recognized
14681 # So say no if there are warnings
14682 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14683 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14684 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14685 lt_cv_prog_compiler_c_o_CXX
=yes
14690 # SGI C++ compiler will create directory out/ii_files/ for
14691 # template instantiation
14692 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14693 $RM out
/* && rmdir out
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14700 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14705 hard_links
="nottested"
14706 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14707 # do not overwrite the value of need_locks provided by the user
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14709 $as_echo_n "checking if we can lock with hard links... " >&6; }
14712 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14714 ln conftest.a conftest.b
2>&5 || hard_links
=no
14715 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14717 $as_echo "$hard_links" >&6; }
14718 if test "$hard_links" = no
; then
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14720 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14730 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14732 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14733 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14736 # If we're using GNU nm, then we don't want the "-C" option.
14737 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14738 # Also, AIX nm treats weak defined symbols like other global defined
14739 # symbols, whereas GNU nm marks them as "W".
14740 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14741 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14743 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'
14747 export_symbols_cmds_CXX
="$ltdll_cmds"
14749 cygwin
* | mingw
* | cegcc
*)
14750 case $cc_basename in
14752 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14755 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14756 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14760 linux
* | k
*bsd
*-gnu | gnu
*)
14761 link_all_deplibs_CXX
=no
14764 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14769 $as_echo "$ld_shlibs_CXX" >&6; }
14770 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14772 with_gnu_ld_CXX
=$with_gnu_ld
14780 # Do we need to explicitly link libc?
14782 case "x$archive_cmds_need_lc_CXX" in
14784 # Assume -lc should be added
14785 archive_cmds_need_lc_CXX
=yes
14787 if test "$enable_shared" = yes && test "$GCC" = yes; then
14788 case $archive_cmds_CXX in
14790 # FIXME: we may have to deal with multi-command sequences.
14793 # Test whether the compiler implicitly links with -lc since on some
14794 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14795 # to ld, don't add -lc before -lgcc.
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14797 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14798 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14799 $as_echo_n "(cached) " >&6
14802 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14804 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14805 (eval $ac_compile) 2>&5
14807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14808 test $ac_status = 0; } 2>conftest.err
; then
14811 libobjs
=conftest.
$ac_objext
14813 wl
=$lt_prog_compiler_wl_CXX
14814 pic_flag
=$lt_prog_compiler_pic_CXX
14820 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14821 allow_undefined_flag_CXX
=
14822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14823 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14826 test $ac_status = 0; }
14828 lt_cv_archive_cmds_need_lc_CXX
=no
14830 lt_cv_archive_cmds_need_lc_CXX
=yes
14832 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14834 cat conftest.err
1>&5
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14840 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14841 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14910 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14912 library_names_spec
=
14913 libname_spec
='lib$name'
14917 postuninstall_cmds
=
14921 shlibpath_overrides_runpath
=unknown
14923 dynamic_linker
="$host_os ld.so"
14924 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14925 need_lib_prefix
=unknown
14926 hardcode_into_libs
=no
14928 # when you set need_version to no, make sure it does not cause -set_version
14929 # flags to be left without arguments
14930 need_version
=unknown
14934 version_type
=linux
# correct to gnu/linux during the next big refactor
14935 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14936 shlibpath_var
=LIBPATH
14938 # AIX 3 has no versioning support, so we append a major version to the name.
14939 soname_spec
='${libname}${release}${shared_ext}$major'
14943 version_type
=linux
# correct to gnu/linux during the next big refactor
14946 hardcode_into_libs
=yes
14947 if test "$host_cpu" = ia64
; then
14948 # AIX 5 supports IA64
14949 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14950 shlibpath_var
=LD_LIBRARY_PATH
14952 # With GCC up to 2.95.x, collect2 would create an import file
14953 # for dependence libraries. The import file would start with
14954 # the line `#! .'. This would cause the generated library to
14955 # depend on `.', always an invalid library. This was fixed in
14956 # development snapshots of GCC prior to 3.0.
14958 aix4 | aix4.
[01] | aix4.
[01].
*)
14959 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14961 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14964 can_build_shared
=no
14968 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14969 # soname into executable. Probably we can add versioning support to
14970 # collect2, so additional links can be useful in future.
14971 if test "$aix_use_runtimelinking" = yes; then
14972 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14973 # instead of lib<name>.a to let people know that these are not
14974 # typical AIX shared libraries.
14975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14977 # We preserve .a as extension for shared libraries through AIX4.2
14978 # and later when we are not doing run time linking.
14979 library_names_spec
='${libname}${release}.a $libname.a'
14980 soname_spec
='${libname}${release}${shared_ext}$major'
14982 shlibpath_var
=LIBPATH
14989 # Since July 2007 AmigaOS4 officially supports .so libraries.
14990 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14994 library_names_spec
='$libname.ixlibrary $libname.a'
14995 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14996 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
15002 library_names_spec
='${libname}${shared_ext}'
15003 dynamic_linker
="$host_os ld.so"
15004 shlibpath_var
=LIBRARY_PATH
15008 version_type
=linux
# correct to gnu/linux during the next big refactor
15010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15011 soname_spec
='${libname}${release}${shared_ext}$major'
15012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15013 shlibpath_var
=LD_LIBRARY_PATH
15014 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15015 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15016 # the default ld.so.conf also contains /usr/contrib/lib and
15017 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15018 # libtool to hard-code these into programs
15021 cygwin
* | mingw
* | pw32
* | cegcc
*)
15022 version_type
=windows
15027 case $GCC,$cc_basename in
15030 library_names_spec
='$libname.dll.a'
15031 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15032 postinstall_cmds
='base_file=`basename \${file}`~
15033 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15034 dldir=$destdir/`dirname \$dlpath`~
15035 test -d \$dldir || mkdir -p \$dldir~
15036 $install_prog $dir/$dlname \$dldir/$dlname~
15037 chmod a+x \$dldir/$dlname~
15038 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15039 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15041 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15042 dlpath=$dir/\$dldll~
15044 shlibpath_overrides_runpath
=yes
15048 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15049 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15053 # MinGW DLLs use traditional 'lib' prefix
15054 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15057 # pw32 DLLs use 'pw' prefix rather than 'lib'
15058 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15061 dynamic_linker
='Win32 ld.exe'
15066 libname_spec
='$name'
15067 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15068 library_names_spec
='${libname}.dll.lib'
15072 sys_lib_search_path_spec
=
15075 for lt_path
in $LIB
15078 # Let DOS variable expansion print the short 8.3 style file name.
15079 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15080 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15083 # Convert to MSYS style.
15084 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15087 # Convert to unix form, then to dos form, then back to unix form
15088 # but this time dos style (no spaces!) so that the unix form looks
15089 # like /cygdrive/c/PROGRA~1:/cygdr...
15090 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15091 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15092 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15095 sys_lib_search_path_spec
="$LIB"
15096 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15097 # It is most probably a Windows format PATH.
15098 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15100 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15102 # FIXME: find the short name or the path components, as spaces are
15103 # common. (e.g. "Program Files" -> "PROGRA~1")
15107 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15108 postinstall_cmds
='base_file=`basename \${file}`~
15109 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15110 dldir=$destdir/`dirname \$dlpath`~
15111 test -d \$dldir || mkdir -p \$dldir~
15112 $install_prog $dir/$dlname \$dldir/$dlname'
15113 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15114 dlpath=$dir/\$dldll~
15116 shlibpath_overrides_runpath
=yes
15117 dynamic_linker
='Win32 link.exe'
15121 # Assume MSVC wrapper
15122 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15123 dynamic_linker
='Win32 ld.exe'
15126 # FIXME: first we should search . and the directory the executable is in
15130 darwin
* | rhapsody
*)
15131 dynamic_linker
="$host_os dyld"
15132 version_type
=darwin
15135 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15136 soname_spec
='${libname}${release}${major}$shared_ext'
15137 shlibpath_overrides_runpath
=yes
15138 shlibpath_var
=DYLD_LIBRARY_PATH
15139 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15141 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15145 version_type
=linux
# correct to gnu/linux during the next big refactor
15148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15149 soname_spec
='${libname}${release}${shared_ext}$major'
15150 shlibpath_var
=LD_LIBRARY_PATH
15153 freebsd
* | dragonfly
*)
15154 # DragonFly does not have aout. When/if they implement a new
15155 # versioning mechanism, adjust this.
15156 if test -x /usr
/bin
/objformat
; then
15157 objformat
=`/usr/bin/objformat`
15160 freebsd
[23].
*) objformat
=aout
;;
15161 *) objformat
=elf
;;
15164 version_type
=freebsd-
$objformat
15165 case $version_type in
15167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15176 shlibpath_var
=LD_LIBRARY_PATH
15179 shlibpath_overrides_runpath
=yes
15181 freebsd3.
[01]* | freebsdelf3.
[01]*)
15182 shlibpath_overrides_runpath
=yes
15183 hardcode_into_libs
=yes
15185 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15186 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15187 shlibpath_overrides_runpath
=no
15188 hardcode_into_libs
=yes
15190 *) # from 4.6 on, and DragonFly
15191 shlibpath_overrides_runpath
=yes
15192 hardcode_into_libs
=yes
15198 version_type
=linux
# correct to gnu/linux during the next big refactor
15201 dynamic_linker
="$host_os runtime_loader"
15202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15203 soname_spec
='${libname}${release}${shared_ext}$major'
15204 shlibpath_var
=LIBRARY_PATH
15205 shlibpath_overrides_runpath
=yes
15206 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15207 hardcode_into_libs
=yes
15210 hpux9
* | hpux10
* | hpux11
*)
15211 # Give a soname corresponding to the major version so that dld.sl refuses to
15212 # link against other versions.
15219 hardcode_into_libs
=yes
15220 dynamic_linker
="$host_os dld.so"
15221 shlibpath_var
=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15224 soname_spec
='${libname}${release}${shared_ext}$major'
15225 if test "X$HPUX_IA64_MODE" = X32
; then
15226 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15228 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15230 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15234 hardcode_into_libs
=yes
15235 dynamic_linker
="$host_os dld.sl"
15236 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15237 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15239 soname_spec
='${libname}${release}${shared_ext}$major'
15240 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15241 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15245 dynamic_linker
="$host_os dld.sl"
15246 shlibpath_var
=SHLIB_PATH
15247 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15249 soname_spec
='${libname}${release}${shared_ext}$major'
15252 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15253 postinstall_cmds
='chmod 555 $lib'
15254 # or fails outright, so override atomically:
15255 install_override_mode
=555
15259 version_type
=linux
# correct to gnu/linux during the next big refactor
15262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15263 soname_spec
='${libname}${release}${shared_ext}$major'
15264 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15265 shlibpath_var
=LD_LIBRARY_PATH
15266 shlibpath_overrides_runpath
=no
15267 hardcode_into_libs
=yes
15270 irix5
* | irix6
* | nonstopux
*)
15272 nonstopux
*) version_type
=nonstopux
;;
15274 if test "$lt_cv_prog_gnu_ld" = yes; then
15275 version_type
=linux
# correct to gnu/linux during the next big refactor
15282 soname_spec
='${libname}${release}${shared_ext}$major'
15283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15285 irix5
* | nonstopux
*)
15286 libsuff
= shlibsuff
=
15289 case $LD in # libtool.m4 will add one of these switches to LD
15290 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15291 libsuff
= shlibsuff
= libmagic
=32-bit;;
15292 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15293 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15294 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15295 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15296 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15300 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15301 shlibpath_overrides_runpath
=no
15302 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15303 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15304 hardcode_into_libs
=yes
15307 # No shared lib support for Linux oldld, aout, or coff.
15308 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15312 # This must be glibc/ELF.
15313 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15314 version_type
=linux
# correct to gnu/linux during the next big refactor
15317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15318 soname_spec
='${libname}${release}${shared_ext}$major'
15319 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15320 shlibpath_var
=LD_LIBRARY_PATH
15321 shlibpath_overrides_runpath
=no
15323 # Some binutils ld are patched to set DT_RUNPATH
15324 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15325 $as_echo_n "(cached) " >&6
15327 lt_cv_shlibpath_overrides_runpath
=no
15328 save_LDFLAGS
=$LDFLAGS
15329 save_libdir
=$libdir
15330 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15331 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15343 if ac_fn_cxx_try_link
"$LINENO"; then :
15344 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15345 lt_cv_shlibpath_overrides_runpath
=yes
15348 rm -f core conftest.err conftest.
$ac_objext \
15349 conftest
$ac_exeext conftest.
$ac_ext
15350 LDFLAGS
=$save_LDFLAGS
15351 libdir
=$save_libdir
15355 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15357 # This implies no fast_install, which is unacceptable.
15358 # Some rework will be needed to allow for fast_install
15359 # before this can be enabled.
15360 hardcode_into_libs
=yes
15362 # Append ld.so.conf contents to the search path
15363 if test -f /etc
/ld.so.conf
; then
15364 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;s/"//g;/^$/d' | tr '\n' ' '`
15365 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15368 # We used to test for /lib/ld.so.1 and disable shared libraries on
15369 # powerpc, because MkLinux only supported shared libraries with the
15370 # GNU dynamic linker. Since this was broken with cross compilers,
15371 # most powerpc-linux boxes support dynamic linking these days and
15372 # people can always --disable-shared, the test was removed, and we
15373 # assume the GNU/Linux dynamic linker is in use.
15374 dynamic_linker
='GNU/Linux ld.so'
15381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15382 soname_spec
='${libname}${release}${shared_ext}$major'
15383 shlibpath_var
=LD_LIBRARY_PATH
15384 shlibpath_overrides_runpath
=no
15385 hardcode_into_libs
=yes
15386 dynamic_linker
='NetBSD ld.elf_so'
15393 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15395 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15396 dynamic_linker
='NetBSD (a.out) ld.so'
15398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15399 soname_spec
='${libname}${release}${shared_ext}$major'
15400 dynamic_linker
='NetBSD ld.elf_so'
15402 shlibpath_var
=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath
=yes
15404 hardcode_into_libs
=yes
15408 version_type
=linux
# correct to gnu/linux during the next big refactor
15409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15410 shlibpath_var
=LD_LIBRARY_PATH
15411 shlibpath_overrides_runpath
=yes
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15419 soname_spec
='${libname}${release}${shared_ext}$major'
15420 shlibpath_var
=LD_LIBRARY_PATH
15421 shlibpath_overrides_runpath
=no
15422 hardcode_into_libs
=yes
15423 dynamic_linker
='ldqnx.so'
15428 sys_lib_dlsearch_path_spec
="/usr/lib"
15430 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15432 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15433 *) need_version
=no
;;
15435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15436 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15437 shlibpath_var
=LD_LIBRARY_PATH
15438 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15440 openbsd2.
[89] | openbsd2.
[89].
*)
15441 shlibpath_overrides_runpath
=no
15444 shlibpath_overrides_runpath
=yes
15448 shlibpath_overrides_runpath
=yes
15453 libname_spec
='$name'
15456 library_names_spec
='$libname${shared_ext} $libname.a'
15457 dynamic_linker
='OS/2 ld.exe'
15458 shlibpath_var
=LIBPATH
15461 osf3
* | osf4
* | osf5
*)
15465 soname_spec
='${libname}${release}${shared_ext}$major'
15466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15467 shlibpath_var
=LD_LIBRARY_PATH
15468 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15469 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15477 version_type
=linux
# correct to gnu/linux during the next big refactor
15480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15481 soname_spec
='${libname}${release}${shared_ext}$major'
15482 shlibpath_var
=LD_LIBRARY_PATH
15483 shlibpath_overrides_runpath
=yes
15484 hardcode_into_libs
=yes
15485 # ldd complains unless libraries are executable
15486 postinstall_cmds
='chmod +x $lib'
15491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15492 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15493 shlibpath_var
=LD_LIBRARY_PATH
15494 shlibpath_overrides_runpath
=yes
15495 if test "$with_gnu_ld" = yes; then
15502 version_type
=linux
# correct to gnu/linux during the next big refactor
15503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15504 soname_spec
='${libname}${release}${shared_ext}$major'
15505 shlibpath_var
=LD_LIBRARY_PATH
15506 case $host_vendor in
15508 shlibpath_overrides_runpath
=no
15510 runpath_var
=LD_RUN_PATH
15518 shlibpath_overrides_runpath
=no
15519 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15525 if test -d /usr
/nec
;then
15526 version_type
=linux
# correct to gnu/linux during the next big refactor
15527 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15528 soname_spec
='$libname${shared_ext}.$major'
15529 shlibpath_var
=LD_LIBRARY_PATH
15533 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15534 version_type
=freebsd-elf
15537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15538 soname_spec
='${libname}${release}${shared_ext}$major'
15539 shlibpath_var
=LD_LIBRARY_PATH
15540 shlibpath_overrides_runpath
=yes
15541 hardcode_into_libs
=yes
15542 if test "$with_gnu_ld" = yes; then
15543 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15545 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15548 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15552 sys_lib_dlsearch_path_spec
='/usr/lib'
15556 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15557 version_type
=linux
# correct to gnu/linux during the next big refactor
15560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15561 shlibpath_var
=LD_LIBRARY_PATH
15562 shlibpath_overrides_runpath
=no
15563 hardcode_into_libs
=yes
15567 version_type
=linux
# correct to gnu/linux during the next big refactor
15568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15569 soname_spec
='${libname}${release}${shared_ext}$major'
15570 shlibpath_var
=LD_LIBRARY_PATH
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15578 $as_echo "$dynamic_linker" >&6; }
15579 test "$dynamic_linker" = no
&& can_build_shared
=no
15581 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15582 if test "$GCC" = yes; then
15583 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15586 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15587 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15589 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15590 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15631 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15632 hardcode_action_CXX
=
15633 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15634 test -n "$runpath_var_CXX" ||
15635 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15637 # We can hardcode non-existent directories.
15638 if test "$hardcode_direct_CXX" != no
&&
15639 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15640 # have to relink, otherwise we might link with an installed library
15641 # when we should be linking with a yet-to-be-installed one
15642 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15643 test "$hardcode_minus_L_CXX" != no
; then
15644 # Linking always hardcodes the temporary library directory.
15645 hardcode_action_CXX
=relink
15647 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15648 hardcode_action_CXX
=immediate
15651 # We cannot hardcode anything, or else we can only hardcode existing
15653 hardcode_action_CXX
=unsupported
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15656 $as_echo "$hardcode_action_CXX" >&6; }
15658 if test "$hardcode_action_CXX" = relink ||
15659 test "$inherit_rpath_CXX" = yes; then
15660 # Fast installation is not supported
15661 enable_fast_install
=no
15662 elif test "$shlibpath_overrides_runpath" = yes ||
15663 test "$enable_shared" = no
; then
15664 # Fast installation is not necessary
15665 enable_fast_install
=needless
15674 fi # test -n "$compiler"
15677 CFLAGS
=$lt_save_CFLAGS
15681 with_gnu_ld
=$lt_save_with_gnu_ld
15682 lt_cv_path_LDCXX
=$lt_cv_path_LD
15683 lt_cv_path_LD
=$lt_save_path_LD
15684 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15685 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15686 fi # test "$_lt_caught_CXX_error" != yes
15689 ac_cpp
='$CXXCPP $CPPFLAGS'
15690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15708 ac_config_commands
="$ac_config_commands libtool"
15713 # Only expand once:
15721 CFLAGS
="$cflags_reset"
15723 msg_pkg_config_missing
="'pkg-config' is missing - adapter detection will not be available"
15724 msg_pthread_missing
="required library 'pthread' is missing"
15725 msg_dl_missing
="required library 'dl' is missing"
15726 msg_udev_missing
="library 'udev' is missing - adapter detection will not be available"
15727 msg_dirent_missing
="dirent.h header is missing - adapter detection will not be available"
15728 msg_lockdev_missing
="library 'liblockdev' is missing"
15729 msg_rpi_api_missing
="Raspberry Pi API not found or incompatible with libCEC"
15730 msg_rpi_will_check
="will check for RPi support"
15731 msg_rpi_unsupported_target
="will not check for RPi support (unsupported cpu: ${host_cpu})"
15732 msg_required_header_missing
="required header is missing"
15734 ## debugging symbols
15735 # Check whether --enable-debug was given.
15736 if test "${enable_debug+set}" = set; then :
15737 enableval
=$enable_debug; use_debug
=$enableval
15744 # Check whether --enable-optimisation was given.
15745 if test "${enable_optimisation+set}" = set; then :
15746 enableval
=$enable_optimisation; use_optimisation
=$enableval
15748 use_optimisation
=yes
15753 # Check whether --enable-cubox was given.
15754 if test "${enable_cubox+set}" = set; then :
15755 enableval
=$enable_cubox; use_tda995x
=$enableval
15761 ## Optional path to the tda995x dev toolkit
15763 # Check whether --with-tda995x-toolkit-path was given.
15764 if test "${with_tda995x_toolkit_path+set}" = set; then :
15765 withval
=$with_tda995x_toolkit_path; TDA995X_CFLAGS
="-I$withval/inc"
15767 TDA995X_CFLAGS
="-I\$(abs_top_srcdir)/nxp_hdmi/inc"
15772 # Check whether --enable-exynos was given.
15773 if test "${enable_exynos+set}" = set; then :
15774 enableval
=$enable_exynos; use_exynos
=$enableval
15780 ## Raspberry Pi support
15781 # Check whether --enable-rpi was given.
15782 if test "${enable_rpi+set}" = set; then :
15783 enableval
=$enable_rpi; use_rpi
=$enableval
15789 ## Optional path to the RPi's dev headers
15791 # Check whether --with-rpi-include-path was given.
15792 if test "${with_rpi_include_path+set}" = set; then :
15793 withval
=$with_rpi_include_path; RPI_CFLAGS
="-I$withval -I$withval/interface/vcos/pthreads -I$withval/interface/vmcs_host/linux"
15797 ## Optional path to libbcm_host.so
15799 # Check whether --with-rpi-lib-path was given.
15800 if test "${with_rpi_lib_path+set}" = set; then :
15801 withval
=$with_rpi_lib_path; RPI_LIBS
="-L$withval"
15805 ## only check for the RPi API on ARM targets
15806 if test "x$use_rpi" != "xno"; then
15807 case "${host_cpu}" in
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg_rpi_will_check" >&5
15810 $as_echo "$as_me: $msg_rpi_will_check" >&6;}
15813 if test "x$use_rpi" = "xyes"; then
15814 as_fn_error $?
"$msg_rpi_unsupported_target" "$LINENO" 5
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg_rpi_unsupported_target" >&5
15817 $as_echo "$as_me: $msg_rpi_unsupported_target" >&6;}
15824 ## add the top dir and include to the include path, so we can include config.h and cec.h
15825 CPPFLAGS
="$CPPFLAGS -I\$(abs_top_srcdir)/src -I\$(abs_top_srcdir)/include"
15827 ## search for pkg-config
15828 # Extract the first word of "pkg-config", so it can be a program name with args.
15829 set dummy pkg-config
; ac_word
=$2
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15831 $as_echo_n "checking for $ac_word... " >&6; }
15832 if ${ac_cv_prog_HAVE_PKG_CONFIG+:} false
; then :
15833 $as_echo_n "(cached) " >&6
15835 if test -n "$HAVE_PKG_CONFIG"; then
15836 ac_cv_prog_HAVE_PKG_CONFIG
="$HAVE_PKG_CONFIG" # Let the user override the test.
15838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15839 for as_dir
in $PATH
15842 test -z "$as_dir" && as_dir
=.
15843 for ac_exec_ext
in '' $ac_executable_extensions; do
15844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15845 ac_cv_prog_HAVE_PKG_CONFIG
="yes"
15846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15855 HAVE_PKG_CONFIG
=$ac_cv_prog_HAVE_PKG_CONFIG
15856 if test -n "$HAVE_PKG_CONFIG"; then
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5
15858 $as_echo "$HAVE_PKG_CONFIG" >&6; }
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15861 $as_echo "no" >&6; }
15865 if test "x$HAVE_PKG_CONFIG" != "xyes" ; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg_pkg_config_missing" >&5
15867 $as_echo "$as_me: WARNING: $msg_pkg_config_missing" >&2;}
15870 ## search for pthread, required by all targets
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
15872 $as_echo_n "checking for library containing pthread_create... " >&6; }
15873 if ${ac_cv_search_pthread_create+:} false
; then :
15874 $as_echo_n "(cached) " >&6
15876 ac_func_search_save_LIBS
=$LIBS
15877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15880 /* Override any GCC internal prototype to avoid an error.
15881 Use char because int might match the return type of a GCC
15882 builtin and then its argument prototype would still apply. */
15886 char pthread_create ();
15890 return pthread_create ();
15895 for ac_lib
in '' pthread
; do
15896 if test -z "$ac_lib"; then
15897 ac_res
="none required"
15900 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15902 if ac_fn_cxx_try_link
"$LINENO"; then :
15903 ac_cv_search_pthread_create
=$ac_res
15905 rm -f core conftest.err conftest.
$ac_objext \
15907 if ${ac_cv_search_pthread_create+:} false
; then :
15911 if ${ac_cv_search_pthread_create+:} false
; then :
15914 ac_cv_search_pthread_create
=no
15916 rm conftest.
$ac_ext
15917 LIBS
=$ac_func_search_save_LIBS
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
15920 $as_echo "$ac_cv_search_pthread_create" >&6; }
15921 ac_res
=$ac_cv_search_pthread_create
15922 if test "$ac_res" != no
; then :
15923 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15926 as_fn_error $?
"$msg_pthread_missing" "$LINENO" 5
15929 for ac_func
in pthread_mutexattr_init pthread_cond_init pthread_cond_destroy pthread_cond_signal pthread_cond_broadcast pthread_cond_wait pthread_cond_timedwait
15931 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15932 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15933 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15934 cat >>confdefs.h
<<_ACEOF
15935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15942 ## search for dlopen, required by all targets
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
15944 $as_echo_n "checking for library containing dlopen... " >&6; }
15945 if ${ac_cv_search_dlopen+:} false
; then :
15946 $as_echo_n "(cached) " >&6
15948 ac_func_search_save_LIBS
=$LIBS
15949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15967 for ac_lib
in '' dl
; do
15968 if test -z "$ac_lib"; then
15969 ac_res
="none required"
15972 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15974 if ac_fn_cxx_try_link
"$LINENO"; then :
15975 ac_cv_search_dlopen
=$ac_res
15977 rm -f core conftest.err conftest.
$ac_objext \
15979 if ${ac_cv_search_dlopen+:} false
; then :
15983 if ${ac_cv_search_dlopen+:} false
; then :
15986 ac_cv_search_dlopen
=no
15988 rm conftest.
$ac_ext
15989 LIBS
=$ac_func_search_save_LIBS
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
15992 $as_echo "$ac_cv_search_dlopen" >&6; }
15993 ac_res
=$ac_cv_search_dlopen
15994 if test "$ac_res" != no
; then :
15995 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15996 test "$ac_cv_search_dlopen" = "none required" || LIBS_DL
=$ac_cv_search_dlopen
15998 as_fn_error $?
"$msg_dl_missing" "$LINENO" 5
16001 for ac_func
in dlopen dlclose dlsym
16003 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16004 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16005 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16006 cat >>confdefs.h
<<_ACEOF
16007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16014 ## platform specific libs, required by all targets
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16019 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16020 if ${ac_cv_search_clock_gettime+:} false
; then :
16021 $as_echo_n "(cached) " >&6
16023 ac_func_search_save_LIBS
=$LIBS
16024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16027 /* Override any GCC internal prototype to avoid an error.
16028 Use char because int might match the return type of a GCC
16029 builtin and then its argument prototype would still apply. */
16033 char clock_gettime ();
16037 return clock_gettime ();
16042 for ac_lib
in '' rt
; do
16043 if test -z "$ac_lib"; then
16044 ac_res
="none required"
16047 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16049 if ac_fn_cxx_try_link
"$LINENO"; then :
16050 ac_cv_search_clock_gettime
=$ac_res
16052 rm -f core conftest.err conftest.
$ac_objext \
16054 if ${ac_cv_search_clock_gettime+:} false
; then :
16058 if ${ac_cv_search_clock_gettime+:} false
; then :
16061 ac_cv_search_clock_gettime
=no
16063 rm conftest.
$ac_ext
16064 LIBS
=$ac_func_search_save_LIBS
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16067 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16068 ac_res
=$ac_cv_search_clock_gettime
16069 if test "$ac_res" != no
; then :
16070 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16076 LIBS
="$LIBS -framework CoreVideo -framework IOKit"
16080 ## we found all the libs and headers that we need for the client applications
16081 libs_client
="$LIBS"
16083 ## search for udev, lockdev and the RPi API, only required by libCEC
16085 use_adapter_detection
="yes"
16087 SUPPRESS_MANGLING_WARNINGS
=" -Wno-psabi"
16090 ## search for udev if pkg-config was found
16091 if test "x$HAVE_PKG_CONFIG" = "xyes" ; then
16099 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16100 if test -n "$ac_tool_prefix"; then
16101 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16102 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16104 $as_echo_n "checking for $ac_word... " >&6; }
16105 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16106 $as_echo_n "(cached) " >&6
16108 case $PKG_CONFIG in
16110 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16114 for as_dir
in $PATH
16117 test -z "$as_dir" && as_dir
=.
16118 for ac_exec_ext
in '' $ac_executable_extensions; do
16119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16120 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16131 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16132 if test -n "$PKG_CONFIG"; then
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16134 $as_echo "$PKG_CONFIG" >&6; }
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16137 $as_echo "no" >&6; }
16142 if test -z "$ac_cv_path_PKG_CONFIG"; then
16143 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16144 # Extract the first word of "pkg-config", so it can be a program name with args.
16145 set dummy pkg-config
; ac_word
=$2
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16147 $as_echo_n "checking for $ac_word... " >&6; }
16148 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16149 $as_echo_n "(cached) " >&6
16151 case $ac_pt_PKG_CONFIG in
16153 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16157 for as_dir
in $PATH
16160 test -z "$as_dir" && as_dir
=.
16161 for ac_exec_ext
in '' $ac_executable_extensions; do
16162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16163 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16174 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16175 if test -n "$ac_pt_PKG_CONFIG"; then
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16177 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16180 $as_echo "no" >&6; }
16183 if test "x$ac_pt_PKG_CONFIG" = x
; then
16186 case $cross_compiling:$ac_tool_warned in
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16190 ac_tool_warned
=yes ;;
16192 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16195 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16199 if test -n "$PKG_CONFIG"; then
16200 _pkg_min_version
=0.9.0
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16202 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16203 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16205 $as_echo "yes" >&6; }
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16208 $as_echo "no" >&6; }
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
16215 $as_echo_n "checking for UDEV... " >&6; }
16217 if test -n "$UDEV_CFLAGS"; then
16218 pkg_cv_UDEV_CFLAGS
="$UDEV_CFLAGS"
16219 elif test -n "$PKG_CONFIG"; then
16220 if test -n "$PKG_CONFIG" && \
16221 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
16222 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
16224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16225 test $ac_status = 0; }; then
16226 pkg_cv_UDEV_CFLAGS
=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
16227 test "x$?" != "x0" && pkg_failed
=yes
16234 if test -n "$UDEV_LIBS"; then
16235 pkg_cv_UDEV_LIBS
="$UDEV_LIBS"
16236 elif test -n "$PKG_CONFIG"; then
16237 if test -n "$PKG_CONFIG" && \
16238 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
16239 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
16241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16242 test $ac_status = 0; }; then
16243 pkg_cv_UDEV_LIBS
=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
16244 test "x$?" != "x0" && pkg_failed
=yes
16254 if test $pkg_failed = yes; then
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16256 $as_echo "no" >&6; }
16258 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16259 _pkg_short_errors_supported
=yes
16261 _pkg_short_errors_supported
=no
16263 if test $_pkg_short_errors_supported = yes; then
16264 UDEV_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
16266 UDEV_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
16268 # Put the nasty error message in config.log where it belongs
16269 echo "$UDEV_PKG_ERRORS" >&5
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg_udev_missing" >&5
16272 $as_echo "$as_me: WARNING: $msg_udev_missing" >&2;}
16273 elif test $pkg_failed = untried
; then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16275 $as_echo "no" >&6; }
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg_udev_missing" >&5
16277 $as_echo "$as_me: WARNING: $msg_udev_missing" >&2;}
16279 UDEV_CFLAGS
=$pkg_cv_UDEV_CFLAGS
16280 UDEV_LIBS
=$pkg_cv_UDEV_LIBS
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16282 $as_echo "yes" >&6; }
16287 ## we need dirent.h on linux too
16288 if test "$use_udev" = "yes"; then
16290 ac_fn_cxx_check_header_mongrel
"$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
16291 if test "x$ac_cv_header_dirent_h" = xyes
; then :
16294 use_udev
="no";{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg_dirent_missing" >&5
16295 $as_echo "$as_me: WARNING: $msg_dirent_missing" >&2;}
16301 if test "$use_udev" != "yes"; then
16302 use_adapter_detection
="no"
16305 ## search for lockdev
16307 ac_fn_cxx_check_header_mongrel
"$LINENO" "lockdev.h" "ac_cv_header_lockdev_h" "$ac_includes_default"
16308 if test "x$ac_cv_header_lockdev_h" = xyes
; then :
16311 use_lockdev
="no";{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg_lockdev_missing" >&5
16312 $as_echo "$as_me: WARNING: $msg_lockdev_missing" >&2;}
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dev_unlock in -llockdev" >&5
16317 $as_echo_n "checking for dev_unlock in -llockdev... " >&6; }
16318 if ${ac_cv_lib_lockdev_dev_unlock+:} false
; then :
16319 $as_echo_n "(cached) " >&6
16321 ac_check_lib_save_LIBS
=$LIBS
16322 LIBS
="-llockdev $LIBS"
16323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16326 /* Override any GCC internal prototype to avoid an error.
16327 Use char because int might match the return type of a GCC
16328 builtin and then its argument prototype would still apply. */
16332 char dev_unlock ();
16336 return dev_unlock ();
16341 if ac_fn_cxx_try_link
"$LINENO"; then :
16342 ac_cv_lib_lockdev_dev_unlock
=yes
16344 ac_cv_lib_lockdev_dev_unlock
=no
16346 rm -f core conftest.err conftest.
$ac_objext \
16347 conftest
$ac_exeext conftest.
$ac_ext
16348 LIBS
=$ac_check_lib_save_LIBS
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockdev_dev_unlock" >&5
16351 $as_echo "$ac_cv_lib_lockdev_dev_unlock" >&6; }
16352 if test "x$ac_cv_lib_lockdev_dev_unlock" = xyes
; then :
16353 cat >>confdefs.h
<<_ACEOF
16354 #define HAVE_LIBLOCKDEV 1
16357 LIBS
="-llockdev $LIBS"
16360 use_lockdev
="no";{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg_lockdev_missing" >&5
16361 $as_echo "$as_me: WARNING: $msg_lockdev_missing" >&2;}
16365 ac_fn_cxx_check_header_mongrel
"$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
16366 if test "x$ac_cv_header_time_h" = xyes
; then :
16369 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
16373 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_sys_prctl_h" = xyes
; then :
16377 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
16382 ## search for the RPi API. we need to check a couple of things to see if
16383 ## it's recent enough and contains the calls needed for libCEC to operate
16385 if test "x$use_rpi" != "xno"; then
16386 CPPFLAGS
="$CPPFLAGS $RPI_CFLAGS"
16387 libs_pre_rpi
="$LIBS"
16388 LIBS
="$LIBS $RPI_LIBS -lvcos -lvchiq_arm"
16390 check_rpi_cec_service
="yes"
16392 ## check for headers we need
16393 ac_fn_cxx_check_header_mongrel
"$LINENO" "interface/vmcs_host/vc_cec.h" "ac_cv_header_interface_vmcs_host_vc_cec_h" "$ac_includes_default"
16394 if test "x$ac_cv_header_interface_vmcs_host_vc_cec_h" = xyes
; then :
16397 check_rpi_cec_service
="no"
16401 ac_fn_cxx_check_header_mongrel
"$LINENO" "interface/vmcs_host/vc_cecservice.h" "ac_cv_header_interface_vmcs_host_vc_cecservice_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_interface_vmcs_host_vc_cecservice_h" = xyes
; then :
16405 check_rpi_cec_service
="no"
16409 ac_fn_cxx_check_header_mongrel
"$LINENO" "interface/vchiq_arm/vchiq_if.h" "ac_cv_header_interface_vchiq_arm_vchiq_if_h" "$ac_includes_default"
16410 if test "x$ac_cv_header_interface_vchiq_arm_vchiq_if_h" = xyes
; then :
16413 check_rpi_cec_service
="no"
16417 ac_fn_cxx_check_header_mongrel
"$LINENO" "bcm_host.h" "ac_cv_header_bcm_host_h" "$ac_includes_default"
16418 if test "x$ac_cv_header_bcm_host_h" = xyes
; then :
16421 check_rpi_cec_service
="no"
16426 ## check if the headers contain support for libCEC.
16427 ## VC_CECSERVICE_VER needs to be defined
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking interface/vmcs_host/vc_cec.h compatibility" >&5
16429 $as_echo_n "checking interface/vmcs_host/vc_cec.h compatibility... " >&6; }
16431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 #include <interface/vmcs_host/vc_cecservice.h>
16434 #include <interface/vchiq_arm/vchiq_if.h>
16435 #if !defined(VC_CECSERVICE_VER)
16436 #error RPi headers does not contain libCEC support
16446 if ac_fn_cxx_try_compile
"$LINENO"; then :
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16448 $as_echo "yes" >&6; }
16450 check_rpi_cec_service
="no"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16451 $as_echo "no" >&6; }
16453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16455 ## check if the methods we're using can be found in libbcm_host.so, so we don't use an incompatible version
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vchi_initialise in -lbcm_host" >&5
16457 $as_echo_n "checking for vchi_initialise in -lbcm_host... " >&6; }
16458 if ${ac_cv_lib_bcm_host_vchi_initialise+:} false
; then :
16459 $as_echo_n "(cached) " >&6
16461 ac_check_lib_save_LIBS
=$LIBS
16462 LIBS
="-lbcm_host $LIBS"
16463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16466 /* Override any GCC internal prototype to avoid an error.
16467 Use char because int might match the return type of a GCC
16468 builtin and then its argument prototype would still apply. */
16472 char vchi_initialise ();
16476 return vchi_initialise ();
16481 if ac_fn_cxx_try_link
"$LINENO"; then :
16482 ac_cv_lib_bcm_host_vchi_initialise
=yes
16484 ac_cv_lib_bcm_host_vchi_initialise
=no
16486 rm -f core conftest.err conftest.
$ac_objext \
16487 conftest
$ac_exeext conftest.
$ac_ext
16488 LIBS
=$ac_check_lib_save_LIBS
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vchi_initialise" >&5
16491 $as_echo "$ac_cv_lib_bcm_host_vchi_initialise" >&6; }
16492 if test "x$ac_cv_lib_bcm_host_vchi_initialise" = xyes
; then :
16493 cat >>confdefs.h
<<_ACEOF
16494 #define HAVE_LIBBCM_HOST 1
16497 LIBS
="-lbcm_host $LIBS"
16500 check_rpi_cec_service
="no"
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_vchi_cec_init in -lbcm_host" >&5
16505 $as_echo_n "checking for vc_vchi_cec_init in -lbcm_host... " >&6; }
16506 if ${ac_cv_lib_bcm_host_vc_vchi_cec_init+:} false
; then :
16507 $as_echo_n "(cached) " >&6
16509 ac_check_lib_save_LIBS
=$LIBS
16510 LIBS
="-lbcm_host $LIBS"
16511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16514 /* Override any GCC internal prototype to avoid an error.
16515 Use char because int might match the return type of a GCC
16516 builtin and then its argument prototype would still apply. */
16520 char vc_vchi_cec_init ();
16524 return vc_vchi_cec_init ();
16529 if ac_fn_cxx_try_link
"$LINENO"; then :
16530 ac_cv_lib_bcm_host_vc_vchi_cec_init
=yes
16532 ac_cv_lib_bcm_host_vc_vchi_cec_init
=no
16534 rm -f core conftest.err conftest.
$ac_objext \
16535 conftest
$ac_exeext conftest.
$ac_ext
16536 LIBS
=$ac_check_lib_save_LIBS
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_vchi_cec_init" >&5
16539 $as_echo "$ac_cv_lib_bcm_host_vc_vchi_cec_init" >&6; }
16540 if test "x$ac_cv_lib_bcm_host_vc_vchi_cec_init" = xyes
; then :
16541 cat >>confdefs.h
<<_ACEOF
16542 #define HAVE_LIBBCM_HOST 1
16545 LIBS
="-lbcm_host $LIBS"
16548 check_rpi_cec_service
="no"
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_cec_get_logical_address in -lbcm_host" >&5
16552 $as_echo_n "checking for vc_cec_get_logical_address in -lbcm_host... " >&6; }
16553 if ${ac_cv_lib_bcm_host_vc_cec_get_logical_address+:} false
; then :
16554 $as_echo_n "(cached) " >&6
16556 ac_check_lib_save_LIBS
=$LIBS
16557 LIBS
="-lbcm_host $LIBS"
16558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h. */
16561 /* Override any GCC internal prototype to avoid an error.
16562 Use char because int might match the return type of a GCC
16563 builtin and then its argument prototype would still apply. */
16567 char vc_cec_get_logical_address ();
16571 return vc_cec_get_logical_address ();
16576 if ac_fn_cxx_try_link
"$LINENO"; then :
16577 ac_cv_lib_bcm_host_vc_cec_get_logical_address
=yes
16579 ac_cv_lib_bcm_host_vc_cec_get_logical_address
=no
16581 rm -f core conftest.err conftest.
$ac_objext \
16582 conftest
$ac_exeext conftest.
$ac_ext
16583 LIBS
=$ac_check_lib_save_LIBS
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_cec_get_logical_address" >&5
16586 $as_echo "$ac_cv_lib_bcm_host_vc_cec_get_logical_address" >&6; }
16587 if test "x$ac_cv_lib_bcm_host_vc_cec_get_logical_address" = xyes
; then :
16588 cat >>confdefs.h
<<_ACEOF
16589 #define HAVE_LIBBCM_HOST 1
16592 LIBS
="-lbcm_host $LIBS"
16595 check_rpi_cec_service
="no"
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_cec_get_physical_address in -lbcm_host" >&5
16599 $as_echo_n "checking for vc_cec_get_physical_address in -lbcm_host... " >&6; }
16600 if ${ac_cv_lib_bcm_host_vc_cec_get_physical_address+:} false
; then :
16601 $as_echo_n "(cached) " >&6
16603 ac_check_lib_save_LIBS
=$LIBS
16604 LIBS
="-lbcm_host $LIBS"
16605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16608 /* Override any GCC internal prototype to avoid an error.
16609 Use char because int might match the return type of a GCC
16610 builtin and then its argument prototype would still apply. */
16614 char vc_cec_get_physical_address ();
16618 return vc_cec_get_physical_address ();
16623 if ac_fn_cxx_try_link
"$LINENO"; then :
16624 ac_cv_lib_bcm_host_vc_cec_get_physical_address
=yes
16626 ac_cv_lib_bcm_host_vc_cec_get_physical_address
=no
16628 rm -f core conftest.err conftest.
$ac_objext \
16629 conftest
$ac_exeext conftest.
$ac_ext
16630 LIBS
=$ac_check_lib_save_LIBS
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_cec_get_physical_address" >&5
16633 $as_echo "$ac_cv_lib_bcm_host_vc_cec_get_physical_address" >&6; }
16634 if test "x$ac_cv_lib_bcm_host_vc_cec_get_physical_address" = xyes
; then :
16635 cat >>confdefs.h
<<_ACEOF
16636 #define HAVE_LIBBCM_HOST 1
16639 LIBS
="-lbcm_host $LIBS"
16642 check_rpi_cec_service
="no"
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_cec_param2message in -lbcm_host" >&5
16646 $as_echo_n "checking for vc_cec_param2message in -lbcm_host... " >&6; }
16647 if ${ac_cv_lib_bcm_host_vc_cec_param2message+:} false
; then :
16648 $as_echo_n "(cached) " >&6
16650 ac_check_lib_save_LIBS
=$LIBS
16651 LIBS
="-lbcm_host $LIBS"
16652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16661 char vc_cec_param2message ();
16665 return vc_cec_param2message ();
16670 if ac_fn_cxx_try_link
"$LINENO"; then :
16671 ac_cv_lib_bcm_host_vc_cec_param2message
=yes
16673 ac_cv_lib_bcm_host_vc_cec_param2message
=no
16675 rm -f core conftest.err conftest.
$ac_objext \
16676 conftest
$ac_exeext conftest.
$ac_ext
16677 LIBS
=$ac_check_lib_save_LIBS
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_cec_param2message" >&5
16680 $as_echo "$ac_cv_lib_bcm_host_vc_cec_param2message" >&6; }
16681 if test "x$ac_cv_lib_bcm_host_vc_cec_param2message" = xyes
; then :
16682 cat >>confdefs.h
<<_ACEOF
16683 #define HAVE_LIBBCM_HOST 1
16686 LIBS
="-lbcm_host $LIBS"
16689 check_rpi_cec_service
="no"
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_cec_poll_address in -lbcm_host" >&5
16693 $as_echo_n "checking for vc_cec_poll_address in -lbcm_host... " >&6; }
16694 if ${ac_cv_lib_bcm_host_vc_cec_poll_address+:} false
; then :
16695 $as_echo_n "(cached) " >&6
16697 ac_check_lib_save_LIBS
=$LIBS
16698 LIBS
="-lbcm_host $LIBS"
16699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16702 /* Override any GCC internal prototype to avoid an error.
16703 Use char because int might match the return type of a GCC
16704 builtin and then its argument prototype would still apply. */
16708 char vc_cec_poll_address ();
16712 return vc_cec_poll_address ();
16717 if ac_fn_cxx_try_link
"$LINENO"; then :
16718 ac_cv_lib_bcm_host_vc_cec_poll_address
=yes
16720 ac_cv_lib_bcm_host_vc_cec_poll_address
=no
16722 rm -f core conftest.err conftest.
$ac_objext \
16723 conftest
$ac_exeext conftest.
$ac_ext
16724 LIBS
=$ac_check_lib_save_LIBS
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_cec_poll_address" >&5
16727 $as_echo "$ac_cv_lib_bcm_host_vc_cec_poll_address" >&6; }
16728 if test "x$ac_cv_lib_bcm_host_vc_cec_poll_address" = xyes
; then :
16729 cat >>confdefs.h
<<_ACEOF
16730 #define HAVE_LIBBCM_HOST 1
16733 LIBS
="-lbcm_host $LIBS"
16736 check_rpi_cec_service
="no"
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_cec_register_callback in -lbcm_host" >&5
16740 $as_echo_n "checking for vc_cec_register_callback in -lbcm_host... " >&6; }
16741 if ${ac_cv_lib_bcm_host_vc_cec_register_callback+:} false
; then :
16742 $as_echo_n "(cached) " >&6
16744 ac_check_lib_save_LIBS
=$LIBS
16745 LIBS
="-lbcm_host $LIBS"
16746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16749 /* Override any GCC internal prototype to avoid an error.
16750 Use char because int might match the return type of a GCC
16751 builtin and then its argument prototype would still apply. */
16755 char vc_cec_register_callback ();
16759 return vc_cec_register_callback ();
16764 if ac_fn_cxx_try_link
"$LINENO"; then :
16765 ac_cv_lib_bcm_host_vc_cec_register_callback
=yes
16767 ac_cv_lib_bcm_host_vc_cec_register_callback
=no
16769 rm -f core conftest.err conftest.
$ac_objext \
16770 conftest
$ac_exeext conftest.
$ac_ext
16771 LIBS
=$ac_check_lib_save_LIBS
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_cec_register_callback" >&5
16774 $as_echo "$ac_cv_lib_bcm_host_vc_cec_register_callback" >&6; }
16775 if test "x$ac_cv_lib_bcm_host_vc_cec_register_callback" = xyes
; then :
16776 cat >>confdefs.h
<<_ACEOF
16777 #define HAVE_LIBBCM_HOST 1
16780 LIBS
="-lbcm_host $LIBS"
16783 check_rpi_cec_service
="no"
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_cec_release_logical_address in -lbcm_host" >&5
16787 $as_echo_n "checking for vc_cec_release_logical_address in -lbcm_host... " >&6; }
16788 if ${ac_cv_lib_bcm_host_vc_cec_release_logical_address+:} false
; then :
16789 $as_echo_n "(cached) " >&6
16791 ac_check_lib_save_LIBS
=$LIBS
16792 LIBS
="-lbcm_host $LIBS"
16793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16796 /* Override any GCC internal prototype to avoid an error.
16797 Use char because int might match the return type of a GCC
16798 builtin and then its argument prototype would still apply. */
16802 char vc_cec_release_logical_address ();
16806 return vc_cec_release_logical_address ();
16811 if ac_fn_cxx_try_link
"$LINENO"; then :
16812 ac_cv_lib_bcm_host_vc_cec_release_logical_address
=yes
16814 ac_cv_lib_bcm_host_vc_cec_release_logical_address
=no
16816 rm -f core conftest.err conftest.
$ac_objext \
16817 conftest
$ac_exeext conftest.
$ac_ext
16818 LIBS
=$ac_check_lib_save_LIBS
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_cec_release_logical_address" >&5
16821 $as_echo "$ac_cv_lib_bcm_host_vc_cec_release_logical_address" >&6; }
16822 if test "x$ac_cv_lib_bcm_host_vc_cec_release_logical_address" = xyes
; then :
16823 cat >>confdefs.h
<<_ACEOF
16824 #define HAVE_LIBBCM_HOST 1
16827 LIBS
="-lbcm_host $LIBS"
16830 check_rpi_cec_service
="no"
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vc_cec_set_passive in -lbcm_host" >&5
16834 $as_echo_n "checking for vc_cec_set_passive in -lbcm_host... " >&6; }
16835 if ${ac_cv_lib_bcm_host_vc_cec_set_passive+:} false
; then :
16836 $as_echo_n "(cached) " >&6
16838 ac_check_lib_save_LIBS
=$LIBS
16839 LIBS
="-lbcm_host $LIBS"
16840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16843 /* Override any GCC internal prototype to avoid an error.
16844 Use char because int might match the return type of a GCC
16845 builtin and then its argument prototype would still apply. */
16849 char vc_cec_set_passive ();
16853 return vc_cec_set_passive ();
16858 if ac_fn_cxx_try_link
"$LINENO"; then :
16859 ac_cv_lib_bcm_host_vc_cec_set_passive
=yes
16861 ac_cv_lib_bcm_host_vc_cec_set_passive
=no
16863 rm -f core conftest.err conftest.
$ac_objext \
16864 conftest
$ac_exeext conftest.
$ac_ext
16865 LIBS
=$ac_check_lib_save_LIBS
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vc_cec_set_passive" >&5
16868 $as_echo "$ac_cv_lib_bcm_host_vc_cec_set_passive" >&6; }
16869 if test "x$ac_cv_lib_bcm_host_vc_cec_set_passive" = xyes
; then :
16870 cat >>confdefs.h
<<_ACEOF
16871 #define HAVE_LIBBCM_HOST 1
16874 LIBS
="-lbcm_host $LIBS"
16877 check_rpi_cec_service
="no"
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vcos_init in -lbcm_host" >&5
16881 $as_echo_n "checking for vcos_init in -lbcm_host... " >&6; }
16882 if ${ac_cv_lib_bcm_host_vcos_init+:} false
; then :
16883 $as_echo_n "(cached) " >&6
16885 ac_check_lib_save_LIBS
=$LIBS
16886 LIBS
="-lbcm_host $LIBS"
16887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16890 /* Override any GCC internal prototype to avoid an error.
16891 Use char because int might match the return type of a GCC
16892 builtin and then its argument prototype would still apply. */
16900 return vcos_init ();
16905 if ac_fn_cxx_try_link
"$LINENO"; then :
16906 ac_cv_lib_bcm_host_vcos_init
=yes
16908 ac_cv_lib_bcm_host_vcos_init
=no
16910 rm -f core conftest.err conftest.
$ac_objext \
16911 conftest
$ac_exeext conftest.
$ac_ext
16912 LIBS
=$ac_check_lib_save_LIBS
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vcos_init" >&5
16915 $as_echo "$ac_cv_lib_bcm_host_vcos_init" >&6; }
16916 if test "x$ac_cv_lib_bcm_host_vcos_init" = xyes
; then :
16917 cat >>confdefs.h
<<_ACEOF
16918 #define HAVE_LIBBCM_HOST 1
16921 LIBS
="-lbcm_host $LIBS"
16924 check_rpi_cec_service
="no"
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vchiq_initialise in -lbcm_host" >&5
16928 $as_echo_n "checking for vchiq_initialise in -lbcm_host... " >&6; }
16929 if ${ac_cv_lib_bcm_host_vchiq_initialise+:} false
; then :
16930 $as_echo_n "(cached) " >&6
16932 ac_check_lib_save_LIBS
=$LIBS
16933 LIBS
="-lbcm_host $LIBS"
16934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16943 char vchiq_initialise ();
16947 return vchiq_initialise ();
16952 if ac_fn_cxx_try_link
"$LINENO"; then :
16953 ac_cv_lib_bcm_host_vchiq_initialise
=yes
16955 ac_cv_lib_bcm_host_vchiq_initialise
=no
16957 rm -f core conftest.err conftest.
$ac_objext \
16958 conftest
$ac_exeext conftest.
$ac_ext
16959 LIBS
=$ac_check_lib_save_LIBS
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vchiq_initialise" >&5
16962 $as_echo "$ac_cv_lib_bcm_host_vchiq_initialise" >&6; }
16963 if test "x$ac_cv_lib_bcm_host_vchiq_initialise" = xyes
; then :
16964 cat >>confdefs.h
<<_ACEOF
16965 #define HAVE_LIBBCM_HOST 1
16968 LIBS
="-lbcm_host $LIBS"
16971 check_rpi_cec_service
="no"
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vchi_initialise in -lbcm_host" >&5
16975 $as_echo_n "checking for vchi_initialise in -lbcm_host... " >&6; }
16976 if ${ac_cv_lib_bcm_host_vchi_initialise+:} false
; then :
16977 $as_echo_n "(cached) " >&6
16979 ac_check_lib_save_LIBS
=$LIBS
16980 LIBS
="-lbcm_host $LIBS"
16981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16984 /* Override any GCC internal prototype to avoid an error.
16985 Use char because int might match the return type of a GCC
16986 builtin and then its argument prototype would still apply. */
16990 char vchi_initialise ();
16994 return vchi_initialise ();
16999 if ac_fn_cxx_try_link
"$LINENO"; then :
17000 ac_cv_lib_bcm_host_vchi_initialise
=yes
17002 ac_cv_lib_bcm_host_vchi_initialise
=no
17004 rm -f core conftest.err conftest.
$ac_objext \
17005 conftest
$ac_exeext conftest.
$ac_ext
17006 LIBS
=$ac_check_lib_save_LIBS
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vchi_initialise" >&5
17009 $as_echo "$ac_cv_lib_bcm_host_vchi_initialise" >&6; }
17010 if test "x$ac_cv_lib_bcm_host_vchi_initialise" = xyes
; then :
17011 cat >>confdefs.h
<<_ACEOF
17012 #define HAVE_LIBBCM_HOST 1
17015 LIBS
="-lbcm_host $LIBS"
17018 check_rpi_cec_service
="no"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vchi_create_connection in -lbcm_host" >&5
17022 $as_echo_n "checking for vchi_create_connection in -lbcm_host... " >&6; }
17023 if ${ac_cv_lib_bcm_host_vchi_create_connection+:} false
; then :
17024 $as_echo_n "(cached) " >&6
17026 ac_check_lib_save_LIBS
=$LIBS
17027 LIBS
="-lbcm_host $LIBS"
17028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17031 /* Override any GCC internal prototype to avoid an error.
17032 Use char because int might match the return type of a GCC
17033 builtin and then its argument prototype would still apply. */
17037 char vchi_create_connection ();
17041 return vchi_create_connection ();
17046 if ac_fn_cxx_try_link
"$LINENO"; then :
17047 ac_cv_lib_bcm_host_vchi_create_connection
=yes
17049 ac_cv_lib_bcm_host_vchi_create_connection
=no
17051 rm -f core conftest.err conftest.
$ac_objext \
17052 conftest
$ac_exeext conftest.
$ac_ext
17053 LIBS
=$ac_check_lib_save_LIBS
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_vchi_create_connection" >&5
17056 $as_echo "$ac_cv_lib_bcm_host_vchi_create_connection" >&6; }
17057 if test "x$ac_cv_lib_bcm_host_vchi_create_connection" = xyes
; then :
17058 cat >>confdefs.h
<<_ACEOF
17059 #define HAVE_LIBBCM_HOST 1
17062 LIBS
="-lbcm_host $LIBS"
17065 check_rpi_cec_service
="no"
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bcm_host_init in -lbcm_host" >&5
17069 $as_echo_n "checking for bcm_host_init in -lbcm_host... " >&6; }
17070 if ${ac_cv_lib_bcm_host_bcm_host_init+:} false
; then :
17071 $as_echo_n "(cached) " >&6
17073 ac_check_lib_save_LIBS
=$LIBS
17074 LIBS
="-lbcm_host $LIBS"
17075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17078 /* Override any GCC internal prototype to avoid an error.
17079 Use char because int might match the return type of a GCC
17080 builtin and then its argument prototype would still apply. */
17084 char bcm_host_init ();
17088 return bcm_host_init ();
17093 if ac_fn_cxx_try_link
"$LINENO"; then :
17094 ac_cv_lib_bcm_host_bcm_host_init
=yes
17096 ac_cv_lib_bcm_host_bcm_host_init
=no
17098 rm -f core conftest.err conftest.
$ac_objext \
17099 conftest
$ac_exeext conftest.
$ac_ext
17100 LIBS
=$ac_check_lib_save_LIBS
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bcm_host_bcm_host_init" >&5
17103 $as_echo "$ac_cv_lib_bcm_host_bcm_host_init" >&6; }
17104 if test "x$ac_cv_lib_bcm_host_bcm_host_init" = xyes
; then :
17105 cat >>confdefs.h
<<_ACEOF
17106 #define HAVE_LIBBCM_HOST 1
17109 LIBS
="-lbcm_host $LIBS"
17112 check_rpi_cec_service
="no"
17117 if test "x$check_rpi_cec_service" != "xyes" && test "x$use_rpi" = "xyes"; then
17118 as_fn_error $?
"$msg_rpi_api_missing" "$LINENO" 5
17119 elif test "x$check_rpi_cec_service" != "xyes"; then
17121 LIBS
="$libs_pre_rpi"
17124 ## search for X11/xrandr
17126 use_x11_xrandr
="yes"
17127 ac_fn_cxx_check_header_mongrel
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
17128 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
17131 use_x11_xrandr
="no"
17135 ac_fn_cxx_check_header_mongrel
"$LINENO" "X11/Xatom.h" "ac_cv_header_X11_Xatom_h" "$ac_includes_default"
17136 if test "x$ac_cv_header_X11_Xatom_h" = xyes
; then :
17139 use_x11_xrandr
="no"
17143 ac_fn_cxx_check_header_mongrel
"$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$ac_includes_default"
17144 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
; then :
17147 use_x11_xrandr
="no"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
17152 $as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
17153 if ${ac_cv_lib_X11_XOpenDisplay+:} false
; then :
17154 $as_echo_n "(cached) " >&6
17156 ac_check_lib_save_LIBS
=$LIBS
17158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17161 /* Override any GCC internal prototype to avoid an error.
17162 Use char because int might match the return type of a GCC
17163 builtin and then its argument prototype would still apply. */
17167 char XOpenDisplay ();
17171 return XOpenDisplay ();
17176 if ac_fn_cxx_try_link
"$LINENO"; then :
17177 ac_cv_lib_X11_XOpenDisplay
=yes
17179 ac_cv_lib_X11_XOpenDisplay
=no
17181 rm -f core conftest.err conftest.
$ac_objext \
17182 conftest
$ac_exeext conftest.
$ac_ext
17183 LIBS
=$ac_check_lib_save_LIBS
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
17186 $as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
17187 if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes
; then :
17188 cat >>confdefs.h
<<_ACEOF
17189 #define HAVE_LIBX11 1
17195 use_x11_xrandr
="no"
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRGetScreenResources in -lXrandr" >&5
17199 $as_echo_n "checking for XRRGetScreenResources in -lXrandr... " >&6; }
17200 if ${ac_cv_lib_Xrandr_XRRGetScreenResources+:} false
; then :
17201 $as_echo_n "(cached) " >&6
17203 ac_check_lib_save_LIBS
=$LIBS
17204 LIBS
="-lXrandr $LIBS"
17205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17214 char XRRGetScreenResources ();
17218 return XRRGetScreenResources ();
17223 if ac_fn_cxx_try_link
"$LINENO"; then :
17224 ac_cv_lib_Xrandr_XRRGetScreenResources
=yes
17226 ac_cv_lib_Xrandr_XRRGetScreenResources
=no
17228 rm -f core conftest.err conftest.
$ac_objext \
17229 conftest
$ac_exeext conftest.
$ac_ext
17230 LIBS
=$ac_check_lib_save_LIBS
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRGetScreenResources" >&5
17233 $as_echo "$ac_cv_lib_Xrandr_XRRGetScreenResources" >&6; }
17234 if test "x$ac_cv_lib_Xrandr_XRRGetScreenResources" = xyes
; then :
17235 cat >>confdefs.h
<<_ACEOF
17236 #define HAVE_LIBXRANDR 1
17239 LIBS
="-lXrandr $LIBS"
17242 use_x11_xrandr
="no"
17245 if test "x$use_x11_xrandr" = "xyes"; then
17247 $as_echo "#define HAVE_RANDR 1" >>confdefs.h
17250 USE_X11_RANDR_TRUE
=
17251 USE_X11_RANDR_FALSE
='#'
17253 USE_X11_RANDR_TRUE
='#'
17254 USE_X11_RANDR_FALSE
=
17259 USE_X11_RANDR_TRUE
=
17260 USE_X11_RANDR_FALSE
='#'
17262 USE_X11_RANDR_TRUE
='#'
17263 USE_X11_RANDR_FALSE
=
17270 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach_time.h" "ac_cv_header_mach_mach_time_h" "$ac_includes_default"
17271 if test "x$ac_cv_header_mach_mach_time_h" = xyes
; then :
17274 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17278 ac_fn_cxx_check_header_mongrel
"$LINENO" "CoreVideo/CVHostTime.h" "ac_cv_header_CoreVideo_CVHostTime_h" "$ac_includes_default"
17279 if test "x$ac_cv_header_CoreVideo_CVHostTime_h" = xyes
; then :
17282 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17287 $as_echo "#define TARGET_DARWIN 1" >>confdefs.h
17290 USE_X11_RANDR_TRUE
=
17291 USE_X11_RANDR_FALSE
='#'
17293 USE_X11_RANDR_TRUE
='#'
17294 USE_X11_RANDR_FALSE
=
17297 SUPPRESS_MANGLING_WARNINGS
=""
17301 ## define the build info
17302 LIB_INFO
="host: ${host}, features:"
17304 features
="Configured features:\n Pulse-Eight CEC Adapter :\t\tyes"
17305 LIB_INFO
="$LIB_INFO 'P8 USB'"
17307 $as_echo "#define HAVE_P8_USB 1" >>confdefs.h
17311 USE_P8_USB_FALSE
='#'
17313 USE_P8_USB_TRUE
='#'
17318 if test "x$use_lockdev" = "xyes"; then
17320 $as_echo "#define HAVE_LOCKDEV 1" >>confdefs.h
17324 ## mark adapter detection as available if the required deps were found
17325 if test "x$use_adapter_detection" = "xyes"; then
17326 ## mark udev as available if it was found
17327 if test "x$use_udev" = "xyes"; then
17328 INCLUDES
="$INCLUDES $UDEV_CFLAGS"
17329 LIBS
="$LIBS $UDEV_LIBS"
17331 $as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
17333 REQUIRES
="$REQUIRES udev"
17337 $as_echo "#define HAVE_P8_USB_DETECT 1" >>confdefs.h
17340 USE_P8_USB_DETECT_TRUE
=
17341 USE_P8_USB_DETECT_FALSE
='#'
17343 USE_P8_USB_DETECT_TRUE
='#'
17344 USE_P8_USB_DETECT_FALSE
=
17348 features
="$features\n Pulse-Eight CEC Adapter detection :\tyes"
17349 LIB_INFO
="$LIB_INFO 'P8 USB detect'"
17352 USE_P8_USB_DETECT_TRUE
=
17353 USE_P8_USB_DETECT_FALSE
='#'
17355 USE_P8_USB_DETECT_TRUE
='#'
17356 USE_P8_USB_DETECT_FALSE
=
17359 features
="$features\n Pulse-Eight CEC Adapter detection :\tno"
17362 ## mark RPi support as available if the required headers and libs were found
17363 if test "x$use_rpi" != "xno"; then
17365 $as_echo "#define HAVE_RPI_API 1" >>confdefs.h
17369 USE_RPI_API_FALSE
='#'
17371 USE_RPI_API_TRUE
='#'
17375 features
="$features\n Raspberry Pi support :\t\tyes"
17376 LIB_INFO
="$LIB_INFO 'RPi'"
17380 USE_RPI_API_FALSE
='#'
17382 USE_RPI_API_TRUE
='#'
17386 features
="$features\n Raspberry Pi support :\t\tno"
17389 ## mark TDA995x support as available
17390 if test "x$use_tda995x" != "xno"; then
17392 $as_echo "#define HAVE_TDA995X_API 1" >>confdefs.h
17395 USE_TDA995X_API_TRUE
=
17396 USE_TDA995X_API_FALSE
='#'
17398 USE_TDA995X_API_TRUE
='#'
17399 USE_TDA995X_API_FALSE
=
17402 features
="$features\n TDA995x support :\t\t\tyes"
17403 LIB_INFO
="$LIB_INFO 'TDA995x'"
17404 CPPFLAGS
="$CPPFLAGS $TDA995X_CFLAGS"
17407 USE_TDA995X_API_TRUE
=
17408 USE_TDA995X_API_FALSE
='#'
17410 USE_TDA995X_API_TRUE
='#'
17411 USE_TDA995X_API_FALSE
=
17414 features
="$features\n TDA995x support :\t\t\tno"
17417 ## mark Exynos support as available
17418 if test "x$use_exynos" != "xno"; then
17420 $as_echo "#define HAVE_EXYNOS_API 1" >>confdefs.h
17423 USE_EXYNOS_API_TRUE
=
17424 USE_EXYNOS_API_FALSE
='#'
17426 USE_EXYNOS_API_TRUE
='#'
17427 USE_EXYNOS_API_FALSE
=
17430 features
="$features\n Exynos support :\t\t\tyes"
17431 LIB_INFO
="$LIB_INFO 'EXYNOS'"
17432 CPPFLAGS
="$CPPFLAGS $EXYNOS_CFLAGS"
17435 USE_EXYNOS_API_TRUE
=
17436 USE_EXYNOS_API_FALSE
='#'
17438 USE_EXYNOS_API_TRUE
='#'
17439 USE_EXYNOS_API_FALSE
=
17442 features
="$features\n EXYNOS support :\t\t\tno"
17446 ## check if our build system is complete
17447 ac_fn_cxx_check_header_mongrel
"$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
17448 if test "x$ac_cv_header_algorithm" = xyes
; then :
17451 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17455 ac_fn_cxx_check_header_mongrel
"$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
17456 if test "x$ac_cv_header_ctype_h" = xyes
; then :
17459 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17463 ac_fn_cxx_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
17464 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
17467 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17471 ac_fn_cxx_check_header_mongrel
"$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
17472 if test "x$ac_cv_header_errno_h" = xyes
; then :
17475 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17479 ac_fn_cxx_check_header_mongrel
"$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
17480 if test "x$ac_cv_header_fcntl_h" = xyes
; then :
17483 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17487 ac_fn_cxx_check_header_mongrel
"$LINENO" "functional" "ac_cv_header_functional" "$ac_includes_default"
17488 if test "x$ac_cv_header_functional" = xyes
; then :
17491 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17495 ac_fn_cxx_check_header_mongrel
"$LINENO" "locale" "ac_cv_header_locale" "$ac_includes_default"
17496 if test "x$ac_cv_header_locale" = xyes
; then :
17500 $as_echo "#define SS_NO_LOCALE 1" >>confdefs.h
17505 ac_fn_cxx_check_header_mongrel
"$LINENO" "map" "ac_cv_header_map" "$ac_includes_default"
17506 if test "x$ac_cv_header_map" = xyes
; then :
17509 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17513 ac_fn_cxx_check_header_mongrel
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
17514 if test "x$ac_cv_header_netdb_h" = xyes
; then :
17517 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17521 ac_fn_cxx_check_header_mongrel
"$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
17522 if test "x$ac_cv_header_poll_h" = xyes
; then :
17525 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17529 ac_fn_cxx_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
17530 if test "x$ac_cv_header_pthread_h" = xyes
; then :
17533 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17537 ac_fn_cxx_check_header_mongrel
"$LINENO" "queue" "ac_cv_header_queue" "$ac_includes_default"
17538 if test "x$ac_cv_header_queue" = xyes
; then :
17541 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17545 ac_fn_cxx_check_header_mongrel
"$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
17546 if test "x$ac_cv_header_semaphore_h" = xyes
; then :
17549 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17553 ac_fn_cxx_check_header_mongrel
"$LINENO" "set" "ac_cv_header_set" "$ac_includes_default"
17554 if test "x$ac_cv_header_set" = xyes
; then :
17557 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17561 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
17562 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
17565 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17569 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
17570 if test "x$ac_cv_header_stdint_h" = xyes
; then :
17573 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17577 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
17578 if test "x$ac_cv_header_stdio_h" = xyes
; then :
17581 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17585 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
17586 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
17589 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17593 ac_fn_cxx_check_header_mongrel
"$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
17594 if test "x$ac_cv_header_string" = xyes
; then :
17597 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17601 ac_fn_cxx_check_header_mongrel
"$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
17602 if test "x$ac_cv_header_string_h" = xyes
; then :
17605 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17609 ac_fn_cxx_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
17610 if test "x$ac_cv_header_termios_h" = xyes
; then :
17613 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17617 ac_fn_cxx_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
17618 if test "x$ac_cv_header_unistd_h" = xyes
; then :
17621 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17625 ac_fn_cxx_check_header_mongrel
"$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
17626 if test "x$ac_cv_header_vector" = xyes
; then :
17629 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17633 ac_fn_cxx_check_header_mongrel
"$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17634 if test "x$ac_cv_header_wchar_h" = xyes
; then :
17637 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17641 ac_fn_cxx_check_header_mongrel
"$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17642 if test "x$ac_cv_header_wctype_h" = xyes
; then :
17645 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17649 ac_fn_cxx_check_header_mongrel
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
17650 if test "x$ac_cv_header_arpa_inet_h" = xyes
; then :
17653 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17657 ac_fn_cxx_check_header_mongrel
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
17658 if test "x$ac_cv_header_netinet_in_h" = xyes
; then :
17661 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17665 ac_fn_cxx_check_header_mongrel
"$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
17666 if test "x$ac_cv_header_netinet_tcp_h" = xyes
; then :
17669 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17673 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
17674 if test "x$ac_cv_header_sys_socket_h" = xyes
; then :
17677 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17681 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
17682 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
17685 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17689 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
17690 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
17693 as_fn_error $?
"$msg_required_header_missing" "$LINENO" 5
17697 for ac_func
in close fcntl
select write read shutdown send recv memset sprintf getaddrinfo getsockopt setsockopt connect poll sched_yield open strerror tcsetattr tcgetattr cfsetispeed cfsetospeed
bind freeaddrinfo listen accept socket
17699 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17700 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17701 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17702 cat >>confdefs.h
<<_ACEOF
17703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17710 ## add the build date to LIB_INFO
17711 # Extract the first word of "git", so it can be a program name with args.
17712 set dummy git
; ac_word
=$2
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17714 $as_echo_n "checking for $ac_word... " >&6; }
17715 if ${ac_cv_prog_HAVE_GIT+:} false
; then :
17716 $as_echo_n "(cached) " >&6
17718 if test -n "$HAVE_GIT"; then
17719 ac_cv_prog_HAVE_GIT
="$HAVE_GIT" # Let the user override the test.
17721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17722 for as_dir
in $PATH
17725 test -z "$as_dir" && as_dir
=.
17726 for ac_exec_ext
in '' $ac_executable_extensions; do
17727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17728 ac_cv_prog_HAVE_GIT
="yes"
17729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17738 HAVE_GIT
=$ac_cv_prog_HAVE_GIT
17739 if test -n "$HAVE_GIT"; then
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GIT" >&5
17741 $as_echo "$HAVE_GIT" >&6; }
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17744 $as_echo "no" >&6; }
17748 if test "x$HAVE_GIT" = "xyes"; then
17749 revision
=$
(git
--no-pager log
--abbrev=7 -n 1 --pretty=format
:"%h" HEAD
)
17751 if test "x$revision" != "x"; then
17752 LIB_INFO
="$LIB_INFO, git revision: ${revision}"
17755 # Extract the first word of "date", so it can be a program name with args.
17756 set dummy
date; ac_word
=$2
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17758 $as_echo_n "checking for $ac_word... " >&6; }
17759 if ${ac_cv_prog_HAVE_DATE+:} false
; then :
17760 $as_echo_n "(cached) " >&6
17762 if test -n "$HAVE_DATE"; then
17763 ac_cv_prog_HAVE_DATE
="$HAVE_DATE" # Let the user override the test.
17765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17766 for as_dir
in $PATH
17769 test -z "$as_dir" && as_dir
=.
17770 for ac_exec_ext
in '' $ac_executable_extensions; do
17771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17772 ac_cv_prog_HAVE_DATE
="yes"
17773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17782 HAVE_DATE
=$ac_cv_prog_HAVE_DATE
17783 if test -n "$HAVE_DATE"; then
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DATE" >&5
17785 $as_echo "$HAVE_DATE" >&6; }
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17788 $as_echo "no" >&6; }
17792 if test "x$HAVE_DATE" = "xyes"; then
17793 LIB_INFO
="$LIB_INFO, compiled on: `date -u`"
17795 LIB_INFO
="$LIB_INFO, compiled on: (unknown date)"
17798 ## add the name of the user who built libCEC to LIB_INFO
17799 # Extract the first word of "whoami", so it can be a program name with args.
17800 set dummy whoami
; ac_word
=$2
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17802 $as_echo_n "checking for $ac_word... " >&6; }
17803 if ${ac_cv_prog_HAVE_WHOAMI+:} false
; then :
17804 $as_echo_n "(cached) " >&6
17806 if test -n "$HAVE_WHOAMI"; then
17807 ac_cv_prog_HAVE_WHOAMI
="$HAVE_WHOAMI" # Let the user override the test.
17809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17810 for as_dir
in $PATH
17813 test -z "$as_dir" && as_dir
=.
17814 for ac_exec_ext
in '' $ac_executable_extensions; do
17815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17816 ac_cv_prog_HAVE_WHOAMI
="yes"
17817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17826 HAVE_WHOAMI
=$ac_cv_prog_HAVE_WHOAMI
17827 if test -n "$HAVE_WHOAMI"; then
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_WHOAMI" >&5
17829 $as_echo "$HAVE_WHOAMI" >&6; }
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17832 $as_echo "no" >&6; }
17836 if test "x$HAVE_WHOAMI" = "xyes" ; then
17837 LIB_INFO
="$LIB_INFO by `whoami`"
17839 LIB_INFO
="$LIB_INFO by (unknown user)"
17842 ## add the hostname of the build host of libCEC to LIB_INFO
17843 # Extract the first word of "hostname", so it can be a program name with args.
17844 set dummy hostname
; ac_word
=$2
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17846 $as_echo_n "checking for $ac_word... " >&6; }
17847 if ${ac_cv_prog_HAVE_HOSTNAME+:} false
; then :
17848 $as_echo_n "(cached) " >&6
17850 if test -n "$HAVE_HOSTNAME"; then
17851 ac_cv_prog_HAVE_HOSTNAME
="$HAVE_HOSTNAME" # Let the user override the test.
17853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17854 for as_dir
in $PATH
17857 test -z "$as_dir" && as_dir
=.
17858 for ac_exec_ext
in '' $ac_executable_extensions; do
17859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17860 ac_cv_prog_HAVE_HOSTNAME
="yes"
17861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17870 HAVE_HOSTNAME
=$ac_cv_prog_HAVE_HOSTNAME
17871 if test -n "$HAVE_HOSTNAME"; then
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_HOSTNAME" >&5
17873 $as_echo "$HAVE_HOSTNAME" >&6; }
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17876 $as_echo "no" >&6; }
17880 if test "x$HAVE_HOSTNAME" = "xyes"; then
17881 LIB_INFO
="$LIB_INFO@`hostname -f`"
17884 ## add the system info of the build host of libCEC to LIB_INFO
17885 # Extract the first word of "uname", so it can be a program name with args.
17886 set dummy uname
; ac_word
=$2
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17888 $as_echo_n "checking for $ac_word... " >&6; }
17889 if ${ac_cv_prog_HAVE_UNAME+:} false
; then :
17890 $as_echo_n "(cached) " >&6
17892 if test -n "$HAVE_UNAME"; then
17893 ac_cv_prog_HAVE_UNAME
="$HAVE_UNAME" # Let the user override the test.
17895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17896 for as_dir
in $PATH
17899 test -z "$as_dir" && as_dir
=.
17900 for ac_exec_ext
in '' $ac_executable_extensions; do
17901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17902 ac_cv_prog_HAVE_UNAME
="yes"
17903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17912 HAVE_UNAME
=$ac_cv_prog_HAVE_UNAME
17913 if test -n "$HAVE_UNAME"; then
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_UNAME" >&5
17915 $as_echo "$HAVE_UNAME" >&6; }
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17918 $as_echo "no" >&6; }
17922 if test "x$HAVE_UNAME" = "xyes"; then
17923 LIB_INFO
="$LIB_INFO on `uname -s` `uname -r` (`uname -m`)"
17926 ## redefine the LIBS, so cec-client isn't linked against things they don't need
17927 LIBS_LIBCEC
="$LIBS"
17928 LIBS
="$libs_client"
17930 CXXFLAGS
="$CXXFLAGS -fPIC -Wall -Wextra -Wno-missing-field-initializers $SUPPRESS_MANGLING_WARNINGS"
17932 if test "x$use_debug" = "xyes"; then
17933 CXXFLAGS
="$CXXFLAGS -g"
17935 $as_echo "#define CEC_DEBUGGING \"1\"" >>confdefs.h
17939 if test "x$optimisation" = "xyes"; then
17940 CXXFLAGS
="$CXXFLAGS -O2"
17944 cat >>confdefs.h
<<_ACEOF
17945 #define LIB_INFO "$LIB_INFO"
17956 ac_config_files
="$ac_config_files src/lib/libcec.pc"
17958 ac_config_files
="$ac_config_files Makefile src/lib/Makefile src/testclient/Makefile"
17960 cat >confcache
<<\_ACEOF
17961 # This file is a shell script that caches the results of configure
17962 # tests run on this system so they can be shared between configure
17963 # scripts and configure runs, see configure's option --config-cache.
17964 # It is not useful on other systems. If it contains results you don't
17965 # want to keep, you may remove or edit it.
17967 # config.status only pays attention to the cache file if you give it
17968 # the --recheck option to rerun configure.
17970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17972 # following values.
17976 # The following way of writing the cache mishandles newlines in values,
17977 # but we know of no workaround that is simple, portable, and efficient.
17978 # So, we kill variables containing newlines.
17979 # Ultrix sh set writes to stderr and can't be redirected directly,
17980 # and sets the high bit in the cache file unless we assign to the vars.
17982 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17983 eval ac_val
=\$
$ac_var
17987 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17991 _ | IFS | as_nl
) ;; #(
17992 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17993 *) { eval $ac_var=; unset $ac_var;} ;;
17999 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18000 *${as_nl}ac_space
=\
*)
18001 # `set' does not quote correctly, so add quotes: double-quote
18002 # substitution turns \\\\ into \\, and sed turns \\ into \.
18005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18008 # `set' quotes correctly as required by POSIX, so do not add quotes.
18009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18018 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18020 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18022 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18023 if test -w "$cache_file"; then
18024 if test "x$cache_file" != "x/dev/null"; then
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18026 $as_echo "$as_me: updating cache $cache_file" >&6;}
18027 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18028 cat confcache
>"$cache_file"
18030 case $cache_file in #(
18032 mv -f confcache
"$cache_file"$$
&&
18033 mv -f "$cache_file"$$
"$cache_file" ;; #(
18035 mv -f confcache
"$cache_file" ;;
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18041 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18046 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18047 # Let make expand exec_prefix.
18048 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18050 DEFS
=-DHAVE_CONFIG_H
18055 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18056 # 1. Remove the extension, and $U if already installed.
18057 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18058 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18059 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18060 # will be set to the directory where LIBOBJS objects are built.
18061 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18062 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18064 LIBOBJS
=$ac_libobjs
18066 LTLIBOBJS
=$ac_ltlibobjs
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18070 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18071 if test -n "$am_sleep_pid"; then
18072 # Hide warnings about reused PIDs.
18073 wait $am_sleep_pid 2>/dev
/null
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18076 $as_echo "done" >&6; }
18077 if test -n "$EXEEXT"; then
18079 am__EXEEXT_FALSE
='#'
18081 am__EXEEXT_TRUE
='#'
18085 if test -n "$EXEEXT"; then
18087 am__EXEEXT_FALSE
='#'
18089 am__EXEEXT_TRUE
='#'
18093 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18094 as_fn_error $?
"conditional \"AMDEP\" was never defined.
18095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18097 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18098 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
18099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18101 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18102 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
18103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18105 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18106 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18109 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18110 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
18111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18113 if test -z "${USE_X11_RANDR_TRUE}" && test -z "${USE_X11_RANDR_FALSE}"; then
18114 as_fn_error $?
"conditional \"USE_X11_RANDR\" was never defined.
18115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18117 if test -z "${USE_X11_RANDR_TRUE}" && test -z "${USE_X11_RANDR_FALSE}"; then
18118 as_fn_error $?
"conditional \"USE_X11_RANDR\" was never defined.
18119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18121 if test -z "${USE_X11_RANDR_TRUE}" && test -z "${USE_X11_RANDR_FALSE}"; then
18122 as_fn_error $?
"conditional \"USE_X11_RANDR\" was never defined.
18123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18125 if test -z "${USE_P8_USB_TRUE}" && test -z "${USE_P8_USB_FALSE}"; then
18126 as_fn_error $?
"conditional \"USE_P8_USB\" was never defined.
18127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18129 if test -z "${USE_P8_USB_DETECT_TRUE}" && test -z "${USE_P8_USB_DETECT_FALSE}"; then
18130 as_fn_error $?
"conditional \"USE_P8_USB_DETECT\" was never defined.
18131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18133 if test -z "${USE_P8_USB_DETECT_TRUE}" && test -z "${USE_P8_USB_DETECT_FALSE}"; then
18134 as_fn_error $?
"conditional \"USE_P8_USB_DETECT\" was never defined.
18135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18137 if test -z "${USE_RPI_API_TRUE}" && test -z "${USE_RPI_API_FALSE}"; then
18138 as_fn_error $?
"conditional \"USE_RPI_API\" was never defined.
18139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18141 if test -z "${USE_RPI_API_TRUE}" && test -z "${USE_RPI_API_FALSE}"; then
18142 as_fn_error $?
"conditional \"USE_RPI_API\" was never defined.
18143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18145 if test -z "${USE_TDA995X_API_TRUE}" && test -z "${USE_TDA995X_API_FALSE}"; then
18146 as_fn_error $?
"conditional \"USE_TDA995X_API\" was never defined.
18147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18149 if test -z "${USE_TDA995X_API_TRUE}" && test -z "${USE_TDA995X_API_FALSE}"; then
18150 as_fn_error $?
"conditional \"USE_TDA995X_API\" was never defined.
18151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18153 if test -z "${USE_EXYNOS_API_TRUE}" && test -z "${USE_EXYNOS_API_FALSE}"; then
18154 as_fn_error $?
"conditional \"USE_EXYNOS_API\" was never defined.
18155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18157 if test -z "${USE_EXYNOS_API_TRUE}" && test -z "${USE_EXYNOS_API_FALSE}"; then
18158 as_fn_error $?
"conditional \"USE_EXYNOS_API\" was never defined.
18159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18162 : "${CONFIG_STATUS=./config.status}"
18164 ac_clean_files_save
=$ac_clean_files
18165 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18167 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18169 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18171 # Generated by $as_me.
18172 # Run this file to recreate the current configuration.
18173 # Compiler output produced by configure, useful for debugging
18174 # configure, is in config.log if it exists.
18177 ac_cs_recheck=false
18180 SHELL=\${CONFIG_SHELL-$SHELL}
18183 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18184 ## -------------------- ##
18185 ## M4sh Initialization. ##
18186 ## -------------------- ##
18188 # Be more Bourne compatible
18189 DUALCASE
=1; export DUALCASE
# for MKS sh
18190 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18193 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18194 # is contrary to our usage. Disable this feature.
18195 alias -g '${1+"$@"}'='"$@"'
18196 setopt NO_GLOB_SUBST
18198 case `(set -o) 2>/dev/null` in #(
18210 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18211 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18213 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18214 # Prefer a ksh shell builtin over an external printf program on Solaris,
18215 # but without wasting forks for bash or zsh.
18216 if test -z "$BASH_VERSION$ZSH_VERSION" \
18217 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18218 as_echo='print
-r --'
18219 as_echo_n='print
-rn --'
18220 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18221 as_echo='printf %s
\n'
18222 as_echo_n='printf %s
'
18224 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18225 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18226 as_echo_n='/usr
/ucb
/echo -n'
18228 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18229 as_echo_n_body='eval
18233 expr "X$arg" : "X\\(.*\\)$as_nl";
18234 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18236 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18238 export as_echo_n_body
18239 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18241 export as_echo_body
18242 as_echo='sh
-c $as_echo_body as_echo
'
18245 # The user is always right.
18246 if test "${PATH_SEPARATOR+set}" != set; then
18248 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18249 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18256 # We need space, tab and new line, in precisely that order. Quoting is
18257 # there to prevent editors from complaining about space-tab.
18258 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18259 # splitting by setting IFS to empty value.)
18262 # Find who we are. Look in the path if we contain no directory separator.
18265 *[\\/]* ) as_myself=$0 ;;
18266 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18267 for as_dir in $PATH
18270 test -z "$as_dir" && as_dir=.
18271 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18277 # We did not find ourselves, most probably we were run as `sh COMMAND'
18278 # in which case we are not to be found in the path.
18279 if test "x$as_myself" = x
; then
18282 if test ! -f "$as_myself"; then
18283 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18287 # Unset variables that we do not need and which cause bugs (e.g. in
18288 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18289 # suppresses any "Segmentation fault" message there. '((' could
18290 # trigger a bug in pdksh 5.2.14.
18291 for as_var
in BASH_ENV ENV MAIL MAILPATH
18292 do eval test x\
${$as_var+set} = xset \
18293 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18306 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18309 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18310 # ----------------------------------------
18311 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18312 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18313 # script with STATUS, using 1 if that was 0.
18316 as_status
=$1; test $as_status -eq 0 && as_status
=1
18318 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18319 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18321 $as_echo "$as_me: error: $2" >&2
18322 as_fn_exit
$as_status
18326 # as_fn_set_status STATUS
18327 # -----------------------
18328 # Set $? to STATUS, without forking.
18329 as_fn_set_status
()
18332 } # as_fn_set_status
18334 # as_fn_exit STATUS
18335 # -----------------
18336 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18340 as_fn_set_status
$1
18346 # Portably unset VAR.
18349 { eval $1=; unset $1;}
18351 as_unset
=as_fn_unset
18352 # as_fn_append VAR VALUE
18353 # ----------------------
18354 # Append the text in VALUE to the end of the definition contained in VAR. Take
18355 # advantage of any shell optimizations that allow amortized linear growth over
18356 # repeated appends, instead of the typical quadratic growth present in naive
18358 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18359 eval 'as_fn_append ()
18370 # as_fn_arith ARG...
18371 # ------------------
18372 # Perform arithmetic evaluation on the ARGs, and store the result in the
18373 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18374 # must be portable across $(()) and expr.
18375 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18376 eval 'as_fn_arith ()
18383 as_val
=`expr "$@" || test $? -eq 1`
18388 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18389 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18395 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18396 as_basename
=basename
18401 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18407 as_me
=`$as_basename -- "$0" ||
18408 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18409 X"$0" : 'X\(//\)$' \| \
18410 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18412 sed '/^.*\/\([^/][^/]*\)\/*$/{
18426 # Avoid depending upon Character Ranges.
18427 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18428 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18429 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18430 as_cr_digits
='0123456789'
18431 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18433 ECHO_C
= ECHO_N
= ECHO_T
=
18434 case `echo -n x` in #(((((
18436 case `echo 'xy\c'` in
18437 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18439 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18446 rm -f conf$$ conf$$.exe conf$$.
file
18447 if test -d conf$$.dir
; then
18448 rm -f conf$$.dir
/conf$$.
file
18451 mkdir conf$$.dir
2>/dev
/null
18453 if (echo >conf$$.
file) 2>/dev
/null
; then
18454 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18456 # ... but there are two gotchas:
18457 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18458 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18459 # In both cases, we have to default to `cp -pR'.
18460 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18462 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18470 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18471 rmdir conf$$.dir
2>/dev
/null
18476 # Create "$as_dir" as a directory, including parents if necessary.
18481 -*) as_dir
=.
/$as_dir;;
18483 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18487 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18488 *) as_qdir
=$as_dir;;
18490 as_dirs
="'$as_qdir' $as_dirs"
18491 as_dir
=`$as_dirname -- "$as_dir" ||
18492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18493 X"$as_dir" : 'X\(//\)[^/]' \| \
18494 X"$as_dir" : 'X\(//\)$' \| \
18495 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18496 $as_echo X"$as_dir" |
18497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18501 /^X\(\/\/\)[^/].*/{
18514 test -d "$as_dir" && break
18516 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18517 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18521 if mkdir
-p .
2>/dev
/null
; then
18522 as_mkdir_p
='mkdir -p "$as_dir"'
18524 test -d .
/-p && rmdir .
/-p
18529 # as_fn_executable_p FILE
18530 # -----------------------
18531 # Test if FILE is an executable regular file.
18532 as_fn_executable_p
()
18534 test -f "$1" && test -x "$1"
18535 } # as_fn_executable_p
18536 as_test_x
='test -x'
18537 as_executable_p
=as_fn_executable_p
18539 # Sed expression to map a string onto a valid CPP name.
18540 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18542 # Sed expression to map a string onto a valid variable name.
18543 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18547 ## ----------------------------------- ##
18548 ## Main body of $CONFIG_STATUS script. ##
18549 ## ----------------------------------- ##
18551 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18554 # Save the log message, to keep $0 and so on meaningful, and to
18555 # report actual input values of CONFIG_FILES etc. instead of their
18556 # values after options handling.
18558 This file was extended by libcec $as_me 2:1:0, which was
18559 generated by GNU Autoconf 2.69. Invocation command line was
18561 CONFIG_FILES = $CONFIG_FILES
18562 CONFIG_HEADERS = $CONFIG_HEADERS
18563 CONFIG_LINKS = $CONFIG_LINKS
18564 CONFIG_COMMANDS = $CONFIG_COMMANDS
18567 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18572 case $ac_config_files in *"
18573 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18576 case $ac_config_headers in *"
18577 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18582 # Files that config.status was made for.
18583 config_files="$ac_config_files"
18584 config_headers="$ac_config_headers"
18585 config_commands="$ac_config_commands"
18589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18591 \`$as_me' instantiates files and other configuration actions
18592 from templates according to the current configuration. Unless the files
18593 and actions are specified as TAGs, all are instantiated by default.
18595 Usage: $0 [OPTION]... [TAG]...
18597 -h, --help print this help, then exit
18598 -V, --version print version number and configuration settings, then exit
18599 --config print configuration, then exit
18600 -q, --quiet, --silent
18601 do not print progress messages
18602 -d, --debug don't remove temporary files
18603 --recheck update $as_me by reconfiguring in the same conditions
18604 --file=FILE[:TEMPLATE]
18605 instantiate the configuration file FILE
18606 --header=FILE[:TEMPLATE]
18607 instantiate the configuration header FILE
18609 Configuration files:
18612 Configuration headers:
18615 Configuration commands:
18618 Report bugs to <http://libcec.pulse-eight.com/>."
18621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18622 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18624 libcec config.status 2:1:0
18625 configured by $0, generated by GNU Autoconf 2.69,
18626 with options \\"\$ac_cs_config\\"
18628 Copyright (C) 2012 Free Software Foundation, Inc.
18629 This config.status script is free software; the Free Software Foundation
18630 gives unlimited permission to copy, distribute and modify it."
18637 test -n "\$AWK" || AWK=awk
18640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18641 # The default lists apply if the user does not specify any file.
18647 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18648 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18652 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18664 # Handling of the options.
18665 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18667 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18668 $as_echo "$ac_cs_version"; exit ;;
18669 --config |
--confi |
--conf |
--con |
--co |
--c )
18670 $as_echo "$ac_cs_config"; exit ;;
18671 --debug |
--debu |
--deb |
--de |
--d |
-d )
18673 --file |
--fil |
--fi |
--f )
18676 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18677 '') as_fn_error $?
"missing file argument" ;;
18679 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18680 ac_need_defaults
=false
;;
18681 --header |
--heade |
--head |
--hea )
18684 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18686 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18687 ac_need_defaults
=false
;;
18689 # Conflict between --help and --header
18690 as_fn_error $?
"ambiguous option: \`$1'
18691 Try \`$0 --help' for more information.";;
18692 --help |
--hel |
-h )
18693 $as_echo "$ac_cs_usage"; exit ;;
18694 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18695 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18698 # This is an error.
18699 -*) as_fn_error $?
"unrecognized option: \`$1'
18700 Try \`$0 --help' for more information." ;;
18702 *) as_fn_append ac_config_targets
" $1"
18703 ac_need_defaults
=false
;;
18709 ac_configure_extra_args
=
18711 if $ac_cs_silent; then
18713 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18718 if \$ac_cs_recheck; then
18719 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18721 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18722 CONFIG_SHELL='$SHELL'
18723 export CONFIG_SHELL
18728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18732 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18733 ## Running $as_me. ##
18739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18743 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18746 # The HP-UX ksh and POSIX shell print the target directory to stdout
18747 # if CDPATH is set.
18748 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18750 sed_quote_subst='$sed_quote_subst'
18751 double_quote_subst='$double_quote_subst'
18752 delay_variable_subst='$delay_variable_subst'
18753 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18754 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18755 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18756 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18757 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18758 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18759 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18760 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18761 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18762 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18763 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18764 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18765 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18766 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18767 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18768 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18769 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18770 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18771 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18772 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18773 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18774 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18775 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18776 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18777 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18778 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18779 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18780 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18781 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18782 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18783 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18784 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18785 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18786 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18787 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18788 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18789 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18790 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18791 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18792 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18793 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18794 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18795 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18796 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18797 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18798 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18799 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18800 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18801 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18802 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18803 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18804 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18805 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18806 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18807 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18808 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18809 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18810 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18811 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18812 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18813 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18814 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18815 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18816 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18817 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18818 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18819 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18820 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18821 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18822 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18823 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18824 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18825 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18826 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18827 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18828 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18829 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18830 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18831 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18832 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18833 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18834 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18835 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18836 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18837 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18838 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18839 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18840 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18841 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18842 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18843 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18844 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18845 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18846 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18847 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18848 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18849 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18850 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18851 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18852 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18853 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18854 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18855 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18856 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18857 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18858 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18859 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18860 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18861 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18862 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18863 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18864 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18865 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18866 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18867 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18868 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18869 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18870 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18871 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18872 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18873 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18874 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18875 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18876 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18877 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18878 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18879 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18880 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18881 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18882 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18883 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18884 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18885 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18886 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18887 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18888 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18889 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18890 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18891 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18892 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18893 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18894 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18895 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18896 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18897 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18898 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18899 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18900 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18901 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18902 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18903 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18904 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18905 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18906 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18907 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18908 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18909 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18910 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18911 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18912 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18913 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18914 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18915 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18916 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18917 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18918 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18919 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18920 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18921 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18922 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18923 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18924 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18925 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18926 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18927 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18928 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18929 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18930 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18931 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18932 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18933 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18934 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18935 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18936 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18939 LTCFLAGS='$LTCFLAGS'
18940 compiler='$compiler_DEFAULT'
18942 # A function that is used when there is no print builtin or printf.
18943 func_fallback_echo ()
18945 eval 'cat <<_LTECHO_EOF
18950 # Quote evaled strings.
18965 deplibs_check_method \
18970 sharedlib_from_linklib_cmd \
18973 archiver_list_spec \
18979 lt_cv_sys_global_symbol_pipe \
18980 lt_cv_sys_global_symbol_to_cdecl \
18981 lt_cv_sys_global_symbol_to_c_name_address \
18982 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18983 nm_file_list_spec \
18984 lt_prog_compiler_no_builtin_flag \
18985 lt_prog_compiler_pic \
18986 lt_prog_compiler_wl \
18987 lt_prog_compiler_static \
18988 lt_cv_prog_compiler_c_o \
18997 export_dynamic_flag_spec \
18998 whole_archive_flag_spec \
18999 compiler_needs_object \
19001 allow_undefined_flag \
19002 no_undefined_flag \
19003 hardcode_libdir_flag_spec \
19004 hardcode_libdir_separator \
19008 variables_saved_for_relink \
19010 library_names_spec \
19012 install_override_mode \
19016 compiler_lib_search_dirs \
19021 compiler_lib_search_path \
19025 lt_prog_compiler_no_builtin_flag_CXX \
19026 lt_prog_compiler_pic_CXX \
19027 lt_prog_compiler_wl_CXX \
19028 lt_prog_compiler_static_CXX \
19029 lt_cv_prog_compiler_c_o_CXX \
19030 export_dynamic_flag_spec_CXX \
19031 whole_archive_flag_spec_CXX \
19032 compiler_needs_object_CXX \
19034 allow_undefined_flag_CXX \
19035 no_undefined_flag_CXX \
19036 hardcode_libdir_flag_spec_CXX \
19037 hardcode_libdir_separator_CXX \
19038 exclude_expsyms_CXX \
19039 include_expsyms_CXX \
19040 file_list_spec_CXX \
19041 compiler_lib_search_dirs_CXX \
19042 predep_objects_CXX \
19043 postdep_objects_CXX \
19046 compiler_lib_search_path_CXX; do
19047 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19048 *[\\\\\\\`\\"\\\$]*)
19049 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19052 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19057 # Double-quote double-evaled strings.
19058 for var in reload_cmds \
19059 old_postinstall_cmds \
19060 old_postuninstall_cmds \
19062 extract_expsyms_cmds \
19063 old_archive_from_new_cmds \
19064 old_archive_from_expsyms_cmds \
19066 archive_expsym_cmds \
19068 module_expsym_cmds \
19069 export_symbols_cmds \
19073 postuninstall_cmds \
19075 sys_lib_search_path_spec \
19076 sys_lib_dlsearch_path_spec \
19078 old_archive_cmds_CXX \
19079 old_archive_from_new_cmds_CXX \
19080 old_archive_from_expsyms_cmds_CXX \
19082 archive_expsym_cmds_CXX \
19084 module_expsym_cmds_CXX \
19085 export_symbols_cmds_CXX \
19087 postlink_cmds_CXX; do
19088 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19089 *[\\\\\\\`\\"\\\$]*)
19090 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19093 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19098 ac_aux_dir='$ac_aux_dir'
19099 xsi_shell='$xsi_shell'
19100 lt_shell_append='$lt_shell_append'
19102 # See if we are running on zsh, and set the options which allow our
19103 # commands through without removal of \ escapes INIT.
19104 if test -n "\${ZSH_VERSION+set}" ; then
19105 setopt NO_GLOB_SUBST
19111 TIMESTAMP='$TIMESTAMP'
19122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19124 # Handling of arguments.
19125 for ac_config_target
in $ac_config_targets
19127 case $ac_config_target in
19128 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19129 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19130 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19131 "src/lib/libcec.pc") CONFIG_FILES
="$CONFIG_FILES src/lib/libcec.pc" ;;
19132 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19133 "src/lib/Makefile") CONFIG_FILES
="$CONFIG_FILES src/lib/Makefile" ;;
19134 "src/testclient/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testclient/Makefile" ;;
19136 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19141 # If the user did not use the arguments to specify the items to instantiate,
19142 # then the envvar interface is used. Set only those that are not.
19143 # We use the long form for the default assignment because of an extremely
19144 # bizarre bug on SunOS 4.1.3.
19145 if $ac_need_defaults; then
19146 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19147 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19148 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19151 # Have a temporary directory for convenience. Make it in the build tree
19152 # simply because there is no reason against having it here, and in addition,
19153 # creating and moving files from /tmp can sometimes cause problems.
19154 # Hook for its removal unless debugging.
19155 # Note that there is a small window in which the directory will not be cleaned:
19156 # after its creation but before its name has been assigned to `$tmp'.
19160 trap 'exit_status=$?
19161 : "${ac_tmp:=$tmp}"
19162 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19164 trap 'as_fn_exit 1' 1 2 13 15
19166 # Create a (secure) tmp directory for tmp files.
19169 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19173 tmp
=.
/conf$$
-$RANDOM
19174 (umask 077 && mkdir
"$tmp")
19175 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19178 # Set up the scripts for CONFIG_FILES section.
19179 # No need to generate them if there are no CONFIG_FILES.
19180 # This happens for instance with `./config.status config.h'.
19181 if test -n "$CONFIG_FILES"; then
19184 ac_cr
=`echo X | tr X '\015'`
19185 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19186 # But we know of no other shell where ac_cr would be empty at this
19187 # point, so we can use a bashism as a fallback.
19188 if test "x$ac_cr" = x
; then
19189 eval ac_cr
=\$
\'\\r
\'
19191 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19192 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19195 ac_cs_awk_cr
=$ac_cr
19198 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19203 echo "cat >conf$$subs.awk <<_ACEOF" &&
19204 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19206 } >conf$$subs.sh ||
19207 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19208 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19210 for ac_last_try in false false false false false :; do
19211 . ./conf$$subs.sh ||
19212 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19214 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19215 if test $ac_delim_n = $ac_delim_num; then
19217 elif $ac_last_try; then
19218 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19220 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19223 rm -f conf$$subs.sh
19225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19226 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19230 s/^/S["/; s
/!.
*/"]=/
19240 s/\(.\{148\}\)..*/\1/
19242 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19247 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19254 s/\(.\{148\}\)..*/\1/
19256 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19260 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19265 ' <conf$$subs.awk | sed '
19270 ' >>$CONFIG_STATUS || ac_write_fail=1
19271 rm -f conf$$subs.awk
19272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19274 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19275 for (key in S) S_is_set[key] = 1
19281 nfields = split(line, field, "@
")
19283 len = length(field[1])
19284 for (i = 2; i < nfields; i++) {
19286 keylen = length(key)
19287 if (S_is_set[key]) {
19289 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19290 len += length(value) + length(field[++i])
19301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19302 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19303 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19306 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19307 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19310 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19311 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19312 # trailing colons and then remove the whole line if VPATH becomes empty
19313 # (actually we leave an empty line to preserve line numbers).
19314 if test "x
$srcdir" = x.; then
19315 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19334 fi # test -n "$CONFIG_FILES"
19336 # Set up the scripts for CONFIG_HEADERS section.
19337 # No need to generate them if there are no CONFIG_HEADERS.
19338 # This happens for instance with `./config.status Makefile'.
19339 if test -n "$CONFIG_HEADERS"; then
19340 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
19344 # Transform confdefs.h into an awk script `defines.awk', embedded as
19345 # here-document in config.status, that substitutes the proper values into
19346 # config.h.in to produce config.h.
19348 # Create a delimiter string that does not exist in confdefs.h, to ease
19349 # handling of long lines.
19351 for ac_last_try in false false :; do
19352 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
19353 if test -z "$ac_tt"; then
19355 elif $ac_last_try; then
19356 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
19358 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19362 # For the awk script, D is an array of macro values keyed by name,
19363 # likewise P contains macro parameters if any. Preserve backslash
19364 # newline sequences.
19366 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19368 s/.\{148\}/&'"$ac_delim"'/g
19371 s/^[ ]*#[ ]*define[ ][ ]*/ /
19378 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
19380 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
19384 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
19385 D["\
1"]=" \
3\\\\\\n
"\\/p
19387 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
19392 s/.\{148\}/&'"$ac_delim"'/g
19397 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
19400 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
19402 ' <confdefs.h | sed '
19403 s/'"$ac_delim"'/"\\\
19404 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19407 for (key in D) D_is_set[key] = 1
19410 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19412 split(line, arg, " ")
19413 if (arg[1] == "#") {
19417 defundef
= substr
(arg
[1], 2)
19420 split(mac1
, mac2
, "(") #)
19422 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19423 if (D_is_set
[macro
]) {
19424 # Preserve the white space surrounding the "#".
19425 print prefix
"define", macro P
[macro
] D
[macro
]
19428 # Replace #undef with comments. This is necessary, for example,
19429 # in the case of _POSIX_SOURCE, which is predefined and required
19430 # on some systems where configure will not decide to define it.
19431 if (defundef
== "undef") {
19432 print
"/*", prefix defundef
, macro
, "*/"
19440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19441 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19442 fi # test -n "$CONFIG_HEADERS"
19445 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19450 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19452 case $ac_mode$ac_tag in
19454 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19455 :[FH
]-) ac_tag
=-:-;;
19456 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19473 -) ac_f
="$ac_tmp/stdin";;
19474 *) # Look for the file first in the build tree, then in the source tree
19475 # (if the path is not absolute). The absolute path cannot be DOS-style,
19476 # because $ac_f cannot contain `:'.
19480 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19482 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19484 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19485 as_fn_append ac_file_inputs
" '$ac_f'"
19488 # Let's still pretend it is `configure' which instantiates (i.e., don't
19489 # use $as_me), people would be surprised to read:
19490 # /* config.h. Generated by config.status. */
19491 configure_input
='Generated from '`
19492 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19494 if test x
"$ac_file" != x-
; then
19495 configure_input
="$ac_file. $configure_input"
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19497 $as_echo "$as_me: creating $ac_file" >&6;}
19499 # Neutralize special characters interpreted by sed in replacement strings.
19500 case $configure_input in #(
19501 *\
&* |
*\|
* |
*\\* )
19502 ac_sed_conf_input
=`$as_echo "$configure_input" |
19503 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19504 *) ac_sed_conf_input
=$configure_input;;
19508 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19509 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19514 ac_dir
=`$as_dirname -- "$ac_file" ||
19515 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19516 X"$ac_file" : 'X\(//\)[^/]' \| \
19517 X"$ac_file" : 'X\(//\)$' \| \
19518 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19519 $as_echo X"$ac_file" |
19520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19524 /^X\(\/\/\)[^/].*/{
19537 as_dir
="$ac_dir"; as_fn_mkdir_p
19541 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19543 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19544 # A ".." for each directory in $ac_dir_suffix.
19545 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19546 case $ac_top_builddir_sub in
19547 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19548 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19551 ac_abs_top_builddir
=$ac_pwd
19552 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19553 # for backward compatibility:
19554 ac_top_builddir
=$ac_top_build_prefix
19557 .
) # We are building in place.
19559 ac_top_srcdir
=$ac_top_builddir_sub
19560 ac_abs_top_srcdir
=$ac_pwd ;;
19561 [\\/]* | ?
:[\\/]* ) # Absolute name.
19562 ac_srcdir
=$srcdir$ac_dir_suffix;
19563 ac_top_srcdir
=$srcdir
19564 ac_abs_top_srcdir
=$srcdir ;;
19565 *) # Relative name.
19566 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19567 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19568 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19570 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19580 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19581 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19583 ac_MKDIR_P
=$MKDIR_P
19585 [\\/$
]* | ?
:[\\/]* ) ;;
19586 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19591 # If the template does not know about datarootdir, expand it.
19592 # FIXME: This hack should be removed a few years after 2.60.
19593 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19604 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19605 *datarootdir
*) ac_datarootdir_seen
=yes;;
19606 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19608 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19611 ac_datarootdir_hack='
19612 s&@datadir@&$datadir&g
19613 s&@docdir@&$docdir&g
19614 s&@infodir@&$infodir&g
19615 s&@localedir@&$localedir&g
19616 s&@mandir@&$mandir&g
19617 s&\\\${datarootdir}&$datarootdir&g' ;;
19621 # Neutralize VPATH when `$srcdir' = `.'.
19622 # Shell code in configure.ac might set extrasub.
19623 # FIXME: do we really want to maintain this feature?
19624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19625 ac_sed_extra="$ac_vpsub
19628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19630 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19631 s|@configure_input@|
$ac_sed_conf_input|
;t t
19632 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19633 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19634 s
&@srcdir@
&$ac_srcdir&;t t
19635 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19636 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19637 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19638 s
&@builddir@
&$ac_builddir&;t t
19639 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19640 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19641 s
&@INSTALL@
&$ac_INSTALL&;t t
19642 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19643 $ac_datarootdir_hack
19645 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19646 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19648 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19649 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19650 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19651 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19653 which seems to be undefined. Please make sure it is defined" >&5
19654 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19655 which seems to be undefined. Please make sure it is defined" >&2;}
19657 rm -f "$ac_tmp/stdin"
19659 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19660 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19668 if test x"$ac_file" != x-; then
19670 $as_echo "/* $configure_input */" \
19671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19672 } >"$ac_tmp/config.h" \
19673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19674 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19676 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19679 mv "$ac_tmp/config.h" "$ac_file" \
19680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19683 $as_echo "/* $configure_input */" \
19684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19685 || as_fn_error $? "could not create -" "$LINENO" 5
19687 # Compute "$ac_file"'s index
in $config_headers.
19690 for _am_header
in $config_headers :; do
19691 case $_am_header in
19692 $_am_arg |
$_am_arg:* )
19695 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
19698 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19699 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19700 X"$_am_arg" : 'X\(//\)[^/]' \| \
19701 X"$_am_arg" : 'X\(//\)$' \| \
19702 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19703 $as_echo X"$_am_arg" |
19704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19708 /^X\(\/\/\)[^/].*/{
19720 s/.*/./; q'`/stamp-h
$_am_stamp_count
19723 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19724 $as_echo "$as_me: executing $ac_file commands" >&6;}
19729 case $ac_file$ac_mode in
19730 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19731 # Older Autoconf quotes --file arguments for eval, but not when files
19732 # are listed without --file. Let's play safe and only enable the eval
19733 # if we detect the quoting.
19734 case $CONFIG_FILES in
19735 *\'*) eval set x
"$CONFIG_FILES" ;;
19736 *) set x
$CONFIG_FILES ;;
19741 # Strip MF so we end up with the name of the file.
19742 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19743 # Check whether this is an Automake generated Makefile or not.
19744 # We used to match only the files named 'Makefile.in', but
19745 # some people rename them; so instead we look at the file content.
19746 # Grep'ing the first line is not enough: some people post-process
19747 # each Makefile.in and add a new line on top of each file to say so.
19748 # Grep'ing the whole file is not good either: AIX grep has a line
19749 # limit of 2048, but all sed's we know have understand at least 4000.
19750 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19751 dirpart
=`$as_dirname -- "$mf" ||
19752 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19753 X"$mf" : 'X\(//\)[^/]' \| \
19754 X"$mf" : 'X\(//\)$' \| \
19755 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19761 /^X\(\/\/\)[^/].*/{
19777 # Extract the definition of DEPDIR, am__include, and am__quote
19778 # from the Makefile without running 'make'.
19779 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19780 test -z "$DEPDIR" && continue
19781 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19782 test -z "$am__include" && continue
19783 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19784 # Find all dependency output files, they are included files with
19785 # $(DEPDIR) in their names. We invoke sed twice because it is the
19786 # simplest approach to changing $(DEPDIR) to its actual value in the
19788 for file in `sed -n "
19789 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19790 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19791 # Make sure the directory exists.
19792 test -f "$dirpart/$file" && continue
19793 fdir
=`$as_dirname -- "$file" ||
19794 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19795 X"$file" : 'X\(//\)[^/]' \| \
19796 X"$file" : 'X\(//\)$' \| \
19797 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19798 $as_echo X"$file" |
19799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19803 /^X\(\/\/\)[^/].*/{
19816 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19817 # echo "creating $dirpart/$file"
19818 echo '# dummy' > "$dirpart/$file"
19825 # See if we are running on zsh, and set the options which allow our
19826 # commands through without removal of \ escapes.
19827 if test -n "${ZSH_VERSION+set}" ; then
19828 setopt NO_GLOB_SUBST
19831 cfgfile
="${ofile}T"
19832 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19835 cat <<_LT_EOF >> "$cfgfile"
19838 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19839 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19840 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19841 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19843 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19844 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19846 # Written by Gordon Matzigkeit, 1996
19848 # This file is part of GNU Libtool.
19850 # GNU Libtool is free software; you can redistribute it and/or
19851 # modify it under the terms of the GNU General Public License as
19852 # published by the Free Software Foundation; either version 2 of
19853 # the License, or (at your option) any later version.
19855 # As a special exception to the GNU General Public License,
19856 # if you distribute this file as part of a program or library that
19857 # is built using GNU Libtool, you may include this file under the
19858 # same distribution terms that you use for the rest of that program.
19860 # GNU Libtool is distributed in the hope that it will be useful,
19861 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19862 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19863 # GNU General Public License for more details.
19865 # You should have received a copy of the GNU General Public License
19866 # along with GNU Libtool; see the file COPYING. If not, a copy
19867 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19868 # obtained by writing to the Free Software Foundation, Inc.,
19869 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19872 # The names of the tagged configurations supported by this script.
19873 available_tags="CXX "
19875 # ### BEGIN LIBTOOL CONFIG
19877 # Which release of libtool.m4 was used?
19878 macro_version=$macro_version
19879 macro_revision=$macro_revision
19881 # Whether or not to build shared libraries.
19882 build_libtool_libs=$enable_shared
19884 # Whether or not to build static libraries.
19885 build_old_libs=$enable_static
19887 # What type of objects to build.
19890 # Whether or not to optimize for fast installation.
19891 fast_install=$enable_fast_install
19893 # Shell to use when invoking shell scripts.
19896 # An echo program that protects backslashes.
19899 # The PATH separator for the build system.
19900 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19903 host_alias=$host_alias
19907 # The build system.
19908 build_alias=$build_alias
19912 # A sed program that does not truncate output.
19915 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19916 Xsed="\$SED -e 1s/^X//"
19918 # A grep program that handles long lines.
19924 # A literal string matcher.
19927 # A BSD- or MS-compatible name lister.
19930 # Whether we need soft or hard links.
19933 # What is the maximum length of a command?
19934 max_cmd_len=$max_cmd_len
19936 # Object file suffix (normally "o").
19939 # Executable file suffix (normally "").
19942 # whether the shell understands "unset".
19945 # turn spaces into newlines.
19948 # turn newlines into spaces.
19951 # convert \$build file names to \$host format.
19952 to_host_file_cmd=$lt_cv_to_host_file_cmd
19954 # convert \$build files to toolchain format.
19955 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19957 # An object symbol dumper.
19958 OBJDUMP=$lt_OBJDUMP
19960 # Method to check whether dependent libraries are shared objects.
19961 deplibs_check_method=$lt_deplibs_check_method
19963 # Command to use when deplibs_check_method = "file_magic".
19964 file_magic_cmd=$lt_file_magic_cmd
19966 # How to find potential files when deplibs_check_method = "file_magic".
19967 file_magic_glob=$lt_file_magic_glob
19969 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19970 want_nocaseglob=$lt_want_nocaseglob
19972 # DLL creation program.
19973 DLLTOOL=$lt_DLLTOOL
19975 # Command to associate shared and link libraries.
19976 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19981 # Flags to create an archive.
19982 AR_FLAGS=$lt_AR_FLAGS
19984 # How to feed a file listing to the archiver.
19985 archiver_list_spec=$lt_archiver_list_spec
19987 # A symbol stripping program.
19990 # Commands used to install an old-style archive.
19992 old_postinstall_cmds=$lt_old_postinstall_cmds
19993 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19995 # Whether to use a lock for old archive extraction.
19996 lock_old_archive_extraction=$lock_old_archive_extraction
20001 # LTCC compiler flags.
20002 LTCFLAGS=$lt_CFLAGS
20004 # Take the output of nm and produce a listing of raw symbols and C names.
20005 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20007 # Transform the output of nm in a proper C declaration.
20008 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20010 # Transform the output of nm in a C name address pair.
20011 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20013 # Transform the output of nm in a C name address pair when lib prefix is needed.
20014 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20016 # Specify filename containing input files for \$NM.
20017 nm_file_list_spec=$lt_nm_file_list_spec
20019 # The root where to search for dependent libraries,and in which our libraries should be installed.
20020 lt_sysroot=$lt_sysroot
20022 # The name of the directory that contains temporary libtool files.
20025 # Used to examine libraries when file_magic_cmd begins with "file".
20026 MAGIC_CMD=$MAGIC_CMD
20028 # Must we lock files when doing compilation?
20029 need_locks=$lt_need_locks
20032 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20034 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20035 DSYMUTIL=$lt_DSYMUTIL
20037 # Tool to change global to local symbols on Mac OS X.
20040 # Tool to manipulate fat objects and archives on Mac OS X.
20043 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20046 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20047 OTOOL64=$lt_OTOOL64
20049 # Old archive suffix (normally "a").
20052 # Shared library suffix (normally ".so").
20053 shrext_cmds=$lt_shrext_cmds
20055 # The commands to extract the exported symbol list from a shared archive.
20056 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20058 # Variables whose values should be saved in libtool wrapper scripts and
20059 # restored at link time.
20060 variables_saved_for_relink=$lt_variables_saved_for_relink
20062 # Do we need the "lib" prefix for modules?
20063 need_lib_prefix=$need_lib_prefix
20065 # Do we need a version for libraries?
20066 need_version=$need_version
20068 # Library versioning type.
20069 version_type=$version_type
20071 # Shared library runtime path variable.
20072 runpath_var=$runpath_var
20074 # Shared library path variable.
20075 shlibpath_var=$shlibpath_var
20077 # Is shlibpath searched before the hard-coded library search path?
20078 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20080 # Format of library name prefix.
20081 libname_spec=$lt_libname_spec
20083 # List of archive names. First name is the real one, the rest are links.
20084 # The last name is the one that the linker finds with -lNAME
20085 library_names_spec=$lt_library_names_spec
20087 # The coded name of the library, if different from the real name.
20088 soname_spec=$lt_soname_spec
20090 # Permission mode override for installation of shared libraries.
20091 install_override_mode=$lt_install_override_mode
20093 # Command to use after installation of a shared archive.
20094 postinstall_cmds=$lt_postinstall_cmds
20096 # Command to use after uninstallation of a shared archive.
20097 postuninstall_cmds=$lt_postuninstall_cmds
20099 # Commands used to finish a libtool library installation in a directory.
20100 finish_cmds=$lt_finish_cmds
20102 # As "finish_cmds", except a single script fragment to be evaled but
20104 finish_eval=$lt_finish_eval
20106 # Whether we should hardcode library paths into libraries.
20107 hardcode_into_libs=$hardcode_into_libs
20109 # Compile-time system search path for libraries.
20110 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20112 # Run-time system search path for libraries.
20113 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20115 # Whether dlopen is supported.
20116 dlopen_support=$enable_dlopen
20118 # Whether dlopen of programs is supported.
20119 dlopen_self=$enable_dlopen_self
20121 # Whether dlopen of statically linked programs is supported.
20122 dlopen_self_static=$enable_dlopen_self_static
20124 # Commands to strip libraries.
20125 old_striplib=$lt_old_striplib
20126 striplib=$lt_striplib
20129 # The linker used to build libraries.
20132 # How to create reloadable object files.
20133 reload_flag=$lt_reload_flag
20134 reload_cmds=$lt_reload_cmds
20136 # Commands used to build an old-style archive.
20137 old_archive_cmds=$lt_old_archive_cmds
20139 # A language specific compiler.
20142 # Is the compiler the GNU compiler?
20145 # Compiler flag to turn off builtin functions.
20146 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20148 # Additional compiler flags for building library objects.
20149 pic_flag=$lt_lt_prog_compiler_pic
20151 # How to pass a linker flag through the compiler.
20152 wl=$lt_lt_prog_compiler_wl
20154 # Compiler flag to prevent dynamic linking.
20155 link_static_flag=$lt_lt_prog_compiler_static
20157 # Does compiler simultaneously support -c and -o options?
20158 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20160 # Whether or not to add -lc for building shared libraries.
20161 build_libtool_need_lc=$archive_cmds_need_lc
20163 # Whether or not to disallow shared libs when runtime libs are static.
20164 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20166 # Compiler flag to allow reflexive dlopens.
20167 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20169 # Compiler flag to generate shared objects directly from archives.
20170 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20172 # Whether the compiler copes with passing no objects directly.
20173 compiler_needs_object=$lt_compiler_needs_object
20175 # Create an old-style archive from a shared archive.
20176 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20178 # Create a temporary old-style archive to link instead of a shared archive.
20179 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20181 # Commands used to build a shared archive.
20182 archive_cmds=$lt_archive_cmds
20183 archive_expsym_cmds=$lt_archive_expsym_cmds
20185 # Commands used to build a loadable module if different from building
20186 # a shared archive.
20187 module_cmds=$lt_module_cmds
20188 module_expsym_cmds=$lt_module_expsym_cmds
20190 # Whether we are building with GNU ld or not.
20191 with_gnu_ld=$lt_with_gnu_ld
20193 # Flag that allows shared libraries with undefined symbols to be built.
20194 allow_undefined_flag=$lt_allow_undefined_flag
20196 # Flag that enforces no undefined symbols.
20197 no_undefined_flag=$lt_no_undefined_flag
20199 # Flag to hardcode \$libdir into a binary during linking.
20200 # This must work even if \$libdir does not exist
20201 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20203 # Whether we need a single "-rpath" flag with a separated argument.
20204 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20206 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20207 # DIR into the resulting binary.
20208 hardcode_direct=$hardcode_direct
20210 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20211 # DIR into the resulting binary and the resulting library dependency is
20212 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20213 # library is relocated.
20214 hardcode_direct_absolute=$hardcode_direct_absolute
20216 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20217 # into the resulting binary.
20218 hardcode_minus_L=$hardcode_minus_L
20220 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20221 # into the resulting binary.
20222 hardcode_shlibpath_var=$hardcode_shlibpath_var
20224 # Set to "yes" if building a shared library automatically hardcodes DIR
20225 # into the library and all subsequent libraries and executables linked
20227 hardcode_automatic=$hardcode_automatic
20229 # Set to yes if linker adds runtime paths of dependent libraries
20230 # to runtime path list.
20231 inherit_rpath=$inherit_rpath
20233 # Whether libtool must link a program against all its dependency libraries.
20234 link_all_deplibs=$link_all_deplibs
20236 # Set to "yes" if exported symbols are required.
20237 always_export_symbols=$always_export_symbols
20239 # The commands to list exported symbols.
20240 export_symbols_cmds=$lt_export_symbols_cmds
20242 # Symbols that should not be listed in the preloaded symbols.
20243 exclude_expsyms=$lt_exclude_expsyms
20245 # Symbols that must always be exported.
20246 include_expsyms=$lt_include_expsyms
20248 # Commands necessary for linking programs (against libraries) with templates.
20249 prelink_cmds=$lt_prelink_cmds
20251 # Commands necessary for finishing linking programs.
20252 postlink_cmds=$lt_postlink_cmds
20254 # Specify filename containing input files.
20255 file_list_spec=$lt_file_list_spec
20257 # How to hardcode a shared library path into an executable.
20258 hardcode_action=$hardcode_action
20260 # The directories searched by this compiler when creating a shared library.
20261 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20263 # Dependencies to place before and after the objects being linked to
20264 # create a shared library.
20265 predep_objects=$lt_predep_objects
20266 postdep_objects=$lt_postdep_objects
20267 predeps=$lt_predeps
20268 postdeps=$lt_postdeps
20270 # The library search path used internally by the compiler when linking
20271 # a shared library.
20272 compiler_lib_search_path=$lt_compiler_lib_search_path
20274 # ### END LIBTOOL CONFIG
20280 cat <<\_LT_EOF
>> "$cfgfile"
20281 # AIX sometimes has problems with the GCC collect2 program. For some
20282 # reason, if we set the COLLECT_NAMES environment variable, the problems
20283 # vanish in a puff of smoke.
20284 if test "X${COLLECT_NAMES+set}" != Xset
; then
20286 export COLLECT_NAMES
20293 ltmain
="$ac_aux_dir/ltmain.sh"
20296 # We use sed instead of cat because bash on DJGPP gets confused if
20297 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20298 # text mode, it properly converts lines to CR/LF. This bash problem
20299 # is reportedly fixed, but why not run on old versions too?
20300 sed '$q' "$ltmain" >> "$cfgfile" \
20301 ||
(rm -f "$cfgfile"; exit 1)
20303 if test x
"$xsi_shell" = xyes
; then
20304 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20308 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20309 \ * ) func_dirname_result="${3}" ;;\
20311 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20312 && mv -f "$cfgfile.tmp" "$cfgfile" \
20313 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20314 test 0 -eq $? || _lt_function_replace_fail
=:
20317 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20320 \ func_basename_result="${1##*/}"\
20321 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20322 && mv -f "$cfgfile.tmp" "$cfgfile" \
20323 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20324 test 0 -eq $? || _lt_function_replace_fail
=:
20327 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20328 func_dirname_and_basename ()\
20331 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20332 \ * ) func_dirname_result="${3}" ;;\
20334 \ func_basename_result="${1##*/}"\
20335 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20336 && mv -f "$cfgfile.tmp" "$cfgfile" \
20337 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20338 test 0 -eq $? || _lt_function_replace_fail
=:
20341 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20344 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20345 \ # positional parameters, so assign one to ordinary parameter first.\
20346 \ func_stripname_result=${3}\
20347 \ func_stripname_result=${func_stripname_result#"${1}"}\
20348 \ func_stripname_result=${func_stripname_result%"${2}"}\
20349 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20350 && mv -f "$cfgfile.tmp" "$cfgfile" \
20351 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20352 test 0 -eq $? || _lt_function_replace_fail
=:
20355 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20356 func_split_long_opt ()\
20358 \ func_split_long_opt_name=${1%%=*}\
20359 \ func_split_long_opt_arg=${1#*=}\
20360 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20361 && mv -f "$cfgfile.tmp" "$cfgfile" \
20362 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20363 test 0 -eq $? || _lt_function_replace_fail
=:
20366 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20367 func_split_short_opt ()\
20369 \ func_split_short_opt_arg=${1#??}\
20370 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20371 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20372 && mv -f "$cfgfile.tmp" "$cfgfile" \
20373 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20374 test 0 -eq $? || _lt_function_replace_fail
=:
20377 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20381 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20382 \ *) func_lo2o_result=${1} ;;\
20384 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20385 && mv -f "$cfgfile.tmp" "$cfgfile" \
20386 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20387 test 0 -eq $? || _lt_function_replace_fail
=:
20390 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20393 func_xform_result=${1%.*}.lo\
20394 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20395 && mv -f "$cfgfile.tmp" "$cfgfile" \
20396 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20397 test 0 -eq $? || _lt_function_replace_fail
=:
20400 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20403 func_arith_result=$(( $* ))\
20404 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20405 && mv -f "$cfgfile.tmp" "$cfgfile" \
20406 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20407 test 0 -eq $? || _lt_function_replace_fail
=:
20410 sed -e '/^func_len ()$/,/^} # func_len /c\
20413 func_len_result=${#1}\
20414 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20415 && mv -f "$cfgfile.tmp" "$cfgfile" \
20416 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20417 test 0 -eq $? || _lt_function_replace_fail
=:
20421 if test x
"$lt_shell_append" = xyes
; then
20422 sed -e '/^func_append ()$/,/^} # func_append /c\
20425 eval "${1}+=\\${2}"\
20426 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20427 && mv -f "$cfgfile.tmp" "$cfgfile" \
20428 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20429 test 0 -eq $? || _lt_function_replace_fail
=:
20432 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20433 func_append_quoted ()\
20435 \ func_quote_for_eval "${2}"\
20436 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20437 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20438 && mv -f "$cfgfile.tmp" "$cfgfile" \
20439 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20440 test 0 -eq $? || _lt_function_replace_fail
=:
20443 # Save a `func_append' function call where possible by direct use of '+='
20444 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20445 && mv -f "$cfgfile.tmp" "$cfgfile" \
20446 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20447 test 0 -eq $? || _lt_function_replace_fail
=:
20449 # Save a `func_append' function call even when '+=' is not available
20450 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20451 && mv -f "$cfgfile.tmp" "$cfgfile" \
20452 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20453 test 0 -eq $? || _lt_function_replace_fail
=:
20456 if test x
"$_lt_function_replace_fail" = x
":"; then
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20458 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20462 mv -f "$cfgfile" "$ofile" ||
20463 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20467 cat <<_LT_EOF >> "$ofile"
20469 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20471 # The linker used to build libraries.
20474 # How to create reloadable object files.
20475 reload_flag=$lt_reload_flag_CXX
20476 reload_cmds=$lt_reload_cmds_CXX
20478 # Commands used to build an old-style archive.
20479 old_archive_cmds=$lt_old_archive_cmds_CXX
20481 # A language specific compiler.
20482 CC=$lt_compiler_CXX
20484 # Is the compiler the GNU compiler?
20487 # Compiler flag to turn off builtin functions.
20488 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20490 # Additional compiler flags for building library objects.
20491 pic_flag=$lt_lt_prog_compiler_pic_CXX
20493 # How to pass a linker flag through the compiler.
20494 wl=$lt_lt_prog_compiler_wl_CXX
20496 # Compiler flag to prevent dynamic linking.
20497 link_static_flag=$lt_lt_prog_compiler_static_CXX
20499 # Does compiler simultaneously support -c and -o options?
20500 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20502 # Whether or not to add -lc for building shared libraries.
20503 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20505 # Whether or not to disallow shared libs when runtime libs are static.
20506 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20508 # Compiler flag to allow reflexive dlopens.
20509 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20511 # Compiler flag to generate shared objects directly from archives.
20512 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20514 # Whether the compiler copes with passing no objects directly.
20515 compiler_needs_object=$lt_compiler_needs_object_CXX
20517 # Create an old-style archive from a shared archive.
20518 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20520 # Create a temporary old-style archive to link instead of a shared archive.
20521 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20523 # Commands used to build a shared archive.
20524 archive_cmds=$lt_archive_cmds_CXX
20525 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20527 # Commands used to build a loadable module if different from building
20528 # a shared archive.
20529 module_cmds=$lt_module_cmds_CXX
20530 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20532 # Whether we are building with GNU ld or not.
20533 with_gnu_ld=$lt_with_gnu_ld_CXX
20535 # Flag that allows shared libraries with undefined symbols to be built.
20536 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20538 # Flag that enforces no undefined symbols.
20539 no_undefined_flag=$lt_no_undefined_flag_CXX
20541 # Flag to hardcode \$libdir into a binary during linking.
20542 # This must work even if \$libdir does not exist
20543 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20545 # Whether we need a single "-rpath" flag with a separated argument.
20546 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20548 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20549 # DIR into the resulting binary.
20550 hardcode_direct=$hardcode_direct_CXX
20552 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20553 # DIR into the resulting binary and the resulting library dependency is
20554 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20555 # library is relocated.
20556 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20558 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20559 # into the resulting binary.
20560 hardcode_minus_L=$hardcode_minus_L_CXX
20562 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20563 # into the resulting binary.
20564 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20566 # Set to "yes" if building a shared library automatically hardcodes DIR
20567 # into the library and all subsequent libraries and executables linked
20569 hardcode_automatic=$hardcode_automatic_CXX
20571 # Set to yes if linker adds runtime paths of dependent libraries
20572 # to runtime path list.
20573 inherit_rpath=$inherit_rpath_CXX
20575 # Whether libtool must link a program against all its dependency libraries.
20576 link_all_deplibs=$link_all_deplibs_CXX
20578 # Set to "yes" if exported symbols are required.
20579 always_export_symbols=$always_export_symbols_CXX
20581 # The commands to list exported symbols.
20582 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20584 # Symbols that should not be listed in the preloaded symbols.
20585 exclude_expsyms=$lt_exclude_expsyms_CXX
20587 # Symbols that must always be exported.
20588 include_expsyms=$lt_include_expsyms_CXX
20590 # Commands necessary for linking programs (against libraries) with templates.
20591 prelink_cmds=$lt_prelink_cmds_CXX
20593 # Commands necessary for finishing linking programs.
20594 postlink_cmds=$lt_postlink_cmds_CXX
20596 # Specify filename containing input files.
20597 file_list_spec=$lt_file_list_spec_CXX
20599 # How to hardcode a shared library path into an executable.
20600 hardcode_action=$hardcode_action_CXX
20602 # The directories searched by this compiler when creating a shared library.
20603 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20605 # Dependencies to place before and after the objects being linked to
20606 # create a shared library.
20607 predep_objects=$lt_predep_objects_CXX
20608 postdep_objects=$lt_postdep_objects_CXX
20609 predeps=$lt_predeps_CXX
20610 postdeps=$lt_postdeps_CXX
20612 # The library search path used internally by the compiler when linking
20613 # a shared library.
20614 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20616 # ### END LIBTOOL TAG CONFIG: CXX
20627 ac_clean_files
=$ac_clean_files_save
20629 test $ac_write_fail = 0 ||
20630 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20633 # configure is writing to config.log, and then calls config.status.
20634 # config.status does its own redirection, appending to config.log.
20635 # Unfortunately, on DOS this fails, as config.log is still kept open
20636 # by configure, so config.status won't be able to write to it; its
20637 # output is simply discarded. So we exec the FD to /dev/null,
20638 # effectively closing config.log, so it can be properly (re)opened and
20639 # appended to by config.status. When coming back to configure, we
20640 # need to make the FD available again.
20641 if test "$no_create" != yes; then
20643 ac_config_status_args
=
20644 test "$silent" = yes &&
20645 ac_config_status_args
="$ac_config_status_args --quiet"
20647 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20649 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20650 # would make configure fail if this is the last instruction.
20651 $ac_cs_success || as_fn_exit
1
20653 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20655 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20661 ##############################################################################
20663 libCEC version $VERSION configured
20666 CXXFLAGS : $CXXFLAGS
20667 libCEC LDFLAGS : $LIBS_LIBCEC
20668 client LDFLAGS : $LIBS
20672 echo -e "$features"
20676 You can now build libCEC by running:
20679 ##############################################################################